@rainmanhhh/pi-web 0.29.5 → 0.29.6
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/server.mjs +37 -37
- package/dist/static/assets/{CodeMirrorEditor-jY_CmJti.js → CodeMirrorEditor-DV1BVeg6.js} +1 -1
- package/dist/static/assets/{abnfDiagram-VCTEODGH-C4PgDCaY.js → abnfDiagram-VCTEODGH-dwte2r23.js} +1 -1
- package/dist/static/assets/architecture-7GRP2DOG-CwVzaCVq.js +1 -0
- package/dist/static/assets/{architectureDiagram-5GKGNRK7-BqbScnZY.js → architectureDiagram-5GKGNRK7-CfeSgloV.js} +1 -1
- package/dist/static/assets/{blockDiagram-I7D4REHJ-CT8DGD0B.js → blockDiagram-I7D4REHJ-BdImjCS2.js} +1 -1
- package/dist/static/assets/{c4Diagram-7LVT6UL2-ereCtqR_.js → c4Diagram-7LVT6UL2-CwwZuWWf.js} +1 -1
- package/dist/static/assets/channel-_qeeJiZ8.js +1 -0
- package/dist/static/assets/{chunk-4HAMMTFA-D-Z8Ywxw.js → chunk-4HAMMTFA-DItu_7nr.js} +1 -1
- package/dist/static/assets/{chunk-75Z2AOVW-B8r_OBei.js → chunk-75Z2AOVW-DNq4rF-U.js} +1 -1
- package/dist/static/assets/{chunk-DU6HZSFF-BluCUBp0.js → chunk-DU6HZSFF-cR1aZzLQ.js} +3 -3
- package/dist/static/assets/{chunk-F27PBJKO-BEBykE-P.js → chunk-F27PBJKO-DtVNoAcN.js} +1 -1
- package/dist/static/assets/{chunk-GMAD6QVW-BJf9kQkR.js → chunk-GMAD6QVW-BQfViJ4_.js} +1 -1
- package/dist/static/assets/{chunk-GVQU2GXP-D0I8Gu66.js → chunk-GVQU2GXP-Bj90YogV.js} +1 -1
- package/dist/static/assets/{chunk-IMKFNOWR-71rDKbqc.js → chunk-IMKFNOWR-ClhVpW2o.js} +1 -1
- package/dist/static/assets/{chunk-L3NEJ4N5-BjutQdHr.js → chunk-L3NEJ4N5-C16hzbxy.js} +1 -1
- package/dist/static/assets/{chunk-OSK3NFVY-CTPFdtMO.js → chunk-OSK3NFVY-BXifwgsy.js} +1 -1
- package/dist/static/assets/{chunk-P2QGCYS3-IW_PxN3k.js → chunk-P2QGCYS3-BK0XlB4n.js} +1 -1
- package/dist/static/assets/{chunk-POPQ4Y6H-BIzdo9cJ.js → chunk-POPQ4Y6H-xElewI5e.js} +1 -1
- package/dist/static/assets/{chunk-PWAF6VOD-DcQQKhx6.js → chunk-PWAF6VOD-iDLm1yA0.js} +1 -1
- package/dist/static/assets/{chunk-SHT3W25Y-BUJcJWd9.js → chunk-SHT3W25Y-BgKG2BO3.js} +1 -1
- package/dist/static/assets/{chunk-SVP7TREG-BFe2NZuE.js → chunk-SVP7TREG-C2S2mili.js} +1 -1
- package/dist/static/assets/{chunk-TICWLB2K-Dk9hb1Fp.js → chunk-TICWLB2K-KzGcP1FR.js} +1 -1
- package/dist/static/assets/classDiagram-ZZMXUADV-8n6kpEYY.js +1 -0
- package/dist/static/assets/classDiagram-v2-VYDZK3BY-8n6kpEYY.js +1 -0
- package/dist/static/assets/{cynefin-OW5HDTMX-B1s_n3C9.js → cynefin-OW5HDTMX-DALRYoDl.js} +1 -1
- package/dist/static/assets/{cynefinDiagram-5FMLGOSQ-CkADYT7z.js → cynefinDiagram-5FMLGOSQ-DnwcZF7-.js} +1 -1
- package/dist/static/assets/{dagre-GXQ25YYZ-UuNOKJx5.js → dagre-GXQ25YYZ-DAblu8cV.js} +1 -1
- package/dist/static/assets/{diagram-S7CK7UJ4-DCdiHxLx.js → diagram-S7CK7UJ4-DiM8UB7E.js} +1 -1
- package/dist/static/assets/{diagram-UQ7AKVKN-CJ_gsUsL.js → diagram-UQ7AKVKN-CefEdBWi.js} +1 -1
- package/dist/static/assets/{diagram-VSXAHHWV-xqM_6SeR.js → diagram-VSXAHHWV-D7HG50Z2.js} +1 -1
- package/dist/static/assets/{diagram-VX7I27RA-CVezeP21.js → diagram-VX7I27RA-D1rc7Qh5.js} +1 -1
- package/dist/static/assets/{diagram-Z3DM3KII-DKLiJ6cD.js → diagram-Z3DM3KII-DzLme9N5.js} +1 -1
- package/dist/static/assets/{ebnfDiagram-PWID7BFC-BJsqMlgh.js → ebnfDiagram-PWID7BFC-BhFmzgS2.js} +1 -1
- package/dist/static/assets/{erDiagram-RLTQ6QDP-DlD2vk6L.js → erDiagram-RLTQ6QDP-4QHdLAbz.js} +1 -1
- package/dist/static/assets/eventmodeling-NTZA5JFV-F6CXx8J8.js +1 -0
- package/dist/static/assets/flowDiagram-HODETNUW-COMsCcV4.js +1 -0
- package/dist/static/assets/{ganttDiagram-EL5Y4UJY-C6zcdW1W.js → ganttDiagram-EL5Y4UJY-Zc05VY-g.js} +1 -1
- package/dist/static/assets/{gitGraph-4MIJSDKK-CH7RTDC2.js → gitGraph-4MIJSDKK-Cm3xcTVR.js} +1 -1
- package/dist/static/assets/{gitGraphDiagram-WWUBYQGX-BD_CgHub.js → gitGraphDiagram-WWUBYQGX-BYoHA5Xt.js} +1 -1
- package/dist/static/assets/{highlighted-body-KPVGNVTW-D2S8maCm.js → highlighted-body-KPVGNVTW-Cz2uMwuy.js} +1 -1
- package/dist/static/assets/{index-DO5sUOqZ.js → index-CZ85U2WB.js} +6 -6
- package/dist/static/assets/{info-A6RAGUB7-R_hbD9A5.js → info-A6RAGUB7-BiqhPXCB.js} +1 -1
- package/dist/static/assets/{infoDiagram-27XIBGKW-YO7tMsqy.js → infoDiagram-27XIBGKW-DP0JaBWi.js} +1 -1
- package/dist/static/assets/{ishikawaDiagram-5VMMS53U-BMaZSfKB.js → ishikawaDiagram-5VMMS53U-BmXubzdT.js} +1 -1
- package/dist/static/assets/{journeyDiagram-3NMN7TZE-CbnwtxdD.js → journeyDiagram-3NMN7TZE-m5z9zaLW.js} +1 -1
- package/dist/static/assets/{kanban-definition-UXKFOSKX-9UZ5jIec.js → kanban-definition-UXKFOSKX-BnmHqU1Y.js} +1 -1
- package/dist/static/assets/{line-DRRtCsTH.js → line-BvBP6QRV.js} +1 -1
- package/dist/static/assets/mermaid-HWGCJPDP-CmTG_jTR.js +1 -0
- package/dist/static/assets/{mermaid-parser.core-mEzZUCQo.js → mermaid-parser.core-CSKNuSEA.js} +3 -3
- package/dist/static/assets/{mermaid.core-B0Tzo6gM.js → mermaid.core-BHVyXjAK.js} +4 -4
- package/dist/static/assets/{mindmap-definition-YA3MSWOX-BdVsK5bA.js → mindmap-definition-YA3MSWOX-Br_3TqSH.js} +1 -1
- package/dist/static/assets/{packet-AYTQ26CC-DMLsYPfG.js → packet-AYTQ26CC-CrEsP-Ld.js} +1 -1
- package/dist/static/assets/{pegDiagram-XKGWAZYB-7LjOpykk.js → pegDiagram-XKGWAZYB-BL9gYp_B.js} +1 -1
- package/dist/static/assets/{pie-WAS4IAKB-CxCymsFM.js → pie-WAS4IAKB-BEcKkYWy.js} +1 -1
- package/dist/static/assets/{pieDiagram-E7YTZNPT-DsFOnlUQ.js → pieDiagram-E7YTZNPT-DPYf8lpp.js} +1 -1
- package/dist/static/assets/{quadrantDiagram-AXDQQJYC-CMQ4Cvkg.js → quadrantDiagram-AXDQQJYC-nJjVknnF.js} +1 -1
- package/dist/static/assets/{radar-RG4KPBEZ-CIi1Phg2.js → radar-RG4KPBEZ-C6krX43t.js} +1 -1
- package/dist/static/assets/{railroad-74A4TZTK-5rZ0zSrg.js → railroad-74A4TZTK-CTIPWkWM.js} +1 -1
- package/dist/static/assets/railroad-abnf-HS5TGJTU-CXzLE0x3.js +1 -0
- package/dist/static/assets/railroad-ebnf-LZEXJU2U-BpNPRc5E.js +1 -0
- package/dist/static/assets/railroad-peg-WCYAUIDC-CP2Ipl63.js +1 -0
- package/dist/static/assets/{railroadDiagram-O6MQD6OU-DRkedPoE.js → railroadDiagram-O6MQD6OU-4t2s79_0.js} +1 -1
- package/dist/static/assets/{requirementDiagram-BXWQKSXE-DjVInYaD.js → requirementDiagram-BXWQKSXE-CfCwgtuR.js} +1 -1
- package/dist/static/assets/{sankeyDiagram-P5KCCOFB-Cc1WT682.js → sankeyDiagram-P5KCCOFB-DlLM4zNQ.js} +1 -1
- package/dist/static/assets/{sequenceDiagram-WJ2MYXX4-e33wgZ_-.js → sequenceDiagram-WJ2MYXX4-DRlvCOId.js} +1 -1
- package/dist/static/assets/{stateDiagram-D77RDMKH-DjmlsfBb.js → stateDiagram-D77RDMKH-BFVNieps.js} +1 -1
- package/dist/static/assets/stateDiagram-v2-MP3YSRHH-CUdjDSDd.js +1 -0
- package/dist/static/assets/{swimlanes-42K2YHIH-U2Qys85h.js → swimlanes-42K2YHIH-BJkDgoYE.js} +1 -1
- package/dist/static/assets/swimlanesDiagram-VR7AAH4N-CcfMSl5r.js +8 -0
- package/dist/static/assets/{timeline-definition-24CTP7MA-yx19oYok.js → timeline-definition-24CTP7MA-zutHryCZ.js} +1 -1
- package/dist/static/assets/{treeView-Q6P3EWNA-DMUFT2su.js → treeView-Q6P3EWNA-DXraV5lq.js} +1 -1
- package/dist/static/assets/{treemap-WGGIJYW6-C0M3uNVz.js → treemap-WGGIJYW6-CCuxaUg3.js} +1 -1
- package/dist/static/assets/{vennDiagram-4TSXK5OY-CFVqdiqs.js → vennDiagram-4TSXK5OY-ci1llGWB.js} +1 -1
- package/dist/static/assets/{wardley-WFR3VGLG-DiAItuoj.js → wardley-WFR3VGLG-C986iXmb.js} +1 -1
- package/dist/static/assets/{wardleyDiagram-VM6X3IG4-hmkQJ28Y.js → wardleyDiagram-VM6X3IG4-CUWQnC8H.js} +1 -1
- package/dist/static/assets/{xychartDiagram-S5SC5T6Z-7CQNG1Mm.js → xychartDiagram-S5SC5T6Z-Bab09yX6.js} +1 -1
- package/dist/static/index.html +1 -1
- package/package.json +6 -6
- package/dist/static/assets/architecture-7GRP2DOG-Bk1h6jU-.js +0 -1
- package/dist/static/assets/channel-C5XJz2J2.js +0 -1
- package/dist/static/assets/classDiagram-ZZMXUADV-fw6v6zov.js +0 -1
- package/dist/static/assets/classDiagram-v2-VYDZK3BY-fw6v6zov.js +0 -1
- package/dist/static/assets/eventmodeling-NTZA5JFV-BrqsRH3S.js +0 -1
- package/dist/static/assets/flowDiagram-HODETNUW-v7kFG7PP.js +0 -1
- package/dist/static/assets/mermaid-HWGCJPDP-BX6VWPga.js +0 -1
- package/dist/static/assets/railroad-abnf-HS5TGJTU-YiranfpF.js +0 -1
- package/dist/static/assets/railroad-ebnf-LZEXJU2U-D6mPqBEL.js +0 -1
- package/dist/static/assets/railroad-peg-WCYAUIDC-DmQhhWio.js +0 -1
- package/dist/static/assets/stateDiagram-v2-MP3YSRHH-CyA8C93o.js +0 -1
- package/dist/static/assets/swimlanesDiagram-VR7AAH4N-INkHDqEj.js +0 -8
package/dist/server.mjs
CHANGED
|
@@ -4,8 +4,8 @@ ${r.join(`\r
|
|
|
4
4
|
`)}\r
|
|
5
5
|
\r
|
|
6
6
|
`)},S5=(e)=>{let t=e.socket.encrypted?"https":"http",n=new URL(e.url??"/",`${t}://${e.headers.host??"localhost"}`),r=new Headers;for(let i in e.headers){let o=e.headers[i];if(!o)continue;r.append(i,Array.isArray(o)?o[0]:o)}return new Request(n,{headers:r})},T5=(e)=>{let{server:t,fetchCallback:n,wss:r}=e,i=new Map;r.on("connection",(a,c)=>{let u=i.get(c);if(u)u.resolve(a),i.delete(c)});let o=(a)=>{let c=i.get(a);if(c)i.delete(a),c.reject(Error("WebSocket handshake aborted"))},s=(a,c)=>new Promise((u,d)=>{i.set(a,{resolve:u,reject:d,connectionSymbol:c})});t.on("upgrade",async(a,c,u)=>{if(a.headers.upgrade?.toLowerCase()!=="websocket")return;let d={incoming:a,outgoing:void 0,wss:r,[Vw]:s},f=400,p;try{let v=await n(S5(a),d);if(v instanceof Response)f=v.status,p=v.headers}catch{if(t.listenerCount("upgrade")===1)Ow(c,500);return}let h=i.get(a);if(!h||h.connectionSymbol!==d[zw]){if(o(a),t.listenerCount("upgrade")===1)Ow(c,f,p);return}let g=(v)=>{Xw(v,p)},b=()=>o(a);c.once("close",b),r.on("headers",g);try{r.handleUpgrade(a,c,u,(v)=>{c.off("close",b),r.emit("connection",v,a)})}finally{r.off("headers",g)}}),t.on("close",()=>{r.close()})},Kw,C5=(e)=>{let t=e.fetch,n=x5(t,{hostname:e.hostname,overrideGlobalObjects:e.overrideGlobalObjects,autoCleanupIncoming:e.autoCleanupIncoming}),r=(e.createServer||j4)(e.serverOptions||{},n);if(e.websocket&&e.websocket.server){if(e.websocket.server.options.noServer!==!0)throw Error("WebSocket server must be created with { noServer: true } option");T5({server:r,fetchCallback:t,wss:e.websocket.server})}return r},Zw=(e,t)=>{let n=C5(e);return n.listen(e?.port??3000,e.hostname,()=>{let r=n.address();t&&t(r)}),n};var sh=pe(()=>{_w();Xp();mn=class extends Error{constructor(e,t){super(e,t);this.name="RequestError"}},$4=new Set(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","server","user-agent"]),H4=/^[!#$%&'*+\-.^_`|~\dA-Za-z]+$/,Cw=/[\0\r\n]/,nh=globalThis.Headers,rh=class{#e;#t;#n;#o;constructor(e){if(this.#e=e,e instanceof vr)this.#t=e.rawHeaders.slice()}get#i(){return this.#t??=this.#e.rawHeaders.slice()}get#r(){if(!this.#n)this.#n=Iw(this.#i),this.#t=void 0;return this.#n}#c(e){if(typeof e!=="string")return;if(!H4.test(e))throw TypeError(`Invalid header name: ${e}`);return e.toLowerCase()}#s(e){let t=this.#e instanceof vr?void 0:this.#e.headers;if(!t||$4.has(e)||e==="set-cookie"||e==="__proto__")return;if(!Object.hasOwn(t,e))return null;let n=t[e];if(typeof n==="string"){let r=Tw(n);return Cw.test(r)?void 0:r}}#a(e,t){let n=t==="cookie"?"; ":", ",r=null;for(let i=0;i<e.length;i+=2){let o=e[i];if(o.length===t.length&&o.toLowerCase()===t){let s=Tw(e[i+1]);if(Cw.test(s)){this.#o=!0;return}r=r===null?s:r+n+s}}return r}append(e,t){this.#r.append(e,t)}delete(e){this.#r.delete(e)}get(e){let t=this.#c(e);if(t&&!this.#n&&!this.#o){let n=this.#s(t);if(n!==void 0)return n;let r=this.#a(this.#i,t);if(r!==void 0)return r}return this.#r.get(e)}has(e){let t=this.#c(e);if(t&&!this.#n&&!this.#o){let n=this.#s(t);if(n!==void 0)return n!==null;let r=this.#a(this.#i,t);if(r!==void 0)return r!==null}return this.#r.has(e)}set(e,t){this.#r.set(e,t)}getSetCookie(){return this.#r.getSetCookie()}keys(){return this.#r.keys()}values(){return this.#r.values()}entries(){return this.#r.entries()}forEach(e,t){this.#r.forEach((n,r)=>{e.call(t,n,r,this)})}[Symbol.iterator](){return this.entries()}};Object.defineProperty(rh.prototype,Symbol.for("nodejs.util.inspect.custom"),{value:function(e,t,n){return`Headers (lightweight) ${n(Object.fromEntries(this),{...t,depth:e==null?null:e-1})}`}});Object.setPrototypeOf(rh.prototype,nh.prototype);G4=/^\/[!#$&-;=?-\[\]_a-z~]*$/,z4=/\/\.\.?(?:[/?#]|$)/,V4=/^[a-z0-9._-]+(?::(?:[1-5]\d{3,4}|[6-9]\d{3}))?$/,Z4=global.Request,ao=class extends Z4{constructor(e,t){if(typeof e==="object"&&xr in e){let n=t!==void 0&&"body"in t&&t.body!=null;if(e[Hn]&&!n)throw TypeError("Cannot construct a Request with a Request object that has already been used.");e=e[xr]()}if(typeof t?.body?.getReader<"u")t.duplex??="half";super(e,t)}},Nw=Symbol("wrapBodyStream"),Y4=new Set(["latin1","binary","hex","base64","base64url"]),Kp=Symbol("bodyBufferedBeforeDisconnect"),Zp=Symbol("bodyBufferedLengthBeforeDisconnect"),xr=Symbol("getRequestCache"),qn=Symbol("requestCache"),co=Symbol("incomingKey"),Qs=Symbol("urlKey"),Bw=Symbol("methodKey"),Ww=Symbol("headersKey"),Ys=Symbol("abortControllerKey"),Yp=Symbol("getAbortController"),Jp=Symbol("abortRequest"),br=Symbol("bodyBuffer"),Du=Symbol("bodyReadPromise"),Hn=Symbol("bodyConsumedDirectly"),Uw=Symbol("bodyLockReader"),Js=Symbol("abortReason"),e5=new TextDecoder,i5=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,bn={get method(){return this[Bw]},get url(){return this[Qs]},get headers(){return this[Ww]||=Mw(this[co])},[Jp](e){if(this[Js]===void 0)this[Js]=e;let t=this[Ys];if(t&&!t.signal.aborted)t.abort(e)},[Yp](){if(this[Ys]||=new AbortController,this[Js]!==void 0&&!this[Ys].signal.aborted)this[Ys].abort(this[Js]);return this[Ys]},[xr](){let e=this[Yp]();if(this[qn])return this[qn];let t=this.method;if(this[Hn]&&!(t==="GET"||t==="HEAD")){this[br]=void 0;let n={method:t==="TRACE"?"GET":t,headers:this.headers,signal:e.signal};if(t!=="TRACE")n.body=new ReadableStream({start(i){i.close()}}),n.duplex="half";let r=new ao(this[Qs],n);if(t==="TRACE")Object.defineProperty(r,"method",{get(){return"TRACE"}});return this[qn]=r}return this[qn]=Q4(this.method,this[Qs],this.headers,this[co],e)},get body(){if(!this[Hn])return this[xr]().body;let e=this[xr]();if(!this[Uw]&&e.body)this[Uw]=e.body.getReader();return e.body},get bodyUsed(){if(this[Hn])return!0;if(this[qn])return this[qn].bodyUsed;return!1}};Object.defineProperty(bn,"signal",{get(){return this[Yp]().signal}});["cache","credentials","destination","integrity","mode","redirect","referrer","referrerPolicy","keepalive"].forEach((e)=>{Object.defineProperty(bn,e,{get(){return this[xr]()[e]}})});["clone","formData"].forEach((e)=>{Object.defineProperty(bn,e,{value:function(){if(this[Hn]){if(e==="clone")throw Su();return ea()}return this[xr]()[e]()}})});Object.defineProperty(bn,"text",{value:function(){return oh(this,"text",(e)=>e5.decode(e))}});Object.defineProperty(bn,"arrayBuffer",{value:function(){return oh(this,"arrayBuffer",(e)=>n5(e))}});Object.defineProperty(bn,"blob",{value:function(){return oh(this,"blob",(e,t)=>{let n=r5(t);return new Response(e,n?{headers:{"content-type":n}}:void 0).blob()})}});Object.defineProperty(bn,"json",{value:function(){if(this[Hn])return ea();return this.text().then(JSON.parse)}});Object.defineProperty(bn,Symbol.for("nodejs.util.inspect.custom"),{value:function(e,t,n){return`Request (lightweight) ${n({method:this.method,url:this.url,headers:this.headers,nativeRequest:this[qn]},{...t,depth:e==null?null:e-1})}`}});Object.setPrototypeOf(bn,ao.prototype);Qp=Symbol("responseCache"),so=Symbol("getResponseCache"),$n=Symbol("cache"),Tu=global.Response,yn=class e{#e;#t;[so](){let t=this[$n],n=t&&t[2]instanceof Headers?t[2]:void 0;return delete this[$n],this[Qp]||=new Tu(this.#e,n?{status:this.#t?.status,statusText:this.#t?.statusText,headers:n}:this.#t)}constructor(t,n){let r;if(this.#e=t,n instanceof Tu){let i=n[Qp];if(i){this.#t=i,this[so]();return}this.#t=n instanceof e?n.#t:n,r=new Headers(n.headers)}else this.#t=n;if(t==null||typeof t==="string"||typeof t?.getReader<"u"||t instanceof Blob||t instanceof Uint8Array)this[$n]=[n?.status||200,t??null,r||n?.headers]}get headers(){let t=this[$n];if(t){if(!(t[2]instanceof Headers))t[2]=new Headers(t[2]||(t[1]===null?void 0:{"content-type":yr}));return t[2]}return this[so]().headers}get status(){return this[$n]?.[0]??this[so]().status}get ok(){let t=this.status;return t>=200&&t<300}};["body","bodyUsed","redirected","statusText","trailers","type","url"].forEach((e)=>{Object.defineProperty(yn.prototype,e,{get(){return this[so]()[e]}})});["arrayBuffer","blob","clone","formData","json","text"].forEach((e)=>{Object.defineProperty(yn.prototype,e,{value:function(){return this[so]()[e]()}})});Object.defineProperty(yn.prototype,Symbol.for("nodejs.util.inspect.custom"),{value:function(e,t,n){return`Response (lightweight) ${n({status:this.status,headers:this.headers,ok:this.ok,nativeResponse:this[Qp]},{...t,depth:e==null?null:e-1})}`}});Object.setPrototypeOf(yn,Tu);Object.setPrototypeOf(yn.prototype,Tu.prototype);l5=/^https?:\/\/[!#-;=?-[\]_a-z~A-Z]+$/,f5=new Set([301,302,303,307,308]);Object.defineProperty(yn,"redirect",{value:function(t,n=302){if(!f5.has(n))throw RangeError("Invalid status code");return new yn(null,{status:n,headers:{location:d5(t)}})},writable:!0,configurable:!0});Object.defineProperty(yn,"json",{value:function(t,n){let r=JSON.stringify(t);if(r===void 0)throw TypeError("The data is not JSON serializable");let i=n?.headers,o;if(i){if(o=new Headers(i),!o.has("content-type"))o.set("content-type","application/json")}else o={"content-type":"application/json"};return new yn(r,{status:n?.status??200,statusText:n?.statusText,headers:o})},writable:!0,configurable:!0});Cu=Symbol("outgoingEnded"),Pw=Symbol("incomingDraining"),w5=globalThis.CloseEvent??class extends Event{#e;constructor(e,t={}){super(e,t);this.#e=t}get wasClean(){return this.#e.wasClean??!1}get code(){return this.#e.code??0}get reason(){return this.#e.reason??""}},_5=globalThis.ErrorEvent??class extends Event{#e;constructor(e,t={}){super(e,t);this.#e=t}get message(){return this.#e.message??""}get filename(){return this.#e.filename??""}get lineno(){return this.#e.lineno??0}get colno(){return this.#e.colno??0}get error(){return this.#e.error??null}},zw=Symbol("CONNECTION_SYMBOL_KEY"),Vw=Symbol("WAIT_FOR_WEBSOCKET_SYMBOL"),E5=new Set(["connection","content-length","keep-alive","proxy-authenticate","proxy-authorization","te","trailer","transfer-encoding","upgrade","sec-websocket-accept","sec-websocket-extensions","sec-websocket-protocol"]),Kw=wu(async(e,t,n)=>{if(e.req.header("upgrade")?.toLowerCase()!=="websocket")return;let r=e.env,i=r[Vw];if(!i||!r.incoming)return new Response(null,{status:500});let o=D5();return r[zw]=o,(async()=>{let s;try{s=await i(r.incoming,o)}catch{return}let a=[],c=(f,p)=>{a.push([f,p])};s.on("message",c);let u={binaryType:"arraybuffer",close(f,p){s.close(f,p)},protocol:s.protocol,raw:s,get readyState(){return s.readyState},send(f,p){s.send(f,{compress:p?.compress})},url:new URL(e.req.url)};try{t?.onOpen?.(new Event("open"),u)}catch(f){(n?.onError??console.error)(f)}let d=(f,p)=>{let h=Array.isArray(f)?f:[f];for(let g of h)try{t?.onMessage?.(new MessageEvent("message",{data:p?g instanceof ArrayBuffer?g:g.buffer.slice(g.byteOffset,g.byteOffset+g.byteLength):typeof g==="string"?g:Buffer.from(g).toString("utf-8")}),u)}catch(b){(n?.onError??console.error)(b)}};s.off("message",c);for(let f of a)d(...f);s.on("message",(f,p)=>{d(f,p)}),s.on("close",(f,p)=>{try{t?.onClose?.(new w5("close",{code:f,reason:p.toString()}),u)}catch(h){(n?.onError??console.error)(h)}}),s.on("error",(f)=>{try{t?.onError?.(new _5("error",{error:f}),u)}catch(p){(n?.onError??console.error)(p)}})})(),new Response})});function n2(){if(!globalThis.__piModelsCacheState)globalThis.__piModelsCacheState={entries:new Map,inFlight:new Map,generation:0};return globalThis.__piModelsCacheState}function Ce(){let e=n2();e.generation+=1,e.entries.clear(),e.inFlight.clear()}function r2(e,t){return t?{...e,modelError:t}:e}function wr(e,t){let n=n2(),r=n.entries.get(e);if(r){if(r.expiresAt>Date.now())return Promise.resolve(r.data);n.entries.delete(e)}let i=n.inFlight.get(e);if(i)return i;let o=n.generation,s=Promise.resolve().then(t).then((a)=>{if(n.generation===o&&n.inFlight.get(e)===s){let c=Date.now();for(let[u,d]of n.entries)if(d.expiresAt<=c)n.entries.delete(u);while(n.entries.size>=32){let u=n.entries.keys().next().value;if(u===void 0)break;n.entries.delete(u)}n.entries.set(e,{data:a,expiresAt:c+60000})}return a}).finally(()=>{if(n.inFlight.get(e)===s)n.inFlight.delete(e)});return n.inFlight.set(e,s),s}var Uh=(e)=>{let t=e.split("/");if(t[0]==="")t.shift();return t},L2=(e)=>{let{groups:t,path:n}=pN(e),r=Uh(n);return hN(r,t)},pN=(e)=>{let t=[];return e=e.replace(/\{[^}]+\}/g,(n,r)=>{let i=`@${r}`;return t.push([i,n]),i}),{groups:t,path:e}},hN=(e,t)=>{for(let n=t.length-1;n>=0;n--){let[r]=t[n];for(let i=e.length-1;i>=0;i--)if(e[i].includes(r)){e[i]=e[i].replace(r,t[n][1]);break}}return e},Gu,B2=(e,t)=>{if(e==="*")return"*";let n=e.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(n){let r=`${e}#${t}`;if(!Gu[r])if(n[2])Gu[r]=t&&t[0]!==":"&&t[0]!=="*"?[r,n[1],new RegExp(`^${n[2]}(?=/${t})`)]:[e,n[1],new RegExp(`^${n[2]}$`)];else Gu[r]=[e,n[1],!0];return Gu[r]}return null},W2=(e,t)=>{try{return t(e)}catch{return e.replace(/(?:%[0-9A-Fa-f]{2})+/g,(n)=>{try{return t(n)}catch{return n}})}},j2=(e)=>W2(e,decodeURI),Rh=(e)=>{let t=e.url,n=t.indexOf("/",t.indexOf(":")+4),r=n;for(;r<t.length;r++){let i=t.charCodeAt(r);if(i===37){let o=t.indexOf("?",r),s=t.indexOf("#",r),a=o===-1?s===-1?void 0:s:s===-1?o:Math.min(o,s),c=t.slice(n,a);return j2(c.includes("%25")?c.replace(/%25/g,"%2525"):c)}else if(i===63||i===35)break}return t.slice(n,r)},q2=(e)=>{let t=Rh(e);return t.length>1&&t.at(-1)==="/"?t.slice(0,-1):t},_r=(e,t,...n)=>{if(n.length)t=_r(t,...n);return`${e?.[0]==="/"?"":"/"}${e}${t==="/"?"":`${e?.at(-1)==="/"?"":"/"}${t?.[0]==="/"?t.slice(1):t}`}`},zu=(e)=>{if(e.charCodeAt(e.length-1)!==63||!e.includes(":"))return null;let t=e.split("/"),n=[],r="";return t.forEach((i)=>{if(i!==""&&!/\:/.test(i))r+="/"+i;else if(/\:/.test(i))if(i.charCodeAt(i.length-1)===63){if(n.length===0&&r==="")n.push("/");else n.push(r);let o=i.slice(0,-1);r+="/"+o,n.push(r)}else r+="/"+i}),n.filter((i,o,s)=>s.indexOf(i)===o)},Vu=(e)=>e.indexOf("%")!==-1?W2(e,gN):e,kh=(e)=>{if(e.indexOf("+")!==-1)e=e.replace(/\+/g," ");return Vu(e)},$2=(e,t,n)=>{let r=e.indexOf("#",8);if(r!==-1)e=e.slice(0,r);let i;if(!n&&t&&t.indexOf("%")===-1&&t.indexOf("+")===-1){let a=e.indexOf("?",8);if(a===-1)return;if(!e.startsWith(t,a+1))a=e.indexOf(`&${t}`,a+1);while(a!==-1){let c=e.charCodeAt(a+t.length+1);if(c===61){let u=a+t.length+2,d=e.indexOf("&",u);return kh(e.slice(u,d===-1?void 0:d))}else if(c==38||isNaN(c))return"";a=e.indexOf(`&${t}`,a+1)}if(i=/[%+]/.test(e),!i)return}let o=Object.create(null);i??=/[%+]/.test(e);let s=e.indexOf("?",8);while(s!==-1){let a=e.indexOf("&",s+1),c=e.indexOf("=",s);if(c>a&&a!==-1)c=-1;let u=e.slice(s+1,c===-1?a===-1?void 0:a:c);if(i)u=kh(u);if(s=a,u==="")continue;let d;if(c===-1)d="";else if(d=e.slice(c+1,a===-1?void 0:a),i)d=kh(d);if(n){if(!(o[u]&&Array.isArray(o[u])))o[u]=[];o[u].push(d)}else o[u]??=d}return t?o[t]:o},H2,G2=(e,t)=>$2(e,t,!0),gN;var hi=pe(()=>{Gu={},H2=$2,gN=decodeURIComponent});var V2,X2=(e,t)=>{let n=new String(e);return n.isEscaped=!0,n.callbacks=t,n},Fh=async(e,t,n,r,i)=>{if(typeof e==="object"&&!(e instanceof String)){if(!(e instanceof Promise))e=e.toString();if(e instanceof Promise)e=await e}let o=e.callbacks;if(!o?.length)return Promise.resolve(e);if(i)i[0]+=e;else i=[e];let s=Promise.all(o.map((a)=>a({phase:t,buffer:i,context:r}))).then((a)=>Promise.all(a.filter(Boolean).map((c)=>Fh(c,t,!1,r,i))).then(()=>i[0]));if(n)return X2(await s,o);else return s};var Ph=pe(()=>{V2={Stringify:1,BeforeStream:2,Stream:3}});var Qe="ALL",K2="all",Z2,Xu="Can not add a route since the matcher is already built.",Ku;var Dr=pe(()=>{Z2=["get","post","put","delete","options","patch","query"],Ku=class extends Error{}});var Mh="__COMPOSED_HANDLER";var Nh=()=>{};function je(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}import{randomUUID as i9}from"node:crypto";import{renameSync as o9,unlinkSync as s9,writeFileSync as a9}from"node:fs";import{basename as c9,dirname as u9,join as l9}from"node:path";function wa(e,t){let n=u9(e),r=l9(n,`.${c9(e)}-${i9()}.tmp`),i=!1,o=null;try{a9(r,t,{encoding:"utf8",flag:"wx",mode:384,flush:!0}),o9(r,e)}catch(s){throw i=!0,s}finally{try{s9(r)}catch(s){if(s.code!=="ENOENT"&&!i)o=s}}if(o)throw o}var Ul=()=>{};import{readFileSync as d9}from"node:fs";function ft(e){try{let t=JSON.parse(d9(e,"utf-8"));if(t!==null&&typeof t==="object")return t;return null}catch{return null}}function xn(e,t){wa(e,`${JSON.stringify(t,null,2)}
|
|
7
|
-
`)}var Do=pe(()=>{Ul()});function Rr(e){return typeof e==="string"&&e.trim()?e.trim():void 0}function J_(e){if(typeof e==="string"){let i=e.trim();return i?{id:i}:null}if(!je(e))return null;let t=Rr(e.id)??Rr(e.model)??Rr(e.name);if(!t)return null;let n=t.startsWith("models/")?t.slice(7):t;if(!n)return null;let r=Rr(e.display_name)??Rr(e.displayName)??(Rr(e.id)||Rr(e.model)?Rr(e.name):void 0);return r&&r!==n?{id:n,name:r}:{id:n}}function Q_(e){if(Array.isArray(e))return e;if(!je(e))return[];for(let t of["data","models","results","items"]){let n=e[t];if(Array.isArray(n))return n;if(je(n))return Object.values(n)}return[]}function xi(e){return J_(e)}function wi(e){return Q_(e)}function Bl(e){let t=new Set,n=[];for(let r of Q_(e)){let i=J_(r);if(!i||t.has(i.id))continue;t.add(i.id),n.push(i)}return n.sort((r,i)=>(r.name??r.id).localeCompare(i.name??i.id,void 0,{numeric:!0,sensitivity:"base"}))}function Wl(e,t){let n=new URL(e.trim()),r=n.pathname.replace(/\/+$/,"");if(!/\/models$/i.test(r)){let i=r;if(t==="anthropic-messages"&&!/\/v\d+(?:beta)?$/i.test(i))i+="/v1";if(t==="google-generative-ai"&&!/\/v\d+(?:beta)?$/i.test(i))i+="/v1beta";n.pathname=`${i}/models`.replace(/\/+/g,"/")}if(t==="anthropic-messages"&&!n.searchParams.has("limit"))n.searchParams.set("limit","1000");if(t==="google-generative-ai"&&!n.searchParams.has("pageSize"))n.searchParams.set("pageSize","1000");return n}var Co=()=>{};import{existsSync as m6,readdirSync as
|
|
8
|
-
GFS4: `),console.error(e)};if(!Me[st]){if(Xg=global[st]||[],pD(Me,Xg),Me.close=function(e){function t(n,r){return e.call(Me,n,function(i){if(!i)fD();if(typeof r==="function")r.apply(this,arguments)})}return Object.defineProperty(t,Xl,{value:e}),t}(Me.close),Me.closeSync=function(e){function t(n){e.apply(Me,arguments),fD()}return Object.defineProperty(t,Xl,{value:e}),t}(Me.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){Ei(Me[st]),ne("assert").equal(Me[st].length,0)})}var Xg;if(!global[st])pD(global,Me[st]);Yg.exports=Kg(C6(Me));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Me.__patched)Yg.exports=Kg(Me),Me.__patched=!0;function Kg(e){S6(e),e.gracefulify=Kg,e.createReadStream=D,e.createWriteStream=T;var t=e.readFile;e.readFile=n;function n(S,M,P){if(typeof M==="function")P=M,M=null;return C(S,M,P);function C(L,W,H,E){return t(L,W,function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))Ro([C,[L,W,H],R,E||Date.now(),Date.now()]);else if(typeof H==="function")H.apply(this,arguments)})}}var r=e.writeFile;e.writeFile=i;function i(S,M,P,C){if(typeof P==="function")C=P,P=null;return L(S,M,P,C);function L(W,H,E,R,k){return r(W,H,E,function(F){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}var o=e.appendFile;if(o)e.appendFile=s;function s(S,M,P,C){if(typeof P==="function")C=P,P=null;return L(S,M,P,C);function L(W,H,E,R,k){return o(W,H,E,function(F){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}var a=e.copyFile;if(a)e.copyFile=c;function c(S,M,P,C){if(typeof P==="function")C=P,P=0;return L(S,M,P,C);function L(W,H,E,R,k){return a(W,H,E,function(F){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}var u=e.readdir;e.readdir=f;var d=/^v[0-5]\./;function f(S,M,P){if(typeof M==="function")P=M,M=null;var C=d.test(process.version)?function(H,E,R,k){return u(H,L(H,E,R,k))}:function(H,E,R,k){return u(H,E,L(H,E,R,k))};return C(S,M,P);function L(W,H,E,R){return function(k,F){if(k&&(k.code==="EMFILE"||k.code==="ENFILE"))Ro([C,[W,H,E],k,R||Date.now(),Date.now()]);else{if(F&&F.sort)F.sort();if(typeof E==="function")E.call(this,k,F)}}}}if(process.version.substr(0,4)==="v0.8"){var p=T6(e);y=p.ReadStream,m=p.WriteStream}var h=e.ReadStream;if(h)y.prototype=Object.create(h.prototype),y.prototype.open=x;var g=e.WriteStream;if(g)m.prototype=Object.create(g.prototype),m.prototype.open=w;Object.defineProperty(e,"ReadStream",{get:function(){return y},set:function(S){y=S},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return m},set:function(S){m=S},enumerable:!0,configurable:!0});var b=y;Object.defineProperty(e,"FileReadStream",{get:function(){return b},set:function(S){b=S},enumerable:!0,configurable:!0});var v=m;Object.defineProperty(e,"FileWriteStream",{get:function(){return v},set:function(S){v=S},enumerable:!0,configurable:!0});function y(S,M){if(this instanceof y)return h.apply(this,arguments),this;else return y.apply(Object.create(y.prototype),arguments)}function x(){var S=this;A(S.path,S.flags,S.mode,function(M,P){if(M){if(S.autoClose)S.destroy();S.emit("error",M)}else S.fd=P,S.emit("open",P),S.read()})}function m(S,M){if(this instanceof m)return g.apply(this,arguments),this;else return m.apply(Object.create(m.prototype),arguments)}function w(){var S=this;A(S.path,S.flags,S.mode,function(M,P){if(M)S.destroy(),S.emit("error",M);else S.fd=P,S.emit("open",P)})}function D(S,M){return new e.ReadStream(S,M)}function T(S,M){return new e.WriteStream(S,M)}var _=e.open;e.open=A;function A(S,M,P,C){if(typeof P==="function")C=P,P=null;return L(S,M,P,C);function L(W,H,E,R,k){return _(W,H,E,function(F,B){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}return e}function Ro(e){Ei("ENQUEUE",e[0].name,e[1]),Me[st].push(e),Zg()}var Vl;function fD(){var e=Date.now();for(var t=0;t<Me[st].length;++t)if(Me[st][t].length>2)Me[st][t][3]=e,Me[st][t][4]=e;Zg()}function Zg(){if(clearTimeout(Vl),Vl=void 0,Me[st].length===0)return;var e=Me[st].shift(),t=e[0],n=e[1],r=e[2],i=e[3],o=e[4];if(i===void 0)Ei("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-i>=60000){Ei("TIMEOUT",t.name,n);var s=n.pop();if(typeof s==="function")s.call(null,r)}else{var a=Date.now()-o,c=Math.max(o-i,1),u=Math.min(c*1.2,100);if(a>=u)Ei("RETRY",t.name,n),t.apply(null,n.concat([i]));else Me[st].push(e)}if(Vl===void 0)Vl=setTimeout(Zg,0)}});var gD=U(function(R0e,hD){function Xt(e,t){if(typeof t==="boolean")t={forever:t};if(this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever)this._cachedTimeouts=this._timeouts.slice(0)}hD.exports=Xt;Xt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};Xt.prototype.stop=function(){if(this._timeout)clearTimeout(this._timeout);this._timeouts=[],this._cachedTimeouts=null};Xt.prototype.retry=function(e){if(this._timeout)clearTimeout(this._timeout);if(!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.unshift(Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var n=this._timeouts.shift();if(n===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),n=this._timeouts.shift();else return!1;var r=this,i=setTimeout(function(){if(r._attempts++,r._operationTimeoutCb){if(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref)r._timeout.unref()}r._fn(r._attempts)},n);if(this._options.unref)i.unref();return!0};Xt.prototype.attempt=function(e,t){if(this._fn=e,t){if(t.timeout)this._operationTimeout=t.timeout;if(t.cb)this._operationTimeoutCb=t.cb}var n=this;if(this._operationTimeoutCb)this._timeout=setTimeout(function(){n._operationTimeoutCb()},n._operationTimeout);this._operationStart=new Date().getTime(),this._fn(this._attempts)};Xt.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};Xt.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};Xt.prototype.start=Xt.prototype.try;Xt.prototype.errors=function(){return this._errors};Xt.prototype.attempts=function(){return this._attempts};Xt.prototype.mainError=function(){if(this._errors.length===0)return null;var e={},t=null,n=0;for(var r=0;r<this._errors.length;r++){var i=this._errors[r],o=i.message,s=(e[o]||0)+1;if(e[o]=s,s>=n)t=i,n=s}return t}});var yD=U(function(Qg){var k6=gD();Qg.operation=function(e){var t=Qg.timeouts(e);return new k6(t,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};Qg.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1000,maxTimeout:1/0,randomize:!1};for(var n in e)t[n]=e[n];if(t.minTimeout>t.maxTimeout)throw Error("minTimeout is greater than maxTimeout");var r=[];for(var i=0;i<t.retries;i++)r.push(this.createTimeout(i,t));if(e&&e.forever&&!r.length)r.push(this.createTimeout(i,t));return r.sort(function(o,s){return o-s}),r};Qg.createTimeout=function(e,t){var n=t.randomize?Math.random()+1:1,r=Math.round(n*t.minTimeout*Math.pow(t.factor,e));return r=Math.min(r,t.maxTimeout),r};Qg.wrap=function(e,t,n){if(t instanceof Array)n=t,t=null;if(!n){n=[];for(var r in e)if(typeof e[r]==="function")n.push(r)}for(var i=0;i<n.length;i++){var o=n[i],s=e[o];e[o]=function(c){var u=Qg.operation(t),d=Array.prototype.slice.call(arguments,1),f=d.pop();d.push(function(p){if(u.retry(p))return;if(p)arguments[0]=u.mainError();f.apply(this,arguments)}),u.attempt(function(){c.apply(e,d)})}.bind(e,s),e[o].options=t}}});var bD=U(function(P0e,Kl){Kl.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32")Kl.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");if(process.platform==="linux")Kl.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var vD=U(function(O0e,Po){var Fe=global.process,Si=function(e){return e&&typeof e==="object"&&typeof e.removeListener==="function"&&typeof e.emit==="function"&&typeof e.reallyExit==="function"&&typeof e.listeners==="function"&&typeof e.kill==="function"&&typeof e.pid==="number"&&typeof e.on==="function"};if(!Si(Fe))Po.exports=function(){return function(){}};else{if(em=ne("assert"),Ti=bD(),tm=/^win/i.test(Fe.platform),Fo=ne("events"),typeof Fo!=="function")Fo=Fo.EventEmitter;if(Fe.__signal_exit_emitter__)Ke=Fe.__signal_exit_emitter__;else Ke=Fe.__signal_exit_emitter__=new Fo,Ke.count=0,Ke.emitted={};if(!Ke.infinite)Ke.setMaxListeners(1/0),Ke.infinite=!0;Po.exports=function(e,t){if(!Si(global.process))return function(){};if(em.equal(typeof e,"function","a callback must be provided for exit handler"),Ci===!1)Zl();var n="exit";if(t&&t.alwaysLast)n="afterexit";var r=function(){if(Ke.removeListener(n,e),Ke.listeners("exit").length===0&&Ke.listeners("afterexit").length===0)Ca()};return Ke.on(n,e),r},Ca=function(){if(!Ci||!Si(global.process))return;Ci=!1,Ti.forEach(function(t){try{Fe.removeListener(t,Aa[t])}catch(n){}}),Fe.emit=ka,Fe.reallyExit=Yl,Ke.count-=1},Po.exports.unload=Ca,Ir=function(t,n,r){if(Ke.emitted[t])return;Ke.emitted[t]=!0,Ke.emit(t,n,r)},Aa={},Ti.forEach(function(e){Aa[e]=function(){if(!Si(global.process))return;var n=Fe.listeners(e);if(n.length===Ke.count){if(Ca(),Ir("exit",null,e),Ir("afterexit",null,e),tm&&e==="SIGHUP")e="SIGINT";Fe.kill(Fe.pid,e)}}}),Po.exports.signals=function(){return Ti},Ci=!1,Zl=function(){if(Ci||!Si(global.process))return;Ci=!0,Ke.count+=1,Ti=Ti.filter(function(t){try{return Fe.on(t,Aa[t]),!0}catch(n){return!1}}),Fe.emit=rm,Fe.reallyExit=nm},Po.exports.load=Zl,Yl=Fe.reallyExit,nm=function(t){if(!Si(global.process))return;Fe.exitCode=t||0,Ir("exit",Fe.exitCode,null),Ir("afterexit",Fe.exitCode,null),Yl.call(Fe,Fe.exitCode)},ka=Fe.emit,rm=function(t,n){if(t==="exit"&&Si(global.process)){if(n!==void 0)Fe.exitCode=n;var r=ka.apply(this,arguments);return Ir("exit",Fe.exitCode,null),Ir("afterexit",Fe.exitCode,null),r}else return ka.apply(this,arguments)}}var em,Ti,tm,Fo,Ke,Ca,Ir,Aa,Ci,Zl,Yl,nm,ka,rm});var wD=U(function(I6,im){var xD=Symbol();function P6(e,t,n){let r=t[xD];if(r)return t.stat(e,(o,s)=>{if(o)return n(o);n(null,s.mtime,r)});let i=new Date(Math.ceil(Date.now()/1000)*1000+5);t.utimes(e,i,i,(o)=>{if(o)return n(o);t.stat(e,(s,a)=>{if(s)return n(s);let c=a.mtime.getTime()%1000===0?"s":"ms";Object.defineProperty(t,xD,{value:c}),n(null,a.mtime,c)})})}function O6(e){let t=Date.now();if(e==="s")t=Math.ceil(t/1000)*1000;return new Date(t)}I6.probe=P6;I6.getMtime=O6});var TD=U(function(H6,Ra){var L6=ne("path"),am=Jg(),B6=yD(),W6=vD(),_D=wD(),Zn={};function Ua(e,t){return t.lockfilePath||`${e}.lock`}function cm(e,t,n){if(!t.realpath)return n(null,L6.resolve(e));t.fs.realpath(e,n)}function sm(e,t,n){let r=Ua(e,t);t.fs.mkdir(r,(i)=>{if(!i)return _D.probe(r,t.fs,(o,s,a)=>{if(o)return t.fs.rmdir(r,()=>{}),n(o);n(null,s,a)});if(i.code!=="EEXIST")return n(i);if(t.stale<=0)return n(Object.assign(Error("Lock file is already being held"),{code:"ELOCKED",file:e}));t.fs.stat(r,(o,s)=>{if(o){if(o.code==="ENOENT")return sm(e,{...t,stale:0},n);return n(o)}if(!DD(s,t))return n(Object.assign(Error("Lock file is already being held"),{code:"ELOCKED",file:e}));ED(e,t,(a)=>{if(a)return n(a);sm(e,{...t,stale:0},n)})})})}function DD(e,t){return e.mtime.getTime()<Date.now()-t.stale}function ED(e,t,n){t.fs.rmdir(Ua(e,t),(r)=>{if(r&&r.code!=="ENOENT")return n(r);n()})}function Jl(e,t){let n=Zn[e];if(n.updateTimeout)return;if(n.updateDelay=n.updateDelay||t.update,n.updateTimeout=setTimeout(()=>{n.updateTimeout=null,t.fs.stat(n.lockfilePath,(r,i)=>{let o=n.lastUpdate+t.stale<Date.now();if(r){if(r.code==="ENOENT"||o)return om(e,n,Object.assign(r,{code:"ECOMPROMISED"}));return n.updateDelay=1000,Jl(e,t)}if(n.mtime.getTime()!==i.mtime.getTime())return om(e,n,Object.assign(Error("Unable to update lock within the stale threshold"),{code:"ECOMPROMISED"}));let a=_D.getMtime(n.mtimePrecision);t.fs.utimes(n.lockfilePath,a,a,(c)=>{let u=n.lastUpdate+t.stale<Date.now();if(n.released)return;if(c){if(c.code==="ENOENT"||u)return om(e,n,Object.assign(c,{code:"ECOMPROMISED"}));return n.updateDelay=1000,Jl(e,t)}n.mtime=a,n.lastUpdate=Date.now(),n.updateDelay=null,Jl(e,t)})})},n.updateDelay),n.updateTimeout.unref)n.updateTimeout.unref()}function om(e,t,n){if(t.released=!0,t.updateTimeout)clearTimeout(t.updateTimeout);if(Zn[e]===t)delete Zn[e];t.options.onCompromised(n)}function j6(e,t,n){t={stale:1e4,update:null,realpath:!0,retries:0,fs:am,onCompromised:(r)=>{throw r},...t},t.retries=t.retries||0,t.retries=typeof t.retries==="number"?{retries:t.retries}:t.retries,t.stale=Math.max(t.stale||0,2000),t.update=t.update==null?t.stale/2:t.update||0,t.update=Math.max(Math.min(t.update,t.stale/2),1000),cm(e,t,(r,i)=>{if(r)return n(r);let o=B6.operation(t.retries);o.attempt(()=>{sm(i,t,(s,a,c)=>{if(o.retry(s))return;if(s)return n(o.mainError());let u=Zn[i]={lockfilePath:Ua(i,t),mtime:a,mtimePrecision:c,options:t,lastUpdate:Date.now()};Jl(i,t),n(null,(d)=>{if(u.released)return d&&d(Object.assign(Error("Lock is already released"),{code:"ERELEASED"}));SD(i,{...t,realpath:!1},d)})})})})}function SD(e,t,n){t={fs:am,realpath:!0,...t},cm(e,t,(r,i)=>{if(r)return n(r);let o=Zn[i];if(!o)return n(Object.assign(Error("Lock is not acquired/owned by you"),{code:"ENOTACQUIRED"}));o.updateTimeout&&clearTimeout(o.updateTimeout),o.released=!0,delete Zn[i],ED(i,t,n)})}function q6(e,t,n){t={stale:1e4,realpath:!0,fs:am,...t},t.stale=Math.max(t.stale||0,2000),cm(e,t,(r,i)=>{if(r)return n(r);t.fs.stat(Ua(i,t),(o,s)=>{if(o)return o.code==="ENOENT"?n(null,!1):n(o);return n(null,!DD(s,t))})})}function $6(){return Zn}W6(()=>{for(let e in Zn){let t=Zn[e].options;try{t.fs.rmdirSync(Ua(e,t))}catch(n){}}});H6.lock=j6;H6.unlock=SD;H6.check=q6;H6.getLocks=$6});var AD=U(function(I0e,CD){var K6=Jg();function Z6(e){let t=["mkdir","realpath","stat","rmdir","utimes"],n={...e};return t.forEach((r)=>{n[r]=(...i)=>{let o=i.pop(),s;try{s=e[`${r}Sync`](...i)}catch(a){return o(a)}o(null,s)}}),n}function Y6(e){return(...t)=>new Promise((n,r)=>{t.push((i,o)=>{if(i)r(i);else n(o)}),e(...t)})}function J6(e){return(...t)=>{let n,r;if(t.push((i,o)=>{n=i,r=o}),e(...t),n)throw n;return r}}function Q6(e){if(e={...e},e.fs=Z6(e.fs||K6),typeof e.retries==="number"&&e.retries>0||e.retries&&typeof e.retries.retries==="number"&&e.retries.retries>0)throw Object.assign(Error("Cannot use retries with the sync api"),{code:"ESYNC"});return e}CD.exports={toPromise:Y6,toSync:J6,toSyncOptions:Q6}});var UD=U(function(M0e,Mr){var Oo=TD(),{toPromise:Ql,toSync:ed,toSyncOptions:um}=AD();async function kD(e,t){let n=await Ql(Oo.lock)(e,t);return Ql(n)}function eW(e,t){let n=ed(Oo.lock)(e,um(t));return ed(n)}function tW(e,t){return Ql(Oo.unlock)(e,t)}function nW(e,t){return ed(Oo.unlock)(e,um(t))}function rW(e,t){return Ql(Oo.check)(e,t)}function iW(e,t){return ed(Oo.check)(e,um(t))}Mr.exports=kD;Mr.exports.lock=kD;Mr.exports.unlock=tW;Mr.exports.lockSync=eW;Mr.exports.unlockSync=nW;Mr.exports.check=rW;Mr.exports.checkSync=iW});var fT=U(function(dT){Object.defineProperty(dT,"__esModule",{value:!0});var Wm="1.13.8",FE=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},vd=Array.prototype,jm=Object.prototype,PE=typeof Symbol<"u"?Symbol.prototype:null,{push:Kj,slice:ja}=vd,{toString:La,hasOwnProperty:Zj}=jm,WE=typeof ArrayBuffer<"u",Yj=typeof DataView<"u",Jj=Array.isArray,{keys:OE,create:IE}=Object,ME=WE&&ArrayBuffer.isView,Qj=isNaN,e7=isFinite,jE=!{toString:null}.propertyIsEnumerable("toString"),NE=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],t7=Math.pow(2,53)-1;function St(e,t){return t=t==null?e.length-1:+t,function(){var n=Math.max(arguments.length-t,0),r=Array(n),i=0;for(;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}}function Br(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function qE(e){return e===null}function qm(e){return e===void 0}function $m(e){return e===!0||e===!1||La.call(e)==="[object Boolean]"}function $E(e){return!!(e&&e.nodeType===1)}function mt(e){var t="[object "+e+"]";return function(n){return La.call(n)===t}}var xd=mt("String"),Hm=mt("Number"),HE=mt("Date"),GE=mt("RegExp"),zE=mt("Error"),Gm=mt("Symbol"),zm=mt("ArrayBuffer"),VE=mt("Function"),n7=FE.document&&FE.document.childNodes;if(typeof Int8Array!="object"&&typeof n7!="function")VE=function(e){return typeof e=="function"||!1};var gt=VE,XE=mt("Object"),KE=Yj&&(!/\[native code\]/.test(String(DataView))||XE(new DataView(new ArrayBuffer(8)))),Vm=typeof Map<"u"&&XE(new Map),r7=mt("DataView");function i7(e){return e!=null&>(e.getInt8)&&zm(e.buffer)}var Ba=KE?i7:r7,Wr=Jj||mt("Array");function jr(e,t){return e!=null&&Zj.call(e,t)}var Im=mt("Arguments");(function(){if(!Im(arguments))Im=function(e){return jr(e,"callee")}})();var wd=Im;function ZE(e){return!Gm(e)&&e7(e)&&!isNaN(parseFloat(e))}function Xm(e){return Hm(e)&&Qj(e)}function Km(e){return function(){return e}}function YE(e){return function(t){var n=e(t);return typeof n=="number"&&n>=0&&n<=t7}}function JE(e){return function(t){return t==null?void 0:t[e]}}var pd=JE("byteLength"),o7=YE(pd),s7=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function a7(e){return ME?ME(e)&&!Ba(e):o7(e)&&s7.test(La.call(e))}var Zm=WE?a7:Km(!1),ht=JE("length");function c7(e){var t={};for(var n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(i){return t[i]===!0},push:function(i){return t[i]=!0,e.push(i)}}}function QE(e,t){t=c7(t);var n=NE.length,r=e.constructor,i=gt(r)&&r.prototype||jm,o="constructor";if(jr(e,o)&&!t.contains(o))t.push(o);while(n--)if(o=NE[n],o in e&&e[o]!==i[o]&&!t.contains(o))t.push(o)}function Ze(e){if(!Br(e))return[];if(OE)return OE(e);var t=[];for(var n in e)if(jr(e,n))t.push(n);if(jE)QE(e,t);return t}function eS(e){if(e==null)return!0;var t=ht(e);if(typeof t=="number"&&(Wr(e)||xd(e)||wd(e)))return t===0;return ht(Ze(e))===0}function Ym(e,t){var n=Ze(t),r=n.length;if(e==null)return!r;var i=Object(e);for(var o=0;o<r;o++){var s=n[o];if(t[s]!==i[s]||!(s in i))return!1}return!0}function be(e){if(e instanceof be)return e;if(!(this instanceof be))return new be(e);this._wrapped=e}be.VERSION=Wm;be.prototype.value=function(){return this._wrapped};be.prototype.valueOf=be.prototype.toJSON=be.prototype.value;be.prototype.toString=function(){return String(this._wrapped)};function LE(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,pd(e))}var BE="[object DataView]";function tS(e,t){var n=[{a:e,b:t}],r=[],i=[];while(n.length){var o=n.pop();if(o===!0){r.pop(),i.pop();continue}if(e=o.a,t=o.b,e===t){if(e!==0||1/e===1/t)continue;return!1}if(e==null||t==null)return!1;if(e!==e){if(t!==t)continue;return!1}var s=typeof e;if(s!=="function"&&s!=="object"&&typeof t!="object")return!1;if(e instanceof be)e=e._wrapped;if(t instanceof be)t=t._wrapped;var a=La.call(e);if(a!==La.call(t))return!1;if(KE&&a=="[object Object]"&&Ba(e)){if(!Ba(t))return!1;a=BE}switch(a){case"[object RegExp]":case"[object String]":if(""+e===""+t)continue;return!1;case"[object Number]":n.push({a:+e,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+e===+t)continue;return!1;case"[object Symbol]":if(PE.valueOf.call(e)===PE.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case BE:n.push({a:LE(e),b:LE(t)});continue}var c=a==="[object Array]";if(!c&&Zm(e)){var u=pd(e);if(u!==pd(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;c=!0}if(!c){if(typeof e!="object"||typeof t!="object")return!1;var d=e.constructor,f=t.constructor;if(d!==f&&!(gt(d)&&d instanceof d&>(f)&&f instanceof f)&&(("constructor"in e)&&("constructor"in t)))return!1}var p=r.length;while(p--)if(r[p]===e){if(i[p]===t)break;return!1}if(p>=0)continue;if(r.push(e),i.push(t),n.push(!0),c){if(p=e.length,p!==t.length)return!1;while(p--)n.push({a:e[p],b:t[p]})}else{var h=Ze(e),g;if(p=h.length,Ze(t).length!==p)return!1;while(p--){if(g=h[p],!jr(t,g))return!1;n.push({a:e[g],b:t[g]})}}}return!0}function Bo(e){if(!Br(e))return[];var t=[];for(var n in e)t.push(n);if(jE)QE(e,t);return t}function Jm(e){var t=ht(e);return function(n){if(n==null)return!1;var r=Bo(n);if(ht(r))return!1;for(var i=0;i<t;i++)if(!gt(n[e[i]]))return!1;return e!==iS||!gt(n[Qm])}}var Qm="forEach",nS="has",ey=["clear","delete"],rS=["get",nS,"set"],u7=ey.concat(Qm,rS),iS=ey.concat(rS),l7=["add"].concat(ey,Qm,nS),oS=Vm?Jm(u7):mt("Map"),sS=Vm?Jm(iS):mt("WeakMap"),aS=Vm?Jm(l7):mt("Set"),cS=mt("WeakSet");function Ri(e){var t=Ze(e),n=t.length,r=Array(n);for(var i=0;i<n;i++)r[i]=e[t[i]];return r}function uS(e){var t=Ze(e),n=t.length,r=Array(n);for(var i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}function ty(e){var t={},n=Ze(e);for(var r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}function hd(e){var t=[];for(var n in e)if(gt(e[n]))t.push(n);return t.sort()}function ny(e,t){return function(n){var r=arguments.length;if(t)n=Object(n);if(r<2||n==null)return n;for(var i=1;i<r;i++){var o=arguments[i],s=e(o),a=s.length;for(var c=0;c<a;c++){var u=s[c];if(!t||n[u]===void 0)n[u]=o[u]}}return n}}var ry=ny(Bo),Wa=ny(Ze),iy=ny(Bo,!0);function d7(){return function(){}}function lS(e){if(!Br(e))return{};if(IE)return IE(e);var t=d7();t.prototype=e;var n=new t;return t.prototype=null,n}function dS(e,t){var n=lS(e);if(t)Wa(n,t);return n}function fS(e){if(!Br(e))return e;return Wr(e)?e.slice():ry({},e)}function pS(e,t){return t(e),e}function oy(e){return Wr(e)?e:[e]}be.toPath=oy;function qa(e){return be.toPath(e)}function sy(e,t){var n=t.length;for(var r=0;r<n;r++){if(e==null)return;e=e[t[r]]}return n?e:void 0}function ay(e,t,n){var r=sy(e,qa(t));return qm(r)?n:r}function hS(e,t){t=qa(t);var n=t.length;for(var r=0;r<n;r++){var i=t[r];if(!jr(e,i))return!1;e=e[i]}return!!n}function _d(e){return e}function No(e){return e=Wa({},e),function(t){return Ym(t,e)}}function Dd(e){return e=qa(e),function(t){return sy(t,e)}}function $a(e,t,n){if(t===void 0)return e;switch(n==null?3:n){case 1:return function(r){return e.call(t,r)};case 3:return function(r,i,o){return e.call(t,r,i,o)};case 4:return function(r,i,o,s){return e.call(t,r,i,o,s)}}return function(){return e.apply(t,arguments)}}function gS(e,t,n){if(e==null)return _d;if(gt(e))return $a(e,t,n);if(Br(e)&&!Wr(e))return No(e);return Dd(e)}function Ed(e,t){return gS(e,t,1/0)}be.iteratee=Ed;function Pt(e,t,n){if(be.iteratee!==Ed)return be.iteratee(e,t);return gS(e,t,n)}function mS(e,t,n){t=Pt(t,n);var r=Ze(e),i=r.length,o={};for(var s=0;s<i;s++){var a=r[s];o[a]=t(e[a],a,e)}return o}function cy(){}function yS(e){if(e==null)return cy;return function(t){return ay(e,t)}}function bS(e,t,n){var r=Array(Math.max(0,e));t=$a(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}function gd(e,t){if(t==null)t=e,e=0;return e+Math.floor(Math.random()*(t-e+1))}var Lo=Date.now||function(){return new Date().getTime()};function vS(e){var t=function(o){return e[o]},n="(?:"+Ze(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(o){return o=o==null?"":""+o,r.test(o)?o.replace(i,t):o}}var xS={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},wS=vS(xS),f7=ty(xS),_S=vS(f7),DS=be.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Om=/(.)^/,p7={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},h7=/\\|'|\r|\n|\u2028|\u2029/g;function g7(e){return"\\"+p7[e]}var m7=/^\s*(\w|\$)+\s*$/;function ES(e,t,n){if(!t&&n)t=n;t=iy({},t,be.templateSettings);var r=RegExp([(t.escape||Om).source,(t.interpolate||Om).source,(t.evaluate||Om).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(u,d,f,p,h){if(o+=e.slice(i,h).replace(h7,g7),i=h+u.length,d)o+=`'+
|
|
7
|
+
`)}var Do=pe(()=>{Ul()});function Rr(e){return typeof e==="string"&&e.trim()?e.trim():void 0}function J_(e){if(typeof e==="string"){let i=e.trim();return i?{id:i}:null}if(!je(e))return null;let t=Rr(e.id)??Rr(e.model)??Rr(e.name);if(!t)return null;let n=t.startsWith("models/")?t.slice(7):t;if(!n)return null;let r=Rr(e.display_name)??Rr(e.displayName)??(Rr(e.id)||Rr(e.model)?Rr(e.name):void 0);return r&&r!==n?{id:n,name:r}:{id:n}}function Q_(e){if(Array.isArray(e))return e;if(!je(e))return[];for(let t of["data","models","results","items"]){let n=e[t];if(Array.isArray(n))return n;if(je(n))return Object.values(n)}return[]}function xi(e){return J_(e)}function wi(e){return Q_(e)}function Bl(e){let t=new Set,n=[];for(let r of Q_(e)){let i=J_(r);if(!i||t.has(i.id))continue;t.add(i.id),n.push(i)}return n.sort((r,i)=>(r.name??r.id).localeCompare(i.name??i.id,void 0,{numeric:!0,sensitivity:"base"}))}function Wl(e,t){let n=new URL(e.trim()),r=n.pathname.replace(/\/+$/,"");if(!/\/models$/i.test(r)){let i=r;if(t==="anthropic-messages"&&!/\/v\d+(?:beta)?$/i.test(i))i+="/v1";if(t==="google-generative-ai"&&!/\/v\d+(?:beta)?$/i.test(i))i+="/v1beta";n.pathname=`${i}/models`.replace(/\/+/g,"/")}if(t==="anthropic-messages"&&!n.searchParams.has("limit"))n.searchParams.set("limit","1000");if(t==="google-generative-ai"&&!n.searchParams.has("pageSize"))n.searchParams.set("pageSize","1000");return n}var Co=()=>{};import{existsSync as m6,readdirSync as y0e,readFileSync as b0e,renameSync as v0e,statSync as x0e,unlinkSync as w0e}from"node:fs";import{dirname as D0e,join as iD}from"node:path";import{getAgentDir as y6}from"@earendil-works/pi-coding-agent";function Pr(e,t){return iD(t??y6(),e)}function Vt(e,t){if(!t)return;return m6(iD(t,e))?t:void 0}var b6,C0e;var Uo=pe(()=>{Ul();b6=[{name:"models.json",description:"pi 模型/供应商配置(providers 与模型列表)",onWrite:()=>Ce()}],C0e=new Map(b6.map((e)=>[e.name,e]))});var sD=U(function(k0e,oD){var Or=ne("constants"),v6=process.cwd,Hl=null,x6=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!Hl)Hl=v6.call(process);return Hl};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){if(Gl=process.chdir,process.chdir=function(e){Hl=null,Gl.call(process,e)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,Gl)}var Gl;oD.exports=w6;function w6(e){if(Or.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))t(e);if(!e.lutimes)n(e);if(e.chown=o(e.chown),e.fchown=o(e.fchown),e.lchown=o(e.lchown),e.chmod=r(e.chmod),e.fchmod=r(e.fchmod),e.lchmod=r(e.lchmod),e.chownSync=s(e.chownSync),e.fchownSync=s(e.fchownSync),e.lchownSync=s(e.lchownSync),e.chmodSync=i(e.chmodSync),e.fchmodSync=i(e.fchmodSync),e.lchmodSync=i(e.lchmodSync),e.stat=a(e.stat),e.fstat=a(e.fstat),e.lstat=a(e.lstat),e.statSync=c(e.statSync),e.fstatSync=c(e.fstatSync),e.lstatSync=c(e.lstatSync),e.chmod&&!e.lchmod)e.lchmod=function(d,f,p){if(p)process.nextTick(p)},e.lchmodSync=function(){};if(e.chown&&!e.lchown)e.lchown=function(d,f,p,h){if(h)process.nextTick(h)},e.lchownSync=function(){};if(x6==="win32")e.rename=typeof e.rename!=="function"?e.rename:function(d){function f(p,h,g){var b=Date.now(),v=0;d(p,h,function y(x){if(x&&(x.code==="EACCES"||x.code==="EPERM"||x.code==="EBUSY")&&Date.now()-b<60000){if(setTimeout(function(){e.stat(h,function(m,w){if(m&&m.code==="ENOENT")d(p,h,y);else g(x)})},v),v<100)v+=10;return}if(g)g(x)})}if(Object.setPrototypeOf)Object.setPrototypeOf(f,d);return f}(e.rename);e.read=typeof e.read!=="function"?e.read:function(d){function f(p,h,g,b,v,y){var x;if(y&&typeof y==="function"){var m=0;x=function(w,D,T){if(w&&w.code==="EAGAIN"&&m<10)return m++,d.call(e,p,h,g,b,v,x);y.apply(this,arguments)}}return d.call(e,p,h,g,b,v,x)}if(Object.setPrototypeOf)Object.setPrototypeOf(f,d);return f}(e.read),e.readSync=typeof e.readSync!=="function"?e.readSync:function(d){return function(f,p,h,g,b){var v=0;while(!0)try{return d.call(e,f,p,h,g,b)}catch(y){if(y.code==="EAGAIN"&&v<10){v++;continue}throw y}}}(e.readSync);function t(d){d.lchmod=function(f,p,h){d.open(f,Or.O_WRONLY|Or.O_SYMLINK,p,function(g,b){if(g){if(h)h(g);return}d.fchmod(b,p,function(v){d.close(b,function(y){if(h)h(v||y)})})})},d.lchmodSync=function(f,p){var h=d.openSync(f,Or.O_WRONLY|Or.O_SYMLINK,p),g=!0,b;try{b=d.fchmodSync(h,p),g=!1}finally{if(g)try{d.closeSync(h)}catch(v){}else d.closeSync(h)}return b}}function n(d){if(Or.hasOwnProperty("O_SYMLINK")&&d.futimes)d.lutimes=function(f,p,h,g){d.open(f,Or.O_SYMLINK,function(b,v){if(b){if(g)g(b);return}d.futimes(v,p,h,function(y){d.close(v,function(x){if(g)g(y||x)})})})},d.lutimesSync=function(f,p,h){var g=d.openSync(f,Or.O_SYMLINK),b,v=!0;try{b=d.futimesSync(g,p,h),v=!1}finally{if(v)try{d.closeSync(g)}catch(y){}else d.closeSync(g)}return b};else if(d.futimes)d.lutimes=function(f,p,h,g){if(g)process.nextTick(g)},d.lutimesSync=function(){}}function r(d){if(!d)return d;return function(f,p,h){return d.call(e,f,p,function(g){if(u(g))g=null;if(h)h.apply(this,arguments)})}}function i(d){if(!d)return d;return function(f,p){try{return d.call(e,f,p)}catch(h){if(!u(h))throw h}}}function o(d){if(!d)return d;return function(f,p,h,g){return d.call(e,f,p,h,function(b){if(u(b))b=null;if(g)g.apply(this,arguments)})}}function s(d){if(!d)return d;return function(f,p,h){try{return d.call(e,f,p,h)}catch(g){if(!u(g))throw g}}}function a(d){if(!d)return d;return function(f,p,h){if(typeof p==="function")h=p,p=null;function g(b,v){if(v){if(v.uid<0)v.uid+=4294967296;if(v.gid<0)v.gid+=4294967296}if(h)h.apply(this,arguments)}return p?d.call(e,f,p,g):d.call(e,f,g)}}function c(d){if(!d)return d;return function(f,p){var h=p?d.call(e,f,p):d.call(e,f);if(h){if(h.uid<0)h.uid+=4294967296;if(h.gid<0)h.gid+=4294967296}return h}}function u(d){if(!d)return!0;if(d.code==="ENOSYS")return!0;var f=!process.getuid||process.getuid()!==0;if(f){if(d.code==="EINVAL"||d.code==="EPERM")return!0}return!1}}});var uD=U(function(U0e,cD){var aD=ne("stream").Stream;cD.exports=_6;function _6(e){return{ReadStream:t,WriteStream:n};function t(r,i){if(!(this instanceof t))return new t(r,i);aD.call(this);var o=this;this.path=r,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};var s=Object.keys(i);for(var a=0,c=s.length;a<c;a++){var u=s[a];this[u]=i[u]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!=="number")throw TypeError("end must be a Number");if(this.start>this.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){o._read()});return}e.open(this.path,this.flags,this.mode,function(d,f){if(d){o.emit("error",d),o.readable=!1;return}o.fd=f,o.emit("open",f),o._read()})}function n(r,i){if(!(this instanceof n))return new n(r,i);aD.call(this),this.path=r,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};var o=Object.keys(i);for(var s=0,a=o.length;s<a;s++){var c=o[s];this[c]=i[c]}if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.start<0)throw Error("start must be >= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var dD=U(function(R0e,lD){lD.exports=E6;var D6=Object.getPrototypeOf||function(e){return e.__proto__};function E6(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:D6(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}});var Jg=U(function(F0e,Yg){var Me=ne("fs"),S6=sD(),T6=uD(),C6=dD(),zl=ne("util"),st,Xl;if(typeof Symbol==="function"&&typeof Symbol.for==="function")st=Symbol.for("graceful-fs.queue"),Xl=Symbol.for("graceful-fs.previous");else st="___graceful-fs.queue",Xl="___graceful-fs.previous";function A6(){}function pD(e,t){Object.defineProperty(e,st,{get:function(){return t}})}var Ei=A6;if(zl.debuglog)Ei=zl.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))Ei=function(){var e=zl.format.apply(zl,arguments);e="GFS4: "+e.split(/\n/).join(`
|
|
8
|
+
GFS4: `),console.error(e)};if(!Me[st]){if(Xg=global[st]||[],pD(Me,Xg),Me.close=function(e){function t(n,r){return e.call(Me,n,function(i){if(!i)fD();if(typeof r==="function")r.apply(this,arguments)})}return Object.defineProperty(t,Xl,{value:e}),t}(Me.close),Me.closeSync=function(e){function t(n){e.apply(Me,arguments),fD()}return Object.defineProperty(t,Xl,{value:e}),t}(Me.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){Ei(Me[st]),ne("assert").equal(Me[st].length,0)})}var Xg;if(!global[st])pD(global,Me[st]);Yg.exports=Kg(C6(Me));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Me.__patched)Yg.exports=Kg(Me),Me.__patched=!0;function Kg(e){S6(e),e.gracefulify=Kg,e.createReadStream=D,e.createWriteStream=T;var t=e.readFile;e.readFile=n;function n(S,M,P){if(typeof M==="function")P=M,M=null;return C(S,M,P);function C(L,W,H,E){return t(L,W,function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))Ro([C,[L,W,H],R,E||Date.now(),Date.now()]);else if(typeof H==="function")H.apply(this,arguments)})}}var r=e.writeFile;e.writeFile=i;function i(S,M,P,C){if(typeof P==="function")C=P,P=null;return L(S,M,P,C);function L(W,H,E,R,k){return r(W,H,E,function(F){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}var o=e.appendFile;if(o)e.appendFile=s;function s(S,M,P,C){if(typeof P==="function")C=P,P=null;return L(S,M,P,C);function L(W,H,E,R,k){return o(W,H,E,function(F){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}var a=e.copyFile;if(a)e.copyFile=c;function c(S,M,P,C){if(typeof P==="function")C=P,P=0;return L(S,M,P,C);function L(W,H,E,R,k){return a(W,H,E,function(F){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}var u=e.readdir;e.readdir=f;var d=/^v[0-5]\./;function f(S,M,P){if(typeof M==="function")P=M,M=null;var C=d.test(process.version)?function(H,E,R,k){return u(H,L(H,E,R,k))}:function(H,E,R,k){return u(H,E,L(H,E,R,k))};return C(S,M,P);function L(W,H,E,R){return function(k,F){if(k&&(k.code==="EMFILE"||k.code==="ENFILE"))Ro([C,[W,H,E],k,R||Date.now(),Date.now()]);else{if(F&&F.sort)F.sort();if(typeof E==="function")E.call(this,k,F)}}}}if(process.version.substr(0,4)==="v0.8"){var p=T6(e);y=p.ReadStream,m=p.WriteStream}var h=e.ReadStream;if(h)y.prototype=Object.create(h.prototype),y.prototype.open=x;var g=e.WriteStream;if(g)m.prototype=Object.create(g.prototype),m.prototype.open=w;Object.defineProperty(e,"ReadStream",{get:function(){return y},set:function(S){y=S},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return m},set:function(S){m=S},enumerable:!0,configurable:!0});var b=y;Object.defineProperty(e,"FileReadStream",{get:function(){return b},set:function(S){b=S},enumerable:!0,configurable:!0});var v=m;Object.defineProperty(e,"FileWriteStream",{get:function(){return v},set:function(S){v=S},enumerable:!0,configurable:!0});function y(S,M){if(this instanceof y)return h.apply(this,arguments),this;else return y.apply(Object.create(y.prototype),arguments)}function x(){var S=this;A(S.path,S.flags,S.mode,function(M,P){if(M){if(S.autoClose)S.destroy();S.emit("error",M)}else S.fd=P,S.emit("open",P),S.read()})}function m(S,M){if(this instanceof m)return g.apply(this,arguments),this;else return m.apply(Object.create(m.prototype),arguments)}function w(){var S=this;A(S.path,S.flags,S.mode,function(M,P){if(M)S.destroy(),S.emit("error",M);else S.fd=P,S.emit("open",P)})}function D(S,M){return new e.ReadStream(S,M)}function T(S,M){return new e.WriteStream(S,M)}var _=e.open;e.open=A;function A(S,M,P,C){if(typeof P==="function")C=P,P=null;return L(S,M,P,C);function L(W,H,E,R,k){return _(W,H,E,function(F,B){if(F&&(F.code==="EMFILE"||F.code==="ENFILE"))Ro([L,[W,H,E,R],F,k||Date.now(),Date.now()]);else if(typeof R==="function")R.apply(this,arguments)})}}return e}function Ro(e){Ei("ENQUEUE",e[0].name,e[1]),Me[st].push(e),Zg()}var Vl;function fD(){var e=Date.now();for(var t=0;t<Me[st].length;++t)if(Me[st][t].length>2)Me[st][t][3]=e,Me[st][t][4]=e;Zg()}function Zg(){if(clearTimeout(Vl),Vl=void 0,Me[st].length===0)return;var e=Me[st].shift(),t=e[0],n=e[1],r=e[2],i=e[3],o=e[4];if(i===void 0)Ei("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-i>=60000){Ei("TIMEOUT",t.name,n);var s=n.pop();if(typeof s==="function")s.call(null,r)}else{var a=Date.now()-o,c=Math.max(o-i,1),u=Math.min(c*1.2,100);if(a>=u)Ei("RETRY",t.name,n),t.apply(null,n.concat([i]));else Me[st].push(e)}if(Vl===void 0)Vl=setTimeout(Zg,0)}});var gD=U(function(P0e,hD){function Xt(e,t){if(typeof t==="boolean")t={forever:t};if(this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever)this._cachedTimeouts=this._timeouts.slice(0)}hD.exports=Xt;Xt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};Xt.prototype.stop=function(){if(this._timeout)clearTimeout(this._timeout);this._timeouts=[],this._cachedTimeouts=null};Xt.prototype.retry=function(e){if(this._timeout)clearTimeout(this._timeout);if(!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.unshift(Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var n=this._timeouts.shift();if(n===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),n=this._timeouts.shift();else return!1;var r=this,i=setTimeout(function(){if(r._attempts++,r._operationTimeoutCb){if(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref)r._timeout.unref()}r._fn(r._attempts)},n);if(this._options.unref)i.unref();return!0};Xt.prototype.attempt=function(e,t){if(this._fn=e,t){if(t.timeout)this._operationTimeout=t.timeout;if(t.cb)this._operationTimeoutCb=t.cb}var n=this;if(this._operationTimeoutCb)this._timeout=setTimeout(function(){n._operationTimeoutCb()},n._operationTimeout);this._operationStart=new Date().getTime(),this._fn(this._attempts)};Xt.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};Xt.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};Xt.prototype.start=Xt.prototype.try;Xt.prototype.errors=function(){return this._errors};Xt.prototype.attempts=function(){return this._attempts};Xt.prototype.mainError=function(){if(this._errors.length===0)return null;var e={},t=null,n=0;for(var r=0;r<this._errors.length;r++){var i=this._errors[r],o=i.message,s=(e[o]||0)+1;if(e[o]=s,s>=n)t=i,n=s}return t}});var yD=U(function(Qg){var k6=gD();Qg.operation=function(e){var t=Qg.timeouts(e);return new k6(t,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};Qg.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1000,maxTimeout:1/0,randomize:!1};for(var n in e)t[n]=e[n];if(t.minTimeout>t.maxTimeout)throw Error("minTimeout is greater than maxTimeout");var r=[];for(var i=0;i<t.retries;i++)r.push(this.createTimeout(i,t));if(e&&e.forever&&!r.length)r.push(this.createTimeout(i,t));return r.sort(function(o,s){return o-s}),r};Qg.createTimeout=function(e,t){var n=t.randomize?Math.random()+1:1,r=Math.round(n*t.minTimeout*Math.pow(t.factor,e));return r=Math.min(r,t.maxTimeout),r};Qg.wrap=function(e,t,n){if(t instanceof Array)n=t,t=null;if(!n){n=[];for(var r in e)if(typeof e[r]==="function")n.push(r)}for(var i=0;i<n.length;i++){var o=n[i],s=e[o];e[o]=function(c){var u=Qg.operation(t),d=Array.prototype.slice.call(arguments,1),f=d.pop();d.push(function(p){if(u.retry(p))return;if(p)arguments[0]=u.mainError();f.apply(this,arguments)}),u.attempt(function(){c.apply(e,d)})}.bind(e,s),e[o].options=t}}});var bD=U(function(I0e,Kl){Kl.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32")Kl.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");if(process.platform==="linux")Kl.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var vD=U(function(M0e,Po){var Fe=global.process,Si=function(e){return e&&typeof e==="object"&&typeof e.removeListener==="function"&&typeof e.emit==="function"&&typeof e.reallyExit==="function"&&typeof e.listeners==="function"&&typeof e.kill==="function"&&typeof e.pid==="number"&&typeof e.on==="function"};if(!Si(Fe))Po.exports=function(){return function(){}};else{if(em=ne("assert"),Ti=bD(),tm=/^win/i.test(Fe.platform),Fo=ne("events"),typeof Fo!=="function")Fo=Fo.EventEmitter;if(Fe.__signal_exit_emitter__)Ke=Fe.__signal_exit_emitter__;else Ke=Fe.__signal_exit_emitter__=new Fo,Ke.count=0,Ke.emitted={};if(!Ke.infinite)Ke.setMaxListeners(1/0),Ke.infinite=!0;Po.exports=function(e,t){if(!Si(global.process))return function(){};if(em.equal(typeof e,"function","a callback must be provided for exit handler"),Ci===!1)Zl();var n="exit";if(t&&t.alwaysLast)n="afterexit";var r=function(){if(Ke.removeListener(n,e),Ke.listeners("exit").length===0&&Ke.listeners("afterexit").length===0)Ca()};return Ke.on(n,e),r},Ca=function(){if(!Ci||!Si(global.process))return;Ci=!1,Ti.forEach(function(t){try{Fe.removeListener(t,Aa[t])}catch(n){}}),Fe.emit=ka,Fe.reallyExit=Yl,Ke.count-=1},Po.exports.unload=Ca,Ir=function(t,n,r){if(Ke.emitted[t])return;Ke.emitted[t]=!0,Ke.emit(t,n,r)},Aa={},Ti.forEach(function(e){Aa[e]=function(){if(!Si(global.process))return;var n=Fe.listeners(e);if(n.length===Ke.count){if(Ca(),Ir("exit",null,e),Ir("afterexit",null,e),tm&&e==="SIGHUP")e="SIGINT";Fe.kill(Fe.pid,e)}}}),Po.exports.signals=function(){return Ti},Ci=!1,Zl=function(){if(Ci||!Si(global.process))return;Ci=!0,Ke.count+=1,Ti=Ti.filter(function(t){try{return Fe.on(t,Aa[t]),!0}catch(n){return!1}}),Fe.emit=rm,Fe.reallyExit=nm},Po.exports.load=Zl,Yl=Fe.reallyExit,nm=function(t){if(!Si(global.process))return;Fe.exitCode=t||0,Ir("exit",Fe.exitCode,null),Ir("afterexit",Fe.exitCode,null),Yl.call(Fe,Fe.exitCode)},ka=Fe.emit,rm=function(t,n){if(t==="exit"&&Si(global.process)){if(n!==void 0)Fe.exitCode=n;var r=ka.apply(this,arguments);return Ir("exit",Fe.exitCode,null),Ir("afterexit",Fe.exitCode,null),r}else return ka.apply(this,arguments)}}var em,Ti,tm,Fo,Ke,Ca,Ir,Aa,Ci,Zl,Yl,nm,ka,rm});var wD=U(function(I6,im){var xD=Symbol();function P6(e,t,n){let r=t[xD];if(r)return t.stat(e,(o,s)=>{if(o)return n(o);n(null,s.mtime,r)});let i=new Date(Math.ceil(Date.now()/1000)*1000+5);t.utimes(e,i,i,(o)=>{if(o)return n(o);t.stat(e,(s,a)=>{if(s)return n(s);let c=a.mtime.getTime()%1000===0?"s":"ms";Object.defineProperty(t,xD,{value:c}),n(null,a.mtime,c)})})}function O6(e){let t=Date.now();if(e==="s")t=Math.ceil(t/1000)*1000;return new Date(t)}I6.probe=P6;I6.getMtime=O6});var TD=U(function(H6,Ra){var L6=ne("path"),am=Jg(),B6=yD(),W6=vD(),_D=wD(),Zn={};function Ua(e,t){return t.lockfilePath||`${e}.lock`}function cm(e,t,n){if(!t.realpath)return n(null,L6.resolve(e));t.fs.realpath(e,n)}function sm(e,t,n){let r=Ua(e,t);t.fs.mkdir(r,(i)=>{if(!i)return _D.probe(r,t.fs,(o,s,a)=>{if(o)return t.fs.rmdir(r,()=>{}),n(o);n(null,s,a)});if(i.code!=="EEXIST")return n(i);if(t.stale<=0)return n(Object.assign(Error("Lock file is already being held"),{code:"ELOCKED",file:e}));t.fs.stat(r,(o,s)=>{if(o){if(o.code==="ENOENT")return sm(e,{...t,stale:0},n);return n(o)}if(!DD(s,t))return n(Object.assign(Error("Lock file is already being held"),{code:"ELOCKED",file:e}));ED(e,t,(a)=>{if(a)return n(a);sm(e,{...t,stale:0},n)})})})}function DD(e,t){return e.mtime.getTime()<Date.now()-t.stale}function ED(e,t,n){t.fs.rmdir(Ua(e,t),(r)=>{if(r&&r.code!=="ENOENT")return n(r);n()})}function Jl(e,t){let n=Zn[e];if(n.updateTimeout)return;if(n.updateDelay=n.updateDelay||t.update,n.updateTimeout=setTimeout(()=>{n.updateTimeout=null,t.fs.stat(n.lockfilePath,(r,i)=>{let o=n.lastUpdate+t.stale<Date.now();if(r){if(r.code==="ENOENT"||o)return om(e,n,Object.assign(r,{code:"ECOMPROMISED"}));return n.updateDelay=1000,Jl(e,t)}if(n.mtime.getTime()!==i.mtime.getTime())return om(e,n,Object.assign(Error("Unable to update lock within the stale threshold"),{code:"ECOMPROMISED"}));let a=_D.getMtime(n.mtimePrecision);t.fs.utimes(n.lockfilePath,a,a,(c)=>{let u=n.lastUpdate+t.stale<Date.now();if(n.released)return;if(c){if(c.code==="ENOENT"||u)return om(e,n,Object.assign(c,{code:"ECOMPROMISED"}));return n.updateDelay=1000,Jl(e,t)}n.mtime=a,n.lastUpdate=Date.now(),n.updateDelay=null,Jl(e,t)})})},n.updateDelay),n.updateTimeout.unref)n.updateTimeout.unref()}function om(e,t,n){if(t.released=!0,t.updateTimeout)clearTimeout(t.updateTimeout);if(Zn[e]===t)delete Zn[e];t.options.onCompromised(n)}function j6(e,t,n){t={stale:1e4,update:null,realpath:!0,retries:0,fs:am,onCompromised:(r)=>{throw r},...t},t.retries=t.retries||0,t.retries=typeof t.retries==="number"?{retries:t.retries}:t.retries,t.stale=Math.max(t.stale||0,2000),t.update=t.update==null?t.stale/2:t.update||0,t.update=Math.max(Math.min(t.update,t.stale/2),1000),cm(e,t,(r,i)=>{if(r)return n(r);let o=B6.operation(t.retries);o.attempt(()=>{sm(i,t,(s,a,c)=>{if(o.retry(s))return;if(s)return n(o.mainError());let u=Zn[i]={lockfilePath:Ua(i,t),mtime:a,mtimePrecision:c,options:t,lastUpdate:Date.now()};Jl(i,t),n(null,(d)=>{if(u.released)return d&&d(Object.assign(Error("Lock is already released"),{code:"ERELEASED"}));SD(i,{...t,realpath:!1},d)})})})})}function SD(e,t,n){t={fs:am,realpath:!0,...t},cm(e,t,(r,i)=>{if(r)return n(r);let o=Zn[i];if(!o)return n(Object.assign(Error("Lock is not acquired/owned by you"),{code:"ENOTACQUIRED"}));o.updateTimeout&&clearTimeout(o.updateTimeout),o.released=!0,delete Zn[i],ED(i,t,n)})}function q6(e,t,n){t={stale:1e4,realpath:!0,fs:am,...t},t.stale=Math.max(t.stale||0,2000),cm(e,t,(r,i)=>{if(r)return n(r);t.fs.stat(Ua(i,t),(o,s)=>{if(o)return o.code==="ENOENT"?n(null,!1):n(o);return n(null,!DD(s,t))})})}function $6(){return Zn}W6(()=>{for(let e in Zn){let t=Zn[e].options;try{t.fs.rmdirSync(Ua(e,t))}catch(n){}}});H6.lock=j6;H6.unlock=SD;H6.check=q6;H6.getLocks=$6});var AD=U(function(N0e,CD){var K6=Jg();function Z6(e){let t=["mkdir","realpath","stat","rmdir","utimes"],n={...e};return t.forEach((r)=>{n[r]=(...i)=>{let o=i.pop(),s;try{s=e[`${r}Sync`](...i)}catch(a){return o(a)}o(null,s)}}),n}function Y6(e){return(...t)=>new Promise((n,r)=>{t.push((i,o)=>{if(i)r(i);else n(o)}),e(...t)})}function J6(e){return(...t)=>{let n,r;if(t.push((i,o)=>{n=i,r=o}),e(...t),n)throw n;return r}}function Q6(e){if(e={...e},e.fs=Z6(e.fs||K6),typeof e.retries==="number"&&e.retries>0||e.retries&&typeof e.retries.retries==="number"&&e.retries.retries>0)throw Object.assign(Error("Cannot use retries with the sync api"),{code:"ESYNC"});return e}CD.exports={toPromise:Y6,toSync:J6,toSyncOptions:Q6}});var UD=U(function(L0e,Mr){var Oo=TD(),{toPromise:Ql,toSync:ed,toSyncOptions:um}=AD();async function kD(e,t){let n=await Ql(Oo.lock)(e,t);return Ql(n)}function eW(e,t){let n=ed(Oo.lock)(e,um(t));return ed(n)}function tW(e,t){return Ql(Oo.unlock)(e,t)}function nW(e,t){return ed(Oo.unlock)(e,um(t))}function rW(e,t){return Ql(Oo.check)(e,t)}function iW(e,t){return ed(Oo.check)(e,um(t))}Mr.exports=kD;Mr.exports.lock=kD;Mr.exports.unlock=tW;Mr.exports.lockSync=eW;Mr.exports.unlockSync=nW;Mr.exports.check=rW;Mr.exports.checkSync=iW});var fT=U(function(dT){Object.defineProperty(dT,"__esModule",{value:!0});var Wm="1.13.8",FE=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},vd=Array.prototype,jm=Object.prototype,PE=typeof Symbol<"u"?Symbol.prototype:null,{push:Kj,slice:ja}=vd,{toString:La,hasOwnProperty:Zj}=jm,WE=typeof ArrayBuffer<"u",Yj=typeof DataView<"u",Jj=Array.isArray,{keys:OE,create:IE}=Object,ME=WE&&ArrayBuffer.isView,Qj=isNaN,e7=isFinite,jE=!{toString:null}.propertyIsEnumerable("toString"),NE=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],t7=Math.pow(2,53)-1;function St(e,t){return t=t==null?e.length-1:+t,function(){var n=Math.max(arguments.length-t,0),r=Array(n),i=0;for(;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}}function Br(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function qE(e){return e===null}function qm(e){return e===void 0}function $m(e){return e===!0||e===!1||La.call(e)==="[object Boolean]"}function $E(e){return!!(e&&e.nodeType===1)}function mt(e){var t="[object "+e+"]";return function(n){return La.call(n)===t}}var xd=mt("String"),Hm=mt("Number"),HE=mt("Date"),GE=mt("RegExp"),zE=mt("Error"),Gm=mt("Symbol"),zm=mt("ArrayBuffer"),VE=mt("Function"),n7=FE.document&&FE.document.childNodes;if(typeof Int8Array!="object"&&typeof n7!="function")VE=function(e){return typeof e=="function"||!1};var gt=VE,XE=mt("Object"),KE=Yj&&(!/\[native code\]/.test(String(DataView))||XE(new DataView(new ArrayBuffer(8)))),Vm=typeof Map<"u"&&XE(new Map),r7=mt("DataView");function i7(e){return e!=null&>(e.getInt8)&&zm(e.buffer)}var Ba=KE?i7:r7,Wr=Jj||mt("Array");function jr(e,t){return e!=null&&Zj.call(e,t)}var Im=mt("Arguments");(function(){if(!Im(arguments))Im=function(e){return jr(e,"callee")}})();var wd=Im;function ZE(e){return!Gm(e)&&e7(e)&&!isNaN(parseFloat(e))}function Xm(e){return Hm(e)&&Qj(e)}function Km(e){return function(){return e}}function YE(e){return function(t){var n=e(t);return typeof n=="number"&&n>=0&&n<=t7}}function JE(e){return function(t){return t==null?void 0:t[e]}}var pd=JE("byteLength"),o7=YE(pd),s7=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function a7(e){return ME?ME(e)&&!Ba(e):o7(e)&&s7.test(La.call(e))}var Zm=WE?a7:Km(!1),ht=JE("length");function c7(e){var t={};for(var n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(i){return t[i]===!0},push:function(i){return t[i]=!0,e.push(i)}}}function QE(e,t){t=c7(t);var n=NE.length,r=e.constructor,i=gt(r)&&r.prototype||jm,o="constructor";if(jr(e,o)&&!t.contains(o))t.push(o);while(n--)if(o=NE[n],o in e&&e[o]!==i[o]&&!t.contains(o))t.push(o)}function Ze(e){if(!Br(e))return[];if(OE)return OE(e);var t=[];for(var n in e)if(jr(e,n))t.push(n);if(jE)QE(e,t);return t}function eS(e){if(e==null)return!0;var t=ht(e);if(typeof t=="number"&&(Wr(e)||xd(e)||wd(e)))return t===0;return ht(Ze(e))===0}function Ym(e,t){var n=Ze(t),r=n.length;if(e==null)return!r;var i=Object(e);for(var o=0;o<r;o++){var s=n[o];if(t[s]!==i[s]||!(s in i))return!1}return!0}function be(e){if(e instanceof be)return e;if(!(this instanceof be))return new be(e);this._wrapped=e}be.VERSION=Wm;be.prototype.value=function(){return this._wrapped};be.prototype.valueOf=be.prototype.toJSON=be.prototype.value;be.prototype.toString=function(){return String(this._wrapped)};function LE(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,pd(e))}var BE="[object DataView]";function tS(e,t){var n=[{a:e,b:t}],r=[],i=[];while(n.length){var o=n.pop();if(o===!0){r.pop(),i.pop();continue}if(e=o.a,t=o.b,e===t){if(e!==0||1/e===1/t)continue;return!1}if(e==null||t==null)return!1;if(e!==e){if(t!==t)continue;return!1}var s=typeof e;if(s!=="function"&&s!=="object"&&typeof t!="object")return!1;if(e instanceof be)e=e._wrapped;if(t instanceof be)t=t._wrapped;var a=La.call(e);if(a!==La.call(t))return!1;if(KE&&a=="[object Object]"&&Ba(e)){if(!Ba(t))return!1;a=BE}switch(a){case"[object RegExp]":case"[object String]":if(""+e===""+t)continue;return!1;case"[object Number]":n.push({a:+e,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+e===+t)continue;return!1;case"[object Symbol]":if(PE.valueOf.call(e)===PE.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case BE:n.push({a:LE(e),b:LE(t)});continue}var c=a==="[object Array]";if(!c&&Zm(e)){var u=pd(e);if(u!==pd(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;c=!0}if(!c){if(typeof e!="object"||typeof t!="object")return!1;var d=e.constructor,f=t.constructor;if(d!==f&&!(gt(d)&&d instanceof d&>(f)&&f instanceof f)&&(("constructor"in e)&&("constructor"in t)))return!1}var p=r.length;while(p--)if(r[p]===e){if(i[p]===t)break;return!1}if(p>=0)continue;if(r.push(e),i.push(t),n.push(!0),c){if(p=e.length,p!==t.length)return!1;while(p--)n.push({a:e[p],b:t[p]})}else{var h=Ze(e),g;if(p=h.length,Ze(t).length!==p)return!1;while(p--){if(g=h[p],!jr(t,g))return!1;n.push({a:e[g],b:t[g]})}}}return!0}function Bo(e){if(!Br(e))return[];var t=[];for(var n in e)t.push(n);if(jE)QE(e,t);return t}function Jm(e){var t=ht(e);return function(n){if(n==null)return!1;var r=Bo(n);if(ht(r))return!1;for(var i=0;i<t;i++)if(!gt(n[e[i]]))return!1;return e!==iS||!gt(n[Qm])}}var Qm="forEach",nS="has",ey=["clear","delete"],rS=["get",nS,"set"],u7=ey.concat(Qm,rS),iS=ey.concat(rS),l7=["add"].concat(ey,Qm,nS),oS=Vm?Jm(u7):mt("Map"),sS=Vm?Jm(iS):mt("WeakMap"),aS=Vm?Jm(l7):mt("Set"),cS=mt("WeakSet");function Ri(e){var t=Ze(e),n=t.length,r=Array(n);for(var i=0;i<n;i++)r[i]=e[t[i]];return r}function uS(e){var t=Ze(e),n=t.length,r=Array(n);for(var i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}function ty(e){var t={},n=Ze(e);for(var r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}function hd(e){var t=[];for(var n in e)if(gt(e[n]))t.push(n);return t.sort()}function ny(e,t){return function(n){var r=arguments.length;if(t)n=Object(n);if(r<2||n==null)return n;for(var i=1;i<r;i++){var o=arguments[i],s=e(o),a=s.length;for(var c=0;c<a;c++){var u=s[c];if(!t||n[u]===void 0)n[u]=o[u]}}return n}}var ry=ny(Bo),Wa=ny(Ze),iy=ny(Bo,!0);function d7(){return function(){}}function lS(e){if(!Br(e))return{};if(IE)return IE(e);var t=d7();t.prototype=e;var n=new t;return t.prototype=null,n}function dS(e,t){var n=lS(e);if(t)Wa(n,t);return n}function fS(e){if(!Br(e))return e;return Wr(e)?e.slice():ry({},e)}function pS(e,t){return t(e),e}function oy(e){return Wr(e)?e:[e]}be.toPath=oy;function qa(e){return be.toPath(e)}function sy(e,t){var n=t.length;for(var r=0;r<n;r++){if(e==null)return;e=e[t[r]]}return n?e:void 0}function ay(e,t,n){var r=sy(e,qa(t));return qm(r)?n:r}function hS(e,t){t=qa(t);var n=t.length;for(var r=0;r<n;r++){var i=t[r];if(!jr(e,i))return!1;e=e[i]}return!!n}function _d(e){return e}function No(e){return e=Wa({},e),function(t){return Ym(t,e)}}function Dd(e){return e=qa(e),function(t){return sy(t,e)}}function $a(e,t,n){if(t===void 0)return e;switch(n==null?3:n){case 1:return function(r){return e.call(t,r)};case 3:return function(r,i,o){return e.call(t,r,i,o)};case 4:return function(r,i,o,s){return e.call(t,r,i,o,s)}}return function(){return e.apply(t,arguments)}}function gS(e,t,n){if(e==null)return _d;if(gt(e))return $a(e,t,n);if(Br(e)&&!Wr(e))return No(e);return Dd(e)}function Ed(e,t){return gS(e,t,1/0)}be.iteratee=Ed;function Pt(e,t,n){if(be.iteratee!==Ed)return be.iteratee(e,t);return gS(e,t,n)}function mS(e,t,n){t=Pt(t,n);var r=Ze(e),i=r.length,o={};for(var s=0;s<i;s++){var a=r[s];o[a]=t(e[a],a,e)}return o}function cy(){}function yS(e){if(e==null)return cy;return function(t){return ay(e,t)}}function bS(e,t,n){var r=Array(Math.max(0,e));t=$a(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}function gd(e,t){if(t==null)t=e,e=0;return e+Math.floor(Math.random()*(t-e+1))}var Lo=Date.now||function(){return new Date().getTime()};function vS(e){var t=function(o){return e[o]},n="(?:"+Ze(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(o){return o=o==null?"":""+o,r.test(o)?o.replace(i,t):o}}var xS={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},wS=vS(xS),f7=ty(xS),_S=vS(f7),DS=be.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Om=/(.)^/,p7={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},h7=/\\|'|\r|\n|\u2028|\u2029/g;function g7(e){return"\\"+p7[e]}var m7=/^\s*(\w|\$)+\s*$/;function ES(e,t,n){if(!t&&n)t=n;t=iy({},t,be.templateSettings);var r=RegExp([(t.escape||Om).source,(t.interpolate||Om).source,(t.evaluate||Om).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(u,d,f,p,h){if(o+=e.slice(i,h).replace(h7,g7),i=h+u.length,d)o+=`'+
|
|
9
9
|
((__t=(`+d+`))==null?'':_.escape(__t))+
|
|
10
10
|
'`;else if(f)o+=`'+
|
|
11
11
|
((__t=(`+f+`))==null?'':__t)+
|
|
@@ -17,19 +17,19 @@ __p+='`;return u}),o+=`';
|
|
|
17
17
|
`,s="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
18
18
|
`+o+`return __p;
|
|
19
19
|
`;var a;try{a=Function(s,"_",o)}catch(u){throw u.source=o,u}var c=function(u){return a.call(this,u,be)};return c.source="function("+s+`){
|
|
20
|
-
`+o+"}",c}function SS(e,t,n){t=qa(t);var r=t.length;if(!r)return gt(n)?n.call(e):n;for(var i=0;i<r;i++){var o=e==null?void 0:e[t[i]];if(o===void 0)o=n,i=r;e=gt(o)?o.call(e):o}return e}var y7=0;function TS(e){var t=++y7+"";return e?e+t:t}function CS(e){var t=be(e);return t._chain=!0,t}function AS(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=lS(e.prototype),s=e.apply(o,i);if(Br(s))return s;return o}var Fi=St(function(e,t){var n=Fi.placeholder,r=function(){var i=0,o=t.length,s=Array(o);for(var a=0;a<o;a++)s[a]=t[a]===n?arguments[i++]:t[a];while(i<arguments.length)s.push(arguments[i++]);return AS(e,r,this,this,s)};return r});Fi.placeholder=be;var uy=St(function(e,t,n){if(!gt(e))throw TypeError("Bind must be called on a function");var r=St(function(i){return AS(e,r,t,this,n.concat(i))});return r}),Wt=YE(ht);function Wo(e,t,n){if(!t&&t!==0)t=1/0;var r=[],i=0,o=0,s=ht(e)||0,a=[];while(!0){if(o>=s){if(!a.length)break;var c=a.pop();o=c.i,e=c.v,s=ht(e);continue}var u=e[o++];if(a.length>=t)r[i++]=u;else if(Wt(u)&&(Wr(u)||wd(u)))a.push({i:o,v:e}),o=0,e=u,s=ht(e);else if(!n)r[i++]=u}return r}var kS=St(function(e,t){t=Wo(t,!1,!1);var n=t.length;if(n<1)throw Error("bindAll must be passed function names");while(n--){var r=t[n];e[r]=uy(e[r],e)}return e});function US(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);if(!jr(i,o))i[o]=e.apply(this,arguments);return i[o]};return n.cache={},n}var ly=St(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),RS=Fi(ly,be,1);function FS(e,t,n){var r,i,o,s,a=0;if(!n)n={};var c=function(){if(a=n.leading===!1?0:Lo(),r=null,s=e.apply(i,o),!r)i=o=null},u=function(){var d=Lo();if(!a&&n.leading===!1)a=d;var f=t-(d-a);if(i=this,o=arguments,f<=0||f>t){if(r)clearTimeout(r),r=null;if(a=d,s=e.apply(i,o),!r)i=o=null}else if(!r&&n.trailing!==!1)r=setTimeout(c,f);return s};return u.cancel=function(){clearTimeout(r),a=0,r=i=o=null},u}function PS(e,t,n){var r,i,o,s,a,c=function(){var d=Lo()-i;if(t>d)r=setTimeout(c,t-d);else{if(r=null,!n)s=e.apply(a,o);if(!r)o=a=null}},u=St(function(d){if(a=this,o=d,i=Lo(),!r){if(r=setTimeout(c,t),n)s=e.apply(a,o)}return s});return u.cancel=function(){clearTimeout(r),r=o=a=null},u}function OS(e,t){return Fi(t,e)}function Sd(e){return function(){return!e.apply(this,arguments)}}function IS(){var e=arguments,t=e.length-1;return function(){var n=t,r=e[t].apply(this,arguments);while(n--)r=e[n].call(this,r);return r}}function MS(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function dy(e,t){var n;return function(){if(--e>0)n=t.apply(this,arguments);if(e<=1)t=null;return n}}var NS=Fi(dy,2);function fy(e,t,n){t=Pt(t,n);var r=Ze(e),i;for(var o=0,s=r.length;o<s;o++)if(i=r[o],t(e[i],i,e))return i}function LS(e){return function(t,n,r){n=Pt(n,r);var i=ht(t),o=e>0?0:i-1;for(;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}}var Td=LS(1),py=LS(-1);function hy(e,t,n,r){n=Pt(n,r,1);var i=n(t),o=0,s=ht(e);while(o<s){var a=Math.floor((o+s)/2);if(n(e[a])<i)o=a+1;else s=a}return o}function BS(e,t,n){return function(r,i,o){var s=0,a=ht(r);if(typeof o=="number")if(e>0)s=o>=0?o:Math.max(o+a,s);else a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(ja.call(r,s,a),Xm),o>=0?o+s:-1;for(o=e>0?s:a-1;o>=0&&o<a;o+=e)if(r[o]===i)return o;return-1}}var gy=BS(1,Td,hy),WS=BS(-1,py);function md(e,t,n){var r=Wt(e)?Td:fy,i=r(e,t,n);if(i!==void 0&&i!==-1)return e[i]}function jS(e,t){return md(e,No(t))}function Dn(e,t,n){t=$a(t,n);var r,i;if(Wt(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=Ze(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e}function Lr(e,t,n){t=Pt(t,n);var r=!Wt(e)&&Ze(e),i=(r||e).length,o=Array(i);for(var s=0;s<i;s++){var a=r?r[s]:s;o[s]=t(e[a],a,e)}return o}function qS(e){var t=function(n,r,i,o){var s=!Wt(n)&&Ze(n),a=(s||n).length,c=e>0?0:a-1;if(!o)i=n[s?s[c]:c],c+=e;for(;c>=0&&c<a;c+=e){var u=s?s[c]:c;i=r(i,n[u],u,n)}return i};return function(n,r,i,o){var s=arguments.length>=3;return t(n,$a(r,o,4),i,s)}}var dd=qS(1),Mm=qS(-1);function Ui(e,t,n){var r=[];return t=Pt(t,n),Dn(e,function(i,o,s){if(t(i,o,s))r.push(i)}),r}function $S(e,t,n){return Ui(e,Sd(Pt(t)),n)}function Nm(e,t,n){t=Pt(t,n);var r=!Wt(e)&&Ze(e),i=(r||e).length;for(var o=0;o<i;o++){var s=r?r[o]:o;if(!t(e[s],s,e))return!1}return!0}function Lm(e,t,n){t=Pt(t,n);var r=!Wt(e)&&Ze(e),i=(r||e).length;for(var o=0;o<i;o++){var s=r?r[o]:o;if(t(e[s],s,e))return!0}return!1}function _n(e,t,n,r){if(!Wt(e))e=Ri(e);if(typeof n!="number"||r)n=0;return gy(e,t,n)>=0}var HS=St(function(e,t,n){var r,i;if(gt(t))i=t;else t=qa(t),r=t.slice(0,-1),t=t[t.length-1];return Lr(e,function(o){var s=i;if(!s){if(r&&r.length)o=sy(o,r);if(o==null)return;s=o[t]}return s==null?s:s.apply(o,n)})});function Cd(e,t){return Lr(e,Dd(t))}function GS(e,t){return Ui(e,No(t))}function my(e,t,n){var r=-1/0,i=-1/0,o,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Wt(e)?e:Ri(e);for(var a=0,c=e.length;a<c;a++)if(o=e[a],o!=null&&o>r)r=o}else t=Pt(t,n),Dn(e,function(u,d,f){if(s=t(u,d,f),s>i||s===-1/0&&r===-1/0)r=u,i=s});return r}function zS(e,t,n){var r=1/0,i=1/0,o,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Wt(e)?e:Ri(e);for(var a=0,c=e.length;a<c;a++)if(o=e[a],o!=null&&o<r)r=o}else t=Pt(t,n),Dn(e,function(u,d,f){if(s=t(u,d,f),s<i||s===1/0&&r===1/0)r=u,i=s});return r}var b7=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function yy(e){if(!e)return[];if(Wr(e))return ja.call(e);if(xd(e))return e.match(b7);if(Wt(e))return Lr(e,_d);return Ri(e)}function by(e,t,n){if(t==null||n){if(!Wt(e))e=Ri(e);return e[gd(e.length-1)]}var r=yy(e),i=ht(r);t=Math.max(Math.min(t,i),0);var o=i-1;for(var s=0;s<t;s++){var a=gd(s,o),c=r[s];r[s]=r[a],r[a]=c}return r.slice(0,t)}function VS(e){return by(e,1/0)}function XS(e,t,n){var r=0;return t=Pt(t,n),Cd(Lr(e,function(i,o,s){return{value:i,index:r++,criteria:t(i,o,s)}}).sort(function(i,o){var s=i.criteria,a=o.criteria;if(s!==a){if(s>a||s===void 0)return 1;if(s<a||a===void 0)return-1}return i.index-o.index}),"value")}function Ad(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=Pt(r,i),Dn(n,function(s,a){var c=r(s,a,n);e(o,s,c)}),o}}var KS=Ad(function(e,t,n){if(jr(e,n))e[n].push(t);else e[n]=[t]}),ZS=Ad(function(e,t,n){e[n]=t}),YS=Ad(function(e,t,n){if(jr(e,n))e[n]++;else e[n]=1}),JS=Ad(function(e,t,n){e[n?0:1].push(t)},!0);function QS(e){if(e==null)return 0;return Wt(e)?e.length:Ze(e).length}function v7(e,t,n){return t in n}var vy=St(function(e,t){var n={},r=t[0];if(e==null)return n;if(gt(r)){if(t.length>1)r=$a(r,t[1]);t=Bo(e)}else r=v7,t=Wo(t,!1,!1),e=Object(e);for(var i=0,o=t.length;i<o;i++){var s=t[i],a=e[s];if(r(a,s,e))n[s]=a}return n}),eT=St(function(e,t){var n=t[0],r;if(gt(n)){if(n=Sd(n),t.length>1)r=t[1]}else t=Lr(Wo(t,!1,!1),String),n=function(i,o){return!_n(t,o)};return vy(e,n,r)});function xy(e,t,n){return ja.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function fd(e,t,n){if(e==null||e.length<1)return t==null||n?void 0:[];if(t==null||n)return e[0];return xy(e,e.length-t)}function Na(e,t,n){return ja.call(e,t==null||n?1:t)}function tT(e,t,n){if(e==null||e.length<1)return t==null||n?void 0:[];if(t==null||n)return e[e.length-1];return Na(e,Math.max(0,e.length-t))}function nT(e){return Ui(e,Boolean)}function rT(e,t){return Wo(e,t,!1)}var wy=St(function(e,t){return t=Wo(t,!0,!0),Ui(e,function(n){return!_n(t,n)})}),iT=St(function(e,t){return wy(e,t)});function yd(e,t,n,r){if(!$m(t))r=n,n=t,t=!1;if(n!=null)n=Pt(n,r);var i=[],o=[];for(var s=0,a=ht(e);s<a;s++){var c=e[s],u=n?n(c,s,e):c;if(t&&!n){if(!s||o!==u)i.push(c);o=u}else if(n){if(!_n(o,u))o.push(u),i.push(c)}else if(!_n(i,c))i.push(c)}return i}var oT=St(function(e){return yd(Wo(e,!0,!0))});function sT(e){var t=[],n=arguments.length;for(var r=0,i=ht(e);r<i;r++){var o=e[r];if(_n(t,o))continue;var s;for(s=1;s<n;s++)if(!_n(arguments[s],o))break;if(s===n)t.push(o)}return t}function bd(e){var t=e&&my(e,ht).length||0,n=Array(t);for(var r=0;r<t;r++)n[r]=Cd(e,r);return n}var aT=St(bd);function cT(e,t){var n={};for(var r=0,i=ht(e);r<i;r++)if(t)n[e[r]]=t[r];else n[e[r][0]]=e[r][1];return n}function uT(e,t,n){if(t==null)t=e||0,e=0;if(!n)n=t<e?-1:1;var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r);for(var o=0;o<r;o++,e+=n)i[o]=e;return i}function lT(e,t){if(t==null||t<1)return[];var n=[],r=0,i=e.length;while(r<i)n.push(ja.call(e,r,r+=t));return n}function _y(e,t){return e._chain?be(t).chain():t}function Dy(e){return Dn(hd(e),function(t){var n=be[t]=e[t];be.prototype[t]=function(){var r=[this._wrapped];return Kj.apply(r,arguments),_y(this,n.apply(be,r))}}),be}Dn(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=vd[e];be.prototype[e]=function(){var n=this._wrapped;if(n!=null){if(t.apply(n,arguments),(e==="shift"||e==="splice")&&n.length===0)delete n[0]}return _y(this,n)}});Dn(["concat","join","slice"],function(e){var t=vd[e];be.prototype[e]=function(){var n=this._wrapped;if(n!=null)n=t.apply(n,arguments);return _y(this,n)}});var x7={__proto__:null,VERSION:Wm,restArguments:St,isObject:Br,isNull:qE,isUndefined:qm,isBoolean:$m,isElement:$E,isString:xd,isNumber:Hm,isDate:HE,isRegExp:GE,isError:zE,isSymbol:Gm,isArrayBuffer:zm,isDataView:Ba,isArray:Wr,isFunction:gt,isArguments:wd,isFinite:ZE,isNaN:Xm,isTypedArray:Zm,isEmpty:eS,isMatch:Ym,isEqual:tS,isMap:oS,isWeakMap:sS,isSet:aS,isWeakSet:cS,keys:Ze,allKeys:Bo,values:Ri,pairs:uS,invert:ty,functions:hd,methods:hd,extend:ry,extendOwn:Wa,assign:Wa,defaults:iy,create:dS,clone:fS,tap:pS,get:ay,has:hS,mapObject:mS,identity:_d,constant:Km,noop:cy,toPath:oy,property:Dd,propertyOf:yS,matcher:No,matches:No,times:bS,random:gd,now:Lo,escape:wS,unescape:_S,templateSettings:DS,template:ES,result:SS,uniqueId:TS,chain:CS,iteratee:Ed,partial:Fi,bind:uy,bindAll:kS,memoize:US,delay:ly,defer:RS,throttle:FS,debounce:PS,wrap:OS,negate:Sd,compose:IS,after:MS,before:dy,once:NS,findKey:fy,findIndex:Td,findLastIndex:py,sortedIndex:hy,indexOf:gy,lastIndexOf:WS,find:md,detect:md,findWhere:jS,each:Dn,forEach:Dn,map:Lr,collect:Lr,reduce:dd,foldl:dd,inject:dd,reduceRight:Mm,foldr:Mm,filter:Ui,select:Ui,reject:$S,every:Nm,all:Nm,some:Lm,any:Lm,contains:_n,includes:_n,include:_n,invoke:HS,pluck:Cd,where:GS,max:my,min:zS,shuffle:VS,sample:by,sortBy:XS,groupBy:KS,indexBy:ZS,countBy:YS,partition:JS,toArray:yy,size:QS,pick:vy,omit:eT,first:fd,head:fd,take:fd,initial:xy,last:tT,rest:Na,tail:Na,drop:Na,compact:nT,flatten:rT,without:iT,uniq:yd,unique:yd,union:oT,intersection:sT,difference:wy,unzip:bd,transpose:bd,zip:aT,object:cT,range:uT,chunk:lT,mixin:Dy,default:be},Bm=Dy(x7);Bm._=Bm;dT.VERSION=Wm;dT._=Bm;dT._escape=wS;dT._unescape=_S;dT.after=MS;dT.allKeys=Bo;dT.before=dy;dT.bind=uy;dT.bindAll=kS;dT.chain=CS;dT.chunk=lT;dT.clone=fS;dT.compact=nT;dT.compose=IS;dT.constant=Km;dT.contains=_n;dT.countBy=YS;dT.create=dS;dT.debounce=PS;dT.defaults=iy;dT.defer=RS;dT.delay=ly;dT.difference=wy;dT.each=Dn;dT.every=Nm;dT.extend=ry;dT.extendOwn=Wa;dT.filter=Ui;dT.find=md;dT.findIndex=Td;dT.findKey=fy;dT.findLastIndex=py;dT.findWhere=jS;dT.first=fd;dT.flatten=rT;dT.functions=hd;dT.get=ay;dT.groupBy=KS;dT.has=hS;dT.identity=_d;dT.indexBy=ZS;dT.indexOf=gy;dT.initial=xy;dT.intersection=sT;dT.invert=ty;dT.invoke=HS;dT.isArguments=wd;dT.isArray=Wr;dT.isArrayBuffer=zm;dT.isBoolean=$m;dT.isDataView=Ba;dT.isDate=HE;dT.isElement=$E;dT.isEmpty=eS;dT.isEqual=tS;dT.isError=zE;dT.isFinite=ZE;dT.isFunction=gt;dT.isMap=oS;dT.isMatch=Ym;dT.isNaN=Xm;dT.isNull=qE;dT.isNumber=Hm;dT.isObject=Br;dT.isRegExp=GE;dT.isSet=aS;dT.isString=xd;dT.isSymbol=Gm;dT.isTypedArray=Zm;dT.isUndefined=qm;dT.isWeakMap=sS;dT.isWeakSet=cS;dT.iteratee=Ed;dT.keys=Ze;dT.last=tT;dT.lastIndexOf=WS;dT.map=Lr;dT.mapObject=mS;dT.matcher=No;dT.max=my;dT.memoize=US;dT.min=zS;dT.mixin=Dy;dT.negate=Sd;dT.noop=cy;dT.now=Lo;dT.object=cT;dT.omit=eT;dT.once=NS;dT.pairs=uS;dT.partial=Fi;dT.partition=JS;dT.pick=vy;dT.pluck=Cd;dT.property=Dd;dT.propertyOf=yS;dT.random=gd;dT.range=uT;dT.reduce=dd;dT.reduceRight=Mm;dT.reject=$S;dT.rest=Na;dT.restArguments=St;dT.result=SS;dT.sample=by;dT.shuffle=VS;dT.size=QS;dT.some=Lm;dT.sortBy=XS;dT.sortedIndex=hy;dT.tap=pS;dT.template=ES;dT.templateSettings=DS;dT.throttle=FS;dT.times=bS;dT.toArray=yy;dT.toPath=oy;dT.union=oT;dT.uniq=yd;dT.uniqueId=TS;dT.unzip=bd;dT.values=Ri;dT.where=GS;dT.without=iT;dT.wrap=OS;dT.zip=aT});var We=U(function(_2e,pT){var B$=fT();pT.exports=B$._});var Pi=U(function(D2e,Py){var Ey=function(){return this===void 0}();if(Ey)Py.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:Ey,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!!(!n||n.writable||n.set)}};else Sy={}.hasOwnProperty,Ty={}.toString,Cy={}.constructor.prototype,kd=function(e){var t=[];for(var n in e)if(Sy.call(e,n))t.push(n);return t},Ay=function(e,t){return{value:e[t]}},ky=function(e,t,n){return e[t]=n.value,e},Uy=function(e){return e},Ry=function(e){try{return Object(e).constructor.prototype}catch(t){return Cy}},Fy=function(e){try{return Ty.call(e)==="[object Array]"}catch(t){return!1}},Py.exports={isArray:Fy,keys:kd,names:kd,defineProperty:ky,getDescriptor:Ay,freeze:Uy,getPrototypeOf:Ry,isES5:Ey,propertyIsWritable:function(){return!0}};var Sy,Ty,Cy,kd,Ay,ky,Uy,Ry,Fy});var we=U(function(exports,module){var es5=Pi(),canEvaluate=typeof navigator>"u",errorObj={e:{}},tryCatchTarget,globalObject=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:exports!==void 0?exports:null;function tryCatcher(){try{var e=tryCatchTarget;return tryCatchTarget=null,e.apply(this,arguments)}catch(t){return errorObj.e=t,errorObj}}function tryCatch(e){return tryCatchTarget=e,tryCatcher}var inherits=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e,this.constructor$=t;for(var i in t.prototype)if(n.call(t.prototype,i)&&i.charAt(i.length-1)!=="$")this[i+"$"]=t.prototype[i]}return r.prototype=t.prototype,e.prototype=new r,e.prototype};function isPrimitive(e){return e==null||e===!0||e===!1||typeof e==="string"||typeof e==="number"}function isObject(e){return typeof e==="function"||typeof e==="object"&&e!==null}function maybeWrapAsError(e){if(!isPrimitive(e))return e;return Error(safeToString(e))}function withAppended(e,t){var n=e.length,r=Array(n+1),i;for(i=0;i<n;++i)r[i]=e[i];return r[i]=t,r}function getDataPropertyOrDefault(e,t,n){if(es5.isES5){var r=Object.getOwnPropertyDescriptor(e,t);if(r!=null)return r.get==null&&r.set==null?r.value:n}else return{}.hasOwnProperty.call(e,t)?e[t]:void 0}function notEnumerableProp(e,t,n){if(isPrimitive(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return es5.defineProperty(e,t,r),e}function thrower(e){throw e}var inheritedDataKeys=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(i){for(var o=0;o<e.length;++o)if(e[o]===i)return!0;return!1};if(es5.isES5){var n=Object.getOwnPropertyNames;return function(i){var o=[],s=Object.create(null);while(i!=null&&!t(i)){var a;try{a=n(i)}catch(f){return o}for(var c=0;c<a.length;++c){var u=a[c];if(s[u])continue;s[u]=!0;var d=Object.getOwnPropertyDescriptor(i,u);if(d!=null&&d.get==null&&d.set==null)o.push(u)}i=es5.getPrototypeOf(i)}return o}}else{var r={}.hasOwnProperty;return function(i){if(t(i))return[];var o=[];e:for(var s in i)if(r.call(i,s))o.push(s);else{for(var a=0;a<e.length;++a)if(r.call(e[a],s))continue e;o.push(s)}return o}}}(),thisAssignmentPattern=/this\s*\.\s*\S+\s*=/;function isClass(e){try{if(typeof e==="function"){var t=es5.names(e.prototype),n=es5.isES5&&t.length>1,r=t.length>0&&!(t.length===1&&t[0]==="constructor"),i=thisAssignmentPattern.test(e+"")&&es5.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function toFastProperties(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var rident=/^[a-z$_][a-z$_0-9]*$/i;function isIdentifier(e){return rident.test(e)}function filledRange(e,t,n){var r=Array(e);for(var i=0;i<e;++i)r[i]=t+i+n;return r}function safeToString(e){try{return e+""}catch(t){return"[no string representation]"}}function isError(e){return e!==null&&typeof e==="object"&&typeof e.message==="string"&&typeof e.name==="string"}function markAsOriginatingFromRejection(e){try{notEnumerableProp(e,"isOperational",!0)}catch(t){}}function originatesFromRejection(e){if(e==null)return!1;return e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function canAttachTrace(e){return isError(e)&&es5.propertyIsWritable(e,"stack")}var ensureErrorObject=function(){if(!("stack"in Error()))return function(e){if(canAttachTrace(e))return e;try{throw Error(safeToString(e))}catch(t){return t}};else return function(e){if(canAttachTrace(e))return e;return Error(safeToString(e))}}();function classString(e){return{}.toString.call(e)}function copyDescriptors(e,t,n){var r=es5.names(e);for(var i=0;i<r.length;++i){var o=r[i];if(n(o))try{es5.defineProperty(t,o,es5.getDescriptor(e,o))}catch(s){}}}var asArray=function(e){if(es5.isArray(e))return e;return null};if(typeof Symbol<"u"&&Symbol.iterator)ArrayFrom=typeof Array.from==="function"?function(e){return Array.from(e)}:function(e){var t=[],n=e[Symbol.iterator](),r;while(!(r=n.next()).done)t.push(r.value);return t},asArray=function(e){if(es5.isArray(e))return e;else if(e!=null&&typeof e[Symbol.iterator]==="function")return ArrayFrom(e);return null};var ArrayFrom,isNode=typeof process<"u"&&classString(process).toLowerCase()==="[object process]",hasEnvVariables=typeof process<"u"&&typeof process.env<"u";function env(e){return hasEnvVariables?process.env[e]:void 0}function getNativePromise(){if(typeof Promise==="function")try{var e=new Promise(function(){});if({}.toString.call(e)==="[object Promise]")return Promise}catch(t){}}function domainBind(e,t){return e.bind(t)}var ret={isClass,isIdentifier,inheritedDataKeys,getDataPropertyOrDefault,thrower,isArray:es5.isArray,asArray,notEnumerableProp,isPrimitive,isObject,isError,canEvaluate,errorObj,tryCatch,inherits,withAppended,maybeWrapAsError,toFastProperties,filledRange,toString:safeToString,canAttachTrace,ensureErrorObject,originatesFromRejection,markAsOriginatingFromRejection,classString,copyDescriptors,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes==="function",isNode,hasEnvVariables,env,global:globalObject,getNativePromise,domainBind};ret.isRecentNode=ret.isNode&&function(){var e=process.versions.node.split(".").map(Number);return e[0]===0&&e[1]>10||e[0]>0}();if(ret.isNode)ret.toFastProperties(process);try{throw Error()}catch(e){ret.lastLineError=e}module.exports=ret});var gT=U(function(E2e,hT){var Iy=we(),Oi,W$=function(){throw Error(`No async scheduler available
|
|
20
|
+
`+o+"}",c}function SS(e,t,n){t=qa(t);var r=t.length;if(!r)return gt(n)?n.call(e):n;for(var i=0;i<r;i++){var o=e==null?void 0:e[t[i]];if(o===void 0)o=n,i=r;e=gt(o)?o.call(e):o}return e}var y7=0;function TS(e){var t=++y7+"";return e?e+t:t}function CS(e){var t=be(e);return t._chain=!0,t}function AS(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=lS(e.prototype),s=e.apply(o,i);if(Br(s))return s;return o}var Fi=St(function(e,t){var n=Fi.placeholder,r=function(){var i=0,o=t.length,s=Array(o);for(var a=0;a<o;a++)s[a]=t[a]===n?arguments[i++]:t[a];while(i<arguments.length)s.push(arguments[i++]);return AS(e,r,this,this,s)};return r});Fi.placeholder=be;var uy=St(function(e,t,n){if(!gt(e))throw TypeError("Bind must be called on a function");var r=St(function(i){return AS(e,r,t,this,n.concat(i))});return r}),Wt=YE(ht);function Wo(e,t,n){if(!t&&t!==0)t=1/0;var r=[],i=0,o=0,s=ht(e)||0,a=[];while(!0){if(o>=s){if(!a.length)break;var c=a.pop();o=c.i,e=c.v,s=ht(e);continue}var u=e[o++];if(a.length>=t)r[i++]=u;else if(Wt(u)&&(Wr(u)||wd(u)))a.push({i:o,v:e}),o=0,e=u,s=ht(e);else if(!n)r[i++]=u}return r}var kS=St(function(e,t){t=Wo(t,!1,!1);var n=t.length;if(n<1)throw Error("bindAll must be passed function names");while(n--){var r=t[n];e[r]=uy(e[r],e)}return e});function US(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);if(!jr(i,o))i[o]=e.apply(this,arguments);return i[o]};return n.cache={},n}var ly=St(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),RS=Fi(ly,be,1);function FS(e,t,n){var r,i,o,s,a=0;if(!n)n={};var c=function(){if(a=n.leading===!1?0:Lo(),r=null,s=e.apply(i,o),!r)i=o=null},u=function(){var d=Lo();if(!a&&n.leading===!1)a=d;var f=t-(d-a);if(i=this,o=arguments,f<=0||f>t){if(r)clearTimeout(r),r=null;if(a=d,s=e.apply(i,o),!r)i=o=null}else if(!r&&n.trailing!==!1)r=setTimeout(c,f);return s};return u.cancel=function(){clearTimeout(r),a=0,r=i=o=null},u}function PS(e,t,n){var r,i,o,s,a,c=function(){var d=Lo()-i;if(t>d)r=setTimeout(c,t-d);else{if(r=null,!n)s=e.apply(a,o);if(!r)o=a=null}},u=St(function(d){if(a=this,o=d,i=Lo(),!r){if(r=setTimeout(c,t),n)s=e.apply(a,o)}return s});return u.cancel=function(){clearTimeout(r),r=o=a=null},u}function OS(e,t){return Fi(t,e)}function Sd(e){return function(){return!e.apply(this,arguments)}}function IS(){var e=arguments,t=e.length-1;return function(){var n=t,r=e[t].apply(this,arguments);while(n--)r=e[n].call(this,r);return r}}function MS(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function dy(e,t){var n;return function(){if(--e>0)n=t.apply(this,arguments);if(e<=1)t=null;return n}}var NS=Fi(dy,2);function fy(e,t,n){t=Pt(t,n);var r=Ze(e),i;for(var o=0,s=r.length;o<s;o++)if(i=r[o],t(e[i],i,e))return i}function LS(e){return function(t,n,r){n=Pt(n,r);var i=ht(t),o=e>0?0:i-1;for(;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}}var Td=LS(1),py=LS(-1);function hy(e,t,n,r){n=Pt(n,r,1);var i=n(t),o=0,s=ht(e);while(o<s){var a=Math.floor((o+s)/2);if(n(e[a])<i)o=a+1;else s=a}return o}function BS(e,t,n){return function(r,i,o){var s=0,a=ht(r);if(typeof o=="number")if(e>0)s=o>=0?o:Math.max(o+a,s);else a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(ja.call(r,s,a),Xm),o>=0?o+s:-1;for(o=e>0?s:a-1;o>=0&&o<a;o+=e)if(r[o]===i)return o;return-1}}var gy=BS(1,Td,hy),WS=BS(-1,py);function md(e,t,n){var r=Wt(e)?Td:fy,i=r(e,t,n);if(i!==void 0&&i!==-1)return e[i]}function jS(e,t){return md(e,No(t))}function Dn(e,t,n){t=$a(t,n);var r,i;if(Wt(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=Ze(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e}function Lr(e,t,n){t=Pt(t,n);var r=!Wt(e)&&Ze(e),i=(r||e).length,o=Array(i);for(var s=0;s<i;s++){var a=r?r[s]:s;o[s]=t(e[a],a,e)}return o}function qS(e){var t=function(n,r,i,o){var s=!Wt(n)&&Ze(n),a=(s||n).length,c=e>0?0:a-1;if(!o)i=n[s?s[c]:c],c+=e;for(;c>=0&&c<a;c+=e){var u=s?s[c]:c;i=r(i,n[u],u,n)}return i};return function(n,r,i,o){var s=arguments.length>=3;return t(n,$a(r,o,4),i,s)}}var dd=qS(1),Mm=qS(-1);function Ui(e,t,n){var r=[];return t=Pt(t,n),Dn(e,function(i,o,s){if(t(i,o,s))r.push(i)}),r}function $S(e,t,n){return Ui(e,Sd(Pt(t)),n)}function Nm(e,t,n){t=Pt(t,n);var r=!Wt(e)&&Ze(e),i=(r||e).length;for(var o=0;o<i;o++){var s=r?r[o]:o;if(!t(e[s],s,e))return!1}return!0}function Lm(e,t,n){t=Pt(t,n);var r=!Wt(e)&&Ze(e),i=(r||e).length;for(var o=0;o<i;o++){var s=r?r[o]:o;if(t(e[s],s,e))return!0}return!1}function _n(e,t,n,r){if(!Wt(e))e=Ri(e);if(typeof n!="number"||r)n=0;return gy(e,t,n)>=0}var HS=St(function(e,t,n){var r,i;if(gt(t))i=t;else t=qa(t),r=t.slice(0,-1),t=t[t.length-1];return Lr(e,function(o){var s=i;if(!s){if(r&&r.length)o=sy(o,r);if(o==null)return;s=o[t]}return s==null?s:s.apply(o,n)})});function Cd(e,t){return Lr(e,Dd(t))}function GS(e,t){return Ui(e,No(t))}function my(e,t,n){var r=-1/0,i=-1/0,o,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Wt(e)?e:Ri(e);for(var a=0,c=e.length;a<c;a++)if(o=e[a],o!=null&&o>r)r=o}else t=Pt(t,n),Dn(e,function(u,d,f){if(s=t(u,d,f),s>i||s===-1/0&&r===-1/0)r=u,i=s});return r}function zS(e,t,n){var r=1/0,i=1/0,o,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Wt(e)?e:Ri(e);for(var a=0,c=e.length;a<c;a++)if(o=e[a],o!=null&&o<r)r=o}else t=Pt(t,n),Dn(e,function(u,d,f){if(s=t(u,d,f),s<i||s===1/0&&r===1/0)r=u,i=s});return r}var b7=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function yy(e){if(!e)return[];if(Wr(e))return ja.call(e);if(xd(e))return e.match(b7);if(Wt(e))return Lr(e,_d);return Ri(e)}function by(e,t,n){if(t==null||n){if(!Wt(e))e=Ri(e);return e[gd(e.length-1)]}var r=yy(e),i=ht(r);t=Math.max(Math.min(t,i),0);var o=i-1;for(var s=0;s<t;s++){var a=gd(s,o),c=r[s];r[s]=r[a],r[a]=c}return r.slice(0,t)}function VS(e){return by(e,1/0)}function XS(e,t,n){var r=0;return t=Pt(t,n),Cd(Lr(e,function(i,o,s){return{value:i,index:r++,criteria:t(i,o,s)}}).sort(function(i,o){var s=i.criteria,a=o.criteria;if(s!==a){if(s>a||s===void 0)return 1;if(s<a||a===void 0)return-1}return i.index-o.index}),"value")}function Ad(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=Pt(r,i),Dn(n,function(s,a){var c=r(s,a,n);e(o,s,c)}),o}}var KS=Ad(function(e,t,n){if(jr(e,n))e[n].push(t);else e[n]=[t]}),ZS=Ad(function(e,t,n){e[n]=t}),YS=Ad(function(e,t,n){if(jr(e,n))e[n]++;else e[n]=1}),JS=Ad(function(e,t,n){e[n?0:1].push(t)},!0);function QS(e){if(e==null)return 0;return Wt(e)?e.length:Ze(e).length}function v7(e,t,n){return t in n}var vy=St(function(e,t){var n={},r=t[0];if(e==null)return n;if(gt(r)){if(t.length>1)r=$a(r,t[1]);t=Bo(e)}else r=v7,t=Wo(t,!1,!1),e=Object(e);for(var i=0,o=t.length;i<o;i++){var s=t[i],a=e[s];if(r(a,s,e))n[s]=a}return n}),eT=St(function(e,t){var n=t[0],r;if(gt(n)){if(n=Sd(n),t.length>1)r=t[1]}else t=Lr(Wo(t,!1,!1),String),n=function(i,o){return!_n(t,o)};return vy(e,n,r)});function xy(e,t,n){return ja.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function fd(e,t,n){if(e==null||e.length<1)return t==null||n?void 0:[];if(t==null||n)return e[0];return xy(e,e.length-t)}function Na(e,t,n){return ja.call(e,t==null||n?1:t)}function tT(e,t,n){if(e==null||e.length<1)return t==null||n?void 0:[];if(t==null||n)return e[e.length-1];return Na(e,Math.max(0,e.length-t))}function nT(e){return Ui(e,Boolean)}function rT(e,t){return Wo(e,t,!1)}var wy=St(function(e,t){return t=Wo(t,!0,!0),Ui(e,function(n){return!_n(t,n)})}),iT=St(function(e,t){return wy(e,t)});function yd(e,t,n,r){if(!$m(t))r=n,n=t,t=!1;if(n!=null)n=Pt(n,r);var i=[],o=[];for(var s=0,a=ht(e);s<a;s++){var c=e[s],u=n?n(c,s,e):c;if(t&&!n){if(!s||o!==u)i.push(c);o=u}else if(n){if(!_n(o,u))o.push(u),i.push(c)}else if(!_n(i,c))i.push(c)}return i}var oT=St(function(e){return yd(Wo(e,!0,!0))});function sT(e){var t=[],n=arguments.length;for(var r=0,i=ht(e);r<i;r++){var o=e[r];if(_n(t,o))continue;var s;for(s=1;s<n;s++)if(!_n(arguments[s],o))break;if(s===n)t.push(o)}return t}function bd(e){var t=e&&my(e,ht).length||0,n=Array(t);for(var r=0;r<t;r++)n[r]=Cd(e,r);return n}var aT=St(bd);function cT(e,t){var n={};for(var r=0,i=ht(e);r<i;r++)if(t)n[e[r]]=t[r];else n[e[r][0]]=e[r][1];return n}function uT(e,t,n){if(t==null)t=e||0,e=0;if(!n)n=t<e?-1:1;var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r);for(var o=0;o<r;o++,e+=n)i[o]=e;return i}function lT(e,t){if(t==null||t<1)return[];var n=[],r=0,i=e.length;while(r<i)n.push(ja.call(e,r,r+=t));return n}function _y(e,t){return e._chain?be(t).chain():t}function Dy(e){return Dn(hd(e),function(t){var n=be[t]=e[t];be.prototype[t]=function(){var r=[this._wrapped];return Kj.apply(r,arguments),_y(this,n.apply(be,r))}}),be}Dn(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=vd[e];be.prototype[e]=function(){var n=this._wrapped;if(n!=null){if(t.apply(n,arguments),(e==="shift"||e==="splice")&&n.length===0)delete n[0]}return _y(this,n)}});Dn(["concat","join","slice"],function(e){var t=vd[e];be.prototype[e]=function(){var n=this._wrapped;if(n!=null)n=t.apply(n,arguments);return _y(this,n)}});var x7={__proto__:null,VERSION:Wm,restArguments:St,isObject:Br,isNull:qE,isUndefined:qm,isBoolean:$m,isElement:$E,isString:xd,isNumber:Hm,isDate:HE,isRegExp:GE,isError:zE,isSymbol:Gm,isArrayBuffer:zm,isDataView:Ba,isArray:Wr,isFunction:gt,isArguments:wd,isFinite:ZE,isNaN:Xm,isTypedArray:Zm,isEmpty:eS,isMatch:Ym,isEqual:tS,isMap:oS,isWeakMap:sS,isSet:aS,isWeakSet:cS,keys:Ze,allKeys:Bo,values:Ri,pairs:uS,invert:ty,functions:hd,methods:hd,extend:ry,extendOwn:Wa,assign:Wa,defaults:iy,create:dS,clone:fS,tap:pS,get:ay,has:hS,mapObject:mS,identity:_d,constant:Km,noop:cy,toPath:oy,property:Dd,propertyOf:yS,matcher:No,matches:No,times:bS,random:gd,now:Lo,escape:wS,unescape:_S,templateSettings:DS,template:ES,result:SS,uniqueId:TS,chain:CS,iteratee:Ed,partial:Fi,bind:uy,bindAll:kS,memoize:US,delay:ly,defer:RS,throttle:FS,debounce:PS,wrap:OS,negate:Sd,compose:IS,after:MS,before:dy,once:NS,findKey:fy,findIndex:Td,findLastIndex:py,sortedIndex:hy,indexOf:gy,lastIndexOf:WS,find:md,detect:md,findWhere:jS,each:Dn,forEach:Dn,map:Lr,collect:Lr,reduce:dd,foldl:dd,inject:dd,reduceRight:Mm,foldr:Mm,filter:Ui,select:Ui,reject:$S,every:Nm,all:Nm,some:Lm,any:Lm,contains:_n,includes:_n,include:_n,invoke:HS,pluck:Cd,where:GS,max:my,min:zS,shuffle:VS,sample:by,sortBy:XS,groupBy:KS,indexBy:ZS,countBy:YS,partition:JS,toArray:yy,size:QS,pick:vy,omit:eT,first:fd,head:fd,take:fd,initial:xy,last:tT,rest:Na,tail:Na,drop:Na,compact:nT,flatten:rT,without:iT,uniq:yd,unique:yd,union:oT,intersection:sT,difference:wy,unzip:bd,transpose:bd,zip:aT,object:cT,range:uT,chunk:lT,mixin:Dy,default:be},Bm=Dy(x7);Bm._=Bm;dT.VERSION=Wm;dT._=Bm;dT._escape=wS;dT._unescape=_S;dT.after=MS;dT.allKeys=Bo;dT.before=dy;dT.bind=uy;dT.bindAll=kS;dT.chain=CS;dT.chunk=lT;dT.clone=fS;dT.compact=nT;dT.compose=IS;dT.constant=Km;dT.contains=_n;dT.countBy=YS;dT.create=dS;dT.debounce=PS;dT.defaults=iy;dT.defer=RS;dT.delay=ly;dT.difference=wy;dT.each=Dn;dT.every=Nm;dT.extend=ry;dT.extendOwn=Wa;dT.filter=Ui;dT.find=md;dT.findIndex=Td;dT.findKey=fy;dT.findLastIndex=py;dT.findWhere=jS;dT.first=fd;dT.flatten=rT;dT.functions=hd;dT.get=ay;dT.groupBy=KS;dT.has=hS;dT.identity=_d;dT.indexBy=ZS;dT.indexOf=gy;dT.initial=xy;dT.intersection=sT;dT.invert=ty;dT.invoke=HS;dT.isArguments=wd;dT.isArray=Wr;dT.isArrayBuffer=zm;dT.isBoolean=$m;dT.isDataView=Ba;dT.isDate=HE;dT.isElement=$E;dT.isEmpty=eS;dT.isEqual=tS;dT.isError=zE;dT.isFinite=ZE;dT.isFunction=gt;dT.isMap=oS;dT.isMatch=Ym;dT.isNaN=Xm;dT.isNull=qE;dT.isNumber=Hm;dT.isObject=Br;dT.isRegExp=GE;dT.isSet=aS;dT.isString=xd;dT.isSymbol=Gm;dT.isTypedArray=Zm;dT.isUndefined=qm;dT.isWeakMap=sS;dT.isWeakSet=cS;dT.iteratee=Ed;dT.keys=Ze;dT.last=tT;dT.lastIndexOf=WS;dT.map=Lr;dT.mapObject=mS;dT.matcher=No;dT.max=my;dT.memoize=US;dT.min=zS;dT.mixin=Dy;dT.negate=Sd;dT.noop=cy;dT.now=Lo;dT.object=cT;dT.omit=eT;dT.once=NS;dT.pairs=uS;dT.partial=Fi;dT.partition=JS;dT.pick=vy;dT.pluck=Cd;dT.property=Dd;dT.propertyOf=yS;dT.random=gd;dT.range=uT;dT.reduce=dd;dT.reduceRight=Mm;dT.reject=$S;dT.rest=Na;dT.restArguments=St;dT.result=SS;dT.sample=by;dT.shuffle=VS;dT.size=QS;dT.some=Lm;dT.sortBy=XS;dT.sortedIndex=hy;dT.tap=pS;dT.template=ES;dT.templateSettings=DS;dT.throttle=FS;dT.times=bS;dT.toArray=yy;dT.toPath=oy;dT.union=oT;dT.uniq=yd;dT.uniqueId=TS;dT.unzip=bd;dT.values=Ri;dT.where=GS;dT.without=iT;dT.wrap=OS;dT.zip=aT});var We=U(function(E2e,pT){var B$=fT();pT.exports=B$._});var Pi=U(function(S2e,Py){var Ey=function(){return this===void 0}();if(Ey)Py.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:Ey,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!!(!n||n.writable||n.set)}};else Sy={}.hasOwnProperty,Ty={}.toString,Cy={}.constructor.prototype,kd=function(e){var t=[];for(var n in e)if(Sy.call(e,n))t.push(n);return t},Ay=function(e,t){return{value:e[t]}},ky=function(e,t,n){return e[t]=n.value,e},Uy=function(e){return e},Ry=function(e){try{return Object(e).constructor.prototype}catch(t){return Cy}},Fy=function(e){try{return Ty.call(e)==="[object Array]"}catch(t){return!1}},Py.exports={isArray:Fy,keys:kd,names:kd,defineProperty:ky,getDescriptor:Ay,freeze:Uy,getPrototypeOf:Ry,isES5:Ey,propertyIsWritable:function(){return!0}};var Sy,Ty,Cy,kd,Ay,ky,Uy,Ry,Fy});var we=U(function(exports,module){var es5=Pi(),canEvaluate=typeof navigator>"u",errorObj={e:{}},tryCatchTarget,globalObject=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:exports!==void 0?exports:null;function tryCatcher(){try{var e=tryCatchTarget;return tryCatchTarget=null,e.apply(this,arguments)}catch(t){return errorObj.e=t,errorObj}}function tryCatch(e){return tryCatchTarget=e,tryCatcher}var inherits=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e,this.constructor$=t;for(var i in t.prototype)if(n.call(t.prototype,i)&&i.charAt(i.length-1)!=="$")this[i+"$"]=t.prototype[i]}return r.prototype=t.prototype,e.prototype=new r,e.prototype};function isPrimitive(e){return e==null||e===!0||e===!1||typeof e==="string"||typeof e==="number"}function isObject(e){return typeof e==="function"||typeof e==="object"&&e!==null}function maybeWrapAsError(e){if(!isPrimitive(e))return e;return Error(safeToString(e))}function withAppended(e,t){var n=e.length,r=Array(n+1),i;for(i=0;i<n;++i)r[i]=e[i];return r[i]=t,r}function getDataPropertyOrDefault(e,t,n){if(es5.isES5){var r=Object.getOwnPropertyDescriptor(e,t);if(r!=null)return r.get==null&&r.set==null?r.value:n}else return{}.hasOwnProperty.call(e,t)?e[t]:void 0}function notEnumerableProp(e,t,n){if(isPrimitive(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return es5.defineProperty(e,t,r),e}function thrower(e){throw e}var inheritedDataKeys=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(i){for(var o=0;o<e.length;++o)if(e[o]===i)return!0;return!1};if(es5.isES5){var n=Object.getOwnPropertyNames;return function(i){var o=[],s=Object.create(null);while(i!=null&&!t(i)){var a;try{a=n(i)}catch(f){return o}for(var c=0;c<a.length;++c){var u=a[c];if(s[u])continue;s[u]=!0;var d=Object.getOwnPropertyDescriptor(i,u);if(d!=null&&d.get==null&&d.set==null)o.push(u)}i=es5.getPrototypeOf(i)}return o}}else{var r={}.hasOwnProperty;return function(i){if(t(i))return[];var o=[];e:for(var s in i)if(r.call(i,s))o.push(s);else{for(var a=0;a<e.length;++a)if(r.call(e[a],s))continue e;o.push(s)}return o}}}(),thisAssignmentPattern=/this\s*\.\s*\S+\s*=/;function isClass(e){try{if(typeof e==="function"){var t=es5.names(e.prototype),n=es5.isES5&&t.length>1,r=t.length>0&&!(t.length===1&&t[0]==="constructor"),i=thisAssignmentPattern.test(e+"")&&es5.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function toFastProperties(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var rident=/^[a-z$_][a-z$_0-9]*$/i;function isIdentifier(e){return rident.test(e)}function filledRange(e,t,n){var r=Array(e);for(var i=0;i<e;++i)r[i]=t+i+n;return r}function safeToString(e){try{return e+""}catch(t){return"[no string representation]"}}function isError(e){return e!==null&&typeof e==="object"&&typeof e.message==="string"&&typeof e.name==="string"}function markAsOriginatingFromRejection(e){try{notEnumerableProp(e,"isOperational",!0)}catch(t){}}function originatesFromRejection(e){if(e==null)return!1;return e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function canAttachTrace(e){return isError(e)&&es5.propertyIsWritable(e,"stack")}var ensureErrorObject=function(){if(!("stack"in Error()))return function(e){if(canAttachTrace(e))return e;try{throw Error(safeToString(e))}catch(t){return t}};else return function(e){if(canAttachTrace(e))return e;return Error(safeToString(e))}}();function classString(e){return{}.toString.call(e)}function copyDescriptors(e,t,n){var r=es5.names(e);for(var i=0;i<r.length;++i){var o=r[i];if(n(o))try{es5.defineProperty(t,o,es5.getDescriptor(e,o))}catch(s){}}}var asArray=function(e){if(es5.isArray(e))return e;return null};if(typeof Symbol<"u"&&Symbol.iterator)ArrayFrom=typeof Array.from==="function"?function(e){return Array.from(e)}:function(e){var t=[],n=e[Symbol.iterator](),r;while(!(r=n.next()).done)t.push(r.value);return t},asArray=function(e){if(es5.isArray(e))return e;else if(e!=null&&typeof e[Symbol.iterator]==="function")return ArrayFrom(e);return null};var ArrayFrom,isNode=typeof process<"u"&&classString(process).toLowerCase()==="[object process]",hasEnvVariables=typeof process<"u"&&typeof process.env<"u";function env(e){return hasEnvVariables?process.env[e]:void 0}function getNativePromise(){if(typeof Promise==="function")try{var e=new Promise(function(){});if({}.toString.call(e)==="[object Promise]")return Promise}catch(t){}}function domainBind(e,t){return e.bind(t)}var ret={isClass,isIdentifier,inheritedDataKeys,getDataPropertyOrDefault,thrower,isArray:es5.isArray,asArray,notEnumerableProp,isPrimitive,isObject,isError,canEvaluate,errorObj,tryCatch,inherits,withAppended,maybeWrapAsError,toFastProperties,filledRange,toString:safeToString,canAttachTrace,ensureErrorObject,originatesFromRejection,markAsOriginatingFromRejection,classString,copyDescriptors,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes==="function",isNode,hasEnvVariables,env,global:globalObject,getNativePromise,domainBind};ret.isRecentNode=ret.isNode&&function(){var e=process.versions.node.split(".").map(Number);return e[0]===0&&e[1]>10||e[0]>0}();if(ret.isNode)ret.toFastProperties(process);try{throw Error()}catch(e){ret.lastLineError=e}module.exports=ret});var gT=U(function(T2e,hT){var Iy=we(),Oi,W$=function(){throw Error(`No async scheduler available
|
|
21
21
|
|
|
22
22
|
See http://goo.gl/MqrFmX
|
|
23
|
-
`)},Oy=Iy.getNativePromise();if(Iy.isNode&&typeof MutationObserver>"u")My=global.setImmediate,Ny=process.nextTick,Oi=Iy.isRecentNode?function(e){My.call(global,e)}:function(e){Ny.call(process,e)};else if(typeof Oy==="function"&&typeof Oy.resolve==="function")Ly=Oy.resolve(),Oi=function(e){Ly.then(e)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))Oi=function(){var e=document.createElement("div"),t={attributes:!0},n=!1,r=document.createElement("div"),i=new MutationObserver(function(){e.classList.toggle("foo"),n=!1});i.observe(r,t);var o=function(){if(n)return;n=!0,r.classList.toggle("foo")};return function(a){var c=new MutationObserver(function(){c.disconnect(),a()});c.observe(e,t),o()}}();else if(typeof setImmediate<"u")Oi=function(e){setImmediate(e)};else if(typeof setTimeout<"u")Oi=function(e){setTimeout(e,0)};else Oi=W$;var My,Ny,Ly;hT.exports=Oi});var yT=U(function(
|
|
23
|
+
`)},Oy=Iy.getNativePromise();if(Iy.isNode&&typeof MutationObserver>"u")My=global.setImmediate,Ny=process.nextTick,Oi=Iy.isRecentNode?function(e){My.call(global,e)}:function(e){Ny.call(process,e)};else if(typeof Oy==="function"&&typeof Oy.resolve==="function")Ly=Oy.resolve(),Oi=function(e){Ly.then(e)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))Oi=function(){var e=document.createElement("div"),t={attributes:!0},n=!1,r=document.createElement("div"),i=new MutationObserver(function(){e.classList.toggle("foo"),n=!1});i.observe(r,t);var o=function(){if(n)return;n=!0,r.classList.toggle("foo")};return function(a){var c=new MutationObserver(function(){c.disconnect(),a()});c.observe(e,t),o()}}();else if(typeof setImmediate<"u")Oi=function(e){setImmediate(e)};else if(typeof setTimeout<"u")Oi=function(e){setTimeout(e,0)};else Oi=W$;var My,Ny,Ly;hT.exports=Oi});var yT=U(function(C2e,mT){function j$(e,t,n,r,i){for(var o=0;o<i;++o)n[o+r]=e[o+t],e[o+t]=void 0}function qr(e){this._capacity=e,this._length=0,this._front=0}qr.prototype._willBeOverCapacity=function(e){return this._capacity<e};qr.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1);var n=this._front+t&this._capacity-1;this[n]=e,this._length=t+1};qr.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r)){this._pushOne(e),this._pushOne(t),this._pushOne(n);return}var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=e,this[i+1&o]=t,this[i+2&o]=n,this._length=r};qr.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t};qr.prototype.length=function(){return this._length};qr.prototype._checkCapacity=function(e){if(this._capacity<e)this._resizeTo(this._capacity<<1)};qr.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e;var n=this._front,r=this._length,i=n+r&t-1;j$(this,0,this,t,i)};mT.exports=qr});var ET=U(function(A2e,By){var _T;try{throw Error()}catch(e){_T=e}var q$=gT(),bT=yT(),DT=we();function tt(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new bT(16),this._normalQueue=new bT(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=q$}tt.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t};tt.prototype.hasCustomScheduler=function(){return this._customScheduler};tt.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};tt.prototype.disableTrampolineIfNecessary=function(){if(DT.hasDevTools)this._trampolineEnabled=!1};tt.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};tt.prototype.fatalError=function(e,t){if(t)process.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+`
|
|
24
24
|
`),process.exit(2);else this.throwLater(e)};tt.prototype.throwLater=function(e,t){if(arguments.length===1)t=e,e=function(){throw t};if(typeof setTimeout<"u")setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw Error(`No async scheduler available
|
|
25
25
|
|
|
26
26
|
See http://goo.gl/MqrFmX
|
|
27
|
-
`)}};function vT(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function xT(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function wT(e){this._normalQueue._pushOne(e),this._queueTick()}if(!DT.hasDevTools)tt.prototype.invokeLater=vT,tt.prototype.invoke=xT,tt.prototype.settlePromises=wT;else tt.prototype.invokeLater=function(e,t,n){if(this._trampolineEnabled)vT.call(this,e,t,n);else this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},tt.prototype.invoke=function(e,t,n){if(this._trampolineEnabled)xT.call(this,e,t,n);else this._schedule(function(){e.call(t,n)})},tt.prototype.settlePromises=function(e){if(this._trampolineEnabled)wT.call(this,e);else this._schedule(function(){e._settlePromises()})};tt.prototype._drainQueue=function(e){while(e.length()>0){var t=e.shift();if(typeof t!=="function"){t._settlePromises();continue}var n=e.shift(),r=e.shift();t.call(n,r)}};tt.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};tt.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};tt.prototype._reset=function(){this._isTickUsed=!1};By.exports=tt;By.exports.firstLineError=_T});var Yn=U(function(
|
|
27
|
+
`)}};function vT(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function xT(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function wT(e){this._normalQueue._pushOne(e),this._queueTick()}if(!DT.hasDevTools)tt.prototype.invokeLater=vT,tt.prototype.invoke=xT,tt.prototype.settlePromises=wT;else tt.prototype.invokeLater=function(e,t,n){if(this._trampolineEnabled)vT.call(this,e,t,n);else this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},tt.prototype.invoke=function(e,t,n){if(this._trampolineEnabled)xT.call(this,e,t,n);else this._schedule(function(){e.call(t,n)})},tt.prototype.settlePromises=function(e){if(this._trampolineEnabled)wT.call(this,e);else this._schedule(function(){e._settlePromises()})};tt.prototype._drainQueue=function(e){while(e.length()>0){var t=e.shift();if(typeof t!=="function"){t._settlePromises();continue}var n=e.shift(),r=e.shift();t.call(n,r)}};tt.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};tt.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};tt.prototype._reset=function(){this._isTickUsed=!1};By.exports=tt;By.exports.firstLineError=_T});var Yn=U(function(k2e,CT){var qy=Pi(),$$=qy.freeze,ST=we(),{inherits:TT,notEnumerableProp:jo}=ST;function qo(e,t){function n(r){if(!(this instanceof n))return new n(r);if(jo(this,"message",typeof r==="string"?r:t),jo(this,"name",e),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else Error.call(this)}return TT(n,Error),n}var Wy,jy,H$=qo("Warning","warning"),G$=qo("CancellationError","cancellation error"),z$=qo("TimeoutError","timeout error"),Ga=qo("AggregateError","aggregate error");try{Wy=TypeError,jy=RangeError}catch(e){Wy=qo("TypeError","type error"),jy=qo("RangeError","range error")}var Ud="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(Ii=0;Ii<Ud.length;++Ii)if(typeof Array.prototype[Ud[Ii]]==="function")Ga.prototype[Ud[Ii]]=Array.prototype[Ud[Ii]];var Ii;qy.defineProperty(Ga.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0});Ga.prototype.isOperational=!0;var Rd=0;Ga.prototype.toString=function(){var e=Array(Rd*4+1).join(" "),t=`
|
|
28
28
|
`+e+`AggregateError of:
|
|
29
29
|
`;Rd++,e=Array(Rd*4+1).join(" ");for(var n=0;n<this.length;++n){var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split(`
|
|
30
30
|
`);for(var o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(`
|
|
31
31
|
`),t+=r+`
|
|
32
|
-
`}return Rd--,t};function Ha(e){if(!(this instanceof Ha))return new Ha(e);if(jo(this,"name","OperationalError"),jo(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error)jo(this,"message",e.message),jo(this,"stack",e.stack);else if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}TT(Ha,Error);var Mi=Error.__BluebirdErrorTypes__;if(!Mi)Mi=$$({CancellationError:G$,TimeoutError:z$,OperationalError:Ha,RejectionError:Ha,AggregateError:Ga}),qy.defineProperty(Error,"__BluebirdErrorTypes__",{value:Mi,writable:!1,enumerable:!1,configurable:!1});CT.exports={Error,TypeError:Wy,RangeError:jy,CancellationError:Mi.CancellationError,OperationalError:Mi.OperationalError,TimeoutError:Mi.TimeoutError,AggregateError:Mi.AggregateError,Warning:H$}});var kT=U(function(
|
|
32
|
+
`}return Rd--,t};function Ha(e){if(!(this instanceof Ha))return new Ha(e);if(jo(this,"name","OperationalError"),jo(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error)jo(this,"message",e.message),jo(this,"stack",e.stack);else if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}TT(Ha,Error);var Mi=Error.__BluebirdErrorTypes__;if(!Mi)Mi=$$({CancellationError:G$,TimeoutError:z$,OperationalError:Ha,RejectionError:Ha,AggregateError:Ga}),qy.defineProperty(Error,"__BluebirdErrorTypes__",{value:Mi,writable:!1,enumerable:!1,configurable:!1});CT.exports={Error,TypeError:Wy,RangeError:jy,CancellationError:Mi.CancellationError,OperationalError:Mi.OperationalError,TimeoutError:Mi.TimeoutError,AggregateError:Mi.AggregateError,Warning:H$}});var kT=U(function(U2e,AT){AT.exports=function(e,t){var n=we(),{errorObj:r,isObject:i}=n;function o(f,p){if(i(f)){if(f instanceof e)return f;var h=a(f);if(h===r){if(p)p._pushContext();var g=e.reject(h.e);if(p)p._popContext();return g}else if(typeof h==="function"){if(u(f)){var g=new e(t);return f._then(g._fulfill,g._reject,void 0,g,null),g}return d(f,h,p)}}return f}function s(f){return f.then}function a(f){try{return s(f)}catch(p){return r.e=p,r}}var c={}.hasOwnProperty;function u(f){try{return c.call(f,"_promise0")}catch(p){return!1}}function d(f,p,h){var g=new e(t),b=g;if(h)h._pushContext();if(g._captureStackTrace(),h)h._popContext();var v=!0,y=n.tryCatch(p).call(f,x,m);if(v=!1,g&&y===r)g._rejectCallback(y.e,!0,!0),g=null;function x(w){if(!g)return;g._resolveCallback(w),g=null}function m(w){if(!g)return;g._rejectCallback(w,v,!0),g=null}return b}return o}});var RT=U(function(R2e,UT){UT.exports=function(e,t,n,r,i){var o=we(),s=o.isArray;function a(u){switch(u){case-2:return[];case-3:return{}}}function c(u){var d=this._promise=new e(t);if(u instanceof e)d._propagateFrom(u,3);d._setOnCancel(this),this._values=u,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return o.inherits(c,i),c.prototype.length=function(){return this._length},c.prototype.promise=function(){return this._promise},c.prototype._init=function u(d,f){var p=n(this._values,this._promise);if(p instanceof e){p=p._target();var h=p._bitField;if(this._values=p,(h&50397184)===0)return this._promise._setAsyncGuaranteed(),p._then(u,this._reject,void 0,this,f);else if((h&33554432)!==0)p=p._value();else if((h&16777216)!==0)return this._reject(p._reason());else return this._cancel()}if(p=o.asArray(p),p===null){var g=r("expecting an array or an iterable object but got "+o.classString(p)).reason();this._promise._rejectCallback(g,!1);return}if(p.length===0){if(f===-5)this._resolveEmptyArray();else this._resolve(a(f));return}this._iterate(p)},c.prototype._iterate=function(u){var d=this.getActualLength(u.length);this._length=d,this._values=this.shouldCopyValues()?Array(d):this._values;var f=this._promise,p=!1,h=null;for(var g=0;g<d;++g){var b=n(u[g],f);if(b instanceof e)b=b._target(),h=b._bitField;else h=null;if(p){if(h!==null)b.suppressUnhandledRejections()}else if(h!==null)if((h&50397184)===0)b._proxy(this,g),this._values[g]=b;else if((h&33554432)!==0)p=this._promiseFulfilled(b._value(),g);else if((h&16777216)!==0)p=this._promiseRejected(b._reason(),g);else p=this._promiseCancelled(g);else p=this._promiseFulfilled(b,g)}if(!p)f._setAsyncGuaranteed()},c.prototype._isResolved=function(){return this._values===null},c.prototype._resolve=function(u){this._values=null,this._promise._fulfill(u)},c.prototype._cancel=function(){if(this._isResolved()||!this._promise._isCancellable())return;this._values=null,this._promise._cancel()},c.prototype._reject=function(u){this._values=null,this._promise._rejectCallback(u,!1)},c.prototype._promiseFulfilled=function(u,d){this._values[d]=u;var f=++this._totalResolved;if(f>=this._length)return this._resolve(this._values),!0;return!1},c.prototype._promiseCancelled=function(){return this._cancel(),!0},c.prototype._promiseRejected=function(u){return this._totalResolved++,this._reject(u),!0},c.prototype._resultCancelled=function(){if(this._isResolved())return;var u=this._values;if(this._cancel(),u instanceof e)u.cancel();else for(var d=0;d<u.length;++d)if(u[d]instanceof e)u[d].cancel()},c.prototype.shouldCopyValues=function(){return!0},c.prototype.getActualLength=function(u){return u},c}});var PT=U(function(F2e,FT){FT.exports=function(e){var t=!1,n=[];e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){};function r(){this._trace=new r.CapturedTrace(o())}r.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,n.push(this._trace)},r.prototype._popContext=function(){if(this._trace!==void 0){var s=n.pop(),a=s._promiseCreated;return s._promiseCreated=null,a}return null};function i(){if(t)return new r}function o(){var s=n.length-1;if(s>=0)return n[s];return}return r.CapturedTrace=null,r.create=i,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var s=e.prototype._pushContext,a=e.prototype._popContext,c=e._peekContext,u=e.prototype._peekContext,d=e.prototype._promiseCreated;r.deactivateLongStackTraces=function(){e.prototype._pushContext=s,e.prototype._popContext=a,e._peekContext=c,e.prototype._peekContext=u,e.prototype._promiseCreated=d,t=!1},t=!0,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,e._peekContext=e.prototype._peekContext=o,e.prototype._promiseCreated=function(){var f=this._peekContext();if(f&&f._promiseCreated==null)f._promiseCreated=this}},r}});var IT=U(function(P2e,OT){OT.exports=function(e,t){var{_getDomain:n,_async:r}=e,i=Yn().Warning,o=we(),s=o.canAttachTrace,a,c,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,d=/\((?:timers\.js):\d+:\d+\)/,f=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,p=null,h=null,g=!1,b,v=!!(o.env("BLUEBIRD_DEBUG")!=0&&(o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development")),y=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(v||o.env("BLUEBIRD_WARNINGS"))),x=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(v||o.env("BLUEBIRD_LONG_STACK_TRACES"))),m=o.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(y||!!o.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var O=this._target();O._bitField=O._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0)},e.prototype._notifyUnhandledRejectionIsHandled=function(){I("rejectionHandled",a,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},e.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var O=this._settledValue();this._setUnhandledRejectionIsNotified(),I("unhandledRejection",c,O,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},e.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},e.prototype._unsetRejectionIsUnhandled=function(){if(this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified())this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled()},e.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},e.prototype._warn=function(O,N,z){return fe(O,N,z||this)},e.onPossiblyUnhandledRejection=function(O){var N=n();c=typeof O==="function"?N===null?O:o.domainBind(N,O):void 0},e.onUnhandledRejectionHandled=function(O){var N=n();a=typeof O==="function"?N===null?O:o.domainBind(N,O):void 0};var w=function(){};e.longStackTraces=function(){if(r.haveItemsQueued()&&!He.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created
|
|
33
33
|
|
|
34
34
|
See http://goo.gl/MqrFmX
|
|
35
35
|
`);if(!He.longStackTraces&&ee()){var O=e.prototype._captureStackTrace,N=e.prototype._attachExtraTrace;He.longStackTraces=!0,w=function(){if(r.haveItemsQueued()&&!He.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created
|
|
@@ -51,13 +51,13 @@ __p+='`;return u}),o+=`';
|
|
|
51
51
|
`),te=-1,Le=-1,_e,ie;for(var Ue=0;Ue<z.length;++Ue){var Ge=Te(z[Ue]);if(Ge){_e=Ge.fileName,te=Ge.line;break}}for(var Ue=0;Ue<V.length;++Ue){var Ge=Te(V[Ue]);if(Ge){ie=Ge.fileName,Le=Ge.line;break}}if(te<0||Le<0||!_e||!ie||_e!==ie||te>=Le)return;se=function(Wn){if(u.test(Wn))return!0;var jn=Te(Wn);if(jn){if(jn.fileName===_e&&(te<=jn.line&&jn.line<=Le))return!0}return!1}}function ot(O){this._parent=O,this._promisesCreated=0;var N=this._length=1+(O===void 0?0:O._length);if(di(this,ot),N>32)this.uncycle()}o.inherits(ot,Error),t.CapturedTrace=ot,ot.prototype.uncycle=function(){var O=this._length;if(O<2)return;var N=[],z={};for(var V=0,te=this;te!==void 0;++V)N.push(te),te=te._parent;O=this._length=V;for(var V=O-1;V>=0;--V){var Le=N[V].stack;if(z[Le]===void 0)z[Le]=V}for(var V=0;V<O;++V){var _e=N[V].stack,ie=z[_e];if(ie!==void 0&&ie!==V){if(ie>0)N[ie-1]._parent=void 0,N[ie-1]._length=1;N[V]._parent=void 0,N[V]._length=1;var Ue=V>0?N[V-1]:this;if(ie<O-1)Ue._parent=N[ie+1],Ue._parent.uncycle(),Ue._length=Ue._parent._length+1;else Ue._parent=void 0,Ue._length=1;var Ge=Ue._length+1;for(var Wn=V-2;Wn>=0;--Wn)N[Wn]._length=Ge,Ge++;return}}},ot.prototype.attachExtraTrace=function(O){if(O.__stackCleaned__)return;this.uncycle();var N=oo(O),z=N.message,V=[N.stack],te=this;while(te!==void 0)V.push(hn(te.stack.split(`
|
|
52
52
|
`))),te=te._parent;dt(V),ve(V),o.notEnumerableProp(O,"stack",ke(z,V)),o.notEnumerableProp(O,"__stackCleaned__",!0)};var di=function(){var N=/^\s*at\s*/,z=function(_e,ie){if(typeof _e==="string")return _e;if(ie.name!==void 0&&ie.message!==void 0)return ie.toString();return G(ie)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,p=N,h=z;var V=Error.captureStackTrace;return se=function(_e){return u.test(_e)},function(_e,ie){Error.stackTraceLimit+=6,V(_e,ie),Error.stackTraceLimit-=6}}var te=Error();if(typeof te.stack==="string"&&te.stack.split(`
|
|
53
53
|
`)[0].indexOf("stackDetection@")>=0)return p=/@/,h=z,g=!0,function(ie){ie.stack=Error().stack};var Le;try{throw Error()}catch(_e){Le="stack"in _e}if(!("stack"in te)&&Le&&typeof Error.stackTraceLimit==="number")return p=N,h=z,function(ie){Error.stackTraceLimit+=6;try{throw Error()}catch(Ue){ie.stack=Ue.stack}Error.stackTraceLimit-=6};return h=function(_e,ie){if(typeof _e==="string")return _e;if((typeof ie==="object"||typeof ie==="function")&&ie.name!==void 0&&ie.message!==void 0)return ie.toString();return G(ie)},null}([]);if(typeof console<"u"&&typeof console.warn<"u"){if(b=function(O){console.warn(O)},o.isNode&&process.stderr.isTTY)b=function(O,N){var z=N?"\x1B[33m":"\x1B[31m";console.warn(z+O+`\x1B[0m
|
|
54
|
-
`)};else if(!o.isNode&&typeof Error().stack==="string")b=function(O,N){console.warn("%c"+O,N?"color: darkorange":"color: red")}}var He={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};if(x)e.longStackTraces();return{longStackTraces:function(){return He.longStackTraces},warnings:function(){return He.warnings},cancellation:function(){return He.cancellation},monitoring:function(){return He.monitoring},propagateFromFunction:function(){return k},boundValueFunction:function(){return F},checkForgottenReturns:K,setBounds:wt,warn:fe,deprecated:Q,CapturedTrace:ot,fireDomEvent:D,fireGlobalEvent:T}}});var NT=U(function(
|
|
54
|
+
`)};else if(!o.isNode&&typeof Error().stack==="string")b=function(O,N){console.warn("%c"+O,N?"color: darkorange":"color: red")}}var He={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};if(x)e.longStackTraces();return{longStackTraces:function(){return He.longStackTraces},warnings:function(){return He.warnings},cancellation:function(){return He.cancellation},monitoring:function(){return He.monitoring},propagateFromFunction:function(){return k},boundValueFunction:function(){return F},checkForgottenReturns:K,setBounds:wt,warn:fe,deprecated:Q,CapturedTrace:ot,fireDomEvent:D,fireGlobalEvent:T}}});var NT=U(function(O2e,MT){MT.exports=function(e,t){var n=we(),r=e.CancellationError,i=n.errorObj;function o(f,p,h){this.promise=f,this.type=p,this.handler=h,this.called=!1,this.cancelPromise=null}o.prototype.isFinallyHandler=function(){return this.type===0};function s(f){this.finallyHandler=f}s.prototype._resultCancelled=function(){a(this.finallyHandler)};function a(f,p){if(f.cancelPromise!=null){if(arguments.length>1)f.cancelPromise._reject(p);else f.cancelPromise._cancel();return f.cancelPromise=null,!0}return!1}function c(){return d.call(this,this.promise._target()._settledValue())}function u(f){if(a(this,f))return;return i.e=f,i}function d(f){var p=this.promise,h=this.handler;if(!this.called){this.called=!0;var g=this.isFinallyHandler()?h.call(p._boundValue()):h.call(p._boundValue(),f);if(g!==void 0){p._setReturnedNonUndefined();var b=t(g,p);if(b instanceof e){if(this.cancelPromise!=null){if(b._isCancelled()){var v=new r("late cancellation observer");return p._attachExtraTrace(v),i.e=v,i}else if(b.isPending())b._attachCancellationCallback(new s(this))}return b._then(c,u,void 0,this,void 0)}}}if(p.isRejected())return a(this),i.e=f,i;else return a(this),f}return e.prototype._passThrough=function(f,p,h,g){if(typeof f!=="function")return this.then();return this._then(h,g,void 0,new o(this,p,f),void 0)},e.prototype.lastly=e.prototype.finally=function(f){return this._passThrough(f,0,d,d)},e.prototype.tap=function(f){return this._passThrough(f,1,d)},o}});var BT=U(function(I2e,LT){LT.exports=function(e){var t=we(),n=Pi().keys,{tryCatch:r,errorObj:i}=t;function o(s,a,c){return function(u){var d=c._boundValue();e:for(var f=0;f<s.length;++f){var p=s[f];if(p===Error||p!=null&&p.prototype instanceof Error){if(u instanceof p)return r(a).call(d,u)}else if(typeof p==="function"){var h=r(p).call(d,u);if(h===i)return h;else if(h)return r(a).call(d,u)}else if(t.isObject(u)){var g=n(p);for(var b=0;b<g.length;++b){var v=g[b];if(p[v]!=u[v])continue e}return r(a).call(d,u)}}return e}}return o}});var $y=U(function(M2e,qT){var WT=we(),V$=WT.maybeWrapAsError,X$=Yn(),K$=X$.OperationalError,jT=Pi();function Z$(e){return e instanceof Error&&jT.getPrototypeOf(e)===Error.prototype}var Y$=/^(?:name|message|stack|cause)$/;function J$(e){var t;if(Z$(e)){t=new K$(e),t.name=e.name,t.message=e.message,t.stack=e.stack;var n=jT.keys(e);for(var r=0;r<n.length;++r){var i=n[r];if(!Y$.test(i))t[i]=e[i]}return t}return WT.markAsOriginatingFromRejection(e),e}function Q$(e,t){return function(n,r){if(e===null)return;if(n){var i=J$(V$(n));e._attachExtraTrace(i),e._reject(i)}else if(!t)e._fulfill(r);else{var o=arguments.length,s=Array(Math.max(o-1,0));for(var a=1;a<o;++a)s[a-1]=arguments[a];e._fulfill(s)}e=null}}qT.exports=Q$});var HT=U(function(N2e,$T){$T.exports=function(e,t,n,r,i){var o=we(),s=o.tryCatch;e.method=function(a){if(typeof a!=="function")throw new e.TypeError("expecting a function but got "+o.classString(a));return function(){var c=new e(t);c._captureStackTrace(),c._pushContext();var u=s(a).apply(this,arguments),d=c._popContext();return i.checkForgottenReturns(u,d,"Promise.method",c),c._resolveFromSyncValue(u),c}},e.attempt=e.try=function(a){if(typeof a!=="function")return r("expecting a function but got "+o.classString(a));var c=new e(t);c._captureStackTrace(),c._pushContext();var u;if(arguments.length>1){i.deprecated("calling Promise.try with more than 1 argument");var d=arguments[1],f=arguments[2];u=o.isArray(d)?s(a).apply(f,d):s(a).call(f,d)}else u=s(a)();var p=c._popContext();return i.checkForgottenReturns(u,p,"Promise.try",c),c._resolveFromSyncValue(u),c},e.prototype._resolveFromSyncValue=function(a){if(a===o.errorObj)this._rejectCallback(a.e,!1);else this._resolveCallback(a,!0)}}});var zT=U(function(L2e,GT){GT.exports=function(e,t,n,r){var i=!1,o=function(u,d){this._reject(d)},s=function(u,d){d.promiseRejectionQueued=!0,d.bindingPromise._then(o,o,null,this,u)},a=function(u,d){if((this._bitField&50397184)===0)this._resolveCallback(d.target)},c=function(u,d){if(!d.promiseRejectionQueued)this._reject(u)};e.prototype.bind=function(u){if(!i)i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction();var d=n(u),f=new e(t);f._propagateFrom(this,1);var p=this._target();if(f._setBoundTo(d),d instanceof e){var h={promiseRejectionQueued:!1,promise:f,target:p,bindingPromise:d};p._then(t,s,void 0,f,h),d._then(a,c,void 0,f,h),f._setOnCancel(d)}else f._resolveCallback(p);return f},e.prototype._setBoundTo=function(u){if(u!==void 0)this._bitField=this._bitField|2097152,this._boundTo=u;else this._bitField=this._bitField&-2097153},e.prototype._isBound=function(){return(this._bitField&2097152)===2097152},e.bind=function(u,d){return e.resolve(d).bind(u)}}});var XT=U(function(B2e,VT){VT.exports=function(e,t,n,r){var i=we(),{tryCatch:o,errorObj:s}=i,a=e._async;e.prototype.break=e.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");var c=this,u=c;while(c._isCancellable()){if(!c._cancelBy(u)){if(u._isFollowing())u._followee().cancel();else u._cancelBranched();break}var d=c._cancellationParent;if(d==null||!d._isCancellable()){if(c._isFollowing())c._followee().cancel();else c._cancelBranched();break}else{if(c._isFollowing())c._followee().cancel();c._setWillBeCancelled(),u=c,c=d}}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(c){if(c===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;else if(this._branchHasCancelled(),this._enoughBranchesHaveCancelled())return this._invokeOnCancel(),!0;return!1},e.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled())this._cancel()},e.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled(),a.invoke(this._cancelPromises,this,void 0)},e.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(c,u){if(i.isArray(c))for(var d=0;d<c.length;++d)this._doInvokeOnCancel(c[d],u);else if(c!==void 0)if(typeof c==="function"){if(!u){var f=o(c).call(this._boundValue());if(f===s)this._attachExtraTrace(f.e),a.throwLater(f.e)}}else c._resultCancelled(this)},e.prototype._invokeOnCancel=function(){var c=this._onCancel();this._unsetOnCancel(),a.invoke(this._doInvokeOnCancel,this,c)},e.prototype._invokeInternalOnCancel=function(){if(this._isCancellable())this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel()},e.prototype._resultCancelled=function(){this.cancel()}}});var ZT=U(function(W2e,KT){KT.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(r){if(r instanceof e)r.suppressUnhandledRejections();return this._then(t,void 0,void 0,{value:r},void 0)},e.prototype.throw=e.prototype.thenThrow=function(r){return this._then(n,void 0,void 0,{reason:r},void 0)},e.prototype.catchThrow=function(r){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:r},void 0);else{var i=arguments[1],o=function(){throw i};return this.caught(r,o)}},e.prototype.catchReturn=function(r){if(arguments.length<=1){if(r instanceof e)r.suppressUnhandledRejections();return this._then(void 0,t,void 0,{value:r},void 0)}else{var i=arguments[1];if(i instanceof e)i.suppressUnhandledRejections();var o=function(){return i};return this.caught(r,o)}}}});var JT=U(function(j2e,YT){YT.exports=function(e){function t(c){if(c!==void 0)c=c._target(),this._bitField=c._bitField,this._settledValueField=c._isFateSealed()?c._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw TypeError(`cannot get fulfillment value of a non-fulfilled promise
|
|
55
55
|
|
|
56
56
|
See http://goo.gl/MqrFmX
|
|
57
57
|
`);return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw TypeError(`cannot get rejection reason of a non-rejected promise
|
|
58
58
|
|
|
59
59
|
See http://goo.gl/MqrFmX
|
|
60
|
-
`);return this._settledValue()},i=t.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},o=t.prototype.isRejected=function(){return(this._bitField&16777216)!==0},s=t.prototype.isPending=function(){return(this._bitField&50397184)===0},a=t.prototype.isResolved=function(){return(this._bitField&50331648)!==0};t.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},e.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},e.prototype.isPending=function(){return s.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return a.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var c=this._target();return c._unsetRejectionIsUnhandled(),r.call(c)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}});var eC=U(function(
|
|
60
|
+
`);return this._settledValue()},i=t.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},o=t.prototype.isRejected=function(){return(this._bitField&16777216)!==0},s=t.prototype.isPending=function(){return(this._bitField&50397184)===0},a=t.prototype.isResolved=function(){return(this._bitField&50331648)!==0};t.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},e.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},e.prototype.isPending=function(){return s.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return a.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var c=this._target();return c._unsetRejectionIsUnhandled(),r.call(c)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}});var eC=U(function(q2e,QT){QT.exports=function(e,t,n,r,i,o){var s=we(),{canEvaluate:a,tryCatch:c,errorObj:u}=s,d;if(a){var f=function(x){return Function("value","holder",`
|
|
61
61
|
'use strict';
|
|
62
62
|
holder.pIndex = value;
|
|
63
63
|
holder.checkFulfillment(this);
|
|
@@ -109,7 +109,7 @@ __p+='`;return u}),o+=`';
|
|
|
109
109
|
|
|
110
110
|
return [TheName];
|
|
111
111
|
}(tryCatch, errorObj, Promise, async);
|
|
112
|
-
`;return S=S.replace(/\[TheName\]/g,A).replace(/\[TheTotal\]/g,x).replace(/\[ThePassedArguments\]/g,_).replace(/\[TheProperties\]/g,D).replace(/\[CancellationCode\]/g,T),Function("tryCatch","errorObj","Promise","async",S)(c,u,e,i)},g=[],b=[],v=[];for(var y=0;y<8;++y)g.push(h(y+1)),b.push(f(y+1)),v.push(p(y+1));d=function(x){this._reject(x)}}e.join=function(){var x=arguments.length-1,m;if(x>0&&typeof arguments[x]==="function"){if(m=arguments[x],x<=8&&a){var W=new e(r);W._captureStackTrace();var w=g[x-1],D=new w(m),T=b;for(var _=0;_<x;++_){var A=n(arguments[_],W);if(A instanceof e){A=A._target();var S=A._bitField;if((S&50397184)===0)A._then(T[_],d,void 0,W,D),v[_](A,D),D.asyncNeeded=!1;else if((S&33554432)!==0)T[_].call(W,A._value(),D);else if((S&16777216)!==0)W._reject(A._reason());else W._cancel()}else T[_].call(W,A,D)}if(!W._isFateSealed()){if(D.asyncNeeded){var M=o();if(M!==null)D.fn=s.domainBind(M,D.fn)}W._setAsyncGuaranteed(),W._setOnCancel(D)}return W}}var P=arguments.length,C=Array(P);for(var L=0;L<P;++L)C[L]=arguments[L];if(m)C.pop();var W=new t(C).promise();return m!==void 0?W.spread(m):W}}});var nC=U(function(
|
|
112
|
+
`;return S=S.replace(/\[TheName\]/g,A).replace(/\[TheTotal\]/g,x).replace(/\[ThePassedArguments\]/g,_).replace(/\[TheProperties\]/g,D).replace(/\[CancellationCode\]/g,T),Function("tryCatch","errorObj","Promise","async",S)(c,u,e,i)},g=[],b=[],v=[];for(var y=0;y<8;++y)g.push(h(y+1)),b.push(f(y+1)),v.push(p(y+1));d=function(x){this._reject(x)}}e.join=function(){var x=arguments.length-1,m;if(x>0&&typeof arguments[x]==="function"){if(m=arguments[x],x<=8&&a){var W=new e(r);W._captureStackTrace();var w=g[x-1],D=new w(m),T=b;for(var _=0;_<x;++_){var A=n(arguments[_],W);if(A instanceof e){A=A._target();var S=A._bitField;if((S&50397184)===0)A._then(T[_],d,void 0,W,D),v[_](A,D),D.asyncNeeded=!1;else if((S&33554432)!==0)T[_].call(W,A._value(),D);else if((S&16777216)!==0)W._reject(A._reason());else W._cancel()}else T[_].call(W,A,D)}if(!W._isFateSealed()){if(D.asyncNeeded){var M=o();if(M!==null)D.fn=s.domainBind(M,D.fn)}W._setAsyncGuaranteed(),W._setOnCancel(D)}return W}}var P=arguments.length,C=Array(P);for(var L=0;L<P;++L)C[L]=arguments[L];if(m)C.pop();var W=new t(C).promise();return m!==void 0?W.spread(m):W}}});var nC=U(function($2e,tC){tC.exports=function(e,t,n,r,i,o){var s=e._getDomain,a=we(),{tryCatch:c,errorObj:u}=a,d=e._async;function f(h,g,b,v){this.constructor$(h),this._promise._captureStackTrace();var y=s();this._callback=y===null?g:a.domainBind(y,g),this._preservedValues=v===i?Array(this.length()):null,this._limit=b,this._inFlight=0,this._queue=[],d.invoke(this._asyncInit,this,void 0)}a.inherits(f,t),f.prototype._asyncInit=function(){this._init$(void 0,-2)},f.prototype._init=function(){},f.prototype._promiseFulfilled=function(h,g){var b=this._values,v=this.length(),y=this._preservedValues,x=this._limit;if(g<0){if(g=g*-1-1,b[g]=h,x>=1){if(this._inFlight--,this._drainQueue(),this._isResolved())return!0}}else{if(x>=1&&this._inFlight>=x)return b[g]=h,this._queue.push(g),!1;if(y!==null)y[g]=h;var m=this._promise,w=this._callback,D=m._boundValue();m._pushContext();var T=c(w).call(D,h,g,v),_=m._popContext();if(o.checkForgottenReturns(T,_,y!==null?"Promise.filter":"Promise.map",m),T===u)return this._reject(T.e),!0;var A=r(T,this._promise);if(A instanceof e){A=A._target();var S=A._bitField;if((S&50397184)===0){if(x>=1)this._inFlight++;return b[g]=A,A._proxy(this,(g+1)*-1),!1}else if((S&33554432)!==0)T=A._value();else if((S&16777216)!==0)return this._reject(A._reason()),!0;else return this._cancel(),!0}b[g]=T}var M=++this._totalResolved;if(M>=v){if(y!==null)this._filter(b,y);else this._resolve(b);return!0}return!1},f.prototype._drainQueue=function(){var h=this._queue,g=this._limit,b=this._values;while(h.length>0&&this._inFlight<g){if(this._isResolved())return;var v=h.pop();this._promiseFulfilled(b[v],v)}},f.prototype._filter=function(h,g){var b=g.length,v=Array(b),y=0;for(var x=0;x<b;++x)if(h[x])v[y++]=g[x];v.length=y,this._resolve(v)},f.prototype.preservedValues=function(){return this._preservedValues};function p(h,g,b,v){if(typeof g!=="function")return n("expecting a function but got "+a.classString(g));var y=0;if(b!==void 0)if(typeof b==="object"&&b!==null){if(typeof b.concurrency!=="number")return e.reject(TypeError("'concurrency' must be a number but it is "+a.classString(b.concurrency)));y=b.concurrency}else return e.reject(TypeError("options argument must be an object but it is "+a.classString(b)));return y=typeof y==="number"&&isFinite(y)&&y>=1?y:0,new f(h,g,y,v).promise()}e.prototype.map=function(h,g){return p(this,h,g,null)},e.map=function(h,g,b,v){return p(h,g,b,v)}}});var iC=U(function(H2e,rC){var Hy=Object.create;if(Hy)Fd=Hy(null),Pd=Hy(null),Fd[" size"]=Pd[" size"]=0;var Fd,Pd;rC.exports=function(e){var t=we(),{canEvaluate:n,isIdentifier:r}=t,i,o,s=function(h){return Function("ensureMethod",`
|
|
113
113
|
return function(obj) {
|
|
114
114
|
'use strict'
|
|
115
115
|
var len = this.length;
|
|
@@ -126,7 +126,7 @@ __p+='`;return u}),o+=`';
|
|
|
126
126
|
`.replace(/methodName/g,h))(u)},a=function(h){return Function("obj",`
|
|
127
127
|
'use strict';
|
|
128
128
|
return obj.propertyName;
|
|
129
|
-
`.replace("propertyName",h))},c=function(h,g,b){var v=b[h];if(typeof v!=="function"){if(!r(h))return null;if(v=g(h),b[h]=v,b[" size"]++,b[" size"]>512){var y=Object.keys(b);for(var x=0;x<256;++x)delete b[y[x]];b[" size"]=y.length-256}}return v};i=function(h){return c(h,s,Fd)},o=function(h){return c(h,a,Pd)};function u(h,g){var b;if(h!=null)b=h[g];if(typeof b!=="function"){var v="Object "+t.classString(h)+" has no method '"+t.toString(g)+"'";throw new e.TypeError(v)}return b}function d(h){var g=this.pop(),b=u(h,g);return b.apply(h,this)}e.prototype.call=function(h){var g=arguments.length,b=Array(Math.max(g-1,0));for(var v=1;v<g;++v)b[v-1]=arguments[v];if(n){var y=i(h);if(y!==null)return this._then(y,void 0,void 0,b,void 0)}return b.push(h),this._then(d,void 0,void 0,b,void 0)};function f(h){return h[this]}function p(h){var g=+this;if(g<0)g=Math.max(0,g+h.length);return h[g]}e.prototype.get=function(h){var g=typeof h==="number",b;if(!g)if(n){var v=o(h);b=v!==null?v:f}else b=f;else b=p;return this._then(b,void 0,void 0,h,void 0)}}});var sC=U(function(
|
|
129
|
+
`.replace("propertyName",h))},c=function(h,g,b){var v=b[h];if(typeof v!=="function"){if(!r(h))return null;if(v=g(h),b[h]=v,b[" size"]++,b[" size"]>512){var y=Object.keys(b);for(var x=0;x<256;++x)delete b[y[x]];b[" size"]=y.length-256}}return v};i=function(h){return c(h,s,Fd)},o=function(h){return c(h,a,Pd)};function u(h,g){var b;if(h!=null)b=h[g];if(typeof b!=="function"){var v="Object "+t.classString(h)+" has no method '"+t.toString(g)+"'";throw new e.TypeError(v)}return b}function d(h){var g=this.pop(),b=u(h,g);return b.apply(h,this)}e.prototype.call=function(h){var g=arguments.length,b=Array(Math.max(g-1,0));for(var v=1;v<g;++v)b[v-1]=arguments[v];if(n){var y=i(h);if(y!==null)return this._then(y,void 0,void 0,b,void 0)}return b.push(h),this._then(d,void 0,void 0,b,void 0)};function f(h){return h[this]}function p(h){var g=+this;if(g<0)g=Math.max(0,g+h.length);return h[g]}e.prototype.get=function(h){var g=typeof h==="number",b;if(!g)if(n){var v=o(h);b=v!==null?v:f}else b=f;else b=p;return this._then(b,void 0,void 0,h,void 0)}}});var sC=U(function(G2e,oC){oC.exports=function(e,t,n,r,i,o){var s=we(),a=Yn().TypeError,c=we().inherits,{errorObj:u,tryCatch:d}=s,f={};function p(m){setTimeout(function(){throw m},0)}function h(m){var w=n(m);if(w!==m&&typeof m._isDisposable==="function"&&typeof m._getDisposer==="function"&&m._isDisposable())w._setDisposable(m._getDisposer());return w}function g(m,w){var D=0,T=m.length,_=new e(i);function A(){if(D>=T)return _._fulfill();var S=h(m[D++]);if(S instanceof e&&S._isDisposable()){try{S=n(S._getDisposer().tryDispose(w),m.promise)}catch(M){return p(M)}if(S instanceof e)return S._then(A,p,null,null,null)}A()}return A(),_}function b(m,w,D){this._data=m,this._promise=w,this._context=D}b.prototype.data=function(){return this._data},b.prototype.promise=function(){return this._promise},b.prototype.resource=function(){if(this.promise().isFulfilled())return this.promise().value();return f},b.prototype.tryDispose=function(m){var w=this.resource(),D=this._context;if(D!==void 0)D._pushContext();var T=w!==f?this.doDispose(w,m):null;if(D!==void 0)D._popContext();return this._promise._unsetDisposable(),this._data=null,T},b.isDisposer=function(m){return m!=null&&typeof m.resource==="function"&&typeof m.tryDispose==="function"};function v(m,w,D){this.constructor$(m,w,D)}c(v,b),v.prototype.doDispose=function(m,w){var D=this.data();return D.call(m,m,w)};function y(m){if(b.isDisposer(m))return this.resources[this.index]._setDisposable(m),m.promise();return m}function x(m){this.length=m,this.promise=null,this[m-1]=null}x.prototype._resultCancelled=function(){var m=this.length;for(var w=0;w<m;++w){var D=this[w];if(D instanceof e)D.cancel()}},e.using=function(){var m=arguments.length;if(m<2)return t("you must pass at least 2 arguments to Promise.using");var w=arguments[m-1];if(typeof w!=="function")return t("expecting a function but got "+s.classString(w));var D,T=!0;if(m===2&&Array.isArray(arguments[0]))D=arguments[0],m=D.length,T=!1;else D=arguments,m--;var _=new x(m);for(var A=0;A<m;++A){var S=D[A];if(b.isDisposer(S)){var M=S;S=S.promise(),S._setDisposable(M)}else{var P=n(S);if(P instanceof e)S=P._then(y,null,null,{resources:_,index:A},void 0)}_[A]=S}var C=Array(_.length);for(var A=0;A<C.length;++A)C[A]=e.resolve(_[A]).reflect();var L=e.all(C).then(function(H){for(var E=0;E<H.length;++E){var R=H[E];if(R.isRejected())return u.e=R.error(),u;else if(!R.isFulfilled()){L.cancel();return}H[E]=R.value()}W._pushContext(),w=d(w);var k=T?w.apply(void 0,H):w(H),F=W._popContext();return o.checkForgottenReturns(k,F,"Promise.using",W),k}),W=L.lastly(function(){var H=new e.PromiseInspection(L);return g(_,H)});return _.promise=W,W._setOnCancel(_),W},e.prototype._setDisposable=function(m){this._bitField=this._bitField|131072,this._disposer=m},e.prototype._isDisposable=function(){return(this._bitField&131072)>0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},e.prototype.disposer=function(m){if(typeof m==="function")return new v(m,this,r());throw new a}}});var cC=U(function(z2e,aC){aC.exports=function(e,t,n){var r=we(),i=e.TimeoutError;function o(f){this.handle=f}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=function(f){return a(+this).thenReturn(f)},a=e.delay=function(f,p){var h,g;if(p!==void 0){if(h=e.resolve(p)._then(s,null,null,f,void 0),n.cancellation()&&p instanceof e)h._setOnCancel(p)}else{if(h=new e(t),g=setTimeout(function(){h._fulfill()},+f),n.cancellation())h._setOnCancel(new o(g));h._captureStackTrace()}return h._setAsyncGuaranteed(),h};e.prototype.delay=function(f){return a(f,this)};var c=function(f,p,h){var g;if(typeof p!=="string")if(p instanceof Error)g=p;else g=new i("operation timed out");else g=new i(p);if(r.markAsOriginatingFromRejection(g),f._attachExtraTrace(g),f._reject(g),h!=null)h.cancel()};function u(f){return clearTimeout(this.handle),f}function d(f){throw clearTimeout(this.handle),f}e.prototype.timeout=function(f,p){f=+f;var h,g,b=new o(setTimeout(function(){if(h.isPending())c(h,p,g)},f));if(n.cancellation())g=this.then(),h=g._then(u,d,void 0,b,void 0),h._setOnCancel(b);else h=this._then(u,d,void 0,b,void 0);return h}}});var lC=U(function(V2e,uC){uC.exports=function(e,t,n,r,i,o){var s=Yn(),a=s.TypeError,c=we(),{errorObj:u,tryCatch:d}=c,f=[];function p(g,b,v){for(var y=0;y<b.length;++y){v._pushContext();var x=d(b[y])(g);if(v._popContext(),x===u){v._pushContext();var m=e.reject(u.e);return v._popContext(),m}var w=r(x,v);if(w instanceof e)return w}return null}function h(g,b,v,y){if(o.cancellation()){var x=new e(n),m=this._finallyPromise=new e(n);this._promise=x.lastly(function(){return m}),x._captureStackTrace(),x._setOnCancel(this)}else{var w=this._promise=new e(n);w._captureStackTrace()}this._stack=y,this._generatorFunction=g,this._receiver=b,this._generator=void 0,this._yieldHandlers=typeof v==="function"?[v].concat(f):f,this._yieldedPromise=null,this._cancellationPhase=!1}c.inherits(h,i),h.prototype._isResolved=function(){return this._promise===null},h.prototype._cleanup=function(){if(this._promise=this._generator=null,o.cancellation()&&this._finallyPromise!==null)this._finallyPromise._fulfill(),this._finallyPromise=null},h.prototype._promiseCancelled=function(){if(this._isResolved())return;var g=typeof this._generator.return<"u",b;if(!g){var v=new e.CancellationError("generator .return() sentinel");e.coroutine.returnSentinel=v,this._promise._attachExtraTrace(v),this._promise._pushContext(),b=d(this._generator.throw).call(this._generator,v),this._promise._popContext()}else this._promise._pushContext(),b=d(this._generator.return).call(this._generator,void 0),this._promise._popContext();this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(b)},h.prototype._promiseFulfilled=function(g){this._yieldedPromise=null,this._promise._pushContext();var b=d(this._generator.next).call(this._generator,g);this._promise._popContext(),this._continue(b)},h.prototype._promiseRejected=function(g){this._yieldedPromise=null,this._promise._attachExtraTrace(g),this._promise._pushContext();var b=d(this._generator.throw).call(this._generator,g);this._promise._popContext(),this._continue(b)},h.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof e){var g=this._yieldedPromise;this._yieldedPromise=null,g.cancel()}},h.prototype.promise=function(){return this._promise},h.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},h.prototype._continue=function(g){var b=this._promise;if(g===u)if(this._cleanup(),this._cancellationPhase)return b.cancel();else return b._rejectCallback(g.e,!1);var v=g.value;if(g.done===!0)if(this._cleanup(),this._cancellationPhase)return b.cancel();else return b._resolveCallback(v);else{var y=r(v,this._promise);if(!(y instanceof e)){if(y=p(y,this._yieldHandlers,this._promise),y===null){this._promiseRejected(new a(`A value %s was yielded that could not be treated as a promise
|
|
130
130
|
|
|
131
131
|
See http://goo.gl/MqrFmX
|
|
132
132
|
|
|
@@ -139,7 +139,7 @@ __p+='`;return u}),o+=`';
|
|
|
139
139
|
`);var v=Object(b).yieldHandler,y=h,x=Error().stack;return function(){var m=g.apply(this,arguments),w=new y(void 0,void 0,v,x),D=w.promise();return w._generator=m,w._promiseFulfilled(void 0),D}},e.coroutine.addYieldHandler=function(g){if(typeof g!=="function")throw new a("expecting a function but got "+c.classString(g));f.push(g)},e.spawn=function(g){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),typeof g!=="function")return t(`generatorFunction must be a function
|
|
140
140
|
|
|
141
141
|
See http://goo.gl/MqrFmX
|
|
142
|
-
`);var b=new h(g,this),v=b.promise();return b._run(e.spawn),v}}});var fC=U(function(
|
|
142
|
+
`);var b=new h(g,this),v=b.promise();return b._run(e.spawn),v}}});var fC=U(function(X2e,dC){dC.exports=function(e){var t=we(),n=e._async,{tryCatch:r,errorObj:i}=t;function o(c,u){var d=this;if(!t.isArray(c))return s.call(d,c,u);var f=r(u).apply(d._boundValue(),[null].concat(c));if(f===i)n.throwLater(f.e)}function s(c,u){var d=this,f=d._boundValue(),p=c===void 0?r(u).call(f,null):r(u).call(f,null,c);if(p===i)n.throwLater(p.e)}function a(c,u){var d=this;if(!c){var f=Error(c+"");f.cause=c,c=f}var p=r(u).call(d._boundValue(),c);if(p===i)n.throwLater(p.e)}e.prototype.asCallback=e.prototype.nodeify=function(c,u){if(typeof c=="function"){var d=s;if(u!==void 0&&Object(u).spread)d=o;this._then(d,a,void 0,this,c)}return this}}});var hC=U(function(K2e,pC){pC.exports=function(e,t){var n={},r=we(),i=$y(),{withAppended:o,maybeWrapAsError:s,canEvaluate:a}=r,c=Yn().TypeError,u="Async",d={__isPromisified__:!0},f=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],p=new RegExp("^(?:"+f.join("|")+")$"),h=function(L){return r.isIdentifier(L)&&L.charAt(0)!=="_"&&L!=="constructor"};function g(L){return!p.test(L)}function b(L){try{return L.__isPromisified__===!0}catch(W){return!1}}function v(L,W,H){var E=r.getDataPropertyOrDefault(L,W+H,d);return E?b(E):!1}function y(L,W,H){for(var E=0;E<L.length;E+=2){var R=L[E];if(H.test(R)){var k=R.replace(H,"");for(var F=0;F<L.length;F+=2)if(L[F]===k)throw new c(`Cannot promisify an API that has normal methods with '%s'-suffix
|
|
143
143
|
|
|
144
144
|
See http://goo.gl/MqrFmX
|
|
145
145
|
`.replace("%s",W))}}}function x(L,W,H,E){var R=r.inheritedDataKeys(L),k=[];for(var F=0;F<R.length;++F){var B=R[F],j=L[B],K=E===h?!0:h(B,j,L);if(typeof j==="function"&&!b(j)&&!v(L,B,W)&&E(B,j,L,K))k.push(B,j)}return y(k,W,H),k}var m=function(L){return L.replace(/([$])/,"\\$")},w,D=function(L){var W=[L],H=Math.max(0,L-1-3);for(var E=L-1;E>=H;--E)W.push(E);for(var E=L+1;E<=3;++E)W.push(E);return W},T=function(L){return r.filledRange(L,"_arg","")},_=function(L){return r.filledRange(Math.max(L,3),"_arg","")},A=function(L){if(typeof L.length==="number")return Math.max(Math.min(L.length,1024),0);return 0};w=function(L,W,H,E,R,k){var F=Math.max(0,A(E)-1),B=D(F),j=typeof L==="string"||W===n;function K(ve){var dt=T(ve).join(", "),hn=ve>0?", ":"",mr;if(j)mr=`ret = callback.call(this, {{args}}, nodeback); break;
|
|
@@ -183,27 +183,27 @@ __p+='`;return u}),o+=`';
|
|
|
183
183
|
`);W=Object(W);var H=!!W.multiArgs,E=W.suffix;if(typeof E!=="string")E=u;var R=W.filter;if(typeof R!=="function")R=h;var k=W.promisifier;if(typeof k!=="function")k=M;if(!r.isIdentifier(E))throw RangeError(`suffix must be a valid identifier
|
|
184
184
|
|
|
185
185
|
See http://goo.gl/MqrFmX
|
|
186
|
-
`);var F=r.inheritedDataKeys(L);for(var B=0;B<F.length;++B){var j=L[F[B]];if(F[B]!=="constructor"&&r.isClass(j))P(j.prototype,E,R,k,H),P(j,E,R,k,H)}return P(L,E,R,k,H)}}});var mC=U(function(
|
|
186
|
+
`);var F=r.inheritedDataKeys(L);for(var B=0;B<F.length;++B){var j=L[F[B]];if(F[B]!=="constructor"&&r.isClass(j))P(j.prototype,E,R,k,H),P(j,E,R,k,H)}return P(L,E,R,k,H)}}});var mC=U(function(Z2e,gC){gC.exports=function(e,t,n,r){var i=we(),o=i.isObject,s=Pi(),a;if(typeof Map==="function")a=Map;var c=function(){var p=0,h=0;function g(b,v){this[p]=b,this[p+h]=v,p++}return function(v){h=v.size,p=0;var y=Array(v.size*2);return v.forEach(g,y),y}}(),u=function(p){var h=new a,g=p.length/2|0;for(var b=0;b<g;++b){var v=p[g+b],y=p[b];h.set(v,y)}return h};function d(p){var h=!1,g;if(a!==void 0&&p instanceof a)g=c(p),h=!0;else{var b=s.keys(p),v=b.length;g=Array(v*2);for(var y=0;y<v;++y){var x=b[y];g[y]=p[x],g[y+v]=x}}this.constructor$(g),this._isMap=h,this._init$(void 0,-3)}i.inherits(d,t),d.prototype._init=function(){},d.prototype._promiseFulfilled=function(p,h){this._values[h]=p;var g=++this._totalResolved;if(g>=this._length){var b;if(this._isMap)b=u(this._values);else{b={};var v=this.length();for(var y=0,x=this.length();y<x;++y)b[this._values[y+v]]=this._values[y]}return this._resolve(b),!0}return!1},d.prototype.shouldCopyValues=function(){return!1},d.prototype.getActualLength=function(p){return p>>1};function f(p){var h,g=n(p);if(!o(g))return r(`cannot await properties of a non-object
|
|
187
187
|
|
|
188
188
|
See http://goo.gl/MqrFmX
|
|
189
|
-
`);else if(g instanceof e)h=g._then(e.props,void 0,void 0,void 0,void 0);else h=new d(g).promise();if(g instanceof e)h._propagateFrom(g,2);return h}e.prototype.props=function(){return f(this)},e.props=function(p){return f(p)}}});var bC=U(function(
|
|
189
|
+
`);else if(g instanceof e)h=g._then(e.props,void 0,void 0,void 0,void 0);else h=new d(g).promise();if(g instanceof e)h._propagateFrom(g,2);return h}e.prototype.props=function(){return f(this)},e.props=function(p){return f(p)}}});var bC=U(function(Y2e,yC){yC.exports=function(e,t,n,r){var i=we(),o=function(a){return a.then(function(c){return s(c,a)})};function s(a,c){var u=n(a);if(u instanceof e)return o(u);else if(a=i.asArray(a),a===null)return r("expecting an array or an iterable object but got "+i.classString(a));var d=new e(t);if(c!==void 0)d._propagateFrom(c,3);var{_fulfill:f,_reject:p}=d;for(var h=0,g=a.length;h<g;++h){var b=a[h];if(b===void 0&&!(h in a))continue;e.cast(b)._then(f,p,void 0,d,null)}return d}e.race=function(a){return s(a,void 0)},e.prototype.race=function(){return s(this,void 0)}}});var xC=U(function(J2e,vC){vC.exports=function(e,t,n,r,i,o){var s=e._getDomain,a=we(),c=a.tryCatch;function u(g,b,v,y){this.constructor$(g);var x=s();if(this._fn=x===null?b:a.domainBind(x,b),v!==void 0)v=e.resolve(v),v._attachCancellationCallback(this);if(this._initialValue=v,this._currentCancellable=null,y===i)this._eachValues=Array(this._length);else if(y===0)this._eachValues=null;else this._eachValues=void 0;this._promise._captureStackTrace(),this._init$(void 0,-5)}a.inherits(u,t),u.prototype._gotAccum=function(g){if(this._eachValues!==void 0&&this._eachValues!==null&&g!==i)this._eachValues.push(g)},u.prototype._eachComplete=function(g){if(this._eachValues!==null)this._eachValues.push(g);return this._eachValues},u.prototype._init=function(){},u.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},u.prototype.shouldCopyValues=function(){return!1},u.prototype._resolve=function(g){this._promise._resolveCallback(g),this._values=null},u.prototype._resultCancelled=function(g){if(g===this._initialValue)return this._cancel();if(this._isResolved())return;if(this._resultCancelled$(),this._currentCancellable instanceof e)this._currentCancellable.cancel();if(this._initialValue instanceof e)this._initialValue.cancel()},u.prototype._iterate=function(g){this._values=g;var b,v,y=g.length;if(this._initialValue!==void 0)b=this._initialValue,v=0;else b=e.resolve(g[0]),v=1;if(this._currentCancellable=b,!b.isRejected())for(;v<y;++v){var x={accum:null,value:g[v],index:v,length:y,array:this};b=b._then(p,void 0,void 0,x,void 0)}if(this._eachValues!==void 0)b=b._then(this._eachComplete,void 0,void 0,this,void 0);b._then(d,d,void 0,b,this)},e.prototype.reduce=function(g,b){return f(this,g,b,null)},e.reduce=function(g,b,v,y){return f(g,b,v,y)};function d(g,b){if(this.isFulfilled())b._resolve(g);else b._reject(g)}function f(g,b,v,y){if(typeof b!=="function")return n("expecting a function but got "+a.classString(b));var x=new u(g,b,v,y);return x.promise()}function p(g){this.accum=g,this.array._gotAccum(g);var b=r(this.value,this.array._promise);if(b instanceof e)return this.array._currentCancellable=b,b._then(h,void 0,void 0,this,void 0);else return h.call(this,b)}function h(g){var b=this.array,v=b._promise,y=c(b._fn);v._pushContext();var x;if(b._eachValues!==void 0)x=y.call(v._boundValue(),g,this.index,this.length);else x=y.call(v._boundValue(),this.accum,g,this.index,this.length);if(x instanceof e)b._currentCancellable=x;var m=v._popContext();return o.checkForgottenReturns(x,m,b._eachValues!==void 0?"Promise.each":"Promise.reduce",v),x}}});var _C=U(function(Q2e,wC){wC.exports=function(e,t,n){var r=e.PromiseInspection,i=we();function o(s){this.constructor$(s)}i.inherits(o,t),o.prototype._promiseResolved=function(s,a){this._values[s]=a;var c=++this._totalResolved;if(c>=this._length)return this._resolve(this._values),!0;return!1},o.prototype._promiseFulfilled=function(s,a){var c=new r;return c._bitField=33554432,c._settledValueField=s,this._promiseResolved(a,c)},o.prototype._promiseRejected=function(s,a){var c=new r;return c._bitField=16777216,c._settledValueField=s,this._promiseResolved(a,c)},e.settle=function(s){return n.deprecated(".settle()",".reflect()"),new o(s).promise()},e.prototype.settle=function(){return e.settle(this)}}});var EC=U(function(e1e,DC){DC.exports=function(e,t,n){var r=we(),i=Yn().RangeError,o=Yn().AggregateError,s=r.isArray,a={};function c(d){this.constructor$(d),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(c,t),c.prototype._init=function(){if(!this._initialized)return;if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var d=s(this._values);if(!this._isResolved()&&d&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(d){this._howMany=d},c.prototype._promiseFulfilled=function(d){if(this._addFulfilled(d),this._fulfilled()===this.howMany()){if(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap)this._resolve(this._values[0]);else this._resolve(this._values);return!0}return!1},c.prototype._promiseRejected=function(d){return this._addRejected(d),this._checkOutcome()},c.prototype._promiseCancelled=function(){if(this._values instanceof e||this._values==null)return this._cancel();return this._addRejected(a),this._checkOutcome()},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var d=new o;for(var f=this.length();f<this._values.length;++f)if(this._values[f]!==a)d.push(this._values[f]);if(d.length>0)this._reject(d);else this._cancel();return!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(d){this._values.push(d)},c.prototype._addFulfilled=function(d){this._values[this._totalResolved++]=d},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(d){var f="Input array must contain at least "+this._howMany+" items but contains only "+d+" items";return new i(f)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function u(d,f){if((f|0)!==f||f<0)return n(`expecting a positive integer
|
|
190
190
|
|
|
191
191
|
See http://goo.gl/MqrFmX
|
|
192
|
-
`);var p=new c(d),h=p.promise();return p.setHowMany(f),p.init(),h}e.some=function(d,f){return u(d,f)},e.prototype.some=function(d){return u(this,d)},e._SomePromiseArray=c}});var TC=U(function(
|
|
192
|
+
`);var p=new c(d),h=p.promise();return p.setHowMany(f),p.init(),h}e.some=function(d,f){return u(d,f)},e.prototype.some=function(d){return u(this,d)},e._SomePromiseArray=c}});var TC=U(function(t1e,SC){SC.exports=function(e,t){var n=e.map;e.prototype.filter=function(r,i){return n(this,r,i,t)},e.filter=function(r,i,o){return n(r,i,o,t)}}});var AC=U(function(n1e,CC){CC.exports=function(e,t){var{reduce:n,all:r}=e;function i(){return r(this)}function o(s,a){return n(s,a,t,t)}e.prototype.each=function(s){return n(this,s,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(s){return n(this,s,t,t)},e.each=function(s,a){return n(s,a,t,0)._then(i,void 0,void 0,s,void 0)},e.mapSeries=o}});var UC=U(function(r1e,kC){kC.exports=function(e){var t=e._SomePromiseArray;function n(r){var i=new t(r),o=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),o}e.any=function(r){return n(r)},e.prototype.any=function(){return n(this)}}});var RC=U(function(i1e,Gy){Gy.exports=function(){var e=function(){return new f(`circular promise resolution chain
|
|
193
193
|
|
|
194
194
|
See http://goo.gl/MqrFmX
|
|
195
195
|
`)},t=function(){return new C.PromiseInspection(this._target())},n=function(E){return C.reject(new f(E))};function r(){}var i={},o=we(),s;if(o.isNode)s=function(){var E=process.domain;if(E===void 0)E=null;return E};else s=function(){return null};o.notEnumerableProp(C,"_getDomain",s);var a=Pi(),c=ET(),u=new c;a.defineProperty(C,"_async",{value:u});var d=Yn(),f=C.TypeError=d.TypeError;C.RangeError=d.RangeError;var p=C.CancellationError=d.CancellationError;C.TimeoutError=d.TimeoutError,C.OperationalError=d.OperationalError,C.RejectionError=d.OperationalError,C.AggregateError=d.AggregateError;var h=function(){},g={},b={},v=kT()(C,h),y=RT()(C,h,v,n,r),x=PT()(C),m=x.create,w=IT()(C,x),D=w.CapturedTrace,T=NT()(C,v),_=BT()(b),A=$y(),{errorObj:S,tryCatch:M}=o;function P(E,R){if(typeof R!=="function")throw new f("expecting a function but got "+o.classString(R));if(E.constructor!==C)throw new f(`the promise constructor cannot be invoked directly
|
|
196
196
|
|
|
197
197
|
See http://goo.gl/MqrFmX
|
|
198
|
-
`)}function C(E){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,E!==h)P(this,E),this._resolveFromExecutor(E);this._promiseCreated(),this._fireEvent("promiseCreated",this)}C.prototype.toString=function(){return"[object Promise]"},C.prototype.caught=C.prototype.catch=function(E){var R=arguments.length;if(R>1){var k=Array(R-1),F=0,B;for(B=0;B<R-1;++B){var j=arguments[B];if(o.isObject(j))k[F++]=j;else return n("expecting an object but got A catch statement predicate "+o.classString(j))}return k.length=F,E=arguments[B],this.then(void 0,_(k,E,this))}return this.then(void 0,E)},C.prototype.reflect=function(){return this._then(t,t,void 0,this,void 0)},C.prototype.then=function(E,R){if(w.warnings()&&arguments.length>0&&typeof E!=="function"&&typeof R!=="function"){var k=".then() only accepts functions but was passed: "+o.classString(E);if(arguments.length>1)k+=", "+o.classString(R);this._warn(k)}return this._then(E,R,void 0,void 0,void 0)},C.prototype.done=function(E,R){var k=this._then(E,R,void 0,void 0,void 0);k._setIsFinal()},C.prototype.spread=function(E){if(typeof E!=="function")return n("expecting a function but got "+o.classString(E));return this.all()._then(E,void 0,void 0,g,void 0)},C.prototype.toJSON=function(){var E={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())E.fulfillmentValue=this.value(),E.isFulfilled=!0;else if(this.isRejected())E.rejectionReason=this.reason(),E.isRejected=!0;return E},C.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new y(this).promise()},C.prototype.error=function(E){return this.caught(o.originatesFromRejection,E)},C.getNewLibraryCopy=Gy.exports,C.is=function(E){return E instanceof C},C.fromNode=C.fromCallback=function(E){var R=new C(h);R._captureStackTrace();var k=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,F=M(E)(A(R,k));if(F===S)R._rejectCallback(F.e,!0);if(!R._isFateSealed())R._setAsyncGuaranteed();return R},C.all=function(E){return new y(E).promise()},C.cast=function(E){var R=v(E);if(!(R instanceof C))R=new C(h),R._captureStackTrace(),R._setFulfilled(),R._rejectionHandler0=E;return R},C.resolve=C.fulfilled=C.cast,C.reject=C.rejected=function(E){var R=new C(h);return R._captureStackTrace(),R._rejectCallback(E,!0),R},C.setScheduler=function(E){if(typeof E!=="function")throw new f("expecting a function but got "+o.classString(E));return u.setScheduler(E)},C.prototype._then=function(E,R,k,F,B){var j=B!==void 0,K=j?B:new C(h),Q=this._target(),fe=Q._bitField;if(!j){if(K._propagateFrom(this,3),K._captureStackTrace(),F===void 0&&(this._bitField&2097152)!==0)if((fe&50397184)!==0)F=this._boundValue();else F=Q===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,K)}var ke=s();if((fe&50397184)!==0){var ve,dt,hn=Q._settlePromiseCtx;if((fe&33554432)!==0)dt=Q._rejectionHandler0,ve=E;else if((fe&16777216)!==0)dt=Q._fulfillmentHandler0,ve=R,Q._unsetRejectionIsUnhandled();else hn=Q._settlePromiseLateCancellationObserver,dt=new p("late cancellation observer"),Q._attachExtraTrace(dt),ve=R;u.invoke(hn,Q,{handler:ke===null?ve:typeof ve==="function"&&o.domainBind(ke,ve),promise:K,receiver:F,value:dt})}else Q._addCallbacks(E,R,K,F,ke);return K},C.prototype._length=function(){return this._bitField&65535},C.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},C.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},C.prototype._setLength=function(E){this._bitField=this._bitField&-65536|E&65535},C.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},C.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},C.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},C.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},C.prototype._isFinal=function(){return(this._bitField&4194304)>0},C.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},C.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},C.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},C.prototype._setAsyncGuaranteed=function(){if(u.hasCustomScheduler())return;this._bitField=this._bitField|134217728},C.prototype._receiverAt=function(E){var R=E===0?this._receiver0:this[E*4-4+3];if(R===i)return;else if(R===void 0&&this._isBound())return this._boundValue();return R},C.prototype._promiseAt=function(E){return this[E*4-4+2]},C.prototype._fulfillmentHandlerAt=function(E){return this[E*4-4+0]},C.prototype._rejectionHandlerAt=function(E){return this[E*4-4+1]},C.prototype._boundValue=function(){},C.prototype._migrateCallback0=function(E){var{_bitField:R,_fulfillmentHandler0:k,_rejectionHandler0:F,_promise0:B}=E,j=E._receiverAt(0);if(j===void 0)j=i;this._addCallbacks(k,F,B,j,null)},C.prototype._migrateCallbackAt=function(E,R){var k=E._fulfillmentHandlerAt(R),F=E._rejectionHandlerAt(R),B=E._promiseAt(R),j=E._receiverAt(R);if(j===void 0)j=i;this._addCallbacks(k,F,B,j,null)},C.prototype._addCallbacks=function(E,R,k,F,B){var j=this._length();if(j>=65531)j=0,this._setLength(0);if(j===0){if(this._promise0=k,this._receiver0=F,typeof E==="function")this._fulfillmentHandler0=B===null?E:o.domainBind(B,E);if(typeof R==="function")this._rejectionHandler0=B===null?R:o.domainBind(B,R)}else{var K=j*4-4;if(this[K+2]=k,this[K+3]=F,typeof E==="function")this[K+0]=B===null?E:o.domainBind(B,E);if(typeof R==="function")this[K+1]=B===null?R:o.domainBind(B,R)}return this._setLength(j+1),j},C.prototype._proxy=function(E,R){this._addCallbacks(void 0,void 0,R,E,null)},C.prototype._resolveCallback=function(E,R){if((this._bitField&117506048)!==0)return;if(E===this)return this._rejectCallback(e(),!1);var k=v(E,this);if(!(k instanceof C))return this._fulfill(E);if(R)this._propagateFrom(k,2);var F=k._target();if(F===this){this._reject(e());return}var B=F._bitField;if((B&50397184)===0){var j=this._length();if(j>0)F._migrateCallback0(this);for(var K=1;K<j;++K)F._migrateCallbackAt(this,K);this._setFollowing(),this._setLength(0),this._setFollowee(F)}else if((B&33554432)!==0)this._fulfill(F._value());else if((B&16777216)!==0)this._reject(F._reason());else{var Q=new p("late cancellation observer");F._attachExtraTrace(Q),this._reject(Q)}},C.prototype._rejectCallback=function(E,R,k){var F=o.ensureErrorObject(E),B=F===E;if(!B&&!k&&w.warnings()){var j="a promise was rejected with a non-error: "+o.classString(E);this._warn(j,!0)}this._attachExtraTrace(F,R?B:!1),this._reject(E)},C.prototype._resolveFromExecutor=function(E){var R=this;this._captureStackTrace(),this._pushContext();var k=!0,F=this._execute(E,function(B){R._resolveCallback(B)},function(B){R._rejectCallback(B,k)});if(k=!1,this._popContext(),F!==void 0)R._rejectCallback(F,!0)},C.prototype._settlePromiseFromHandler=function(E,R,k,F){var B=F._bitField;if((B&65536)!==0)return;F._pushContext();var j;if(R===g)if(!k||typeof k.length!=="number")j=S,j.e=new f("cannot .spread() a non-array: "+o.classString(k));else j=M(E).apply(this._boundValue(),k);else j=M(E).call(R,k);var K=F._popContext();if(B=F._bitField,(B&65536)!==0)return;if(j===b)F._reject(k);else if(j===S)F._rejectCallback(j.e,!1);else w.checkForgottenReturns(j,K,"",F,this),F._resolveCallback(j)},C.prototype._target=function(){var E=this;while(E._isFollowing())E=E._followee();return E},C.prototype._followee=function(){return this._rejectionHandler0},C.prototype._setFollowee=function(E){this._rejectionHandler0=E},C.prototype._settlePromise=function(E,R,k,F){var B=E instanceof C,j=this._bitField,K=(j&134217728)!==0;if((j&65536)!==0){if(B)E._invokeInternalOnCancel();if(k instanceof T&&k.isFinallyHandler()){if(k.cancelPromise=E,M(R).call(k,F)===S)E._reject(S.e)}else if(R===t)E._fulfill(t.call(k));else if(k instanceof r)k._promiseCancelled(E);else if(B||E instanceof y)E._cancel();else k.cancel()}else if(typeof R==="function")if(!B)R.call(k,F,E);else{if(K)E._setAsyncGuaranteed();this._settlePromiseFromHandler(R,k,F,E)}else if(k instanceof r){if(!k._isResolved())if((j&33554432)!==0)k._promiseFulfilled(F,E);else k._promiseRejected(F,E)}else if(B){if(K)E._setAsyncGuaranteed();if((j&33554432)!==0)E._fulfill(F);else E._reject(F)}},C.prototype._settlePromiseLateCancellationObserver=function(E){var{handler:R,promise:k,receiver:F,value:B}=E;if(typeof R==="function")if(!(k instanceof C))R.call(F,B,k);else this._settlePromiseFromHandler(R,F,B,k);else if(k instanceof C)k._reject(B)},C.prototype._settlePromiseCtx=function(E){this._settlePromise(E.promise,E.handler,E.receiver,E.value)},C.prototype._settlePromise0=function(E,R,k){var F=this._promise0,B=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(F,E,B,R)},C.prototype._clearCallbackDataAtIndex=function(E){var R=E*4-4;this[R+2]=this[R+3]=this[R+0]=this[R+1]=void 0},C.prototype._fulfill=function(E){var R=this._bitField;if((R&117506048)>>>16)return;if(E===this){var k=e();return this._attachExtraTrace(k),this._reject(k)}if(this._setFulfilled(),this._rejectionHandler0=E,(R&65535)>0)if((R&134217728)!==0)this._settlePromises();else u.settlePromises(this)},C.prototype._reject=function(E){var R=this._bitField;if((R&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=E,this._isFinal())return u.fatalError(E,o.isNode);if((R&65535)>0)u.settlePromises(this);else this._ensurePossibleRejectionHandled()},C.prototype._fulfillPromises=function(E,R){for(var k=1;k<E;k++){var F=this._fulfillmentHandlerAt(k),B=this._promiseAt(k),j=this._receiverAt(k);this._clearCallbackDataAtIndex(k),this._settlePromise(B,F,j,R)}},C.prototype._rejectPromises=function(E,R){for(var k=1;k<E;k++){var F=this._rejectionHandlerAt(k),B=this._promiseAt(k),j=this._receiverAt(k);this._clearCallbackDataAtIndex(k),this._settlePromise(B,F,j,R)}},C.prototype._settlePromises=function(){var E=this._bitField,R=E&65535;if(R>0){if((E&16842752)!==0){var k=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,k,E),this._rejectPromises(R,k)}else{var F=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,F,E),this._fulfillPromises(R,F)}this._setLength(0)}this._clearCancellationData()},C.prototype._settledValue=function(){var E=this._bitField;if((E&33554432)!==0)return this._rejectionHandler0;else if((E&16777216)!==0)return this._fulfillmentHandler0};function L(E){this.promise._resolveCallback(E)}function W(E){this.promise._rejectCallback(E,!1)}C.defer=C.pending=function(){w.deprecated("Promise.defer","new Promise");var E=new C(h);return{promise:E,resolve:L,reject:W}},o.notEnumerableProp(C,"_makeSelfResolutionError",e),HT()(C,h,v,n,w),zT()(C,h,v,w),XT()(C,y,n,w),ZT()(C),JT()(C),eC()(C,y,v,h,u,s),C.Promise=C,C.version="3.4.7",nC()(C,y,n,v,h,w),iC()(C),sC()(C,n,v,m,h,w),cC()(C,h,w),lC()(C,n,h,v,r,w),fC()(C),hC()(C,h),mC()(C,y,v,n),bC()(C,h,v,n),xC()(C,y,n,v,h,w),_C()(C,y,w),EC()(C,y,n),TC()(C,h),AC()(C,h),UC()(C),o.toFastProperties(C),o.toFastProperties(C.prototype);function H(E){var R=new C(h);R._fulfillmentHandler0=E,R._rejectionHandler0=E,R._promise0=E,R._receiver0=E}return H({a:1}),H({b:2}),H({c:3}),H(1),H(function(){}),H(void 0),H(!1),H(new C(h)),w.setBounds(c.firstLineError,o.lastLineError),C}});var Jn=U(function(nH){var eH=We(),Ot=RC()();nH.defer=tH;nH.when=Ot.resolve;nH.resolve=Ot.resolve;nH.all=Ot.all;nH.props=Ot.props;nH.reject=Ot.reject;nH.promisify=Ot.promisify;nH.mapSeries=Ot.mapSeries;nH.attempt=Ot.attempt;nH.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1),n=Ot.promisify(e);return n.apply(null,t)};Ot.prototype.fail=Ot.prototype.caught;Ot.prototype.also=function(e){return this.then(function(t){var n=eH.extend({},t,e(t));return Ot.props(n)})};function tH(){var e,t,n=new Ot.Promise(function(r,i){e=r,t=i});return{resolve:e,reject:t,promise:n}}});var $r=U(function(UH){var pH=We(),at=UH.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function hH(e,t){return t=t||{},{type:at.document,children:e,notes:t.notes||new Od({}),comments:t.comments||[]}}function gH(e,t){t=t||{};var n=t.indent||{};return{type:at.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function mH(e,t){return t=t||{},{type:at.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||FC.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var FC={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function yH(e){return{type:at.text,value:e}}function bH(){return{type:at.tab}}function vH(e){return{type:at.checkbox,checked:e.checked}}function xH(e,t){return{type:at.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function wH(e){return{type:at.noteReference,noteType:e.noteType,noteId:e.noteId}}function Od(e){this._notes=pH.indexBy(e,function(t){return PC(t.noteType,t.noteId)})}Od.prototype.resolve=function(e){return this.findNoteByKey(PC(e.noteType,e.noteId))};Od.prototype.findNoteByKey=function(e){return this._notes[e]||null};function _H(e){return{type:at.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function DH(e){return{type:at.commentReference,commentId:e.commentId}}function EH(e){return{type:at.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function PC(e,t){return e+"-"+t}function SH(e){return{type:at.image,read:function(t){if(t)return e.readImage(t);else return e.readImage().then(function(n){return Buffer.from(n)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then(function(t){return Buffer.from(t)})},altText:e.altText,contentType:e.contentType}}function TH(e,t){return t=t||{},{type:at.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function CH(e,t){return t=t||{},{type:at.tableRow,children:e,isHeader:t.isHeader||!1}}function AH(e,t){return t=t||{},{type:at.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function zy(e){return{type:at.break,breakType:e}}function kH(e){return{type:at.bookmarkStart,name:e.name}}UH.document=UH.Document=hH;UH.paragraph=UH.Paragraph=gH;UH.run=UH.Run=mH;UH.text=UH.Text=yH;UH.tab=UH.Tab=bH;UH.checkbox=UH.Checkbox=vH;UH.Hyperlink=xH;UH.noteReference=UH.NoteReference=wH;UH.Notes=Od;UH.Note=_H;UH.commentReference=DH;UH.comment=EH;UH.Image=SH;UH.Table=TH;UH.TableRow=CH;UH.TableCell=AH;UH.lineBreak=zy("line");UH.pageBreak=zy("page");UH.columnBreak=zy("column");UH.BookmarkStart=kH;UH.verticalAlignment=FC});var Sn=U(function(rG){var za=We();rG.Result=En;rG.success=JH;rG.warning=QH;rG.error=eG;function En(e,t){this.value=e,this.messages=t||[]}En.prototype.map=function(e){return new En(e(this.value),this.messages)};En.prototype.flatMap=function(e){var t=e(this.value);return new En(t.value,Vy([this,t]))};En.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(n){return new En(n.value,Vy([t,n]))})};En.combine=function(e){var t=za.flatten(za.pluck(e,"value")),n=Vy(e);return new En(t,n)};function JH(e){return new En(e,[])}function QH(e){return{type:"warning",message:e}}function eG(e){return{type:"error",message:e.message,error:e}}function Vy(e){var t=[];return za.flatten(za.pluck(e,"messages"),!0).forEach(function(n){if(!tG(t,n))t.push(n)}),t}function tG(e,t){return za.find(e,nG.bind(null,t))!==void 0}function nG(e,t){return e.type===t.type&&e.message===t.message}});var IC=U(function(gG){gG.byteLength=uG;gG.toByteArray=dG;gG.fromByteArray=hG;var Tn=[],Kt=[],cG=typeof Uint8Array<"u"?Uint8Array:Array,Xy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Hr=0,Ky=Xy.length;Hr<Ky;++Hr)Tn[Hr]=Xy[Hr],Kt[Xy.charCodeAt(Hr)]=Hr;var Hr,Ky;Kt[45]=62;Kt[95]=63;function OC(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");if(n===-1)n=t;var r=n===t?0:4-n%4;return[n,r]}function uG(e){var t=OC(e),n=t[0],r=t[1];return(n+r)*3/4-r}function lG(e,t,n){return(t+n)*3/4-n}function dG(e){var t,n=OC(e),r=n[0],i=n[1],o=new cG(lG(e,r,i)),s=0,a=i>0?r-4:r,c;for(c=0;c<a;c+=4)t=Kt[e.charCodeAt(c)]<<18|Kt[e.charCodeAt(c+1)]<<12|Kt[e.charCodeAt(c+2)]<<6|Kt[e.charCodeAt(c+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=t&255;if(i===2)t=Kt[e.charCodeAt(c)]<<2|Kt[e.charCodeAt(c+1)]>>4,o[s++]=t&255;if(i===1)t=Kt[e.charCodeAt(c)]<<10|Kt[e.charCodeAt(c+1)]<<4|Kt[e.charCodeAt(c+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255;return o}function fG(e){return Tn[e>>18&63]+Tn[e>>12&63]+Tn[e>>6&63]+Tn[e&63]}function pG(e,t,n){var r,i=[];for(var o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(fG(r));return i.join("")}function hG(e){var t,n=e.length,r=n%3,i=[],o=16383;for(var s=0,a=n-r;s<a;s+=o)i.push(pG(e,s,s+o>a?a:s+o));if(r===1)t=e[n-1],i.push(Tn[t>>2]+Tn[t<<4&63]+"==");else if(r===2)t=(e[n-2]<<8)+e[n-1],i.push(Tn[t>>10]+Tn[t>>4&63]+Tn[t<<2&63]+"=");return i.join("")}});var Va=U(function(g1e,Zy){if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)Zy.exports={nextTick:vG};else Zy.exports=process;function vG(e,t,n,r){if(typeof e!=="function")throw TypeError('"callback" argument must be a function');var i=arguments.length,o,s;switch(i){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,n)});case 4:return process.nextTick(function(){e.call(null,t,n,r)});default:o=Array(i-1),s=0;while(s<o.length)o[s++]=arguments[s];return process.nextTick(function(){e.apply(null,o)})}}});var NC=U(function(m1e,MC){var xG={}.toString;MC.exports=Array.isArray||function(e){return xG.call(e)=="[object Array]"}});var Md=U(function(Yy,BC){var Id=ne("buffer"),Qn=Id.Buffer;function LC(e,t){for(var n in e)t[n]=e[n]}if(Qn.from&&Qn.alloc&&Qn.allocUnsafe&&Qn.allocUnsafeSlow)BC.exports=Id;else LC(Id,Yy),Yy.Buffer=$o;function $o(e,t,n){return Qn(e,t,n)}LC(Qn,$o);$o.from=function(e,t,n){if(typeof e==="number")throw TypeError("Argument must not be a number");return Qn(e,t,n)};$o.alloc=function(e,t,n){if(typeof e!=="number")throw TypeError("Argument must be a number");var r=Qn(e);if(t!==void 0)if(typeof n==="string")r.fill(t,n);else r.fill(t);else r.fill(0);return r};$o.allocUnsafe=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return Qn(e)};$o.allocUnsafeSlow=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return Id.SlowBuffer(e)}});var Ho=U(function(IG){function wG(e){if(Array.isArray)return Array.isArray(e);return Nd(e)==="[object Array]"}IG.isArray=wG;function _G(e){return typeof e==="boolean"}IG.isBoolean=_G;function DG(e){return e===null}IG.isNull=DG;function EG(e){return e==null}IG.isNullOrUndefined=EG;function SG(e){return typeof e==="number"}IG.isNumber=SG;function TG(e){return typeof e==="string"}IG.isString=TG;function CG(e){return typeof e==="symbol"}IG.isSymbol=CG;function AG(e){return e===void 0}IG.isUndefined=AG;function kG(e){return Nd(e)==="[object RegExp]"}IG.isRegExp=kG;function UG(e){return typeof e==="object"&&e!==null}IG.isObject=UG;function RG(e){return Nd(e)==="[object Date]"}IG.isDate=RG;function FG(e){return Nd(e)==="[object Error]"||e instanceof Error}IG.isError=FG;function PG(e){return typeof e==="function"}IG.isFunction=PG;function OG(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e>"u"}IG.isPrimitive=OG;IG.isBuffer=ne("buffer").Buffer.isBuffer;function Nd(e){return Object.prototype.toString.call(e)}});var WC=U(function(b1e,Jy){if(typeof Object.create==="function")Jy.exports=function(t,n){if(n)t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})};else Jy.exports=function(t,n){if(n){t.super_=n;var r=function(){};r.prototype=n.prototype,t.prototype=new r,t.prototype.constructor=t}}});var Go=U(function(v1e,Qy){try{if(Ld=ne("util"),typeof Ld.inherits!=="function")throw"";Qy.exports=Ld.inherits}catch(e){Qy.exports=WC()}var Ld});var qC=U(function(x1e,eb){function YG(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var jC=Md().Buffer,Xa=ne("util");function JG(e,t,n){e.copy(t,n)}eb.exports=function(){function e(){YG(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var r={data:n,next:null};if(this.length>0)this.tail.next=r;else this.head=r;this.tail=r,++this.length},e.prototype.unshift=function(n){var r={data:n,next:this.head};if(this.length===0)this.tail=r;this.head=r,++this.length},e.prototype.shift=function(){if(this.length===0)return;var n=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,n},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(n){if(this.length===0)return"";var r=this.head,i=""+r.data;while(r=r.next)i+=n+r.data;return i},e.prototype.concat=function(n){if(this.length===0)return jC.alloc(0);var r=jC.allocUnsafe(n>>>0),i=this.head,o=0;while(i)JG(i.data,r,o),o+=i.data.length,i=i.next;return r},e}();if(Xa&&Xa.inspect&&Xa.inspect.custom)eb.exports.prototype[Xa.inspect.custom]=function(){var e=Xa.inspect({length:this.length});return this.constructor.name+" "+e}});var tb=U(function(w1e,$C){var Bd=Va();function QG(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;if(r||i){if(t)t(e);else if(e){if(!this._writableState)Bd.nextTick(Wd,this,e);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,Bd.nextTick(Wd,this,e)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(e||null,function(o){if(!t&&o){if(!n._writableState)Bd.nextTick(Wd,n,o);else if(!n._writableState.errorEmitted)n._writableState.errorEmitted=!0,Bd.nextTick(Wd,n,o)}else if(t)t(o)}),this}function ez(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Wd(e,t){e.emit("error",t)}$C.exports={destroy:QG,undestroy:ez}});var GC=U(function(_1e,HC){HC.exports=ne("util").deprecate});var rb=U(function(D1e,QC){var Ni=Va();QC.exports=Ve;function VC(e){var t=this;this.next=null,this.entry=null,this.finish=function(){bz(t,e)}}var tz=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Ni.nextTick,zo;Ve.WritableState=Za;var XC=Object.create(Ho());XC.inherits=Go();var nz={deprecate:GC()},KC=ne("stream"),qd=Md().Buffer,rz=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function iz(e){return qd.from(e)}function oz(e){return qd.isBuffer(e)||e instanceof rz}var ZC=tb();XC.inherits(Ve,KC);function sz(){}function Za(e,t){zo=zo||Li(),e=e||{};var n=t instanceof zo;if(this.objectMode=!!e.objectMode,n)this.objectMode=this.objectMode||!!e.writableObjectMode;var r=e.highWaterMark,i=e.writableHighWaterMark,o=this.objectMode?16:16384;if(r||r===0)this.highWaterMark=r;else if(n&&(i||i===0))this.highWaterMark=i;else this.highWaterMark=o;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=e.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){pz(t,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new VC(this)}Za.prototype.getBuffer=function(){var t=this.bufferedRequest,n=[];while(t)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(Za.prototype,"buffer",{get:nz.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}})();var jd;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")jd=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ve,Symbol.hasInstance,{value:function(e){if(jd.call(this,e))return!0;if(this!==Ve)return!1;return e&&e._writableState instanceof Za}});else jd=function(e){return e instanceof this};function Ve(e){if(zo=zo||Li(),!jd.call(Ve,this)&&!(this instanceof zo))return new Ve(e);if(this._writableState=new Za(e,this),this.writable=!0,e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}KC.call(this)}Ve.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function az(e,t){var n=Error("write after end");e.emit("error",n),Ni.nextTick(t,n)}function cz(e,t,n,r){var i=!0,o=!1;if(n===null)o=TypeError("May not write null values to stream");else if(typeof n!=="string"&&n!==void 0&&!t.objectMode)o=TypeError("Invalid non-string/buffer chunk");if(o)e.emit("error",o),Ni.nextTick(r,o),i=!1;return i}Ve.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&oz(e);if(o&&!qd.isBuffer(e))e=iz(e);if(typeof t==="function")n=t,t=null;if(o)t="buffer";else if(!t)t=r.defaultEncoding;if(typeof n!=="function")n=sz;if(r.ended)az(this,n);else if(o||cz(this,r,e,n))r.pendingcb++,i=lz(this,r,o,e,t,n);return i};Ve.prototype.cork=function(){var e=this._writableState;e.corked++};Ve.prototype.uncork=function(){var e=this._writableState;if(e.corked){if(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)YC(this,e)}};Ve.prototype.setDefaultEncoding=function(t){if(typeof t==="string")t=t.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function uz(e,t,n){if(!e.objectMode&&e.decodeStrings!==!1&&typeof t==="string")t=qd.from(t,n);return t}Object.defineProperty(Ve.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function lz(e,t,n,r,i,o){if(!n){var s=uz(t,r,i);if(r!==s)n=!0,i="buffer",r=s}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;if(!c)t.needDrain=!0;if(t.writing||t.corked){var u=t.lastBufferedRequest;if(t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u)u.next=t.lastBufferedRequest;else t.bufferedRequest=t.lastBufferedRequest;t.bufferedRequestCount+=1}else nb(e,t,!1,a,r,i,o);return c}function nb(e,t,n,r,i,o,s){if(t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n)e._writev(i,t.onwrite);else e._write(i,o,t.onwrite);t.sync=!1}function dz(e,t,n,r,i){if(--t.pendingcb,n)Ni.nextTick(i,r),Ni.nextTick(Ka,e,t),e._writableState.errorEmitted=!0,e.emit("error",r);else i(r),e._writableState.errorEmitted=!0,e.emit("error",r),Ka(e,t)}function fz(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function pz(e,t){var n=e._writableState,{sync:r,writecb:i}=n;if(fz(n),t)dz(e,n,r,t,i);else{var o=JC(n);if(!o&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest)YC(e,n);if(r)tz(zC,e,n,o,i);else zC(e,n,o,i)}}function zC(e,t,n,r){if(!n)hz(e,t);t.pendingcb--,r(),Ka(e,t)}function hz(e,t){if(t.length===0&&t.needDrain)t.needDrain=!1,e.emit("drain")}function YC(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=Array(r),o=t.corkedRequestsFree;o.entry=n;var s=0,a=!0;while(n){if(i[s]=n,!n.isBuf)a=!1;n=n.next,s+=1}if(i.allBuffers=a,nb(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next)t.corkedRequestsFree=o.next,o.next=null;else t.corkedRequestsFree=new VC(t);t.bufferedRequestCount=0}else{while(n){var c=n.chunk,u=n.encoding,d=n.callback,f=t.objectMode?1:c.length;if(nb(e,t,!1,f,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}if(n===null)t.lastBufferedRequest=null}t.bufferedRequest=n,t.bufferProcessing=!1}Ve.prototype._write=function(e,t,n){n(Error("_write() is not implemented"))};Ve.prototype._writev=null;Ve.prototype.end=function(e,t,n){var r=this._writableState;if(typeof e==="function")n=e,e=null,t=null;else if(typeof t==="function")n=t,t=null;if(e!==null&&e!==void 0)this.write(e,t);if(r.corked)r.corked=1,this.uncork();if(!r.ending)yz(this,r,n)};function JC(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function gz(e,t){e._final(function(n){if(t.pendingcb--,n)e.emit("error",n);t.prefinished=!0,e.emit("prefinish"),Ka(e,t)})}function mz(e,t){if(!t.prefinished&&!t.finalCalled)if(typeof e._final==="function")t.pendingcb++,t.finalCalled=!0,Ni.nextTick(gz,e,t);else t.prefinished=!0,e.emit("prefinish")}function Ka(e,t){var n=JC(t);if(n){if(mz(e,t),t.pendingcb===0)t.finished=!0,e.emit("finish")}return n}function yz(e,t,n){if(t.ending=!0,Ka(e,t),n)if(t.finished)Ni.nextTick(n);else e.once("finish",n);t.ended=!0,e.writable=!1}function bz(e,t,n){var r=e.entry;e.entry=null;while(r){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}Object.defineProperty(Ve.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(e){if(!this._writableState)return;this._writableState.destroyed=e}});Ve.prototype.destroy=ZC.destroy;Ve.prototype._undestroy=ZC.undestroy;Ve.prototype._destroy=function(e,t){this.end(),t(e)}});var Li=U(function(E1e,rA){var eA=Va(),vz=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};rA.exports=er;var tA=Object.create(Ho());tA.inherits=Go();var nA=ob(),ib=rb();tA.inherits(er,nA);{$d=vz(ib.prototype);for(Ya=0;Ya<$d.length;Ya++)if(Ja=$d[Ya],!er.prototype[Ja])er.prototype[Ja]=ib.prototype[Ja]}var $d,Ja,Ya;function er(e){if(!(this instanceof er))return new er(e);if(nA.call(this,e),ib.call(this,e),e&&e.readable===!1)this.readable=!1;if(e&&e.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",xz)}Object.defineProperty(er.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function xz(){if(this.allowHalfOpen||this._writableState.ended)return;eA.nextTick(wz,this)}function wz(e){e.end()}Object.defineProperty(er.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(e){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=e,this._writableState.destroyed=e}});er.prototype._destroy=function(e,t){this.push(null),this.end(),eA.nextTick(t,e)}});var sA=U(function(sb,oA){var Hd=ne("buffer"),tr=Hd.Buffer;function iA(e,t){for(var n in e)t[n]=e[n]}if(tr.from&&tr.alloc&&tr.allocUnsafe&&tr.allocUnsafeSlow)oA.exports=Hd;else iA(Hd,sb),sb.Buffer=Vo;function Vo(e,t,n){return tr(e,t,n)}iA(tr,Vo);Vo.from=function(e,t,n){if(typeof e==="number")throw TypeError("Argument must not be a number");return tr(e,t,n)};Vo.alloc=function(e,t,n){if(typeof e!=="number")throw TypeError("Argument must be a number");var r=tr(e);if(t!==void 0)if(typeof n==="string")r.fill(t,n);else r.fill(t);else r.fill(0);return r};Vo.allocUnsafe=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return tr(e)};Vo.allocUnsafeSlow=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return Hd.SlowBuffer(e)}});var ub=U(function(Iz){var cb=sA().Buffer,aA=cb.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _z(e){if(!e)return"utf8";var t;while(!0)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function Dz(e){var t=_z(e);if(typeof t!=="string"&&(cb.isEncoding===aA||!aA(e)))throw Error("Unknown encoding: "+e);return t||e}Iz.StringDecoder=Qa;function Qa(e){this.encoding=Dz(e);var t;switch(this.encoding){case"utf16le":this.text=kz,this.end=Uz,t=4;break;case"utf8":this.fillLast=Tz,t=4;break;case"base64":this.text=Rz,this.end=Fz,t=3;break;default:this.write=Pz,this.end=Oz;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=cb.allocUnsafe(t)}Qa.prototype.write=function(e){if(e.length===0)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;if(n<e.length)return t?t+this.text(e,n):this.text(e,n);return t||""};Qa.prototype.end=Az;Qa.prototype.text=Cz;Qa.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function ab(e){if(e<=127)return 0;else if(e>>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function Ez(e,t,n){var r=t.length-1;if(r<n)return 0;var i=ab(t[r]);if(i>=0){if(i>0)e.lastNeed=i-1;return i}if(--r<n||i===-2)return 0;if(i=ab(t[r]),i>=0){if(i>0)e.lastNeed=i-2;return i}if(--r<n||i===-2)return 0;if(i=ab(t[r]),i>=0){if(i>0)if(i===2)i=0;else e.lastNeed=i-3;return i}return 0}function Sz(e,t,n){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128)return e.lastNeed=2,"�"}}}function Tz(e){var t=this.lastTotal-this.lastNeed,n=Sz(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function Cz(e,t){var n=Ez(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function Az(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function kz(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Uz(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function Rz(e,t){var n=(e.length-t)%3;if(n===0)return e.toString("base64",t);if(this.lastNeed=3-n,this.lastTotal=3,n===1)this.lastChar[0]=e[e.length-1];else this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1];return e.toString("base64",t,e.length-n)}function Fz(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function Pz(e){return e.toString(this.encoding)}function Oz(e){return e&&e.length?this.write(e):""}});var ob=U(function(C1e,vA){var Ko=Va();vA.exports=Ae;var Nz=NC(),ec;Ae.ReadableState=hA;var T1e=ne("events").EventEmitter,dA=function(e,t){return e.listeners(t).length},hb=ne("stream"),tc=Md().Buffer,Lz=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Bz(e){return tc.from(e)}function Wz(e){return tc.isBuffer(e)||e instanceof Lz}var fA=Object.create(Ho());fA.inherits=Go();var lb=ne("util"),ye=void 0;if(lb&&lb.debuglog)ye=lb.debuglog("stream");else ye=function(){};var jz=qC(),pA=tb(),Xo;fA.inherits(Ae,hb);var db=["error","close","destroy","pause","resume"];function qz(e,t,n){if(typeof e.prependListener==="function")return e.prependListener(t,n);if(!e._events||!e._events[t])e.on(t,n);else if(Nz(e._events[t]))e._events[t].unshift(n);else e._events[t]=[n,e._events[t]]}function hA(e,t){ec=ec||Li(),e=e||{};var n=t instanceof ec;if(this.objectMode=!!e.objectMode,n)this.objectMode=this.objectMode||!!e.readableObjectMode;var r=e.highWaterMark,i=e.readableHighWaterMark,o=this.objectMode?16:16384;if(r||r===0)this.highWaterMark=r;else if(n&&(i||i===0))this.highWaterMark=i;else this.highWaterMark=o;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new jz,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding){if(!Xo)Xo=ub().StringDecoder;this.decoder=new Xo(e.encoding),this.encoding=e.encoding}}function Ae(e){if(ec=ec||Li(),!(this instanceof Ae))return new Ae(e);if(this._readableState=new hA(e,this),this.readable=!0,e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}hb.call(this)}Object.defineProperty(Ae.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(e){if(!this._readableState)return;this._readableState.destroyed=e}});Ae.prototype.destroy=pA.destroy;Ae.prototype._undestroy=pA.undestroy;Ae.prototype._destroy=function(e,t){this.push(null),t(e)};Ae.prototype.push=function(e,t){var n=this._readableState,r;if(!n.objectMode){if(typeof e==="string"){if(t=t||n.defaultEncoding,t!==n.encoding)e=tc.from(e,t),t="";r=!0}}else r=!0;return gA(this,e,t,!1,r)};Ae.prototype.unshift=function(e){return gA(this,e,null,!0,!1)};function gA(e,t,n,r,i){var o=e._readableState;if(t===null)o.reading=!1,zz(e,o);else{var s;if(!i)s=$z(o,t);if(s)e.emit("error",s);else if(o.objectMode||t&&t.length>0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==tc.prototype)t=Bz(t);if(r)if(o.endEmitted)e.emit("error",Error("stream.unshift() after end event"));else fb(e,o,t,!0);else if(o.ended)e.emit("error",Error("stream.push() after EOF"));else if(o.reading=!1,o.decoder&&!n)if(t=o.decoder.write(t),o.objectMode||t.length!==0)fb(e,o,t,!1);else mA(e,o);else fb(e,o,t,!1)}else if(!r)o.reading=!1}return Hz(o)}function fb(e,t,n,r){if(t.flowing&&t.length===0&&!t.sync)e.emit("data",n),e.read(0);else{if(t.length+=t.objectMode?1:n.length,r)t.buffer.unshift(n);else t.buffer.push(n);if(t.needReadable)Gd(e)}mA(e,t)}function $z(e,t){var n;if(!Wz(t)&&typeof t!=="string"&&t!==void 0&&!e.objectMode)n=TypeError("Invalid non-string/buffer chunk");return n}function Hz(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Ae.prototype.isPaused=function(){return this._readableState.flowing===!1};Ae.prototype.setEncoding=function(e){if(!Xo)Xo=ub().StringDecoder;return this._readableState.decoder=new Xo(e),this._readableState.encoding=e,this};var cA=8388608;function Gz(e){if(e>=cA)e=cA;else e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++;return e}function uA(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;if(e>t.highWaterMark)t.highWaterMark=Gz(e);if(e<=t.length)return e;if(!t.ended)return t.needReadable=!0,0;return t.length}Ae.prototype.read=function(e){ye("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0)t.emittedReadable=!1;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){if(ye("read: emitReadable",t.length,t.ended),t.length===0&&t.ended)pb(this);else Gd(this);return null}if(e=uA(e,t),e===0&&t.ended){if(t.length===0)pb(this);return null}var r=t.needReadable;if(ye("need readable",r),t.length===0||t.length-e<t.highWaterMark)r=!0,ye("length less than watermark",r);if(t.ended||t.reading)r=!1,ye("reading or ended",r);else if(r){if(ye("do read"),t.reading=!0,t.sync=!0,t.length===0)t.needReadable=!0;if(this._read(t.highWaterMark),t.sync=!1,!t.reading)e=uA(n,t)}var i;if(e>0)i=yA(e,t);else i=null;if(i===null)t.needReadable=!0,e=0;else t.length-=e;if(t.length===0){if(!t.ended)t.needReadable=!0;if(n!==e&&t.ended)pb(this)}if(i!==null)this.emit("data",i);return i};function zz(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();if(n&&n.length)t.buffer.push(n),t.length+=t.objectMode?1:n.length}t.ended=!0,Gd(e)}function Gd(e){var t=e._readableState;if(t.needReadable=!1,!t.emittedReadable)if(ye("emitReadable",t.flowing),t.emittedReadable=!0,t.sync)Ko.nextTick(lA,e);else lA(e)}function lA(e){ye("emit readable"),e.emit("readable"),gb(e)}function mA(e,t){if(!t.readingMore)t.readingMore=!0,Ko.nextTick(Vz,e,t)}function Vz(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark)if(ye("maybeReadMore read 0"),e.read(0),n===t.length)break;else n=t.length;t.readingMore=!1}Ae.prototype._read=function(e){this.emit("error",Error("_read() is not implemented"))};Ae.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,ye("pipe count=%d opts=%j",r.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,o=i?a:v;if(r.endEmitted)Ko.nextTick(o);else n.once("end",o);e.on("unpipe",s);function s(y,x){if(ye("onunpipe"),y===n){if(x&&x.hasUnpiped===!1)x.hasUnpiped=!0,d()}}function a(){ye("onend"),e.end()}var c=Xz(n);e.on("drain",c);var u=!1;function d(){if(ye("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",a),n.removeListener("end",v),n.removeListener("data",p),u=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain))c()}var f=!1;n.on("data",p);function p(y){ye("ondata"),f=!1;var x=e.write(y);if(x===!1&&!f){if((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&bA(r.pipes,e)!==-1)&&!u)ye("false write response, pause",r.awaitDrain),r.awaitDrain++,f=!0;n.pause()}}function h(y){if(ye("onerror",y),v(),e.removeListener("error",h),dA(e,"error")===0)e.emit("error",y)}qz(e,"error",h);function g(){e.removeListener("finish",b),v()}e.once("close",g);function b(){ye("onfinish"),e.removeListener("close",g),v()}e.once("finish",b);function v(){ye("unpipe"),n.unpipe(e)}if(e.emit("pipe",n),!r.flowing)ye("pipe resume"),n.resume();return e};function Xz(e){return function(){var t=e._readableState;if(ye("pipeOnDrain",t.awaitDrain),t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&dA(e,"data"))t.flowing=!0,gb(e)}}Ae.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;if(t.pipes=null,t.pipesCount=0,t.flowing=!1,e)e.emit("unpipe",this,n);return this}if(!e){var{pipes:r,pipesCount:i}=t;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=bA(t.pipes,e);if(s===-1)return this;if(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1)t.pipes=t.pipes[0];return e.emit("unpipe",this,n),this};Ae.prototype.on=function(e,t){var n=hb.prototype.on.call(this,e,t);if(e==="data"){if(this._readableState.flowing!==!1)this.resume()}else if(e==="readable"){var r=this._readableState;if(!r.endEmitted&&!r.readableListening){if(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,!r.reading)Ko.nextTick(Kz,this);else if(r.length)Gd(this)}}return n};Ae.prototype.addListener=Ae.prototype.on;function Kz(e){ye("readable nexttick read 0"),e.read(0)}Ae.prototype.resume=function(){var e=this._readableState;if(!e.flowing)ye("resume"),e.flowing=!0,Zz(this,e);return this};function Zz(e,t){if(!t.resumeScheduled)t.resumeScheduled=!0,Ko.nextTick(Yz,e,t)}function Yz(e,t){if(!t.reading)ye("resume read 0"),e.read(0);if(t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),gb(e),t.flowing&&!t.reading)e.read(0)}Ae.prototype.pause=function(){if(ye("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)ye("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function gb(e){var t=e._readableState;ye("flow",t.flowing);while(t.flowing&&e.read()!==null);}Ae.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;e.on("end",function(){if(ye("wrapped end"),n.decoder&&!n.ended){var s=n.decoder.end();if(s&&s.length)t.push(s)}t.push(null)}),e.on("data",function(s){if(ye("wrapped data"),n.decoder)s=n.decoder.write(s);if(n.objectMode&&(s===null||s===void 0))return;else if(!n.objectMode&&(!s||!s.length))return;var a=t.push(s);if(!a)r=!0,e.pause()});for(var i in e)if(this[i]===void 0&&typeof e[i]==="function")this[i]=function(s){return function(){return e[s].apply(e,arguments)}}(i);for(var o=0;o<db.length;o++)e.on(db[o],this.emit.bind(this,db[o]));return this._read=function(s){if(ye("wrapped _read",s),r)r=!1,e.resume()},this};Object.defineProperty(Ae.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Ae._fromList=yA;function yA(e,t){if(t.length===0)return null;var n;if(t.objectMode)n=t.buffer.shift();else if(!e||e>=t.length){if(t.decoder)n=t.buffer.join("");else if(t.buffer.length===1)n=t.buffer.head.data;else n=t.buffer.concat(t.length);t.buffer.clear()}else n=Jz(e,t.buffer,t.decoder);return n}function Jz(e,t,n){var r;if(e<t.head.data.length)r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e);else if(e===t.head.data.length)r=t.shift();else r=n?Qz(e,t):eV(e,t);return r}function Qz(e,t){var n=t.head,r=1,i=n.data;e-=i.length;while(n=n.next){var o=n.data,s=e>o.length?o.length:e;if(s===o.length)i+=o;else i+=o.slice(0,e);if(e-=s,e===0){if(s===o.length)if(++r,n.next)t.head=n.next;else t.head=t.tail=null;else t.head=n,n.data=o.slice(s);break}++r}return t.length-=r,i}function eV(e,t){var n=tc.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;while(r=r.next){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),e-=s,e===0){if(s===o.length)if(++i,r.next)t.head=r.next;else t.head=t.tail=null;else t.head=r,r.data=o.slice(s);break}++i}return t.length-=i,n}function pb(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');if(!t.endEmitted)t.ended=!0,Ko.nextTick(tV,t,e)}function tV(e,t){if(!e.endEmitted&&e.length===0)e.endEmitted=!0,t.readable=!1,t.emit("end")}function bA(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}});var mb=U(function(A1e,_A){_A.exports=nr;var zd=Li(),wA=Object.create(Ho());wA.inherits=Go();wA.inherits(nr,zd);function nV(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",Error("write callback called multiple times"));if(n.writechunk=null,n.writecb=null,t!=null)this.push(t);r(e);var i=this._readableState;if(i.reading=!1,i.needReadable||i.length<i.highWaterMark)this._read(i.highWaterMark)}function nr(e){if(!(this instanceof nr))return new nr(e);if(zd.call(this,e),this._transformState={afterTransform:nV.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e){if(typeof e.transform==="function")this._transform=e.transform;if(typeof e.flush==="function")this._flush=e.flush}this.on("prefinish",rV)}function rV(){var e=this;if(typeof this._flush==="function")this._flush(function(t,n){xA(e,t,n)});else xA(this,null,null)}nr.prototype.push=function(e,t){return this._transformState.needTransform=!1,zd.prototype.push.call(this,e,t)};nr.prototype._transform=function(e,t,n){throw Error("_transform() is not implemented")};nr.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;if(r.needTransform||i.needReadable||i.length<i.highWaterMark)this._read(i.highWaterMark)}};nr.prototype._read=function(e){var t=this._transformState;if(t.writechunk!==null&&t.writecb&&!t.transforming)t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform);else t.needTransform=!0};nr.prototype._destroy=function(e,t){var n=this;zd.prototype._destroy.call(this,e,function(r){t(r),n.emit("close")})};function xA(e,t,n){if(t)return e.emit("error",t);if(n!=null)e.push(n);if(e._writableState.length)throw Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw Error("Calling transform done when still transforming");return e.push(null)}});var TA=U(function(k1e,SA){SA.exports=nc;var DA=mb(),EA=Object.create(Ho());EA.inherits=Go();EA.inherits(nc,DA);function nc(e){if(!(this instanceof nc))return new nc(e);DA.call(this,e)}nc.prototype._transform=function(e,t,n){n(null,e)}});var yb=U(function(ct,Vd){var Cn=ne("stream");if(process.env.READABLE_STREAM==="disable"&&Cn)Vd.exports=Cn,ct=Vd.exports=Cn.Readable,ct.Readable=Cn.Readable,ct.Writable=Cn.Writable,ct.Duplex=Cn.Duplex,ct.Transform=Cn.Transform,ct.PassThrough=Cn.PassThrough,ct.Stream=Cn;else ct=Vd.exports=ob(),ct.Stream=Cn||ct,ct.Readable=ct,ct.Writable=rb(),ct.Duplex=Li(),ct.Transform=mb(),ct.PassThrough=TA()});var rr=U(function(oV){oV.base64=!0;oV.array=!0;oV.string=!0;oV.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";oV.nodebuffer=typeof Buffer<"u";oV.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")oV.blob=!1;else{Xd=new ArrayBuffer(0);try{oV.blob=new Blob([Xd],{type:"application/zip"}).size===0}catch(e){try{vb=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Kd=new vb,Kd.append(Xd),oV.blob=Kd.getBlob("application/zip").size===0}catch(t){oV.blob=!1}}}var Xd,vb,Kd;try{oV.nodestream=!!yb().Readable}catch(e){oV.nodestream=!1}});var xb=U(function(hV){var fV=Ne(),pV=rr(),An="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";hV.encode=function(e){var t=[],n,r,i,o,s,a,c,u=0,d=e.length,f=d,p=fV.getTypeOf(e)!=="string";while(u<e.length){if(f=d-u,!p)n=e.charCodeAt(u++),r=u<d?e.charCodeAt(u++):0,i=u<d?e.charCodeAt(u++):0;else n=e[u++],r=u<d?e[u++]:0,i=u<d?e[u++]:0;o=n>>2,s=(n&3)<<4|r>>4,a=f>1?(r&15)<<2|i>>6:64,c=f>2?i&63:64,t.push(An.charAt(o)+An.charAt(s)+An.charAt(a)+An.charAt(c))}return t.join("")};hV.decode=function(e){var t,n,r,i,o,s,a,c=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9+/=]/g,"");var f=e.length*3/4;if(e.charAt(e.length-1)===An.charAt(64))f--;if(e.charAt(e.length-2)===An.charAt(64))f--;if(f%1!==0)throw Error("Invalid base64 input, bad content length.");var p;if(pV.uint8array)p=new Uint8Array(f|0);else p=Array(f|0);while(c<e.length){if(i=An.indexOf(e.charAt(c++)),o=An.indexOf(e.charAt(c++)),s=An.indexOf(e.charAt(c++)),a=An.indexOf(e.charAt(c++)),t=i<<2|o>>4,n=(o&15)<<4|s>>2,r=(s&3)<<6|a,p[u++]=t,s!==64)p[u++]=n;if(a!==64)p[u++]=r}return p}});var rc=U(function(F1e,CA){CA.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);else{if(typeof e==="number")throw Error('The "data" argument must not be a number');return new Buffer(e,t)}},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);else{var t=new Buffer(e);return t.fill(0),t}},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on==="function"&&typeof e.pause==="function"&&typeof e.resume==="function"}}});var UA=U(function(O1e,kA){var P1e=global.MutationObserver||global.WebKitMutationObserver,AA;AA=function(){process.nextTick(wV)};var yV,bV,vV,xV,wb,ic=[];function wV(){wb=!0;var e,t,n=ic.length;while(n){t=ic,ic=[],e=-1;while(++e<n)t[e]();n=ic.length}wb=!1}kA.exports=_V;function _V(e){if(ic.push(e)===1&&!wb)AA()}});var NA=U(function(I1e,MA){var RA=UA();function Yo(){}var yt={},FA=["REJECTED"],_b=["FULFILLED"],PA=["PENDING"];Zo=["UNHANDLED"];var Zo;MA.exports=Gr;function Gr(e){if(typeof e!=="function")throw TypeError("resolver must be a function");if(this.state=PA,this.queue=[],this.outcome=void 0,this.handled=Zo,e!==Yo)OA(this,e)}Gr.prototype.finally=function(e){if(typeof e!=="function")return this;var t=this.constructor;return this.then(n,r);function n(i){function o(){return i}return t.resolve(e()).then(o)}function r(i){function o(){throw i}return t.resolve(e()).then(o)}};Gr.prototype.catch=function(e){return this.then(null,e)};Gr.prototype.then=function(e,t){if(typeof e!=="function"&&this.state===_b||typeof t!=="function"&&this.state===FA)return this;var n=new this.constructor(Yo);if(this.handled===Zo)this.handled=null;if(this.state!==PA){var r=this.state===_b?e:t;Db(n,r,this.outcome)}else this.queue.push(new oc(n,e,t));return n};function oc(e,t,n){if(this.promise=e,typeof t==="function")this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled;if(typeof n==="function")this.onRejected=n,this.callRejected=this.otherCallRejected}oc.prototype.callFulfilled=function(e){yt.resolve(this.promise,e)};oc.prototype.otherCallFulfilled=function(e){Db(this.promise,this.onFulfilled,e)};oc.prototype.callRejected=function(e){yt.reject(this.promise,e)};oc.prototype.otherCallRejected=function(e){Db(this.promise,this.onRejected,e)};function Db(e,t,n){RA(function(){var r;try{r=t(n)}catch(i){return yt.reject(e,i)}if(r===e)yt.reject(e,TypeError("Cannot resolve promise with itself"));else yt.resolve(e,r)})}yt.resolve=function(e,t){var n=IA(DV,t);if(n.status==="error")return yt.reject(e,n.value);var r=n.value;if(r)OA(e,r);else{e.state=_b,e.outcome=t;var i=-1,o=e.queue.length;while(++i<o)e.queue[i].callFulfilled(t)}return e};yt.reject=function(e,t){if(e.state=FA,e.outcome=t,e.handled===Zo)RA(function(){if(e.handled===Zo)process.emit("unhandledRejection",t,e)});var n=-1,r=e.queue.length;while(++n<r)e.queue[n].callRejected(t);return e};function DV(e){var t=e&&e.then;if(e&&(typeof e==="object"||typeof e==="function")&&typeof t==="function")return function(){t.apply(e,arguments)}}function OA(e,t){var n=!1;function r(a){if(n)return;n=!0,yt.reject(e,a)}function i(a){if(n)return;n=!0,yt.resolve(e,a)}function o(){t(i,r)}var s=IA(o);if(s.status==="error")r(s.value)}function IA(e,t){var n={};try{n.value=e(t),n.status="success"}catch(r){n.status="error",n.value=r}return n}Gr.resolve=EV;function EV(e){if(e instanceof this)return e;return yt.resolve(new this(Yo),e)}Gr.reject=SV;function SV(e){var t=new this(Yo);return yt.reject(t,e)}Gr.all=TV;function TV(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=Array(n),o=0,s=-1,a=new this(Yo);while(++s<n)c(e[s],s);return a;function c(u,d){t.resolve(u).then(f,function(p){if(!r)r=!0,yt.reject(a,p)});function f(p){if(i[d]=p,++o===n&&!r)r=!0,yt.resolve(a,i)}}}Gr.race=CV;function CV(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=-1,o=new this(Yo);while(++i<n)s(e[i]);return o;function s(a){t.resolve(a).then(function(c){if(!r)r=!0,yt.resolve(o,c)},function(c){if(!r)r=!0,yt.reject(o,c)})}}});var Jo=U(function(M1e,LA){var Eb=null;if(typeof Promise<"u")Eb=Promise;else Eb=NA();LA.exports={Promise:Eb}});var WA=U(function(BA){(function(e,t){if(e.setImmediate)return;var n=1,r={},i=!1,o=e.document,s;function a(x){if(typeof x!=="function")x=Function(""+x);var m=Array(arguments.length-1);for(var w=0;w<m.length;w++)m[w]=arguments[w+1];var D={callback:x,args:m};return r[n]=D,s(n),n++}function c(x){delete r[x]}function u(x){var{callback:m,args:w}=x;switch(w.length){case 0:m();break;case 1:m(w[0]);break;case 2:m(w[0],w[1]);break;case 3:m(w[0],w[1],w[2]);break;default:m.apply(t,w);break}}function d(x){if(i)setTimeout(d,0,x);else{var m=r[x];if(m){i=!0;try{u(m)}finally{c(x),i=!1}}}}function f(){s=function(x){process.nextTick(function(){d(x)})}}function p(){if(e.postMessage&&!e.importScripts){var x=!0,m=e.onmessage;return e.onmessage=function(){x=!1},e.postMessage("","*"),e.onmessage=m,x}}function h(){var x="setImmediate$"+Math.random()+"$",m=function(w){if(w.source===e&&typeof w.data==="string"&&w.data.indexOf(x)===0)d(+w.data.slice(x.length))};if(e.addEventListener)e.addEventListener("message",m,!1);else e.attachEvent("onmessage",m);s=function(w){e.postMessage(x+w,"*")}}function g(){var x=new MessageChannel;x.port1.onmessage=function(m){var w=m.data;d(w)},s=function(m){x.port2.postMessage(m)}}function b(){var x=o.documentElement;s=function(m){var w=o.createElement("script");w.onreadystatechange=function(){d(m),w.onreadystatechange=null,x.removeChild(w),w=null},x.appendChild(w)}}function v(){s=function(x){setTimeout(d,0,x)}}var y=Object.getPrototypeOf&&Object.getPrototypeOf(e);if(y=y&&y.setTimeout?y:e,{}.toString.call(e.process)==="[object process]")f();else if(p())h();else if(e.MessageChannel)g();else if(o&&"onreadystatechange"in o.createElement("script"))b();else v();y.setImmediate=a,y.clearImmediate=c})(typeof self>"u"?typeof global>"u"?BA:global:self)});var Ne=U(function(Bi){var zr=rr(),AV=xb(),Qo=rc(),Sb=Jo();WA();function kV(e){var t=null;if(zr.uint8array)t=new Uint8Array(e.length);else t=Array(e.length);return Yd(e,t)}Bi.newBlob=function(e,t){Bi.checkSupport("blob");try{return new Blob([e],{type:t})}catch(i){try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,r=new n;return r.append(e),r.getBlob(t)}catch(o){throw Error("Bug : can't construct the Blob.")}}};function sc(e){return e}function Yd(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var Zd={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);while(i<o){if(t==="array"||t==="nodebuffer")r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o))));else r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o))));i+=n}return r.join("")},stringifyByChar:function(e){var t="";for(var n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return zr.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(e){return!1}}(),nodebuffer:function(){try{return zr.nodebuffer&&String.fromCharCode.apply(null,Qo.allocBuffer(1)).length===1}catch(e){return!1}}()}};function ac(e){var t=65536,n=Bi.getTypeOf(e),r=!0;if(n==="uint8array")r=Zd.applyCanBeUsed.uint8array;else if(n==="nodebuffer")r=Zd.applyCanBeUsed.nodebuffer;if(r)while(t>1)try{return Zd.stringifyByChunk(e,n,t)}catch(i){t=Math.floor(t/2)}return Zd.stringifyByChar(e)}Bi.applyFromCharCode=ac;function Jd(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var Vr={};Vr.string={string:sc,array:function(e){return Yd(e,Array(e.length))},arraybuffer:function(e){return Vr.string.uint8array(e).buffer},uint8array:function(e){return Yd(e,new Uint8Array(e.length))},nodebuffer:function(e){return Yd(e,Qo.allocBuffer(e.length))}};Vr.array={string:ac,array:sc,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return Qo.newBufferFrom(e)}};Vr.arraybuffer={string:function(e){return ac(new Uint8Array(e))},array:function(e){return Jd(new Uint8Array(e),Array(e.byteLength))},arraybuffer:sc,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return Qo.newBufferFrom(new Uint8Array(e))}};Vr.uint8array={string:ac,array:function(e){return Jd(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:sc,nodebuffer:function(e){return Qo.newBufferFrom(e)}};Vr.nodebuffer={string:ac,array:function(e){return Jd(e,Array(e.length))},arraybuffer:function(e){return Vr.nodebuffer.uint8array(e).buffer},uint8array:function(e){return Jd(e,new Uint8Array(e.length))},nodebuffer:sc};Bi.transformTo=function(e,t){if(!t)t="";if(!e)return t;Bi.checkSupport(e);var n=Bi.getTypeOf(t),r=Vr[n][e](t);return r};Bi.resolve=function(e){var t=e.split("/"),n=[];for(var r=0;r<t.length;r++){var i=t[r];if(i==="."||i===""&&r!==0&&r!==t.length-1)continue;else if(i==="..")n.pop();else n.push(i)}return n.join("/")};Bi.getTypeOf=function(e){if(typeof e==="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(zr.nodebuffer&&Qo.isBuffer(e))return"nodebuffer";if(zr.uint8array&&e instanceof Uint8Array)return"uint8array";if(zr.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Bi.checkSupport=function(e){var t=zr[e.toLowerCase()];if(!t)throw Error(e+" is not supported by this platform")};Bi.MAX_VALUE_16BITS=65535;Bi.MAX_VALUE_32BITS=-1;Bi.pretty=function(e){var t="",n,r;for(r=0;r<(e||"").length;r++)n=e.charCodeAt(r),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Bi.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})};Bi.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Bi.extend=function(){var e={},t,n;for(t=0;t<arguments.length;t++)for(n in arguments[t])if(Object.prototype.hasOwnProperty.call(arguments[t],n)&&typeof e[n]>"u")e[n]=arguments[t][n];return e};Bi.prepareContent=function(e,t,n,r,i){var o=Sb.Promise.resolve(t).then(function(s){var a=zr.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);if(a&&typeof FileReader<"u")return new Sb.Promise(function(c,u){var d=new FileReader;d.onload=function(f){c(f.target.result)},d.onerror=function(f){u(f.target.error)},d.readAsArrayBuffer(s)});else return s});return o.then(function(s){var a=Bi.getTypeOf(s);if(!a)return Sb.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(a==="arraybuffer")s=Bi.transformTo("uint8array",s);else if(a==="string"){if(i)s=AV.decode(s);else if(n){if(r!==!0)s=kV(s)}}return s})}});var jt=U(function(B1e,HA){function $A(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}$A.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=e;else{if(this.isFinished=!0,this.emit("error",e),this.previous)this.previous.error(e);this.cleanUp()}return!0},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){if(this.isPaused||this.isFinished)return!1;if(this.isPaused=!0,this.previous)this.previous.pause();return!0},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;if(this.generatedError)this.error(this.generatedError),e=!0;if(this.previous)this.previous.resume();return!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo){if(!Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e))continue;this.streamInfo[e]=this.extraStreamInfo[e]}},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");if(this.isLocked=!0,this.previous)this.previous.lock()},toString:function(){var e="Worker "+this.name;if(this.previous)return this.previous+" -> "+e;else return e}};HA.exports=$A});var ts=U(function(HV){var es=Ne(),Wi=rr(),WV=rc(),Qd=jt(),cc=Array(256);for(kn=0;kn<256;kn++)cc[kn]=kn>=252?6:kn>=248?5:kn>=240?4:kn>=224?3:kn>=192?2:1;var kn;cc[254]=cc[254]=1;var jV=function(e){var t,n,r,i,o,s=e.length,a=0;for(i=0;i<s;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}a+=n<128?1:n<2048?2:n<65536?3:4}if(Wi.uint8array)t=new Uint8Array(a);else t=Array(a);for(o=0,i=0;o<a;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}if(n<128)t[o++]=n;else if(n<2048)t[o++]=192|n>>>6,t[o++]=128|n&63;else if(n<65536)t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|n&63;else t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|n&63}return t},qV=function(e,t){var n;if(t=t||e.length,t>e.length)t=e.length;n=t-1;while(n>=0&&(e[n]&192)===128)n--;if(n<0)return t;if(n===0)return t;return n+cc[e[n]]>t?n:t},$V=function(e){var t,n,r,i,o=e.length,s=Array(o*2);for(n=0,t=0;t<o;){if(r=e[t++],r<128){s[n++]=r;continue}if(i=cc[r],i>4){s[n++]=65533,t+=i-1;continue}r&=i===2?31:i===3?15:7;while(i>1&&t<o)r=r<<6|e[t++]&63,i--;if(i>1){s[n++]=65533;continue}if(r<65536)s[n++]=r;else r-=65536,s[n++]=55296|r>>10&1023,s[n++]=56320|r&1023}if(s.length!==n)if(s.subarray)s=s.subarray(0,n);else s.length=n;return es.applyFromCharCode(s)};HV.utf8encode=function(t){if(Wi.nodebuffer)return WV.newBufferFrom(t,"utf-8");return jV(t)};HV.utf8decode=function(t){if(Wi.nodebuffer)return es.transformTo("nodebuffer",t).toString("utf-8");return t=es.transformTo(Wi.uint8array?"uint8array":"array",t),$V(t)};function ef(){Qd.call(this,"utf-8 decode"),this.leftOver=null}es.inherits(ef,Qd);ef.prototype.processChunk=function(e){var t=es.transformTo(Wi.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Wi.uint8array){var n=t;t=new Uint8Array(n.length+this.leftOver.length),t.set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var r=qV(t),i=t;if(r!==t.length)if(Wi.uint8array)i=t.subarray(0,r),this.leftOver=t.subarray(r,t.length);else i=t.slice(0,r),this.leftOver=t.slice(r,t.length);this.push({data:HV.utf8decode(i),meta:e.meta})};ef.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:HV.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};HV.Utf8DecodeWorker=ef;function Cb(){Qd.call(this,"utf-8 encode")}es.inherits(Cb,Qd);Cb.prototype.processChunk=function(e){this.push({data:HV.utf8encode(e.data),meta:e.meta})};HV.Utf8EncodeWorker=Cb});var KA=U(function(j1e,XA){var zA=jt(),VA=Ne();function kb(e){zA.call(this,"ConvertWorker to "+e),this.destType=e}VA.inherits(kb,zA);kb.prototype.processChunk=function(e){this.push({data:VA.transformTo(this.destType,e.data),meta:e.meta})};XA.exports=kb});var JA=U(function(q1e,YA){var ZA=yb().Readable,VV=Ne();VV.inherits(Ub,ZA);function Ub(e,t,n){ZA.call(this,t),this._helper=e;var r=this;e.on("data",function(i,o){if(!r.push(i))r._helper.pause();if(n)n(o)}).on("error",function(i){r.emit("error",i)}).on("end",function(){r.push(null)})}Ub.prototype._read=function(){this._helper.resume()};YA.exports=Ub});var Rb=U(function($1e,tk){var ji=Ne(),XV=KA(),KV=jt(),ZV=xb(),YV=rr(),JV=Jo(),QA=null;if(YV.nodestream)try{QA=JA()}catch(e){}function QV(e,t,n){switch(e){case"blob":return ji.newBlob(ji.transformTo("arraybuffer",t),n);case"base64":return ZV.encode(t);default:return ji.transformTo(e,t)}}function eX(e,t){var n,r=0,i=null,o=0;for(n=0;n<t.length;n++)o+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":i=new Uint8Array(o);for(n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}function tX(e,t){return new JV.Promise(function(n,r){var i=[],{_internalType:o,_outputType:s,_mimeType:a}=e;e.on("data",function(c,u){if(i.push(c),t)t(u)}).on("error",function(c){i=[],r(c)}).on("end",function(){try{var c=QV(s,eX(o,i),a);n(c)}catch(u){r(u)}i=[]}).resume()})}function ek(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string";break}try{this._internalType=r,this._outputType=t,this._mimeType=n,ji.checkSupport(r),this._worker=e.pipe(new XV(r)),e.lock()}catch(i){this._worker=new KV("error"),this._worker.error(i)}}ek.prototype={accumulate:function(e){return tX(this,e)},on:function(e,t){var n=this;if(e==="data")this._worker.on(e,function(r){t.call(n,r.data,r.meta)});else this._worker.on(e,function(){ji.delay(t,arguments,n)});return this},resume:function(){return ji.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(ji.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw Error(this._outputType+" is not supported by this method");return new QA(this,{objectMode:this._outputType!=="nodebuffer"},e)}};tk.exports=ek});var Fb=U(function(nX){nX.base64=!1;nX.binary=!1;nX.dir=!1;nX.createFolders=!0;nX.date=null;nX.compression=null;nX.compressionOptions=null;nX.comment=null;nX.unixPermissions=null;nX.dosPermissions=null});var Pb=U(function(G1e,nk){var tf=Ne(),nf=jt(),pX=16384;function ns(e){nf.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){if(t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=tf.getTypeOf(n),!t.isPaused)t._tickAndRepeat()},function(n){t.error(n)})}tf.inherits(ns,nf);ns.prototype.cleanUp=function(){nf.prototype.cleanUp.call(this),this.data=null};ns.prototype.resume=function(){if(!nf.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,tf.delay(this._tickAndRepeat,[],this);return!0};ns.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)tf.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};ns.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=pX,t=null,n=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":t=this.data.substring(this.index,n);break;case"uint8array":t=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":t=this.data.slice(this.index,n);break}return this.index=n,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})}};nk.exports=ns});var rf=U(function(z1e,ik){var hX=Ne();function gX(){var e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var rk=gX();function mX(e,t,n,r){var i=rk,o=r+n;e=e^-1;for(var s=r;s<o;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}function yX(e,t,n,r){var i=rk,o=r+n;e=e^-1;for(var s=r;s<o;s++)e=e>>>8^i[(e^t.charCodeAt(s))&255];return e^-1}ik.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var r=hX.getTypeOf(t)!=="string";if(r)return mX(n|0,t,t.length,0);else return yX(n|0,t,t.length,0)}});var Ib=U(function(V1e,sk){var ok=jt(),bX=rf(),vX=Ne();function Ob(){ok.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}vX.inherits(Ob,ok);Ob.prototype.processChunk=function(e){this.streamInfo.crc32=bX(e.data,this.streamInfo.crc32||0),this.push(e)};sk.exports=Ob});var ck=U(function(X1e,ak){var xX=Ne(),Mb=jt();function Nb(e){Mb.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}xX.inherits(Nb,Mb);Nb.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Mb.prototype.processChunk.call(this,e)};ak.exports=Nb});var of=U(function(K1e,dk){var uk=Jo(),lk=Pb(),wX=Ib(),Lb=ck();function Bb(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}Bb.prototype={getContentWorker:function(){var e=new lk(uk.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Lb("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new lk(uk.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};Bb.createWorkerFrom=function(e,t,n){return e.pipe(new wX).pipe(new Lb("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Lb("compressedSize")).withStreamInfo("compression",t)};dk.exports=Bb});var gk=U(function(Z1e,hk){var _X=Rb(),DX=Pb(),Wb=ts(),jb=of(),fk=jt(),qb=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};qb.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw Error("No output type specified.");n=e.toLowerCase();var r=n==="string"||n==="text";if(n==="binarystring"||n==="text")n="string";t=this._decompressWorker();var i=!this._dataBinary;if(i&&!r)t=t.pipe(new Wb.Utf8EncodeWorker);if(!i&&r)t=t.pipe(new Wb.Utf8DecodeWorker)}catch(o){t=new fk("error"),t.error(o)}return new _X(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof jb&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();else{var n=this._decompressWorker();if(!this._dataBinary)n=n.pipe(new Wb.Utf8EncodeWorker);return jb.createWorkerFrom(n,e,t)}},_decompressWorker:function(){if(this._data instanceof jb)return this._data.getContentWorker();else if(this._data instanceof fk)return this._data;else return new DX(this._data)}};var pk=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],EX=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(uc=0;uc<pk.length;uc++)qb.prototype[pk[uc]]=EX;var uc;hk.exports=qb});var ir=U(function(rs){var AX=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function kX(e,t){return Object.prototype.hasOwnProperty.call(e,t)}rs.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var n=t.shift();if(!n)continue;if(typeof n!=="object")throw TypeError(n+"must be non-object");for(var r in n)if(kX(n,r))e[r]=n[r]}return e};rs.shrinkBuf=function(e,t){if(e.length===t)return e;if(e.subarray)return e.subarray(0,t);return e.length=t,e};var UX={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;r=0;for(t=0,n=e.length;t<n;t++)r+=e[t].length;s=new Uint8Array(r),i=0;for(t=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},RX={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};rs.setTyped=function(e){if(e)rs.Buf8=Uint8Array,rs.Buf16=Uint16Array,rs.Buf32=Int32Array,rs.assign(rs,UX);else rs.Buf8=Array,rs.Buf16=Array,rs.Buf32=Array,rs.assign(rs,RX)};rs.setTyped(AX)});var Bk=U(function(eK){var PX=ir(),OX=4,yk=0,bk=1,IX=2;function os(e){var t=e.length;while(--t>=0)e[t]=0}var MX=0,Ek=1,NX=2,LX=3,BX=258,Zb=29,gc=256,dc=gc+1+Zb,is=30,Yb=19,Sk=2*dc+1,qi=15,Hb=16,WX=7,Jb=256,Tk=16,Ck=17,Ak=18,Xb=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],sf=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],jX=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],kk=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],qX=512,or=Array((dc+2)*2);os(or);var lc=Array(is*2);os(lc);var fc=Array(qX);os(fc);var pc=Array(BX-LX+1);os(pc);var Qb=Array(Zb);os(Qb);var af=Array(is);os(af);function Gb(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var Uk,Rk,Fk;function zb(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Pk(e){return e<256?fc[e]:fc[256+(e>>>7)]}function hc(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function It(e,t,n){if(e.bi_valid>Hb-n)e.bi_buf|=t<<e.bi_valid&65535,hc(e,e.bi_buf),e.bi_buf=t>>Hb-e.bi_valid,e.bi_valid+=n-Hb;else e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n}function Un(e,t,n){It(e,n[t*2],n[t*2+1])}function Ok(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function $X(e){if(e.bi_valid===16)hc(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0;else if(e.bi_valid>=8)e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8}function HX(e,t){var{dyn_tree:n,max_code:r}=t,i=t.stat_desc.static_tree,o=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,a=t.stat_desc.extra_base,c=t.stat_desc.max_length,u,d,f,p,h,g,b=0;for(p=0;p<=qi;p++)e.bl_count[p]=0;n[e.heap[e.heap_max]*2+1]=0;for(u=e.heap_max+1;u<Sk;u++){if(d=e.heap[u],p=n[n[d*2+1]*2+1]+1,p>c)p=c,b++;if(n[d*2+1]=p,d>r)continue;if(e.bl_count[p]++,h=0,d>=a)h=s[d-a];if(g=n[d*2],e.opt_len+=g*(p+h),o)e.static_len+=g*(i[d*2+1]+h)}if(b===0)return;do{p=c-1;while(e.bl_count[p]===0)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[c]--,b-=2}while(b>0);for(p=c;p!==0;p--){d=e.bl_count[p];while(d!==0){if(f=e.heap[--u],f>r)continue;if(n[f*2+1]!==p)e.opt_len+=(p-n[f*2+1])*n[f*2],n[f*2+1]=p;d--}}}function Ik(e,t,n){var r=Array(qi+1),i=0,o,s;for(o=1;o<=qi;o++)r[o]=i=i+n[o-1]<<1;for(s=0;s<=t;s++){var a=e[s*2+1];if(a===0)continue;e[s*2]=Ok(r[a]++,a)}}function GX(){var e,t,n,r,i,o=Array(qi+1);n=0;for(r=0;r<Zb-1;r++){Qb[r]=n;for(e=0;e<1<<Xb[r];e++)pc[n++]=r}pc[n-1]=r,i=0;for(r=0;r<16;r++){af[r]=i;for(e=0;e<1<<sf[r];e++)fc[i++]=r}i>>=7;for(;r<is;r++){af[r]=i<<7;for(e=0;e<1<<sf[r]-7;e++)fc[256+i++]=r}for(t=0;t<=qi;t++)o[t]=0;e=0;while(e<=143)or[e*2+1]=8,e++,o[8]++;while(e<=255)or[e*2+1]=9,e++,o[9]++;while(e<=279)or[e*2+1]=7,e++,o[7]++;while(e<=287)or[e*2+1]=8,e++,o[8]++;Ik(or,dc+1,o);for(e=0;e<is;e++)lc[e*2+1]=5,lc[e*2]=Ok(e,5);Uk=new Gb(or,Xb,gc+1,dc,qi),Rk=new Gb(lc,sf,0,is,qi),Fk=new Gb([],jX,0,Yb,WX)}function Mk(e){var t;for(t=0;t<dc;t++)e.dyn_ltree[t*2]=0;for(t=0;t<is;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Yb;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Jb*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Nk(e){if(e.bi_valid>8)hc(e,e.bi_buf);else if(e.bi_valid>0)e.pending_buf[e.pending++]=e.bi_buf;e.bi_buf=0,e.bi_valid=0}function zX(e,t,n,r){if(Nk(e),r)hc(e,n),hc(e,~n);PX.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function vk(e,t,n,r){var i=t*2,o=n*2;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function Vb(e,t,n){var r=e.heap[n],i=n<<1;while(i<=e.heap_len){if(i<e.heap_len&&vk(t,e.heap[i+1],e.heap[i],e.depth))i++;if(vk(t,r,e.heap[i],e.depth))break;e.heap[n]=e.heap[i],n=i,i<<=1}e.heap[n]=r}function xk(e,t,n){var r,i,o=0,s,a;if(e.last_lit!==0)do if(r=e.pending_buf[e.d_buf+o*2]<<8|e.pending_buf[e.d_buf+o*2+1],i=e.pending_buf[e.l_buf+o],o++,r===0)Un(e,i,t);else{if(s=pc[i],Un(e,s+gc+1,t),a=Xb[s],a!==0)i-=Qb[s],It(e,i,a);if(r--,s=Pk(r),Un(e,s,n),a=sf[s],a!==0)r-=af[s],It(e,r,a)}while(o<e.last_lit);Un(e,Jb,t)}function Kb(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,o=t.stat_desc.elems,s,a,c=-1,u;e.heap_len=0,e.heap_max=Sk;for(s=0;s<o;s++)if(n[s*2]!==0)e.heap[++e.heap_len]=c=s,e.depth[s]=0;else n[s*2+1]=0;while(e.heap_len<2)if(u=e.heap[++e.heap_len]=c<2?++c:0,n[u*2]=1,e.depth[u]=0,e.opt_len--,i)e.static_len-=r[u*2+1];t.max_code=c;for(s=e.heap_len>>1;s>=1;s--)Vb(e,n,s);u=o;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Vb(e,n,1),a=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=a,n[u*2]=n[s*2]+n[a*2],e.depth[u]=(e.depth[s]>=e.depth[a]?e.depth[s]:e.depth[a])+1,n[s*2+1]=n[a*2+1]=u,e.heap[1]=u++,Vb(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],HX(e,t),Ik(n,c,e.bl_count)}function wk(e,t,n){var r,i=-1,o,s=t[1],a=0,c=7,u=4;if(s===0)c=138,u=3;t[(n+1)*2+1]=65535;for(r=0;r<=n;r++){if(o=s,s=t[(r+1)*2+1],++a<c&&o===s)continue;else if(a<u)e.bl_tree[o*2]+=a;else if(o!==0){if(o!==i)e.bl_tree[o*2]++;e.bl_tree[Tk*2]++}else if(a<=10)e.bl_tree[Ck*2]++;else e.bl_tree[Ak*2]++;if(a=0,i=o,s===0)c=138,u=3;else if(o===s)c=6,u=3;else c=7,u=4}}function _k(e,t,n){var r,i=-1,o,s=t[1],a=0,c=7,u=4;if(s===0)c=138,u=3;for(r=0;r<=n;r++){if(o=s,s=t[(r+1)*2+1],++a<c&&o===s)continue;else if(a<u)do Un(e,o,e.bl_tree);while(--a!==0);else if(o!==0){if(o!==i)Un(e,o,e.bl_tree),a--;Un(e,Tk,e.bl_tree),It(e,a-3,2)}else if(a<=10)Un(e,Ck,e.bl_tree),It(e,a-3,3);else Un(e,Ak,e.bl_tree),It(e,a-11,7);if(a=0,i=o,s===0)c=138,u=3;else if(o===s)c=6,u=3;else c=7,u=4}}function VX(e){var t;wk(e,e.dyn_ltree,e.l_desc.max_code),wk(e,e.dyn_dtree,e.d_desc.max_code),Kb(e,e.bl_desc);for(t=Yb-1;t>=3;t--)if(e.bl_tree[kk[t]*2+1]!==0)break;return e.opt_len+=3*(t+1)+5+5+4,t}function XX(e,t,n,r){var i;It(e,t-257,5),It(e,n-1,5),It(e,r-4,4);for(i=0;i<r;i++)It(e,e.bl_tree[kk[i]*2+1],3);_k(e,e.dyn_ltree,t-1),_k(e,e.dyn_dtree,n-1)}function KX(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return yk;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return bk;for(n=32;n<gc;n++)if(e.dyn_ltree[n*2]!==0)return bk;return yk}var Dk=!1;function ZX(e){if(!Dk)GX(),Dk=!0;e.l_desc=new zb(e.dyn_ltree,Uk),e.d_desc=new zb(e.dyn_dtree,Rk),e.bl_desc=new zb(e.bl_tree,Fk),e.bi_buf=0,e.bi_valid=0,Mk(e)}function Lk(e,t,n,r){It(e,(MX<<1)+(r?1:0),3),zX(e,t,n,!0)}function YX(e){It(e,Ek<<1,3),Un(e,Jb,or),$X(e)}function JX(e,t,n,r){var i,o,s=0;if(e.level>0){if(e.strm.data_type===IX)e.strm.data_type=KX(e);if(Kb(e,e.l_desc),Kb(e,e.d_desc),s=VX(e),i=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=i)i=o}else i=o=n+5;if(n+4<=i&&t!==-1)Lk(e,t,n,r);else if(e.strategy===OX||o===i)It(e,(Ek<<1)+(r?1:0),3),xk(e,or,lc);else It(e,(NX<<1)+(r?1:0),3),XX(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),xk(e,e.dyn_ltree,e.dyn_dtree);if(Mk(e),r)Nk(e)}function QX(e,t,n){if(e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0)e.dyn_ltree[n*2]++;else e.matches++,t--,e.dyn_ltree[(pc[n]+gc+1)*2]++,e.dyn_dtree[Pk(t)*2]++;return e.last_lit===e.lit_bufsize-1}eK._tr_init=ZX;eK._tr_stored_block=Lk;eK._tr_flush_block=JX;eK._tr_tally=QX;eK._tr_align=YX});var ev=U(function(Q1e,Wk){function sK(e,t,n,r){var i=e&65535|0,o=e>>>16&65535|0,s=0;while(n!==0){s=n>2000?2000:n,n-=s;do i=i+t[r++]|0,o=o+i|0;while(--s);i%=65521,o%=65521}return i|o<<16|0}Wk.exports=sK});var tv=U(function(e_e,jk){function aK(){var e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var cK=aK();function uK(e,t,n,r){var i=cK,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}jk.exports=uK});var cf=U(function(t_e,qk){qk.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var Yk=U(function(qK){var Tt=ir(),Zt=Bk(),zk=ev(),Xr=tv(),lK=cf(),zi=0,dK=1,fK=3,Qr=4,$k=5,Fn=0,Hk=1,Yt=-2,pK=-3,nv=-5,hK=-1,gK=1,uf=2,mK=3,yK=4,bK=0,vK=2,pf=8,xK=9,wK=15,_K=8,DK=29,EK=256,iv=EK+1+DK,SK=30,TK=19,CK=2*iv+1,AK=15,ue=3,Yr=258,an=Yr+ue+1,kK=32,hf=42,ov=69,lf=73,df=91,ff=103,$i=113,yc=666,Ye=1,bc=2,Hi=3,cs=4,UK=3;function Jr(e,t){return e.msg=lK[t],t}function Gk(e){return(e<<1)-(e>4?9:0)}function Zr(e){var t=e.length;while(--t>=0)e[t]=0}function Kr(e){var t=e.state,n=t.pending;if(n>e.avail_out)n=e.avail_out;if(n===0)return;if(Tt.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0)t.pending_out=0}function ut(e,t){Zt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Kr(e.strm)}function he(e,t){e.pending_buf[e.pending++]=t}function mc(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function RK(e,t,n,r){var i=e.avail_in;if(i>r)i=r;if(i===0)return 0;if(e.avail_in-=i,Tt.arraySet(t,e.input,e.next_in,i,n),e.state.wrap===1)e.adler=zk(e.adler,t,i,n);else if(e.state.wrap===2)e.adler=Xr(e.adler,t,i,n);return e.next_in+=i,e.total_in+=i,i}function Vk(e,t){var{max_chain_length:n,strstart:r}=e,i,o,{prev_length:s,nice_match:a}=e,c=e.strstart>e.w_size-an?e.strstart-(e.w_size-an):0,{window:u,w_mask:d,prev:f}=e,p=e.strstart+Yr,h=u[r+s-1],g=u[r+s];if(e.prev_length>=e.good_match)n>>=2;if(a>e.lookahead)a=e.lookahead;do{if(i=t,u[i+s]!==g||u[i+s-1]!==h||u[i]!==u[r]||u[++i]!==u[r+1])continue;r+=2,i++;do;while(u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&r<p);if(o=Yr-(p-r),r=p-Yr,o>s){if(e.match_start=t,s=o,o>=a)break;h=u[r+s-1],g=u[r+s]}}while((t=f[t&d])>c&&--n!==0);if(s<=e.lookahead)return s;return e.lookahead}function Gi(e){var t=e.w_size,n,r,i,o,s;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-an)){Tt.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,r=e.hash_size,n=r;do i=e.head[--n],e.head[n]=i>=t?i-t:0;while(--r);r=t,n=r;do i=e.prev[--n],e.prev[n]=i>=t?i-t:0;while(--r);o+=t}if(e.strm.avail_in===0)break;if(r=RK(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=r,e.lookahead+e.insert>=ue){s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+ue-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,e.lookahead+e.insert<ue)break}}while(e.lookahead<an&&e.strm.avail_in!==0)}function FK(e,t){var n=65535;if(n>e.pending_buf_size-5)n=e.pending_buf_size-5;for(;;){if(e.lookahead<=1){if(Gi(e),e.lookahead===0&&t===zi)return Ye;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if(e.strstart===0||e.strstart>=r){if(e.lookahead=e.strstart-r,e.strstart=r,ut(e,!1),e.strm.avail_out===0)return Ye}if(e.strstart-e.block_start>=e.w_size-an){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=0,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.strstart>e.block_start){if(ut(e,!1),e.strm.avail_out===0)return Ye}return Ye}function rv(e,t){var n,r;for(;;){if(e.lookahead<an){if(Gi(e),e.lookahead<an&&t===zi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=ue)e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;if(n!==0&&e.strstart-n<=e.w_size-an)e.match_length=Vk(e,n);if(e.match_length>=ue)if(r=Zt._tr_tally(e,e.strstart-e.match_start,e.match_length-ue),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ue){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=Zt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=e.strstart<ue-1?e.strstart:ue-1,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function ss(e,t){var n,r,i;for(;;){if(e.lookahead<an){if(Gi(e),e.lookahead<an&&t===zi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=ue)e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;if(e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ue-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-an){if(e.match_length=Vk(e,n),e.match_length<=5&&(e.strategy===gK||e.match_length===ue&&e.strstart-e.match_start>4096))e.match_length=ue-1}if(e.prev_length>=ue&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-ue,r=Zt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ue),e.lookahead-=e.prev_length-1,e.prev_length-=2;do if(++e.strstart<=i)e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ue-1,e.strstart++,r){if(ut(e,!1),e.strm.avail_out===0)return Ye}}else if(e.match_available){if(r=Zt._tr_tally(e,0,e.window[e.strstart-1]),r)ut(e,!1);if(e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ye}else e.match_available=1,e.strstart++,e.lookahead--}if(e.match_available)r=Zt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0;if(e.insert=e.strstart<ue-1?e.strstart:ue-1,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function PK(e,t){var n,r,i,o,s=e.window;for(;;){if(e.lookahead<=Yr){if(Gi(e),e.lookahead<=Yr&&t===zi)return Ye;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ue&&e.strstart>0){if(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+Yr;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);if(e.match_length=Yr-(o-i),e.match_length>e.lookahead)e.match_length=e.lookahead}}if(e.match_length>=ue)n=Zt._tr_tally(e,1,e.match_length-ue),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0;else n=Zt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=0,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function OK(e,t){var n;for(;;){if(e.lookahead===0){if(Gi(e),e.lookahead===0){if(t===zi)return Ye;break}}if(e.match_length=0,n=Zt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=0,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function Rn(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var as;as=[new Rn(0,0,0,0,FK),new Rn(4,4,8,4,rv),new Rn(4,5,16,8,rv),new Rn(4,6,32,32,rv),new Rn(4,4,16,16,ss),new Rn(8,16,32,32,ss),new Rn(8,16,128,128,ss),new Rn(8,32,128,256,ss),new Rn(32,128,258,1024,ss),new Rn(32,258,258,4096,ss)];function IK(e){e.window_size=2*e.w_size,Zr(e.head),e.max_lazy_match=as[e.level].max_lazy,e.good_match=as[e.level].good_length,e.nice_match=as[e.level].nice_length,e.max_chain_length=as[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ue-1,e.match_available=0,e.ins_h=0}function MK(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=pf,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Tt.Buf16(CK*2),this.dyn_dtree=new Tt.Buf16((2*SK+1)*2),this.bl_tree=new Tt.Buf16((2*TK+1)*2),Zr(this.dyn_ltree),Zr(this.dyn_dtree),Zr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Tt.Buf16(AK+1),this.heap=new Tt.Buf16(2*iv+1),Zr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Tt.Buf16(2*iv+1),Zr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Xk(e){var t;if(!e||!e.state)return Jr(e,Yt);if(e.total_in=e.total_out=0,e.data_type=vK,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0)t.wrap=-t.wrap;return t.status=t.wrap?hf:$i,e.adler=t.wrap===2?0:1,t.last_flush=zi,Zt._tr_init(t),Fn}function Kk(e){var t=Xk(e);if(t===Fn)IK(e.state);return t}function NK(e,t){if(!e||!e.state)return Yt;if(e.state.wrap!==2)return Yt;return e.state.gzhead=t,Fn}function Zk(e,t,n,r,i,o){if(!e)return Yt;var s=1;if(t===hK)t=6;if(r<0)s=0,r=-r;else if(r>15)s=2,r-=16;if(i<1||i>xK||n!==pf||r<8||r>15||t<0||t>9||o<0||o>yK)return Jr(e,Yt);if(r===8)r=9;var a=new MK;return e.state=a,a.strm=e,a.wrap=s,a.gzhead=null,a.w_bits=r,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=i+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+ue-1)/ue),a.window=new Tt.Buf8(a.w_size*2),a.head=new Tt.Buf16(a.hash_size),a.prev=new Tt.Buf16(a.w_size),a.lit_bufsize=1<<i+6,a.pending_buf_size=a.lit_bufsize*4,a.pending_buf=new Tt.Buf8(a.pending_buf_size),a.d_buf=1*a.lit_bufsize,a.l_buf=3*a.lit_bufsize,a.level=t,a.strategy=o,a.method=n,Kk(e)}function LK(e,t){return Zk(e,t,pf,wK,_K,bK)}function BK(e,t){var n,r,i,o;if(!e||!e.state||t>$k||t<0)return e?Jr(e,Yt):Yt;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===yc&&t!==Qr)return Jr(e,e.avail_out===0?nv:Yt);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===hf)if(r.wrap===2)if(e.adler=0,he(r,31),he(r,139),he(r,8),!r.gzhead)he(r,0),he(r,0),he(r,0),he(r,0),he(r,0),he(r,r.level===9?2:r.strategy>=uf||r.level<2?4:0),he(r,UK),r.status=$i;else{if(he(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(!r.gzhead.extra?0:4)+(!r.gzhead.name?0:8)+(!r.gzhead.comment?0:16)),he(r,r.gzhead.time&255),he(r,r.gzhead.time>>8&255),he(r,r.gzhead.time>>16&255),he(r,r.gzhead.time>>24&255),he(r,r.level===9?2:r.strategy>=uf||r.level<2?4:0),he(r,r.gzhead.os&255),r.gzhead.extra&&r.gzhead.extra.length)he(r,r.gzhead.extra.length&255),he(r,r.gzhead.extra.length>>8&255);if(r.gzhead.hcrc)e.adler=Xr(e.adler,r.pending_buf,r.pending,0);r.gzindex=0,r.status=ov}else{var s=pf+(r.w_bits-8<<4)<<8,a=-1;if(r.strategy>=uf||r.level<2)a=0;else if(r.level<6)a=1;else if(r.level===6)a=2;else a=3;if(s|=a<<6,r.strstart!==0)s|=kK;if(s+=31-s%31,r.status=$i,mc(r,s),r.strstart!==0)mc(r,e.adler>>>16),mc(r,e.adler&65535);e.adler=1}if(r.status===ov)if(r.gzhead.extra){i=r.pending;while(r.gzindex<(r.gzhead.extra.length&65535)){if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(Kr(e),i=r.pending,r.pending===r.pending_buf_size)break}he(r,r.gzhead.extra[r.gzindex]&255),r.gzindex++}if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(r.gzindex===r.gzhead.extra.length)r.gzindex=0,r.status=lf}else r.status=lf;if(r.status===lf)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(Kr(e),i=r.pending,r.pending===r.pending_buf_size){o=1;break}}if(r.gzindex<r.gzhead.name.length)o=r.gzhead.name.charCodeAt(r.gzindex++)&255;else o=0;he(r,o)}while(o!==0);if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(o===0)r.gzindex=0,r.status=df}else r.status=df;if(r.status===df)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(Kr(e),i=r.pending,r.pending===r.pending_buf_size){o=1;break}}if(r.gzindex<r.gzhead.comment.length)o=r.gzhead.comment.charCodeAt(r.gzindex++)&255;else o=0;he(r,o)}while(o!==0);if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(o===0)r.status=ff}else r.status=ff;if(r.status===ff)if(r.gzhead.hcrc){if(r.pending+2>r.pending_buf_size)Kr(e);if(r.pending+2<=r.pending_buf_size)he(r,e.adler&255),he(r,e.adler>>8&255),e.adler=0,r.status=$i}else r.status=$i;if(r.pending!==0){if(Kr(e),e.avail_out===0)return r.last_flush=-1,Fn}else if(e.avail_in===0&&Gk(t)<=Gk(n)&&t!==Qr)return Jr(e,nv);if(r.status===yc&&e.avail_in!==0)return Jr(e,nv);if(e.avail_in!==0||r.lookahead!==0||t!==zi&&r.status!==yc){var c=r.strategy===uf?OK(r,t):r.strategy===mK?PK(r,t):as[r.level].func(r,t);if(c===Hi||c===cs)r.status=yc;if(c===Ye||c===Hi){if(e.avail_out===0)r.last_flush=-1;return Fn}if(c===bc){if(t===dK)Zt._tr_align(r);else if(t!==$k){if(Zt._tr_stored_block(r,0,0,!1),t===fK){if(Zr(r.head),r.lookahead===0)r.strstart=0,r.block_start=0,r.insert=0}}if(Kr(e),e.avail_out===0)return r.last_flush=-1,Fn}}if(t!==Qr)return Fn;if(r.wrap<=0)return Hk;if(r.wrap===2)he(r,e.adler&255),he(r,e.adler>>8&255),he(r,e.adler>>16&255),he(r,e.adler>>24&255),he(r,e.total_in&255),he(r,e.total_in>>8&255),he(r,e.total_in>>16&255),he(r,e.total_in>>24&255);else mc(r,e.adler>>>16),mc(r,e.adler&65535);if(Kr(e),r.wrap>0)r.wrap=-r.wrap;return r.pending!==0?Fn:Hk}function WK(e){var t;if(!e||!e.state)return Yt;if(t=e.state.status,t!==hf&&t!==ov&&t!==lf&&t!==df&&t!==ff&&t!==$i&&t!==yc)return Jr(e,Yt);return e.state=null,t===$i?Jr(e,pK):Fn}function jK(e,t){var n=t.length,r,i,o,s,a,c,u,d;if(!e||!e.state)return Yt;if(r=e.state,s=r.wrap,s===2||s===1&&r.status!==hf||r.lookahead)return Yt;if(s===1)e.adler=zk(e.adler,t,n,0);if(r.wrap=0,n>=r.w_size){if(s===0)Zr(r.head),r.strstart=0,r.block_start=0,r.insert=0;d=new Tt.Buf8(r.w_size),Tt.arraySet(d,t,n-r.w_size,r.w_size,0),t=d,n=r.w_size}a=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,Gi(r);while(r.lookahead>=ue){i=r.strstart,o=r.lookahead-(ue-1);do r.ins_h=(r.ins_h<<r.hash_shift^r.window[i+ue-1])&r.hash_mask,r.prev[i&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=i,i++;while(--o);r.strstart=i,r.lookahead=ue-1,Gi(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=ue-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=a,r.wrap=s,Fn}qK.deflateInit=LK;qK.deflateInit2=Zk;qK.deflateReset=Kk;qK.deflateResetKeep=Xk;qK.deflateSetHeader=NK;qK.deflate=BK;qK.deflateEnd=WK;qK.deflateSetDictionary=jK;qK.deflateInfo="pako deflate (from Nodeca project)"});var sv=U(function(JK){var gf=ir(),Jk=!0,Qk=!0;try{String.fromCharCode.apply(null,[0])}catch(e){Jk=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Qk=!1}var vc=new gf.Buf8(256);for(Pn=0;Pn<256;Pn++)vc[Pn]=Pn>=252?6:Pn>=248?5:Pn>=240?4:Pn>=224?3:Pn>=192?2:1;var Pn;vc[254]=vc[254]=1;JK.string2buf=function(e){var t,n,r,i,o,s=e.length,a=0;for(i=0;i<s;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}a+=n<128?1:n<2048?2:n<65536?3:4}t=new gf.Buf8(a);for(o=0,i=0;o<a;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}if(n<128)t[o++]=n;else if(n<2048)t[o++]=192|n>>>6,t[o++]=128|n&63;else if(n<65536)t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|n&63;else t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|n&63}return t};function eU(e,t){if(t<65534){if(e.subarray&&Qk||!e.subarray&&Jk)return String.fromCharCode.apply(null,gf.shrinkBuf(e,t))}var n="";for(var r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}JK.buf2binstring=function(e){return eU(e,e.length)};JK.binstring2buf=function(e){var t=new gf.Buf8(e.length);for(var n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t};JK.buf2string=function(e,t){var n,r,i,o,s=t||e.length,a=Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){a[r++]=i;continue}if(o=vc[i],o>4){a[r++]=65533,n+=o-1;continue}i&=o===2?31:o===3?15:7;while(o>1&&n<s)i=i<<6|e[n++]&63,o--;if(o>1){a[r++]=65533;continue}if(i<65536)a[r++]=i;else i-=65536,a[r++]=55296|i>>10&1023,a[r++]=56320|i&1023}return eU(a,r)};JK.utf8border=function(e,t){var n;if(t=t||e.length,t>e.length)t=e.length;n=t-1;while(n>=0&&(e[n]&192)===128)n--;if(n<0)return t;if(n===0)return t;return n+vc[e[n]]>t?n:t}});var av=U(function(i_e,tU){function iZ(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}tU.exports=iZ});var oU=U(function(fZ){var xc=Yk(),wc=ir(),uv=sv(),lv=cf(),oZ=av(),iU=Object.prototype.toString,sZ=0,cv=4,us=0,nU=1,rU=2,aZ=-1,cZ=0,uZ=8;function Vi(e){if(!(this instanceof Vi))return new Vi(e);this.options=wc.assign({level:aZ,method:uZ,chunkSize:16384,windowBits:15,memLevel:8,strategy:cZ,to:""},e||{});var t=this.options;if(t.raw&&t.windowBits>0)t.windowBits=-t.windowBits;else if(t.gzip&&t.windowBits>0&&t.windowBits<16)t.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new oZ,this.strm.avail_out=0;var n=xc.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==us)throw Error(lv[n]);if(t.header)xc.deflateSetHeader(this.strm,t.header);if(t.dictionary){var r;if(typeof t.dictionary==="string")r=uv.string2buf(t.dictionary);else if(iU.call(t.dictionary)==="[object ArrayBuffer]")r=new Uint8Array(t.dictionary);else r=t.dictionary;if(n=xc.deflateSetDictionary(this.strm,r),n!==us)throw Error(lv[n]);this._dict_set=!0}}Vi.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i,o;if(this.ended)return!1;if(o=t===~~t?t:t===!0?cv:sZ,typeof e==="string")n.input=uv.string2buf(e);else if(iU.call(e)==="[object ArrayBuffer]")n.input=new Uint8Array(e);else n.input=e;n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0)n.output=new wc.Buf8(r),n.next_out=0,n.avail_out=r;if(i=xc.deflate(n,o),i!==nU&&i!==us)return this.onEnd(i),this.ended=!0,!1;if(n.avail_out===0||n.avail_in===0&&(o===cv||o===rU))if(this.options.to==="string")this.onData(uv.buf2binstring(wc.shrinkBuf(n.output,n.next_out)));else this.onData(wc.shrinkBuf(n.output,n.next_out))}while((n.avail_in>0||n.avail_out===0)&&i!==nU);if(o===cv)return i=xc.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===us;if(o===rU)return this.onEnd(us),n.avail_out=0,!0;return!0};Vi.prototype.onData=function(e){this.chunks.push(e)};Vi.prototype.onEnd=function(e){if(e===us)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=wc.flattenChunks(this.chunks);this.chunks=[],this.err=e,this.msg=this.strm.msg};function dv(e,t){var n=new Vi(t);if(n.push(e,!0),n.err)throw n.msg||lv[n.err];return n.result}function lZ(e,t){return t=t||{},t.raw=!0,dv(e,t)}function dZ(e,t){return t=t||{},t.gzip=!0,dv(e,t)}fZ.Deflate=Vi;fZ.deflate=dv;fZ.deflateRaw=lZ;fZ.gzip=dZ});var aU=U(function(s_e,sU){var mf=30,yZ=12;sU.exports=function(t,n){var r,i,o,s,a,c,u,d,f,p,h,g,b,v,y,x,m,w,D,T,_,A,S,M,P;r=t.state,i=t.next_in,M=t.input,o=i+(t.avail_in-5),s=t.next_out,P=t.output,a=s-(n-t.avail_out),c=s+(t.avail_out-257),u=r.dmax,d=r.wsize,f=r.whave,p=r.wnext,h=r.window,g=r.hold,b=r.bits,v=r.lencode,y=r.distcode,x=(1<<r.lenbits)-1,m=(1<<r.distbits)-1;e:do{if(b<15)g+=M[i++]<<b,b+=8,g+=M[i++]<<b,b+=8;w=v[g&x];t:for(;;){if(D=w>>>24,g>>>=D,b-=D,D=w>>>16&255,D===0)P[s++]=w&65535;else if(D&16){if(T=w&65535,D&=15,D){if(b<D)g+=M[i++]<<b,b+=8;T+=g&(1<<D)-1,g>>>=D,b-=D}if(b<15)g+=M[i++]<<b,b+=8,g+=M[i++]<<b,b+=8;w=y[g&m];n:for(;;){if(D=w>>>24,g>>>=D,b-=D,D=w>>>16&255,D&16){if(_=w&65535,D&=15,b<D){if(g+=M[i++]<<b,b+=8,b<D)g+=M[i++]<<b,b+=8}if(_+=g&(1<<D)-1,_>u){t.msg="invalid distance too far back",r.mode=mf;break e}if(g>>>=D,b-=D,D=s-a,_>D){if(D=_-D,D>f){if(r.sane){t.msg="invalid distance too far back",r.mode=mf;break e}}if(A=0,S=h,p===0){if(A+=d-D,D<T){T-=D;do P[s++]=h[A++];while(--D);A=s-_,S=P}}else if(p<D){if(A+=d+p-D,D-=p,D<T){T-=D;do P[s++]=h[A++];while(--D);if(A=0,p<T){D=p,T-=D;do P[s++]=h[A++];while(--D);A=s-_,S=P}}}else if(A+=p-D,D<T){T-=D;do P[s++]=h[A++];while(--D);A=s-_,S=P}while(T>2)P[s++]=S[A++],P[s++]=S[A++],P[s++]=S[A++],T-=3;if(T){if(P[s++]=S[A++],T>1)P[s++]=S[A++]}}else{A=s-_;do P[s++]=P[A++],P[s++]=P[A++],P[s++]=P[A++],T-=3;while(T>2);if(T){if(P[s++]=P[A++],T>1)P[s++]=P[A++]}}}else if((D&64)===0){w=y[(w&65535)+(g&(1<<D)-1)];continue n}else{t.msg="invalid distance code",r.mode=mf;break e}break}}else if((D&64)===0){w=v[(w&65535)+(g&(1<<D)-1)];continue t}else if(D&32){r.mode=yZ;break e}else{t.msg="invalid literal/length code",r.mode=mf;break e}break}}while(i<o&&s<c);T=b>>3,i-=T,b-=T<<3,g&=(1<<b)-1,t.next_in=i,t.next_out=s,t.avail_in=i<o?5+(o-i):5-(i-o),t.avail_out=s<c?257+(c-s):257-(s-c),r.hold=g,r.bits=b;return}});var hU=U(function(a_e,pU){var cU=ir(),ls=15,uU=852,lU=592,dU=0,fv=1,fU=2,bZ=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],vZ=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],xZ=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],wZ=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];pU.exports=function(t,n,r,i,o,s,a,c){var u=c.bits,d=0,f=0,p=0,h=0,g=0,b=0,v=0,y=0,x=0,m=0,w,D,T,_,A,S=null,M=0,P,C=new cU.Buf16(ls+1),L=new cU.Buf16(ls+1),W=null,H=0,E,R,k;for(d=0;d<=ls;d++)C[d]=0;for(f=0;f<i;f++)C[n[r+f]]++;g=u;for(h=ls;h>=1;h--)if(C[h]!==0)break;if(g>h)g=h;if(h===0)return o[s++]=20971520,o[s++]=20971520,c.bits=1,0;for(p=1;p<h;p++)if(C[p]!==0)break;if(g<p)g=p;y=1;for(d=1;d<=ls;d++)if(y<<=1,y-=C[d],y<0)return-1;if(y>0&&(t===dU||h!==1))return-1;L[1]=0;for(d=1;d<ls;d++)L[d+1]=L[d]+C[d];for(f=0;f<i;f++)if(n[r+f]!==0)a[L[n[r+f]]++]=f;if(t===dU)S=W=a,P=19;else if(t===fv)S=bZ,M-=257,W=vZ,H-=257,P=256;else S=xZ,W=wZ,P=-1;if(m=0,f=0,d=p,A=s,b=g,v=0,T=-1,x=1<<g,_=x-1,t===fv&&x>uU||t===fU&&x>lU)return 1;for(;;){if(E=d-v,a[f]<P)R=0,k=a[f];else if(a[f]>P)R=W[H+a[f]],k=S[M+a[f]];else R=96,k=0;w=1<<d-v,D=1<<b,p=D;do D-=w,o[A+(m>>v)+D]=E<<24|R<<16|k|0;while(D!==0);w=1<<d-1;while(m&w)w>>=1;if(w!==0)m&=w-1,m+=w;else m=0;if(f++,--C[d]===0){if(d===h)break;d=n[r+a[f]]}if(d>g&&(m&_)!==T){if(v===0)v=g;A+=p,b=d-v,y=1<<b;while(b+v<h){if(y-=C[b+v],y<=0)break;b++,y<<=1}if(x+=1<<b,t===fv&&x>uU||t===fU&&x>lU)return 1;T=m&_,o[T]=g<<24|b<<16|A-s|0}}if(m!==0)o[A+m]=d-v<<24|4194304|0;return c.bits=g,0}});var KU=U(function(WZ){var qt=ir(),bv=ev(),On=tv(),_Z=aU(),_c=hU(),DZ=0,WU=1,jU=2,gU=4,EZ=5,yf=6,Xi=0,SZ=1,TZ=2,Jt=-2,qU=-3,vv=-4,CZ=-5,mU=8,$U=1,yU=2,bU=3,vU=4,xU=5,wU=6,_U=7,DU=8,EU=9,SU=10,xf=11,sr=12,pv=13,TU=14,hv=15,CU=16,AU=17,kU=18,UU=19,bf=20,vf=21,RU=22,FU=23,PU=24,OU=25,IU=26,gv=27,MU=28,NU=29,Pe=30,xv=31,AZ=32,kZ=852,UZ=592,RZ=15,FZ=RZ;function LU(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function PZ(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new qt.Buf16(320),this.work=new qt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function HU(e){var t;if(!e||!e.state)return Jt;if(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap)e.adler=t.wrap&1;return t.mode=$U,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new qt.Buf32(kZ),t.distcode=t.distdyn=new qt.Buf32(UZ),t.sane=1,t.back=-1,Xi}function GU(e){var t;if(!e||!e.state)return Jt;return t=e.state,t.wsize=0,t.whave=0,t.wnext=0,HU(e)}function zU(e,t){var n,r;if(!e||!e.state)return Jt;if(r=e.state,t<0)n=0,t=-t;else if(n=(t>>4)+1,t<48)t&=15;if(t&&(t<8||t>15))return Jt;if(r.window!==null&&r.wbits!==t)r.window=null;return r.wrap=n,r.wbits=t,GU(e)}function VU(e,t){var n,r;if(!e)return Jt;if(r=new PZ,e.state=r,r.window=null,n=zU(e,t),n!==Xi)e.state=null;return n}function OZ(e){return VU(e,FZ)}var BU=!0,mv,yv;function IZ(e){if(BU){var t;mv=new qt.Buf32(512),yv=new qt.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;_c(WU,e.lens,0,288,mv,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;_c(jU,e.lens,0,32,yv,0,e.work,{bits:5}),BU=!1}e.lencode=mv,e.lenbits=9,e.distcode=yv,e.distbits=5}function XU(e,t,n,r){var i,o=e.state;if(o.window===null)o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new qt.Buf8(o.wsize);if(r>=o.wsize)qt.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize;else{if(i=o.wsize-o.wnext,i>r)i=r;if(qt.arraySet(o.window,t,n-r,i,o.wnext),r-=i,r)qt.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize;else{if(o.wnext+=i,o.wnext===o.wsize)o.wnext=0;if(o.whave<o.wsize)o.whave+=i}}return 0}function MZ(e,t){var n,r,i,o,s,a,c,u,d,f,p,h,g,b,v=0,y,x,m,w,D,T,_,A,S=new qt.Buf8(4),M,P,C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Jt;if(n=e.state,n.mode===sr)n.mode=pv;s=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,a=e.avail_in,u=n.hold,d=n.bits,f=a,p=c,A=Xi;e:for(;;)switch(n.mode){case $U:if(n.wrap===0){n.mode=pv;break}while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.wrap&2&&u===35615){n.check=0,S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0),u=0,d=0,n.mode=yU;break}if(n.flags=0,n.head)n.head.done=!1;if(!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Pe;break}if((u&15)!==mU){e.msg="unknown compression method",n.mode=Pe;break}if(u>>>=4,d-=4,_=(u&15)+8,n.wbits===0)n.wbits=_;else if(_>n.wbits){e.msg="invalid window size",n.mode=Pe;break}n.dmax=1<<_,e.adler=n.check=1,n.mode=u&512?SU:sr,u=0,d=0;break;case yU:while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.flags=u,(n.flags&255)!==mU){e.msg="unknown compression method",n.mode=Pe;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Pe;break}if(n.head)n.head.text=u>>8&1;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0);u=0,d=0,n.mode=bU;case bU:while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.head)n.head.time=u;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,S[2]=u>>>16&255,S[3]=u>>>24&255,n.check=On(n.check,S,4,0);u=0,d=0,n.mode=vU;case vU:while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.head)n.head.xflags=u&255,n.head.os=u>>8;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0);u=0,d=0,n.mode=xU;case xU:if(n.flags&1024){while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.length=u,n.head)n.head.extra_len=u;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0);u=0,d=0}else if(n.head)n.head.extra=null;n.mode=wU;case wU:if(n.flags&1024){if(h=n.length,h>a)h=a;if(h){if(n.head){if(_=n.head.extra_len-n.length,!n.head.extra)n.head.extra=Array(n.head.extra_len);qt.arraySet(n.head.extra,r,o,h,_)}if(n.flags&512)n.check=On(n.check,r,h,o);a-=h,o+=h,n.length-=h}if(n.length)break e}n.length=0,n.mode=_U;case _U:if(n.flags&2048){if(a===0)break e;h=0;do if(_=r[o+h++],n.head&&_&&n.length<65536)n.head.name+=String.fromCharCode(_);while(_&&h<a);if(n.flags&512)n.check=On(n.check,r,h,o);if(a-=h,o+=h,_)break e}else if(n.head)n.head.name=null;n.length=0,n.mode=DU;case DU:if(n.flags&4096){if(a===0)break e;h=0;do if(_=r[o+h++],n.head&&_&&n.length<65536)n.head.comment+=String.fromCharCode(_);while(_&&h<a);if(n.flags&512)n.check=On(n.check,r,h,o);if(a-=h,o+=h,_)break e}else if(n.head)n.head.comment=null;n.mode=EU;case EU:if(n.flags&512){while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Pe;break}u=0,d=0}if(n.head)n.head.hcrc=n.flags>>9&1,n.head.done=!0;e.adler=n.check=0,n.mode=sr;break;case SU:while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}e.adler=n.check=LU(u),u=0,d=0,n.mode=xf;case xf:if(n.havedict===0)return e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=a,n.hold=u,n.bits=d,TZ;e.adler=n.check=1,n.mode=sr;case sr:if(t===EZ||t===yf)break e;case pv:if(n.last){u>>>=d&7,d-=d&7,n.mode=gv;break}while(d<3){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}switch(n.last=u&1,u>>>=1,d-=1,u&3){case 0:n.mode=TU;break;case 1:if(IZ(n),n.mode=bf,t===yf){u>>>=2,d-=2;break e}break;case 2:n.mode=AU;break;case 3:e.msg="invalid block type",n.mode=Pe}u>>>=2,d-=2;break;case TU:u>>>=d&7,d-=d&7;while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Pe;break}if(n.length=u&65535,u=0,d=0,n.mode=hv,t===yf)break e;case hv:n.mode=CU;case CU:if(h=n.length,h){if(h>a)h=a;if(h>c)h=c;if(h===0)break e;qt.arraySet(i,r,o,h,s),a-=h,o+=h,c-=h,s+=h,n.length-=h;break}n.mode=sr;break;case AU:while(d<14){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.nlen=(u&31)+257,u>>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Pe;break}n.have=0,n.mode=kU;case kU:while(n.have<n.ncode){while(d<3){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}n.lens[C[n.have++]]=u&7,u>>>=3,d-=3}while(n.have<19)n.lens[C[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},A=_c(DZ,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,A){e.msg="invalid code lengths set",n.mode=Pe;break}n.have=0,n.mode=UU;case UU:while(n.have<n.nlen+n.ndist){for(;;){if(v=n.lencode[u&(1<<n.lenbits)-1],y=v>>>24,x=v>>>16&255,m=v&65535,y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(m<16)u>>>=y,d-=y,n.lens[n.have++]=m;else{if(m===16){P=y+2;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(u>>>=y,d-=y,n.have===0){e.msg="invalid bit length repeat",n.mode=Pe;break}_=n.lens[n.have-1],h=3+(u&3),u>>>=2,d-=2}else if(m===17){P=y+3;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=y,d-=y,_=0,h=3+(u&7),u>>>=3,d-=3}else{P=y+7;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=y,d-=y,_=0,h=11+(u&127),u>>>=7,d-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Pe;break}while(h--)n.lens[n.have++]=_}}if(n.mode===Pe)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Pe;break}if(n.lenbits=9,M={bits:n.lenbits},A=_c(WU,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,A){e.msg="invalid literal/lengths set",n.mode=Pe;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},A=_c(jU,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,A){e.msg="invalid distances set",n.mode=Pe;break}if(n.mode=bf,t===yf)break e;case bf:n.mode=vf;case vf:if(a>=6&&c>=258){if(e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=a,n.hold=u,n.bits=d,_Z(e,p),s=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,a=e.avail_in,u=n.hold,d=n.bits,n.mode===sr)n.back=-1;break}n.back=0;for(;;){if(v=n.lencode[u&(1<<n.lenbits)-1],y=v>>>24,x=v>>>16&255,m=v&65535,y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(x&&(x&240)===0){w=y,D=x,T=m;for(;;){if(v=n.lencode[T+((u&(1<<w+D)-1)>>w)],y=v>>>24,x=v>>>16&255,m=v&65535,w+y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,n.length=m,x===0){n.mode=IU;break}if(x&32){n.back=-1,n.mode=sr;break}if(x&64){e.msg="invalid literal/length code",n.mode=Pe;break}n.extra=x&15,n.mode=RU;case RU:if(n.extra){P=n.extra;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=FU;case FU:for(;;){if(v=n.distcode[u&(1<<n.distbits)-1],y=v>>>24,x=v>>>16&255,m=v&65535,y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if((x&240)===0){w=y,D=x,T=m;for(;;){if(v=n.distcode[T+((u&(1<<w+D)-1)>>w)],y=v>>>24,x=v>>>16&255,m=v&65535,w+y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,x&64){e.msg="invalid distance code",n.mode=Pe;break}n.offset=m,n.extra=x&15,n.mode=PU;case PU:if(n.extra){P=n.extra;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Pe;break}n.mode=OU;case OU:if(c===0)break e;if(h=p-c,n.offset>h){if(h=n.offset-h,h>n.whave){if(n.sane){e.msg="invalid distance too far back",n.mode=Pe;break}}if(h>n.wnext)h-=n.wnext,g=n.wsize-h;else g=n.wnext-h;if(h>n.length)h=n.length;b=n.window}else b=i,g=s-n.offset,h=n.length;if(h>c)h=c;c-=h,n.length-=h;do i[s++]=b[g++];while(--h);if(n.length===0)n.mode=vf;break;case IU:if(c===0)break e;i[s++]=n.length,c--,n.mode=vf;break;case gv:if(n.wrap){while(d<32){if(a===0)break e;a--,u|=r[o++]<<d,d+=8}if(p-=c,e.total_out+=p,n.total+=p,p)e.adler=n.check=n.flags?On(n.check,i,p,s-p):bv(n.check,i,p,s-p);if(p=c,(n.flags?u:LU(u))!==n.check){e.msg="incorrect data check",n.mode=Pe;break}u=0,d=0}n.mode=MU;case MU:if(n.wrap&&n.flags){while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Pe;break}u=0,d=0}n.mode=NU;case NU:A=SZ;break e;case Pe:A=qU;break e;case xv:return vv;case AZ:default:return Jt}if(e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=a,n.hold=u,n.bits=d,n.wsize||p!==e.avail_out&&n.mode<Pe&&(n.mode<gv||t!==gU)){if(XU(e,e.output,e.next_out,p-e.avail_out))return n.mode=xv,vv}if(f-=e.avail_in,p-=e.avail_out,e.total_in+=f,e.total_out+=p,n.total+=p,n.wrap&&p)e.adler=n.check=n.flags?On(n.check,i,p,e.next_out-p):bv(n.check,i,p,e.next_out-p);if(e.data_type=n.bits+(n.last?64:0)+(n.mode===sr?128:0)+(n.mode===bf||n.mode===hv?256:0),(f===0&&p===0||t===gU)&&A===Xi)A=CZ;return A}function NZ(e){if(!e||!e.state)return Jt;var t=e.state;if(t.window)t.window=null;return e.state=null,Xi}function LZ(e,t){var n;if(!e||!e.state)return Jt;if(n=e.state,(n.wrap&2)===0)return Jt;return n.head=t,t.done=!1,Xi}function BZ(e,t){var n=t.length,r,i,o;if(!e||!e.state)return Jt;if(r=e.state,r.wrap!==0&&r.mode!==xf)return Jt;if(r.mode===xf){if(i=1,i=bv(i,t,n,0),i!==r.check)return qU}if(o=XU(e,t,n,n),o)return r.mode=xv,vv;return r.havedict=1,Xi}WZ.inflateReset=GU;WZ.inflateReset2=zU;WZ.inflateResetKeep=HU;WZ.inflateInit=OZ;WZ.inflateInit2=VU;WZ.inflate=MZ;WZ.inflateEnd=NZ;WZ.inflateGetHeader=LZ;WZ.inflateSetDictionary=BZ;WZ.inflateInfo="pako inflate (from Nodeca project)"});var wv=U(function(u_e,ZU){ZU.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var JU=U(function(l_e,YU){function YZ(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}YU.exports=YZ});var eR=U(function(tY){var ds=KU(),Dc=ir(),wf=sv(),$e=wv(),_v=cf(),JZ=av(),QZ=JU(),QU=Object.prototype.toString;function Ki(e){if(!(this instanceof Ki))return new Ki(e);this.options=Dc.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;if(t.raw&&t.windowBits>=0&&t.windowBits<16){if(t.windowBits=-t.windowBits,t.windowBits===0)t.windowBits=-15}if(t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits))t.windowBits+=32;if(t.windowBits>15&&t.windowBits<48){if((t.windowBits&15)===0)t.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new JZ,this.strm.avail_out=0;var n=ds.inflateInit2(this.strm,t.windowBits);if(n!==$e.Z_OK)throw Error(_v[n]);if(this.header=new QZ,ds.inflateGetHeader(this.strm,this.header),t.dictionary){if(typeof t.dictionary==="string")t.dictionary=wf.string2buf(t.dictionary);else if(QU.call(t.dictionary)==="[object ArrayBuffer]")t.dictionary=new Uint8Array(t.dictionary);if(t.raw){if(n=ds.inflateSetDictionary(this.strm,t.dictionary),n!==$e.Z_OK)throw Error(_v[n])}}}Ki.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i=this.options.dictionary,o,s,a,c,u,d=!1;if(this.ended)return!1;if(s=t===~~t?t:t===!0?$e.Z_FINISH:$e.Z_NO_FLUSH,typeof e==="string")n.input=wf.binstring2buf(e);else if(QU.call(e)==="[object ArrayBuffer]")n.input=new Uint8Array(e);else n.input=e;n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0)n.output=new Dc.Buf8(r),n.next_out=0,n.avail_out=r;if(o=ds.inflate(n,$e.Z_NO_FLUSH),o===$e.Z_NEED_DICT&&i)o=ds.inflateSetDictionary(this.strm,i);if(o===$e.Z_BUF_ERROR&&d===!0)o=$e.Z_OK,d=!1;if(o!==$e.Z_STREAM_END&&o!==$e.Z_OK)return this.onEnd(o),this.ended=!0,!1;if(n.next_out){if(n.avail_out===0||o===$e.Z_STREAM_END||n.avail_in===0&&(s===$e.Z_FINISH||s===$e.Z_SYNC_FLUSH))if(this.options.to==="string"){if(a=wf.utf8border(n.output,n.next_out),c=n.next_out-a,u=wf.buf2string(n.output,a),n.next_out=c,n.avail_out=r-c,c)Dc.arraySet(n.output,n.output,a,c,0);this.onData(u)}else this.onData(Dc.shrinkBuf(n.output,n.next_out))}if(n.avail_in===0&&n.avail_out===0)d=!0}while((n.avail_in>0||n.avail_out===0)&&o!==$e.Z_STREAM_END);if(o===$e.Z_STREAM_END)s=$e.Z_FINISH;if(s===$e.Z_FINISH)return o=ds.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===$e.Z_OK;if(s===$e.Z_SYNC_FLUSH)return this.onEnd($e.Z_OK),n.avail_out=0,!0;return!0};Ki.prototype.onData=function(e){this.chunks.push(e)};Ki.prototype.onEnd=function(e){if(e===$e.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=Dc.flattenChunks(this.chunks);this.chunks=[],this.err=e,this.msg=this.strm.msg};function Dv(e,t){var n=new Ki(t);if(n.push(e,!0),n.err)throw n.msg||_v[n.err];return n.result}function eY(e,t){return t=t||{},t.raw=!0,Dv(e,t)}tY.Inflate=Ki;tY.inflate=Dv;tY.inflateRaw=eY;tY.ungzip=Dv});var rR=U(function(f_e,nR){var sY=ir().assign,aY=oU(),cY=eR(),uY=wv(),tR={};sY(tR,aY,cY,uY);nR.exports=tR});var oR=U(function(pY){var lY=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",dY=rR(),iR=Ne(),_f=jt(),fY=lY?"uint8array":"array";pY.magic="\b\x00";function Zi(e,t){_f.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}iR.inherits(Zi,_f);Zi.prototype.processChunk=function(e){if(this.meta=e.meta,this._pako===null)this._createPako();this._pako.push(iR.transformTo(fY,e.data),!1)};Zi.prototype.flush=function(){if(_f.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};Zi.prototype.cleanUp=function(){_f.prototype.cleanUp.call(this),this._pako=null};Zi.prototype._createPako=function(){this._pako=new dY[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};pY.compressWorker=function(e){return new Zi("Deflate",e)};pY.uncompressWorker=function(){return new Zi("Inflate",{})}});var Ev=U(function(yY){var sR=jt();yY.STORE={magic:"\x00\x00",compressWorker:function(){return new sR("STORE compression")},uncompressWorker:function(){return new sR("STORE decompression")}};yY.DEFLATE=oR()});var Sv=U(function(xY){xY.LOCAL_FILE_HEADER="PK\x03\x04";xY.CENTRAL_FILE_HEADER="PK\x01\x02";xY.CENTRAL_DIRECTORY_END="PK\x05\x06";xY.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";xY.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";xY.DATA_DESCRIPTOR="PK\x07\b"});var lR=U(function(m_e,uR){var fs=Ne(),ps=jt(),Tv=ts(),aR=rf(),Df=Sv(),Ee=function(e,t){var n="",r;for(r=0;r<t;r++)n+=String.fromCharCode(e&255),e=e>>>8;return n},CY=function(e,t){var n=e;if(!e)n=t?16893:33204;return(n&65535)<<16},AY=function(e){return(e||0)&63},cR=function(e,t,n,r,i,o){var{file:s,compression:a}=e,c=o!==Tv.utf8encode,u=fs.transformTo("string",o(s.name)),d=fs.transformTo("string",Tv.utf8encode(s.name)),f=s.comment,p=fs.transformTo("string",o(f)),h=fs.transformTo("string",Tv.utf8encode(f)),g=d.length!==s.name.length,b=h.length!==f.length,v,y,x="",m="",w="",{dir:D,date:T}=s,_={crc32:0,compressedSize:0,uncompressedSize:0};if(!t||n)_.crc32=e.crc32,_.compressedSize=e.compressedSize,_.uncompressedSize=e.uncompressedSize;var A=0;if(t)A|=8;if(!c&&(g||b))A|=2048;var S=0,M=0;if(D)S|=16;if(i==="UNIX")M=798,S|=CY(s.unixPermissions,D);else M=20,S|=AY(s.dosPermissions,D);if(v=T.getUTCHours(),v=v<<6,v=v|T.getUTCMinutes(),v=v<<5,v=v|T.getUTCSeconds()/2,y=T.getUTCFullYear()-1980,y=y<<4,y=y|T.getUTCMonth()+1,y=y<<5,y=y|T.getUTCDate(),g)m=Ee(1,1)+Ee(aR(u),4)+d,x+="up"+Ee(m.length,2)+m;if(b)w=Ee(1,1)+Ee(aR(p),4)+h,x+="uc"+Ee(w.length,2)+w;var P="";P+=`
|
|
199
|
-
\x00`,P+=Ee(A,2),P+=a.magic,P+=Ee(v,2),P+=Ee(y,2),P+=Ee(_.crc32,4),P+=Ee(_.compressedSize,4),P+=Ee(_.uncompressedSize,4),P+=Ee(u.length,2),P+=Ee(x.length,2);var C=Df.LOCAL_FILE_HEADER+P+u+x,L=Df.CENTRAL_FILE_HEADER+Ee(M,2)+P+Ee(p.length,2)+"\x00\x00\x00\x00"+Ee(S,4)+Ee(r,4)+u+x+p;return{fileRecord:C,dirRecord:L}},kY=function(e,t,n,r,i){var o="",s=fs.transformTo("string",i(r));return o=Df.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+Ee(e,2)+Ee(e,2)+Ee(t,4)+Ee(n,4)+Ee(s.length,2)+s,o},UY=function(e){var t="";return t=Df.DATA_DESCRIPTOR+Ee(e.crc32,4)+Ee(e.compressedSize,4)+Ee(e.uncompressedSize,4),t};function cn(e,t,n,r){ps.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}fs.inherits(cn,ps);cn.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;if(this.accumulate)this.contentBuffer.push(e);else this.bytesWritten+=e.data.length,ps.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}})};cn.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=cR(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};cn.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=cR(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:UY(e),meta:{percent:100}});else{this.push({data:n.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};cn.prototype.flush=function(){var e=this.bytesWritten;for(var t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=kY(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})};cn.prototype.prepareNextSource=function(){if(this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused)this.previous.pause();else this.previous.resume()};cn.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){if(t.closedSource(t.previous.streamInfo),t._sources.length)t.prepareNextSource();else t.end()}),e.on("error",function(n){t.error(n)}),this};cn.prototype.resume=function(){if(!ps.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};cn.prototype.error=function(e){var t=this._sources;if(!ps.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(r){}return!0};cn.prototype.lock=function(){ps.prototype.lock.call(this);var e=this._sources;for(var t=0;t<e.length;t++)e[t].lock()};uR.exports=cn});var dR=U(function(OY){var RY=Ev(),FY=lR(),PY=function(e,t){var n=e||t,r=RY[n];if(!r)throw Error(n+" is not a valid compression method !");return r};OY.generateWorker=function(e,t,n){var r=new FY(t.streamFiles,n,t.platform,t.encodeFileName),i=0;try{e.forEach(function(o,s){i++;var a=PY(s.options.compression,t.compression),c=s.options.compressionOptions||t.compressionOptions||{},{dir:u,date:d}=s;s._compressWorker(a,c).withStreamInfo("file",{name:o,dir:u,date:d,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(r)}),r.entriesCount=i}catch(o){r.error(o)}return r}});var pR=U(function(b_e,fR){var MY=Ne(),Ef=jt();function Ec(e,t){Ef.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}MY.inherits(Ec,Ef);Ec.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){if(t.isPaused)this.generatedError=n;else t.error(n)}).on("end",function(){if(t.isPaused)t._upstreamEnded=!0;else t.end()})};Ec.prototype.pause=function(){if(!Ef.prototype.pause.call(this))return!1;return this._stream.pause(),!0};Ec.prototype.resume=function(){if(!Ef.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};fR.exports=Ec});var DR=U(function(v_e,_R){var NY=ts(),Sc=Ne(),yR=jt(),LY=Rb(),bR=Fb(),hR=of(),BY=gk(),WY=dR(),gR=rc(),jY=pR(),vR=function(e,t,n){var r=Sc.getTypeOf(t),i,o=Sc.extend(n||{},bR);if(o.date=o.date||new Date,o.compression!==null)o.compression=o.compression.toUpperCase();if(typeof o.unixPermissions==="string")o.unixPermissions=parseInt(o.unixPermissions,8);if(o.unixPermissions&&o.unixPermissions&16384)o.dir=!0;if(o.dosPermissions&&o.dosPermissions&16)o.dir=!0;if(o.dir)e=xR(e);if(o.createFolders&&(i=qY(e)))wR.call(this,i,!0);var s=r==="string"&&o.binary===!1&&o.base64===!1;if(!n||typeof n.binary>"u")o.binary=!s;var a=t instanceof hR&&t.uncompressedSize===0;if(a||o.dir||!t||t.length===0)o.base64=!1,o.binary=!0,t="",o.compression="STORE",r="string";var c=null;if(t instanceof hR||t instanceof yR)c=t;else if(gR.isNode&&gR.isStream(t))c=new jY(e,t);else c=Sc.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var u=new BY(e,c,o);this.files[e]=u},qY=function(e){if(e.slice(-1)==="/")e=e.substring(0,e.length-1);var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},xR=function(e){if(e.slice(-1)!=="/")e+="/";return e},wR=function(e,t){if(t=typeof t<"u"?t:bR.createFolders,e=xR(e),!this.files[e])vR.call(this,e,null,{dir:!0,createFolders:t});return this.files[e]};function mR(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var $Y={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)if(r=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root)e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){if(e(n,r))t.push(r)}),t},file:function(e,t,n){if(arguments.length===1)if(mR(e)){var r=e;return this.filter(function(o,s){return!s.dir&&r.test(o)})}else{var i=this.files[this.root+e];if(i&&!i.dir)return i;else return null}else e=this.root+e,vR.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(mR(e))return this.filter(function(i,o){return o.dir&&e.test(i)});var t=this.root+e,n=wR.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(!t){if(e.slice(-1)!=="/")e+="/";t=this.files[e]}if(t&&!t.dir)delete this.files[e];else{var n=this.filter(function(i,o){return o.name.slice(0,e.length)===e});for(var r=0;r<n.length;r++)delete this.files[n[r].name]}return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if(n=Sc.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:NY.utf8encode}),n.type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring")n.type="string";if(!n.type)throw Error("No output type specified.");if(Sc.checkSupport(n.type),n.platform==="darwin"||n.platform==="freebsd"||n.platform==="linux"||n.platform==="sunos")n.platform="UNIX";if(n.platform==="win32")n.platform="DOS";var r=n.comment||this.comment||"";t=WY.generateWorker(this,n,r)}catch(i){t=new yR("error"),t.error(i)}return new LY(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){if(e=e||{},!e.type)e.type="nodebuffer";return this.generateInternalStream(e).toNodejsStream(t)}};_R.exports=$Y});var Cv=U(function(x_e,SR){var HY=Ne();function ER(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}ER.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t=0,n;this.checkOffset(e);for(n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return HY.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};SR.exports=ER});var Av=U(function(w_e,CR){var TR=Cv(),GY=Ne();function hs(e){TR.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}GY.inherits(hs,TR);hs.prototype.byteAt=function(e){return this.data[this.zero+e]};hs.prototype.lastIndexOfSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3);for(var o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1};hs.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]};hs.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};CR.exports=hs});var UR=U(function(__e,kR){var AR=Cv(),zY=Ne();function gs(e){AR.call(this,e)}zY.inherits(gs,AR);gs.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};gs.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};gs.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};gs.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};kR.exports=gs});var Uv=U(function(D_e,FR){var RR=Av(),VY=Ne();function kv(e){RR.call(this,e)}VY.inherits(kv,RR);kv.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};FR.exports=kv});var IR=U(function(E_e,OR){var PR=Uv(),XY=Ne();function Rv(e){PR.call(this,e)}XY.inherits(Rv,PR);Rv.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};OR.exports=Rv});var Fv=U(function(S_e,NR){var Sf=Ne(),MR=rr(),KY=Av(),ZY=UR(),YY=IR(),JY=Uv();NR.exports=function(e){var t=Sf.getTypeOf(e);if(Sf.checkSupport(t),t==="string"&&!MR.uint8array)return new ZY(e);if(t==="nodebuffer")return new YY(e);if(MR.uint8array)return new JY(Sf.transformTo("uint8array",e));return new KY(Sf.transformTo("array",e))}});var jR=U(function(T_e,WR){var Pv=Fv(),ei=Ne(),QY=of(),LR=rf(),Tf=ts(),Cf=Ev(),eJ=rr(),tJ=0,nJ=3,rJ=function(e){for(var t in Cf){if(!Object.prototype.hasOwnProperty.call(Cf,t))continue;if(Cf[t].magic===e)return Cf[t]}return null};function BR(e,t){this.options=e,this.loadOptions=t}BR.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=rJ(this.compressionMethod),t===null)throw Error("Corrupted zip : compression "+ei.pretty(this.compressionMethod)+" unknown (inner file : "+ei.transformTo("string",this.fileName)+")");this.decompressed=new QY(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,e===tJ)this.dosPermissions=this.externalFileAttributes&63;if(e===nJ)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var e=Pv(this.extraFields[1].value);if(this.uncompressedSize===ei.MAX_VALUE_32BITS)this.uncompressedSize=e.readInt(8);if(this.compressedSize===ei.MAX_VALUE_32BITS)this.compressedSize=e.readInt(8);if(this.localHeaderOffset===ei.MAX_VALUE_32BITS)this.localHeaderOffset=e.readInt(8);if(this.diskNumberStart===ei.MAX_VALUE_32BITS)this.diskNumberStart=e.readInt(4)},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,r,i;if(!this.extraFields)this.extraFields={};while(e.index+4<t)n=e.readInt(2),r=e.readInt(2),i=e.readData(r),this.extraFields[n]={id:n,length:r,value:i};e.setIndex(t)},handleUTF8:function(){var e=eJ.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Tf.utf8decode(this.fileName),this.fileCommentStr=Tf.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=ei.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var i=ei.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Pv(e.value);if(t.readInt(1)!==1)return null;if(LR(this.fileName)!==t.readInt(4))return null;return Tf.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Pv(e.value);if(t.readInt(1)!==1)return null;if(LR(this.fileComment)!==t.readInt(4))return null;return Tf.utf8decode(t.readData(e.length-5))}return null}};WR.exports=BR});var HR=U(function(C_e,$R){var iJ=Fv(),ar=Ne(),un=Sv(),oJ=jR(),sJ=rr();function qR(e){this.files=[],this.loadOptions=e}qR.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+ar.pretty(t)+", expected "+ar.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4),i=r===t;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=sJ.uint8array?"uint8array":"array",n=ar.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var e=this.zip64EndOfCentralSize-44,t=0,n,r,i;while(t<e)n=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[n]={id:n,length:r,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(un.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;this.reader.setIndex(this.centralDirOffset);while(this.reader.readAndCheckSignature(un.CENTRAL_FILE_HEADER))e=new oJ({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length){if(this.centralDirRecords!==0&&this.files.length===0)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)}},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(un.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,un.LOCAL_FILE_HEADER);if(t)throw Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");else throw Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var n=e;if(this.checkSignature(un.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ar.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ar.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ar.MAX_VALUE_16BITS||this.centralDirRecords===ar.MAX_VALUE_16BITS||this.centralDirSize===ar.MAX_VALUE_32BITS||this.centralDirOffset===ar.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(un.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(un.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,un.ZIP64_CENTRAL_DIRECTORY_END)){if(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(un.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory")}this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(un.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;if(this.zip64)r+=20,r+=12+this.zip64EndOfCentralSize;var i=n-r;if(i>0)if(this.isSignature(n,un.CENTRAL_FILE_HEADER));else this.reader.zero=i;else if(i<0)throw Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=iJ(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};$R.exports=qR});var VR=U(function(A_e,zR){var Ov=Ne(),Af=Jo(),aJ=ts(),cJ=HR(),uJ=Ib(),GR=rc();function lJ(e){return new Af.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new uJ);r.on("error",function(i){n(i)}).on("end",function(){if(r.streamInfo.crc32!==e.decompressed.crc32)n(Error("Corrupted zip : CRC32 mismatch"));else t()}).resume()})}zR.exports=function(e,t){var n=this;if(t=Ov.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:aJ.utf8decode}),GR.isNode&&GR.isStream(e))return Af.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return Ov.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new cJ(t);return i.load(r),i}).then(function(i){var o=[Af.Promise.resolve(i)],s=i.files;if(t.checkCRC32)for(var a=0;a<s.length;a++)o.push(lJ(s[a]));return Af.Promise.all(o)}).then(function(i){var o=i.shift(),s=o.files;for(var a=0;a<s.length;a++){var c=s[a],u=c.fileNameStr,d=Ov.resolve(c.fileNameStr);if(n.file(d,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders}),!c.dir)n.file(d).unsafeOriginalName=u}if(o.zipComment.length)n.comment=o.zipComment;return n})}});var KR=U(function(k_e,XR){function Qt(){if(!(this instanceof Qt))return new Qt;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new Qt;for(var t in this)if(typeof this[t]!=="function")e[t]=this[t];return e}}Qt.prototype=DR();Qt.prototype.loadAsync=VR();Qt.support=rr();Qt.defaults=Fb();Qt.version="3.10.1";Qt.loadAsync=function(e,t){return new Qt().loadAsync(e,t)};Qt.external=Jo();XR.exports=Qt});var Iv=U(function(mJ){var dJ=IC(),fJ=KR();mJ.openArrayBuffer=pJ;mJ.splitPath=hJ;mJ.joinPath=gJ;function pJ(e){return fJ.loadAsync(e).then(function(t){function n(s){return t.file(s)!==null}function r(s,a){return t.file(s).async("uint8array").then(function(c){if(a==="base64")return dJ.fromByteArray(c);else if(a){var u=new TextDecoder(a);return u.decode(c)}else return c})}function i(s,a){t.file(s,a)}function o(){return t.generateAsync({type:"arraybuffer"})}return{exists:n,read:r,write:i,toArrayBuffer:o}})}function hJ(e){var t=e.lastIndexOf("/");if(t===-1)return{dirname:"",basename:e};else return{dirname:e.substring(0,t),basename:e.substring(t+1)}}function gJ(){var e=Array.prototype.filter.call(arguments,function(n){return n}),t=[];return e.forEach(function(n){if(/^\//.test(n))t=[n];else t.push(n)}),t.join("/")}});var Mv=U(function(wJ){var kf=We();wJ.Element=ms;wJ.element=function(e,t,n){return new ms(e,t,n)};wJ.text=function(e){return{type:"text",value:e}};var ZR=wJ.emptyElement={first:function(){return null},firstOrEmpty:function(){return ZR},attributes:{},children:[]};function ms(e,t,n){this.type="element",this.name=e,this.attributes=t||{},this.children=n||[]}ms.prototype.first=function(e){return kf.find(this.children,function(t){return t.name===e})};ms.prototype.firstOrEmpty=function(e){return this.first(e)||ZR};ms.prototype.getElementsByTagName=function(e){var t=kf.filter(this.children,function(n){return n.name===e});return YR(t)};ms.prototype.text=function(){if(this.children.length===0)return"";else if(this.children.length!==1||this.children[0].type!=="text")throw Error("Not implemented");return this.children[0].value};var xJ={getElementsByTagName:function(e){return YR(kf.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function YR(e){return kf.extend(e,xJ)}});var ys=U(function(AJ){function SJ(e,t,n){if(n===void 0)n=Array.prototype;if(e&&typeof n.find==="function")return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}}function Lv(e,t){if(t===void 0)t=Object;return t&&typeof t.freeze==="function"?t.freeze(e):e}function TJ(e,t){if(e===null||typeof e!=="object")throw TypeError("target is not an object");for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n];return e}var JR=Lv({HTML:"text/html",isHTML:function(e){return e===JR.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),QR=Lv({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===QR.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),Uf=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Nv=new RegExp("[\\-\\.0-9"+Uf.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),CJ=new RegExp("^"+Uf.source+Nv.source+"*(?::"+Uf.source+Nv.source+"*)?$");AJ.assign=TJ;AJ.find=SJ;AJ.freeze=Lv;AJ.MIME_TYPE=JR;AJ.NAMESPACE=QR;AJ.nameStartChar=Uf;AJ.nameChar=Nv;AJ.tagNamePattern=CJ});var Bf=U(function(YJ){var Bv=ys(),{find:In,NAMESPACE:Cc,tagNamePattern:bs}=Bv;function NJ(e){return e!==""}function LJ(e){return e?e.split(/[\t\n\f\r ]+/).filter(NJ):[]}function BJ(e,t){if(!e.hasOwnProperty(t))e[t]=!0;return e}function eF(e){if(!e)return[];var t=LJ(e);return Object.keys(t.reduce(BJ,{}))}function WJ(e){return function(t){return e&&e.indexOf(t)!==-1}}function kc(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}function Nt(e,t){var n=e.prototype;if(!(n instanceof t)){let i=function(){};var r=i;i.prototype=t.prototype,i=new i,kc(n,i),e.prototype=n=i}if(n.constructor!=e){if(typeof e!="function")console.error("unknown Class:"+e);n.constructor=e}}var Lt={},en=Lt.ELEMENT_NODE=1,vs=Lt.ATTRIBUTE_NODE=2,Tc=Lt.TEXT_NODE=3,cF=Lt.CDATA_SECTION_NODE=4,uF=Lt.ENTITY_REFERENCE_NODE=5,jJ=Lt.ENTITY_NODE=6,Wv=Lt.PROCESSING_INSTRUCTION_NODE=7,jv=Lt.COMMENT_NODE=8,lF=Lt.DOCUMENT_NODE=9,dF=Lt.DOCUMENT_TYPE_NODE=10,cr=Lt.DOCUMENT_FRAGMENT_NODE=11,qJ=Lt.NOTATION_NODE=12,bt={},rt={},O_e=bt.INDEX_SIZE_ERR=(rt[1]="Index size error",1),I_e=bt.DOMSTRING_SIZE_ERR=(rt[2]="DOMString size error",2),Mt=bt.HIERARCHY_REQUEST_ERR=(rt[3]="Hierarchy request error",3),M_e=bt.WRONG_DOCUMENT_ERR=(rt[4]="Wrong document",4),tF=bt.INVALID_CHARACTER_ERR=(rt[5]="Invalid character",5),N_e=bt.NO_DATA_ALLOWED_ERR=(rt[6]="No data allowed",6),L_e=bt.NO_MODIFICATION_ALLOWED_ERR=(rt[7]="No modification allowed",7),fF=bt.NOT_FOUND_ERR=(rt[8]="Not found",8),B_e=bt.NOT_SUPPORTED_ERR=(rt[9]="Not supported",9),nF=bt.INUSE_ATTRIBUTE_ERR=(rt[10]="Attribute in use",10),ln=bt.INVALID_STATE_ERR=(rt[11]="Invalid state",11),W_e=bt.SYNTAX_ERR=(rt[12]="Syntax error",12),j_e=bt.INVALID_MODIFICATION_ERR=(rt[13]="Invalid modification",13),q_e=bt.NAMESPACE_ERR=(rt[14]="Invalid namespace",14),$_e=bt.INVALID_ACCESS_ERR=(rt[15]="Invalid access",15);function de(e,t){if(t instanceof Error)var n=t;else if(n=this,Error.call(this,rt[e]),this.message=rt[e],Error.captureStackTrace)Error.captureStackTrace(this,de);if(n.code=e,t)this.message=this.message+": "+t;return n}de.prototype=Error.prototype;kc(bt,de);function ur(){}ur.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,n){var r=!!n&&!!n.requireWellFormed;for(var i=[],o=0;o<this.length;o++)Kv(this[o],i,e,t,null,r);return i.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function xs(e,t){this._node=e,this._refresh=t,qv(this)}function qv(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(SF(e,"length",n.length),!e.$$length||n.length<e.$$length){for(var r=n.length;r in e;r++)if(Object.prototype.hasOwnProperty.call(e,r))delete e[r]}kc(n,e),e._inc=t}}xs.prototype.item=function(e){return qv(this),this[e]||null};Nt(xs,ur);function Ff(){this._nameIndex=Object.create(null)}function pF(e,t){var n=e.length;while(n--)if(e[n]===t)return n}function $J(e,t){e._nameIndex[t.nodeName]=t}function hF(e,t){if(e._nameIndex[t.nodeName]===t)delete e._nameIndex[t.nodeName]}function rF(e,t,n,r){if(r)t[pF(t,r)]=n,hF(t,r);else t[t.length++]=n;if($J(t,n),e){n.ownerElement=e;var i=e.ownerDocument;if(i)r&&yF(i,e,r),HJ(i,e,n)}}function iF(e,t,n){var r=pF(t,n);if(r>=0){var i=t.length-1;while(r<i)t[r]=t[++r];if(t.length=i,hF(t,n),e){var o=e.ownerDocument;if(o)yF(o,e,n),n.ownerElement=null}}else throw new de(fF,Error(e.tagName+"@"+n))}Ff.prototype={length:0,item:ur.prototype.item,getNamedItem:function(e){var t=this.length;while(t--){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new de(nF);var n=this._nameIndex[e.nodeName];return rF(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new de(nF);return n=this.getNamedItemNS(e.namespaceURI,e.localName),rF(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return iF(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return iF(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){var n=this.length;while(n--){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}};function gF(){}gF.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new Uc;if(r.implementation=this,r.childNodes=new ur,r.doctype=n||null,n)r.appendChild(n);if(t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new Nf;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}};function xe(){}xe.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Of(this,e,t)},replaceChild:function(e,t){if(Of(this,e,t,vF),t)this.removeChild(t)},removeChild:function(e){return bF(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return EF(this.ownerDocument||this,this,e)},normalize:function(){nt(this,null,{enter:function(e){var t=e.firstChild;while(t){var n=t.nextSibling;if(n!==null&&n.nodeType===Tc&&t.nodeType===Tc){var r=[],i=n;while(i!==null&&i.nodeType===Tc)r.push(i.data),i=i.nextSibling;var o=t.nextSibling;while(o!==i){var s=o.nextSibling;o.parentNode=null,o.previousSibling=null,o.nextSibling=null,o=s}if(t.nextSibling=i,i!==null)i.previousSibling=t;else e.lastChild=t;t.appendData(r.join("")),Mf(e.ownerDocument,e),t=i}else t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){var t=this;while(t){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==vs?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){var t=this;while(t){var n=t._nsMap;if(n){if(Object.prototype.hasOwnProperty.call(n,e))return n[e]}t=t.nodeType==vs?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}};function mF(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||"&#"+e.charCodeAt()+";"}kc(Lt,xe);kc(Lt,xe.prototype);function Pf(e,t){return nt(e,null,{enter:function(n){return t(n)?nt.STOP:!0}})===nt.STOP}function nt(e,t,n){var r=[{node:e,context:t,phase:nt.ENTER}];while(r.length>0){var i=r.pop();if(i.phase===nt.ENTER){var o=n.enter(i.node,i.context);if(o===nt.STOP)return nt.STOP;if(r.push({node:i.node,context:o,phase:nt.EXIT}),o===null||o===void 0)continue;var s=i.node.lastChild;while(s)r.push({node:s,context:o,phase:nt.ENTER}),s=s.previousSibling}else if(n.exit)n.exit(i.node,i.context)}}nt.STOP=Symbol("walkDOM.STOP");nt.ENTER=0;nt.EXIT=1;function Uc(){this.ownerDocument=this}function HJ(e,t,n){e&&e._inc++;var r=n.namespaceURI;if(r===Cc.XMLNS)t._nsMap[n.prefix?n.localName:""]=n.value}function yF(e,t,n,r){e&&e._inc++;var i=n.namespaceURI;if(i===Cc.XMLNS)delete t._nsMap[n.prefix?n.localName:""]}function Mf(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{var i=t.firstChild,o=0;while(i)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function bF(e,t){var{previousSibling:n,nextSibling:r}=t;if(n)n.nextSibling=r;else e.firstChild=r;if(r)r.previousSibling=n;else e.lastChild=n;return t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Mf(e.ownerDocument,e),t}function GJ(e){return e&&(e.nodeType===xe.DOCUMENT_NODE||e.nodeType===xe.DOCUMENT_FRAGMENT_NODE||e.nodeType===xe.ELEMENT_NODE)}function zJ(e){return e&&(Mn(e)||$v(e)||lr(e)||e.nodeType===xe.DOCUMENT_FRAGMENT_NODE||e.nodeType===xe.COMMENT_NODE||e.nodeType===xe.PROCESSING_INSTRUCTION_NODE)}function lr(e){return e&&e.nodeType===xe.DOCUMENT_TYPE_NODE}function Mn(e){return e&&e.nodeType===xe.ELEMENT_NODE}function $v(e){return e&&e.nodeType===xe.TEXT_NODE}function oF(e,t){var n=e.childNodes||[];if(In(n,Mn)||lr(t))return!1;var r=In(n,lr);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function sF(e,t){var n=e.childNodes||[];function r(o){return Mn(o)&&o!==t}if(In(n,r))return!1;var i=In(n,lr);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function VJ(e,t,n){if(!GJ(e))throw new de(Mt,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new de(fF,"child not in parent");if(!zJ(t)||lr(t)&&e.nodeType!==xe.DOCUMENT_NODE)throw new de(Mt,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function XJ(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===xe.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Mn);if(o.length>1||In(i,$v))throw new de(Mt,"More than one element or text in fragment");if(o.length===1&&!oF(e,n))throw new de(Mt,"Element in fragment can not be inserted before doctype")}if(Mn(t)){if(!oF(e,n))throw new de(Mt,"Only one element can be added and only after doctype")}if(lr(t)){if(In(r,lr))throw new de(Mt,"Only one doctype is allowed");var s=In(r,Mn);if(n&&r.indexOf(s)<r.indexOf(n))throw new de(Mt,"Doctype can only be inserted before an element");if(!n&&s)throw new de(Mt,"Doctype can not be appended since element is present")}}function vF(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===xe.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Mn);if(o.length>1||In(i,$v))throw new de(Mt,"More than one element or text in fragment");if(o.length===1&&!sF(e,n))throw new de(Mt,"Element in fragment can not be inserted before doctype")}if(Mn(t)){if(!sF(e,n))throw new de(Mt,"Only one element can be added and only after doctype")}if(lr(t)){let c=function(u){return lr(u)&&u!==n};var a=c;if(In(r,c))throw new de(Mt,"Only one doctype is allowed");var s=In(r,Mn);if(n&&r.indexOf(s)<r.indexOf(n))throw new de(Mt,"Doctype can only be inserted before an element")}}function Of(e,t,n,r){if(VJ(e,t,n),e.nodeType===xe.DOCUMENT_NODE)(r||XJ)(e,t,n);var i=t.parentNode;if(i)i.removeChild(t);if(t.nodeType===cr){var o=t.firstChild;if(o==null)return t;var s=t.lastChild}else o=s=t;var a=n?n.previousSibling:e.lastChild;if(o.previousSibling=a,s.nextSibling=n,a)a.nextSibling=o;else e.firstChild=o;if(n==null)e.lastChild=s;else n.previousSibling=s;do{o.parentNode=e;var c=e.ownerDocument||e;Ac(o,c)}while(o!==s&&(o=o.nextSibling));if(Mf(e.ownerDocument||e,e),t.nodeType==cr)t.firstChild=t.lastChild=null;return t}function Ac(e,t){if(e.ownerDocument===t)return;if(e.ownerDocument=t,e.nodeType===en&&e.attributes)for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);if(r)r.ownerDocument=t}var i=e.firstChild;while(i)Ac(i,t),i=i.nextSibling}function KJ(e,t){if(t.parentNode)t.parentNode.removeChild(t);if(t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling)t.previousSibling.nextSibling=t;else e.firstChild=t;e.lastChild=t,Mf(e.ownerDocument,e,t);var n=e.ownerDocument||e;return Ac(t,n),t}Uc.prototype={nodeName:"#document",nodeType:lF,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==cr){var n=e.firstChild;while(n){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}if(Of(this,e,t),Ac(e,this),this.documentElement===null&&e.nodeType===en)this.documentElement=e;return e},removeChild:function(e){if(this.documentElement==e)this.documentElement=null;return bF(this,e)},replaceChild:function(e,t){if(Of(this,e,t,vF),Ac(e,this),t)this.removeChild(t);if(Mn(e))this.documentElement=e},importNode:function(e,t){return ZJ(this,e,t)},getElementById:function(e){var t=null;return Pf(this.documentElement,function(n){if(n.nodeType==en){if(n.getAttribute("id")==e)return t=n,!0}}),t},getElementsByClassName:function(e){var t=eF(e);return new xs(this,function(n){var r=[];if(t.length>0)Pf(n.documentElement,function(i){if(i!==n&&i.nodeType===en){var o=i.getAttribute("class");if(o){var s=e===o;if(!s){var a=eF(o);s=t.every(WJ(a))}if(s)r.push(i)}}});return r})},createElement:function(e){var t=new Yi;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new ur;var n=t.attributes=new Ff;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new Lf;return e.ownerDocument=this,e.childNodes=new ur,e},createTextNode:function(e){var t=new Hv;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new Gv;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf("]]>")!==-1)throw new de(tF,'data contains "]]>"');var t=new zv;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Xv;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new If;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!bs.test(e))throw new de(tF,'not a valid xml name "'+e+'"');var t=new Vv;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new Yi,r=t.split(":"),i=n.attributes=new Ff;if(n.childNodes=new ur,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2)n.prefix=r[0],n.localName=r[1];else n.localName=t;return i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new If,r=t.split(":");if(n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2)n.prefix=r[0],n.localName=r[1];else n.localName=t;return n}};Nt(Uc,xe);function Yi(){this._nsMap={}}Yi.prototype={nodeType:en,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){if(e.nodeType===cr)return this.insertBefore(e,null);else return KJ(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new xs(this,function(t){var n=[];return Pf(t,function(r){if(r!==t&&r.nodeType==en&&(e==="*"||r.tagName==e))n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new xs(this,function(n){var r=[];return Pf(n,function(i){if(i!==n&&i.nodeType===en&&(e==="*"||i.namespaceURI===e)&&(t==="*"||i.localName==t))r.push(i)}),r})}};Uc.prototype.getElementsByTagName=Yi.prototype.getElementsByTagName;Uc.prototype.getElementsByTagNameNS=Yi.prototype.getElementsByTagNameNS;Nt(Yi,xe);function If(){}If.prototype.nodeType=vs;Nt(If,xe);function Rc(){}Rc.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(rt[Mt])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}};Nt(Rc,xe);function Hv(){}Hv.prototype={nodeName:"#text",nodeType:Tc,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);if(this.parentNode)this.parentNode.insertBefore(r,this.nextSibling);return r}};Nt(Hv,Rc);function Gv(){}Gv.prototype={nodeName:"#comment",nodeType:jv};Nt(Gv,Rc);function zv(){}zv.prototype={nodeName:"#cdata-section",nodeType:cF};Nt(zv,Rc);function Nf(){}Nf.prototype.nodeType=dF;Nt(Nf,xe);function xF(){}xF.prototype.nodeType=qJ;Nt(xF,xe);function wF(){}wF.prototype.nodeType=jJ;Nt(wF,xe);function Vv(){}Vv.prototype.nodeType=uF;Nt(Vv,xe);function Lf(){}Lf.prototype.nodeName="#document-fragment";Lf.prototype.nodeType=cr;Nt(Lf,xe);function Xv(){}Xv.prototype.nodeType=Wv;Nt(Xv,xe);function _F(){}_F.prototype.serializeToString=function(e,t,n,r){return DF.call(e,t,n,r)};xe.prototype.toString=DF;function DF(e,t,n){var r=!!n&&!!n.requireWellFormed,i=[],o=this.nodeType==9&&this.documentElement||this,{prefix:s,namespaceURI:a}=o;if(a&&s==null){var s=o.lookupPrefix(a);if(s==null)var c=[{namespace:a,prefix:null}]}return Kv(this,i,e,t,c,r),i.join("")}function aF(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if(r==="xml"&&i===Cc.XML||i===Cc.XMLNS)return!1;var o=n.length;while(o--){var s=n[o];if(s.prefix===r)return s.namespace!==i}return!0}function Rf(e,t,n,r){if(r&&!bs.test(t))throw new de(ln,'The attribute name "'+t+'" is not a valid XML QName');e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,mF),'"')}function Kv(e,t,n,r,i,o){if(!i)i=[];nt(e,{ns:i,isHTML:n},{enter:function(s,a){var{ns:c,isHTML:u}=a;if(r)if(s=r(s),s){if(typeof s=="string")return t.push(s),null}else return null;switch(s.nodeType){case en:var d=s.attributes,f=d.length,p=s.tagName;u=Cc.isHTML(s.namespaceURI)||u;var h=p;if(!u&&!s.prefix&&s.namespaceURI){var g;for(var b=0;b<d.length;b++)if(d.item(b).name==="xmlns"){g=d.item(b).value;break}if(!g)for(var v=c.length-1;v>=0;v--){var y=c[v];if(y.prefix===""&&y.namespace===s.namespaceURI){g=y.namespace;break}}if(g!==s.namespaceURI)for(var v=c.length-1;v>=0;v--){var y=c[v];if(y.namespace===s.namespaceURI){if(y.prefix)h=y.prefix+":"+p;break}}}if(o&&!bs.test(h))throw new de(ln,'The element name "'+h+'" is not a valid XML QName');t.push("<",h);var x=c.slice();for(var m=0;m<f;m++){var w=d.item(m);if(w.prefix=="xmlns")x.push({prefix:w.localName,namespace:w.value});else if(w.nodeName=="xmlns")x.push({prefix:"",namespace:w.value})}for(var m=0;m<f;m++){var w=d.item(m);if(aF(w,u,x)){var D=w.prefix||"",T=w.namespaceURI;Rf(t,D?"xmlns:"+D:"xmlns",T,o),x.push({prefix:D,namespace:T})}var _=r?r(w):w;if(_)if(typeof _==="string")t.push(_);else Rf(t,_.name,_.value,o)}if(p===h&&aF(s,u,x)){var A=s.prefix||"",T=s.namespaceURI;Rf(t,A?"xmlns:"+A:"xmlns",T,o),x.push({prefix:A,namespace:T})}var S=s.firstChild;if(S||u&&!/^(?:meta|link|img|br|hr|input)$/i.test(p)){if(t.push(">"),u&&/^script$/i.test(p)){while(S){if(S.data)t.push(S.data);else Kv(S,t,u,r,x.slice(),o);S=S.nextSibling}return t.push("</",p,">"),null}return{ns:x,isHTML:u,tag:h}}else return t.push("/>"),null;case lF:case cr:return{ns:c.slice(),isHTML:u,tag:null};case vs:return Rf(t,s.name,s.value,o),null;case Tc:return t.push(s.data.replace(/[<&>]/g,mF)),null;case cF:if(o&&s.data.indexOf("]]>")!==-1)throw new de(ln,'The CDATASection data contains "]]>"');return t.push("<![CDATA[",s.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case jv:if(o&&s.data.indexOf("-->")!==-1)throw new de(ln,'The comment node data contains "-->"');return t.push("<!--",s.data,"-->"),null;case dF:if(o){if(!bs.test(s.name))throw new de(ln,'The doctype name "'+s.name+'" is not a valid XML Name');if(s.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(s.publicId))throw new de(ln,"DocumentType publicId is not a valid PubidLiteral");if(s.systemId&&!/^("[^"]*"|'[^']*')$/.test(s.systemId))throw new de(ln,"DocumentType systemId is not a valid SystemLiteral");if(s.internalSubset&&s.internalSubset.indexOf("]>")!==-1)throw new de(ln,'DocumentType internalSubset contains "]>"')}var M=s.publicId,P=s.systemId;if(t.push("<!DOCTYPE ",s.name),M){if(t.push(" PUBLIC ",M),P&&P!=".")t.push(" ",P);t.push(">")}else if(P&&P!=".")t.push(" SYSTEM ",P,">");else{var C=s.internalSubset;if(C)t.push(" [",C,"]");t.push(">")}return null;case Wv:if(o){if(!bs.test(s.target)||s.target.indexOf(":")!==-1||s.target.toLowerCase()==="xml")throw new de(ln,'The processing instruction target "'+s.target+'" is not a valid XML NCName or is reserved');if(s.data.indexOf("?>")!==-1)throw new de(ln,'The ProcessingInstruction data contains "?>"')}return t.push("<?",s.target," ",s.data,"?>"),null;case uF:if(o&&!bs.test(s.nodeName))throw new de(ln,'The entity reference name "'+s.nodeName+'" is not a valid XML Name');return t.push("&",s.nodeName,";"),null;default:return t.push("??",s.nodeName),null}},exit:function(s,a){if(a&&a.tag)t.push("</",a.tag,">")}})}function ZJ(e,t,n){var r;return nt(t,null,{enter:function(i,o){var s=i.cloneNode(!1);if(s.ownerDocument=e,s.parentNode=null,o===null)r=s;else o.appendChild(s);var a=i.nodeType===vs||n;return a?s:null}}),r}function EF(e,t,n){var r;return nt(t,null,{enter:function(i,o){var s=new i.constructor;for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)){var c=i[a];if(typeof c!="object"){if(c!=s[a])s[a]=c}}if(i.childNodes)s.childNodes=new ur;s.ownerDocument=e;var u=n;switch(s.nodeType){case en:var d=i.attributes,f=s.attributes=new Ff,p=d.length;f._ownerElement=s;for(var h=0;h<p;h++)s.setAttributeNode(EF(e,d.item(h),!0));break;case vs:u=!0}if(o!==null)o.appendChild(s);else r=s;return u?s:null}}),r}function SF(e,t,n){e[t]=n}try{if(Object.defineProperty)Object.defineProperty(xs.prototype,"length",{get:function(){return qv(this),this.$$length}}),Object.defineProperty(xe.prototype,"textContent",{get:function(){if(this.nodeType===en||this.nodeType===cr){var e=[];return nt(this,null,{enter:function(t){if(t.nodeType===en||t.nodeType===cr)return!0;if(t.nodeType===Wv||t.nodeType===jv)return null;e.push(t.nodeValue)}}),e.join("")}return this.nodeValue},set:function(e){switch(this.nodeType){case en:case cr:while(this.firstChild)this.removeChild(this.firstChild);if(e||String(e))this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),SF=function(e,t,n){e["$$"+t]=n}}catch(e){}YJ.DocumentType=Nf;YJ.DOMException=de;YJ.DOMImplementation=gF;YJ.Element=Yi;YJ.Node=xe;YJ.NodeList=ur;YJ.walkDOM=nt;YJ.XMLSerializer=_F});var AF=U(function(sQ){var TF=ys().freeze;sQ.XML_ENTITIES=TF({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});sQ.HTML_ENTITIES=TF({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
198
|
+
`)}function C(E){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,E!==h)P(this,E),this._resolveFromExecutor(E);this._promiseCreated(),this._fireEvent("promiseCreated",this)}C.prototype.toString=function(){return"[object Promise]"},C.prototype.caught=C.prototype.catch=function(E){var R=arguments.length;if(R>1){var k=Array(R-1),F=0,B;for(B=0;B<R-1;++B){var j=arguments[B];if(o.isObject(j))k[F++]=j;else return n("expecting an object but got A catch statement predicate "+o.classString(j))}return k.length=F,E=arguments[B],this.then(void 0,_(k,E,this))}return this.then(void 0,E)},C.prototype.reflect=function(){return this._then(t,t,void 0,this,void 0)},C.prototype.then=function(E,R){if(w.warnings()&&arguments.length>0&&typeof E!=="function"&&typeof R!=="function"){var k=".then() only accepts functions but was passed: "+o.classString(E);if(arguments.length>1)k+=", "+o.classString(R);this._warn(k)}return this._then(E,R,void 0,void 0,void 0)},C.prototype.done=function(E,R){var k=this._then(E,R,void 0,void 0,void 0);k._setIsFinal()},C.prototype.spread=function(E){if(typeof E!=="function")return n("expecting a function but got "+o.classString(E));return this.all()._then(E,void 0,void 0,g,void 0)},C.prototype.toJSON=function(){var E={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())E.fulfillmentValue=this.value(),E.isFulfilled=!0;else if(this.isRejected())E.rejectionReason=this.reason(),E.isRejected=!0;return E},C.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new y(this).promise()},C.prototype.error=function(E){return this.caught(o.originatesFromRejection,E)},C.getNewLibraryCopy=Gy.exports,C.is=function(E){return E instanceof C},C.fromNode=C.fromCallback=function(E){var R=new C(h);R._captureStackTrace();var k=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,F=M(E)(A(R,k));if(F===S)R._rejectCallback(F.e,!0);if(!R._isFateSealed())R._setAsyncGuaranteed();return R},C.all=function(E){return new y(E).promise()},C.cast=function(E){var R=v(E);if(!(R instanceof C))R=new C(h),R._captureStackTrace(),R._setFulfilled(),R._rejectionHandler0=E;return R},C.resolve=C.fulfilled=C.cast,C.reject=C.rejected=function(E){var R=new C(h);return R._captureStackTrace(),R._rejectCallback(E,!0),R},C.setScheduler=function(E){if(typeof E!=="function")throw new f("expecting a function but got "+o.classString(E));return u.setScheduler(E)},C.prototype._then=function(E,R,k,F,B){var j=B!==void 0,K=j?B:new C(h),Q=this._target(),fe=Q._bitField;if(!j){if(K._propagateFrom(this,3),K._captureStackTrace(),F===void 0&&(this._bitField&2097152)!==0)if((fe&50397184)!==0)F=this._boundValue();else F=Q===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,K)}var ke=s();if((fe&50397184)!==0){var ve,dt,hn=Q._settlePromiseCtx;if((fe&33554432)!==0)dt=Q._rejectionHandler0,ve=E;else if((fe&16777216)!==0)dt=Q._fulfillmentHandler0,ve=R,Q._unsetRejectionIsUnhandled();else hn=Q._settlePromiseLateCancellationObserver,dt=new p("late cancellation observer"),Q._attachExtraTrace(dt),ve=R;u.invoke(hn,Q,{handler:ke===null?ve:typeof ve==="function"&&o.domainBind(ke,ve),promise:K,receiver:F,value:dt})}else Q._addCallbacks(E,R,K,F,ke);return K},C.prototype._length=function(){return this._bitField&65535},C.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},C.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},C.prototype._setLength=function(E){this._bitField=this._bitField&-65536|E&65535},C.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},C.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},C.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},C.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},C.prototype._isFinal=function(){return(this._bitField&4194304)>0},C.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},C.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},C.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},C.prototype._setAsyncGuaranteed=function(){if(u.hasCustomScheduler())return;this._bitField=this._bitField|134217728},C.prototype._receiverAt=function(E){var R=E===0?this._receiver0:this[E*4-4+3];if(R===i)return;else if(R===void 0&&this._isBound())return this._boundValue();return R},C.prototype._promiseAt=function(E){return this[E*4-4+2]},C.prototype._fulfillmentHandlerAt=function(E){return this[E*4-4+0]},C.prototype._rejectionHandlerAt=function(E){return this[E*4-4+1]},C.prototype._boundValue=function(){},C.prototype._migrateCallback0=function(E){var{_bitField:R,_fulfillmentHandler0:k,_rejectionHandler0:F,_promise0:B}=E,j=E._receiverAt(0);if(j===void 0)j=i;this._addCallbacks(k,F,B,j,null)},C.prototype._migrateCallbackAt=function(E,R){var k=E._fulfillmentHandlerAt(R),F=E._rejectionHandlerAt(R),B=E._promiseAt(R),j=E._receiverAt(R);if(j===void 0)j=i;this._addCallbacks(k,F,B,j,null)},C.prototype._addCallbacks=function(E,R,k,F,B){var j=this._length();if(j>=65531)j=0,this._setLength(0);if(j===0){if(this._promise0=k,this._receiver0=F,typeof E==="function")this._fulfillmentHandler0=B===null?E:o.domainBind(B,E);if(typeof R==="function")this._rejectionHandler0=B===null?R:o.domainBind(B,R)}else{var K=j*4-4;if(this[K+2]=k,this[K+3]=F,typeof E==="function")this[K+0]=B===null?E:o.domainBind(B,E);if(typeof R==="function")this[K+1]=B===null?R:o.domainBind(B,R)}return this._setLength(j+1),j},C.prototype._proxy=function(E,R){this._addCallbacks(void 0,void 0,R,E,null)},C.prototype._resolveCallback=function(E,R){if((this._bitField&117506048)!==0)return;if(E===this)return this._rejectCallback(e(),!1);var k=v(E,this);if(!(k instanceof C))return this._fulfill(E);if(R)this._propagateFrom(k,2);var F=k._target();if(F===this){this._reject(e());return}var B=F._bitField;if((B&50397184)===0){var j=this._length();if(j>0)F._migrateCallback0(this);for(var K=1;K<j;++K)F._migrateCallbackAt(this,K);this._setFollowing(),this._setLength(0),this._setFollowee(F)}else if((B&33554432)!==0)this._fulfill(F._value());else if((B&16777216)!==0)this._reject(F._reason());else{var Q=new p("late cancellation observer");F._attachExtraTrace(Q),this._reject(Q)}},C.prototype._rejectCallback=function(E,R,k){var F=o.ensureErrorObject(E),B=F===E;if(!B&&!k&&w.warnings()){var j="a promise was rejected with a non-error: "+o.classString(E);this._warn(j,!0)}this._attachExtraTrace(F,R?B:!1),this._reject(E)},C.prototype._resolveFromExecutor=function(E){var R=this;this._captureStackTrace(),this._pushContext();var k=!0,F=this._execute(E,function(B){R._resolveCallback(B)},function(B){R._rejectCallback(B,k)});if(k=!1,this._popContext(),F!==void 0)R._rejectCallback(F,!0)},C.prototype._settlePromiseFromHandler=function(E,R,k,F){var B=F._bitField;if((B&65536)!==0)return;F._pushContext();var j;if(R===g)if(!k||typeof k.length!=="number")j=S,j.e=new f("cannot .spread() a non-array: "+o.classString(k));else j=M(E).apply(this._boundValue(),k);else j=M(E).call(R,k);var K=F._popContext();if(B=F._bitField,(B&65536)!==0)return;if(j===b)F._reject(k);else if(j===S)F._rejectCallback(j.e,!1);else w.checkForgottenReturns(j,K,"",F,this),F._resolveCallback(j)},C.prototype._target=function(){var E=this;while(E._isFollowing())E=E._followee();return E},C.prototype._followee=function(){return this._rejectionHandler0},C.prototype._setFollowee=function(E){this._rejectionHandler0=E},C.prototype._settlePromise=function(E,R,k,F){var B=E instanceof C,j=this._bitField,K=(j&134217728)!==0;if((j&65536)!==0){if(B)E._invokeInternalOnCancel();if(k instanceof T&&k.isFinallyHandler()){if(k.cancelPromise=E,M(R).call(k,F)===S)E._reject(S.e)}else if(R===t)E._fulfill(t.call(k));else if(k instanceof r)k._promiseCancelled(E);else if(B||E instanceof y)E._cancel();else k.cancel()}else if(typeof R==="function")if(!B)R.call(k,F,E);else{if(K)E._setAsyncGuaranteed();this._settlePromiseFromHandler(R,k,F,E)}else if(k instanceof r){if(!k._isResolved())if((j&33554432)!==0)k._promiseFulfilled(F,E);else k._promiseRejected(F,E)}else if(B){if(K)E._setAsyncGuaranteed();if((j&33554432)!==0)E._fulfill(F);else E._reject(F)}},C.prototype._settlePromiseLateCancellationObserver=function(E){var{handler:R,promise:k,receiver:F,value:B}=E;if(typeof R==="function")if(!(k instanceof C))R.call(F,B,k);else this._settlePromiseFromHandler(R,F,B,k);else if(k instanceof C)k._reject(B)},C.prototype._settlePromiseCtx=function(E){this._settlePromise(E.promise,E.handler,E.receiver,E.value)},C.prototype._settlePromise0=function(E,R,k){var F=this._promise0,B=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(F,E,B,R)},C.prototype._clearCallbackDataAtIndex=function(E){var R=E*4-4;this[R+2]=this[R+3]=this[R+0]=this[R+1]=void 0},C.prototype._fulfill=function(E){var R=this._bitField;if((R&117506048)>>>16)return;if(E===this){var k=e();return this._attachExtraTrace(k),this._reject(k)}if(this._setFulfilled(),this._rejectionHandler0=E,(R&65535)>0)if((R&134217728)!==0)this._settlePromises();else u.settlePromises(this)},C.prototype._reject=function(E){var R=this._bitField;if((R&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=E,this._isFinal())return u.fatalError(E,o.isNode);if((R&65535)>0)u.settlePromises(this);else this._ensurePossibleRejectionHandled()},C.prototype._fulfillPromises=function(E,R){for(var k=1;k<E;k++){var F=this._fulfillmentHandlerAt(k),B=this._promiseAt(k),j=this._receiverAt(k);this._clearCallbackDataAtIndex(k),this._settlePromise(B,F,j,R)}},C.prototype._rejectPromises=function(E,R){for(var k=1;k<E;k++){var F=this._rejectionHandlerAt(k),B=this._promiseAt(k),j=this._receiverAt(k);this._clearCallbackDataAtIndex(k),this._settlePromise(B,F,j,R)}},C.prototype._settlePromises=function(){var E=this._bitField,R=E&65535;if(R>0){if((E&16842752)!==0){var k=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,k,E),this._rejectPromises(R,k)}else{var F=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,F,E),this._fulfillPromises(R,F)}this._setLength(0)}this._clearCancellationData()},C.prototype._settledValue=function(){var E=this._bitField;if((E&33554432)!==0)return this._rejectionHandler0;else if((E&16777216)!==0)return this._fulfillmentHandler0};function L(E){this.promise._resolveCallback(E)}function W(E){this.promise._rejectCallback(E,!1)}C.defer=C.pending=function(){w.deprecated("Promise.defer","new Promise");var E=new C(h);return{promise:E,resolve:L,reject:W}},o.notEnumerableProp(C,"_makeSelfResolutionError",e),HT()(C,h,v,n,w),zT()(C,h,v,w),XT()(C,y,n,w),ZT()(C),JT()(C),eC()(C,y,v,h,u,s),C.Promise=C,C.version="3.4.7",nC()(C,y,n,v,h,w),iC()(C),sC()(C,n,v,m,h,w),cC()(C,h,w),lC()(C,n,h,v,r,w),fC()(C),hC()(C,h),mC()(C,y,v,n),bC()(C,h,v,n),xC()(C,y,n,v,h,w),_C()(C,y,w),EC()(C,y,n),TC()(C,h),AC()(C,h),UC()(C),o.toFastProperties(C),o.toFastProperties(C.prototype);function H(E){var R=new C(h);R._fulfillmentHandler0=E,R._rejectionHandler0=E,R._promise0=E,R._receiver0=E}return H({a:1}),H({b:2}),H({c:3}),H(1),H(function(){}),H(void 0),H(!1),H(new C(h)),w.setBounds(c.firstLineError,o.lastLineError),C}});var Jn=U(function(nH){var eH=We(),Ot=RC()();nH.defer=tH;nH.when=Ot.resolve;nH.resolve=Ot.resolve;nH.all=Ot.all;nH.props=Ot.props;nH.reject=Ot.reject;nH.promisify=Ot.promisify;nH.mapSeries=Ot.mapSeries;nH.attempt=Ot.attempt;nH.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1),n=Ot.promisify(e);return n.apply(null,t)};Ot.prototype.fail=Ot.prototype.caught;Ot.prototype.also=function(e){return this.then(function(t){var n=eH.extend({},t,e(t));return Ot.props(n)})};function tH(){var e,t,n=new Ot.Promise(function(r,i){e=r,t=i});return{resolve:e,reject:t,promise:n}}});var $r=U(function(UH){var pH=We(),at=UH.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function hH(e,t){return t=t||{},{type:at.document,children:e,notes:t.notes||new Od({}),comments:t.comments||[]}}function gH(e,t){t=t||{};var n=t.indent||{};return{type:at.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function mH(e,t){return t=t||{},{type:at.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||FC.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var FC={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function yH(e){return{type:at.text,value:e}}function bH(){return{type:at.tab}}function vH(e){return{type:at.checkbox,checked:e.checked}}function xH(e,t){return{type:at.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function wH(e){return{type:at.noteReference,noteType:e.noteType,noteId:e.noteId}}function Od(e){this._notes=pH.indexBy(e,function(t){return PC(t.noteType,t.noteId)})}Od.prototype.resolve=function(e){return this.findNoteByKey(PC(e.noteType,e.noteId))};Od.prototype.findNoteByKey=function(e){return this._notes[e]||null};function _H(e){return{type:at.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function DH(e){return{type:at.commentReference,commentId:e.commentId}}function EH(e){return{type:at.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function PC(e,t){return e+"-"+t}function SH(e){return{type:at.image,read:function(t){if(t)return e.readImage(t);else return e.readImage().then(function(n){return Buffer.from(n)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then(function(t){return Buffer.from(t)})},altText:e.altText,contentType:e.contentType}}function TH(e,t){return t=t||{},{type:at.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function CH(e,t){return t=t||{},{type:at.tableRow,children:e,isHeader:t.isHeader||!1}}function AH(e,t){return t=t||{},{type:at.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function zy(e){return{type:at.break,breakType:e}}function kH(e){return{type:at.bookmarkStart,name:e.name}}UH.document=UH.Document=hH;UH.paragraph=UH.Paragraph=gH;UH.run=UH.Run=mH;UH.text=UH.Text=yH;UH.tab=UH.Tab=bH;UH.checkbox=UH.Checkbox=vH;UH.Hyperlink=xH;UH.noteReference=UH.NoteReference=wH;UH.Notes=Od;UH.Note=_H;UH.commentReference=DH;UH.comment=EH;UH.Image=SH;UH.Table=TH;UH.TableRow=CH;UH.TableCell=AH;UH.lineBreak=zy("line");UH.pageBreak=zy("page");UH.columnBreak=zy("column");UH.BookmarkStart=kH;UH.verticalAlignment=FC});var Sn=U(function(rG){var za=We();rG.Result=En;rG.success=JH;rG.warning=QH;rG.error=eG;function En(e,t){this.value=e,this.messages=t||[]}En.prototype.map=function(e){return new En(e(this.value),this.messages)};En.prototype.flatMap=function(e){var t=e(this.value);return new En(t.value,Vy([this,t]))};En.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(n){return new En(n.value,Vy([t,n]))})};En.combine=function(e){var t=za.flatten(za.pluck(e,"value")),n=Vy(e);return new En(t,n)};function JH(e){return new En(e,[])}function QH(e){return{type:"warning",message:e}}function eG(e){return{type:"error",message:e.message,error:e}}function Vy(e){var t=[];return za.flatten(za.pluck(e,"messages"),!0).forEach(function(n){if(!tG(t,n))t.push(n)}),t}function tG(e,t){return za.find(e,nG.bind(null,t))!==void 0}function nG(e,t){return e.type===t.type&&e.message===t.message}});var IC=U(function(gG){gG.byteLength=uG;gG.toByteArray=dG;gG.fromByteArray=hG;var Tn=[],Kt=[],cG=typeof Uint8Array<"u"?Uint8Array:Array,Xy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Hr=0,Ky=Xy.length;Hr<Ky;++Hr)Tn[Hr]=Xy[Hr],Kt[Xy.charCodeAt(Hr)]=Hr;var Hr,Ky;Kt[45]=62;Kt[95]=63;function OC(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");if(n===-1)n=t;var r=n===t?0:4-n%4;return[n,r]}function uG(e){var t=OC(e),n=t[0],r=t[1];return(n+r)*3/4-r}function lG(e,t,n){return(t+n)*3/4-n}function dG(e){var t,n=OC(e),r=n[0],i=n[1],o=new cG(lG(e,r,i)),s=0,a=i>0?r-4:r,c;for(c=0;c<a;c+=4)t=Kt[e.charCodeAt(c)]<<18|Kt[e.charCodeAt(c+1)]<<12|Kt[e.charCodeAt(c+2)]<<6|Kt[e.charCodeAt(c+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=t&255;if(i===2)t=Kt[e.charCodeAt(c)]<<2|Kt[e.charCodeAt(c+1)]>>4,o[s++]=t&255;if(i===1)t=Kt[e.charCodeAt(c)]<<10|Kt[e.charCodeAt(c+1)]<<4|Kt[e.charCodeAt(c+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255;return o}function fG(e){return Tn[e>>18&63]+Tn[e>>12&63]+Tn[e>>6&63]+Tn[e&63]}function pG(e,t,n){var r,i=[];for(var o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(fG(r));return i.join("")}function hG(e){var t,n=e.length,r=n%3,i=[],o=16383;for(var s=0,a=n-r;s<a;s+=o)i.push(pG(e,s,s+o>a?a:s+o));if(r===1)t=e[n-1],i.push(Tn[t>>2]+Tn[t<<4&63]+"==");else if(r===2)t=(e[n-2]<<8)+e[n-1],i.push(Tn[t>>10]+Tn[t>>4&63]+Tn[t<<2&63]+"=");return i.join("")}});var Va=U(function(y1e,Zy){if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)Zy.exports={nextTick:vG};else Zy.exports=process;function vG(e,t,n,r){if(typeof e!=="function")throw TypeError('"callback" argument must be a function');var i=arguments.length,o,s;switch(i){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,n)});case 4:return process.nextTick(function(){e.call(null,t,n,r)});default:o=Array(i-1),s=0;while(s<o.length)o[s++]=arguments[s];return process.nextTick(function(){e.apply(null,o)})}}});var NC=U(function(b1e,MC){var xG={}.toString;MC.exports=Array.isArray||function(e){return xG.call(e)=="[object Array]"}});var Md=U(function(Yy,BC){var Id=ne("buffer"),Qn=Id.Buffer;function LC(e,t){for(var n in e)t[n]=e[n]}if(Qn.from&&Qn.alloc&&Qn.allocUnsafe&&Qn.allocUnsafeSlow)BC.exports=Id;else LC(Id,Yy),Yy.Buffer=$o;function $o(e,t,n){return Qn(e,t,n)}LC(Qn,$o);$o.from=function(e,t,n){if(typeof e==="number")throw TypeError("Argument must not be a number");return Qn(e,t,n)};$o.alloc=function(e,t,n){if(typeof e!=="number")throw TypeError("Argument must be a number");var r=Qn(e);if(t!==void 0)if(typeof n==="string")r.fill(t,n);else r.fill(t);else r.fill(0);return r};$o.allocUnsafe=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return Qn(e)};$o.allocUnsafeSlow=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return Id.SlowBuffer(e)}});var Ho=U(function(IG){function wG(e){if(Array.isArray)return Array.isArray(e);return Nd(e)==="[object Array]"}IG.isArray=wG;function _G(e){return typeof e==="boolean"}IG.isBoolean=_G;function DG(e){return e===null}IG.isNull=DG;function EG(e){return e==null}IG.isNullOrUndefined=EG;function SG(e){return typeof e==="number"}IG.isNumber=SG;function TG(e){return typeof e==="string"}IG.isString=TG;function CG(e){return typeof e==="symbol"}IG.isSymbol=CG;function AG(e){return e===void 0}IG.isUndefined=AG;function kG(e){return Nd(e)==="[object RegExp]"}IG.isRegExp=kG;function UG(e){return typeof e==="object"&&e!==null}IG.isObject=UG;function RG(e){return Nd(e)==="[object Date]"}IG.isDate=RG;function FG(e){return Nd(e)==="[object Error]"||e instanceof Error}IG.isError=FG;function PG(e){return typeof e==="function"}IG.isFunction=PG;function OG(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e>"u"}IG.isPrimitive=OG;IG.isBuffer=ne("buffer").Buffer.isBuffer;function Nd(e){return Object.prototype.toString.call(e)}});var WC=U(function(x1e,Jy){if(typeof Object.create==="function")Jy.exports=function(t,n){if(n)t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})};else Jy.exports=function(t,n){if(n){t.super_=n;var r=function(){};r.prototype=n.prototype,t.prototype=new r,t.prototype.constructor=t}}});var Go=U(function(w1e,Qy){try{if(Ld=ne("util"),typeof Ld.inherits!=="function")throw"";Qy.exports=Ld.inherits}catch(e){Qy.exports=WC()}var Ld});var qC=U(function(_1e,eb){function YG(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var jC=Md().Buffer,Xa=ne("util");function JG(e,t,n){e.copy(t,n)}eb.exports=function(){function e(){YG(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var r={data:n,next:null};if(this.length>0)this.tail.next=r;else this.head=r;this.tail=r,++this.length},e.prototype.unshift=function(n){var r={data:n,next:this.head};if(this.length===0)this.tail=r;this.head=r,++this.length},e.prototype.shift=function(){if(this.length===0)return;var n=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,n},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(n){if(this.length===0)return"";var r=this.head,i=""+r.data;while(r=r.next)i+=n+r.data;return i},e.prototype.concat=function(n){if(this.length===0)return jC.alloc(0);var r=jC.allocUnsafe(n>>>0),i=this.head,o=0;while(i)JG(i.data,r,o),o+=i.data.length,i=i.next;return r},e}();if(Xa&&Xa.inspect&&Xa.inspect.custom)eb.exports.prototype[Xa.inspect.custom]=function(){var e=Xa.inspect({length:this.length});return this.constructor.name+" "+e}});var tb=U(function(D1e,$C){var Bd=Va();function QG(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;if(r||i){if(t)t(e);else if(e){if(!this._writableState)Bd.nextTick(Wd,this,e);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,Bd.nextTick(Wd,this,e)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(e||null,function(o){if(!t&&o){if(!n._writableState)Bd.nextTick(Wd,n,o);else if(!n._writableState.errorEmitted)n._writableState.errorEmitted=!0,Bd.nextTick(Wd,n,o)}else if(t)t(o)}),this}function ez(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Wd(e,t){e.emit("error",t)}$C.exports={destroy:QG,undestroy:ez}});var GC=U(function(E1e,HC){HC.exports=ne("util").deprecate});var rb=U(function(S1e,QC){var Ni=Va();QC.exports=Ve;function VC(e){var t=this;this.next=null,this.entry=null,this.finish=function(){bz(t,e)}}var tz=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Ni.nextTick,zo;Ve.WritableState=Za;var XC=Object.create(Ho());XC.inherits=Go();var nz={deprecate:GC()},KC=ne("stream"),qd=Md().Buffer,rz=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function iz(e){return qd.from(e)}function oz(e){return qd.isBuffer(e)||e instanceof rz}var ZC=tb();XC.inherits(Ve,KC);function sz(){}function Za(e,t){zo=zo||Li(),e=e||{};var n=t instanceof zo;if(this.objectMode=!!e.objectMode,n)this.objectMode=this.objectMode||!!e.writableObjectMode;var r=e.highWaterMark,i=e.writableHighWaterMark,o=this.objectMode?16:16384;if(r||r===0)this.highWaterMark=r;else if(n&&(i||i===0))this.highWaterMark=i;else this.highWaterMark=o;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=e.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){pz(t,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new VC(this)}Za.prototype.getBuffer=function(){var t=this.bufferedRequest,n=[];while(t)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(Za.prototype,"buffer",{get:nz.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}})();var jd;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")jd=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ve,Symbol.hasInstance,{value:function(e){if(jd.call(this,e))return!0;if(this!==Ve)return!1;return e&&e._writableState instanceof Za}});else jd=function(e){return e instanceof this};function Ve(e){if(zo=zo||Li(),!jd.call(Ve,this)&&!(this instanceof zo))return new Ve(e);if(this._writableState=new Za(e,this),this.writable=!0,e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}KC.call(this)}Ve.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function az(e,t){var n=Error("write after end");e.emit("error",n),Ni.nextTick(t,n)}function cz(e,t,n,r){var i=!0,o=!1;if(n===null)o=TypeError("May not write null values to stream");else if(typeof n!=="string"&&n!==void 0&&!t.objectMode)o=TypeError("Invalid non-string/buffer chunk");if(o)e.emit("error",o),Ni.nextTick(r,o),i=!1;return i}Ve.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&oz(e);if(o&&!qd.isBuffer(e))e=iz(e);if(typeof t==="function")n=t,t=null;if(o)t="buffer";else if(!t)t=r.defaultEncoding;if(typeof n!=="function")n=sz;if(r.ended)az(this,n);else if(o||cz(this,r,e,n))r.pendingcb++,i=lz(this,r,o,e,t,n);return i};Ve.prototype.cork=function(){var e=this._writableState;e.corked++};Ve.prototype.uncork=function(){var e=this._writableState;if(e.corked){if(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)YC(this,e)}};Ve.prototype.setDefaultEncoding=function(t){if(typeof t==="string")t=t.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function uz(e,t,n){if(!e.objectMode&&e.decodeStrings!==!1&&typeof t==="string")t=qd.from(t,n);return t}Object.defineProperty(Ve.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function lz(e,t,n,r,i,o){if(!n){var s=uz(t,r,i);if(r!==s)n=!0,i="buffer",r=s}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;if(!c)t.needDrain=!0;if(t.writing||t.corked){var u=t.lastBufferedRequest;if(t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u)u.next=t.lastBufferedRequest;else t.bufferedRequest=t.lastBufferedRequest;t.bufferedRequestCount+=1}else nb(e,t,!1,a,r,i,o);return c}function nb(e,t,n,r,i,o,s){if(t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n)e._writev(i,t.onwrite);else e._write(i,o,t.onwrite);t.sync=!1}function dz(e,t,n,r,i){if(--t.pendingcb,n)Ni.nextTick(i,r),Ni.nextTick(Ka,e,t),e._writableState.errorEmitted=!0,e.emit("error",r);else i(r),e._writableState.errorEmitted=!0,e.emit("error",r),Ka(e,t)}function fz(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function pz(e,t){var n=e._writableState,{sync:r,writecb:i}=n;if(fz(n),t)dz(e,n,r,t,i);else{var o=JC(n);if(!o&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest)YC(e,n);if(r)tz(zC,e,n,o,i);else zC(e,n,o,i)}}function zC(e,t,n,r){if(!n)hz(e,t);t.pendingcb--,r(),Ka(e,t)}function hz(e,t){if(t.length===0&&t.needDrain)t.needDrain=!1,e.emit("drain")}function YC(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=Array(r),o=t.corkedRequestsFree;o.entry=n;var s=0,a=!0;while(n){if(i[s]=n,!n.isBuf)a=!1;n=n.next,s+=1}if(i.allBuffers=a,nb(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next)t.corkedRequestsFree=o.next,o.next=null;else t.corkedRequestsFree=new VC(t);t.bufferedRequestCount=0}else{while(n){var c=n.chunk,u=n.encoding,d=n.callback,f=t.objectMode?1:c.length;if(nb(e,t,!1,f,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}if(n===null)t.lastBufferedRequest=null}t.bufferedRequest=n,t.bufferProcessing=!1}Ve.prototype._write=function(e,t,n){n(Error("_write() is not implemented"))};Ve.prototype._writev=null;Ve.prototype.end=function(e,t,n){var r=this._writableState;if(typeof e==="function")n=e,e=null,t=null;else if(typeof t==="function")n=t,t=null;if(e!==null&&e!==void 0)this.write(e,t);if(r.corked)r.corked=1,this.uncork();if(!r.ending)yz(this,r,n)};function JC(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function gz(e,t){e._final(function(n){if(t.pendingcb--,n)e.emit("error",n);t.prefinished=!0,e.emit("prefinish"),Ka(e,t)})}function mz(e,t){if(!t.prefinished&&!t.finalCalled)if(typeof e._final==="function")t.pendingcb++,t.finalCalled=!0,Ni.nextTick(gz,e,t);else t.prefinished=!0,e.emit("prefinish")}function Ka(e,t){var n=JC(t);if(n){if(mz(e,t),t.pendingcb===0)t.finished=!0,e.emit("finish")}return n}function yz(e,t,n){if(t.ending=!0,Ka(e,t),n)if(t.finished)Ni.nextTick(n);else e.once("finish",n);t.ended=!0,e.writable=!1}function bz(e,t,n){var r=e.entry;e.entry=null;while(r){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}Object.defineProperty(Ve.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(e){if(!this._writableState)return;this._writableState.destroyed=e}});Ve.prototype.destroy=ZC.destroy;Ve.prototype._undestroy=ZC.undestroy;Ve.prototype._destroy=function(e,t){this.end(),t(e)}});var Li=U(function(T1e,rA){var eA=Va(),vz=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};rA.exports=er;var tA=Object.create(Ho());tA.inherits=Go();var nA=ob(),ib=rb();tA.inherits(er,nA);{$d=vz(ib.prototype);for(Ya=0;Ya<$d.length;Ya++)if(Ja=$d[Ya],!er.prototype[Ja])er.prototype[Ja]=ib.prototype[Ja]}var $d,Ja,Ya;function er(e){if(!(this instanceof er))return new er(e);if(nA.call(this,e),ib.call(this,e),e&&e.readable===!1)this.readable=!1;if(e&&e.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",xz)}Object.defineProperty(er.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function xz(){if(this.allowHalfOpen||this._writableState.ended)return;eA.nextTick(wz,this)}function wz(e){e.end()}Object.defineProperty(er.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(e){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=e,this._writableState.destroyed=e}});er.prototype._destroy=function(e,t){this.push(null),this.end(),eA.nextTick(t,e)}});var sA=U(function(sb,oA){var Hd=ne("buffer"),tr=Hd.Buffer;function iA(e,t){for(var n in e)t[n]=e[n]}if(tr.from&&tr.alloc&&tr.allocUnsafe&&tr.allocUnsafeSlow)oA.exports=Hd;else iA(Hd,sb),sb.Buffer=Vo;function Vo(e,t,n){return tr(e,t,n)}iA(tr,Vo);Vo.from=function(e,t,n){if(typeof e==="number")throw TypeError("Argument must not be a number");return tr(e,t,n)};Vo.alloc=function(e,t,n){if(typeof e!=="number")throw TypeError("Argument must be a number");var r=tr(e);if(t!==void 0)if(typeof n==="string")r.fill(t,n);else r.fill(t);else r.fill(0);return r};Vo.allocUnsafe=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return tr(e)};Vo.allocUnsafeSlow=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return Hd.SlowBuffer(e)}});var ub=U(function(Iz){var cb=sA().Buffer,aA=cb.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _z(e){if(!e)return"utf8";var t;while(!0)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function Dz(e){var t=_z(e);if(typeof t!=="string"&&(cb.isEncoding===aA||!aA(e)))throw Error("Unknown encoding: "+e);return t||e}Iz.StringDecoder=Qa;function Qa(e){this.encoding=Dz(e);var t;switch(this.encoding){case"utf16le":this.text=kz,this.end=Uz,t=4;break;case"utf8":this.fillLast=Tz,t=4;break;case"base64":this.text=Rz,this.end=Fz,t=3;break;default:this.write=Pz,this.end=Oz;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=cb.allocUnsafe(t)}Qa.prototype.write=function(e){if(e.length===0)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;if(n<e.length)return t?t+this.text(e,n):this.text(e,n);return t||""};Qa.prototype.end=Az;Qa.prototype.text=Cz;Qa.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function ab(e){if(e<=127)return 0;else if(e>>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function Ez(e,t,n){var r=t.length-1;if(r<n)return 0;var i=ab(t[r]);if(i>=0){if(i>0)e.lastNeed=i-1;return i}if(--r<n||i===-2)return 0;if(i=ab(t[r]),i>=0){if(i>0)e.lastNeed=i-2;return i}if(--r<n||i===-2)return 0;if(i=ab(t[r]),i>=0){if(i>0)if(i===2)i=0;else e.lastNeed=i-3;return i}return 0}function Sz(e,t,n){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128)return e.lastNeed=2,"�"}}}function Tz(e){var t=this.lastTotal-this.lastNeed,n=Sz(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function Cz(e,t){var n=Ez(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function Az(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function kz(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Uz(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function Rz(e,t){var n=(e.length-t)%3;if(n===0)return e.toString("base64",t);if(this.lastNeed=3-n,this.lastTotal=3,n===1)this.lastChar[0]=e[e.length-1];else this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1];return e.toString("base64",t,e.length-n)}function Fz(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function Pz(e){return e.toString(this.encoding)}function Oz(e){return e&&e.length?this.write(e):""}});var ob=U(function(k1e,vA){var Ko=Va();vA.exports=Ae;var Nz=NC(),ec;Ae.ReadableState=hA;var A1e=ne("events").EventEmitter,dA=function(e,t){return e.listeners(t).length},hb=ne("stream"),tc=Md().Buffer,Lz=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Bz(e){return tc.from(e)}function Wz(e){return tc.isBuffer(e)||e instanceof Lz}var fA=Object.create(Ho());fA.inherits=Go();var lb=ne("util"),ye=void 0;if(lb&&lb.debuglog)ye=lb.debuglog("stream");else ye=function(){};var jz=qC(),pA=tb(),Xo;fA.inherits(Ae,hb);var db=["error","close","destroy","pause","resume"];function qz(e,t,n){if(typeof e.prependListener==="function")return e.prependListener(t,n);if(!e._events||!e._events[t])e.on(t,n);else if(Nz(e._events[t]))e._events[t].unshift(n);else e._events[t]=[n,e._events[t]]}function hA(e,t){ec=ec||Li(),e=e||{};var n=t instanceof ec;if(this.objectMode=!!e.objectMode,n)this.objectMode=this.objectMode||!!e.readableObjectMode;var r=e.highWaterMark,i=e.readableHighWaterMark,o=this.objectMode?16:16384;if(r||r===0)this.highWaterMark=r;else if(n&&(i||i===0))this.highWaterMark=i;else this.highWaterMark=o;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new jz,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding){if(!Xo)Xo=ub().StringDecoder;this.decoder=new Xo(e.encoding),this.encoding=e.encoding}}function Ae(e){if(ec=ec||Li(),!(this instanceof Ae))return new Ae(e);if(this._readableState=new hA(e,this),this.readable=!0,e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}hb.call(this)}Object.defineProperty(Ae.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(e){if(!this._readableState)return;this._readableState.destroyed=e}});Ae.prototype.destroy=pA.destroy;Ae.prototype._undestroy=pA.undestroy;Ae.prototype._destroy=function(e,t){this.push(null),t(e)};Ae.prototype.push=function(e,t){var n=this._readableState,r;if(!n.objectMode){if(typeof e==="string"){if(t=t||n.defaultEncoding,t!==n.encoding)e=tc.from(e,t),t="";r=!0}}else r=!0;return gA(this,e,t,!1,r)};Ae.prototype.unshift=function(e){return gA(this,e,null,!0,!1)};function gA(e,t,n,r,i){var o=e._readableState;if(t===null)o.reading=!1,zz(e,o);else{var s;if(!i)s=$z(o,t);if(s)e.emit("error",s);else if(o.objectMode||t&&t.length>0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==tc.prototype)t=Bz(t);if(r)if(o.endEmitted)e.emit("error",Error("stream.unshift() after end event"));else fb(e,o,t,!0);else if(o.ended)e.emit("error",Error("stream.push() after EOF"));else if(o.reading=!1,o.decoder&&!n)if(t=o.decoder.write(t),o.objectMode||t.length!==0)fb(e,o,t,!1);else mA(e,o);else fb(e,o,t,!1)}else if(!r)o.reading=!1}return Hz(o)}function fb(e,t,n,r){if(t.flowing&&t.length===0&&!t.sync)e.emit("data",n),e.read(0);else{if(t.length+=t.objectMode?1:n.length,r)t.buffer.unshift(n);else t.buffer.push(n);if(t.needReadable)Gd(e)}mA(e,t)}function $z(e,t){var n;if(!Wz(t)&&typeof t!=="string"&&t!==void 0&&!e.objectMode)n=TypeError("Invalid non-string/buffer chunk");return n}function Hz(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Ae.prototype.isPaused=function(){return this._readableState.flowing===!1};Ae.prototype.setEncoding=function(e){if(!Xo)Xo=ub().StringDecoder;return this._readableState.decoder=new Xo(e),this._readableState.encoding=e,this};var cA=8388608;function Gz(e){if(e>=cA)e=cA;else e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++;return e}function uA(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;if(e>t.highWaterMark)t.highWaterMark=Gz(e);if(e<=t.length)return e;if(!t.ended)return t.needReadable=!0,0;return t.length}Ae.prototype.read=function(e){ye("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0)t.emittedReadable=!1;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){if(ye("read: emitReadable",t.length,t.ended),t.length===0&&t.ended)pb(this);else Gd(this);return null}if(e=uA(e,t),e===0&&t.ended){if(t.length===0)pb(this);return null}var r=t.needReadable;if(ye("need readable",r),t.length===0||t.length-e<t.highWaterMark)r=!0,ye("length less than watermark",r);if(t.ended||t.reading)r=!1,ye("reading or ended",r);else if(r){if(ye("do read"),t.reading=!0,t.sync=!0,t.length===0)t.needReadable=!0;if(this._read(t.highWaterMark),t.sync=!1,!t.reading)e=uA(n,t)}var i;if(e>0)i=yA(e,t);else i=null;if(i===null)t.needReadable=!0,e=0;else t.length-=e;if(t.length===0){if(!t.ended)t.needReadable=!0;if(n!==e&&t.ended)pb(this)}if(i!==null)this.emit("data",i);return i};function zz(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();if(n&&n.length)t.buffer.push(n),t.length+=t.objectMode?1:n.length}t.ended=!0,Gd(e)}function Gd(e){var t=e._readableState;if(t.needReadable=!1,!t.emittedReadable)if(ye("emitReadable",t.flowing),t.emittedReadable=!0,t.sync)Ko.nextTick(lA,e);else lA(e)}function lA(e){ye("emit readable"),e.emit("readable"),gb(e)}function mA(e,t){if(!t.readingMore)t.readingMore=!0,Ko.nextTick(Vz,e,t)}function Vz(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark)if(ye("maybeReadMore read 0"),e.read(0),n===t.length)break;else n=t.length;t.readingMore=!1}Ae.prototype._read=function(e){this.emit("error",Error("_read() is not implemented"))};Ae.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,ye("pipe count=%d opts=%j",r.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,o=i?a:v;if(r.endEmitted)Ko.nextTick(o);else n.once("end",o);e.on("unpipe",s);function s(y,x){if(ye("onunpipe"),y===n){if(x&&x.hasUnpiped===!1)x.hasUnpiped=!0,d()}}function a(){ye("onend"),e.end()}var c=Xz(n);e.on("drain",c);var u=!1;function d(){if(ye("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",a),n.removeListener("end",v),n.removeListener("data",p),u=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain))c()}var f=!1;n.on("data",p);function p(y){ye("ondata"),f=!1;var x=e.write(y);if(x===!1&&!f){if((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&bA(r.pipes,e)!==-1)&&!u)ye("false write response, pause",r.awaitDrain),r.awaitDrain++,f=!0;n.pause()}}function h(y){if(ye("onerror",y),v(),e.removeListener("error",h),dA(e,"error")===0)e.emit("error",y)}qz(e,"error",h);function g(){e.removeListener("finish",b),v()}e.once("close",g);function b(){ye("onfinish"),e.removeListener("close",g),v()}e.once("finish",b);function v(){ye("unpipe"),n.unpipe(e)}if(e.emit("pipe",n),!r.flowing)ye("pipe resume"),n.resume();return e};function Xz(e){return function(){var t=e._readableState;if(ye("pipeOnDrain",t.awaitDrain),t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&dA(e,"data"))t.flowing=!0,gb(e)}}Ae.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;if(t.pipes=null,t.pipesCount=0,t.flowing=!1,e)e.emit("unpipe",this,n);return this}if(!e){var{pipes:r,pipesCount:i}=t;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=bA(t.pipes,e);if(s===-1)return this;if(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1)t.pipes=t.pipes[0];return e.emit("unpipe",this,n),this};Ae.prototype.on=function(e,t){var n=hb.prototype.on.call(this,e,t);if(e==="data"){if(this._readableState.flowing!==!1)this.resume()}else if(e==="readable"){var r=this._readableState;if(!r.endEmitted&&!r.readableListening){if(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,!r.reading)Ko.nextTick(Kz,this);else if(r.length)Gd(this)}}return n};Ae.prototype.addListener=Ae.prototype.on;function Kz(e){ye("readable nexttick read 0"),e.read(0)}Ae.prototype.resume=function(){var e=this._readableState;if(!e.flowing)ye("resume"),e.flowing=!0,Zz(this,e);return this};function Zz(e,t){if(!t.resumeScheduled)t.resumeScheduled=!0,Ko.nextTick(Yz,e,t)}function Yz(e,t){if(!t.reading)ye("resume read 0"),e.read(0);if(t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),gb(e),t.flowing&&!t.reading)e.read(0)}Ae.prototype.pause=function(){if(ye("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)ye("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function gb(e){var t=e._readableState;ye("flow",t.flowing);while(t.flowing&&e.read()!==null);}Ae.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;e.on("end",function(){if(ye("wrapped end"),n.decoder&&!n.ended){var s=n.decoder.end();if(s&&s.length)t.push(s)}t.push(null)}),e.on("data",function(s){if(ye("wrapped data"),n.decoder)s=n.decoder.write(s);if(n.objectMode&&(s===null||s===void 0))return;else if(!n.objectMode&&(!s||!s.length))return;var a=t.push(s);if(!a)r=!0,e.pause()});for(var i in e)if(this[i]===void 0&&typeof e[i]==="function")this[i]=function(s){return function(){return e[s].apply(e,arguments)}}(i);for(var o=0;o<db.length;o++)e.on(db[o],this.emit.bind(this,db[o]));return this._read=function(s){if(ye("wrapped _read",s),r)r=!1,e.resume()},this};Object.defineProperty(Ae.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Ae._fromList=yA;function yA(e,t){if(t.length===0)return null;var n;if(t.objectMode)n=t.buffer.shift();else if(!e||e>=t.length){if(t.decoder)n=t.buffer.join("");else if(t.buffer.length===1)n=t.buffer.head.data;else n=t.buffer.concat(t.length);t.buffer.clear()}else n=Jz(e,t.buffer,t.decoder);return n}function Jz(e,t,n){var r;if(e<t.head.data.length)r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e);else if(e===t.head.data.length)r=t.shift();else r=n?Qz(e,t):eV(e,t);return r}function Qz(e,t){var n=t.head,r=1,i=n.data;e-=i.length;while(n=n.next){var o=n.data,s=e>o.length?o.length:e;if(s===o.length)i+=o;else i+=o.slice(0,e);if(e-=s,e===0){if(s===o.length)if(++r,n.next)t.head=n.next;else t.head=t.tail=null;else t.head=n,n.data=o.slice(s);break}++r}return t.length-=r,i}function eV(e,t){var n=tc.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;while(r=r.next){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),e-=s,e===0){if(s===o.length)if(++i,r.next)t.head=r.next;else t.head=t.tail=null;else t.head=r,r.data=o.slice(s);break}++i}return t.length-=i,n}function pb(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');if(!t.endEmitted)t.ended=!0,Ko.nextTick(tV,t,e)}function tV(e,t){if(!e.endEmitted&&e.length===0)e.endEmitted=!0,t.readable=!1,t.emit("end")}function bA(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}});var mb=U(function(U1e,_A){_A.exports=nr;var zd=Li(),wA=Object.create(Ho());wA.inherits=Go();wA.inherits(nr,zd);function nV(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",Error("write callback called multiple times"));if(n.writechunk=null,n.writecb=null,t!=null)this.push(t);r(e);var i=this._readableState;if(i.reading=!1,i.needReadable||i.length<i.highWaterMark)this._read(i.highWaterMark)}function nr(e){if(!(this instanceof nr))return new nr(e);if(zd.call(this,e),this._transformState={afterTransform:nV.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e){if(typeof e.transform==="function")this._transform=e.transform;if(typeof e.flush==="function")this._flush=e.flush}this.on("prefinish",rV)}function rV(){var e=this;if(typeof this._flush==="function")this._flush(function(t,n){xA(e,t,n)});else xA(this,null,null)}nr.prototype.push=function(e,t){return this._transformState.needTransform=!1,zd.prototype.push.call(this,e,t)};nr.prototype._transform=function(e,t,n){throw Error("_transform() is not implemented")};nr.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;if(r.needTransform||i.needReadable||i.length<i.highWaterMark)this._read(i.highWaterMark)}};nr.prototype._read=function(e){var t=this._transformState;if(t.writechunk!==null&&t.writecb&&!t.transforming)t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform);else t.needTransform=!0};nr.prototype._destroy=function(e,t){var n=this;zd.prototype._destroy.call(this,e,function(r){t(r),n.emit("close")})};function xA(e,t,n){if(t)return e.emit("error",t);if(n!=null)e.push(n);if(e._writableState.length)throw Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw Error("Calling transform done when still transforming");return e.push(null)}});var TA=U(function(R1e,SA){SA.exports=nc;var DA=mb(),EA=Object.create(Ho());EA.inherits=Go();EA.inherits(nc,DA);function nc(e){if(!(this instanceof nc))return new nc(e);DA.call(this,e)}nc.prototype._transform=function(e,t,n){n(null,e)}});var yb=U(function(ct,Vd){var Cn=ne("stream");if(process.env.READABLE_STREAM==="disable"&&Cn)Vd.exports=Cn,ct=Vd.exports=Cn.Readable,ct.Readable=Cn.Readable,ct.Writable=Cn.Writable,ct.Duplex=Cn.Duplex,ct.Transform=Cn.Transform,ct.PassThrough=Cn.PassThrough,ct.Stream=Cn;else ct=Vd.exports=ob(),ct.Stream=Cn||ct,ct.Readable=ct,ct.Writable=rb(),ct.Duplex=Li(),ct.Transform=mb(),ct.PassThrough=TA()});var rr=U(function(oV){oV.base64=!0;oV.array=!0;oV.string=!0;oV.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";oV.nodebuffer=typeof Buffer<"u";oV.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")oV.blob=!1;else{Xd=new ArrayBuffer(0);try{oV.blob=new Blob([Xd],{type:"application/zip"}).size===0}catch(e){try{vb=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Kd=new vb,Kd.append(Xd),oV.blob=Kd.getBlob("application/zip").size===0}catch(t){oV.blob=!1}}}var Xd,vb,Kd;try{oV.nodestream=!!yb().Readable}catch(e){oV.nodestream=!1}});var xb=U(function(hV){var fV=Ne(),pV=rr(),An="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";hV.encode=function(e){var t=[],n,r,i,o,s,a,c,u=0,d=e.length,f=d,p=fV.getTypeOf(e)!=="string";while(u<e.length){if(f=d-u,!p)n=e.charCodeAt(u++),r=u<d?e.charCodeAt(u++):0,i=u<d?e.charCodeAt(u++):0;else n=e[u++],r=u<d?e[u++]:0,i=u<d?e[u++]:0;o=n>>2,s=(n&3)<<4|r>>4,a=f>1?(r&15)<<2|i>>6:64,c=f>2?i&63:64,t.push(An.charAt(o)+An.charAt(s)+An.charAt(a)+An.charAt(c))}return t.join("")};hV.decode=function(e){var t,n,r,i,o,s,a,c=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9+/=]/g,"");var f=e.length*3/4;if(e.charAt(e.length-1)===An.charAt(64))f--;if(e.charAt(e.length-2)===An.charAt(64))f--;if(f%1!==0)throw Error("Invalid base64 input, bad content length.");var p;if(pV.uint8array)p=new Uint8Array(f|0);else p=Array(f|0);while(c<e.length){if(i=An.indexOf(e.charAt(c++)),o=An.indexOf(e.charAt(c++)),s=An.indexOf(e.charAt(c++)),a=An.indexOf(e.charAt(c++)),t=i<<2|o>>4,n=(o&15)<<4|s>>2,r=(s&3)<<6|a,p[u++]=t,s!==64)p[u++]=n;if(a!==64)p[u++]=r}return p}});var rc=U(function(O1e,CA){CA.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);else{if(typeof e==="number")throw Error('The "data" argument must not be a number');return new Buffer(e,t)}},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);else{var t=new Buffer(e);return t.fill(0),t}},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on==="function"&&typeof e.pause==="function"&&typeof e.resume==="function"}}});var UA=U(function(M1e,kA){var I1e=global.MutationObserver||global.WebKitMutationObserver,AA;AA=function(){process.nextTick(wV)};var yV,bV,vV,xV,wb,ic=[];function wV(){wb=!0;var e,t,n=ic.length;while(n){t=ic,ic=[],e=-1;while(++e<n)t[e]();n=ic.length}wb=!1}kA.exports=_V;function _V(e){if(ic.push(e)===1&&!wb)AA()}});var NA=U(function(N1e,MA){var RA=UA();function Yo(){}var yt={},FA=["REJECTED"],_b=["FULFILLED"],PA=["PENDING"];Zo=["UNHANDLED"];var Zo;MA.exports=Gr;function Gr(e){if(typeof e!=="function")throw TypeError("resolver must be a function");if(this.state=PA,this.queue=[],this.outcome=void 0,this.handled=Zo,e!==Yo)OA(this,e)}Gr.prototype.finally=function(e){if(typeof e!=="function")return this;var t=this.constructor;return this.then(n,r);function n(i){function o(){return i}return t.resolve(e()).then(o)}function r(i){function o(){throw i}return t.resolve(e()).then(o)}};Gr.prototype.catch=function(e){return this.then(null,e)};Gr.prototype.then=function(e,t){if(typeof e!=="function"&&this.state===_b||typeof t!=="function"&&this.state===FA)return this;var n=new this.constructor(Yo);if(this.handled===Zo)this.handled=null;if(this.state!==PA){var r=this.state===_b?e:t;Db(n,r,this.outcome)}else this.queue.push(new oc(n,e,t));return n};function oc(e,t,n){if(this.promise=e,typeof t==="function")this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled;if(typeof n==="function")this.onRejected=n,this.callRejected=this.otherCallRejected}oc.prototype.callFulfilled=function(e){yt.resolve(this.promise,e)};oc.prototype.otherCallFulfilled=function(e){Db(this.promise,this.onFulfilled,e)};oc.prototype.callRejected=function(e){yt.reject(this.promise,e)};oc.prototype.otherCallRejected=function(e){Db(this.promise,this.onRejected,e)};function Db(e,t,n){RA(function(){var r;try{r=t(n)}catch(i){return yt.reject(e,i)}if(r===e)yt.reject(e,TypeError("Cannot resolve promise with itself"));else yt.resolve(e,r)})}yt.resolve=function(e,t){var n=IA(DV,t);if(n.status==="error")return yt.reject(e,n.value);var r=n.value;if(r)OA(e,r);else{e.state=_b,e.outcome=t;var i=-1,o=e.queue.length;while(++i<o)e.queue[i].callFulfilled(t)}return e};yt.reject=function(e,t){if(e.state=FA,e.outcome=t,e.handled===Zo)RA(function(){if(e.handled===Zo)process.emit("unhandledRejection",t,e)});var n=-1,r=e.queue.length;while(++n<r)e.queue[n].callRejected(t);return e};function DV(e){var t=e&&e.then;if(e&&(typeof e==="object"||typeof e==="function")&&typeof t==="function")return function(){t.apply(e,arguments)}}function OA(e,t){var n=!1;function r(a){if(n)return;n=!0,yt.reject(e,a)}function i(a){if(n)return;n=!0,yt.resolve(e,a)}function o(){t(i,r)}var s=IA(o);if(s.status==="error")r(s.value)}function IA(e,t){var n={};try{n.value=e(t),n.status="success"}catch(r){n.status="error",n.value=r}return n}Gr.resolve=EV;function EV(e){if(e instanceof this)return e;return yt.resolve(new this(Yo),e)}Gr.reject=SV;function SV(e){var t=new this(Yo);return yt.reject(t,e)}Gr.all=TV;function TV(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=Array(n),o=0,s=-1,a=new this(Yo);while(++s<n)c(e[s],s);return a;function c(u,d){t.resolve(u).then(f,function(p){if(!r)r=!0,yt.reject(a,p)});function f(p){if(i[d]=p,++o===n&&!r)r=!0,yt.resolve(a,i)}}}Gr.race=CV;function CV(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=-1,o=new this(Yo);while(++i<n)s(e[i]);return o;function s(a){t.resolve(a).then(function(c){if(!r)r=!0,yt.resolve(o,c)},function(c){if(!r)r=!0,yt.reject(o,c)})}}});var Jo=U(function(L1e,LA){var Eb=null;if(typeof Promise<"u")Eb=Promise;else Eb=NA();LA.exports={Promise:Eb}});var WA=U(function(BA){(function(e,t){if(e.setImmediate)return;var n=1,r={},i=!1,o=e.document,s;function a(x){if(typeof x!=="function")x=Function(""+x);var m=Array(arguments.length-1);for(var w=0;w<m.length;w++)m[w]=arguments[w+1];var D={callback:x,args:m};return r[n]=D,s(n),n++}function c(x){delete r[x]}function u(x){var{callback:m,args:w}=x;switch(w.length){case 0:m();break;case 1:m(w[0]);break;case 2:m(w[0],w[1]);break;case 3:m(w[0],w[1],w[2]);break;default:m.apply(t,w);break}}function d(x){if(i)setTimeout(d,0,x);else{var m=r[x];if(m){i=!0;try{u(m)}finally{c(x),i=!1}}}}function f(){s=function(x){process.nextTick(function(){d(x)})}}function p(){if(e.postMessage&&!e.importScripts){var x=!0,m=e.onmessage;return e.onmessage=function(){x=!1},e.postMessage("","*"),e.onmessage=m,x}}function h(){var x="setImmediate$"+Math.random()+"$",m=function(w){if(w.source===e&&typeof w.data==="string"&&w.data.indexOf(x)===0)d(+w.data.slice(x.length))};if(e.addEventListener)e.addEventListener("message",m,!1);else e.attachEvent("onmessage",m);s=function(w){e.postMessage(x+w,"*")}}function g(){var x=new MessageChannel;x.port1.onmessage=function(m){var w=m.data;d(w)},s=function(m){x.port2.postMessage(m)}}function b(){var x=o.documentElement;s=function(m){var w=o.createElement("script");w.onreadystatechange=function(){d(m),w.onreadystatechange=null,x.removeChild(w),w=null},x.appendChild(w)}}function v(){s=function(x){setTimeout(d,0,x)}}var y=Object.getPrototypeOf&&Object.getPrototypeOf(e);if(y=y&&y.setTimeout?y:e,{}.toString.call(e.process)==="[object process]")f();else if(p())h();else if(e.MessageChannel)g();else if(o&&"onreadystatechange"in o.createElement("script"))b();else v();y.setImmediate=a,y.clearImmediate=c})(typeof self>"u"?typeof global>"u"?BA:global:self)});var Ne=U(function(Bi){var zr=rr(),AV=xb(),Qo=rc(),Sb=Jo();WA();function kV(e){var t=null;if(zr.uint8array)t=new Uint8Array(e.length);else t=Array(e.length);return Yd(e,t)}Bi.newBlob=function(e,t){Bi.checkSupport("blob");try{return new Blob([e],{type:t})}catch(i){try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,r=new n;return r.append(e),r.getBlob(t)}catch(o){throw Error("Bug : can't construct the Blob.")}}};function sc(e){return e}function Yd(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var Zd={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);while(i<o){if(t==="array"||t==="nodebuffer")r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o))));else r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o))));i+=n}return r.join("")},stringifyByChar:function(e){var t="";for(var n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return zr.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(e){return!1}}(),nodebuffer:function(){try{return zr.nodebuffer&&String.fromCharCode.apply(null,Qo.allocBuffer(1)).length===1}catch(e){return!1}}()}};function ac(e){var t=65536,n=Bi.getTypeOf(e),r=!0;if(n==="uint8array")r=Zd.applyCanBeUsed.uint8array;else if(n==="nodebuffer")r=Zd.applyCanBeUsed.nodebuffer;if(r)while(t>1)try{return Zd.stringifyByChunk(e,n,t)}catch(i){t=Math.floor(t/2)}return Zd.stringifyByChar(e)}Bi.applyFromCharCode=ac;function Jd(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var Vr={};Vr.string={string:sc,array:function(e){return Yd(e,Array(e.length))},arraybuffer:function(e){return Vr.string.uint8array(e).buffer},uint8array:function(e){return Yd(e,new Uint8Array(e.length))},nodebuffer:function(e){return Yd(e,Qo.allocBuffer(e.length))}};Vr.array={string:ac,array:sc,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return Qo.newBufferFrom(e)}};Vr.arraybuffer={string:function(e){return ac(new Uint8Array(e))},array:function(e){return Jd(new Uint8Array(e),Array(e.byteLength))},arraybuffer:sc,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return Qo.newBufferFrom(new Uint8Array(e))}};Vr.uint8array={string:ac,array:function(e){return Jd(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:sc,nodebuffer:function(e){return Qo.newBufferFrom(e)}};Vr.nodebuffer={string:ac,array:function(e){return Jd(e,Array(e.length))},arraybuffer:function(e){return Vr.nodebuffer.uint8array(e).buffer},uint8array:function(e){return Jd(e,new Uint8Array(e.length))},nodebuffer:sc};Bi.transformTo=function(e,t){if(!t)t="";if(!e)return t;Bi.checkSupport(e);var n=Bi.getTypeOf(t),r=Vr[n][e](t);return r};Bi.resolve=function(e){var t=e.split("/"),n=[];for(var r=0;r<t.length;r++){var i=t[r];if(i==="."||i===""&&r!==0&&r!==t.length-1)continue;else if(i==="..")n.pop();else n.push(i)}return n.join("/")};Bi.getTypeOf=function(e){if(typeof e==="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(zr.nodebuffer&&Qo.isBuffer(e))return"nodebuffer";if(zr.uint8array&&e instanceof Uint8Array)return"uint8array";if(zr.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Bi.checkSupport=function(e){var t=zr[e.toLowerCase()];if(!t)throw Error(e+" is not supported by this platform")};Bi.MAX_VALUE_16BITS=65535;Bi.MAX_VALUE_32BITS=-1;Bi.pretty=function(e){var t="",n,r;for(r=0;r<(e||"").length;r++)n=e.charCodeAt(r),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Bi.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})};Bi.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Bi.extend=function(){var e={},t,n;for(t=0;t<arguments.length;t++)for(n in arguments[t])if(Object.prototype.hasOwnProperty.call(arguments[t],n)&&typeof e[n]>"u")e[n]=arguments[t][n];return e};Bi.prepareContent=function(e,t,n,r,i){var o=Sb.Promise.resolve(t).then(function(s){var a=zr.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);if(a&&typeof FileReader<"u")return new Sb.Promise(function(c,u){var d=new FileReader;d.onload=function(f){c(f.target.result)},d.onerror=function(f){u(f.target.error)},d.readAsArrayBuffer(s)});else return s});return o.then(function(s){var a=Bi.getTypeOf(s);if(!a)return Sb.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(a==="arraybuffer")s=Bi.transformTo("uint8array",s);else if(a==="string"){if(i)s=AV.decode(s);else if(n){if(r!==!0)s=kV(s)}}return s})}});var jt=U(function(j1e,HA){function $A(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}$A.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=e;else{if(this.isFinished=!0,this.emit("error",e),this.previous)this.previous.error(e);this.cleanUp()}return!0},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){if(this.isPaused||this.isFinished)return!1;if(this.isPaused=!0,this.previous)this.previous.pause();return!0},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;if(this.generatedError)this.error(this.generatedError),e=!0;if(this.previous)this.previous.resume();return!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo){if(!Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e))continue;this.streamInfo[e]=this.extraStreamInfo[e]}},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");if(this.isLocked=!0,this.previous)this.previous.lock()},toString:function(){var e="Worker "+this.name;if(this.previous)return this.previous+" -> "+e;else return e}};HA.exports=$A});var ts=U(function(HV){var es=Ne(),Wi=rr(),WV=rc(),Qd=jt(),cc=Array(256);for(kn=0;kn<256;kn++)cc[kn]=kn>=252?6:kn>=248?5:kn>=240?4:kn>=224?3:kn>=192?2:1;var kn;cc[254]=cc[254]=1;var jV=function(e){var t,n,r,i,o,s=e.length,a=0;for(i=0;i<s;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}a+=n<128?1:n<2048?2:n<65536?3:4}if(Wi.uint8array)t=new Uint8Array(a);else t=Array(a);for(o=0,i=0;o<a;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}if(n<128)t[o++]=n;else if(n<2048)t[o++]=192|n>>>6,t[o++]=128|n&63;else if(n<65536)t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|n&63;else t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|n&63}return t},qV=function(e,t){var n;if(t=t||e.length,t>e.length)t=e.length;n=t-1;while(n>=0&&(e[n]&192)===128)n--;if(n<0)return t;if(n===0)return t;return n+cc[e[n]]>t?n:t},$V=function(e){var t,n,r,i,o=e.length,s=Array(o*2);for(n=0,t=0;t<o;){if(r=e[t++],r<128){s[n++]=r;continue}if(i=cc[r],i>4){s[n++]=65533,t+=i-1;continue}r&=i===2?31:i===3?15:7;while(i>1&&t<o)r=r<<6|e[t++]&63,i--;if(i>1){s[n++]=65533;continue}if(r<65536)s[n++]=r;else r-=65536,s[n++]=55296|r>>10&1023,s[n++]=56320|r&1023}if(s.length!==n)if(s.subarray)s=s.subarray(0,n);else s.length=n;return es.applyFromCharCode(s)};HV.utf8encode=function(t){if(Wi.nodebuffer)return WV.newBufferFrom(t,"utf-8");return jV(t)};HV.utf8decode=function(t){if(Wi.nodebuffer)return es.transformTo("nodebuffer",t).toString("utf-8");return t=es.transformTo(Wi.uint8array?"uint8array":"array",t),$V(t)};function ef(){Qd.call(this,"utf-8 decode"),this.leftOver=null}es.inherits(ef,Qd);ef.prototype.processChunk=function(e){var t=es.transformTo(Wi.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Wi.uint8array){var n=t;t=new Uint8Array(n.length+this.leftOver.length),t.set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var r=qV(t),i=t;if(r!==t.length)if(Wi.uint8array)i=t.subarray(0,r),this.leftOver=t.subarray(r,t.length);else i=t.slice(0,r),this.leftOver=t.slice(r,t.length);this.push({data:HV.utf8decode(i),meta:e.meta})};ef.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:HV.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};HV.Utf8DecodeWorker=ef;function Cb(){Qd.call(this,"utf-8 encode")}es.inherits(Cb,Qd);Cb.prototype.processChunk=function(e){this.push({data:HV.utf8encode(e.data),meta:e.meta})};HV.Utf8EncodeWorker=Cb});var KA=U(function($1e,XA){var zA=jt(),VA=Ne();function kb(e){zA.call(this,"ConvertWorker to "+e),this.destType=e}VA.inherits(kb,zA);kb.prototype.processChunk=function(e){this.push({data:VA.transformTo(this.destType,e.data),meta:e.meta})};XA.exports=kb});var JA=U(function(H1e,YA){var ZA=yb().Readable,VV=Ne();VV.inherits(Ub,ZA);function Ub(e,t,n){ZA.call(this,t),this._helper=e;var r=this;e.on("data",function(i,o){if(!r.push(i))r._helper.pause();if(n)n(o)}).on("error",function(i){r.emit("error",i)}).on("end",function(){r.push(null)})}Ub.prototype._read=function(){this._helper.resume()};YA.exports=Ub});var Rb=U(function(G1e,tk){var ji=Ne(),XV=KA(),KV=jt(),ZV=xb(),YV=rr(),JV=Jo(),QA=null;if(YV.nodestream)try{QA=JA()}catch(e){}function QV(e,t,n){switch(e){case"blob":return ji.newBlob(ji.transformTo("arraybuffer",t),n);case"base64":return ZV.encode(t);default:return ji.transformTo(e,t)}}function eX(e,t){var n,r=0,i=null,o=0;for(n=0;n<t.length;n++)o+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":i=new Uint8Array(o);for(n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}function tX(e,t){return new JV.Promise(function(n,r){var i=[],{_internalType:o,_outputType:s,_mimeType:a}=e;e.on("data",function(c,u){if(i.push(c),t)t(u)}).on("error",function(c){i=[],r(c)}).on("end",function(){try{var c=QV(s,eX(o,i),a);n(c)}catch(u){r(u)}i=[]}).resume()})}function ek(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string";break}try{this._internalType=r,this._outputType=t,this._mimeType=n,ji.checkSupport(r),this._worker=e.pipe(new XV(r)),e.lock()}catch(i){this._worker=new KV("error"),this._worker.error(i)}}ek.prototype={accumulate:function(e){return tX(this,e)},on:function(e,t){var n=this;if(e==="data")this._worker.on(e,function(r){t.call(n,r.data,r.meta)});else this._worker.on(e,function(){ji.delay(t,arguments,n)});return this},resume:function(){return ji.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(ji.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw Error(this._outputType+" is not supported by this method");return new QA(this,{objectMode:this._outputType!=="nodebuffer"},e)}};tk.exports=ek});var Fb=U(function(nX){nX.base64=!1;nX.binary=!1;nX.dir=!1;nX.createFolders=!0;nX.date=null;nX.compression=null;nX.compressionOptions=null;nX.comment=null;nX.unixPermissions=null;nX.dosPermissions=null});var Pb=U(function(V1e,nk){var tf=Ne(),nf=jt(),pX=16384;function ns(e){nf.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){if(t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=tf.getTypeOf(n),!t.isPaused)t._tickAndRepeat()},function(n){t.error(n)})}tf.inherits(ns,nf);ns.prototype.cleanUp=function(){nf.prototype.cleanUp.call(this),this.data=null};ns.prototype.resume=function(){if(!nf.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,tf.delay(this._tickAndRepeat,[],this);return!0};ns.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)tf.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};ns.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=pX,t=null,n=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":t=this.data.substring(this.index,n);break;case"uint8array":t=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":t=this.data.slice(this.index,n);break}return this.index=n,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})}};nk.exports=ns});var rf=U(function(X1e,ik){var hX=Ne();function gX(){var e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var rk=gX();function mX(e,t,n,r){var i=rk,o=r+n;e=e^-1;for(var s=r;s<o;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}function yX(e,t,n,r){var i=rk,o=r+n;e=e^-1;for(var s=r;s<o;s++)e=e>>>8^i[(e^t.charCodeAt(s))&255];return e^-1}ik.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var r=hX.getTypeOf(t)!=="string";if(r)return mX(n|0,t,t.length,0);else return yX(n|0,t,t.length,0)}});var Ib=U(function(K1e,sk){var ok=jt(),bX=rf(),vX=Ne();function Ob(){ok.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}vX.inherits(Ob,ok);Ob.prototype.processChunk=function(e){this.streamInfo.crc32=bX(e.data,this.streamInfo.crc32||0),this.push(e)};sk.exports=Ob});var ck=U(function(Z1e,ak){var xX=Ne(),Mb=jt();function Nb(e){Mb.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}xX.inherits(Nb,Mb);Nb.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Mb.prototype.processChunk.call(this,e)};ak.exports=Nb});var of=U(function(Y1e,dk){var uk=Jo(),lk=Pb(),wX=Ib(),Lb=ck();function Bb(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}Bb.prototype={getContentWorker:function(){var e=new lk(uk.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Lb("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new lk(uk.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};Bb.createWorkerFrom=function(e,t,n){return e.pipe(new wX).pipe(new Lb("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Lb("compressedSize")).withStreamInfo("compression",t)};dk.exports=Bb});var gk=U(function(J1e,hk){var _X=Rb(),DX=Pb(),Wb=ts(),jb=of(),fk=jt(),qb=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};qb.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw Error("No output type specified.");n=e.toLowerCase();var r=n==="string"||n==="text";if(n==="binarystring"||n==="text")n="string";t=this._decompressWorker();var i=!this._dataBinary;if(i&&!r)t=t.pipe(new Wb.Utf8EncodeWorker);if(!i&&r)t=t.pipe(new Wb.Utf8DecodeWorker)}catch(o){t=new fk("error"),t.error(o)}return new _X(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof jb&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();else{var n=this._decompressWorker();if(!this._dataBinary)n=n.pipe(new Wb.Utf8EncodeWorker);return jb.createWorkerFrom(n,e,t)}},_decompressWorker:function(){if(this._data instanceof jb)return this._data.getContentWorker();else if(this._data instanceof fk)return this._data;else return new DX(this._data)}};var pk=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],EX=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(uc=0;uc<pk.length;uc++)qb.prototype[pk[uc]]=EX;var uc;hk.exports=qb});var ir=U(function(rs){var AX=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function kX(e,t){return Object.prototype.hasOwnProperty.call(e,t)}rs.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var n=t.shift();if(!n)continue;if(typeof n!=="object")throw TypeError(n+"must be non-object");for(var r in n)if(kX(n,r))e[r]=n[r]}return e};rs.shrinkBuf=function(e,t){if(e.length===t)return e;if(e.subarray)return e.subarray(0,t);return e.length=t,e};var UX={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;r=0;for(t=0,n=e.length;t<n;t++)r+=e[t].length;s=new Uint8Array(r),i=0;for(t=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},RX={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};rs.setTyped=function(e){if(e)rs.Buf8=Uint8Array,rs.Buf16=Uint16Array,rs.Buf32=Int32Array,rs.assign(rs,UX);else rs.Buf8=Array,rs.Buf16=Array,rs.Buf32=Array,rs.assign(rs,RX)};rs.setTyped(AX)});var Bk=U(function(eK){var PX=ir(),OX=4,yk=0,bk=1,IX=2;function os(e){var t=e.length;while(--t>=0)e[t]=0}var MX=0,Ek=1,NX=2,LX=3,BX=258,Zb=29,gc=256,dc=gc+1+Zb,is=30,Yb=19,Sk=2*dc+1,qi=15,Hb=16,WX=7,Jb=256,Tk=16,Ck=17,Ak=18,Xb=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],sf=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],jX=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],kk=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],qX=512,or=Array((dc+2)*2);os(or);var lc=Array(is*2);os(lc);var fc=Array(qX);os(fc);var pc=Array(BX-LX+1);os(pc);var Qb=Array(Zb);os(Qb);var af=Array(is);os(af);function Gb(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var Uk,Rk,Fk;function zb(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Pk(e){return e<256?fc[e]:fc[256+(e>>>7)]}function hc(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function It(e,t,n){if(e.bi_valid>Hb-n)e.bi_buf|=t<<e.bi_valid&65535,hc(e,e.bi_buf),e.bi_buf=t>>Hb-e.bi_valid,e.bi_valid+=n-Hb;else e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n}function Un(e,t,n){It(e,n[t*2],n[t*2+1])}function Ok(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function $X(e){if(e.bi_valid===16)hc(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0;else if(e.bi_valid>=8)e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8}function HX(e,t){var{dyn_tree:n,max_code:r}=t,i=t.stat_desc.static_tree,o=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,a=t.stat_desc.extra_base,c=t.stat_desc.max_length,u,d,f,p,h,g,b=0;for(p=0;p<=qi;p++)e.bl_count[p]=0;n[e.heap[e.heap_max]*2+1]=0;for(u=e.heap_max+1;u<Sk;u++){if(d=e.heap[u],p=n[n[d*2+1]*2+1]+1,p>c)p=c,b++;if(n[d*2+1]=p,d>r)continue;if(e.bl_count[p]++,h=0,d>=a)h=s[d-a];if(g=n[d*2],e.opt_len+=g*(p+h),o)e.static_len+=g*(i[d*2+1]+h)}if(b===0)return;do{p=c-1;while(e.bl_count[p]===0)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[c]--,b-=2}while(b>0);for(p=c;p!==0;p--){d=e.bl_count[p];while(d!==0){if(f=e.heap[--u],f>r)continue;if(n[f*2+1]!==p)e.opt_len+=(p-n[f*2+1])*n[f*2],n[f*2+1]=p;d--}}}function Ik(e,t,n){var r=Array(qi+1),i=0,o,s;for(o=1;o<=qi;o++)r[o]=i=i+n[o-1]<<1;for(s=0;s<=t;s++){var a=e[s*2+1];if(a===0)continue;e[s*2]=Ok(r[a]++,a)}}function GX(){var e,t,n,r,i,o=Array(qi+1);n=0;for(r=0;r<Zb-1;r++){Qb[r]=n;for(e=0;e<1<<Xb[r];e++)pc[n++]=r}pc[n-1]=r,i=0;for(r=0;r<16;r++){af[r]=i;for(e=0;e<1<<sf[r];e++)fc[i++]=r}i>>=7;for(;r<is;r++){af[r]=i<<7;for(e=0;e<1<<sf[r]-7;e++)fc[256+i++]=r}for(t=0;t<=qi;t++)o[t]=0;e=0;while(e<=143)or[e*2+1]=8,e++,o[8]++;while(e<=255)or[e*2+1]=9,e++,o[9]++;while(e<=279)or[e*2+1]=7,e++,o[7]++;while(e<=287)or[e*2+1]=8,e++,o[8]++;Ik(or,dc+1,o);for(e=0;e<is;e++)lc[e*2+1]=5,lc[e*2]=Ok(e,5);Uk=new Gb(or,Xb,gc+1,dc,qi),Rk=new Gb(lc,sf,0,is,qi),Fk=new Gb([],jX,0,Yb,WX)}function Mk(e){var t;for(t=0;t<dc;t++)e.dyn_ltree[t*2]=0;for(t=0;t<is;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Yb;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Jb*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Nk(e){if(e.bi_valid>8)hc(e,e.bi_buf);else if(e.bi_valid>0)e.pending_buf[e.pending++]=e.bi_buf;e.bi_buf=0,e.bi_valid=0}function zX(e,t,n,r){if(Nk(e),r)hc(e,n),hc(e,~n);PX.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function vk(e,t,n,r){var i=t*2,o=n*2;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function Vb(e,t,n){var r=e.heap[n],i=n<<1;while(i<=e.heap_len){if(i<e.heap_len&&vk(t,e.heap[i+1],e.heap[i],e.depth))i++;if(vk(t,r,e.heap[i],e.depth))break;e.heap[n]=e.heap[i],n=i,i<<=1}e.heap[n]=r}function xk(e,t,n){var r,i,o=0,s,a;if(e.last_lit!==0)do if(r=e.pending_buf[e.d_buf+o*2]<<8|e.pending_buf[e.d_buf+o*2+1],i=e.pending_buf[e.l_buf+o],o++,r===0)Un(e,i,t);else{if(s=pc[i],Un(e,s+gc+1,t),a=Xb[s],a!==0)i-=Qb[s],It(e,i,a);if(r--,s=Pk(r),Un(e,s,n),a=sf[s],a!==0)r-=af[s],It(e,r,a)}while(o<e.last_lit);Un(e,Jb,t)}function Kb(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,o=t.stat_desc.elems,s,a,c=-1,u;e.heap_len=0,e.heap_max=Sk;for(s=0;s<o;s++)if(n[s*2]!==0)e.heap[++e.heap_len]=c=s,e.depth[s]=0;else n[s*2+1]=0;while(e.heap_len<2)if(u=e.heap[++e.heap_len]=c<2?++c:0,n[u*2]=1,e.depth[u]=0,e.opt_len--,i)e.static_len-=r[u*2+1];t.max_code=c;for(s=e.heap_len>>1;s>=1;s--)Vb(e,n,s);u=o;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Vb(e,n,1),a=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=a,n[u*2]=n[s*2]+n[a*2],e.depth[u]=(e.depth[s]>=e.depth[a]?e.depth[s]:e.depth[a])+1,n[s*2+1]=n[a*2+1]=u,e.heap[1]=u++,Vb(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],HX(e,t),Ik(n,c,e.bl_count)}function wk(e,t,n){var r,i=-1,o,s=t[1],a=0,c=7,u=4;if(s===0)c=138,u=3;t[(n+1)*2+1]=65535;for(r=0;r<=n;r++){if(o=s,s=t[(r+1)*2+1],++a<c&&o===s)continue;else if(a<u)e.bl_tree[o*2]+=a;else if(o!==0){if(o!==i)e.bl_tree[o*2]++;e.bl_tree[Tk*2]++}else if(a<=10)e.bl_tree[Ck*2]++;else e.bl_tree[Ak*2]++;if(a=0,i=o,s===0)c=138,u=3;else if(o===s)c=6,u=3;else c=7,u=4}}function _k(e,t,n){var r,i=-1,o,s=t[1],a=0,c=7,u=4;if(s===0)c=138,u=3;for(r=0;r<=n;r++){if(o=s,s=t[(r+1)*2+1],++a<c&&o===s)continue;else if(a<u)do Un(e,o,e.bl_tree);while(--a!==0);else if(o!==0){if(o!==i)Un(e,o,e.bl_tree),a--;Un(e,Tk,e.bl_tree),It(e,a-3,2)}else if(a<=10)Un(e,Ck,e.bl_tree),It(e,a-3,3);else Un(e,Ak,e.bl_tree),It(e,a-11,7);if(a=0,i=o,s===0)c=138,u=3;else if(o===s)c=6,u=3;else c=7,u=4}}function VX(e){var t;wk(e,e.dyn_ltree,e.l_desc.max_code),wk(e,e.dyn_dtree,e.d_desc.max_code),Kb(e,e.bl_desc);for(t=Yb-1;t>=3;t--)if(e.bl_tree[kk[t]*2+1]!==0)break;return e.opt_len+=3*(t+1)+5+5+4,t}function XX(e,t,n,r){var i;It(e,t-257,5),It(e,n-1,5),It(e,r-4,4);for(i=0;i<r;i++)It(e,e.bl_tree[kk[i]*2+1],3);_k(e,e.dyn_ltree,t-1),_k(e,e.dyn_dtree,n-1)}function KX(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return yk;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return bk;for(n=32;n<gc;n++)if(e.dyn_ltree[n*2]!==0)return bk;return yk}var Dk=!1;function ZX(e){if(!Dk)GX(),Dk=!0;e.l_desc=new zb(e.dyn_ltree,Uk),e.d_desc=new zb(e.dyn_dtree,Rk),e.bl_desc=new zb(e.bl_tree,Fk),e.bi_buf=0,e.bi_valid=0,Mk(e)}function Lk(e,t,n,r){It(e,(MX<<1)+(r?1:0),3),zX(e,t,n,!0)}function YX(e){It(e,Ek<<1,3),Un(e,Jb,or),$X(e)}function JX(e,t,n,r){var i,o,s=0;if(e.level>0){if(e.strm.data_type===IX)e.strm.data_type=KX(e);if(Kb(e,e.l_desc),Kb(e,e.d_desc),s=VX(e),i=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=i)i=o}else i=o=n+5;if(n+4<=i&&t!==-1)Lk(e,t,n,r);else if(e.strategy===OX||o===i)It(e,(Ek<<1)+(r?1:0),3),xk(e,or,lc);else It(e,(NX<<1)+(r?1:0),3),XX(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),xk(e,e.dyn_ltree,e.dyn_dtree);if(Mk(e),r)Nk(e)}function QX(e,t,n){if(e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0)e.dyn_ltree[n*2]++;else e.matches++,t--,e.dyn_ltree[(pc[n]+gc+1)*2]++,e.dyn_dtree[Pk(t)*2]++;return e.last_lit===e.lit_bufsize-1}eK._tr_init=ZX;eK._tr_stored_block=Lk;eK._tr_flush_block=JX;eK._tr_tally=QX;eK._tr_align=YX});var ev=U(function(t_e,Wk){function sK(e,t,n,r){var i=e&65535|0,o=e>>>16&65535|0,s=0;while(n!==0){s=n>2000?2000:n,n-=s;do i=i+t[r++]|0,o=o+i|0;while(--s);i%=65521,o%=65521}return i|o<<16|0}Wk.exports=sK});var tv=U(function(n_e,jk){function aK(){var e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var cK=aK();function uK(e,t,n,r){var i=cK,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}jk.exports=uK});var cf=U(function(r_e,qk){qk.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var Yk=U(function(qK){var Tt=ir(),Zt=Bk(),zk=ev(),Xr=tv(),lK=cf(),zi=0,dK=1,fK=3,Qr=4,$k=5,Fn=0,Hk=1,Yt=-2,pK=-3,nv=-5,hK=-1,gK=1,uf=2,mK=3,yK=4,bK=0,vK=2,pf=8,xK=9,wK=15,_K=8,DK=29,EK=256,iv=EK+1+DK,SK=30,TK=19,CK=2*iv+1,AK=15,ue=3,Yr=258,an=Yr+ue+1,kK=32,hf=42,ov=69,lf=73,df=91,ff=103,$i=113,yc=666,Ye=1,bc=2,Hi=3,cs=4,UK=3;function Jr(e,t){return e.msg=lK[t],t}function Gk(e){return(e<<1)-(e>4?9:0)}function Zr(e){var t=e.length;while(--t>=0)e[t]=0}function Kr(e){var t=e.state,n=t.pending;if(n>e.avail_out)n=e.avail_out;if(n===0)return;if(Tt.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0)t.pending_out=0}function ut(e,t){Zt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Kr(e.strm)}function he(e,t){e.pending_buf[e.pending++]=t}function mc(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function RK(e,t,n,r){var i=e.avail_in;if(i>r)i=r;if(i===0)return 0;if(e.avail_in-=i,Tt.arraySet(t,e.input,e.next_in,i,n),e.state.wrap===1)e.adler=zk(e.adler,t,i,n);else if(e.state.wrap===2)e.adler=Xr(e.adler,t,i,n);return e.next_in+=i,e.total_in+=i,i}function Vk(e,t){var{max_chain_length:n,strstart:r}=e,i,o,{prev_length:s,nice_match:a}=e,c=e.strstart>e.w_size-an?e.strstart-(e.w_size-an):0,{window:u,w_mask:d,prev:f}=e,p=e.strstart+Yr,h=u[r+s-1],g=u[r+s];if(e.prev_length>=e.good_match)n>>=2;if(a>e.lookahead)a=e.lookahead;do{if(i=t,u[i+s]!==g||u[i+s-1]!==h||u[i]!==u[r]||u[++i]!==u[r+1])continue;r+=2,i++;do;while(u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&r<p);if(o=Yr-(p-r),r=p-Yr,o>s){if(e.match_start=t,s=o,o>=a)break;h=u[r+s-1],g=u[r+s]}}while((t=f[t&d])>c&&--n!==0);if(s<=e.lookahead)return s;return e.lookahead}function Gi(e){var t=e.w_size,n,r,i,o,s;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-an)){Tt.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,r=e.hash_size,n=r;do i=e.head[--n],e.head[n]=i>=t?i-t:0;while(--r);r=t,n=r;do i=e.prev[--n],e.prev[n]=i>=t?i-t:0;while(--r);o+=t}if(e.strm.avail_in===0)break;if(r=RK(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=r,e.lookahead+e.insert>=ue){s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+ue-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,e.lookahead+e.insert<ue)break}}while(e.lookahead<an&&e.strm.avail_in!==0)}function FK(e,t){var n=65535;if(n>e.pending_buf_size-5)n=e.pending_buf_size-5;for(;;){if(e.lookahead<=1){if(Gi(e),e.lookahead===0&&t===zi)return Ye;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if(e.strstart===0||e.strstart>=r){if(e.lookahead=e.strstart-r,e.strstart=r,ut(e,!1),e.strm.avail_out===0)return Ye}if(e.strstart-e.block_start>=e.w_size-an){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=0,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.strstart>e.block_start){if(ut(e,!1),e.strm.avail_out===0)return Ye}return Ye}function rv(e,t){var n,r;for(;;){if(e.lookahead<an){if(Gi(e),e.lookahead<an&&t===zi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=ue)e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;if(n!==0&&e.strstart-n<=e.w_size-an)e.match_length=Vk(e,n);if(e.match_length>=ue)if(r=Zt._tr_tally(e,e.strstart-e.match_start,e.match_length-ue),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ue){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=Zt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=e.strstart<ue-1?e.strstart:ue-1,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function ss(e,t){var n,r,i;for(;;){if(e.lookahead<an){if(Gi(e),e.lookahead<an&&t===zi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=ue)e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;if(e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ue-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-an){if(e.match_length=Vk(e,n),e.match_length<=5&&(e.strategy===gK||e.match_length===ue&&e.strstart-e.match_start>4096))e.match_length=ue-1}if(e.prev_length>=ue&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-ue,r=Zt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ue),e.lookahead-=e.prev_length-1,e.prev_length-=2;do if(++e.strstart<=i)e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ue-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ue-1,e.strstart++,r){if(ut(e,!1),e.strm.avail_out===0)return Ye}}else if(e.match_available){if(r=Zt._tr_tally(e,0,e.window[e.strstart-1]),r)ut(e,!1);if(e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ye}else e.match_available=1,e.strstart++,e.lookahead--}if(e.match_available)r=Zt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0;if(e.insert=e.strstart<ue-1?e.strstart:ue-1,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function PK(e,t){var n,r,i,o,s=e.window;for(;;){if(e.lookahead<=Yr){if(Gi(e),e.lookahead<=Yr&&t===zi)return Ye;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ue&&e.strstart>0){if(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+Yr;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);if(e.match_length=Yr-(o-i),e.match_length>e.lookahead)e.match_length=e.lookahead}}if(e.match_length>=ue)n=Zt._tr_tally(e,1,e.match_length-ue),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0;else n=Zt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=0,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function OK(e,t){var n;for(;;){if(e.lookahead===0){if(Gi(e),e.lookahead===0){if(t===zi)return Ye;break}}if(e.match_length=0,n=Zt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n){if(ut(e,!1),e.strm.avail_out===0)return Ye}}if(e.insert=0,t===Qr){if(ut(e,!0),e.strm.avail_out===0)return Hi;return cs}if(e.last_lit){if(ut(e,!1),e.strm.avail_out===0)return Ye}return bc}function Rn(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var as;as=[new Rn(0,0,0,0,FK),new Rn(4,4,8,4,rv),new Rn(4,5,16,8,rv),new Rn(4,6,32,32,rv),new Rn(4,4,16,16,ss),new Rn(8,16,32,32,ss),new Rn(8,16,128,128,ss),new Rn(8,32,128,256,ss),new Rn(32,128,258,1024,ss),new Rn(32,258,258,4096,ss)];function IK(e){e.window_size=2*e.w_size,Zr(e.head),e.max_lazy_match=as[e.level].max_lazy,e.good_match=as[e.level].good_length,e.nice_match=as[e.level].nice_length,e.max_chain_length=as[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ue-1,e.match_available=0,e.ins_h=0}function MK(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=pf,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Tt.Buf16(CK*2),this.dyn_dtree=new Tt.Buf16((2*SK+1)*2),this.bl_tree=new Tt.Buf16((2*TK+1)*2),Zr(this.dyn_ltree),Zr(this.dyn_dtree),Zr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Tt.Buf16(AK+1),this.heap=new Tt.Buf16(2*iv+1),Zr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Tt.Buf16(2*iv+1),Zr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Xk(e){var t;if(!e||!e.state)return Jr(e,Yt);if(e.total_in=e.total_out=0,e.data_type=vK,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0)t.wrap=-t.wrap;return t.status=t.wrap?hf:$i,e.adler=t.wrap===2?0:1,t.last_flush=zi,Zt._tr_init(t),Fn}function Kk(e){var t=Xk(e);if(t===Fn)IK(e.state);return t}function NK(e,t){if(!e||!e.state)return Yt;if(e.state.wrap!==2)return Yt;return e.state.gzhead=t,Fn}function Zk(e,t,n,r,i,o){if(!e)return Yt;var s=1;if(t===hK)t=6;if(r<0)s=0,r=-r;else if(r>15)s=2,r-=16;if(i<1||i>xK||n!==pf||r<8||r>15||t<0||t>9||o<0||o>yK)return Jr(e,Yt);if(r===8)r=9;var a=new MK;return e.state=a,a.strm=e,a.wrap=s,a.gzhead=null,a.w_bits=r,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=i+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+ue-1)/ue),a.window=new Tt.Buf8(a.w_size*2),a.head=new Tt.Buf16(a.hash_size),a.prev=new Tt.Buf16(a.w_size),a.lit_bufsize=1<<i+6,a.pending_buf_size=a.lit_bufsize*4,a.pending_buf=new Tt.Buf8(a.pending_buf_size),a.d_buf=1*a.lit_bufsize,a.l_buf=3*a.lit_bufsize,a.level=t,a.strategy=o,a.method=n,Kk(e)}function LK(e,t){return Zk(e,t,pf,wK,_K,bK)}function BK(e,t){var n,r,i,o;if(!e||!e.state||t>$k||t<0)return e?Jr(e,Yt):Yt;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===yc&&t!==Qr)return Jr(e,e.avail_out===0?nv:Yt);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===hf)if(r.wrap===2)if(e.adler=0,he(r,31),he(r,139),he(r,8),!r.gzhead)he(r,0),he(r,0),he(r,0),he(r,0),he(r,0),he(r,r.level===9?2:r.strategy>=uf||r.level<2?4:0),he(r,UK),r.status=$i;else{if(he(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(!r.gzhead.extra?0:4)+(!r.gzhead.name?0:8)+(!r.gzhead.comment?0:16)),he(r,r.gzhead.time&255),he(r,r.gzhead.time>>8&255),he(r,r.gzhead.time>>16&255),he(r,r.gzhead.time>>24&255),he(r,r.level===9?2:r.strategy>=uf||r.level<2?4:0),he(r,r.gzhead.os&255),r.gzhead.extra&&r.gzhead.extra.length)he(r,r.gzhead.extra.length&255),he(r,r.gzhead.extra.length>>8&255);if(r.gzhead.hcrc)e.adler=Xr(e.adler,r.pending_buf,r.pending,0);r.gzindex=0,r.status=ov}else{var s=pf+(r.w_bits-8<<4)<<8,a=-1;if(r.strategy>=uf||r.level<2)a=0;else if(r.level<6)a=1;else if(r.level===6)a=2;else a=3;if(s|=a<<6,r.strstart!==0)s|=kK;if(s+=31-s%31,r.status=$i,mc(r,s),r.strstart!==0)mc(r,e.adler>>>16),mc(r,e.adler&65535);e.adler=1}if(r.status===ov)if(r.gzhead.extra){i=r.pending;while(r.gzindex<(r.gzhead.extra.length&65535)){if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(Kr(e),i=r.pending,r.pending===r.pending_buf_size)break}he(r,r.gzhead.extra[r.gzindex]&255),r.gzindex++}if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(r.gzindex===r.gzhead.extra.length)r.gzindex=0,r.status=lf}else r.status=lf;if(r.status===lf)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(Kr(e),i=r.pending,r.pending===r.pending_buf_size){o=1;break}}if(r.gzindex<r.gzhead.name.length)o=r.gzhead.name.charCodeAt(r.gzindex++)&255;else o=0;he(r,o)}while(o!==0);if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(o===0)r.gzindex=0,r.status=df}else r.status=df;if(r.status===df)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(Kr(e),i=r.pending,r.pending===r.pending_buf_size){o=1;break}}if(r.gzindex<r.gzhead.comment.length)o=r.gzhead.comment.charCodeAt(r.gzindex++)&255;else o=0;he(r,o)}while(o!==0);if(r.gzhead.hcrc&&r.pending>i)e.adler=Xr(e.adler,r.pending_buf,r.pending-i,i);if(o===0)r.status=ff}else r.status=ff;if(r.status===ff)if(r.gzhead.hcrc){if(r.pending+2>r.pending_buf_size)Kr(e);if(r.pending+2<=r.pending_buf_size)he(r,e.adler&255),he(r,e.adler>>8&255),e.adler=0,r.status=$i}else r.status=$i;if(r.pending!==0){if(Kr(e),e.avail_out===0)return r.last_flush=-1,Fn}else if(e.avail_in===0&&Gk(t)<=Gk(n)&&t!==Qr)return Jr(e,nv);if(r.status===yc&&e.avail_in!==0)return Jr(e,nv);if(e.avail_in!==0||r.lookahead!==0||t!==zi&&r.status!==yc){var c=r.strategy===uf?OK(r,t):r.strategy===mK?PK(r,t):as[r.level].func(r,t);if(c===Hi||c===cs)r.status=yc;if(c===Ye||c===Hi){if(e.avail_out===0)r.last_flush=-1;return Fn}if(c===bc){if(t===dK)Zt._tr_align(r);else if(t!==$k){if(Zt._tr_stored_block(r,0,0,!1),t===fK){if(Zr(r.head),r.lookahead===0)r.strstart=0,r.block_start=0,r.insert=0}}if(Kr(e),e.avail_out===0)return r.last_flush=-1,Fn}}if(t!==Qr)return Fn;if(r.wrap<=0)return Hk;if(r.wrap===2)he(r,e.adler&255),he(r,e.adler>>8&255),he(r,e.adler>>16&255),he(r,e.adler>>24&255),he(r,e.total_in&255),he(r,e.total_in>>8&255),he(r,e.total_in>>16&255),he(r,e.total_in>>24&255);else mc(r,e.adler>>>16),mc(r,e.adler&65535);if(Kr(e),r.wrap>0)r.wrap=-r.wrap;return r.pending!==0?Fn:Hk}function WK(e){var t;if(!e||!e.state)return Yt;if(t=e.state.status,t!==hf&&t!==ov&&t!==lf&&t!==df&&t!==ff&&t!==$i&&t!==yc)return Jr(e,Yt);return e.state=null,t===$i?Jr(e,pK):Fn}function jK(e,t){var n=t.length,r,i,o,s,a,c,u,d;if(!e||!e.state)return Yt;if(r=e.state,s=r.wrap,s===2||s===1&&r.status!==hf||r.lookahead)return Yt;if(s===1)e.adler=zk(e.adler,t,n,0);if(r.wrap=0,n>=r.w_size){if(s===0)Zr(r.head),r.strstart=0,r.block_start=0,r.insert=0;d=new Tt.Buf8(r.w_size),Tt.arraySet(d,t,n-r.w_size,r.w_size,0),t=d,n=r.w_size}a=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,Gi(r);while(r.lookahead>=ue){i=r.strstart,o=r.lookahead-(ue-1);do r.ins_h=(r.ins_h<<r.hash_shift^r.window[i+ue-1])&r.hash_mask,r.prev[i&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=i,i++;while(--o);r.strstart=i,r.lookahead=ue-1,Gi(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=ue-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=a,r.wrap=s,Fn}qK.deflateInit=LK;qK.deflateInit2=Zk;qK.deflateReset=Kk;qK.deflateResetKeep=Xk;qK.deflateSetHeader=NK;qK.deflate=BK;qK.deflateEnd=WK;qK.deflateSetDictionary=jK;qK.deflateInfo="pako deflate (from Nodeca project)"});var sv=U(function(JK){var gf=ir(),Jk=!0,Qk=!0;try{String.fromCharCode.apply(null,[0])}catch(e){Jk=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Qk=!1}var vc=new gf.Buf8(256);for(Pn=0;Pn<256;Pn++)vc[Pn]=Pn>=252?6:Pn>=248?5:Pn>=240?4:Pn>=224?3:Pn>=192?2:1;var Pn;vc[254]=vc[254]=1;JK.string2buf=function(e){var t,n,r,i,o,s=e.length,a=0;for(i=0;i<s;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}a+=n<128?1:n<2048?2:n<65536?3:4}t=new gf.Buf8(a);for(o=0,i=0;o<a;i++){if(n=e.charCodeAt(i),(n&64512)===55296&&i+1<s){if(r=e.charCodeAt(i+1),(r&64512)===56320)n=65536+(n-55296<<10)+(r-56320),i++}if(n<128)t[o++]=n;else if(n<2048)t[o++]=192|n>>>6,t[o++]=128|n&63;else if(n<65536)t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|n&63;else t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|n&63}return t};function eU(e,t){if(t<65534){if(e.subarray&&Qk||!e.subarray&&Jk)return String.fromCharCode.apply(null,gf.shrinkBuf(e,t))}var n="";for(var r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}JK.buf2binstring=function(e){return eU(e,e.length)};JK.binstring2buf=function(e){var t=new gf.Buf8(e.length);for(var n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t};JK.buf2string=function(e,t){var n,r,i,o,s=t||e.length,a=Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){a[r++]=i;continue}if(o=vc[i],o>4){a[r++]=65533,n+=o-1;continue}i&=o===2?31:o===3?15:7;while(o>1&&n<s)i=i<<6|e[n++]&63,o--;if(o>1){a[r++]=65533;continue}if(i<65536)a[r++]=i;else i-=65536,a[r++]=55296|i>>10&1023,a[r++]=56320|i&1023}return eU(a,r)};JK.utf8border=function(e,t){var n;if(t=t||e.length,t>e.length)t=e.length;n=t-1;while(n>=0&&(e[n]&192)===128)n--;if(n<0)return t;if(n===0)return t;return n+vc[e[n]]>t?n:t}});var av=U(function(s_e,tU){function iZ(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}tU.exports=iZ});var oU=U(function(fZ){var xc=Yk(),wc=ir(),uv=sv(),lv=cf(),oZ=av(),iU=Object.prototype.toString,sZ=0,cv=4,us=0,nU=1,rU=2,aZ=-1,cZ=0,uZ=8;function Vi(e){if(!(this instanceof Vi))return new Vi(e);this.options=wc.assign({level:aZ,method:uZ,chunkSize:16384,windowBits:15,memLevel:8,strategy:cZ,to:""},e||{});var t=this.options;if(t.raw&&t.windowBits>0)t.windowBits=-t.windowBits;else if(t.gzip&&t.windowBits>0&&t.windowBits<16)t.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new oZ,this.strm.avail_out=0;var n=xc.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==us)throw Error(lv[n]);if(t.header)xc.deflateSetHeader(this.strm,t.header);if(t.dictionary){var r;if(typeof t.dictionary==="string")r=uv.string2buf(t.dictionary);else if(iU.call(t.dictionary)==="[object ArrayBuffer]")r=new Uint8Array(t.dictionary);else r=t.dictionary;if(n=xc.deflateSetDictionary(this.strm,r),n!==us)throw Error(lv[n]);this._dict_set=!0}}Vi.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i,o;if(this.ended)return!1;if(o=t===~~t?t:t===!0?cv:sZ,typeof e==="string")n.input=uv.string2buf(e);else if(iU.call(e)==="[object ArrayBuffer]")n.input=new Uint8Array(e);else n.input=e;n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0)n.output=new wc.Buf8(r),n.next_out=0,n.avail_out=r;if(i=xc.deflate(n,o),i!==nU&&i!==us)return this.onEnd(i),this.ended=!0,!1;if(n.avail_out===0||n.avail_in===0&&(o===cv||o===rU))if(this.options.to==="string")this.onData(uv.buf2binstring(wc.shrinkBuf(n.output,n.next_out)));else this.onData(wc.shrinkBuf(n.output,n.next_out))}while((n.avail_in>0||n.avail_out===0)&&i!==nU);if(o===cv)return i=xc.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===us;if(o===rU)return this.onEnd(us),n.avail_out=0,!0;return!0};Vi.prototype.onData=function(e){this.chunks.push(e)};Vi.prototype.onEnd=function(e){if(e===us)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=wc.flattenChunks(this.chunks);this.chunks=[],this.err=e,this.msg=this.strm.msg};function dv(e,t){var n=new Vi(t);if(n.push(e,!0),n.err)throw n.msg||lv[n.err];return n.result}function lZ(e,t){return t=t||{},t.raw=!0,dv(e,t)}function dZ(e,t){return t=t||{},t.gzip=!0,dv(e,t)}fZ.Deflate=Vi;fZ.deflate=dv;fZ.deflateRaw=lZ;fZ.gzip=dZ});var aU=U(function(c_e,sU){var mf=30,yZ=12;sU.exports=function(t,n){var r,i,o,s,a,c,u,d,f,p,h,g,b,v,y,x,m,w,D,T,_,A,S,M,P;r=t.state,i=t.next_in,M=t.input,o=i+(t.avail_in-5),s=t.next_out,P=t.output,a=s-(n-t.avail_out),c=s+(t.avail_out-257),u=r.dmax,d=r.wsize,f=r.whave,p=r.wnext,h=r.window,g=r.hold,b=r.bits,v=r.lencode,y=r.distcode,x=(1<<r.lenbits)-1,m=(1<<r.distbits)-1;e:do{if(b<15)g+=M[i++]<<b,b+=8,g+=M[i++]<<b,b+=8;w=v[g&x];t:for(;;){if(D=w>>>24,g>>>=D,b-=D,D=w>>>16&255,D===0)P[s++]=w&65535;else if(D&16){if(T=w&65535,D&=15,D){if(b<D)g+=M[i++]<<b,b+=8;T+=g&(1<<D)-1,g>>>=D,b-=D}if(b<15)g+=M[i++]<<b,b+=8,g+=M[i++]<<b,b+=8;w=y[g&m];n:for(;;){if(D=w>>>24,g>>>=D,b-=D,D=w>>>16&255,D&16){if(_=w&65535,D&=15,b<D){if(g+=M[i++]<<b,b+=8,b<D)g+=M[i++]<<b,b+=8}if(_+=g&(1<<D)-1,_>u){t.msg="invalid distance too far back",r.mode=mf;break e}if(g>>>=D,b-=D,D=s-a,_>D){if(D=_-D,D>f){if(r.sane){t.msg="invalid distance too far back",r.mode=mf;break e}}if(A=0,S=h,p===0){if(A+=d-D,D<T){T-=D;do P[s++]=h[A++];while(--D);A=s-_,S=P}}else if(p<D){if(A+=d+p-D,D-=p,D<T){T-=D;do P[s++]=h[A++];while(--D);if(A=0,p<T){D=p,T-=D;do P[s++]=h[A++];while(--D);A=s-_,S=P}}}else if(A+=p-D,D<T){T-=D;do P[s++]=h[A++];while(--D);A=s-_,S=P}while(T>2)P[s++]=S[A++],P[s++]=S[A++],P[s++]=S[A++],T-=3;if(T){if(P[s++]=S[A++],T>1)P[s++]=S[A++]}}else{A=s-_;do P[s++]=P[A++],P[s++]=P[A++],P[s++]=P[A++],T-=3;while(T>2);if(T){if(P[s++]=P[A++],T>1)P[s++]=P[A++]}}}else if((D&64)===0){w=y[(w&65535)+(g&(1<<D)-1)];continue n}else{t.msg="invalid distance code",r.mode=mf;break e}break}}else if((D&64)===0){w=v[(w&65535)+(g&(1<<D)-1)];continue t}else if(D&32){r.mode=yZ;break e}else{t.msg="invalid literal/length code",r.mode=mf;break e}break}}while(i<o&&s<c);T=b>>3,i-=T,b-=T<<3,g&=(1<<b)-1,t.next_in=i,t.next_out=s,t.avail_in=i<o?5+(o-i):5-(i-o),t.avail_out=s<c?257+(c-s):257-(s-c),r.hold=g,r.bits=b;return}});var hU=U(function(u_e,pU){var cU=ir(),ls=15,uU=852,lU=592,dU=0,fv=1,fU=2,bZ=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],vZ=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],xZ=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],wZ=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];pU.exports=function(t,n,r,i,o,s,a,c){var u=c.bits,d=0,f=0,p=0,h=0,g=0,b=0,v=0,y=0,x=0,m=0,w,D,T,_,A,S=null,M=0,P,C=new cU.Buf16(ls+1),L=new cU.Buf16(ls+1),W=null,H=0,E,R,k;for(d=0;d<=ls;d++)C[d]=0;for(f=0;f<i;f++)C[n[r+f]]++;g=u;for(h=ls;h>=1;h--)if(C[h]!==0)break;if(g>h)g=h;if(h===0)return o[s++]=20971520,o[s++]=20971520,c.bits=1,0;for(p=1;p<h;p++)if(C[p]!==0)break;if(g<p)g=p;y=1;for(d=1;d<=ls;d++)if(y<<=1,y-=C[d],y<0)return-1;if(y>0&&(t===dU||h!==1))return-1;L[1]=0;for(d=1;d<ls;d++)L[d+1]=L[d]+C[d];for(f=0;f<i;f++)if(n[r+f]!==0)a[L[n[r+f]]++]=f;if(t===dU)S=W=a,P=19;else if(t===fv)S=bZ,M-=257,W=vZ,H-=257,P=256;else S=xZ,W=wZ,P=-1;if(m=0,f=0,d=p,A=s,b=g,v=0,T=-1,x=1<<g,_=x-1,t===fv&&x>uU||t===fU&&x>lU)return 1;for(;;){if(E=d-v,a[f]<P)R=0,k=a[f];else if(a[f]>P)R=W[H+a[f]],k=S[M+a[f]];else R=96,k=0;w=1<<d-v,D=1<<b,p=D;do D-=w,o[A+(m>>v)+D]=E<<24|R<<16|k|0;while(D!==0);w=1<<d-1;while(m&w)w>>=1;if(w!==0)m&=w-1,m+=w;else m=0;if(f++,--C[d]===0){if(d===h)break;d=n[r+a[f]]}if(d>g&&(m&_)!==T){if(v===0)v=g;A+=p,b=d-v,y=1<<b;while(b+v<h){if(y-=C[b+v],y<=0)break;b++,y<<=1}if(x+=1<<b,t===fv&&x>uU||t===fU&&x>lU)return 1;T=m&_,o[T]=g<<24|b<<16|A-s|0}}if(m!==0)o[A+m]=d-v<<24|4194304|0;return c.bits=g,0}});var KU=U(function(WZ){var qt=ir(),bv=ev(),On=tv(),_Z=aU(),_c=hU(),DZ=0,WU=1,jU=2,gU=4,EZ=5,yf=6,Xi=0,SZ=1,TZ=2,Jt=-2,qU=-3,vv=-4,CZ=-5,mU=8,$U=1,yU=2,bU=3,vU=4,xU=5,wU=6,_U=7,DU=8,EU=9,SU=10,xf=11,sr=12,pv=13,TU=14,hv=15,CU=16,AU=17,kU=18,UU=19,bf=20,vf=21,RU=22,FU=23,PU=24,OU=25,IU=26,gv=27,MU=28,NU=29,Pe=30,xv=31,AZ=32,kZ=852,UZ=592,RZ=15,FZ=RZ;function LU(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function PZ(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new qt.Buf16(320),this.work=new qt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function HU(e){var t;if(!e||!e.state)return Jt;if(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap)e.adler=t.wrap&1;return t.mode=$U,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new qt.Buf32(kZ),t.distcode=t.distdyn=new qt.Buf32(UZ),t.sane=1,t.back=-1,Xi}function GU(e){var t;if(!e||!e.state)return Jt;return t=e.state,t.wsize=0,t.whave=0,t.wnext=0,HU(e)}function zU(e,t){var n,r;if(!e||!e.state)return Jt;if(r=e.state,t<0)n=0,t=-t;else if(n=(t>>4)+1,t<48)t&=15;if(t&&(t<8||t>15))return Jt;if(r.window!==null&&r.wbits!==t)r.window=null;return r.wrap=n,r.wbits=t,GU(e)}function VU(e,t){var n,r;if(!e)return Jt;if(r=new PZ,e.state=r,r.window=null,n=zU(e,t),n!==Xi)e.state=null;return n}function OZ(e){return VU(e,FZ)}var BU=!0,mv,yv;function IZ(e){if(BU){var t;mv=new qt.Buf32(512),yv=new qt.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;_c(WU,e.lens,0,288,mv,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;_c(jU,e.lens,0,32,yv,0,e.work,{bits:5}),BU=!1}e.lencode=mv,e.lenbits=9,e.distcode=yv,e.distbits=5}function XU(e,t,n,r){var i,o=e.state;if(o.window===null)o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new qt.Buf8(o.wsize);if(r>=o.wsize)qt.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize;else{if(i=o.wsize-o.wnext,i>r)i=r;if(qt.arraySet(o.window,t,n-r,i,o.wnext),r-=i,r)qt.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize;else{if(o.wnext+=i,o.wnext===o.wsize)o.wnext=0;if(o.whave<o.wsize)o.whave+=i}}return 0}function MZ(e,t){var n,r,i,o,s,a,c,u,d,f,p,h,g,b,v=0,y,x,m,w,D,T,_,A,S=new qt.Buf8(4),M,P,C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Jt;if(n=e.state,n.mode===sr)n.mode=pv;s=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,a=e.avail_in,u=n.hold,d=n.bits,f=a,p=c,A=Xi;e:for(;;)switch(n.mode){case $U:if(n.wrap===0){n.mode=pv;break}while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.wrap&2&&u===35615){n.check=0,S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0),u=0,d=0,n.mode=yU;break}if(n.flags=0,n.head)n.head.done=!1;if(!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Pe;break}if((u&15)!==mU){e.msg="unknown compression method",n.mode=Pe;break}if(u>>>=4,d-=4,_=(u&15)+8,n.wbits===0)n.wbits=_;else if(_>n.wbits){e.msg="invalid window size",n.mode=Pe;break}n.dmax=1<<_,e.adler=n.check=1,n.mode=u&512?SU:sr,u=0,d=0;break;case yU:while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.flags=u,(n.flags&255)!==mU){e.msg="unknown compression method",n.mode=Pe;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Pe;break}if(n.head)n.head.text=u>>8&1;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0);u=0,d=0,n.mode=bU;case bU:while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.head)n.head.time=u;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,S[2]=u>>>16&255,S[3]=u>>>24&255,n.check=On(n.check,S,4,0);u=0,d=0,n.mode=vU;case vU:while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.head)n.head.xflags=u&255,n.head.os=u>>8;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0);u=0,d=0,n.mode=xU;case xU:if(n.flags&1024){while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.length=u,n.head)n.head.extra_len=u;if(n.flags&512)S[0]=u&255,S[1]=u>>>8&255,n.check=On(n.check,S,2,0);u=0,d=0}else if(n.head)n.head.extra=null;n.mode=wU;case wU:if(n.flags&1024){if(h=n.length,h>a)h=a;if(h){if(n.head){if(_=n.head.extra_len-n.length,!n.head.extra)n.head.extra=Array(n.head.extra_len);qt.arraySet(n.head.extra,r,o,h,_)}if(n.flags&512)n.check=On(n.check,r,h,o);a-=h,o+=h,n.length-=h}if(n.length)break e}n.length=0,n.mode=_U;case _U:if(n.flags&2048){if(a===0)break e;h=0;do if(_=r[o+h++],n.head&&_&&n.length<65536)n.head.name+=String.fromCharCode(_);while(_&&h<a);if(n.flags&512)n.check=On(n.check,r,h,o);if(a-=h,o+=h,_)break e}else if(n.head)n.head.name=null;n.length=0,n.mode=DU;case DU:if(n.flags&4096){if(a===0)break e;h=0;do if(_=r[o+h++],n.head&&_&&n.length<65536)n.head.comment+=String.fromCharCode(_);while(_&&h<a);if(n.flags&512)n.check=On(n.check,r,h,o);if(a-=h,o+=h,_)break e}else if(n.head)n.head.comment=null;n.mode=EU;case EU:if(n.flags&512){while(d<16){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Pe;break}u=0,d=0}if(n.head)n.head.hcrc=n.flags>>9&1,n.head.done=!0;e.adler=n.check=0,n.mode=sr;break;case SU:while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}e.adler=n.check=LU(u),u=0,d=0,n.mode=xf;case xf:if(n.havedict===0)return e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=a,n.hold=u,n.bits=d,TZ;e.adler=n.check=1,n.mode=sr;case sr:if(t===EZ||t===yf)break e;case pv:if(n.last){u>>>=d&7,d-=d&7,n.mode=gv;break}while(d<3){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}switch(n.last=u&1,u>>>=1,d-=1,u&3){case 0:n.mode=TU;break;case 1:if(IZ(n),n.mode=bf,t===yf){u>>>=2,d-=2;break e}break;case 2:n.mode=AU;break;case 3:e.msg="invalid block type",n.mode=Pe}u>>>=2,d-=2;break;case TU:u>>>=d&7,d-=d&7;while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Pe;break}if(n.length=u&65535,u=0,d=0,n.mode=hv,t===yf)break e;case hv:n.mode=CU;case CU:if(h=n.length,h){if(h>a)h=a;if(h>c)h=c;if(h===0)break e;qt.arraySet(i,r,o,h,s),a-=h,o+=h,c-=h,s+=h,n.length-=h;break}n.mode=sr;break;case AU:while(d<14){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(n.nlen=(u&31)+257,u>>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Pe;break}n.have=0,n.mode=kU;case kU:while(n.have<n.ncode){while(d<3){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}n.lens[C[n.have++]]=u&7,u>>>=3,d-=3}while(n.have<19)n.lens[C[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},A=_c(DZ,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,A){e.msg="invalid code lengths set",n.mode=Pe;break}n.have=0,n.mode=UU;case UU:while(n.have<n.nlen+n.ndist){for(;;){if(v=n.lencode[u&(1<<n.lenbits)-1],y=v>>>24,x=v>>>16&255,m=v&65535,y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(m<16)u>>>=y,d-=y,n.lens[n.have++]=m;else{if(m===16){P=y+2;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(u>>>=y,d-=y,n.have===0){e.msg="invalid bit length repeat",n.mode=Pe;break}_=n.lens[n.have-1],h=3+(u&3),u>>>=2,d-=2}else if(m===17){P=y+3;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=y,d-=y,_=0,h=3+(u&7),u>>>=3,d-=3}else{P=y+7;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=y,d-=y,_=0,h=11+(u&127),u>>>=7,d-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Pe;break}while(h--)n.lens[n.have++]=_}}if(n.mode===Pe)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Pe;break}if(n.lenbits=9,M={bits:n.lenbits},A=_c(WU,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,A){e.msg="invalid literal/lengths set",n.mode=Pe;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},A=_c(jU,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,A){e.msg="invalid distances set",n.mode=Pe;break}if(n.mode=bf,t===yf)break e;case bf:n.mode=vf;case vf:if(a>=6&&c>=258){if(e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=a,n.hold=u,n.bits=d,_Z(e,p),s=e.next_out,i=e.output,c=e.avail_out,o=e.next_in,r=e.input,a=e.avail_in,u=n.hold,d=n.bits,n.mode===sr)n.back=-1;break}n.back=0;for(;;){if(v=n.lencode[u&(1<<n.lenbits)-1],y=v>>>24,x=v>>>16&255,m=v&65535,y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(x&&(x&240)===0){w=y,D=x,T=m;for(;;){if(v=n.lencode[T+((u&(1<<w+D)-1)>>w)],y=v>>>24,x=v>>>16&255,m=v&65535,w+y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,n.length=m,x===0){n.mode=IU;break}if(x&32){n.back=-1,n.mode=sr;break}if(x&64){e.msg="invalid literal/length code",n.mode=Pe;break}n.extra=x&15,n.mode=RU;case RU:if(n.extra){P=n.extra;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=FU;case FU:for(;;){if(v=n.distcode[u&(1<<n.distbits)-1],y=v>>>24,x=v>>>16&255,m=v&65535,y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if((x&240)===0){w=y,D=x,T=m;for(;;){if(v=n.distcode[T+((u&(1<<w+D)-1)>>w)],y=v>>>24,x=v>>>16&255,m=v&65535,w+y<=d)break;if(a===0)break e;a--,u+=r[o++]<<d,d+=8}u>>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,x&64){e.msg="invalid distance code",n.mode=Pe;break}n.offset=m,n.extra=x&15,n.mode=PU;case PU:if(n.extra){P=n.extra;while(d<P){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Pe;break}n.mode=OU;case OU:if(c===0)break e;if(h=p-c,n.offset>h){if(h=n.offset-h,h>n.whave){if(n.sane){e.msg="invalid distance too far back",n.mode=Pe;break}}if(h>n.wnext)h-=n.wnext,g=n.wsize-h;else g=n.wnext-h;if(h>n.length)h=n.length;b=n.window}else b=i,g=s-n.offset,h=n.length;if(h>c)h=c;c-=h,n.length-=h;do i[s++]=b[g++];while(--h);if(n.length===0)n.mode=vf;break;case IU:if(c===0)break e;i[s++]=n.length,c--,n.mode=vf;break;case gv:if(n.wrap){while(d<32){if(a===0)break e;a--,u|=r[o++]<<d,d+=8}if(p-=c,e.total_out+=p,n.total+=p,p)e.adler=n.check=n.flags?On(n.check,i,p,s-p):bv(n.check,i,p,s-p);if(p=c,(n.flags?u:LU(u))!==n.check){e.msg="incorrect data check",n.mode=Pe;break}u=0,d=0}n.mode=MU;case MU:if(n.wrap&&n.flags){while(d<32){if(a===0)break e;a--,u+=r[o++]<<d,d+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Pe;break}u=0,d=0}n.mode=NU;case NU:A=SZ;break e;case Pe:A=qU;break e;case xv:return vv;case AZ:default:return Jt}if(e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=a,n.hold=u,n.bits=d,n.wsize||p!==e.avail_out&&n.mode<Pe&&(n.mode<gv||t!==gU)){if(XU(e,e.output,e.next_out,p-e.avail_out))return n.mode=xv,vv}if(f-=e.avail_in,p-=e.avail_out,e.total_in+=f,e.total_out+=p,n.total+=p,n.wrap&&p)e.adler=n.check=n.flags?On(n.check,i,p,e.next_out-p):bv(n.check,i,p,e.next_out-p);if(e.data_type=n.bits+(n.last?64:0)+(n.mode===sr?128:0)+(n.mode===bf||n.mode===hv?256:0),(f===0&&p===0||t===gU)&&A===Xi)A=CZ;return A}function NZ(e){if(!e||!e.state)return Jt;var t=e.state;if(t.window)t.window=null;return e.state=null,Xi}function LZ(e,t){var n;if(!e||!e.state)return Jt;if(n=e.state,(n.wrap&2)===0)return Jt;return n.head=t,t.done=!1,Xi}function BZ(e,t){var n=t.length,r,i,o;if(!e||!e.state)return Jt;if(r=e.state,r.wrap!==0&&r.mode!==xf)return Jt;if(r.mode===xf){if(i=1,i=bv(i,t,n,0),i!==r.check)return qU}if(o=XU(e,t,n,n),o)return r.mode=xv,vv;return r.havedict=1,Xi}WZ.inflateReset=GU;WZ.inflateReset2=zU;WZ.inflateResetKeep=HU;WZ.inflateInit=OZ;WZ.inflateInit2=VU;WZ.inflate=MZ;WZ.inflateEnd=NZ;WZ.inflateGetHeader=LZ;WZ.inflateSetDictionary=BZ;WZ.inflateInfo="pako inflate (from Nodeca project)"});var wv=U(function(d_e,ZU){ZU.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var JU=U(function(f_e,YU){function YZ(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}YU.exports=YZ});var eR=U(function(tY){var ds=KU(),Dc=ir(),wf=sv(),$e=wv(),_v=cf(),JZ=av(),QZ=JU(),QU=Object.prototype.toString;function Ki(e){if(!(this instanceof Ki))return new Ki(e);this.options=Dc.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;if(t.raw&&t.windowBits>=0&&t.windowBits<16){if(t.windowBits=-t.windowBits,t.windowBits===0)t.windowBits=-15}if(t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits))t.windowBits+=32;if(t.windowBits>15&&t.windowBits<48){if((t.windowBits&15)===0)t.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new JZ,this.strm.avail_out=0;var n=ds.inflateInit2(this.strm,t.windowBits);if(n!==$e.Z_OK)throw Error(_v[n]);if(this.header=new QZ,ds.inflateGetHeader(this.strm,this.header),t.dictionary){if(typeof t.dictionary==="string")t.dictionary=wf.string2buf(t.dictionary);else if(QU.call(t.dictionary)==="[object ArrayBuffer]")t.dictionary=new Uint8Array(t.dictionary);if(t.raw){if(n=ds.inflateSetDictionary(this.strm,t.dictionary),n!==$e.Z_OK)throw Error(_v[n])}}}Ki.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i=this.options.dictionary,o,s,a,c,u,d=!1;if(this.ended)return!1;if(s=t===~~t?t:t===!0?$e.Z_FINISH:$e.Z_NO_FLUSH,typeof e==="string")n.input=wf.binstring2buf(e);else if(QU.call(e)==="[object ArrayBuffer]")n.input=new Uint8Array(e);else n.input=e;n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0)n.output=new Dc.Buf8(r),n.next_out=0,n.avail_out=r;if(o=ds.inflate(n,$e.Z_NO_FLUSH),o===$e.Z_NEED_DICT&&i)o=ds.inflateSetDictionary(this.strm,i);if(o===$e.Z_BUF_ERROR&&d===!0)o=$e.Z_OK,d=!1;if(o!==$e.Z_STREAM_END&&o!==$e.Z_OK)return this.onEnd(o),this.ended=!0,!1;if(n.next_out){if(n.avail_out===0||o===$e.Z_STREAM_END||n.avail_in===0&&(s===$e.Z_FINISH||s===$e.Z_SYNC_FLUSH))if(this.options.to==="string"){if(a=wf.utf8border(n.output,n.next_out),c=n.next_out-a,u=wf.buf2string(n.output,a),n.next_out=c,n.avail_out=r-c,c)Dc.arraySet(n.output,n.output,a,c,0);this.onData(u)}else this.onData(Dc.shrinkBuf(n.output,n.next_out))}if(n.avail_in===0&&n.avail_out===0)d=!0}while((n.avail_in>0||n.avail_out===0)&&o!==$e.Z_STREAM_END);if(o===$e.Z_STREAM_END)s=$e.Z_FINISH;if(s===$e.Z_FINISH)return o=ds.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===$e.Z_OK;if(s===$e.Z_SYNC_FLUSH)return this.onEnd($e.Z_OK),n.avail_out=0,!0;return!0};Ki.prototype.onData=function(e){this.chunks.push(e)};Ki.prototype.onEnd=function(e){if(e===$e.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=Dc.flattenChunks(this.chunks);this.chunks=[],this.err=e,this.msg=this.strm.msg};function Dv(e,t){var n=new Ki(t);if(n.push(e,!0),n.err)throw n.msg||_v[n.err];return n.result}function eY(e,t){return t=t||{},t.raw=!0,Dv(e,t)}tY.Inflate=Ki;tY.inflate=Dv;tY.inflateRaw=eY;tY.ungzip=Dv});var rR=U(function(h_e,nR){var sY=ir().assign,aY=oU(),cY=eR(),uY=wv(),tR={};sY(tR,aY,cY,uY);nR.exports=tR});var oR=U(function(pY){var lY=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",dY=rR(),iR=Ne(),_f=jt(),fY=lY?"uint8array":"array";pY.magic="\b\x00";function Zi(e,t){_f.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}iR.inherits(Zi,_f);Zi.prototype.processChunk=function(e){if(this.meta=e.meta,this._pako===null)this._createPako();this._pako.push(iR.transformTo(fY,e.data),!1)};Zi.prototype.flush=function(){if(_f.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};Zi.prototype.cleanUp=function(){_f.prototype.cleanUp.call(this),this._pako=null};Zi.prototype._createPako=function(){this._pako=new dY[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};pY.compressWorker=function(e){return new Zi("Deflate",e)};pY.uncompressWorker=function(){return new Zi("Inflate",{})}});var Ev=U(function(yY){var sR=jt();yY.STORE={magic:"\x00\x00",compressWorker:function(){return new sR("STORE compression")},uncompressWorker:function(){return new sR("STORE decompression")}};yY.DEFLATE=oR()});var Sv=U(function(xY){xY.LOCAL_FILE_HEADER="PK\x03\x04";xY.CENTRAL_FILE_HEADER="PK\x01\x02";xY.CENTRAL_DIRECTORY_END="PK\x05\x06";xY.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";xY.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";xY.DATA_DESCRIPTOR="PK\x07\b"});var lR=U(function(b_e,uR){var fs=Ne(),ps=jt(),Tv=ts(),aR=rf(),Df=Sv(),Ee=function(e,t){var n="",r;for(r=0;r<t;r++)n+=String.fromCharCode(e&255),e=e>>>8;return n},CY=function(e,t){var n=e;if(!e)n=t?16893:33204;return(n&65535)<<16},AY=function(e){return(e||0)&63},cR=function(e,t,n,r,i,o){var{file:s,compression:a}=e,c=o!==Tv.utf8encode,u=fs.transformTo("string",o(s.name)),d=fs.transformTo("string",Tv.utf8encode(s.name)),f=s.comment,p=fs.transformTo("string",o(f)),h=fs.transformTo("string",Tv.utf8encode(f)),g=d.length!==s.name.length,b=h.length!==f.length,v,y,x="",m="",w="",{dir:D,date:T}=s,_={crc32:0,compressedSize:0,uncompressedSize:0};if(!t||n)_.crc32=e.crc32,_.compressedSize=e.compressedSize,_.uncompressedSize=e.uncompressedSize;var A=0;if(t)A|=8;if(!c&&(g||b))A|=2048;var S=0,M=0;if(D)S|=16;if(i==="UNIX")M=798,S|=CY(s.unixPermissions,D);else M=20,S|=AY(s.dosPermissions,D);if(v=T.getUTCHours(),v=v<<6,v=v|T.getUTCMinutes(),v=v<<5,v=v|T.getUTCSeconds()/2,y=T.getUTCFullYear()-1980,y=y<<4,y=y|T.getUTCMonth()+1,y=y<<5,y=y|T.getUTCDate(),g)m=Ee(1,1)+Ee(aR(u),4)+d,x+="up"+Ee(m.length,2)+m;if(b)w=Ee(1,1)+Ee(aR(p),4)+h,x+="uc"+Ee(w.length,2)+w;var P="";P+=`
|
|
199
|
+
\x00`,P+=Ee(A,2),P+=a.magic,P+=Ee(v,2),P+=Ee(y,2),P+=Ee(_.crc32,4),P+=Ee(_.compressedSize,4),P+=Ee(_.uncompressedSize,4),P+=Ee(u.length,2),P+=Ee(x.length,2);var C=Df.LOCAL_FILE_HEADER+P+u+x,L=Df.CENTRAL_FILE_HEADER+Ee(M,2)+P+Ee(p.length,2)+"\x00\x00\x00\x00"+Ee(S,4)+Ee(r,4)+u+x+p;return{fileRecord:C,dirRecord:L}},kY=function(e,t,n,r,i){var o="",s=fs.transformTo("string",i(r));return o=Df.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+Ee(e,2)+Ee(e,2)+Ee(t,4)+Ee(n,4)+Ee(s.length,2)+s,o},UY=function(e){var t="";return t=Df.DATA_DESCRIPTOR+Ee(e.crc32,4)+Ee(e.compressedSize,4)+Ee(e.uncompressedSize,4),t};function cn(e,t,n,r){ps.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}fs.inherits(cn,ps);cn.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;if(this.accumulate)this.contentBuffer.push(e);else this.bytesWritten+=e.data.length,ps.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}})};cn.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=cR(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};cn.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=cR(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:UY(e),meta:{percent:100}});else{this.push({data:n.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};cn.prototype.flush=function(){var e=this.bytesWritten;for(var t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=kY(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})};cn.prototype.prepareNextSource=function(){if(this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused)this.previous.pause();else this.previous.resume()};cn.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){if(t.closedSource(t.previous.streamInfo),t._sources.length)t.prepareNextSource();else t.end()}),e.on("error",function(n){t.error(n)}),this};cn.prototype.resume=function(){if(!ps.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};cn.prototype.error=function(e){var t=this._sources;if(!ps.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(r){}return!0};cn.prototype.lock=function(){ps.prototype.lock.call(this);var e=this._sources;for(var t=0;t<e.length;t++)e[t].lock()};uR.exports=cn});var dR=U(function(OY){var RY=Ev(),FY=lR(),PY=function(e,t){var n=e||t,r=RY[n];if(!r)throw Error(n+" is not a valid compression method !");return r};OY.generateWorker=function(e,t,n){var r=new FY(t.streamFiles,n,t.platform,t.encodeFileName),i=0;try{e.forEach(function(o,s){i++;var a=PY(s.options.compression,t.compression),c=s.options.compressionOptions||t.compressionOptions||{},{dir:u,date:d}=s;s._compressWorker(a,c).withStreamInfo("file",{name:o,dir:u,date:d,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(r)}),r.entriesCount=i}catch(o){r.error(o)}return r}});var pR=U(function(x_e,fR){var MY=Ne(),Ef=jt();function Ec(e,t){Ef.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}MY.inherits(Ec,Ef);Ec.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){if(t.isPaused)this.generatedError=n;else t.error(n)}).on("end",function(){if(t.isPaused)t._upstreamEnded=!0;else t.end()})};Ec.prototype.pause=function(){if(!Ef.prototype.pause.call(this))return!1;return this._stream.pause(),!0};Ec.prototype.resume=function(){if(!Ef.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};fR.exports=Ec});var DR=U(function(w_e,_R){var NY=ts(),Sc=Ne(),yR=jt(),LY=Rb(),bR=Fb(),hR=of(),BY=gk(),WY=dR(),gR=rc(),jY=pR(),vR=function(e,t,n){var r=Sc.getTypeOf(t),i,o=Sc.extend(n||{},bR);if(o.date=o.date||new Date,o.compression!==null)o.compression=o.compression.toUpperCase();if(typeof o.unixPermissions==="string")o.unixPermissions=parseInt(o.unixPermissions,8);if(o.unixPermissions&&o.unixPermissions&16384)o.dir=!0;if(o.dosPermissions&&o.dosPermissions&16)o.dir=!0;if(o.dir)e=xR(e);if(o.createFolders&&(i=qY(e)))wR.call(this,i,!0);var s=r==="string"&&o.binary===!1&&o.base64===!1;if(!n||typeof n.binary>"u")o.binary=!s;var a=t instanceof hR&&t.uncompressedSize===0;if(a||o.dir||!t||t.length===0)o.base64=!1,o.binary=!0,t="",o.compression="STORE",r="string";var c=null;if(t instanceof hR||t instanceof yR)c=t;else if(gR.isNode&&gR.isStream(t))c=new jY(e,t);else c=Sc.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var u=new BY(e,c,o);this.files[e]=u},qY=function(e){if(e.slice(-1)==="/")e=e.substring(0,e.length-1);var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},xR=function(e){if(e.slice(-1)!=="/")e+="/";return e},wR=function(e,t){if(t=typeof t<"u"?t:bR.createFolders,e=xR(e),!this.files[e])vR.call(this,e,null,{dir:!0,createFolders:t});return this.files[e]};function mR(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var $Y={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)if(r=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root)e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){if(e(n,r))t.push(r)}),t},file:function(e,t,n){if(arguments.length===1)if(mR(e)){var r=e;return this.filter(function(o,s){return!s.dir&&r.test(o)})}else{var i=this.files[this.root+e];if(i&&!i.dir)return i;else return null}else e=this.root+e,vR.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(mR(e))return this.filter(function(i,o){return o.dir&&e.test(i)});var t=this.root+e,n=wR.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(!t){if(e.slice(-1)!=="/")e+="/";t=this.files[e]}if(t&&!t.dir)delete this.files[e];else{var n=this.filter(function(i,o){return o.name.slice(0,e.length)===e});for(var r=0;r<n.length;r++)delete this.files[n[r].name]}return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if(n=Sc.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:NY.utf8encode}),n.type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring")n.type="string";if(!n.type)throw Error("No output type specified.");if(Sc.checkSupport(n.type),n.platform==="darwin"||n.platform==="freebsd"||n.platform==="linux"||n.platform==="sunos")n.platform="UNIX";if(n.platform==="win32")n.platform="DOS";var r=n.comment||this.comment||"";t=WY.generateWorker(this,n,r)}catch(i){t=new yR("error"),t.error(i)}return new LY(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){if(e=e||{},!e.type)e.type="nodebuffer";return this.generateInternalStream(e).toNodejsStream(t)}};_R.exports=$Y});var Cv=U(function(__e,SR){var HY=Ne();function ER(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}ER.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t=0,n;this.checkOffset(e);for(n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return HY.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};SR.exports=ER});var Av=U(function(D_e,CR){var TR=Cv(),GY=Ne();function hs(e){TR.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}GY.inherits(hs,TR);hs.prototype.byteAt=function(e){return this.data[this.zero+e]};hs.prototype.lastIndexOfSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3);for(var o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1};hs.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]};hs.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};CR.exports=hs});var UR=U(function(E_e,kR){var AR=Cv(),zY=Ne();function gs(e){AR.call(this,e)}zY.inherits(gs,AR);gs.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};gs.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};gs.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};gs.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};kR.exports=gs});var Uv=U(function(S_e,FR){var RR=Av(),VY=Ne();function kv(e){RR.call(this,e)}VY.inherits(kv,RR);kv.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};FR.exports=kv});var IR=U(function(T_e,OR){var PR=Uv(),XY=Ne();function Rv(e){PR.call(this,e)}XY.inherits(Rv,PR);Rv.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};OR.exports=Rv});var Fv=U(function(C_e,NR){var Sf=Ne(),MR=rr(),KY=Av(),ZY=UR(),YY=IR(),JY=Uv();NR.exports=function(e){var t=Sf.getTypeOf(e);if(Sf.checkSupport(t),t==="string"&&!MR.uint8array)return new ZY(e);if(t==="nodebuffer")return new YY(e);if(MR.uint8array)return new JY(Sf.transformTo("uint8array",e));return new KY(Sf.transformTo("array",e))}});var jR=U(function(A_e,WR){var Pv=Fv(),ei=Ne(),QY=of(),LR=rf(),Tf=ts(),Cf=Ev(),eJ=rr(),tJ=0,nJ=3,rJ=function(e){for(var t in Cf){if(!Object.prototype.hasOwnProperty.call(Cf,t))continue;if(Cf[t].magic===e)return Cf[t]}return null};function BR(e,t){this.options=e,this.loadOptions=t}BR.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=rJ(this.compressionMethod),t===null)throw Error("Corrupted zip : compression "+ei.pretty(this.compressionMethod)+" unknown (inner file : "+ei.transformTo("string",this.fileName)+")");this.decompressed=new QY(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,e===tJ)this.dosPermissions=this.externalFileAttributes&63;if(e===nJ)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var e=Pv(this.extraFields[1].value);if(this.uncompressedSize===ei.MAX_VALUE_32BITS)this.uncompressedSize=e.readInt(8);if(this.compressedSize===ei.MAX_VALUE_32BITS)this.compressedSize=e.readInt(8);if(this.localHeaderOffset===ei.MAX_VALUE_32BITS)this.localHeaderOffset=e.readInt(8);if(this.diskNumberStart===ei.MAX_VALUE_32BITS)this.diskNumberStart=e.readInt(4)},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,r,i;if(!this.extraFields)this.extraFields={};while(e.index+4<t)n=e.readInt(2),r=e.readInt(2),i=e.readData(r),this.extraFields[n]={id:n,length:r,value:i};e.setIndex(t)},handleUTF8:function(){var e=eJ.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Tf.utf8decode(this.fileName),this.fileCommentStr=Tf.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=ei.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var i=ei.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Pv(e.value);if(t.readInt(1)!==1)return null;if(LR(this.fileName)!==t.readInt(4))return null;return Tf.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Pv(e.value);if(t.readInt(1)!==1)return null;if(LR(this.fileComment)!==t.readInt(4))return null;return Tf.utf8decode(t.readData(e.length-5))}return null}};WR.exports=BR});var HR=U(function(k_e,$R){var iJ=Fv(),ar=Ne(),un=Sv(),oJ=jR(),sJ=rr();function qR(e){this.files=[],this.loadOptions=e}qR.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+ar.pretty(t)+", expected "+ar.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4),i=r===t;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=sJ.uint8array?"uint8array":"array",n=ar.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var e=this.zip64EndOfCentralSize-44,t=0,n,r,i;while(t<e)n=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[n]={id:n,length:r,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(un.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;this.reader.setIndex(this.centralDirOffset);while(this.reader.readAndCheckSignature(un.CENTRAL_FILE_HEADER))e=new oJ({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length){if(this.centralDirRecords!==0&&this.files.length===0)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)}},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(un.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,un.LOCAL_FILE_HEADER);if(t)throw Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");else throw Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var n=e;if(this.checkSignature(un.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ar.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ar.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ar.MAX_VALUE_16BITS||this.centralDirRecords===ar.MAX_VALUE_16BITS||this.centralDirSize===ar.MAX_VALUE_32BITS||this.centralDirOffset===ar.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(un.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(un.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,un.ZIP64_CENTRAL_DIRECTORY_END)){if(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(un.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory")}this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(un.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;if(this.zip64)r+=20,r+=12+this.zip64EndOfCentralSize;var i=n-r;if(i>0)if(this.isSignature(n,un.CENTRAL_FILE_HEADER));else this.reader.zero=i;else if(i<0)throw Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=iJ(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};$R.exports=qR});var VR=U(function(U_e,zR){var Ov=Ne(),Af=Jo(),aJ=ts(),cJ=HR(),uJ=Ib(),GR=rc();function lJ(e){return new Af.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new uJ);r.on("error",function(i){n(i)}).on("end",function(){if(r.streamInfo.crc32!==e.decompressed.crc32)n(Error("Corrupted zip : CRC32 mismatch"));else t()}).resume()})}zR.exports=function(e,t){var n=this;if(t=Ov.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:aJ.utf8decode}),GR.isNode&&GR.isStream(e))return Af.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return Ov.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new cJ(t);return i.load(r),i}).then(function(i){var o=[Af.Promise.resolve(i)],s=i.files;if(t.checkCRC32)for(var a=0;a<s.length;a++)o.push(lJ(s[a]));return Af.Promise.all(o)}).then(function(i){var o=i.shift(),s=o.files;for(var a=0;a<s.length;a++){var c=s[a],u=c.fileNameStr,d=Ov.resolve(c.fileNameStr);if(n.file(d,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders}),!c.dir)n.file(d).unsafeOriginalName=u}if(o.zipComment.length)n.comment=o.zipComment;return n})}});var KR=U(function(R_e,XR){function Qt(){if(!(this instanceof Qt))return new Qt;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new Qt;for(var t in this)if(typeof this[t]!=="function")e[t]=this[t];return e}}Qt.prototype=DR();Qt.prototype.loadAsync=VR();Qt.support=rr();Qt.defaults=Fb();Qt.version="3.10.1";Qt.loadAsync=function(e,t){return new Qt().loadAsync(e,t)};Qt.external=Jo();XR.exports=Qt});var Iv=U(function(mJ){var dJ=IC(),fJ=KR();mJ.openArrayBuffer=pJ;mJ.splitPath=hJ;mJ.joinPath=gJ;function pJ(e){return fJ.loadAsync(e).then(function(t){function n(s){return t.file(s)!==null}function r(s,a){return t.file(s).async("uint8array").then(function(c){if(a==="base64")return dJ.fromByteArray(c);else if(a){var u=new TextDecoder(a);return u.decode(c)}else return c})}function i(s,a){t.file(s,a)}function o(){return t.generateAsync({type:"arraybuffer"})}return{exists:n,read:r,write:i,toArrayBuffer:o}})}function hJ(e){var t=e.lastIndexOf("/");if(t===-1)return{dirname:"",basename:e};else return{dirname:e.substring(0,t),basename:e.substring(t+1)}}function gJ(){var e=Array.prototype.filter.call(arguments,function(n){return n}),t=[];return e.forEach(function(n){if(/^\//.test(n))t=[n];else t.push(n)}),t.join("/")}});var Mv=U(function(wJ){var kf=We();wJ.Element=ms;wJ.element=function(e,t,n){return new ms(e,t,n)};wJ.text=function(e){return{type:"text",value:e}};var ZR=wJ.emptyElement={first:function(){return null},firstOrEmpty:function(){return ZR},attributes:{},children:[]};function ms(e,t,n){this.type="element",this.name=e,this.attributes=t||{},this.children=n||[]}ms.prototype.first=function(e){return kf.find(this.children,function(t){return t.name===e})};ms.prototype.firstOrEmpty=function(e){return this.first(e)||ZR};ms.prototype.getElementsByTagName=function(e){var t=kf.filter(this.children,function(n){return n.name===e});return YR(t)};ms.prototype.text=function(){if(this.children.length===0)return"";else if(this.children.length!==1||this.children[0].type!=="text")throw Error("Not implemented");return this.children[0].value};var xJ={getElementsByTagName:function(e){return YR(kf.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function YR(e){return kf.extend(e,xJ)}});var ys=U(function(AJ){function SJ(e,t,n){if(n===void 0)n=Array.prototype;if(e&&typeof n.find==="function")return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}}function Lv(e,t){if(t===void 0)t=Object;return t&&typeof t.freeze==="function"?t.freeze(e):e}function TJ(e,t){if(e===null||typeof e!=="object")throw TypeError("target is not an object");for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n];return e}var JR=Lv({HTML:"text/html",isHTML:function(e){return e===JR.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),QR=Lv({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===QR.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),Uf=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Nv=new RegExp("[\\-\\.0-9"+Uf.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),CJ=new RegExp("^"+Uf.source+Nv.source+"*(?::"+Uf.source+Nv.source+"*)?$");AJ.assign=TJ;AJ.find=SJ;AJ.freeze=Lv;AJ.MIME_TYPE=JR;AJ.NAMESPACE=QR;AJ.nameStartChar=Uf;AJ.nameChar=Nv;AJ.tagNamePattern=CJ});var Bf=U(function(YJ){var Bv=ys(),{find:In,NAMESPACE:Cc,tagNamePattern:bs}=Bv;function NJ(e){return e!==""}function LJ(e){return e?e.split(/[\t\n\f\r ]+/).filter(NJ):[]}function BJ(e,t){if(!e.hasOwnProperty(t))e[t]=!0;return e}function eF(e){if(!e)return[];var t=LJ(e);return Object.keys(t.reduce(BJ,{}))}function WJ(e){return function(t){return e&&e.indexOf(t)!==-1}}function kc(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}function Nt(e,t){var n=e.prototype;if(!(n instanceof t)){let i=function(){};var r=i;i.prototype=t.prototype,i=new i,kc(n,i),e.prototype=n=i}if(n.constructor!=e){if(typeof e!="function")console.error("unknown Class:"+e);n.constructor=e}}var Lt={},en=Lt.ELEMENT_NODE=1,vs=Lt.ATTRIBUTE_NODE=2,Tc=Lt.TEXT_NODE=3,cF=Lt.CDATA_SECTION_NODE=4,uF=Lt.ENTITY_REFERENCE_NODE=5,jJ=Lt.ENTITY_NODE=6,Wv=Lt.PROCESSING_INSTRUCTION_NODE=7,jv=Lt.COMMENT_NODE=8,lF=Lt.DOCUMENT_NODE=9,dF=Lt.DOCUMENT_TYPE_NODE=10,cr=Lt.DOCUMENT_FRAGMENT_NODE=11,qJ=Lt.NOTATION_NODE=12,bt={},rt={},M_e=bt.INDEX_SIZE_ERR=(rt[1]="Index size error",1),N_e=bt.DOMSTRING_SIZE_ERR=(rt[2]="DOMString size error",2),Mt=bt.HIERARCHY_REQUEST_ERR=(rt[3]="Hierarchy request error",3),L_e=bt.WRONG_DOCUMENT_ERR=(rt[4]="Wrong document",4),tF=bt.INVALID_CHARACTER_ERR=(rt[5]="Invalid character",5),B_e=bt.NO_DATA_ALLOWED_ERR=(rt[6]="No data allowed",6),W_e=bt.NO_MODIFICATION_ALLOWED_ERR=(rt[7]="No modification allowed",7),fF=bt.NOT_FOUND_ERR=(rt[8]="Not found",8),j_e=bt.NOT_SUPPORTED_ERR=(rt[9]="Not supported",9),nF=bt.INUSE_ATTRIBUTE_ERR=(rt[10]="Attribute in use",10),ln=bt.INVALID_STATE_ERR=(rt[11]="Invalid state",11),q_e=bt.SYNTAX_ERR=(rt[12]="Syntax error",12),$_e=bt.INVALID_MODIFICATION_ERR=(rt[13]="Invalid modification",13),H_e=bt.NAMESPACE_ERR=(rt[14]="Invalid namespace",14),G_e=bt.INVALID_ACCESS_ERR=(rt[15]="Invalid access",15);function de(e,t){if(t instanceof Error)var n=t;else if(n=this,Error.call(this,rt[e]),this.message=rt[e],Error.captureStackTrace)Error.captureStackTrace(this,de);if(n.code=e,t)this.message=this.message+": "+t;return n}de.prototype=Error.prototype;kc(bt,de);function ur(){}ur.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,n){var r=!!n&&!!n.requireWellFormed;for(var i=[],o=0;o<this.length;o++)Kv(this[o],i,e,t,null,r);return i.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function xs(e,t){this._node=e,this._refresh=t,qv(this)}function qv(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(SF(e,"length",n.length),!e.$$length||n.length<e.$$length){for(var r=n.length;r in e;r++)if(Object.prototype.hasOwnProperty.call(e,r))delete e[r]}kc(n,e),e._inc=t}}xs.prototype.item=function(e){return qv(this),this[e]||null};Nt(xs,ur);function Ff(){this._nameIndex=Object.create(null)}function pF(e,t){var n=e.length;while(n--)if(e[n]===t)return n}function $J(e,t){e._nameIndex[t.nodeName]=t}function hF(e,t){if(e._nameIndex[t.nodeName]===t)delete e._nameIndex[t.nodeName]}function rF(e,t,n,r){if(r)t[pF(t,r)]=n,hF(t,r);else t[t.length++]=n;if($J(t,n),e){n.ownerElement=e;var i=e.ownerDocument;if(i)r&&yF(i,e,r),HJ(i,e,n)}}function iF(e,t,n){var r=pF(t,n);if(r>=0){var i=t.length-1;while(r<i)t[r]=t[++r];if(t.length=i,hF(t,n),e){var o=e.ownerDocument;if(o)yF(o,e,n),n.ownerElement=null}}else throw new de(fF,Error(e.tagName+"@"+n))}Ff.prototype={length:0,item:ur.prototype.item,getNamedItem:function(e){var t=this.length;while(t--){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new de(nF);var n=this._nameIndex[e.nodeName];return rF(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new de(nF);return n=this.getNamedItemNS(e.namespaceURI,e.localName),rF(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return iF(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return iF(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){var n=this.length;while(n--){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}};function gF(){}gF.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new Uc;if(r.implementation=this,r.childNodes=new ur,r.doctype=n||null,n)r.appendChild(n);if(t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new Nf;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}};function xe(){}xe.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Of(this,e,t)},replaceChild:function(e,t){if(Of(this,e,t,vF),t)this.removeChild(t)},removeChild:function(e){return bF(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return EF(this.ownerDocument||this,this,e)},normalize:function(){nt(this,null,{enter:function(e){var t=e.firstChild;while(t){var n=t.nextSibling;if(n!==null&&n.nodeType===Tc&&t.nodeType===Tc){var r=[],i=n;while(i!==null&&i.nodeType===Tc)r.push(i.data),i=i.nextSibling;var o=t.nextSibling;while(o!==i){var s=o.nextSibling;o.parentNode=null,o.previousSibling=null,o.nextSibling=null,o=s}if(t.nextSibling=i,i!==null)i.previousSibling=t;else e.lastChild=t;t.appendData(r.join("")),Mf(e.ownerDocument,e),t=i}else t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){var t=this;while(t){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==vs?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){var t=this;while(t){var n=t._nsMap;if(n){if(Object.prototype.hasOwnProperty.call(n,e))return n[e]}t=t.nodeType==vs?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}};function mF(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||"&#"+e.charCodeAt()+";"}kc(Lt,xe);kc(Lt,xe.prototype);function Pf(e,t){return nt(e,null,{enter:function(n){return t(n)?nt.STOP:!0}})===nt.STOP}function nt(e,t,n){var r=[{node:e,context:t,phase:nt.ENTER}];while(r.length>0){var i=r.pop();if(i.phase===nt.ENTER){var o=n.enter(i.node,i.context);if(o===nt.STOP)return nt.STOP;if(r.push({node:i.node,context:o,phase:nt.EXIT}),o===null||o===void 0)continue;var s=i.node.lastChild;while(s)r.push({node:s,context:o,phase:nt.ENTER}),s=s.previousSibling}else if(n.exit)n.exit(i.node,i.context)}}nt.STOP=Symbol("walkDOM.STOP");nt.ENTER=0;nt.EXIT=1;function Uc(){this.ownerDocument=this}function HJ(e,t,n){e&&e._inc++;var r=n.namespaceURI;if(r===Cc.XMLNS)t._nsMap[n.prefix?n.localName:""]=n.value}function yF(e,t,n,r){e&&e._inc++;var i=n.namespaceURI;if(i===Cc.XMLNS)delete t._nsMap[n.prefix?n.localName:""]}function Mf(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{var i=t.firstChild,o=0;while(i)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function bF(e,t){var{previousSibling:n,nextSibling:r}=t;if(n)n.nextSibling=r;else e.firstChild=r;if(r)r.previousSibling=n;else e.lastChild=n;return t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Mf(e.ownerDocument,e),t}function GJ(e){return e&&(e.nodeType===xe.DOCUMENT_NODE||e.nodeType===xe.DOCUMENT_FRAGMENT_NODE||e.nodeType===xe.ELEMENT_NODE)}function zJ(e){return e&&(Mn(e)||$v(e)||lr(e)||e.nodeType===xe.DOCUMENT_FRAGMENT_NODE||e.nodeType===xe.COMMENT_NODE||e.nodeType===xe.PROCESSING_INSTRUCTION_NODE)}function lr(e){return e&&e.nodeType===xe.DOCUMENT_TYPE_NODE}function Mn(e){return e&&e.nodeType===xe.ELEMENT_NODE}function $v(e){return e&&e.nodeType===xe.TEXT_NODE}function oF(e,t){var n=e.childNodes||[];if(In(n,Mn)||lr(t))return!1;var r=In(n,lr);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function sF(e,t){var n=e.childNodes||[];function r(o){return Mn(o)&&o!==t}if(In(n,r))return!1;var i=In(n,lr);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function VJ(e,t,n){if(!GJ(e))throw new de(Mt,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new de(fF,"child not in parent");if(!zJ(t)||lr(t)&&e.nodeType!==xe.DOCUMENT_NODE)throw new de(Mt,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function XJ(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===xe.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Mn);if(o.length>1||In(i,$v))throw new de(Mt,"More than one element or text in fragment");if(o.length===1&&!oF(e,n))throw new de(Mt,"Element in fragment can not be inserted before doctype")}if(Mn(t)){if(!oF(e,n))throw new de(Mt,"Only one element can be added and only after doctype")}if(lr(t)){if(In(r,lr))throw new de(Mt,"Only one doctype is allowed");var s=In(r,Mn);if(n&&r.indexOf(s)<r.indexOf(n))throw new de(Mt,"Doctype can only be inserted before an element");if(!n&&s)throw new de(Mt,"Doctype can not be appended since element is present")}}function vF(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===xe.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Mn);if(o.length>1||In(i,$v))throw new de(Mt,"More than one element or text in fragment");if(o.length===1&&!sF(e,n))throw new de(Mt,"Element in fragment can not be inserted before doctype")}if(Mn(t)){if(!sF(e,n))throw new de(Mt,"Only one element can be added and only after doctype")}if(lr(t)){let c=function(u){return lr(u)&&u!==n};var a=c;if(In(r,c))throw new de(Mt,"Only one doctype is allowed");var s=In(r,Mn);if(n&&r.indexOf(s)<r.indexOf(n))throw new de(Mt,"Doctype can only be inserted before an element")}}function Of(e,t,n,r){if(VJ(e,t,n),e.nodeType===xe.DOCUMENT_NODE)(r||XJ)(e,t,n);var i=t.parentNode;if(i)i.removeChild(t);if(t.nodeType===cr){var o=t.firstChild;if(o==null)return t;var s=t.lastChild}else o=s=t;var a=n?n.previousSibling:e.lastChild;if(o.previousSibling=a,s.nextSibling=n,a)a.nextSibling=o;else e.firstChild=o;if(n==null)e.lastChild=s;else n.previousSibling=s;do{o.parentNode=e;var c=e.ownerDocument||e;Ac(o,c)}while(o!==s&&(o=o.nextSibling));if(Mf(e.ownerDocument||e,e),t.nodeType==cr)t.firstChild=t.lastChild=null;return t}function Ac(e,t){if(e.ownerDocument===t)return;if(e.ownerDocument=t,e.nodeType===en&&e.attributes)for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);if(r)r.ownerDocument=t}var i=e.firstChild;while(i)Ac(i,t),i=i.nextSibling}function KJ(e,t){if(t.parentNode)t.parentNode.removeChild(t);if(t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling)t.previousSibling.nextSibling=t;else e.firstChild=t;e.lastChild=t,Mf(e.ownerDocument,e,t);var n=e.ownerDocument||e;return Ac(t,n),t}Uc.prototype={nodeName:"#document",nodeType:lF,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==cr){var n=e.firstChild;while(n){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}if(Of(this,e,t),Ac(e,this),this.documentElement===null&&e.nodeType===en)this.documentElement=e;return e},removeChild:function(e){if(this.documentElement==e)this.documentElement=null;return bF(this,e)},replaceChild:function(e,t){if(Of(this,e,t,vF),Ac(e,this),t)this.removeChild(t);if(Mn(e))this.documentElement=e},importNode:function(e,t){return ZJ(this,e,t)},getElementById:function(e){var t=null;return Pf(this.documentElement,function(n){if(n.nodeType==en){if(n.getAttribute("id")==e)return t=n,!0}}),t},getElementsByClassName:function(e){var t=eF(e);return new xs(this,function(n){var r=[];if(t.length>0)Pf(n.documentElement,function(i){if(i!==n&&i.nodeType===en){var o=i.getAttribute("class");if(o){var s=e===o;if(!s){var a=eF(o);s=t.every(WJ(a))}if(s)r.push(i)}}});return r})},createElement:function(e){var t=new Yi;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new ur;var n=t.attributes=new Ff;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new Lf;return e.ownerDocument=this,e.childNodes=new ur,e},createTextNode:function(e){var t=new Hv;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new Gv;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf("]]>")!==-1)throw new de(tF,'data contains "]]>"');var t=new zv;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Xv;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new If;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!bs.test(e))throw new de(tF,'not a valid xml name "'+e+'"');var t=new Vv;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new Yi,r=t.split(":"),i=n.attributes=new Ff;if(n.childNodes=new ur,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2)n.prefix=r[0],n.localName=r[1];else n.localName=t;return i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new If,r=t.split(":");if(n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2)n.prefix=r[0],n.localName=r[1];else n.localName=t;return n}};Nt(Uc,xe);function Yi(){this._nsMap={}}Yi.prototype={nodeType:en,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){if(e.nodeType===cr)return this.insertBefore(e,null);else return KJ(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new xs(this,function(t){var n=[];return Pf(t,function(r){if(r!==t&&r.nodeType==en&&(e==="*"||r.tagName==e))n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new xs(this,function(n){var r=[];return Pf(n,function(i){if(i!==n&&i.nodeType===en&&(e==="*"||i.namespaceURI===e)&&(t==="*"||i.localName==t))r.push(i)}),r})}};Uc.prototype.getElementsByTagName=Yi.prototype.getElementsByTagName;Uc.prototype.getElementsByTagNameNS=Yi.prototype.getElementsByTagNameNS;Nt(Yi,xe);function If(){}If.prototype.nodeType=vs;Nt(If,xe);function Rc(){}Rc.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(rt[Mt])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}};Nt(Rc,xe);function Hv(){}Hv.prototype={nodeName:"#text",nodeType:Tc,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);if(this.parentNode)this.parentNode.insertBefore(r,this.nextSibling);return r}};Nt(Hv,Rc);function Gv(){}Gv.prototype={nodeName:"#comment",nodeType:jv};Nt(Gv,Rc);function zv(){}zv.prototype={nodeName:"#cdata-section",nodeType:cF};Nt(zv,Rc);function Nf(){}Nf.prototype.nodeType=dF;Nt(Nf,xe);function xF(){}xF.prototype.nodeType=qJ;Nt(xF,xe);function wF(){}wF.prototype.nodeType=jJ;Nt(wF,xe);function Vv(){}Vv.prototype.nodeType=uF;Nt(Vv,xe);function Lf(){}Lf.prototype.nodeName="#document-fragment";Lf.prototype.nodeType=cr;Nt(Lf,xe);function Xv(){}Xv.prototype.nodeType=Wv;Nt(Xv,xe);function _F(){}_F.prototype.serializeToString=function(e,t,n,r){return DF.call(e,t,n,r)};xe.prototype.toString=DF;function DF(e,t,n){var r=!!n&&!!n.requireWellFormed,i=[],o=this.nodeType==9&&this.documentElement||this,{prefix:s,namespaceURI:a}=o;if(a&&s==null){var s=o.lookupPrefix(a);if(s==null)var c=[{namespace:a,prefix:null}]}return Kv(this,i,e,t,c,r),i.join("")}function aF(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if(r==="xml"&&i===Cc.XML||i===Cc.XMLNS)return!1;var o=n.length;while(o--){var s=n[o];if(s.prefix===r)return s.namespace!==i}return!0}function Rf(e,t,n,r){if(r&&!bs.test(t))throw new de(ln,'The attribute name "'+t+'" is not a valid XML QName');e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,mF),'"')}function Kv(e,t,n,r,i,o){if(!i)i=[];nt(e,{ns:i,isHTML:n},{enter:function(s,a){var{ns:c,isHTML:u}=a;if(r)if(s=r(s),s){if(typeof s=="string")return t.push(s),null}else return null;switch(s.nodeType){case en:var d=s.attributes,f=d.length,p=s.tagName;u=Cc.isHTML(s.namespaceURI)||u;var h=p;if(!u&&!s.prefix&&s.namespaceURI){var g;for(var b=0;b<d.length;b++)if(d.item(b).name==="xmlns"){g=d.item(b).value;break}if(!g)for(var v=c.length-1;v>=0;v--){var y=c[v];if(y.prefix===""&&y.namespace===s.namespaceURI){g=y.namespace;break}}if(g!==s.namespaceURI)for(var v=c.length-1;v>=0;v--){var y=c[v];if(y.namespace===s.namespaceURI){if(y.prefix)h=y.prefix+":"+p;break}}}if(o&&!bs.test(h))throw new de(ln,'The element name "'+h+'" is not a valid XML QName');t.push("<",h);var x=c.slice();for(var m=0;m<f;m++){var w=d.item(m);if(w.prefix=="xmlns")x.push({prefix:w.localName,namespace:w.value});else if(w.nodeName=="xmlns")x.push({prefix:"",namespace:w.value})}for(var m=0;m<f;m++){var w=d.item(m);if(aF(w,u,x)){var D=w.prefix||"",T=w.namespaceURI;Rf(t,D?"xmlns:"+D:"xmlns",T,o),x.push({prefix:D,namespace:T})}var _=r?r(w):w;if(_)if(typeof _==="string")t.push(_);else Rf(t,_.name,_.value,o)}if(p===h&&aF(s,u,x)){var A=s.prefix||"",T=s.namespaceURI;Rf(t,A?"xmlns:"+A:"xmlns",T,o),x.push({prefix:A,namespace:T})}var S=s.firstChild;if(S||u&&!/^(?:meta|link|img|br|hr|input)$/i.test(p)){if(t.push(">"),u&&/^script$/i.test(p)){while(S){if(S.data)t.push(S.data);else Kv(S,t,u,r,x.slice(),o);S=S.nextSibling}return t.push("</",p,">"),null}return{ns:x,isHTML:u,tag:h}}else return t.push("/>"),null;case lF:case cr:return{ns:c.slice(),isHTML:u,tag:null};case vs:return Rf(t,s.name,s.value,o),null;case Tc:return t.push(s.data.replace(/[<&>]/g,mF)),null;case cF:if(o&&s.data.indexOf("]]>")!==-1)throw new de(ln,'The CDATASection data contains "]]>"');return t.push("<![CDATA[",s.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case jv:if(o&&s.data.indexOf("-->")!==-1)throw new de(ln,'The comment node data contains "-->"');return t.push("<!--",s.data,"-->"),null;case dF:if(o){if(!bs.test(s.name))throw new de(ln,'The doctype name "'+s.name+'" is not a valid XML Name');if(s.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(s.publicId))throw new de(ln,"DocumentType publicId is not a valid PubidLiteral");if(s.systemId&&!/^("[^"]*"|'[^']*')$/.test(s.systemId))throw new de(ln,"DocumentType systemId is not a valid SystemLiteral");if(s.internalSubset&&s.internalSubset.indexOf("]>")!==-1)throw new de(ln,'DocumentType internalSubset contains "]>"')}var M=s.publicId,P=s.systemId;if(t.push("<!DOCTYPE ",s.name),M){if(t.push(" PUBLIC ",M),P&&P!=".")t.push(" ",P);t.push(">")}else if(P&&P!=".")t.push(" SYSTEM ",P,">");else{var C=s.internalSubset;if(C)t.push(" [",C,"]");t.push(">")}return null;case Wv:if(o){if(!bs.test(s.target)||s.target.indexOf(":")!==-1||s.target.toLowerCase()==="xml")throw new de(ln,'The processing instruction target "'+s.target+'" is not a valid XML NCName or is reserved');if(s.data.indexOf("?>")!==-1)throw new de(ln,'The ProcessingInstruction data contains "?>"')}return t.push("<?",s.target," ",s.data,"?>"),null;case uF:if(o&&!bs.test(s.nodeName))throw new de(ln,'The entity reference name "'+s.nodeName+'" is not a valid XML Name');return t.push("&",s.nodeName,";"),null;default:return t.push("??",s.nodeName),null}},exit:function(s,a){if(a&&a.tag)t.push("</",a.tag,">")}})}function ZJ(e,t,n){var r;return nt(t,null,{enter:function(i,o){var s=i.cloneNode(!1);if(s.ownerDocument=e,s.parentNode=null,o===null)r=s;else o.appendChild(s);var a=i.nodeType===vs||n;return a?s:null}}),r}function EF(e,t,n){var r;return nt(t,null,{enter:function(i,o){var s=new i.constructor;for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)){var c=i[a];if(typeof c!="object"){if(c!=s[a])s[a]=c}}if(i.childNodes)s.childNodes=new ur;s.ownerDocument=e;var u=n;switch(s.nodeType){case en:var d=i.attributes,f=s.attributes=new Ff,p=d.length;f._ownerElement=s;for(var h=0;h<p;h++)s.setAttributeNode(EF(e,d.item(h),!0));break;case vs:u=!0}if(o!==null)o.appendChild(s);else r=s;return u?s:null}}),r}function SF(e,t,n){e[t]=n}try{if(Object.defineProperty)Object.defineProperty(xs.prototype,"length",{get:function(){return qv(this),this.$$length}}),Object.defineProperty(xe.prototype,"textContent",{get:function(){if(this.nodeType===en||this.nodeType===cr){var e=[];return nt(this,null,{enter:function(t){if(t.nodeType===en||t.nodeType===cr)return!0;if(t.nodeType===Wv||t.nodeType===jv)return null;e.push(t.nodeValue)}}),e.join("")}return this.nodeValue},set:function(e){switch(this.nodeType){case en:case cr:while(this.firstChild)this.removeChild(this.firstChild);if(e||String(e))this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),SF=function(e,t,n){e["$$"+t]=n}}catch(e){}YJ.DocumentType=Nf;YJ.DOMException=de;YJ.DOMImplementation=gF;YJ.Element=Yi;YJ.Node=xe;YJ.NodeList=ur;YJ.walkDOM=nt;YJ.XMLSerializer=_F});var AF=U(function(sQ){var TF=ys().freeze;sQ.XML_ENTITIES=TF({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});sQ.HTML_ENTITIES=TF({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
200
200
|
`,nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"",zwnj:""});sQ.entityMap=sQ.HTML_ENTITIES});var PF=U(function(yQ){var Oc=ys().NAMESPACE,Zv=ys().tagNamePattern,ws=0,ti=1,_s=2,Fc=3,Ds=4,Es=5,Pc=6,Wf=7;function Ss(e,t){if(this.message=e,this.locator=t,Error.captureStackTrace)Error.captureStackTrace(this,Ss)}Ss.prototype=Error();Ss.prototype.name=Ss.name;function RF(){}RF.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),pQ(t,t={}),uQ(e,t,n,r,this.errorHandler),r.endDocument()}};function uQ(e,t,n,r,i){function o(E){if(E>65535){E-=65536;var R=55296+(E>>10),k=56320+(E&1023);return String.fromCharCode(R,k)}else return String.fromCharCode(E)}function s(E){var R=E.slice(1,-1);if(Object.hasOwnProperty.call(n,R))return n[R];else if(R.charAt(0)==="#")return o(parseInt(R.substr(1).replace("x","0x")));else return i.error("entity not found:"+E),E}function a(E){if(E>b){var R=e.substring(b,E).replace(/&#?\w+;/g,s);p&&c(b),r.characters(R,0,E-b),b=E}}function c(E,R){while(E>=d&&(R=f.exec(e)))u=R.index,d=u+R[0].length,p.lineNumber++;p.columnNumber=E-u+1}var u=0,d=0,f=/.*(?:\r\n?|\n)|.*$/g,p=r.locator,h=[{currentNSMap:t}],g={},b=0;while(!0){try{var v=e.indexOf("<",b);if(v<0){if(!e.substr(b).match(/^\s*$/)){var y=r.doc,x=y.createTextNode(e.substr(b));y.appendChild(x),r.currentElement=x}return}if(v>b)a(v);switch(e.charAt(v+1)){case"/":var P=e.indexOf(">",v+3),m=e.substring(v+2,P).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/,"$1"),w=h.pop();if(P<0)m=e.substring(v+2).replace(/[\s<].*/,""),i.error("end tag name: "+m+" is not complete:"+w.tagName),P=v+1+m.length;else if(m.match(/\s</))m=m.replace(/[\s<].*/,""),i.error("end tag name: "+m+" maybe not complete"),P=v+1+m.length;else if(/[ \t\n\r]/.test(m)&&Zv.test(m.split(/[ \t\n\r]/)[0]))i.error('end tag name is followed by whitespace and trailing content: "'+m+'"');var D=w.localNSMap,T=w.tagName==m,_=T||w.tagName&&w.tagName.toLowerCase()==m.toLowerCase();if(_){if(r.endElement(w.uri,w.localName,m),D){for(var A in D)if(Object.prototype.hasOwnProperty.call(D,A))r.endPrefixMapping(A)}if(!T)i.fatalError("end tag name: "+m+" is not match the current start tagName:"+w.tagName)}else h.push(w);P++;break;case"?":p&&c(v),P=gQ(e,v,r);break;case"!":p&&c(v),P=hQ(e,v,r,i);break;default:p&&c(v);var S=new FF,M=h[h.length-1].currentNSMap,P=lQ(e,v,S,M,s,i),C=S.length;if(!S.closed&&fQ(e,P,S.tagName,g)){if(S.closed=!0,!n.nbsp)i.warning("unclosed xml attribute")}if(p&&C){var L=kF(p,{});for(var W=0;W<C;W++){var H=S[W];c(H.offset),H.locator=kF(p,{})}if(r.locator=L,UF(S,r,M))h.push(S);r.locator=p}else if(UF(S,r,M))h.push(S);if(Oc.isHTML(S.uri)&&!S.closed)P=dQ(e,P,S.tagName,s,r);else P++}}catch(E){if(E instanceof Ss)throw E;i.error("element parse error: "+E),P=-1}if(P>b)b=P;else a(Math.max(v,b)+1)}}function kF(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function lQ(e,t,n,r,i,o){function s(h,g,b){if(n.attributeNames.hasOwnProperty(h))o.fatalError("Attribute "+h+" redefined");n.addValue(h,g.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),b)}var a,c,u=++t,d=ws;while(!0){var f=e.charAt(u);if(d===ws&&f==="<")throw Error("unexpected < in tag name: "+e.slice(t,u));switch(f){case"=":if(d===ti)a=e.slice(t,u),d=Fc;else if(d===_s)d=Fc;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(d===Fc||d===ti){if(d===ti)o.warning('attribute value must after "="'),a=e.slice(t,u);if(t=u+1,u=e.indexOf(f,t),u>0)c=e.slice(t,u),s(a,c,t-1),d=Es;else throw Error("attribute value no end '"+f+"' match")}else if(d==Ds)c=e.slice(t,u),s(a,c,t),o.warning('attribute "'+a+'" missed start quot('+f+")!!"),t=u+1,d=Es;else throw Error('attribute value must after "="');break;case"/":switch(d){case ws:n.setTagName(e.slice(t,u));case Es:case Pc:case Wf:d=Wf,n.closed=!0;case Ds:case ti:break;case _s:n.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":if(o.error("unexpected end of input"),d==ws)n.setTagName(e.slice(t,u));return u;case">":switch(d){case ws:n.setTagName(e.slice(t,u));case Es:case Pc:case Wf:break;case Ds:case ti:if(c=e.slice(t,u),c.slice(-1)==="/")n.closed=!0,c=c.slice(0,-1);case _s:if(d===_s)c=a;if(d==Ds)o.warning('attribute "'+c+'" missed quot(")!'),s(a,c,t);else{if(!Oc.isHTML(r[""])||!c.match(/^(?:disabled|checked|selected)$/i))o.warning('attribute "'+c+'" missed value!! "'+c+'" instead!!');s(c,c,t)}break;case Fc:throw Error("attribute value missed!!")}return u;case"":f=" ";default:if(f<=" ")switch(d){case ws:n.setTagName(e.slice(t,u)),d=Pc;break;case ti:a=e.slice(t,u),d=_s;break;case Ds:var c=e.slice(t,u);o.warning('attribute "'+c+'" missed quot(")!!'),s(a,c,t);case Es:d=Pc;break}else switch(d){case _s:var p=n.tagName;if(!Oc.isHTML(r[""])||!a.match(/^(?:disabled|checked|selected)$/i))o.warning('attribute "'+a+'" missed value!! "'+a+'" instead2!!');s(a,a,t),t=u,d=ti;break;case Es:o.warning('attribute space is required"'+a+'"!!');case Pc:d=ti,t=u;break;case Fc:d=Ds,t=u;break;case Wf:throw Error("elements closed character '/' and '>' must be connected to")}}u++}}function UF(e,t,n){var r=e.tagName,i=null,f=e.length;while(f--){var o=e[f],s=o.qName,a=o.value,p=s.indexOf(":");if(p>0)var c=o.prefix=s.slice(0,p),u=s.slice(p+1),d=c==="xmlns"&&u;else u=s,c=null,d=s==="xmlns"&&"";if(o.localName=u,d!==!1){if(i==null)i={},n=Object.create(n);n[d]=i[d]=a,o.uri=Oc.XMLNS,t.startPrefixMapping(d,a)}}var f=e.length;while(f--){o=e[f];var c=o.prefix;if(c){if(c==="xml")o.uri=Oc.XML;if(c!=="xmlns")o.uri=n[c||""]}}var p=r.indexOf(":");if(p>0)c=e.prefix=r.slice(0,p),u=e.localName=r.slice(p+1);else c=null,u=e.localName=r;var h=e.uri=n[c||""];if(t.startElement(h,u,r,e),e.closed){if(t.endElement(h,u,r),i){for(c in i)if(Object.prototype.hasOwnProperty.call(i,c))t.endPrefixMapping(c)}}else return e.currentNSMap=n,e.localNSMap=i,!0}function dQ(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf("</"+n+">",t),s=e.substring(t+1,o);if(/[&<]/.test(s)){if(/^script$/i.test(n))return i.characters(s,0,s.length),o;return s=s.replace(/&#?\w+;/g,r),i.characters(s,0,s.length),o}}return t+1}function fQ(e,t,n,r){var i=r[n];if(i==null){if(i=e.lastIndexOf("</"+n+">"),i<t)i=e.lastIndexOf("</"+n);r[n]=i}return i<t}function pQ(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}function hQ(e,t,n,r){var i=e.charAt(t+2);switch(i){case"-":if(e.charAt(t+3)==="-"){var o=e.indexOf("-->",t+4);if(o>t)return n.comment(e,t+4,o-t-4),o+3;else return r.error("Unclosed comment"),-1}else return-1;default:if(e.substr(t+3,6)=="CDATA["){var o=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,o-t-9),n.endCDATA(),o+3}var s=mQ(e,t),a=s.length;if(a>1&&/!doctype/i.test(s[0][0])){var c=s[1][0],u=!1,d=!1;if(a>3){if(/^public$/i.test(s[2][0]))u=s[3][0],d=a>4&&s[4][0];else if(/^system$/i.test(s[2][0]))d=s[3][0]}var f=s[a-1];return n.startDTD(c,u,d),n.endDTD(),f.index+f[0].length}}return-1}function gQ(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)$/);if(i){var o=i[0].length;return n.processingInstruction(i[1],i[2]),r+2}else return-1}return-1}function FF(){this.attributeNames={}}FF.prototype={setTagName:function(e){if(!Zv.test(e))throw Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!Zv.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function mQ(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);while(n=i.exec(e))if(r.push(n),n[1])return r}yQ.XMLReader=RF;yQ.ParseError=Ss});var WF=U(function(TQ){var xQ=ys(),wQ=Bf(),OF=AF(),NF=PF(),_Q=wQ.DOMImplementation,IF=xQ.NAMESPACE,{ParseError:DQ,XMLReader:EQ}=NF;function LF(e){return e.replace(/\r[\n\u0085]/g,`
|
|
201
201
|
`).replace(/[\r\u0085\u2028]/g,`
|
|
202
202
|
`)}function BF(e){this.options=e||{locator:{}}}BF.prototype.parseFromString=function(e,t){var n=this.options,r=new EQ,i=n.domBuilder||new Ic,{errorHandler:o,locator:s}=n,a=n.xmlns||{},c=/\/x?html?$/.test(t),u=c?OF.HTML_ENTITIES:OF.XML_ENTITIES;if(s)i.setDocumentLocator(s);if(r.errorHandler=SQ(o,i,s),r.domBuilder=n.domBuilder||i,c)a[""]=IF.HTML;a.xml=a.xml||IF.XML;var d=n.normalizeLineEndings||LF;if(e&&typeof e==="string")r.parse(d(e),a,u);else r.errorHandler.error("invalid doc source");return i.doc};function SQ(e,t,n){if(!e){if(t instanceof Ic)return t;e=t}var r={},i=e instanceof Function;n=n||{};function o(s){var a=e[s];if(!a&&i)a=e.length==2?function(c){e(s,c)}:e;r[s]=a&&function(c){a("[xmldom "+s+"]\t"+c+Yv(n))}||function(){}}return o("warning"),o("error"),o("fatalError"),r}function Ic(){this.cdata=!1}function Ts(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}Ic.prototype={startDocument:function(){if(this.doc=new _Q().createDocument(null,null,null),this.locator)this.doc.documentURI=this.locator.systemId},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),s=r.length;jf(this,o),this.currentElement=o,this.locator&&Ts(this.locator,o);for(var a=0;a<s;a++){var e=r.getURI(a),c=r.getValue(a),n=r.getQName(a),u=i.createAttributeNS(e,n);this.locator&&Ts(r.getLocator(a),u),u.value=u.nodeValue=c,o.setAttributeNode(u)}},endElement:function(e,t,n){var r=this.currentElement,i=r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&Ts(this.locator,n),jf(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=MF.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);if(this.currentElement)this.currentElement.appendChild(r);else if(/^\s*$/.test(e))this.doc.appendChild(r);this.locator&&Ts(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){if(this.locator=e)e.lineNumber=0},comment:function(e,t,n){e=MF.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&Ts(this.locator,r),jf(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&Ts(this.locator,i),jf(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,Yv(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,Yv(this.locator))},fatalError:function(e){throw new DQ(e,this.locator)}};function Yv(e){if(e)return`
|
|
203
203
|
@`+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function MF(e,t,n){if(typeof e=="string")return e.substr(t,n);else{if(e.length>=t+n||t)return new java.lang.String(e,t,n)+"";return e}}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){Ic.prototype[e]=function(){return null}});function jf(e,t){if(!e.currentElement)e.doc.appendChild(t);else e.currentElement.appendChild(t)}TQ.__DOMHandler=Ic;TQ.normalizeLineEndings=LF;TQ.DOMParser=BF});var qF=U(function(UQ){var jF=Bf();UQ.DOMImplementation=jF.DOMImplementation;UQ.XMLSerializer=jF.XMLSerializer;UQ.DOMParser=WF().DOMParser});var $F=U(function(NQ){var OQ=qF(),IQ=Bf();function MQ(e){var t=null,n=new OQ.DOMParser({errorHandler:function(i,o){t={level:i,message:o}}}),r=n.parseFromString(e);if(t===null)return r;else throw Error(t.level+": "+t.message)}NQ.parseFromString=MQ;NQ.Node=IQ.Node});var XF=U(function(qQ){var Jv=Jn(),HF=We(),zF=$F(),VF=Mv(),WQ=VF.Element;qQ.readString=jQ;var GF=zF.Node;function jQ(e,t){t=t||{};try{var n=zF.parseFromString(e,"text/xml")}catch(s){return Jv.reject(s)}if(n.documentElement.tagName==="parsererror")return Jv.resolve(Error(n.documentElement.textContent));function r(s){switch(s.nodeType){case GF.ELEMENT_NODE:return i(s);case GF.TEXT_NODE:return VF.text(s.nodeValue)}}function i(s){var a=o(s),c=[];HF.forEach(s.childNodes,function(d){var f=r(d);if(f)c.push(f)});var u=Object.create(null);return HF.forEach(s.attributes,function(d){u[o(d)]=d.value}),new WQ(a,u,c)}function o(s){if(s.namespaceURI){var a=t[s.namespaceURI],c;if(a)c=a+":";else c="{"+s.namespaceURI+"}";return c+s.localName}else return s.localName}return Jv.resolve(r(n.documentElement))}});var dr=U(function(KF,ni){(function(){var e,t,n,r,i,o,s,a=[].slice,c={}.hasOwnProperty;e=function(){var u,d,f,p,h,g;if(g=arguments[0],h=2<=arguments.length?a.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(u=0,f=h.length;u<f;u++)if(p=h[u],p!=null)for(d in p){if(!c.call(p,d))continue;g[d]=p[d]}return g},i=function(u){return!!u&&Object.prototype.toString.call(u)==="[object Function]"},o=function(u){var d;return!!u&&((d=typeof u)==="function"||d==="object")},n=function(u){if(i(Array.isArray))return Array.isArray(u);else return Object.prototype.toString.call(u)==="[object Array]"},r=function(u){var d;if(n(u))return!u.length;else{for(d in u){if(!c.call(u,d))continue;return!1}return!0}},s=function(u){var d,f;return o(u)&&(f=Object.getPrototypeOf(u))&&(d=f.constructor)&&typeof d==="function"&&d instanceof d&&Function.prototype.toString.call(d)===Function.prototype.toString.call(Object)},t=function(u){if(i(u.valueOf))return u.valueOf();else return u},KF.assign=e,KF.isFunction=i,KF.isObject=o,KF.isArray=n,KF.isEmpty=r,KF.isPlainObject=s,KF.getValue=t}).call(KF)});var Qv=U(function(ZF,YF){(function(){var e;YF.exports=e=function(){function t(n,r,i){if(this.options=n.options,this.stringify=n.stringify,this.parent=n,r==null)throw Error("Missing attribute name. "+this.debugInfo(r));if(i==null)throw Error("Missing attribute value. "+this.debugInfo(r));this.name=this.stringify.attName(r),this.value=this.stringify.attValue(i)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(n){return this.options.writer.set(n).attribute(this)},t.prototype.debugInfo=function(n){if(n=n||this.name,n==null)return"parent: <"+this.parent.name+">";else return"attribute: {"+n+"}, parent: <"+this.parent.name+">"},t}()}).call(ZF)});var Mc=U(function(JF,QF){(function(){var e,t,n,r,i,o,s,a=function(u,d){for(var f in d)if(c.call(d,f))u[f]=d[f];function p(){this.constructor=u}return p.prototype=d.prototype,u.prototype=new p,u.__super__=d.prototype,u},c={}.hasOwnProperty;s=dr(),o=s.isObject,i=s.isFunction,r=s.getValue,n=Ct(),e=Qv(),QF.exports=t=function(u){a(d,u);function d(f,p,h){if(d.__super__.constructor.call(this,f),p==null)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.eleName(p),this.attributes={},h!=null)this.attribute(h);if(f.isDocument)this.isRoot=!0,this.documentObject=f,f.rootObject=this}return d.prototype.clone=function(){var f,p,h,g;if(h=Object.create(this),h.isRoot)h.documentObject=null;h.attributes={},g=this.attributes;for(p in g){if(!c.call(g,p))continue;f=g[p],h.attributes[p]=f.clone()}return h.children=[],this.children.forEach(function(b){var v=b.clone();return v.parent=h,h.children.push(v)}),h},d.prototype.attribute=function(f,p){var h,g;if(f!=null)f=r(f);if(o(f))for(h in f){if(!c.call(f,h))continue;g=f[h],this.attribute(h,g)}else{if(i(p))p=p.apply();if(!this.options.skipNullAttributes||p!=null)this.attributes[f]=new e(this,f,p)}return this},d.prototype.removeAttribute=function(f){var p,h,g;if(f==null)throw Error("Missing attribute name. "+this.debugInfo());if(f=r(f),Array.isArray(f))for(h=0,g=f.length;h<g;h++)p=f[h],delete this.attributes[p];else delete this.attributes[f];return this},d.prototype.toString=function(f){return this.options.writer.set(f).element(this)},d.prototype.att=function(f,p){return this.attribute(f,p)},d.prototype.a=function(f,p){return this.attribute(f,p)},d}(n)}).call(JF)});var Nc=U(function(eP,tP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;t=Ct(),tP.exports=e=function(i){n(o,i);function o(s,a){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(a)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.set(s).cdata(this)},o}(t)}).call(eP)});var Lc=U(function(nP,rP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;t=Ct(),rP.exports=e=function(i){n(o,i);function o(s,a){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(a)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.set(s).comment(this)},o}(t)}).call(nP)});var Bc=U(function(iP,oP){(function(){var e,t,n,r=function(o,s){for(var a in s)if(i.call(s,a))o[a]=s[a];function c(){this.constructor=o}return c.prototype=s.prototype,o.prototype=new c,o.__super__=s.prototype,o},i={}.hasOwnProperty;n=dr().isObject,t=Ct(),oP.exports=e=function(o){r(s,o);function s(a,c,u,d){var f;if(s.__super__.constructor.call(this,a),n(c))f=c,c=f.version,u=f.encoding,d=f.standalone;if(!c)c="1.0";if(this.version=this.stringify.xmlVersion(c),u!=null)this.encoding=this.stringify.xmlEncoding(u);if(d!=null)this.standalone=this.stringify.xmlStandalone(d)}return s.prototype.toString=function(a){return this.options.writer.set(a).declaration(this)},s}(t)}).call(iP)});var Wc=U(function(sP,aP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;t=Ct(),aP.exports=e=function(i){n(o,i);function o(s,a,c,u,d,f){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing DTD element name. "+this.debugInfo());if(c==null)throw Error("Missing DTD attribute name. "+this.debugInfo(a));if(!u)throw Error("Missing DTD attribute type. "+this.debugInfo(a));if(!d)throw Error("Missing DTD attribute default. "+this.debugInfo(a));if(d.indexOf("#")!==0)d="#"+d;if(!d.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(f&&!d.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.eleName(a),this.attributeName=this.stringify.attName(c),this.attributeType=this.stringify.dtdAttType(u),this.defaultValue=this.stringify.dtdAttDefault(f),this.defaultValueType=d}return o.prototype.toString=function(s){return this.options.writer.set(s).dtdAttList(this)},o}(t)}).call(sP)});var jc=U(function(cP,uP){(function(){var e,t,n,r=function(o,s){for(var a in s)if(i.call(s,a))o[a]=s[a];function c(){this.constructor=o}return c.prototype=s.prototype,o.prototype=new c,o.__super__=s.prototype,o},i={}.hasOwnProperty;n=dr().isObject,t=Ct(),uP.exports=e=function(o){r(s,o);function s(a,c,u,d){if(s.__super__.constructor.call(this,a),u==null)throw Error("Missing DTD entity name. "+this.debugInfo(u));if(d==null)throw Error("Missing DTD entity value. "+this.debugInfo(u));if(this.pe=!!c,this.name=this.stringify.eleName(u),!n(d))this.value=this.stringify.dtdEntityValue(d);else{if(!d.pubID&&!d.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(u));if(d.pubID&&!d.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(u));if(d.pubID!=null)this.pubID=this.stringify.dtdPubID(d.pubID);if(d.sysID!=null)this.sysID=this.stringify.dtdSysID(d.sysID);if(d.nData!=null)this.nData=this.stringify.dtdNData(d.nData);if(this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(u))}}return s.prototype.toString=function(a){return this.options.writer.set(a).dtdEntity(this)},s}(t)}).call(cP)});var qc=U(function(lP,dP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;t=Ct(),dP.exports=e=function(i){n(o,i);function o(s,a,c){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing DTD element name. "+this.debugInfo());if(!c)c="(#PCDATA)";if(Array.isArray(c))c="("+c.join(",")+")";this.name=this.stringify.eleName(a),this.value=this.stringify.dtdElementValue(c)}return o.prototype.toString=function(s){return this.options.writer.set(s).dtdElement(this)},o}(t)}).call(lP)});var $c=U(function(fP,pP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;t=Ct(),pP.exports=e=function(i){n(o,i);function o(s,a,c){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing DTD notation name. "+this.debugInfo(a));if(!c.pubID&&!c.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));if(this.name=this.stringify.eleName(a),c.pubID!=null)this.pubID=this.stringify.dtdPubID(c.pubID);if(c.sysID!=null)this.sysID=this.stringify.dtdSysID(c.sysID)}return o.prototype.toString=function(s){return this.options.writer.set(s).dtdNotation(this)},o}(t)}).call(fP)});var Hc=U(function(hP,gP){(function(){var e,t,n,r,i,o,s,a=function(u,d){for(var f in d)if(c.call(d,f))u[f]=d[f];function p(){this.constructor=u}return p.prototype=d.prototype,u.prototype=new p,u.__super__=d.prototype,u},c={}.hasOwnProperty;s=dr().isObject,o=Ct(),e=Wc(),n=jc(),t=qc(),r=$c(),gP.exports=i=function(u){a(d,u);function d(f,p,h){var g,b;if(d.__super__.constructor.call(this,f),this.name="!DOCTYPE",this.documentObject=f,s(p))g=p,p=g.pubID,h=g.sysID;if(h==null)b=[p,h],h=b[0],p=b[1];if(p!=null)this.pubID=this.stringify.dtdPubID(p);if(h!=null)this.sysID=this.stringify.dtdSysID(h)}return d.prototype.element=function(f,p){var h=new t(this,f,p);return this.children.push(h),this},d.prototype.attList=function(f,p,h,g,b){var v=new e(this,f,p,h,g,b);return this.children.push(v),this},d.prototype.entity=function(f,p){var h=new n(this,!1,f,p);return this.children.push(h),this},d.prototype.pEntity=function(f,p){var h=new n(this,!0,f,p);return this.children.push(h),this},d.prototype.notation=function(f,p){var h=new r(this,f,p);return this.children.push(h),this},d.prototype.toString=function(f){return this.options.writer.set(f).docType(this)},d.prototype.ele=function(f,p){return this.element(f,p)},d.prototype.att=function(f,p,h,g,b){return this.attList(f,p,h,g,b)},d.prototype.ent=function(f,p){return this.entity(f,p)},d.prototype.pent=function(f,p){return this.pEntity(f,p)},d.prototype.not=function(f,p){return this.notation(f,p)},d.prototype.up=function(){return this.root()||this.documentObject},d}(o)}).call(hP)});var Gc=U(function(mP,yP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=Ct(),yP.exports=t=function(i){n(o,i);function o(s,a){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(a)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.set(s).raw(this)},o}(e)}).call(mP)});var zc=U(function(bP,vP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=Ct(),vP.exports=t=function(i){n(o,i);function o(s,a){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(a)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.set(s).text(this)},o}(e)}).call(bP)});var Vc=U(function(xP,wP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=Ct(),wP.exports=t=function(i){n(o,i);function o(s,a,c){if(o.__super__.constructor.call(this,s),a==null)throw Error("Missing instruction target. "+this.debugInfo());if(this.target=this.stringify.insTarget(a),c)this.value=this.stringify.insValue(c)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.set(s).processingInstruction(this)},o}(e)}).call(xP)});var qf=U(function(_P,DP){(function(){var e,t,n=function(i,o){for(var s in o)if(r.call(o,s))i[s]=o[s];function a(){this.constructor=i}return a.prototype=o.prototype,i.prototype=new a,i.__super__=o.prototype,i},r={}.hasOwnProperty;t=Ct(),DP.exports=e=function(i){n(o,i);function o(s){o.__super__.constructor.call(this,s),this.isDummy=!0}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return""},o}(t)}).call(_P)});var Ct=U(function(EP,SP){(function(){var e,t,n,r,i,o,s,a,c,u,d,f,p,h,g,b={}.hasOwnProperty;g=dr(),h=g.isObject,p=g.isFunction,f=g.isEmpty,d=g.getValue,o=null,e=null,t=null,n=null,r=null,c=null,u=null,a=null,i=null,SP.exports=s=function(){function v(y){if(this.parent=y,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(this.children=[],!o)o=Mc(),e=Nc(),t=Lc(),n=Bc(),r=Hc(),c=Gc(),u=zc(),a=Vc(),i=qf()}return v.prototype.element=function(y,x,m){var w,D,T,_,A,S,M,P,C,L,W;if(S=null,x===null&&m==null)C=[{},null],x=C[0],m=C[1];if(x==null)x={};if(x=d(x),!h(x))L=[x,m],m=L[0],x=L[1];if(y!=null)y=d(y);if(Array.isArray(y))for(T=0,M=y.length;T<M;T++)D=y[T],S=this.element(D);else if(p(y))S=this.element(y.apply());else if(h(y))for(A in y){if(!b.call(y,A))continue;if(W=y[A],p(W))W=W.apply();if(h(W)&&f(W))W=null;if(!this.options.ignoreDecorators&&this.stringify.convertAttKey&&A.indexOf(this.stringify.convertAttKey)===0)S=this.attribute(A.substr(this.stringify.convertAttKey.length),W);else if(!this.options.separateArrayItems&&Array.isArray(W))for(_=0,P=W.length;_<P;_++)D=W[_],w={},w[A]=D,S=this.element(w);else if(h(W))S=this.element(A),S.element(W);else S=this.element(A,W)}else if(this.options.skipNullNodes&&m===null)S=this.dummy();else if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&y.indexOf(this.stringify.convertTextKey)===0)S=this.text(m);else if(!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&y.indexOf(this.stringify.convertCDataKey)===0)S=this.cdata(m);else if(!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&y.indexOf(this.stringify.convertCommentKey)===0)S=this.comment(m);else if(!this.options.ignoreDecorators&&this.stringify.convertRawKey&&y.indexOf(this.stringify.convertRawKey)===0)S=this.raw(m);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&y.indexOf(this.stringify.convertPIKey)===0)S=this.instruction(y.substr(this.stringify.convertPIKey.length),m);else S=this.node(y,x,m);if(S==null)throw Error("Could not create any elements with: "+y+". "+this.debugInfo());return S},v.prototype.insertBefore=function(y,x,m){var w,D,T;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(y));return D=this.parent.children.indexOf(this),T=this.parent.children.splice(D),w=this.parent.element(y,x,m),Array.prototype.push.apply(this.parent.children,T),w},v.prototype.insertAfter=function(y,x,m){var w,D,T;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(y));return D=this.parent.children.indexOf(this),T=this.parent.children.splice(D+1),w=this.parent.element(y,x,m),Array.prototype.push.apply(this.parent.children,T),w},v.prototype.remove=function(){var y,x;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return y=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[y,y-y+1].concat(x=[])),this.parent},v.prototype.node=function(y,x,m){var w,D;if(y!=null)y=d(y);if(x||(x={}),x=d(x),!h(x))D=[x,m],m=D[0],x=D[1];if(w=new o(this,y,x),m!=null)w.text(m);return this.children.push(w),w},v.prototype.text=function(y){var x=new u(this,y);return this.children.push(x),this},v.prototype.cdata=function(y){var x=new e(this,y);return this.children.push(x),this},v.prototype.comment=function(y){var x=new t(this,y);return this.children.push(x),this},v.prototype.commentBefore=function(y){var x,m,w;return m=this.parent.children.indexOf(this),w=this.parent.children.splice(m),x=this.parent.comment(y),Array.prototype.push.apply(this.parent.children,w),this},v.prototype.commentAfter=function(y){var x,m,w;return m=this.parent.children.indexOf(this),w=this.parent.children.splice(m+1),x=this.parent.comment(y),Array.prototype.push.apply(this.parent.children,w),this},v.prototype.raw=function(y){var x=new c(this,y);return this.children.push(x),this},v.prototype.dummy=function(){var y=new i(this);return this.children.push(y),y},v.prototype.instruction=function(y,x){var m,w,D,T,_;if(y!=null)y=d(y);if(x!=null)x=d(x);if(Array.isArray(y))for(T=0,_=y.length;T<_;T++)m=y[T],this.instruction(m);else if(h(y))for(m in y){if(!b.call(y,m))continue;w=y[m],this.instruction(m,w)}else{if(p(x))x=x.apply();D=new a(this,y,x),this.children.push(D)}return this},v.prototype.instructionBefore=function(y,x){var m,w,D;return w=this.parent.children.indexOf(this),D=this.parent.children.splice(w),m=this.parent.instruction(y,x),Array.prototype.push.apply(this.parent.children,D),this},v.prototype.instructionAfter=function(y,x){var m,w,D;return w=this.parent.children.indexOf(this),D=this.parent.children.splice(w+1),m=this.parent.instruction(y,x),Array.prototype.push.apply(this.parent.children,D),this},v.prototype.declaration=function(y,x,m){var w,D;if(w=this.document(),D=new n(w,y,x,m),w.children[0]instanceof n)w.children[0]=D;else w.children.unshift(D);return w.root()||w},v.prototype.doctype=function(y,x){var m,w,D,T,_,A,S,M,P,C;w=this.document(),D=new r(w,y,x),P=w.children;for(T=_=0,S=P.length;_<S;T=++_)if(m=P[T],m instanceof r)return w.children[T]=D,D;C=w.children;for(T=A=0,M=C.length;A<M;T=++A)if(m=C[T],m.isRoot)return w.children.splice(T,0,D),D;return w.children.push(D),D},v.prototype.up=function(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},v.prototype.root=function(){var y=this;while(y)if(y.isDocument)return y.rootObject;else if(y.isRoot)return y;else y=y.parent},v.prototype.document=function(){var y=this;while(y)if(y.isDocument)return y;else y=y.parent},v.prototype.end=function(y){return this.document().end(y)},v.prototype.prev=function(){var y=this.parent.children.indexOf(this);while(y>0&&this.parent.children[y-1].isDummy)y=y-1;if(y<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[y-1]},v.prototype.next=function(){var y=this.parent.children.indexOf(this);while(y<this.parent.children.length-1&&this.parent.children[y+1].isDummy)y=y+1;if(y===-1||y===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[y+1]},v.prototype.importDocument=function(y){var x=y.root().clone();return x.parent=this,x.isRoot=!1,this.children.push(x),this},v.prototype.debugInfo=function(y){var x,m;if(y=y||this.name,y==null&&!((x=this.parent)!=null?x.name:void 0))return"";else if(y==null)return"parent: <"+this.parent.name+">";else if(!((m=this.parent)!=null?m.name:void 0))return"node: <"+y+">";else return"node: <"+y+">, parent: <"+this.parent.name+">"},v.prototype.ele=function(y,x,m){return this.element(y,x,m)},v.prototype.nod=function(y,x,m){return this.node(y,x,m)},v.prototype.txt=function(y){return this.text(y)},v.prototype.dat=function(y){return this.cdata(y)},v.prototype.com=function(y){return this.comment(y)},v.prototype.ins=function(y,x){return this.instruction(y,x)},v.prototype.doc=function(){return this.document()},v.prototype.dec=function(y,x,m){return this.declaration(y,x,m)},v.prototype.dtd=function(y,x){return this.doctype(y,x)},v.prototype.e=function(y,x,m){return this.element(y,x,m)},v.prototype.n=function(y,x,m){return this.node(y,x,m)},v.prototype.t=function(y){return this.text(y)},v.prototype.d=function(y){return this.cdata(y)},v.prototype.c=function(y){return this.comment(y)},v.prototype.r=function(y){return this.raw(y)},v.prototype.i=function(y,x){return this.instruction(y,x)},v.prototype.u=function(){return this.up()},v.prototype.importXMLBuilder=function(y){return this.importDocument(y)},v}()}).call(EP)});var ex=U(function(TP,CP){(function(){var e,t=function(r,i){return function(){return r.apply(i,arguments)}},n={}.hasOwnProperty;CP.exports=e=function(){function r(i){this.assertLegalChar=t(this.assertLegalChar,this);var o,s,a;i||(i={}),this.noDoubleEncoding=i.noDoubleEncoding,s=i.stringify||{};for(o in s){if(!n.call(s,o))continue;a=s[o],this[o]=a}}return r.prototype.eleName=function(i){return i=""+i||"",this.assertLegalChar(i)},r.prototype.eleText=function(i){return i=""+i||"",this.assertLegalChar(this.elEscape(i))},r.prototype.cdata=function(i){return i=""+i||"",i=i.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(i)},r.prototype.comment=function(i){if(i=""+i||"",i.match(/--/))throw Error("Comment text cannot contain double-hypen: "+i);return this.assertLegalChar(i)},r.prototype.raw=function(i){return""+i||""},r.prototype.attName=function(i){return i=""+i||""},r.prototype.attValue=function(i){return i=""+i||"",this.attEscape(i)},r.prototype.insTarget=function(i){return""+i||""},r.prototype.insValue=function(i){if(i=""+i||"",i.match(/\?>/))throw Error("Invalid processing instruction value: "+i);return i},r.prototype.xmlVersion=function(i){if(i=""+i||"",!i.match(/1\.[0-9]+/))throw Error("Invalid version number: "+i);return i},r.prototype.xmlEncoding=function(i){if(i=""+i||"",!i.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+i);return i},r.prototype.xmlStandalone=function(i){if(i)return"yes";else return"no"},r.prototype.dtdPubID=function(i){return""+i||""},r.prototype.dtdSysID=function(i){return""+i||""},r.prototype.dtdElementValue=function(i){return""+i||""},r.prototype.dtdAttType=function(i){return""+i||""},r.prototype.dtdAttDefault=function(i){if(i!=null)return""+i||"";else return i},r.prototype.dtdEntityValue=function(i){return""+i||""},r.prototype.dtdNData=function(i){return""+i||""},r.prototype.convertAttKey="@",r.prototype.convertPIKey="?",r.prototype.convertTextKey="#text",r.prototype.convertCDataKey="#cdata",r.prototype.convertCommentKey="#comment",r.prototype.convertRawKey="#raw",r.prototype.assertLegalChar=function(i){var o=i.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/);if(o)throw Error("Invalid character in string: "+i+" at index "+o.index);return i},r.prototype.elEscape=function(i){var o=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return i.replace(o,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},r.prototype.attEscape=function(i){var o=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return i.replace(o,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},r}()}).call(TP)});var tx=U(function(AP,kP){(function(){var e,t={}.hasOwnProperty;kP.exports=e=function(){function n(r){var i,o,s,a,c,u,d,f,p;if(r||(r={}),this.pretty=r.pretty||!1,this.allowEmpty=(o=r.allowEmpty)!=null?o:!1,this.pretty)this.indent=(s=r.indent)!=null?s:" ",this.newline=(a=r.newline)!=null?a:`
|
|
204
204
|
`,this.offset=(c=r.offset)!=null?c:0,this.dontprettytextnodes=(u=r.dontprettytextnodes)!=null?u:0;else this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0;if(this.spacebeforeslash=(d=r.spacebeforeslash)!=null?d:"",this.spacebeforeslash===!0)this.spacebeforeslash=" ";this.newlinedefault=this.newline,this.prettydefault=this.pretty,f=r.writer||{};for(i in f){if(!t.call(f,i))continue;p=f[i],this[i]=p}}return n.prototype.set=function(r){var i,o,s;if(r||(r={}),"pretty"in r)this.pretty=r.pretty;if("allowEmpty"in r)this.allowEmpty=r.allowEmpty;if(this.pretty)this.indent="indent"in r?r.indent:" ",this.newline="newline"in r?r.newline:`
|
|
205
|
-
`,this.offset="offset"in r?r.offset:0,this.dontprettytextnodes="dontprettytextnodes"in r?r.dontprettytextnodes:0;else this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0;if(this.spacebeforeslash="spacebeforeslash"in r?r.spacebeforeslash:"",this.spacebeforeslash===!0)this.spacebeforeslash=" ";this.newlinedefault=this.newline,this.prettydefault=this.pretty,o=r.writer||{};for(i in o){if(!t.call(o,i))continue;s=o[i],this[i]=s}return this},n.prototype.space=function(r){var i;if(this.pretty)if(i=(r||0)+this.offset+1,i>0)return Array(i).join(this.indent);else return"";else return""},n}()}).call(AP)});var $f=U(function(UP,RP){(function(){var e,t,n,r,i,o,s,a,c,u,d,f,p,h,g,b=function(y,x){for(var m in x)if(v.call(x,m))y[m]=x[m];function w(){this.constructor=y}return w.prototype=x.prototype,y.prototype=new w,y.__super__=x.prototype,y},v={}.hasOwnProperty;s=Bc(),a=Hc(),e=Nc(),t=Lc(),u=Mc(),f=Gc(),h=zc(),d=Vc(),c=qf(),n=Wc(),r=qc(),i=jc(),o=$c(),g=tx(),RP.exports=p=function(y){b(x,y);function x(m){x.__super__.constructor.call(this,m)}return x.prototype.document=function(m){var w,D,T,_,A;this.textispresent=!1,_="",A=m.children;for(D=0,T=A.length;D<T;D++){if(w=A[D],w instanceof c)continue;_+=function(){switch(!1){case!(w instanceof s):return this.declaration(w);case!(w instanceof a):return this.docType(w);case!(w instanceof t):return this.comment(w);case!(w instanceof d):return this.processingInstruction(w);default:return this.element(w,0)}}.call(this)}if(this.pretty&&_.slice(-this.newline.length)===this.newline)_=_.slice(0,-this.newline.length);return _},x.prototype.attribute=function(m){return" "+m.name+'="'+m.value+'"'},x.prototype.cdata=function(m,w){return this.space(w)+"<![CDATA["+m.text+"]]>"+this.newline},x.prototype.comment=function(m,w){return this.space(w)+"<!-- "+m.text+" -->"+this.newline},x.prototype.declaration=function(m,w){var D=this.space(w);if(D+='<?xml version="'+m.version+'"',m.encoding!=null)D+=' encoding="'+m.encoding+'"';if(m.standalone!=null)D+=' standalone="'+m.standalone+'"';return D+=this.spacebeforeslash+"?>",D+=this.newline,D},x.prototype.docType=function(m,w){var D,T,_,A,S;if(w||(w=0),A=this.space(w),A+="<!DOCTYPE "+m.root().name,m.pubID&&m.sysID)A+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.sysID)A+=' SYSTEM "'+m.sysID+'"';if(m.children.length>0){A+=" [",A+=this.newline,S=m.children;for(T=0,_=S.length;T<_;T++)D=S[T],A+=function(){switch(!1){case!(D instanceof n):return this.dtdAttList(D,w+1);case!(D instanceof r):return this.dtdElement(D,w+1);case!(D instanceof i):return this.dtdEntity(D,w+1);case!(D instanceof o):return this.dtdNotation(D,w+1);case!(D instanceof e):return this.cdata(D,w+1);case!(D instanceof t):return this.comment(D,w+1);case!(D instanceof d):return this.processingInstruction(D,w+1);default:throw Error("Unknown DTD node type: "+D.constructor.name)}}.call(this);A+="]"}return A+=this.spacebeforeslash+">",A+=this.newline,A},x.prototype.element=function(m,w){var D,T,_,A,S,M,P,C,L,W,H,E,R;if(w||(w=0),R=!1,this.textispresent)this.newline="",this.pretty=!1;else this.newline=this.newlinedefault,this.pretty=this.prettydefault;E=this.space(w),C="",C+=E+"<"+m.name,L=m.attributes;for(P in L){if(!v.call(L,P))continue;D=L[P],C+=this.attribute(D)}if(m.children.length===0||m.children.every(function(k){return k.value===""}))if(this.allowEmpty)C+="></"+m.name+">"+this.newline;else C+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)C+=">",C+=m.children[0].value,C+="</"+m.name+">"+this.newline;else{if(this.dontprettytextnodes){W=m.children;for(_=0,S=W.length;_<S;_++)if(T=W[_],T.value!=null){this.textispresent++,R=!0;break}}if(this.textispresent)this.newline="",this.pretty=!1,E=this.space(w);C+=">"+this.newline,H=m.children;for(A=0,M=H.length;A<M;A++)T=H[A],C+=function(){switch(!1){case!(T instanceof e):return this.cdata(T,w+1);case!(T instanceof t):return this.comment(T,w+1);case!(T instanceof u):return this.element(T,w+1);case!(T instanceof f):return this.raw(T,w+1);case!(T instanceof h):return this.text(T,w+1);case!(T instanceof d):return this.processingInstruction(T,w+1);case!(T instanceof c):return"";default:throw Error("Unknown XML node type: "+T.constructor.name)}}.call(this);if(R)this.textispresent--;if(!this.textispresent)this.newline=this.newlinedefault,this.pretty=this.prettydefault;C+=E+"</"+m.name+">"+this.newline}return C},x.prototype.processingInstruction=function(m,w){var D=this.space(w)+"<?"+m.target;if(m.value)D+=" "+m.value;return D+=this.spacebeforeslash+"?>"+this.newline,D},x.prototype.raw=function(m,w){return this.space(w)+m.value+this.newline},x.prototype.text=function(m,w){return this.space(w)+m.value+this.newline},x.prototype.dtdAttList=function(m,w){var D=this.space(w)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType;if(m.defaultValueType!=="#DEFAULT")D+=" "+m.defaultValueType;if(m.defaultValue)D+=' "'+m.defaultValue+'"';return D+=this.spacebeforeslash+">"+this.newline,D},x.prototype.dtdElement=function(m,w){return this.space(w)+"<!ELEMENT "+m.name+" "+m.value+this.spacebeforeslash+">"+this.newline},x.prototype.dtdEntity=function(m,w){var D=this.space(w)+"<!ENTITY";if(m.pe)D+=" %";if(D+=" "+m.name,m.value)D+=' "'+m.value+'"';else{if(m.pubID&&m.sysID)D+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.sysID)D+=' SYSTEM "'+m.sysID+'"';if(m.nData)D+=" NDATA "+m.nData}return D+=this.spacebeforeslash+">"+this.newline,D},x.prototype.dtdNotation=function(m,w){var D=this.space(w)+"<!NOTATION "+m.name;if(m.pubID&&m.sysID)D+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.pubID)D+=' PUBLIC "'+m.pubID+'"';else if(m.sysID)D+=' SYSTEM "'+m.sysID+'"';return D+=this.spacebeforeslash+">"+this.newline,D},x.prototype.openNode=function(m,w){var D,T,_,A;if(w||(w=0),m instanceof u){_=this.space(w)+"<"+m.name,A=m.attributes;for(T in A){if(!v.call(A,T))continue;D=A[T],_+=this.attribute(D)}return _+=(m.children?">":"/>")+this.newline,_}else{if(_=this.space(w)+"<!DOCTYPE "+m.rootNodeName,m.pubID&&m.sysID)_+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.sysID)_+=' SYSTEM "'+m.sysID+'"';return _+=(m.children?" [":">")+this.newline,_}},x.prototype.closeNode=function(m,w){switch(w||(w=0),!1){case!(m instanceof u):return this.space(w)+"</"+m.name+">"+this.newline;case!(m instanceof a):return this.space(w)+"]>"+this.newline}},x}(g)}).call(UP)});var OP=U(function(FP,PP){(function(){var e,t,n,r,i,o=function(a,c){for(var u in c)if(s.call(c,u))a[u]=c[u];function d(){this.constructor=a}return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},s={}.hasOwnProperty;i=dr().isPlainObject,t=Ct(),r=ex(),n=$f(),PP.exports=e=function(a){o(c,a);function c(u){if(c.__super__.constructor.call(this,null),this.name="?xml",u||(u={}),!u.writer)u.writer=new n;this.options=u,this.stringify=new r(u),this.isDocument=!0}return c.prototype.end=function(u){var d;if(!u)u=this.options.writer;else if(i(u))d=u,u=this.options.writer.set(d);return u.document(this)},c.prototype.toString=function(u){return this.options.writer.set(u).document(this)},c}(t)}).call(FP)});var NP=U(function(IP,MP){(function(){var e,t,n,r,i,o,s,a,c,u,d,f,p,h,g,b,v,y,x,m,w,D={}.hasOwnProperty;w=dr(),x=w.isObject,y=w.isFunction,m=w.isPlainObject,v=w.getValue,d=Mc(),t=Nc(),n=Lc(),p=Gc(),b=zc(),f=Vc(),a=Bc(),c=Hc(),r=Wc(),o=jc(),i=qc(),s=$c(),e=Qv(),g=ex(),h=$f(),MP.exports=u=function(){function T(_,A,S){var M;if(this.name="?xml",_||(_={}),!_.writer)_.writer=new h(_);else if(m(_.writer))M=_.writer,_.writer=new h(M);this.options=_,this.writer=_.writer,this.stringify=new g(_),this.onDataCallback=A||function(){},this.onEndCallback=S||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return T.prototype.node=function(_,A,S){var M,P;if(_==null)throw Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw Error("Document can only have one root node. "+this.debugInfo(_));if(this.openCurrent(),_=v(_),A===null&&S==null)M=[{},null],A=M[0],S=M[1];if(A==null)A={};if(A=v(A),!x(A))P=[A,S],S=P[0],A=P[1];if(this.currentNode=new d(this,_,A),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,S!=null)this.text(S);return this},T.prototype.element=function(_,A,S){if(this.currentNode&&this.currentNode instanceof c)return this.dtdElement.apply(this,arguments);else return this.node(_,A,S)},T.prototype.attribute=function(_,A){var S,M;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(_));if(_!=null)_=v(_);if(x(_))for(S in _){if(!D.call(_,S))continue;M=_[S],this.attribute(S,M)}else{if(y(A))A=A.apply();if(!this.options.skipNullAttributes||A!=null)this.currentNode.attributes[_]=new e(this,_,A)}return this},T.prototype.text=function(_){var A;return this.openCurrent(),A=new b(this,_),this.onData(this.writer.text(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.cdata=function(_){var A;return this.openCurrent(),A=new t(this,_),this.onData(this.writer.cdata(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.comment=function(_){var A;return this.openCurrent(),A=new n(this,_),this.onData(this.writer.comment(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.raw=function(_){var A;return this.openCurrent(),A=new p(this,_),this.onData(this.writer.raw(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.instruction=function(_,A){var S,M,P,C,L;if(this.openCurrent(),_!=null)_=v(_);if(A!=null)A=v(A);if(Array.isArray(_))for(S=0,C=_.length;S<C;S++)M=_[S],this.instruction(M);else if(x(_))for(M in _){if(!D.call(_,M))continue;P=_[M],this.instruction(M,P)}else{if(y(A))A=A.apply();L=new f(this,_,A),this.onData(this.writer.processingInstruction(L,this.currentLevel+1),this.currentLevel+1)}return this},T.prototype.declaration=function(_,A,S){var M;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return M=new a(this,_,A,S),this.onData(this.writer.declaration(M,this.currentLevel+1),this.currentLevel+1),this},T.prototype.doctype=function(_,A,S){if(this.openCurrent(),_==null)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new c(this,A,S),this.currentNode.rootNodeName=_,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},T.prototype.dtdElement=function(_,A){var S;return this.openCurrent(),S=new i(this,_,A),this.onData(this.writer.dtdElement(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.attList=function(_,A,S,M,P){var C;return this.openCurrent(),C=new r(this,_,A,S,M,P),this.onData(this.writer.dtdAttList(C,this.currentLevel+1),this.currentLevel+1),this},T.prototype.entity=function(_,A){var S;return this.openCurrent(),S=new o(this,!1,_,A),this.onData(this.writer.dtdEntity(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.pEntity=function(_,A){var S;return this.openCurrent(),S=new o(this,!0,_,A),this.onData(this.writer.dtdEntity(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.notation=function(_,A){var S;return this.openCurrent(),S=new s(this,_,A),this.onData(this.writer.dtdNotation(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.up=function(){if(this.currentLevel<0)throw Error("The document node has no parent.");if(this.currentNode){if(this.currentNode.children)this.closeNode(this.currentNode);else this.openNode(this.currentNode);this.currentNode=null}else this.closeNode(this.openTags[this.currentLevel]);return delete this.openTags[this.currentLevel],this.currentLevel--,this},T.prototype.end=function(){while(this.currentLevel>=0)this.up();return this.onEnd()},T.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},T.prototype.openNode=function(_){if(!_.isOpen){if(!this.root&&this.currentLevel===0&&_ instanceof d)this.root=_;return this.onData(this.writer.openNode(_,this.currentLevel),this.currentLevel),_.isOpen=!0}},T.prototype.closeNode=function(_){if(!_.isClosed)return this.onData(this.writer.closeNode(_,this.currentLevel),this.currentLevel),_.isClosed=!0},T.prototype.onData=function(_,A){return this.documentStarted=!0,this.onDataCallback(_,A+1)},T.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},T.prototype.debugInfo=function(_){if(_==null)return"";else return"node: <"+_+">"},T.prototype.ele=function(){return this.element.apply(this,arguments)},T.prototype.nod=function(_,A,S){return this.node(_,A,S)},T.prototype.txt=function(_){return this.text(_)},T.prototype.dat=function(_){return this.cdata(_)},T.prototype.com=function(_){return this.comment(_)},T.prototype.ins=function(_,A){return this.instruction(_,A)},T.prototype.dec=function(_,A,S){return this.declaration(_,A,S)},T.prototype.dtd=function(_,A,S){return this.doctype(_,A,S)},T.prototype.e=function(_,A,S){return this.element(_,A,S)},T.prototype.n=function(_,A,S){return this.node(_,A,S)},T.prototype.t=function(_){return this.text(_)},T.prototype.d=function(_){return this.cdata(_)},T.prototype.c=function(_){return this.comment(_)},T.prototype.r=function(_){return this.raw(_)},T.prototype.i=function(_,A){return this.instruction(_,A)},T.prototype.att=function(){if(this.currentNode&&this.currentNode instanceof c)return this.attList.apply(this,arguments);else return this.attribute.apply(this,arguments)},T.prototype.a=function(){if(this.currentNode&&this.currentNode instanceof c)return this.attList.apply(this,arguments);else return this.attribute.apply(this,arguments)},T.prototype.ent=function(_,A){return this.entity(_,A)},T.prototype.pent=function(_,A){return this.pEntity(_,A)},T.prototype.not=function(_,A){return this.notation(_,A)},T}()}).call(IP)});var WP=U(function(LP,BP){(function(){var e,t,n,r,i,o,s,a,c,u,d,f,p,h,g,b=function(y,x){for(var m in x)if(v.call(x,m))y[m]=x[m];function w(){this.constructor=y}return w.prototype=x.prototype,y.prototype=new w,y.__super__=x.prototype,y},v={}.hasOwnProperty;s=Bc(),a=Hc(),e=Nc(),t=Lc(),u=Mc(),f=Gc(),h=zc(),d=Vc(),c=qf(),n=Wc(),r=qc(),i=jc(),o=$c(),g=tx(),BP.exports=p=function(y){b(x,y);function x(m,w){x.__super__.constructor.call(this,w),this.stream=m}return x.prototype.document=function(m){var w,D,T,_,A,S,M,P;S=m.children;for(D=0,_=S.length;D<_;D++)w=S[D],w.isLastRootNode=!1;m.children[m.children.length-1].isLastRootNode=!0,M=m.children,P=[];for(T=0,A=M.length;T<A;T++){if(w=M[T],w instanceof c)continue;switch(!1){case!(w instanceof s):P.push(this.declaration(w));break;case!(w instanceof a):P.push(this.docType(w));break;case!(w instanceof t):P.push(this.comment(w));break;case!(w instanceof d):P.push(this.processingInstruction(w));break;default:P.push(this.element(w))}}return P},x.prototype.attribute=function(m){return this.stream.write(" "+m.name+'="'+m.value+'"')},x.prototype.cdata=function(m,w){return this.stream.write(this.space(w)+"<![CDATA["+m.text+"]]>"+this.endline(m))},x.prototype.comment=function(m,w){return this.stream.write(this.space(w)+"<!-- "+m.text+" -->"+this.endline(m))},x.prototype.declaration=function(m,w){if(this.stream.write(this.space(w)),this.stream.write('<?xml version="'+m.version+'"'),m.encoding!=null)this.stream.write(' encoding="'+m.encoding+'"');if(m.standalone!=null)this.stream.write(' standalone="'+m.standalone+'"');return this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(m))},x.prototype.docType=function(m,w){var D,T,_,A;if(w||(w=0),this.stream.write(this.space(w)),this.stream.write("<!DOCTYPE "+m.root().name),m.pubID&&m.sysID)this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"');else if(m.sysID)this.stream.write(' SYSTEM "'+m.sysID+'"');if(m.children.length>0){this.stream.write(" ["),this.stream.write(this.endline(m)),A=m.children;for(T=0,_=A.length;T<_;T++)switch(D=A[T],!1){case!(D instanceof n):this.dtdAttList(D,w+1);break;case!(D instanceof r):this.dtdElement(D,w+1);break;case!(D instanceof i):this.dtdEntity(D,w+1);break;case!(D instanceof o):this.dtdNotation(D,w+1);break;case!(D instanceof e):this.cdata(D,w+1);break;case!(D instanceof t):this.comment(D,w+1);break;case!(D instanceof d):this.processingInstruction(D,w+1);break;default:throw Error("Unknown DTD node type: "+D.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(m))},x.prototype.element=function(m,w){var D,T,_,A,S,M,P,C;w||(w=0),C=this.space(w),this.stream.write(C+"<"+m.name),M=m.attributes;for(S in M){if(!v.call(M,S))continue;D=M[S],this.attribute(D)}if(m.children.length===0||m.children.every(function(L){return L.value===""}))if(this.allowEmpty)this.stream.write("></"+m.name+">");else this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)this.stream.write(">"),this.stream.write(m.children[0].value),this.stream.write("</"+m.name+">");else{this.stream.write(">"+this.newline),P=m.children;for(_=0,A=P.length;_<A;_++)switch(T=P[_],!1){case!(T instanceof e):this.cdata(T,w+1);break;case!(T instanceof t):this.comment(T,w+1);break;case!(T instanceof u):this.element(T,w+1);break;case!(T instanceof f):this.raw(T,w+1);break;case!(T instanceof h):this.text(T,w+1);break;case!(T instanceof d):this.processingInstruction(T,w+1);break;case!(T instanceof c):break;default:throw Error("Unknown XML node type: "+T.constructor.name)}this.stream.write(C+"</"+m.name+">")}return this.stream.write(this.endline(m))},x.prototype.processingInstruction=function(m,w){if(this.stream.write(this.space(w)+"<?"+m.target),m.value)this.stream.write(" "+m.value);return this.stream.write(this.spacebeforeslash+"?>"+this.endline(m))},x.prototype.raw=function(m,w){return this.stream.write(this.space(w)+m.value+this.endline(m))},x.prototype.text=function(m,w){return this.stream.write(this.space(w)+m.value+this.endline(m))},x.prototype.dtdAttList=function(m,w){if(this.stream.write(this.space(w)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType),m.defaultValueType!=="#DEFAULT")this.stream.write(" "+m.defaultValueType);if(m.defaultValue)this.stream.write(' "'+m.defaultValue+'"');return this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.dtdElement=function(m,w){return this.stream.write(this.space(w)+"<!ELEMENT "+m.name+" "+m.value),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.dtdEntity=function(m,w){if(this.stream.write(this.space(w)+"<!ENTITY"),m.pe)this.stream.write(" %");if(this.stream.write(" "+m.name),m.value)this.stream.write(' "'+m.value+'"');else{if(m.pubID&&m.sysID)this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"');else if(m.sysID)this.stream.write(' SYSTEM "'+m.sysID+'"');if(m.nData)this.stream.write(" NDATA "+m.nData)}return this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.dtdNotation=function(m,w){if(this.stream.write(this.space(w)+"<!NOTATION "+m.name),m.pubID&&m.sysID)this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"');else if(m.pubID)this.stream.write(' PUBLIC "'+m.pubID+'"');else if(m.sysID)this.stream.write(' SYSTEM "'+m.sysID+'"');return this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.endline=function(m){if(!m.isLastRootNode)return this.newline;else return""},x}(g)}).call(LP)});var qP=U(function(jP,Xc){(function(){var e,t,n,r,i,o,s;s=dr(),i=s.assign,o=s.isFunction,e=OP(),t=NP(),r=$f(),n=WP(),jP.create=function(a,c,u,d){var f,p;if(a==null)throw Error("Root element needs a name.");if(d=i({},c,u,d),f=new e(d),p=f.element(a),!d.headless){if(f.declaration(d),d.pubID!=null||d.sysID!=null)f.doctype(d)}return p},jP.begin=function(a,c,u){var d;if(o(a))d=[a,c],c=d[0],u=d[1],a={};if(c)return new t(a,c,u);else return new e(a)},jP.stringWriter=function(a){return new r(a)},jP.streamWriter=function(a,c){return new n(a,c)}}).call(jP)});var HP=U(function(VQ){var $P=We(),HQ=qP();VQ.writeString=GQ;function GQ(e,t){var n=$P.invert(t),r={element:o,text:zQ};function i(c,u){return r[u.type](c,u)}function o(c,u){var d=c.element(s(u.name),u.attributes);u.children.forEach(function(f){i(d,f)})}function s(c){var u=/^\{(.*)\}(.*)$/.exec(c);if(u){var d=n[u[1]];return d+(d===""?"":":")+u[2]}else return c}function a(c){var u=HQ.create(s(c.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return $P.forEach(t,function(d,f){var p="xmlns"+(f===""?"":":"+f);u.attribute(p,d)}),c.children.forEach(function(d){i(u,d)}),u.end()}return a(e)}function zQ(e,t){e.text(t.value)}});var Gf=U(function(KQ){var Hf=Mv();KQ.Element=Hf.Element;KQ.element=Hf.element;KQ.emptyElement=Hf.emptyElement;KQ.text=Hf.text;KQ.readString=XF().readString;KQ.writeString=HP().writeString});var VP=U(function(cee){var nee=We(),ree=Jn(),iee=Gf();cee.read=GP;cee.readXmlFromZipFile=see;var oee={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function GP(e){return iee.readString(e,oee).then(function(t){return zP(t)[0]})}function see(e,t){if(e.exists(t))return e.read(t,"utf-8").then(aee).then(GP);else return ree.resolve(null)}function aee(e){return e.replace(/^\uFEFF/g,"")}function zP(e){if(e.type==="element")if(e.name==="mc:AlternateContent")return e.firstOrEmpty("mc:Fallback").children;else return e.children=nee.flatten(e.children.map(zP,!0)),[e];else return[e]}});var KP=U(function(XP){Object.defineProperty(XP,"__esModule",{value:!0});var dee=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];XP.default=dee});var YP=U(function(Nn){var pee=Nn&&Nn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.hex=Nn.dec=Nn.codePoint=void 0;var hee=pee(KP()),ZP={},gee=String.fromCodePoint?String.fromCodePoint:bee;for(Kc=0,zf=hee.default;Kc<zf.length;Kc++)Zc=zf[Kc],Vf=parseInt(Zc["Unicode dec"],10),nx={codePoint:Vf,string:gee(Vf)},ZP[Zc["Typeface name"].toUpperCase()+"_"+Zc["Dingbat dec"]]=nx;var Zc,Vf,nx,Kc,zf;function rx(e,t){return ZP[e.toUpperCase()+"_"+t]}Nn.codePoint=rx;function mee(e,t){return rx(e,parseInt(t,10))}Nn.dec=mee;function yee(e,t){return rx(e,parseInt(t,16))}Nn.hex=yee;function bee(e){if(e<=65535)return String.fromCharCode(e);else{var t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}}});var ox=U(function(_ee){var JP=We();_ee.paragraph=vee;_ee.run=xee;_ee._elements=QP;_ee._elementsOfType=ix;_ee.getDescendantsOfType=wee;_ee.getDescendants=e3;function vee(e){return ix("paragraph",e)}function xee(e){return ix("run",e)}function ix(e,t){return QP(function(n){if(n.type===e)return t(n);else return n})}function QP(e){return function t(n){if(n.children){var r=JP.map(n.children,t);n=JP.extend(n,{children:r})}return e(n)}}function wee(e,t){return e3(e).filter(function(n){return n.type===t})}function e3(e){var t=[];return t3(e,function(n){t.push(n)}),t}function t3(e,t){if(e.children)e.children.forEach(function(n){t3(n,t),t(n)})}});var n3=U(function(Ree){Ree.uriToZipEntryName=kee;Ree.replaceFragment=Uee;function kee(e,t){if(t.charAt(0)==="/")return t.substr(1);else return e+"/"+t}function Uee(e,t){var n=e.indexOf("#");if(n!==-1)e=e.substring(0,n);return e+"#"+t}});var l3=U(function(Bee){Bee.createBodyReader=Iee;Bee._readNumberingProperties=u3;var r3=YP(),tn=We(),Se=$r(),c3=Sn().Result,fr=Sn().warning,Oee=Gf(),i3=ox(),o3=n3();function Iee(e){return{readXmlElement:function(t){return new s3(e).readXmlElement(t)},readXmlElements:function(t){return new s3(e).readXmlElements(t)}}}function s3(e){var t=[],n=[],r=[],{relationships:i,contentTypes:o,docxFile:s,files:a,numbering:c,styles:u}=e;function d(I){var G=I.map(f);return a3(G)}function f(I){if(I.type==="element"){var G=E[I.name];if(G)return G(I);else if(!Object.prototype.hasOwnProperty.call(Nee,I.name)){var J=fr("An unrecognised element was ignored: "+I.name);return Yc([J])}}return Cs()}function p(I){return m(I).map(function(G){return{type:"paragraphProperties",styleId:G.styleId,styleName:G.name,alignment:I.firstOrEmpty("w:jc").attributes["w:val"],numbering:u3(G.styleId,I.firstOrEmpty("w:numPr"),c),indent:h(I.firstOrEmpty("w:ind"))}})}function h(I){return{start:I.attributes["w:start"]||I.attributes["w:left"],end:I.attributes["w:end"]||I.attributes["w:right"],firstLine:I.attributes["w:firstLine"],hanging:I.attributes["w:hanging"]}}function g(I){return w(I).map(function(G){var J=I.firstOrEmpty("w:sz").attributes["w:val"],ee=/^[0-9]+$/.test(J)?parseInt(J,10)/2:null;return{type:"runProperties",styleId:G.styleId,styleName:G.name,verticalAlignment:I.firstOrEmpty("w:vertAlign").attributes["w:val"],font:I.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:ee,isBold:v(I.first("w:b")),isUnderline:b(I.first("w:u")),isItalic:v(I.first("w:i")),isStrikethrough:v(I.first("w:strike")),isAllCaps:v(I.first("w:caps")),isSmallCaps:v(I.first("w:smallCaps")),highlight:x(I.firstOrEmpty("w:highlight").attributes["w:val"])}})}function b(I){if(I){var G=I.attributes["w:val"];return G!==void 0&&G!=="false"&&G!=="0"&&G!=="none"}else return!1}function v(I){if(I){var G=I.attributes["w:val"];return G!=="false"&&G!=="0"}else return!1}function y(I){return I!=="false"&&I!=="0"}function x(I){if(!I||I==="none")return null;else return I}function m(I){return T(I,"w:pStyle","Paragraph",u.findParagraphStyleById)}function w(I){return T(I,"w:rStyle","Run",u.findCharacterStyleById)}function D(I){return T(I,"w:tblStyle","Table",u.findTableStyleById)}function T(I,G,J,ee){var se=[],ge=I.first(G),Te=null,wt=null;if(ge){if(Te=ge.attributes["w:val"],Te){var ot=ee(Te);if(ot)wt=ot.name;else se.push(xu(J,Te))}}return Xf({styleId:Te,name:wt},se)}function _(I){var G=I.attributes["w:fldCharType"];if(G==="begin")t.push({type:"begin",fldChar:I}),n=[];else if(G==="end"){var J=t.pop();if(J.type==="begin")J=S(J);if(J.type==="checkbox")return $t(Se.checkbox({checked:J.checked}))}else if(G==="separate"){var ee=t.pop(),se=S(ee);t.push(se)}return Cs()}function A(){var I=tn.last(t.filter(function(G){return G.type==="hyperlink"}));return I?I.options:null}function S(I){return M(n.join(""),I.type==="begin"?I.fldChar:Oee.emptyElement)}function M(I,G){var J=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(I);if(J){var ee=J[2]===void 0?J[3]:J[2],se=J[1]===void 0?{href:ee}:{anchor:ee};return{type:"hyperlink",options:se}}var ge=/\s*FORMCHECKBOX\s*/.exec(I);if(ge){var Te=G.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),wt=Te.first("w:checked"),ot=wt==null?v(Te.first("w:default")):v(wt);return{type:"checkbox",checked:ot}}return{type:"unknown"}}function P(I){return n.push(I.text()),Cs()}function C(I){var G=I.attributes["w:font"],J=I.attributes["w:char"],ee=r3.hex(G,J);if(ee==null&&/^F0..$/.test(J))ee=r3.hex(G,J.substring(2));if(ee==null)return Yc([fr("A w:sym element with an unsupported character was ignored: char "+J+" in font "+G)]);else return $t(new Se.Text(ee.string))}function L(I){return function(G){var J=G.attributes["w:id"];return $t(new Se.NoteReference({noteType:I,noteId:J}))}}function W(I){return $t(Se.commentReference({commentId:I.attributes["w:id"]}))}function H(I){return d(I.children)}var E={"w:p":function(I){var G=I.firstOrEmpty("w:pPr"),J=!!G.firstOrEmpty("w:rPr").first("w:del");if(J)return I.children.forEach(function(se){r.push(se)}),Cs();else{var ee=I.children;if(r.length>0)ee=r.concat(ee),r=[];return lt.map(p(G),d(ee),function(se,ge){return new Se.Paragraph(ge,se)}).insertExtra()}},"w:r":function(I){return lt.map(g(I.firstOrEmpty("w:rPr")),d(I.children),function(G,J){var ee=A();if(ee!==null)J=[new Se.Hyperlink(J,ee)];return new Se.Run(J,G)})},"w:fldChar":_,"w:instrText":P,"w:t":function(I){return $t(new Se.Text(I.text()))},"w:tab":function(I){return $t(new Se.Tab)},"w:noBreakHyphen":function(){return $t(new Se.Text("‑"))},"w:softHyphen":function(I){return $t(new Se.Text(""))},"w:sym":C,"w:hyperlink":function(I){var G=I.attributes["r:id"],J=I.attributes["w:anchor"];return d(I.children).map(function(ee){function se(Te){var wt=I.attributes["w:tgtFrame"]||null;return new Se.Hyperlink(ee,tn.extend({targetFrame:wt},Te))}if(G){var ge=i.findTargetByRelationshipId(G);if(J)ge=o3.replaceFragment(ge,J);return se({href:ge})}else if(J)return se({anchor:J});else return ee})},"w:tbl":R,"w:tr":F,"w:tc":B,"w:footnoteReference":L("footnote"),"w:endnoteReference":L("endnote"),"w:commentReference":W,"w:br":function(I){var G=I.attributes["w:type"];if(G==null||G==="textWrapping")return $t(Se.lineBreak);else if(G==="page")return $t(Se.pageBreak);else if(G==="column")return $t(Se.columnBreak);else return Yc([fr("Unsupported break type: "+G)])},"w:bookmarkStart":function(I){var G=I.attributes["w:name"];if(G==="_GoBack")return Cs();else return $t(new Se.BookmarkStart({name:G}))},"mc:AlternateContent":function(I){return H(I.firstOrEmpty("mc:Fallback"))},"w:sdt":function(I){var G=d(I.firstOrEmpty("w:sdtContent").children);return G.map(function(J){var ee=I.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(ee){var se=ee.first("wordml:checked"),ge=!!se&&y(se.attributes["wordml:val"]),Te=Se.checkbox({checked:ge}),wt=!1,ot=J.map(i3._elementsOfType(Se.types.text,function(di){if(di.value.length>0&&!wt)return wt=!0,Te;else return di}));if(wt)return ot;else return Te}else return J})},"w:ins":H,"w:object":H,"w:smartTag":H,"w:drawing":H,"w:pict":function(I){return H(I).toExtra()},"v:roundrect":H,"v:shape":H,"v:textbox":H,"w:txbxContent":H,"wp:inline":fe,"wp:anchor":fe,"v:imagedata":hn,"v:group":H,"v:rect":H};return{readXmlElement:f,readXmlElements:d};function R(I){var G=k(I.firstOrEmpty("w:tblPr"));return d(I.children).flatMap(K).flatMap(function(J){return G.map(function(ee){return Se.Table(J,ee)})})}function k(I){return D(I).map(function(G){return{styleId:G.styleId,styleName:G.name}})}function F(I){var G=I.firstOrEmpty("w:trPr"),J=!!G.first("w:del");if(J)return Cs();var ee=!!G.first("w:tblHeader");return d(I.children).map(function(se){return Se.TableRow(se,{isHeader:ee})})}function B(I){return d(I.children).map(function(G){var J=I.firstOrEmpty("w:tcPr"),ee=J.firstOrEmpty("w:gridSpan").attributes["w:val"],se=ee?parseInt(ee,10):1,ge=Se.TableCell(G,{colSpan:se});return ge._vMerge=j(J),ge})}function j(I){var G=I.first("w:vMerge");if(G){var J=G.attributes["w:val"];return J==="continue"||!J}else return null}function K(I){var G=tn.any(I,function(se){return se.type!==Se.types.tableRow});if(G)return Q(I),Xf(I,[fr("unexpected non-row element in table, cell merging may be incorrect")]);var J=tn.any(I,function(se){return tn.any(se.children,function(ge){return ge.type!==Se.types.tableCell})});if(J)return Q(I),Xf(I,[fr("unexpected non-cell element in table row, cell merging may be incorrect")]);var ee={};return I.forEach(function(se){var ge=0;se.children.forEach(function(Te){if(Te._vMerge&&ee[ge])ee[ge].rowSpan++;else ee[ge]=Te,Te._vMerge=!1;ge+=Te.colSpan})}),I.forEach(function(se){se.children=se.children.filter(function(ge){return!ge._vMerge}),se.children.forEach(function(ge){delete ge._vMerge})}),$t(I)}function Q(I){I.forEach(function(G){var J=i3.getDescendantsOfType(G,Se.types.tableCell);J.forEach(function(ee){delete ee._vMerge})})}function fe(I){var G=I.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return a3(G.map(ke.bind(null,I)))}function ke(I,G){var J=I.firstOrEmpty("wp:docPr"),ee=J.attributes,se=ve(ee.descr)?ee.title:ee.descr,ge=dt(G);if(ge===null)return Yc([fr("Could not find image file for a:blip element")]);return oo(ge,se).map(function(Te){var wt=J.firstOrEmpty("a:hlinkClick"),ot=wt.attributes["r:id"];if(ot){var di=i.findTargetByRelationshipId(ot);return new Se.Hyperlink([Te],{href:di})}else return Te})}function ve(I){return I==null||/^\s*$/.test(I)}function dt(I){var G=I.attributes["r:embed"],J=I.attributes["r:link"];if(G)return mr(G);else if(J){var ee=i.findTargetByRelationshipId(J);return{path:ee,read:a.read.bind(a,ee)}}else return null}function hn(I){var G=I.attributes["r:id"];if(G)return oo(mr(G),I.attributes["o:title"]);else return Yc([fr("A v:imagedata element without a relationship ID was ignored")])}function mr(I){var G=o3.uriToZipEntryName("word",i.findTargetByRelationshipId(I));return{path:G,read:s.read.bind(s,G)}}function oo(I,G){var J=o.findContentType(I.path),ee=Se.Image({readImage:I.read,altText:G,contentType:J}),se=Mee[J]?[]:fr("Image of type "+J+" is unlikely to display in web browsers");return Xf(ee,se)}function xu(I,G){return fr(I+" style with ID "+G+" was referenced but not defined in the document")}}function u3(e,t,n){var r=t.firstOrEmpty("w:ilvl").attributes["w:val"],i=t.firstOrEmpty("w:numId").attributes["w:val"];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(e!=null){var o=n.findLevelByParagraphStyleId(e);if(o!=null)return o}if(i!==void 0)return n.findLevel(i,"0");return null}var Mee={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},Nee={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function Yc(e){return new lt(null,null,e)}function Cs(){return new lt(null)}function $t(e){return new lt(e)}function Xf(e,t){return new lt(e,null,t)}function lt(e,t,n){this.value=e||[],this.extra=t||[],this._result=new c3({element:this.value,extra:t},n),this.messages=this._result.messages}lt.prototype.toExtra=function(){return new lt(null,Kf(this.extra,this.value),this.messages)};lt.prototype.insertExtra=function(){var e=this.extra;if(e&&e.length)return new lt(Kf(this.value,e),null,this.messages);else return this};lt.prototype.map=function(e){var t=this._result.map(function(n){return e(n.element)});return new lt(t.value,this.extra,t.messages)};lt.prototype.flatMap=function(e){var t=this._result.flatMap(function(n){return e(n.element)._result});return new lt(t.value.element,Kf(this.extra,t.value.extra),t.messages)};lt.map=function(e,t,n){return new lt(n(e.value,t.value),Kf(e.extra,t.extra),e.messages.concat(t.messages))};function a3(e){var t=c3.combine(tn.pluck(e,"_result"));return new lt(tn.flatten(tn.pluck(t.value,"element")),tn.filter(tn.flatten(tn.pluck(t.value,"extra")),Lee),t.messages)}function Kf(e,t){return tn.flatten([e,t])}function Lee(e){return e}});var d3=U(function(Gee){Gee.DocumentXmlReader=Hee;var qee=$r(),$ee=Sn().Result;function Hee(e){var t=e.bodyReader;function n(r){var i=r.first("w:body");if(i==null)throw Error("Could not find the body element: are you sure this is a docx file?");var o=t.readXmlElements(i.children).map(function(s){return new qee.Document(s,{notes:e.notes,comments:e.comments})});return new $ee(o.value,o.messages)}return{convertXmlToDocument:n}}});var f3=U(function(Xee){Xee.readRelationships=Vee;Xee.defaultValue=new sx([]);Xee.Relationships=sx;function Vee(e){var t=[];return e.children.forEach(function(n){if(n.name==="relationships:Relationship"){var r={relationshipId:n.attributes.Id,target:n.attributes.Target,type:n.attributes.Type};t.push(r)}}),new sx(t)}function sx(e){var t=Object.create(null);e.forEach(function(r){t[r.relationshipId]=r.target});var n=Object.create(null);return e.forEach(function(r){if(!n[r.type])n[r.type]=[];n[r.type].push(r.target)}),{findTargetByRelationshipId:function(r){return t[r]},findTargetsByType:function(r){return n[r]||[]}}}});var h3=U(function(ete){ete.readContentTypesFromXml=Qee;var Jee={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};ete.defaultContentTypes=p3({},{});function Qee(e){var t=Object.create(null),n=Object.create(null);return e.children.forEach(function(r){if(r.name==="content-types:Default")t[r.attributes.Extension]=r.attributes.ContentType;if(r.name==="content-types:Override"){var i=r.attributes.PartName;if(i.charAt(0)==="/")i=i.substring(1);n[i]=r.attributes.ContentType}}),p3(n,t)}function p3(e,t){return{findContentType:function(n){var r=e[n];if(r)return r;else{var i=n.split("."),o=i[i.length-1];if(Object.prototype.hasOwnProperty.call(t,o))return t[o];else{var s=Jee[o.toLowerCase()];if(s)return"image/"+s;else return null}}}}}});var g3=U(function(ate){var Zf=We();ate.readNumberingXml=rte;ate.Numbering=ax;ate.defaultNumbering=new ax({},{});function ax(e,t,n){var r=Zf.flatten(Zf.values(t).map(function(c){return Zf.values(c.levels)})),i=Zf.indexBy(r.filter(function(c){return c.paragraphStyleId!=null}),"paragraphStyleId");function o(c,u){return s(c,u,Object.create(null))}function s(c,u,d){if(d[c])return null;d[c]=!0;var f=e[c];if(!f)return null;var p=t[f.abstractNumId];if(!p)return null;else if(p.numStyleLink==null)return t[f.abstractNumId].levels[u];else{var h=n.findNumberingStyleById(p.numStyleLink);return s(h.numId,u,d)}}function a(c){return i[c]||null}return{findLevel:o,findLevelByParagraphStyleId:a}}function rte(e,t){if(!t||!t.styles)throw Error("styles is missing");var n=ite(e),r=ste(e,n);return new ax(r,n,t.styles)}function ite(e){var t=Object.create(null);return e.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];t[r]=ote(n)}),t}function ote(e){var t=Object.create(null),n=null;if(e.getElementsByTagName("w:lvl").forEach(function(i){var o=i.attributes["w:ilvl"],s=i.firstOrEmpty("w:numFmt").attributes["w:val"],a=s!=="bullet",c=i.firstOrEmpty("w:pStyle").attributes["w:val"];if(o===void 0)n={isOrdered:a,level:"0",paragraphStyleId:c};else t[o]={isOrdered:a,level:o,paragraphStyleId:c}}),n!==null&&t[n.level]===void 0)t[n.level]=n;var r=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:r}}function ste(e){var t=Object.create(null);return e.getElementsByTagName("w:num").forEach(function(n){var r=n.attributes["w:numId"],i=n.first("w:abstractNumId").attributes["w:val"];t[r]={abstractNumId:i}}),t}});var y3=U(function(gte){gte.readStylesXml=dte;gte.Styles=Jc;gte.defaultStyles=new Jc({},{});function Jc(e,t,n,r){return{findParagraphStyleById:function(i){return e[i]},findCharacterStyleById:function(i){return t[i]},findTableStyleById:function(i){return n[i]},findNumberingStyleById:function(i){return r[i]}}}Jc.EMPTY=new Jc({},{},{},{});function dte(e){var t=Object.create(null),n=Object.create(null),r=Object.create(null),i=Object.create(null);return e.getElementsByTagName("w:style").forEach(function(o){var s=fte(o),a;switch(s.type){case"paragraph":a=t;break;case"character":a=n;break;case"table":a=r;break;case"numbering":a=i;break}if(a&&a[s.styleId]===void 0)a[s.styleId]=s}),new Jc(t,n,r,i)}function fte(e){var t=e.attributes["w:type"];if(t==="numbering")return hte(t,e);else{var n=m3(e),r=pte(e);return{type:t,styleId:n,name:r}}}function pte(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function hte(e,t){var n=m3(t),r=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{type:e,numId:r,styleId:n}}function m3(e){return e.attributes["w:styleId"]}});var v3=U(function(Yf){var vte=$r(),xte=Sn().Result;Yf.createFootnotesReader=b3.bind(Yf,"footnote");Yf.createEndnotesReader=b3.bind(Yf,"endnote");function b3(e,t){function n(o){return xte.combine(o.getElementsByTagName("w:"+e).filter(r).map(i))}function r(o){var s=o.attributes["w:type"];return s!=="continuationSeparator"&&s!=="separator"}function i(o){var s=o.attributes["w:id"];return t.readXmlElements(o.children).map(function(a){return vte.Note({noteType:e,noteId:s,body:a})})}return n}});var x3=U(function(Ste){var _te=$r(),Dte=Sn().Result;function Ete(e){function t(r){return Dte.combine(r.getElementsByTagName("w:comment").map(n))}function n(r){var i=r.attributes["w:id"];function o(s){return(r.attributes[s]||"").trim()||null}return e.readXmlElements(r.children).map(function(s){return _te.comment({commentId:i,body:s,authorName:o("w:author"),authorInitials:o("w:initials")})})}return t}Ste.createCommentsReader=Ete});var D3=U(function(DDe,Jf){function w3(e){return e.charAt(0)==="/"}function _3(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,n=t.exec(e),r=n[1]||"",i=Boolean(r&&r.charAt(1)!==":");return Boolean(n[2]||i)}Jf.exports=process.platform==="win32"?_3:w3;Jf.exports.posix=w3;Jf.exports.win32=_3});var T3=U(function(Mte){var E3=ne("fs"),Cte=ne("url"),Ate=ne("os"),kte=ne("path").dirname,Ute=ne("path").resolve,Rte=D3(),As=Jn();Mte.Files=Fte;Mte.uriToPath=S3;function Fte(e){if(e=e||{},!e.externalFileAccess)return{read:function(i){return As.reject(Error("could not read external image '"+i+"', external file access is disabled"))}};var t=e.relativeToFile?kte(e.relativeToFile):null;function n(i,o){return r(i).then(function(s){return Pte(s,o).caught(function(a){var c="could not open external image: '"+i+"' (document directory: '"+t+`')
|
|
206
|
-
`+a.message;return As.reject(Error(c))})})}function r(i){var o=S3(i);if(Rte(o))return As.resolve(o);else if(t)return As.resolve(Ute(t,o));else return As.reject(Error("could not find external image '"+i+"', path of input document is unknown"))}return{read:n}}var Pte=As.promisify(E3.readFile.bind(E3));function S3(e,t){if(!t)t=Ate.platform();var n=Cte.parse(e);if(Ote(n)||Ite(n)){var r=decodeURIComponent(n.path);if(t==="win32"&&/^\/[a-z]:/i.test(r))return r.slice(1);else return r}else throw Error("Could not convert URI to path: "+e)}function Ote(e){return e.protocol==="file:"&&(!e.host||e.host==="localhost")}function Ite(e){return!e.protocol&&!e.host}});var I3=U(function(Yte){Yte.read=Gte;Yte._findPartPaths=P3;var Bte=Jn(),Wte=$r(),cx=Sn().Result,ep=Iv(),F3=VP().readXmlFromZipFile,jte=l3().createBodyReader,qte=d3().DocumentXmlReader,ks=f3(),C3=h3(),A3=g3(),k3=y3(),U3=v3(),$te=x3(),Hte=T3().Files;function Gte(e,t,n){t=t||{},n=n||{};var r=new Hte({externalFileAccess:n.externalFileAccess,relativeToFile:t.path});return Bte.props({contentTypes:Vte(e),partPaths:P3(e),docxFile:e,files:r}).also(function(i){return{styles:Kte(e,i.partPaths.styles)}}).also(function(i){return{numbering:Xte(e,i.partPaths.numbering,i.styles)}}).also(function(i){return{footnotes:Qf(i.partPaths.footnotes,i,function(o,s){if(s)return U3.createFootnotesReader(o)(s);else return new cx([])}),endnotes:Qf(i.partPaths.endnotes,i,function(o,s){if(s)return U3.createEndnotesReader(o)(s);else return new cx([])}),comments:Qf(i.partPaths.comments,i,function(o,s){if(s)return $te.createCommentsReader(o)(s);else return new cx([])})}}).also(function(i){return{notes:i.footnotes.flatMap(function(o){return i.endnotes.map(function(s){return new Wte.Notes(o.concat(s))})})}}).then(function(i){return Qf(i.partPaths.mainDocument,i,function(o,s){return i.notes.flatMap(function(a){return i.comments.flatMap(function(c){var u=new qte({bodyReader:o,notes:a,comments:c});return u.convertXmlToDocument(s)})})})})}function P3(e){return Zte(e).then(function(t){var n=R3({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(n))throw Error("Could not find main document part. Are you sure this is a valid .docx file?");return Us({filename:O3(n),readElement:ks.readRelationships,defaultValue:ks.defaultValue})(e).then(function(r){function i(o){return R3({docxFile:e,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+o,basePath:ep.splitPath(n).dirname,fallbackPath:"word/"+o+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}})})}function R3(e){var{docxFile:t,relationships:n,relationshipType:r,basePath:i,fallbackPath:o}=e,s=n.findTargetsByType(r),a=s.map(function(u){return zte(ep.joinPath(i,u),"/")}),c=a.filter(function(u){return t.exists(u)});if(c.length===0)return o;else return c[0]}function zte(e,t){if(e.substring(0,t.length)===t)return e.substring(t.length);else return e}function Us(e){return function(t){return F3(t,e.filename).then(function(n){return n?e.readElement(n):e.defaultValue})}}function Qf(e,t,n){var r=Us({filename:O3(e),readElement:ks.readRelationships,defaultValue:ks.defaultValue});return r(t.docxFile).then(function(i){var o=new jte({relationships:i,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return F3(t.docxFile,e).then(function(s){return n(o,s)})})}function O3(e){var t=ep.splitPath(e);return ep.joinPath(t.dirname,"_rels",t.basename+".rels")}var Vte=Us({filename:"[Content_Types].xml",readElement:C3.readContentTypesFromXml,defaultValue:C3.defaultContentTypes});function Xte(e,t,n){return Us({filename:t,readElement:function(r){return A3.readNumberingXml(r,{styles:n})},defaultValue:A3.defaultNumbering})(e)}function Kte(e,t){return Us({filename:t,readElement:k3.readStylesXml,defaultValue:k3.defaultStyles})(e)}var Zte=Us({filename:"_rels/.rels",readElement:ks.readRelationships,defaultValue:ks.defaultValue})});var L3=U(function(ane){var ene=We(),tne=Jn(),Qc=Gf();ane.writeStyleMap=rne;ane.readStyleMap=sne;var nne="http://schemas.zwobble.org/mammoth/style-map",tp="mammoth/style-map",M3="/"+tp;function rne(e,t){return e.write(tp,t),ine(e).then(function(){return one(e)})}function ine(e){var t="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",r="{"+n+"}Relationship";return e.read(t,"utf8").then(Qc.readString).then(function(i){var o=i.children;N3(o,r,"Id",{Id:"rMammothStyleMap",Type:nne,Target:M3});var s={"":n};return e.write(t,Qc.writeString(i,s))})}function one(e){var t="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",r="{"+n+"}Override";return e.read(t,"utf8").then(Qc.readString).then(function(i){var o=i.children;N3(o,r,"PartName",{PartName:M3,ContentType:"text/prs.mammoth.style-map"});var s={"":n};return e.write(t,Qc.writeString(i,s))})}function N3(e,t,n,r){var i=ene.find(e,function(o){return o.name===t&&o.attributes[n]===r[n]});if(i)i.attributes=r;else e.push(Qc.element(t,r))}function sne(e){if(e.exists(tp))return e.read(tp,"utf8");else return tne.resolve(null)}});var lx=U(function(mne){var B3=eu();function lne(e,t,n){return ux(B3.element(e,t,{fresh:!1}),n)}function dne(e,t,n){var r=B3.element(e,t,{fresh:!0});return ux(r,n)}function ux(e,t){return{type:"element",tag:e,children:t||[]}}function fne(e){return{type:"text",value:e}}var pne={type:"forceWrite"};mne.freshElement=dne;mne.nonFreshElement=lne;mne.elementWithTag=ux;mne.text=fne;mne.forceWrite=pne;var hne={br:!0,hr:!0,img:!0,input:!0};function gne(e){return e.children.length===0&&hne[e.tag.tagName]}mne.isVoidElement=gne});var G3=U(function(
|
|
205
|
+
`,this.offset="offset"in r?r.offset:0,this.dontprettytextnodes="dontprettytextnodes"in r?r.dontprettytextnodes:0;else this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0;if(this.spacebeforeslash="spacebeforeslash"in r?r.spacebeforeslash:"",this.spacebeforeslash===!0)this.spacebeforeslash=" ";this.newlinedefault=this.newline,this.prettydefault=this.pretty,o=r.writer||{};for(i in o){if(!t.call(o,i))continue;s=o[i],this[i]=s}return this},n.prototype.space=function(r){var i;if(this.pretty)if(i=(r||0)+this.offset+1,i>0)return Array(i).join(this.indent);else return"";else return""},n}()}).call(AP)});var $f=U(function(UP,RP){(function(){var e,t,n,r,i,o,s,a,c,u,d,f,p,h,g,b=function(y,x){for(var m in x)if(v.call(x,m))y[m]=x[m];function w(){this.constructor=y}return w.prototype=x.prototype,y.prototype=new w,y.__super__=x.prototype,y},v={}.hasOwnProperty;s=Bc(),a=Hc(),e=Nc(),t=Lc(),u=Mc(),f=Gc(),h=zc(),d=Vc(),c=qf(),n=Wc(),r=qc(),i=jc(),o=$c(),g=tx(),RP.exports=p=function(y){b(x,y);function x(m){x.__super__.constructor.call(this,m)}return x.prototype.document=function(m){var w,D,T,_,A;this.textispresent=!1,_="",A=m.children;for(D=0,T=A.length;D<T;D++){if(w=A[D],w instanceof c)continue;_+=function(){switch(!1){case!(w instanceof s):return this.declaration(w);case!(w instanceof a):return this.docType(w);case!(w instanceof t):return this.comment(w);case!(w instanceof d):return this.processingInstruction(w);default:return this.element(w,0)}}.call(this)}if(this.pretty&&_.slice(-this.newline.length)===this.newline)_=_.slice(0,-this.newline.length);return _},x.prototype.attribute=function(m){return" "+m.name+'="'+m.value+'"'},x.prototype.cdata=function(m,w){return this.space(w)+"<![CDATA["+m.text+"]]>"+this.newline},x.prototype.comment=function(m,w){return this.space(w)+"<!-- "+m.text+" -->"+this.newline},x.prototype.declaration=function(m,w){var D=this.space(w);if(D+='<?xml version="'+m.version+'"',m.encoding!=null)D+=' encoding="'+m.encoding+'"';if(m.standalone!=null)D+=' standalone="'+m.standalone+'"';return D+=this.spacebeforeslash+"?>",D+=this.newline,D},x.prototype.docType=function(m,w){var D,T,_,A,S;if(w||(w=0),A=this.space(w),A+="<!DOCTYPE "+m.root().name,m.pubID&&m.sysID)A+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.sysID)A+=' SYSTEM "'+m.sysID+'"';if(m.children.length>0){A+=" [",A+=this.newline,S=m.children;for(T=0,_=S.length;T<_;T++)D=S[T],A+=function(){switch(!1){case!(D instanceof n):return this.dtdAttList(D,w+1);case!(D instanceof r):return this.dtdElement(D,w+1);case!(D instanceof i):return this.dtdEntity(D,w+1);case!(D instanceof o):return this.dtdNotation(D,w+1);case!(D instanceof e):return this.cdata(D,w+1);case!(D instanceof t):return this.comment(D,w+1);case!(D instanceof d):return this.processingInstruction(D,w+1);default:throw Error("Unknown DTD node type: "+D.constructor.name)}}.call(this);A+="]"}return A+=this.spacebeforeslash+">",A+=this.newline,A},x.prototype.element=function(m,w){var D,T,_,A,S,M,P,C,L,W,H,E,R;if(w||(w=0),R=!1,this.textispresent)this.newline="",this.pretty=!1;else this.newline=this.newlinedefault,this.pretty=this.prettydefault;E=this.space(w),C="",C+=E+"<"+m.name,L=m.attributes;for(P in L){if(!v.call(L,P))continue;D=L[P],C+=this.attribute(D)}if(m.children.length===0||m.children.every(function(k){return k.value===""}))if(this.allowEmpty)C+="></"+m.name+">"+this.newline;else C+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)C+=">",C+=m.children[0].value,C+="</"+m.name+">"+this.newline;else{if(this.dontprettytextnodes){W=m.children;for(_=0,S=W.length;_<S;_++)if(T=W[_],T.value!=null){this.textispresent++,R=!0;break}}if(this.textispresent)this.newline="",this.pretty=!1,E=this.space(w);C+=">"+this.newline,H=m.children;for(A=0,M=H.length;A<M;A++)T=H[A],C+=function(){switch(!1){case!(T instanceof e):return this.cdata(T,w+1);case!(T instanceof t):return this.comment(T,w+1);case!(T instanceof u):return this.element(T,w+1);case!(T instanceof f):return this.raw(T,w+1);case!(T instanceof h):return this.text(T,w+1);case!(T instanceof d):return this.processingInstruction(T,w+1);case!(T instanceof c):return"";default:throw Error("Unknown XML node type: "+T.constructor.name)}}.call(this);if(R)this.textispresent--;if(!this.textispresent)this.newline=this.newlinedefault,this.pretty=this.prettydefault;C+=E+"</"+m.name+">"+this.newline}return C},x.prototype.processingInstruction=function(m,w){var D=this.space(w)+"<?"+m.target;if(m.value)D+=" "+m.value;return D+=this.spacebeforeslash+"?>"+this.newline,D},x.prototype.raw=function(m,w){return this.space(w)+m.value+this.newline},x.prototype.text=function(m,w){return this.space(w)+m.value+this.newline},x.prototype.dtdAttList=function(m,w){var D=this.space(w)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType;if(m.defaultValueType!=="#DEFAULT")D+=" "+m.defaultValueType;if(m.defaultValue)D+=' "'+m.defaultValue+'"';return D+=this.spacebeforeslash+">"+this.newline,D},x.prototype.dtdElement=function(m,w){return this.space(w)+"<!ELEMENT "+m.name+" "+m.value+this.spacebeforeslash+">"+this.newline},x.prototype.dtdEntity=function(m,w){var D=this.space(w)+"<!ENTITY";if(m.pe)D+=" %";if(D+=" "+m.name,m.value)D+=' "'+m.value+'"';else{if(m.pubID&&m.sysID)D+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.sysID)D+=' SYSTEM "'+m.sysID+'"';if(m.nData)D+=" NDATA "+m.nData}return D+=this.spacebeforeslash+">"+this.newline,D},x.prototype.dtdNotation=function(m,w){var D=this.space(w)+"<!NOTATION "+m.name;if(m.pubID&&m.sysID)D+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.pubID)D+=' PUBLIC "'+m.pubID+'"';else if(m.sysID)D+=' SYSTEM "'+m.sysID+'"';return D+=this.spacebeforeslash+">"+this.newline,D},x.prototype.openNode=function(m,w){var D,T,_,A;if(w||(w=0),m instanceof u){_=this.space(w)+"<"+m.name,A=m.attributes;for(T in A){if(!v.call(A,T))continue;D=A[T],_+=this.attribute(D)}return _+=(m.children?">":"/>")+this.newline,_}else{if(_=this.space(w)+"<!DOCTYPE "+m.rootNodeName,m.pubID&&m.sysID)_+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"';else if(m.sysID)_+=' SYSTEM "'+m.sysID+'"';return _+=(m.children?" [":">")+this.newline,_}},x.prototype.closeNode=function(m,w){switch(w||(w=0),!1){case!(m instanceof u):return this.space(w)+"</"+m.name+">"+this.newline;case!(m instanceof a):return this.space(w)+"]>"+this.newline}},x}(g)}).call(UP)});var OP=U(function(FP,PP){(function(){var e,t,n,r,i,o=function(a,c){for(var u in c)if(s.call(c,u))a[u]=c[u];function d(){this.constructor=a}return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},s={}.hasOwnProperty;i=dr().isPlainObject,t=Ct(),r=ex(),n=$f(),PP.exports=e=function(a){o(c,a);function c(u){if(c.__super__.constructor.call(this,null),this.name="?xml",u||(u={}),!u.writer)u.writer=new n;this.options=u,this.stringify=new r(u),this.isDocument=!0}return c.prototype.end=function(u){var d;if(!u)u=this.options.writer;else if(i(u))d=u,u=this.options.writer.set(d);return u.document(this)},c.prototype.toString=function(u){return this.options.writer.set(u).document(this)},c}(t)}).call(FP)});var NP=U(function(IP,MP){(function(){var e,t,n,r,i,o,s,a,c,u,d,f,p,h,g,b,v,y,x,m,w,D={}.hasOwnProperty;w=dr(),x=w.isObject,y=w.isFunction,m=w.isPlainObject,v=w.getValue,d=Mc(),t=Nc(),n=Lc(),p=Gc(),b=zc(),f=Vc(),a=Bc(),c=Hc(),r=Wc(),o=jc(),i=qc(),s=$c(),e=Qv(),g=ex(),h=$f(),MP.exports=u=function(){function T(_,A,S){var M;if(this.name="?xml",_||(_={}),!_.writer)_.writer=new h(_);else if(m(_.writer))M=_.writer,_.writer=new h(M);this.options=_,this.writer=_.writer,this.stringify=new g(_),this.onDataCallback=A||function(){},this.onEndCallback=S||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return T.prototype.node=function(_,A,S){var M,P;if(_==null)throw Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw Error("Document can only have one root node. "+this.debugInfo(_));if(this.openCurrent(),_=v(_),A===null&&S==null)M=[{},null],A=M[0],S=M[1];if(A==null)A={};if(A=v(A),!x(A))P=[A,S],S=P[0],A=P[1];if(this.currentNode=new d(this,_,A),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,S!=null)this.text(S);return this},T.prototype.element=function(_,A,S){if(this.currentNode&&this.currentNode instanceof c)return this.dtdElement.apply(this,arguments);else return this.node(_,A,S)},T.prototype.attribute=function(_,A){var S,M;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(_));if(_!=null)_=v(_);if(x(_))for(S in _){if(!D.call(_,S))continue;M=_[S],this.attribute(S,M)}else{if(y(A))A=A.apply();if(!this.options.skipNullAttributes||A!=null)this.currentNode.attributes[_]=new e(this,_,A)}return this},T.prototype.text=function(_){var A;return this.openCurrent(),A=new b(this,_),this.onData(this.writer.text(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.cdata=function(_){var A;return this.openCurrent(),A=new t(this,_),this.onData(this.writer.cdata(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.comment=function(_){var A;return this.openCurrent(),A=new n(this,_),this.onData(this.writer.comment(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.raw=function(_){var A;return this.openCurrent(),A=new p(this,_),this.onData(this.writer.raw(A,this.currentLevel+1),this.currentLevel+1),this},T.prototype.instruction=function(_,A){var S,M,P,C,L;if(this.openCurrent(),_!=null)_=v(_);if(A!=null)A=v(A);if(Array.isArray(_))for(S=0,C=_.length;S<C;S++)M=_[S],this.instruction(M);else if(x(_))for(M in _){if(!D.call(_,M))continue;P=_[M],this.instruction(M,P)}else{if(y(A))A=A.apply();L=new f(this,_,A),this.onData(this.writer.processingInstruction(L,this.currentLevel+1),this.currentLevel+1)}return this},T.prototype.declaration=function(_,A,S){var M;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return M=new a(this,_,A,S),this.onData(this.writer.declaration(M,this.currentLevel+1),this.currentLevel+1),this},T.prototype.doctype=function(_,A,S){if(this.openCurrent(),_==null)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new c(this,A,S),this.currentNode.rootNodeName=_,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},T.prototype.dtdElement=function(_,A){var S;return this.openCurrent(),S=new i(this,_,A),this.onData(this.writer.dtdElement(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.attList=function(_,A,S,M,P){var C;return this.openCurrent(),C=new r(this,_,A,S,M,P),this.onData(this.writer.dtdAttList(C,this.currentLevel+1),this.currentLevel+1),this},T.prototype.entity=function(_,A){var S;return this.openCurrent(),S=new o(this,!1,_,A),this.onData(this.writer.dtdEntity(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.pEntity=function(_,A){var S;return this.openCurrent(),S=new o(this,!0,_,A),this.onData(this.writer.dtdEntity(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.notation=function(_,A){var S;return this.openCurrent(),S=new s(this,_,A),this.onData(this.writer.dtdNotation(S,this.currentLevel+1),this.currentLevel+1),this},T.prototype.up=function(){if(this.currentLevel<0)throw Error("The document node has no parent.");if(this.currentNode){if(this.currentNode.children)this.closeNode(this.currentNode);else this.openNode(this.currentNode);this.currentNode=null}else this.closeNode(this.openTags[this.currentLevel]);return delete this.openTags[this.currentLevel],this.currentLevel--,this},T.prototype.end=function(){while(this.currentLevel>=0)this.up();return this.onEnd()},T.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},T.prototype.openNode=function(_){if(!_.isOpen){if(!this.root&&this.currentLevel===0&&_ instanceof d)this.root=_;return this.onData(this.writer.openNode(_,this.currentLevel),this.currentLevel),_.isOpen=!0}},T.prototype.closeNode=function(_){if(!_.isClosed)return this.onData(this.writer.closeNode(_,this.currentLevel),this.currentLevel),_.isClosed=!0},T.prototype.onData=function(_,A){return this.documentStarted=!0,this.onDataCallback(_,A+1)},T.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},T.prototype.debugInfo=function(_){if(_==null)return"";else return"node: <"+_+">"},T.prototype.ele=function(){return this.element.apply(this,arguments)},T.prototype.nod=function(_,A,S){return this.node(_,A,S)},T.prototype.txt=function(_){return this.text(_)},T.prototype.dat=function(_){return this.cdata(_)},T.prototype.com=function(_){return this.comment(_)},T.prototype.ins=function(_,A){return this.instruction(_,A)},T.prototype.dec=function(_,A,S){return this.declaration(_,A,S)},T.prototype.dtd=function(_,A,S){return this.doctype(_,A,S)},T.prototype.e=function(_,A,S){return this.element(_,A,S)},T.prototype.n=function(_,A,S){return this.node(_,A,S)},T.prototype.t=function(_){return this.text(_)},T.prototype.d=function(_){return this.cdata(_)},T.prototype.c=function(_){return this.comment(_)},T.prototype.r=function(_){return this.raw(_)},T.prototype.i=function(_,A){return this.instruction(_,A)},T.prototype.att=function(){if(this.currentNode&&this.currentNode instanceof c)return this.attList.apply(this,arguments);else return this.attribute.apply(this,arguments)},T.prototype.a=function(){if(this.currentNode&&this.currentNode instanceof c)return this.attList.apply(this,arguments);else return this.attribute.apply(this,arguments)},T.prototype.ent=function(_,A){return this.entity(_,A)},T.prototype.pent=function(_,A){return this.pEntity(_,A)},T.prototype.not=function(_,A){return this.notation(_,A)},T}()}).call(IP)});var WP=U(function(LP,BP){(function(){var e,t,n,r,i,o,s,a,c,u,d,f,p,h,g,b=function(y,x){for(var m in x)if(v.call(x,m))y[m]=x[m];function w(){this.constructor=y}return w.prototype=x.prototype,y.prototype=new w,y.__super__=x.prototype,y},v={}.hasOwnProperty;s=Bc(),a=Hc(),e=Nc(),t=Lc(),u=Mc(),f=Gc(),h=zc(),d=Vc(),c=qf(),n=Wc(),r=qc(),i=jc(),o=$c(),g=tx(),BP.exports=p=function(y){b(x,y);function x(m,w){x.__super__.constructor.call(this,w),this.stream=m}return x.prototype.document=function(m){var w,D,T,_,A,S,M,P;S=m.children;for(D=0,_=S.length;D<_;D++)w=S[D],w.isLastRootNode=!1;m.children[m.children.length-1].isLastRootNode=!0,M=m.children,P=[];for(T=0,A=M.length;T<A;T++){if(w=M[T],w instanceof c)continue;switch(!1){case!(w instanceof s):P.push(this.declaration(w));break;case!(w instanceof a):P.push(this.docType(w));break;case!(w instanceof t):P.push(this.comment(w));break;case!(w instanceof d):P.push(this.processingInstruction(w));break;default:P.push(this.element(w))}}return P},x.prototype.attribute=function(m){return this.stream.write(" "+m.name+'="'+m.value+'"')},x.prototype.cdata=function(m,w){return this.stream.write(this.space(w)+"<![CDATA["+m.text+"]]>"+this.endline(m))},x.prototype.comment=function(m,w){return this.stream.write(this.space(w)+"<!-- "+m.text+" -->"+this.endline(m))},x.prototype.declaration=function(m,w){if(this.stream.write(this.space(w)),this.stream.write('<?xml version="'+m.version+'"'),m.encoding!=null)this.stream.write(' encoding="'+m.encoding+'"');if(m.standalone!=null)this.stream.write(' standalone="'+m.standalone+'"');return this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(m))},x.prototype.docType=function(m,w){var D,T,_,A;if(w||(w=0),this.stream.write(this.space(w)),this.stream.write("<!DOCTYPE "+m.root().name),m.pubID&&m.sysID)this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"');else if(m.sysID)this.stream.write(' SYSTEM "'+m.sysID+'"');if(m.children.length>0){this.stream.write(" ["),this.stream.write(this.endline(m)),A=m.children;for(T=0,_=A.length;T<_;T++)switch(D=A[T],!1){case!(D instanceof n):this.dtdAttList(D,w+1);break;case!(D instanceof r):this.dtdElement(D,w+1);break;case!(D instanceof i):this.dtdEntity(D,w+1);break;case!(D instanceof o):this.dtdNotation(D,w+1);break;case!(D instanceof e):this.cdata(D,w+1);break;case!(D instanceof t):this.comment(D,w+1);break;case!(D instanceof d):this.processingInstruction(D,w+1);break;default:throw Error("Unknown DTD node type: "+D.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(m))},x.prototype.element=function(m,w){var D,T,_,A,S,M,P,C;w||(w=0),C=this.space(w),this.stream.write(C+"<"+m.name),M=m.attributes;for(S in M){if(!v.call(M,S))continue;D=M[S],this.attribute(D)}if(m.children.length===0||m.children.every(function(L){return L.value===""}))if(this.allowEmpty)this.stream.write("></"+m.name+">");else this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)this.stream.write(">"),this.stream.write(m.children[0].value),this.stream.write("</"+m.name+">");else{this.stream.write(">"+this.newline),P=m.children;for(_=0,A=P.length;_<A;_++)switch(T=P[_],!1){case!(T instanceof e):this.cdata(T,w+1);break;case!(T instanceof t):this.comment(T,w+1);break;case!(T instanceof u):this.element(T,w+1);break;case!(T instanceof f):this.raw(T,w+1);break;case!(T instanceof h):this.text(T,w+1);break;case!(T instanceof d):this.processingInstruction(T,w+1);break;case!(T instanceof c):break;default:throw Error("Unknown XML node type: "+T.constructor.name)}this.stream.write(C+"</"+m.name+">")}return this.stream.write(this.endline(m))},x.prototype.processingInstruction=function(m,w){if(this.stream.write(this.space(w)+"<?"+m.target),m.value)this.stream.write(" "+m.value);return this.stream.write(this.spacebeforeslash+"?>"+this.endline(m))},x.prototype.raw=function(m,w){return this.stream.write(this.space(w)+m.value+this.endline(m))},x.prototype.text=function(m,w){return this.stream.write(this.space(w)+m.value+this.endline(m))},x.prototype.dtdAttList=function(m,w){if(this.stream.write(this.space(w)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType),m.defaultValueType!=="#DEFAULT")this.stream.write(" "+m.defaultValueType);if(m.defaultValue)this.stream.write(' "'+m.defaultValue+'"');return this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.dtdElement=function(m,w){return this.stream.write(this.space(w)+"<!ELEMENT "+m.name+" "+m.value),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.dtdEntity=function(m,w){if(this.stream.write(this.space(w)+"<!ENTITY"),m.pe)this.stream.write(" %");if(this.stream.write(" "+m.name),m.value)this.stream.write(' "'+m.value+'"');else{if(m.pubID&&m.sysID)this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"');else if(m.sysID)this.stream.write(' SYSTEM "'+m.sysID+'"');if(m.nData)this.stream.write(" NDATA "+m.nData)}return this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.dtdNotation=function(m,w){if(this.stream.write(this.space(w)+"<!NOTATION "+m.name),m.pubID&&m.sysID)this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"');else if(m.pubID)this.stream.write(' PUBLIC "'+m.pubID+'"');else if(m.sysID)this.stream.write(' SYSTEM "'+m.sysID+'"');return this.stream.write(this.spacebeforeslash+">"+this.endline(m))},x.prototype.endline=function(m){if(!m.isLastRootNode)return this.newline;else return""},x}(g)}).call(LP)});var qP=U(function(jP,Xc){(function(){var e,t,n,r,i,o,s;s=dr(),i=s.assign,o=s.isFunction,e=OP(),t=NP(),r=$f(),n=WP(),jP.create=function(a,c,u,d){var f,p;if(a==null)throw Error("Root element needs a name.");if(d=i({},c,u,d),f=new e(d),p=f.element(a),!d.headless){if(f.declaration(d),d.pubID!=null||d.sysID!=null)f.doctype(d)}return p},jP.begin=function(a,c,u){var d;if(o(a))d=[a,c],c=d[0],u=d[1],a={};if(c)return new t(a,c,u);else return new e(a)},jP.stringWriter=function(a){return new r(a)},jP.streamWriter=function(a,c){return new n(a,c)}}).call(jP)});var HP=U(function(VQ){var $P=We(),HQ=qP();VQ.writeString=GQ;function GQ(e,t){var n=$P.invert(t),r={element:o,text:zQ};function i(c,u){return r[u.type](c,u)}function o(c,u){var d=c.element(s(u.name),u.attributes);u.children.forEach(function(f){i(d,f)})}function s(c){var u=/^\{(.*)\}(.*)$/.exec(c);if(u){var d=n[u[1]];return d+(d===""?"":":")+u[2]}else return c}function a(c){var u=HQ.create(s(c.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return $P.forEach(t,function(d,f){var p="xmlns"+(f===""?"":":"+f);u.attribute(p,d)}),c.children.forEach(function(d){i(u,d)}),u.end()}return a(e)}function zQ(e,t){e.text(t.value)}});var Gf=U(function(KQ){var Hf=Mv();KQ.Element=Hf.Element;KQ.element=Hf.element;KQ.emptyElement=Hf.emptyElement;KQ.text=Hf.text;KQ.readString=XF().readString;KQ.writeString=HP().writeString});var VP=U(function(cee){var nee=We(),ree=Jn(),iee=Gf();cee.read=GP;cee.readXmlFromZipFile=see;var oee={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function GP(e){return iee.readString(e,oee).then(function(t){return zP(t)[0]})}function see(e,t){if(e.exists(t))return e.read(t,"utf-8").then(aee).then(GP);else return ree.resolve(null)}function aee(e){return e.replace(/^\uFEFF/g,"")}function zP(e){if(e.type==="element")if(e.name==="mc:AlternateContent")return e.firstOrEmpty("mc:Fallback").children;else return e.children=nee.flatten(e.children.map(zP,!0)),[e];else return[e]}});var KP=U(function(XP){Object.defineProperty(XP,"__esModule",{value:!0});var dee=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];XP.default=dee});var YP=U(function(Nn){var pee=Nn&&Nn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.hex=Nn.dec=Nn.codePoint=void 0;var hee=pee(KP()),ZP={},gee=String.fromCodePoint?String.fromCodePoint:bee;for(Kc=0,zf=hee.default;Kc<zf.length;Kc++)Zc=zf[Kc],Vf=parseInt(Zc["Unicode dec"],10),nx={codePoint:Vf,string:gee(Vf)},ZP[Zc["Typeface name"].toUpperCase()+"_"+Zc["Dingbat dec"]]=nx;var Zc,Vf,nx,Kc,zf;function rx(e,t){return ZP[e.toUpperCase()+"_"+t]}Nn.codePoint=rx;function mee(e,t){return rx(e,parseInt(t,10))}Nn.dec=mee;function yee(e,t){return rx(e,parseInt(t,16))}Nn.hex=yee;function bee(e){if(e<=65535)return String.fromCharCode(e);else{var t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}}});var ox=U(function(_ee){var JP=We();_ee.paragraph=vee;_ee.run=xee;_ee._elements=QP;_ee._elementsOfType=ix;_ee.getDescendantsOfType=wee;_ee.getDescendants=e3;function vee(e){return ix("paragraph",e)}function xee(e){return ix("run",e)}function ix(e,t){return QP(function(n){if(n.type===e)return t(n);else return n})}function QP(e){return function t(n){if(n.children){var r=JP.map(n.children,t);n=JP.extend(n,{children:r})}return e(n)}}function wee(e,t){return e3(e).filter(function(n){return n.type===t})}function e3(e){var t=[];return t3(e,function(n){t.push(n)}),t}function t3(e,t){if(e.children)e.children.forEach(function(n){t3(n,t),t(n)})}});var n3=U(function(Ree){Ree.uriToZipEntryName=kee;Ree.replaceFragment=Uee;function kee(e,t){if(t.charAt(0)==="/")return t.substr(1);else return e+"/"+t}function Uee(e,t){var n=e.indexOf("#");if(n!==-1)e=e.substring(0,n);return e+"#"+t}});var l3=U(function(Bee){Bee.createBodyReader=Iee;Bee._readNumberingProperties=u3;var r3=YP(),tn=We(),Se=$r(),c3=Sn().Result,fr=Sn().warning,Oee=Gf(),i3=ox(),o3=n3();function Iee(e){return{readXmlElement:function(t){return new s3(e).readXmlElement(t)},readXmlElements:function(t){return new s3(e).readXmlElements(t)}}}function s3(e){var t=[],n=[],r=[],{relationships:i,contentTypes:o,docxFile:s,files:a,numbering:c,styles:u}=e;function d(I){var G=I.map(f);return a3(G)}function f(I){if(I.type==="element"){var G=E[I.name];if(G)return G(I);else if(!Object.prototype.hasOwnProperty.call(Nee,I.name)){var J=fr("An unrecognised element was ignored: "+I.name);return Yc([J])}}return Cs()}function p(I){return m(I).map(function(G){return{type:"paragraphProperties",styleId:G.styleId,styleName:G.name,alignment:I.firstOrEmpty("w:jc").attributes["w:val"],numbering:u3(G.styleId,I.firstOrEmpty("w:numPr"),c),indent:h(I.firstOrEmpty("w:ind"))}})}function h(I){return{start:I.attributes["w:start"]||I.attributes["w:left"],end:I.attributes["w:end"]||I.attributes["w:right"],firstLine:I.attributes["w:firstLine"],hanging:I.attributes["w:hanging"]}}function g(I){return w(I).map(function(G){var J=I.firstOrEmpty("w:sz").attributes["w:val"],ee=/^[0-9]+$/.test(J)?parseInt(J,10)/2:null;return{type:"runProperties",styleId:G.styleId,styleName:G.name,verticalAlignment:I.firstOrEmpty("w:vertAlign").attributes["w:val"],font:I.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:ee,isBold:v(I.first("w:b")),isUnderline:b(I.first("w:u")),isItalic:v(I.first("w:i")),isStrikethrough:v(I.first("w:strike")),isAllCaps:v(I.first("w:caps")),isSmallCaps:v(I.first("w:smallCaps")),highlight:x(I.firstOrEmpty("w:highlight").attributes["w:val"])}})}function b(I){if(I){var G=I.attributes["w:val"];return G!==void 0&&G!=="false"&&G!=="0"&&G!=="none"}else return!1}function v(I){if(I){var G=I.attributes["w:val"];return G!=="false"&&G!=="0"}else return!1}function y(I){return I!=="false"&&I!=="0"}function x(I){if(!I||I==="none")return null;else return I}function m(I){return T(I,"w:pStyle","Paragraph",u.findParagraphStyleById)}function w(I){return T(I,"w:rStyle","Run",u.findCharacterStyleById)}function D(I){return T(I,"w:tblStyle","Table",u.findTableStyleById)}function T(I,G,J,ee){var se=[],ge=I.first(G),Te=null,wt=null;if(ge){if(Te=ge.attributes["w:val"],Te){var ot=ee(Te);if(ot)wt=ot.name;else se.push(xu(J,Te))}}return Xf({styleId:Te,name:wt},se)}function _(I){var G=I.attributes["w:fldCharType"];if(G==="begin")t.push({type:"begin",fldChar:I}),n=[];else if(G==="end"){var J=t.pop();if(J.type==="begin")J=S(J);if(J.type==="checkbox")return $t(Se.checkbox({checked:J.checked}))}else if(G==="separate"){var ee=t.pop(),se=S(ee);t.push(se)}return Cs()}function A(){var I=tn.last(t.filter(function(G){return G.type==="hyperlink"}));return I?I.options:null}function S(I){return M(n.join(""),I.type==="begin"?I.fldChar:Oee.emptyElement)}function M(I,G){var J=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(I);if(J){var ee=J[2]===void 0?J[3]:J[2],se=J[1]===void 0?{href:ee}:{anchor:ee};return{type:"hyperlink",options:se}}var ge=/\s*FORMCHECKBOX\s*/.exec(I);if(ge){var Te=G.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),wt=Te.first("w:checked"),ot=wt==null?v(Te.first("w:default")):v(wt);return{type:"checkbox",checked:ot}}return{type:"unknown"}}function P(I){return n.push(I.text()),Cs()}function C(I){var G=I.attributes["w:font"],J=I.attributes["w:char"],ee=r3.hex(G,J);if(ee==null&&/^F0..$/.test(J))ee=r3.hex(G,J.substring(2));if(ee==null)return Yc([fr("A w:sym element with an unsupported character was ignored: char "+J+" in font "+G)]);else return $t(new Se.Text(ee.string))}function L(I){return function(G){var J=G.attributes["w:id"];return $t(new Se.NoteReference({noteType:I,noteId:J}))}}function W(I){return $t(Se.commentReference({commentId:I.attributes["w:id"]}))}function H(I){return d(I.children)}var E={"w:p":function(I){var G=I.firstOrEmpty("w:pPr"),J=!!G.firstOrEmpty("w:rPr").first("w:del");if(J)return I.children.forEach(function(se){r.push(se)}),Cs();else{var ee=I.children;if(r.length>0)ee=r.concat(ee),r=[];return lt.map(p(G),d(ee),function(se,ge){return new Se.Paragraph(ge,se)}).insertExtra()}},"w:r":function(I){return lt.map(g(I.firstOrEmpty("w:rPr")),d(I.children),function(G,J){var ee=A();if(ee!==null)J=[new Se.Hyperlink(J,ee)];return new Se.Run(J,G)})},"w:fldChar":_,"w:instrText":P,"w:t":function(I){return $t(new Se.Text(I.text()))},"w:tab":function(I){return $t(new Se.Tab)},"w:noBreakHyphen":function(){return $t(new Se.Text("‑"))},"w:softHyphen":function(I){return $t(new Se.Text(""))},"w:sym":C,"w:hyperlink":function(I){var G=I.attributes["r:id"],J=I.attributes["w:anchor"];return d(I.children).map(function(ee){function se(Te){var wt=I.attributes["w:tgtFrame"]||null;return new Se.Hyperlink(ee,tn.extend({targetFrame:wt},Te))}if(G){var ge=i.findTargetByRelationshipId(G);if(J)ge=o3.replaceFragment(ge,J);return se({href:ge})}else if(J)return se({anchor:J});else return ee})},"w:tbl":R,"w:tr":F,"w:tc":B,"w:footnoteReference":L("footnote"),"w:endnoteReference":L("endnote"),"w:commentReference":W,"w:br":function(I){var G=I.attributes["w:type"];if(G==null||G==="textWrapping")return $t(Se.lineBreak);else if(G==="page")return $t(Se.pageBreak);else if(G==="column")return $t(Se.columnBreak);else return Yc([fr("Unsupported break type: "+G)])},"w:bookmarkStart":function(I){var G=I.attributes["w:name"];if(G==="_GoBack")return Cs();else return $t(new Se.BookmarkStart({name:G}))},"mc:AlternateContent":function(I){return H(I.firstOrEmpty("mc:Fallback"))},"w:sdt":function(I){var G=d(I.firstOrEmpty("w:sdtContent").children);return G.map(function(J){var ee=I.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(ee){var se=ee.first("wordml:checked"),ge=!!se&&y(se.attributes["wordml:val"]),Te=Se.checkbox({checked:ge}),wt=!1,ot=J.map(i3._elementsOfType(Se.types.text,function(di){if(di.value.length>0&&!wt)return wt=!0,Te;else return di}));if(wt)return ot;else return Te}else return J})},"w:ins":H,"w:object":H,"w:smartTag":H,"w:drawing":H,"w:pict":function(I){return H(I).toExtra()},"v:roundrect":H,"v:shape":H,"v:textbox":H,"w:txbxContent":H,"wp:inline":fe,"wp:anchor":fe,"v:imagedata":hn,"v:group":H,"v:rect":H};return{readXmlElement:f,readXmlElements:d};function R(I){var G=k(I.firstOrEmpty("w:tblPr"));return d(I.children).flatMap(K).flatMap(function(J){return G.map(function(ee){return Se.Table(J,ee)})})}function k(I){return D(I).map(function(G){return{styleId:G.styleId,styleName:G.name}})}function F(I){var G=I.firstOrEmpty("w:trPr"),J=!!G.first("w:del");if(J)return Cs();var ee=!!G.first("w:tblHeader");return d(I.children).map(function(se){return Se.TableRow(se,{isHeader:ee})})}function B(I){return d(I.children).map(function(G){var J=I.firstOrEmpty("w:tcPr"),ee=J.firstOrEmpty("w:gridSpan").attributes["w:val"],se=ee?parseInt(ee,10):1,ge=Se.TableCell(G,{colSpan:se});return ge._vMerge=j(J),ge})}function j(I){var G=I.first("w:vMerge");if(G){var J=G.attributes["w:val"];return J==="continue"||!J}else return null}function K(I){var G=tn.any(I,function(se){return se.type!==Se.types.tableRow});if(G)return Q(I),Xf(I,[fr("unexpected non-row element in table, cell merging may be incorrect")]);var J=tn.any(I,function(se){return tn.any(se.children,function(ge){return ge.type!==Se.types.tableCell})});if(J)return Q(I),Xf(I,[fr("unexpected non-cell element in table row, cell merging may be incorrect")]);var ee={};return I.forEach(function(se){var ge=0;se.children.forEach(function(Te){if(Te._vMerge&&ee[ge])ee[ge].rowSpan++;else ee[ge]=Te,Te._vMerge=!1;ge+=Te.colSpan})}),I.forEach(function(se){se.children=se.children.filter(function(ge){return!ge._vMerge}),se.children.forEach(function(ge){delete ge._vMerge})}),$t(I)}function Q(I){I.forEach(function(G){var J=i3.getDescendantsOfType(G,Se.types.tableCell);J.forEach(function(ee){delete ee._vMerge})})}function fe(I){var G=I.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return a3(G.map(ke.bind(null,I)))}function ke(I,G){var J=I.firstOrEmpty("wp:docPr"),ee=J.attributes,se=ve(ee.descr)?ee.title:ee.descr,ge=dt(G);if(ge===null)return Yc([fr("Could not find image file for a:blip element")]);return oo(ge,se).map(function(Te){var wt=J.firstOrEmpty("a:hlinkClick"),ot=wt.attributes["r:id"];if(ot){var di=i.findTargetByRelationshipId(ot);return new Se.Hyperlink([Te],{href:di})}else return Te})}function ve(I){return I==null||/^\s*$/.test(I)}function dt(I){var G=I.attributes["r:embed"],J=I.attributes["r:link"];if(G)return mr(G);else if(J){var ee=i.findTargetByRelationshipId(J);return{path:ee,read:a.read.bind(a,ee)}}else return null}function hn(I){var G=I.attributes["r:id"];if(G)return oo(mr(G),I.attributes["o:title"]);else return Yc([fr("A v:imagedata element without a relationship ID was ignored")])}function mr(I){var G=o3.uriToZipEntryName("word",i.findTargetByRelationshipId(I));return{path:G,read:s.read.bind(s,G)}}function oo(I,G){var J=o.findContentType(I.path),ee=Se.Image({readImage:I.read,altText:G,contentType:J}),se=Mee[J]?[]:fr("Image of type "+J+" is unlikely to display in web browsers");return Xf(ee,se)}function xu(I,G){return fr(I+" style with ID "+G+" was referenced but not defined in the document")}}function u3(e,t,n){var r=t.firstOrEmpty("w:ilvl").attributes["w:val"],i=t.firstOrEmpty("w:numId").attributes["w:val"];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(e!=null){var o=n.findLevelByParagraphStyleId(e);if(o!=null)return o}if(i!==void 0)return n.findLevel(i,"0");return null}var Mee={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},Nee={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function Yc(e){return new lt(null,null,e)}function Cs(){return new lt(null)}function $t(e){return new lt(e)}function Xf(e,t){return new lt(e,null,t)}function lt(e,t,n){this.value=e||[],this.extra=t||[],this._result=new c3({element:this.value,extra:t},n),this.messages=this._result.messages}lt.prototype.toExtra=function(){return new lt(null,Kf(this.extra,this.value),this.messages)};lt.prototype.insertExtra=function(){var e=this.extra;if(e&&e.length)return new lt(Kf(this.value,e),null,this.messages);else return this};lt.prototype.map=function(e){var t=this._result.map(function(n){return e(n.element)});return new lt(t.value,this.extra,t.messages)};lt.prototype.flatMap=function(e){var t=this._result.flatMap(function(n){return e(n.element)._result});return new lt(t.value.element,Kf(this.extra,t.value.extra),t.messages)};lt.map=function(e,t,n){return new lt(n(e.value,t.value),Kf(e.extra,t.extra),e.messages.concat(t.messages))};function a3(e){var t=c3.combine(tn.pluck(e,"_result"));return new lt(tn.flatten(tn.pluck(t.value,"element")),tn.filter(tn.flatten(tn.pluck(t.value,"extra")),Lee),t.messages)}function Kf(e,t){return tn.flatten([e,t])}function Lee(e){return e}});var d3=U(function(Gee){Gee.DocumentXmlReader=Hee;var qee=$r(),$ee=Sn().Result;function Hee(e){var t=e.bodyReader;function n(r){var i=r.first("w:body");if(i==null)throw Error("Could not find the body element: are you sure this is a docx file?");var o=t.readXmlElements(i.children).map(function(s){return new qee.Document(s,{notes:e.notes,comments:e.comments})});return new $ee(o.value,o.messages)}return{convertXmlToDocument:n}}});var f3=U(function(Xee){Xee.readRelationships=Vee;Xee.defaultValue=new sx([]);Xee.Relationships=sx;function Vee(e){var t=[];return e.children.forEach(function(n){if(n.name==="relationships:Relationship"){var r={relationshipId:n.attributes.Id,target:n.attributes.Target,type:n.attributes.Type};t.push(r)}}),new sx(t)}function sx(e){var t=Object.create(null);e.forEach(function(r){t[r.relationshipId]=r.target});var n=Object.create(null);return e.forEach(function(r){if(!n[r.type])n[r.type]=[];n[r.type].push(r.target)}),{findTargetByRelationshipId:function(r){return t[r]},findTargetsByType:function(r){return n[r]||[]}}}});var h3=U(function(ete){ete.readContentTypesFromXml=Qee;var Jee={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};ete.defaultContentTypes=p3({},{});function Qee(e){var t=Object.create(null),n=Object.create(null);return e.children.forEach(function(r){if(r.name==="content-types:Default")t[r.attributes.Extension]=r.attributes.ContentType;if(r.name==="content-types:Override"){var i=r.attributes.PartName;if(i.charAt(0)==="/")i=i.substring(1);n[i]=r.attributes.ContentType}}),p3(n,t)}function p3(e,t){return{findContentType:function(n){var r=e[n];if(r)return r;else{var i=n.split("."),o=i[i.length-1];if(Object.prototype.hasOwnProperty.call(t,o))return t[o];else{var s=Jee[o.toLowerCase()];if(s)return"image/"+s;else return null}}}}}});var g3=U(function(ate){var Zf=We();ate.readNumberingXml=rte;ate.Numbering=ax;ate.defaultNumbering=new ax({},{});function ax(e,t,n){var r=Zf.flatten(Zf.values(t).map(function(c){return Zf.values(c.levels)})),i=Zf.indexBy(r.filter(function(c){return c.paragraphStyleId!=null}),"paragraphStyleId");function o(c,u){return s(c,u,Object.create(null))}function s(c,u,d){if(d[c])return null;d[c]=!0;var f=e[c];if(!f)return null;var p=t[f.abstractNumId];if(!p)return null;else if(p.numStyleLink==null)return t[f.abstractNumId].levels[u];else{var h=n.findNumberingStyleById(p.numStyleLink);return s(h.numId,u,d)}}function a(c){return i[c]||null}return{findLevel:o,findLevelByParagraphStyleId:a}}function rte(e,t){if(!t||!t.styles)throw Error("styles is missing");var n=ite(e),r=ste(e,n);return new ax(r,n,t.styles)}function ite(e){var t=Object.create(null);return e.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];t[r]=ote(n)}),t}function ote(e){var t=Object.create(null),n=null;if(e.getElementsByTagName("w:lvl").forEach(function(i){var o=i.attributes["w:ilvl"],s=i.firstOrEmpty("w:numFmt").attributes["w:val"],a=s!=="bullet",c=i.firstOrEmpty("w:pStyle").attributes["w:val"];if(o===void 0)n={isOrdered:a,level:"0",paragraphStyleId:c};else t[o]={isOrdered:a,level:o,paragraphStyleId:c}}),n!==null&&t[n.level]===void 0)t[n.level]=n;var r=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:r}}function ste(e){var t=Object.create(null);return e.getElementsByTagName("w:num").forEach(function(n){var r=n.attributes["w:numId"],i=n.first("w:abstractNumId").attributes["w:val"];t[r]={abstractNumId:i}}),t}});var y3=U(function(gte){gte.readStylesXml=dte;gte.Styles=Jc;gte.defaultStyles=new Jc({},{});function Jc(e,t,n,r){return{findParagraphStyleById:function(i){return e[i]},findCharacterStyleById:function(i){return t[i]},findTableStyleById:function(i){return n[i]},findNumberingStyleById:function(i){return r[i]}}}Jc.EMPTY=new Jc({},{},{},{});function dte(e){var t=Object.create(null),n=Object.create(null),r=Object.create(null),i=Object.create(null);return e.getElementsByTagName("w:style").forEach(function(o){var s=fte(o),a;switch(s.type){case"paragraph":a=t;break;case"character":a=n;break;case"table":a=r;break;case"numbering":a=i;break}if(a&&a[s.styleId]===void 0)a[s.styleId]=s}),new Jc(t,n,r,i)}function fte(e){var t=e.attributes["w:type"];if(t==="numbering")return hte(t,e);else{var n=m3(e),r=pte(e);return{type:t,styleId:n,name:r}}}function pte(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function hte(e,t){var n=m3(t),r=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{type:e,numId:r,styleId:n}}function m3(e){return e.attributes["w:styleId"]}});var v3=U(function(Yf){var vte=$r(),xte=Sn().Result;Yf.createFootnotesReader=b3.bind(Yf,"footnote");Yf.createEndnotesReader=b3.bind(Yf,"endnote");function b3(e,t){function n(o){return xte.combine(o.getElementsByTagName("w:"+e).filter(r).map(i))}function r(o){var s=o.attributes["w:type"];return s!=="continuationSeparator"&&s!=="separator"}function i(o){var s=o.attributes["w:id"];return t.readXmlElements(o.children).map(function(a){return vte.Note({noteType:e,noteId:s,body:a})})}return n}});var x3=U(function(Ste){var _te=$r(),Dte=Sn().Result;function Ete(e){function t(r){return Dte.combine(r.getElementsByTagName("w:comment").map(n))}function n(r){var i=r.attributes["w:id"];function o(s){return(r.attributes[s]||"").trim()||null}return e.readXmlElements(r.children).map(function(s){return _te.comment({commentId:i,body:s,authorName:o("w:author"),authorInitials:o("w:initials")})})}return t}Ste.createCommentsReader=Ete});var D3=U(function(SDe,Jf){function w3(e){return e.charAt(0)==="/"}function _3(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,n=t.exec(e),r=n[1]||"",i=Boolean(r&&r.charAt(1)!==":");return Boolean(n[2]||i)}Jf.exports=process.platform==="win32"?_3:w3;Jf.exports.posix=w3;Jf.exports.win32=_3});var T3=U(function(Mte){var E3=ne("fs"),Cte=ne("url"),Ate=ne("os"),kte=ne("path").dirname,Ute=ne("path").resolve,Rte=D3(),As=Jn();Mte.Files=Fte;Mte.uriToPath=S3;function Fte(e){if(e=e||{},!e.externalFileAccess)return{read:function(i){return As.reject(Error("could not read external image '"+i+"', external file access is disabled"))}};var t=e.relativeToFile?kte(e.relativeToFile):null;function n(i,o){return r(i).then(function(s){return Pte(s,o).caught(function(a){var c="could not open external image: '"+i+"' (document directory: '"+t+`')
|
|
206
|
+
`+a.message;return As.reject(Error(c))})})}function r(i){var o=S3(i);if(Rte(o))return As.resolve(o);else if(t)return As.resolve(Ute(t,o));else return As.reject(Error("could not find external image '"+i+"', path of input document is unknown"))}return{read:n}}var Pte=As.promisify(E3.readFile.bind(E3));function S3(e,t){if(!t)t=Ate.platform();var n=Cte.parse(e);if(Ote(n)||Ite(n)){var r=decodeURIComponent(n.path);if(t==="win32"&&/^\/[a-z]:/i.test(r))return r.slice(1);else return r}else throw Error("Could not convert URI to path: "+e)}function Ote(e){return e.protocol==="file:"&&(!e.host||e.host==="localhost")}function Ite(e){return!e.protocol&&!e.host}});var I3=U(function(Yte){Yte.read=Gte;Yte._findPartPaths=P3;var Bte=Jn(),Wte=$r(),cx=Sn().Result,ep=Iv(),F3=VP().readXmlFromZipFile,jte=l3().createBodyReader,qte=d3().DocumentXmlReader,ks=f3(),C3=h3(),A3=g3(),k3=y3(),U3=v3(),$te=x3(),Hte=T3().Files;function Gte(e,t,n){t=t||{},n=n||{};var r=new Hte({externalFileAccess:n.externalFileAccess,relativeToFile:t.path});return Bte.props({contentTypes:Vte(e),partPaths:P3(e),docxFile:e,files:r}).also(function(i){return{styles:Kte(e,i.partPaths.styles)}}).also(function(i){return{numbering:Xte(e,i.partPaths.numbering,i.styles)}}).also(function(i){return{footnotes:Qf(i.partPaths.footnotes,i,function(o,s){if(s)return U3.createFootnotesReader(o)(s);else return new cx([])}),endnotes:Qf(i.partPaths.endnotes,i,function(o,s){if(s)return U3.createEndnotesReader(o)(s);else return new cx([])}),comments:Qf(i.partPaths.comments,i,function(o,s){if(s)return $te.createCommentsReader(o)(s);else return new cx([])})}}).also(function(i){return{notes:i.footnotes.flatMap(function(o){return i.endnotes.map(function(s){return new Wte.Notes(o.concat(s))})})}}).then(function(i){return Qf(i.partPaths.mainDocument,i,function(o,s){return i.notes.flatMap(function(a){return i.comments.flatMap(function(c){var u=new qte({bodyReader:o,notes:a,comments:c});return u.convertXmlToDocument(s)})})})})}function P3(e){return Zte(e).then(function(t){var n=R3({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(n))throw Error("Could not find main document part. Are you sure this is a valid .docx file?");return Us({filename:O3(n),readElement:ks.readRelationships,defaultValue:ks.defaultValue})(e).then(function(r){function i(o){return R3({docxFile:e,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+o,basePath:ep.splitPath(n).dirname,fallbackPath:"word/"+o+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}})})}function R3(e){var{docxFile:t,relationships:n,relationshipType:r,basePath:i,fallbackPath:o}=e,s=n.findTargetsByType(r),a=s.map(function(u){return zte(ep.joinPath(i,u),"/")}),c=a.filter(function(u){return t.exists(u)});if(c.length===0)return o;else return c[0]}function zte(e,t){if(e.substring(0,t.length)===t)return e.substring(t.length);else return e}function Us(e){return function(t){return F3(t,e.filename).then(function(n){return n?e.readElement(n):e.defaultValue})}}function Qf(e,t,n){var r=Us({filename:O3(e),readElement:ks.readRelationships,defaultValue:ks.defaultValue});return r(t.docxFile).then(function(i){var o=new jte({relationships:i,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return F3(t.docxFile,e).then(function(s){return n(o,s)})})}function O3(e){var t=ep.splitPath(e);return ep.joinPath(t.dirname,"_rels",t.basename+".rels")}var Vte=Us({filename:"[Content_Types].xml",readElement:C3.readContentTypesFromXml,defaultValue:C3.defaultContentTypes});function Xte(e,t,n){return Us({filename:t,readElement:function(r){return A3.readNumberingXml(r,{styles:n})},defaultValue:A3.defaultNumbering})(e)}function Kte(e,t){return Us({filename:t,readElement:k3.readStylesXml,defaultValue:k3.defaultStyles})(e)}var Zte=Us({filename:"_rels/.rels",readElement:ks.readRelationships,defaultValue:ks.defaultValue})});var L3=U(function(ane){var ene=We(),tne=Jn(),Qc=Gf();ane.writeStyleMap=rne;ane.readStyleMap=sne;var nne="http://schemas.zwobble.org/mammoth/style-map",tp="mammoth/style-map",M3="/"+tp;function rne(e,t){return e.write(tp,t),ine(e).then(function(){return one(e)})}function ine(e){var t="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",r="{"+n+"}Relationship";return e.read(t,"utf8").then(Qc.readString).then(function(i){var o=i.children;N3(o,r,"Id",{Id:"rMammothStyleMap",Type:nne,Target:M3});var s={"":n};return e.write(t,Qc.writeString(i,s))})}function one(e){var t="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",r="{"+n+"}Override";return e.read(t,"utf8").then(Qc.readString).then(function(i){var o=i.children;N3(o,r,"PartName",{PartName:M3,ContentType:"text/prs.mammoth.style-map"});var s={"":n};return e.write(t,Qc.writeString(i,s))})}function N3(e,t,n,r){var i=ene.find(e,function(o){return o.name===t&&o.attributes[n]===r[n]});if(i)i.attributes=r;else e.push(Qc.element(t,r))}function sne(e){if(e.exists(tp))return e.read(tp,"utf8");else return tne.resolve(null)}});var lx=U(function(mne){var B3=eu();function lne(e,t,n){return ux(B3.element(e,t,{fresh:!1}),n)}function dne(e,t,n){var r=B3.element(e,t,{fresh:!0});return ux(r,n)}function ux(e,t){return{type:"element",tag:e,children:t||[]}}function fne(e){return{type:"text",value:e}}var pne={type:"forceWrite"};mne.freshElement=dne;mne.nonFreshElement=lne;mne.elementWithTag=ux;mne.text=fne;mne.forceWrite=pne;var hne={br:!0,hr:!0,img:!0,input:!0};function gne(e){return e.children.length===0&&hne[e.tag.tagName]}mne.isVoidElement=gne});var G3=U(function(UDe,H3){var W3=We(),np=lx();function Dne(e){return q3($3(e))}function q3(e){var t=[];return e.map(Ene).forEach(function(n){dx(t,n)}),t}function Ene(e){return Sne[e.type](e)}var Sne={element:Tne,text:j3,forceWrite:j3};function Tne(e){return np.elementWithTag(e.tag,q3(e.children))}function j3(e){return e}function dx(e,t){var n=e[e.length-1];if(t.type==="element"&&!t.tag.fresh&&n&&n.type==="element"&&t.tag.matchesElement(n.tag)){if(t.tag.separator)dx(n.children,np.text(t.tag.separator));t.children.forEach(function(r){dx(n.children,r)})}else e.push(t)}function $3(e){return Cne(e,function(t){return Ane[t.type](t)})}function Cne(e,t){return W3.flatten(W3.map(e,t),!0)}var Ane={element:Une,text:Rne,forceWrite:kne};function kne(e){return[e]}function Une(e){var t=$3(e.children);if(t.length===0&&!np.isVoidElement(e))return[];else return[np.elementWithTag(e.tag,t)]}function Rne(e){if(e.value.length===0)return[];else return[e]}H3.exports=Dne});var tu=U(function(Mne){var Rs=lx();Mne.freshElement=Rs.freshElement;Mne.nonFreshElement=Rs.nonFreshElement;Mne.elementWithTag=Rs.elementWithTag;Mne.text=Rs.text;Mne.forceWrite=Rs.forceWrite;Mne.simplify=G3();function z3(e,t){t.forEach(function(n){Fne(e,n)})}function Fne(e,t){Pne[t.type](e,t)}var Pne={element:One,text:Ine,forceWrite:function(){}};function One(e,t){if(Rs.isVoidElement(t))e.selfClosing(t.tag.tagName,t.tag.attributes);else e.open(t.tag.tagName,t.tag.attributes),z3(e,t.children),e.close(t.tag.tagName)}function Ine(e,t){e.text(t.value)}Mne.write=z3});var eu=U(function(zne){var fx=We(),Hne=tu();zne.topLevelElement=Gne;zne.elements=px;zne.element=hx;function Gne(e,t){return px([hx(e,t,{fresh:!0})])}function px(e){return new V3(e.map(function(t){if(fx.isString(t))return hx(t);else return t}))}function V3(e){this._elements=e}V3.prototype.wrap=function(t){var n=t();for(var r=this._elements.length-1;r>=0;r--)n=this._elements[r].wrapNodes(n);return n};function hx(e,t,n){return n=n||{},new rp(e,t,n)}function rp(e,t,n){var r=Object.create(null);if(fx.isArray(e))e.forEach(function(i){r[i]=!0}),e=e[0];else r[e]=!0;this.tagName=e,this.tagNames=r,this.attributes=t||{},this.fresh=n.fresh,this.separator=n.separator}rp.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&fx.isEqual(this.attributes||{},e.attributes||{})};rp.prototype.wrap=function(t){return this.wrapNodes(t())};rp.prototype.wrapNodes=function(t){return[Hne.elementWithTag(this,t)]};zne.empty=px([]);zne.ignore={wrap:function(){return[]}}});var gx=U(function(nre){var Jne=We(),Qne=Jn(),ere=tu();nre.imgElement=X3;function X3(e){return function(t,n){return Qne.when(e(t)).then(function(r){var i={};if(t.altText)i.alt=t.altText;return Jne.extend(i,r),[ere.freshElement("img",i)]})}}nre.inline=nre.imgElement;nre.dataUri=X3(function(e){return e.readAsBase64String().then(function(t){return{src:"data:"+e.contentType+";base64,"+t}})});function tre(e){return e.contentType.split(/\/|\\/)[1]}nre.imageFilenameExtension=tre});var J3=U(function(lre){var Z3=We();lre.writer=sre;function sre(e){if(e=e||{},e.prettyPrint)return are();else return Y3()}var ip={div:!0,p:!0,ul:!0,li:!0};function are(){var e=0,t=" ",n=[],r=!0,i=!1,o=Y3();function s(g,b){if(ip[g])p();if(n.push(g),o.open(g,b),ip[g])e++;r=!1}function a(g){if(ip[g])e--,p();n.pop(),o.close(g)}function c(g){f();var b=h()?g:g.replace(`
|
|
207
207
|
`,`
|
|
208
208
|
`+t);o.text(b)}function u(g,b){p(),o.selfClosing(g,b)}function d(){return n.length===0||ip[n[n.length-1]]}function f(){if(!i)p(),i=!0}function p(){if(i=!1,!r&&d()&&!h()){o._append(`
|
|
209
209
|
`);for(var g=0;g<e;g++)o._append(t)}}function h(){return Z3.some(n,function(g){return g==="pre"})}return{asString:o.asString,open:s,close:a,text:c,selfClosing:u}}function Y3(){var e=[];function t(c,u){var d=i(u);e.push("<"+c+d+">")}function n(c){e.push("</"+c+">")}function r(c,u){var d=i(u);e.push("<"+c+d+" />")}function i(c){return Z3.map(c,function(u,d){return" "+d+'="'+ure(u)+'"'}).join("")}function o(c){e.push(cre(c))}function s(c){e.push(c)}function a(){return e.join("")}return{asString:a,open:t,close:n,text:o,selfClosing:r,_append:s}}function cre(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function ure(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}});var r8=U(function(bre){var fre=We();function Q3(e){return op(e,e)}function op(e,t){return function(){return{start:e,end:t}}}function pre(e){var t=e.href||"";if(t)return{start:"[",end:"]("+t+")",anchorPosition:"before"};else return{}}function hre(e){var t=e.src||"",n=e.alt||"";if(t||n)return{start:""};else return{}}function e8(e){return function(t,n){return{start:n?`
|
|
@@ -216,22 +216,22 @@ __p+='`;return u}),o+=`';
|
|
|
216
216
|
|
|
217
217
|
`)})();function n8(e,t){return Array(t+1).join(e)}function mre(){var e=[],t=[],n=null,r={};function i(d,f){f=f||{};var p=t8[d]||function(){return{}},h=p(f,n,r);if(t.push({end:h.end,list:n}),h.list)n=h.list;var g=h.anchorPosition==="before";if(g)o(f);if(e.push(h.start||""),!g)o(f)}function o(d){if(d.id)e.push('<a id="'+d.id+'"></a>')}function s(d){var f=t.pop();n=f.list;var p=fre.isFunction(f.end)?f.end():f.end;e.push(p||"")}function a(d,f){i(d,f),s(d)}function c(d){e.push(yre(d))}function u(){return e.join("")}return{asString:u,open:i,close:s,text:c,selfClosing:a}}bre.writer=mre;function yre(e){return e.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}});var i8=U(function(Dre){var xre=J3(),wre=r8();Dre.writer=_re;function _re(e){if(e=e||{},e.outputFormat==="markdown")return wre.writer();else return xre.writer(e)}});var c8=U(function(Fre){var ri=We(),o8=Jn(),sp=$r(),nn=eu(),yx=Sn(),Sre=gx(),le=tu(),Tre=i8();Fre.DocumentConverter=Cre;function Cre(e){return{convertToHtml:function(t){var n=ri.indexBy(t.type===sp.types.document?t.comments:[],"commentId"),r=new Are(e,n);return r.convertToHtml(t)}}}function Are(e,t){var n=1,r=[],i=[];e=ri.extend({ignoreEmptyParagraphs:!0},e);var o=e.idPrefix===void 0?"":e.idPrefix,s=e.ignoreEmptyParagraphs,a=nn.topLevelElement("p"),c=e.styleMap||[];function u(k){var F=[],B=f(k,F,Object.create(null)),j=[];a8(B,function(Q){if(Q.type==="deferred")j.push(Q)});var K=Object.create(null);return o8.mapSeries(j,function(Q){return Q.value().then(function(fe){K[Q.id]=fe})}).then(function(){function Q(ke){return mx(ke,function(ve){if(ve.type==="deferred")return K[ve.id];else if(ve.children)return[ri.extend({},ve,{children:Q(ve.children)})];else return[ve]})}var fe=Tre.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return le.write(fe,le.simplify(Q(B))),new yx.Result(fe.asString(),F)})}function d(k,F,B){return mx(k,function(j){return f(j,F,B)})}function f(k,F,B){if(!B)throw Error("options not set");var j=R[k.type];if(j)return j(k,F,B);else return[]}function p(k,F,B){return h(k,F).wrap(function(){var j=d(k.children,F,B);if(s)return j;else return[le.forceWrite].concat(j)})}function h(k,F){var B=y(k);if(B)return B.to;else{if(k.styleId)F.push(s8("paragraph",k));return a}}function g(k,F,B){var j=function(){return d(k.children,F,B)},K=[];if(k.highlight!==null){var Q=v({type:"highlight",color:k.highlight});if(Q)K.push(Q)}if(k.isSmallCaps)K.push(b("smallCaps"));if(k.isAllCaps)K.push(b("allCaps"));if(k.isStrikethrough)K.push(b("strikethrough","s"));if(k.isUnderline)K.push(b("underline"));if(k.verticalAlignment===sp.verticalAlignment.subscript)K.push(nn.element("sub",{},{fresh:!1}));if(k.verticalAlignment===sp.verticalAlignment.superscript)K.push(nn.element("sup",{},{fresh:!1}));if(k.isItalic)K.push(b("italic","em"));if(k.isBold)K.push(b("bold","strong"));var fe=nn.empty,ke=y(k);if(ke)fe=ke.to;else if(k.styleId)F.push(s8("run",k));return K.push(fe),K.forEach(function(ve){j=ve.wrap.bind(ve,j)}),j()}function b(k,F){var B=v({type:k});if(B)return B;else if(F)return nn.element(F,{},{fresh:!1});else return nn.empty}function v(k,F){var B=y(k);return B?B.to:F}function y(k){for(var F=0;F<c.length;F++)if(c[F].from.matches(k))return c[F]}function x(k){return function(F,B){return o8.attempt(function(){return k(F,B)}).caught(function(j){return B.push(yx.error(j)),[]})}}function m(k){return D(k.noteType,k.noteId)}function w(k){return T(k.noteType,k.noteId)}function D(k,F){return _(k+"-"+F)}function T(k,F){return _(k+"-ref-"+F)}function _(k){return o+k}var A=nn.elements([nn.element("table",{},{fresh:!0})]);function S(k,F,B){return v(k,A).wrap(function(){return M(k,F,B)})}function M(k,F,B){var j=ri.findIndex(k.children,function(ke){return!ke.type===sp.types.tableRow||!ke.isHeader});if(j===-1)j=k.children.length;var K;if(j===0)K=d(k.children,F,ri.extend({},B,{isTableHeader:!1}));else{var Q=d(k.children.slice(0,j),F,ri.extend({},B,{isTableHeader:!0})),fe=d(k.children.slice(j),F,ri.extend({},B,{isTableHeader:!1}));K=[le.freshElement("thead",{},Q),le.freshElement("tbody",{},fe)]}return[le.forceWrite].concat(K)}function P(k,F,B){var j=d(k.children,F,B);return[le.freshElement("tr",{},[le.forceWrite].concat(j))]}function C(k,F,B){var j=B.isTableHeader?"th":"td",K=d(k.children,F,B),Q={};if(k.colSpan!==1)Q.colspan=k.colSpan.toString();if(k.rowSpan!==1)Q.rowspan=k.rowSpan.toString();return[le.freshElement(j,Q,[le.forceWrite].concat(K))]}function L(k,F,B){return v(k,nn.ignore).wrap(function(){var j=t[k.commentId],K=i.length+1,Q="["+Rre(j)+K+"]";return i.push({label:Q,comment:j}),[le.freshElement("a",{href:"#"+D("comment",k.commentId),id:T("comment",k.commentId)},[le.text(Q)])]})}function W(k,F,B){var{label:j,comment:K}=k,Q=d(K.body,F,B).concat([le.nonFreshElement("p",{},[le.text(" "),le.freshElement("a",{href:"#"+T("comment",K.commentId)},[le.text("↑")])])]);return[le.freshElement("dt",{id:D("comment",K.commentId)},[le.text("Comment "+j)]),le.freshElement("dd",{},Q)]}function H(k,F,B){return E(k).wrap(function(){return[]})}function E(k){var F=y(k);if(F)return F.to;else if(k.breakType==="line")return nn.topLevelElement("br");else return nn.empty}var R={document:function(k,F,B){var j=d(k.children,F,B),K=r.map(function(fe){return k.notes.resolve(fe)}),Q=d(K,F,B);return j.concat([le.freshElement("ol",{},Q),le.freshElement("dl",{},mx(i,function(fe){return W(fe,F,B)}))])},paragraph:p,run:g,text:function(k,F,B){return[le.text(k.value)]},tab:function(k,F,B){return[le.text("\t")]},hyperlink:function(k,F,B){var j=k.anchor?"#"+_(k.anchor):k.href,K={href:j};if(k.targetFrame!=null)K.target=k.targetFrame;var Q=d(k.children,F,B);return[le.nonFreshElement("a",K,Q)]},checkbox:function(k){var F={type:"checkbox"};if(k.checked)F.checked="checked";return[le.freshElement("input",F)]},bookmarkStart:function(k,F,B){var j=le.freshElement("a",{id:_(k.name)},[le.forceWrite]);return[j]},noteReference:function(k,F,B){r.push(k);var j=le.freshElement("a",{href:"#"+m(k),id:w(k)},[le.text("["+n+++"]")]);return[le.freshElement("sup",{},[j])]},note:function(k,F,B){var j=d(k.body,F,B),K=le.elementWithTag(nn.element("p",{},{fresh:!1}),[le.text(" "),le.freshElement("a",{href:"#"+w(k)},[le.text("↑")])]),Q=j.concat([K]);return le.freshElement("li",{id:m(k)},Q)},commentReference:L,comment:W,image:Ure(x(e.convertImage||Sre.dataUri)),table:S,tableRow:P,tableCell:C,break:H};return{convertToHtml:u}}var kre=1;function Ure(e){return function(t,n,r){return[{type:"deferred",id:kre++,value:function(){return e(t,n,r)}}]}}function s8(e,t){return yx.warning("Unrecognised "+e+" style: '"+t.styleName+"' (Style ID: "+t.styleId+")")}function mx(e,t){return ri.flatten(e.map(t),!0)}function a8(e,t){e.forEach(function(n){if(t(n),n.children)a8(n.children,t)})}var Rre=Fre.commentAuthorLabel=function(t){return t.authorInitials||""}});var l8=U(function(Ire){var Ore=$r();function u8(e){if(e.type==="text")return e.value;else if(e.type===Ore.types.tab)return"\t";else{var t=e.type==="paragraph"?`
|
|
218
218
|
|
|
219
|
-
`:"";return(e.children||[]).map(u8).join("")+t}}Ire.convertElementToRawText=u8});var f8=U(function(
|
|
219
|
+
`:"";return(e.children||[]).map(u8).join("")+t}}Ire.convertElementToRawText=u8});var f8=U(function(WDe,d8){var Fs=d8.exports=function(e,t){this._tokens=e,this._startIndex=t||0};Fs.prototype.head=function(){return this._tokens[this._startIndex]};Fs.prototype.tail=function(e){return new Fs(this._tokens,this._startIndex+1)};Fs.prototype.toArray=function(){return this._tokens.slice(this._startIndex)};Fs.prototype.end=function(){return this._tokens[this._tokens.length-1]};Fs.prototype.to=function(e){var t=this.head().source,n=e.head()||e.end();return t.to(n.source)}});var p8=U(function(Lre){var Nre=f8();Lre.Parser=function(e){var t=function(n,r){return n(new Nre(r))};return{parseTokens:t}}});var g8=U(function(Wre){Wre.none=Object.create({value:function(){throw Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return Wre.none},flatMap:function(){return Wre.none},filter:function(){return Wre.none},toArray:function(){return[]},orElse:h8,valueOrElse:h8});function h8(e){if(typeof e=="function")return e();else return e}Wre.some=function(e){return new Ht(e)};var Ht=function(e){this._value=e};Ht.prototype.value=function(){return this._value};Ht.prototype.isNone=function(){return!1};Ht.prototype.isSome=function(){return!0};Ht.prototype.map=function(e){return new Ht(e(this._value))};Ht.prototype.flatMap=function(e){return e(this._value)};Ht.prototype.filter=function(e){return e(this._value)?this:Wre.none};Ht.prototype.toArray=function(){return[this._value]};Ht.prototype.orElse=function(e){return this};Ht.prototype.valueOrElse=function(e){return this._value};Wre.isOption=function(e){return e===Wre.none||e instanceof Ht};Wre.fromNullable=function(e){if(e==null)return Wre.none;return new Ht(e)}});var ap=U(function($De,m8){m8.exports={failure:function(e,t){if(e.length<1)throw Error("Failure must have errors");return new vt({status:"failure",remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw Error("Failure must have errors");return new vt({status:"error",remaining:t,errors:e})},success:function(e,t,n){return new vt({status:"success",value:e,source:n,remaining:t,errors:[]})},cut:function(e){return new vt({status:"cut",remaining:e,errors:[]})}};var vt=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};vt.prototype.map=function(e){if(this._hasValue)return new vt({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors});else return this};vt.prototype.changeRemaining=function(e){return new vt({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})};vt.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"};vt.prototype.isFailure=function(){return this._status==="failure"};vt.prototype.isError=function(){return this._status==="error"};vt.prototype.isCut=function(){return this._status==="cut"};vt.prototype.value=function(){return this._value};vt.prototype.remaining=function(){return this._remaining};vt.prototype.source=function(){return this._source};vt.prototype.errors=function(){return this._errors}});var bx=U(function(Hre){Hre.error=function(e){return new cp(e)};var cp=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};cp.prototype.describe=function(){var e=this._location?this._location.describe()+`:
|
|
220
220
|
`:"";return e+"Expected "+this.expected+`
|
|
221
|
-
but got `+this.actual};cp.prototype.lineNumber=function(){return this._location.lineNumber()};cp.prototype.characterNumber=function(){return this._location.characterNumber()}});var y8=U(function(zre){var
|
|
221
|
+
but got `+this.actual};cp.prototype.lineNumber=function(){return this._location.lineNumber()};cp.prototype.characterNumber=function(){return this._location.characterNumber()}});var y8=U(function(zre){var GDe=zre.fromArray=function(e){var t=0,n=function(){return t<e.length};return new Qi({hasNext:n,next:function(){if(!n())throw Error("No more elements");else return e[t++]}})},Qi=function(e){this._iterator=e};Qi.prototype.map=function(e){var t=this._iterator;return new Qi({hasNext:function(){return t.hasNext()},next:function(){return e(t.next())}})};Qi.prototype.filter=function(e){var t=this._iterator,n=!1,r=!1,i,o=function(){if(n)return;n=!0,r=!1;while(t.hasNext()&&!r)i=t.next(),r=e(i)};return new Qi({hasNext:function(){return o(),r},next:function(){o();var s=i;return n=!1,s}})};Qi.prototype.first=function(){var e=this._iterator;if(this._iterator.hasNext())return e.next();else return null};Qi.prototype.toArray=function(){var e=[];while(this._iterator.hasNext())e.push(this._iterator.next());return e}});var vx=U(function(ii){var up=We(),b8=g8(),rn=ap(),v8=bx(),Vre=y8();ii.token=function(e,t){var n=t!==void 0;return function(r){var i=r.head();if(i&&i.name===e&&(!n||i.value===t))return rn.success(i.value,r.tail(),i.source);else{var o=w8({name:e,value:t});return _8(r,o)}}};ii.tokenOfType=function(e){return ii.token(e)};ii.firstOf=function(e,t){if(!up.isArray(t))t=Array.prototype.slice.call(arguments,1);return function(n){return Vre.fromArray(t).map(function(r){return r(n)}).filter(function(r){return r.isSuccess()||r.isError()}).first()||_8(n,e)}};ii.then=function(e,t){return function(n){var r=e(n);if(!r.map)console.log(r);return r.map(t)}};ii.sequence=function(){var e=Array.prototype.slice.call(arguments,0),t=function(r){var i=up.foldl(e,function(s,a){var{result:c,hasCut:u}=s;if(!c.isSuccess())return{result:c,hasCut:u};var d=a(c.remaining());if(d.isCut())return{result:c,hasCut:!0};else if(d.isSuccess()){var f;if(a.isCaptured)f=c.value().withValue(a,d.value());else f=c.value();var p=d.remaining(),h=r.to(p);return{result:rn.success(f,p,h),hasCut:u}}else if(u)return{result:rn.error(d.errors(),d.remaining()),hasCut:u};else return{result:d,hasCut:u}},{result:rn.success(new nu,r),hasCut:!1}).result,o=r.to(i.remaining());return i.map(function(s){return s.withValue(ii.sequence.source,o)})};t.head=function(){var r=up.find(e,n);return ii.then(t,ii.sequence.extract(r))},t.map=function(r){return ii.then(t,function(i){return r.apply(this,i.toArray())})};function n(r){return r.isCaptured}return t};var nu=function(e,t){this._values=e||{},this._valuesArray=t||[]};nu.prototype.withValue=function(e,t){if(e.captureName&&e.captureName in this._values)throw Error('Cannot add second value for capture "'+e.captureName+'"');else{var n=up.clone(this._values);n[e.captureName]=t;var r=this._valuesArray.concat([t]);return new nu(n,r)}};nu.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];else throw Error('No value for capture "'+e.captureName+'"')};nu.prototype.toArray=function(){return this._valuesArray};ii.sequence.capture=function(e,t){var n=function(){return e.apply(this,arguments)};return n.captureName=t,n.isCaptured=!0,n};ii.sequence.extract=function(e){return function(t){return t.get(e)}};ii.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(n){var r=t.map(function(i){return n.get(i)});return e.apply(this,r)}};ii.sequence.source={captureName:"☃source☃"};ii.sequence.cut=function(){return function(e){return rn.cut(e)}};ii.optional=function(e){return function(t){var n=e(t);if(n.isSuccess())return n.map(b8.some);else if(n.isFailure())return rn.success(b8.none,t);else return n}};ii.zeroOrMoreWithSeparator=function(e,t){return x8(e,t,!1)};ii.oneOrMoreWithSeparator=function(e,t){return x8(e,t,!0)};var Xre=ii.zeroOrMore=function(e){return function(t){var n=[],r;while((r=e(t))&&r.isSuccess())t=r.remaining(),n.push(r.value());if(r.isError())return r;else return rn.success(n,t)}};ii.oneOrMore=function(e){return ii.oneOrMoreWithSeparator(e,Kre)};function Kre(e){return rn.success(null,e)}var x8=function(e,t,n){return function(r){var i=e(r);if(i.isSuccess()){var o=ii.sequence.capture(e,"main"),s=Xre(ii.then(ii.sequence(t,o),ii.sequence.extract(o))),a=s(i.remaining());return rn.success([i.value()].concat(a.value()),a.remaining())}else if(n||i.isError())return i;else return rn.success([],r)}};ii.leftAssociative=function(e,t,n){var r;if(n)r=[{func:n,rule:t}];else r=t;r=r.map(function(o){return ii.then(o.rule,function(s){return function(a,c){return o.func(a,s,c)}})});var i=ii.firstOf.apply(null,["rules"].concat(r));return function(o){var s=o,a=e(o);if(!a.isSuccess())return a;var c=i(a.remaining());while(c.isSuccess()){var u=c.remaining(),d=s.to(c.remaining()),f=c.value();a=rn.success(f(a.value(),d),u,d),c=i(a.remaining())}if(c.isError())return c;return a}};ii.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)};ii.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var w8=function(e){if(e.value)return e.name+' "'+e.value+'"';else return e.name};function _8(e,t){var n,r=e.head();if(r)n=v8.error({expected:t,actual:w8(r),location:r.source});else n=v8.error({expected:t,actual:"end of tokens"});return rn.failure([n],e)}});var xx=U(function(YDe,C8){var ZDe=C8.exports=function(e,t){var n={asString:function(){return e},range:function(r,i){return new eo(e,t,r,i)}};return n},eo=function(e,t,n,r){this._string=e,this._description=t,this._startIndex=n,this._endIndex=r};eo.prototype.to=function(e){return new eo(this._string,this._description,this._startIndex,e._endIndex)};eo.prototype.describe=function(){var e=this._position(),t=this._description?this._description+`
|
|
222
222
|
`:"";return t+"Line number: "+e.lineNumber+`
|
|
223
223
|
Character number: `+e.characterNumber};eo.prototype.lineNumber=function(){return this._position().lineNumber};eo.prototype.characterNumber=function(){return this._position().characterNumber};eo.prototype._position=function(){var e=this,t=0,n=function(){return e._string.indexOf(`
|
|
224
|
-
`,t)},r=1;while(n()!==-1&&n()<this._startIndex)t=n()+1,r+=1;var i=this._startIndex-t+1;return{lineNumber:r,characterNumber:i}}});var wx=U(function(
|
|
224
|
+
`,t)},r=1;while(n()!==-1&&n()<this._startIndex)t=n()+1,r+=1;var i=this._startIndex-t+1;return{lineNumber:r,characterNumber:i}}});var wx=U(function(JDe,A8){A8.exports=function(e,t,n){if(this.name=e,this.value=t,n)this.source=n}});var R8=U(function(rie){var U8=vx(),tie=ap();rie.parser=function(e,t,n){var r={rule:a,leftAssociative:c,rightAssociative:u},i=new _x(n.map(s)),o=U8.firstOf(e,t);function s(p){return{name:p.name,rule:nie(p.ruleBuilder.bind(null,r))}}function a(){return d(i)}function c(p){return d(i.untilExclusive(p))}function u(p){return d(i.untilInclusive(p))}function d(p){return f.bind(null,p)}function f(p,h){var g=o(h);if(g.isSuccess())return p.apply(g);else return g}return r};function _x(e){function t(s){return new _x(e.slice(0,r().indexOf(s)))}function n(s){return new _x(e.slice(0,r().indexOf(s)+1))}function r(){return e.map(function(s){return s.name})}function i(s){var a,c;while(!0)if(a=o(s.remaining()),a.isSuccess())c=s.source().to(a.source()),s=tie.success(a.value()(s.value(),c),a.remaining(),c);else if(a.isFailure())return s;else return a}function o(s){return U8.firstOf("infix",e.map(function(a){return a.rule}))(s)}return{apply:i,untilExclusive:t,untilInclusive:n}}rie.infix=function(e,t){function n(r){return rie.infix(e,function(i){var o=t(i);return function(s){var a=o(s);return a.map(function(c){return function(u,d){return r(u,c,d)}})}})}return{name:e,ruleBuilder:t,map:n}};var nie=function(e){var t;return function(n){if(!t)t=e();return t(n)}}});var F8=U(function(aie){var Dx=wx(),oie=xx();aie.RegexTokeniser=sie;function sie(e){e=e.map(function(i){return{name:i.name,regex:new RegExp(i.regex.source,"g")}});function t(i,o){var s=new oie(i,o),a=0,c=[];while(a<i.length){var u=n(i,a,s);a=u.endIndex,c.push(u.token)}return c.push(r(i,s)),c}function n(i,o,s){for(var a=0;a<e.length;a++){var c=e[a].regex;c.lastIndex=o;var u=c.exec(i);if(u){var f=o+u[0].length;if(u.index===o&&f>o){var d=u[1],p=new Dx(e[a].name,d,s.range(o,f));return{token:p,endIndex:f}}}}var f=o+1,p=new Dx("unrecognisedCharacter",i.substring(o,f),s.range(o,f));return{token:p,endIndex:f}}function r(i,o){return new Dx("end",null,o.range(i.length,i.length))}return{tokenise:t}}});var Ex=U(function(uie){uie.Parser=p8().Parser;uie.rules=vx();uie.errors=bx();uie.results=ap();uie.StringSource=xx();uie.Token=wx();uie.bottomUp=R8();uie.RegexTokeniser=F8().RegexTokeniser;uie.rule=function(e){var t;return function(n){if(!t)t=e();return t(n)}}});var O8=U(function(Aie){Aie.paragraph=vie;Aie.run=xie;Aie.table=wie;Aie.bold=new fn("bold");Aie.italic=new fn("italic");Aie.underline=new fn("underline");Aie.strikethrough=new fn("strikethrough");Aie.allCaps=new fn("allCaps");Aie.smallCaps=new fn("smallCaps");Aie.highlight=_ie;Aie.commentReference=new fn("commentReference");Aie.lineBreak=new lp({breakType:"line"});Aie.pageBreak=new lp({breakType:"page"});Aie.columnBreak=new lp({breakType:"column"});Aie.equalTo=Eie;Aie.startsWith=Sie;function vie(e){return new fn("paragraph",e)}function xie(e){return new fn("run",e)}function wie(e){return new fn("table",e)}function _ie(e){return new P8(e)}function fn(e,t){if(t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list)this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered}fn.prototype.matches=function(e){return e.type===this._elementType&&(this._styleId===void 0||e.styleId===this._styleId)&&(this._styleName===void 0||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(this._listIndex===void 0||Die(e,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===e.breakType)};function P8(e){e=e||{},this._color=e.color}P8.prototype.matches=function(e){return e.type==="highlight"&&(this._color===void 0||e.color===this._color)};function lp(e){e=e||{},this._breakType=e.breakType}lp.prototype.matches=function(e){return e.type==="break"&&(this._breakType===void 0||e.breakType===this._breakType)};function Die(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function Eie(e){return{operator:Tie,operand:e}}function Sie(e){return{operator:Cie,operand:e}}function Tie(e,t){return e.toUpperCase()===t.toUpperCase()}function Cie(e,t){return t.toUpperCase().indexOf(e.toUpperCase())===0}});var M8=U(function(Xie){var Gie=Ex(),zie=Gie.RegexTokeniser;Xie.tokenise=Vie;var I8="'((?:\\\\.|[^'])*)";function Vie(e){var t="(?:[a-zA-Z\\-_]|\\\\.)",n=new zie([{name:"identifier",regex:new RegExp("("+t+"(?:"+t+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(I8+"'")},{name:"unterminated-string",regex:new RegExp(I8)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return n.tokenise(e)}});var W8=U(function(loe){var Zie=We(),q=Ex(),xt=O8(),dp=eu(),Yie=M8().tokenise,Sx=Sn();loe.readHtmlPath=toe;loe.readDocumentMatcher=eoe;loe.readStyle=Jie;function Jie(e){return Tx(uoe,e)}function Qie(){return q.rules.sequence(q.rules.sequence.capture(N8()),q.rules.tokenOfType("whitespace"),q.rules.tokenOfType("arrow"),q.rules.sequence.capture(q.rules.optional(q.rules.sequence(q.rules.tokenOfType("whitespace"),q.rules.sequence.capture(L8())).head())),q.rules.tokenOfType("end")).map(function(e,t){return{from:e,to:t.valueOrElse(dp.empty)}})}function eoe(e){return Tx(N8(),e)}function N8(){var e=q.rules.sequence,t=function(T,_){return q.rules.then(q.rules.token("identifier",T),function(){return _})},n=t("p",xt.paragraph),r=t("r",xt.run),i=q.rules.firstOf("p or r or table",n,r),o=q.rules.sequence(q.rules.tokenOfType("dot"),q.rules.sequence.cut(),q.rules.sequence.capture(fp)).map(function(T){return{styleId:T}}),s=q.rules.firstOf("style name matcher",q.rules.then(q.rules.sequence(q.rules.tokenOfType("equals"),q.rules.sequence.cut(),q.rules.sequence.capture(Ps)).head(),function(T){return{styleName:xt.equalTo(T)}}),q.rules.then(q.rules.sequence(q.rules.tokenOfType("startsWith"),q.rules.sequence.cut(),q.rules.sequence.capture(Ps)).head(),function(T){return{styleName:xt.startsWith(T)}})),a=q.rules.sequence(q.rules.tokenOfType("open-square-bracket"),q.rules.sequence.cut(),q.rules.token("identifier","style-name"),q.rules.sequence.capture(s),q.rules.tokenOfType("close-square-bracket")).head(),c=q.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),u=e(q.rules.tokenOfType("colon"),e.capture(c),e.cut(),q.rules.tokenOfType("open-paren"),e.capture(noe),q.rules.tokenOfType("close-paren")).map(function(T,_){return{list:{isOrdered:T.isOrdered,levelIndex:_-1}}});function d(T){var _=q.rules.firstOf.apply(q.rules.firstOf,["matcher suffix"].concat(T)),A=q.rules.zeroOrMore(_);return q.rules.then(A,function(S){var M={};return S.forEach(function(P){Zie.extend(M,P)}),M})}var f=e(e.capture(i),e.capture(d([o,a,u]))).map(function(T,_){return T(_)}),p=e(q.rules.token("identifier","table"),e.capture(d([o,a]))).map(function(T){return xt.table(T)}),h=t("b",xt.bold),g=t("i",xt.italic),b=t("u",xt.underline),v=t("strike",xt.strikethrough),y=t("all-caps",xt.allCaps),x=t("small-caps",xt.smallCaps),m=e(q.rules.token("identifier","highlight"),q.rules.sequence.capture(q.rules.optional(q.rules.sequence(q.rules.tokenOfType("open-square-bracket"),q.rules.sequence.cut(),q.rules.token("identifier","color"),q.rules.tokenOfType("equals"),q.rules.sequence.capture(Ps),q.rules.tokenOfType("close-square-bracket")).head()))).map(function(T){return xt.highlight({color:T.valueOrElse(void 0)})}),w=t("comment-reference",xt.commentReference),D=e(q.rules.token("identifier","br"),e.cut(),q.rules.tokenOfType("open-square-bracket"),q.rules.token("identifier","type"),q.rules.tokenOfType("equals"),e.capture(Ps),q.rules.tokenOfType("close-square-bracket")).map(function(T){switch(T){case"line":return xt.lineBreak;case"page":return xt.pageBreak;case"column":return xt.columnBreak;default:}});return q.rules.firstOf("element type",f,p,h,g,b,v,y,x,m,w,D)}function toe(e){return Tx(L8(),e)}function L8(){var e=q.rules.sequence.capture,t=q.rules.tokenOfType("whitespace"),n=q.rules.then(q.rules.optional(q.rules.sequence(q.rules.tokenOfType("colon"),q.rules.token("identifier","fresh"))),function(s){return s.map(function(){return!0}).valueOrElse(!1)}),r=q.rules.then(q.rules.optional(q.rules.sequence(q.rules.tokenOfType("colon"),q.rules.token("identifier","separator"),q.rules.tokenOfType("open-paren"),e(Ps),q.rules.tokenOfType("close-paren")).head()),function(s){return s.valueOrElse("")}),i=q.rules.oneOrMoreWithSeparator(fp,q.rules.tokenOfType("choice")),o=q.rules.sequence(e(i),e(q.rules.zeroOrMore(soe)),e(n),e(r)).map(function(s,a,c,u){var d=Object.create(null),f={};if(a.forEach(function(p){if(p.append&&d[p.name])d[p.name]+=" "+p.value;else d[p.name]=p.value}),c)f.fresh=!0;if(u)f.separator=u;return dp.element(s,d,f)});return q.rules.firstOf("html path",q.rules.then(q.rules.tokenOfType("bang"),function(){return dp.ignore}),q.rules.then(q.rules.zeroOrMoreWithSeparator(o,q.rules.sequence(t,q.rules.tokenOfType("gt"),t)),dp.elements))}var fp=q.rules.then(q.rules.tokenOfType("identifier"),B8),noe=q.rules.tokenOfType("integer"),Ps=q.rules.then(q.rules.tokenOfType("string"),B8),roe={n:`
|
|
225
225
|
`,r:"\r",t:"\t"};function B8(e){return e.replace(/\\(.)/g,function(t,n){return roe[n]||n})}var ioe=q.rules.sequence(q.rules.tokenOfType("open-square-bracket"),q.rules.sequence.cut(),q.rules.sequence.capture(fp),q.rules.tokenOfType("equals"),q.rules.sequence.capture(Ps),q.rules.tokenOfType("close-square-bracket")).map(function(e,t){return{name:e,value:t,append:!1}}),ooe=q.rules.sequence(q.rules.tokenOfType("dot"),q.rules.sequence.cut(),q.rules.sequence.capture(fp)).map(function(e){return{name:"class",value:e,append:!0}}),soe=q.rules.firstOf("attribute or class",ioe,ooe);function Tx(e,t){var n=Yie(t),r=q.Parser(),i=r.parseTokens(e,n);if(i.isSuccess())return Sx.success(i.value());else return new Sx.Result(null,[Sx.warning(aoe(t,i))])}function aoe(e,t){return"Did not understand this style mapping, so ignored it: "+e+`
|
|
226
226
|
`+t.errors().map(coe).join(`
|
|
227
227
|
`)}function coe(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var uoe=Qie()});var $8=U(function(boe){boe.readOptions=moe;var q8=We(),hoe=boe._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],goe=boe._standardOptions={externalFileAccess:!1,transformDocument:yoe,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function moe(e){return e=e||{},q8.extend({},goe,e,{customStyleMap:j8(e.styleMap),readStyleMap:function(){var t=this.customStyleMap;if(this.includeEmbeddedStyleMap)t=t.concat(j8(this.embeddedStyleMap));if(this.includeDefaultStyleMap)t=t.concat(hoe);return t}})}function j8(e){if(!e)return[];else if(q8.isString(e))return e.split(`
|
|
228
|
-
`).map(function(t){return t.trim()}).filter(function(t){return t!==""&&t.charAt(0)!=="#"});else return e}function yoe(e){return e}});var G8=U(function(Doe){var xoe=ne("fs"),pp=Jn(),H8=Iv();Doe.openZip=_oe;var woe=pp.promisify(xoe.readFile);function _oe(e){if(e.path)return woe(e.path).then(H8.openArrayBuffer);else if(e.buffer)return pp.resolve(H8.openArrayBuffer(e.buffer));else if(e.file)return pp.resolve(e.file);else return pp.reject(Error("Could not find file in options"))}});var z8=U(function(Aoe){var Soe=eu(),Toe=tu();Aoe.element=Coe;function Coe(e){return function(t){return Toe.elementWithTag(Soe.element(e),[t])}}});var X8=U(function($oe){var Uoe=We(),V8=I3(),Cx=L3(),Roe=c8().DocumentConverter,Foe=l8().convertElementToRawText,Poe=W8().readStyle,Ooe=$8().readOptions,hp=G8(),Ioe=Sn().Result;$oe.convertToHtml=Moe;$oe.convertToMarkdown=Noe;$oe.convert=Ax;$oe.extractRawText=joe;$oe.images=gx();$oe.transforms=ox();$oe.underline=z8();$oe.embedStyleMap=qoe;$oe.readEmbeddedStyleMap=Loe;function Moe(e,t){return Ax(e,t)}function Noe(e,t){var n=Object.create(t||{});return n.outputFormat="markdown",Ax(e,n)}function Ax(e,t){return t=Ooe(t),hp.openZip(e).tap(function(n){return Cx.readStyleMap(n).then(function(r){t.embeddedStyleMap=r})}).then(function(n){return V8.read(n,e,t).then(function(r){return r.map(t.transformDocument)}).then(function(r){return Boe(r,t)})})}function Loe(e){return hp.openZip(e).then(Cx.readStyleMap)}function Boe(e,t){var n=Woe(t.readStyleMap()),r=Uoe.extend({},t,{styleMap:n.value}),i=new Roe(r);return e.flatMapThen(function(o){return n.flatMapThen(function(s){return i.convertToHtml(o)})})}function Woe(e){return Ioe.combine((e||[]).map(Poe)).map(function(t){return t.filter(function(n){return!!n})})}function joe(e){return hp.openZip(e).then(V8.read).then(function(t){return t.map(Foe)})}function qoe(e,t){return hp.openZip(e).tap(function(n){return Cx.writeStyleMap(n,t)}).then(function(n){return n.toArrayBuffer()}).then(function(n){return{toArrayBuffer:function(){return n},toBuffer:function(){return Buffer.from(n)}}})}$oe.styleMapping=function(){throw Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)}});var pr=U(function(jke,aM){var oM=["nodebuffer","arraybuffer","fragments"],sM=typeof Blob<"u";if(sM)oM.push("blob");aM.exports={BINARY_TYPES:oM,CLOSE_TIMEOUT:30000,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:sM,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var fu=U(function(qke,Fp){var{EMPTY_BUFFER:Ude}=pr(),J0=Buffer[Symbol.species];function Rde(e,t){if(e.length===0)return Ude;if(e.length===1)return e[0];let n=Buffer.allocUnsafe(t),r=0;for(let i=0;i<e.length;i++){let o=e[i];n.set(o,r),r+=o.length}if(r<t)return new J0(n.buffer,n.byteOffset,r);return n}function cM(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[o]^t[o&3]}function uM(e,t){for(let n=0;n<e.length;n++)e[n]^=t[n&3]}function Fde(e){if(e.length===e.buffer.byteLength)return e.buffer;return e.buffer.slice(e.byteOffset,e.byteOffset+e.length)}function Q0(e){if(Q0.readOnly=!0,Buffer.isBuffer(e))return e;let t;if(e instanceof ArrayBuffer)t=new J0(e);else if(ArrayBuffer.isView(e))t=new J0(e.buffer,e.byteOffset,e.byteLength);else t=Buffer.from(e),Q0.readOnly=!1;return t}Fp.exports={concat:Rde,mask:cM,toArrayBuffer:Fde,toBuffer:Q0,unmask:uM};if(!process.env.WS_NO_BUFFER_UTIL)try{let e=(()=>{throw new Error("Cannot require module "+"bufferutil");})();Fp.exports.mask=function(t,n,r,i,o){if(o<48)cM(t,n,r,i,o);else e.mask(t,n,r,i,o)},Fp.exports.unmask=function(t,n){if(t.length<32)uM(t,n);else e.unmask(t,n)}}catch(e){}});var pM=U(function($ke,fM){var lM=Symbol("kDone"),ew=Symbol("kRun");class dM{constructor(e){this[lM]=()=>{this.pending--,this[ew]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[ew]()}[ew](){if(this.pending===this.concurrency)return;if(this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[lM])}}}fM.exports=dM});var Hs=U(function(Hke,bM){var pu=ne("zlib"),hM=fu(),Pde=pM(),{kStatusCode:gM}=pr(),Ode=Buffer[Symbol.species],Ide=Buffer.from([0,0,255,255]),Op=Symbol("permessage-deflate"),hr=Symbol("total-length"),qs=Symbol("callback"),si=Symbol("buffers"),$s=Symbol("error"),Pp;class mM{constructor(e){if(this._options=e||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Pp){let t=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Pp=new Pde(t)}}static get extensionName(){return"permessage-deflate"}offer(){let e={};if(this._options.serverNoContextTakeover)e.server_no_context_takeover=!0;if(this._options.clientNoContextTakeover)e.client_no_context_takeover=!0;if(this._options.serverMaxWindowBits)e.server_max_window_bits=this._options.serverMaxWindowBits;if(this._options.clientMaxWindowBits)e.client_max_window_bits=this._options.clientMaxWindowBits;else if(this._options.clientMaxWindowBits==null)e.client_max_window_bits=!0;return e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate)this._inflate.close(),this._inflate=null;if(this._deflate){let e=this._deflate[qs];if(this._deflate.close(),this._deflate=null,e)e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,n=e.find((r)=>{if(t.serverNoContextTakeover===!1&&r.server_no_context_takeover||r.server_max_window_bits&&(t.serverMaxWindowBits===!1||typeof t.serverMaxWindowBits==="number"&&t.serverMaxWindowBits>r.server_max_window_bits)||typeof t.clientMaxWindowBits==="number"&&(typeof r.client_max_window_bits==="number"?t.clientMaxWindowBits>r.client_max_window_bits:!r.client_max_window_bits))return!1;return!0});if(!n)throw Error("None of the extension offers can be accepted");if(t.serverNoContextTakeover)n.server_no_context_takeover=!0;if(t.clientNoContextTakeover)n.client_no_context_takeover=!0;if(typeof t.serverMaxWindowBits==="number")n.server_max_window_bits=t.serverMaxWindowBits;if(typeof t.clientMaxWindowBits==="number")n.client_max_window_bits=t.clientMaxWindowBits;else if(n.client_max_window_bits===!0||t.clientMaxWindowBits===!1)delete n.client_max_window_bits;return n}acceptAsClient(e){let t=e[0];if(this._options.clientNoContextTakeover===!1&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(!t.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number")t.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits==="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"');return t}normalizeParams(e){return e.forEach((t)=>{Object.keys(t).forEach((n)=>{let r=t[n];if(r.length>1)throw Error(`Parameter "${n}" must have only a single value`);if(r=r[0],n==="client_max_window_bits"){if(r!==!0){let i=+r;if(!Number.isInteger(i)||i<8||i>15)throw TypeError(`Invalid value for parameter "${n}": ${r}`);r=i}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${n}": ${r}`)}else if(n==="server_max_window_bits"){let i=+r;if(!Number.isInteger(i)||i<8||i>15)throw TypeError(`Invalid value for parameter "${n}": ${r}`);r=i}else if(n==="client_no_context_takeover"||n==="server_no_context_takeover"){if(r!==!0)throw TypeError(`Invalid value for parameter "${n}": ${r}`)}else throw Error(`Unknown parameter "${n}"`);t[n]=r})}),e}decompress(e,t,n){Pp.add((r)=>{this._decompress(e,t,(i,o)=>{r(),n(i,o)})})}compress(e,t,n){Pp.add((r)=>{this._compress(e,t,(i,o)=>{r(),n(i,o)})})}_decompress(e,t,n){let r=this._isServer?"client":"server";if(!this._inflate){let i=`${r}_max_window_bits`,o=typeof this.params[i]!=="number"?pu.Z_DEFAULT_WINDOWBITS:this.params[i];this._inflate=pu.createInflateRaw({...this._options.zlibInflateOptions,windowBits:o}),this._inflate[Op]=this,this._inflate[hr]=0,this._inflate[si]=[],this._inflate.on("error",Nde),this._inflate.on("data",yM)}if(this._inflate[qs]=n,this._inflate.write(e),t)this._inflate.write(Ide);this._inflate.flush(()=>{let i=this._inflate[$s];if(i){this._inflate.close(),this._inflate=null,n(i);return}let o=hM.concat(this._inflate[si],this._inflate[hr]);if(this._inflate._readableState.endEmitted)this._inflate.close(),this._inflate=null;else if(this._inflate[hr]=0,this._inflate[si]=[],t&&this.params[`${r}_no_context_takeover`])this._inflate.reset();n(null,o)})}_compress(e,t,n){let r=this._isServer?"server":"client";if(!this._deflate){let i=`${r}_max_window_bits`,o=typeof this.params[i]!=="number"?pu.Z_DEFAULT_WINDOWBITS:this.params[i];this._deflate=pu.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:o}),this._deflate[hr]=0,this._deflate[si]=[],this._deflate.on("data",Mde)}this._deflate[qs]=n,this._deflate.write(e),this._deflate.flush(pu.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let i=hM.concat(this._deflate[si],this._deflate[hr]);if(t)i=new Ode(i.buffer,i.byteOffset,i.length-4);if(this._deflate[qs]=null,this._deflate[hr]=0,this._deflate[si]=[],t&&this.params[`${r}_no_context_takeover`])this._deflate.reset();n(null,i)})}}bM.exports=mM;function Mde(e){this[si].push(e),this[hr]+=e.length}function yM(e){if(this[hr]+=e.length,this[Op]._maxPayload<1||this[hr]<=this[Op]._maxPayload){this[si].push(e);return}this[$s]=RangeError("Max payload size exceeded"),this[$s].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[$s][gM]=1009,this.removeListener("data",yM),this.reset()}function Nde(e){if(this[Op]._inflate=null,this[$s]){this[qs](this[$s]);return}e[gM]=1007,this[qs](e)}});var Gs=U(function(Gke,Ip){var{isUtf8:vM}=ne("buffer"),{hasBlob:Lde}=pr(),Bde=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function Wde(e){return e>=1000&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3000&&e<=4999}function tw(e){let t=e.length,n=0;while(n<t)if((e[n]&128)===0)n++;else if((e[n]&224)===192){if(n+1===t||(e[n+1]&192)!==128||(e[n]&254)===192)return!1;n+=2}else if((e[n]&240)===224){if(n+2>=t||(e[n+1]&192)!==128||(e[n+2]&192)!==128||e[n]===224&&(e[n+1]&224)===128||e[n]===237&&(e[n+1]&224)===160)return!1;n+=3}else if((e[n]&248)===240){if(n+3>=t||(e[n+1]&192)!==128||(e[n+2]&192)!==128||(e[n+3]&192)!==128||e[n]===240&&(e[n+1]&240)===128||e[n]===244&&e[n+1]>143||e[n]>244)return!1;n+=4}else return!1;return!0}function jde(e){return Lde&&typeof e==="object"&&typeof e.arrayBuffer==="function"&&typeof e.type==="string"&&typeof e.stream==="function"&&(e[Symbol.toStringTag]==="Blob"||e[Symbol.toStringTag]==="File")}Ip.exports={isBlob:jde,isValidStatusCode:Wde,isValidUTF8:tw,tokenChars:Bde};if(vM)Ip.exports.isValidUTF8=function(e){return e.length<24?tw(e):vM(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=(()=>{throw new Error("Cannot require module "+"utf-8-validate");})();Ip.exports.isValidUTF8=function(t){return t.length<32?tw(t):e(t)}}catch(e){}});var rw=U(function(zke,EM){var{Writable:qde}=ne("stream"),xM=Hs(),{BINARY_TYPES:$de,EMPTY_BUFFER:wM,kStatusCode:Hde,kWebSocket:Gde}=pr(),{concat:nw,toArrayBuffer:zde,unmask:Vde}=fu(),{isValidStatusCode:Xde,isValidUTF8:_M}=Gs(),Mp=Buffer[Symbol.species];class DM extends qde{constructor(e={}){super();this._allowSynchronousEvents=e.allowSynchronousEvents!==void 0?e.allowSynchronousEvents:!0,this._binaryType=e.binaryType||$de[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxBufferedChunks=e.maxBufferedChunks|0,this._maxFragments=e.maxFragments|0,this._maxPayload=e.maxPayload|0,this._skipUTF8Validation=!!e.skipUTF8Validation,this[Gde]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._numFragments=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(e,t,n){if(this._opcode===8&&this._state==0)return n();if(this._maxBufferedChunks>0&&this._buffers.length>=this._maxBufferedChunks){n(this.createError(RangeError,"Too many buffered chunks",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS"));return}this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){let n=this._buffers[0];return this._buffers[0]=new Mp(n.buffer,n.byteOffset+e,n.length-e),new Mp(n.buffer,n.byteOffset,e)}let t=Buffer.allocUnsafe(e);do{let n=this._buffers[0],r=t.length-e;if(e>=n.length)t.set(this._buffers.shift(),r);else t.set(new Uint8Array(n.buffer,n.byteOffset,e),r),this._buffers[0]=new Mp(n.buffer,n.byteOffset+e,n.length-e);e-=n.length}while(e>0);return t}startLoop(e){this._loop=!0;do switch(this._state){case 0:this.getInfo(e);break;case 1:this.getPayloadLength16(e);break;case 2:this.getPayloadLength64(e);break;case 3:this.getMask();break;case 4:this.getData(e);break;case 5:case 6:this._loop=!1;return}while(this._loop);if(!this._errored)e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((t[0]&48)!==0){let r=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");e(r);return}let n=(t[0]&64)===64;if(n&&!this._extensions[xM.extensionName]){let r=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(this._fin=(t[0]&128)===128,this._opcode=t[0]&15,this._payloadLength=t[1]&127,this._opcode===0){if(n){let r=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(!this._fragmented){let r=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");e(r);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let r=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(r);return}this._compressed=n}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let r=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");e(r);return}if(n){let r=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let r=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");e(r);return}}else{let r=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(r);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;if(this._masked=(t[1]&128)===128,this._isServer){if(!this._masked){let r=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");e(r);return}}else if(this._masked){let r=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");e(r);return}if(this._payloadLength===126)this._state=1;else if(this._payloadLength===127)this._state=2;else this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),n=t.readUInt32BE(0);if(n>Math.pow(2,21)-1){let r=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");e(r);return}this._payloadLength=n*Math.pow(2,32)+t.readUInt32BE(4),this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8){if(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){let t=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");e(t);return}}if(this._masked)this._state=3;else this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=wM;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}if(t=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0)Vde(t,this._mask)}if(this._opcode>7){this.controlMessage(t,e);return}if(this._maxFragments>0&&++this._numFragments>this._maxFragments){let n=this.createError(RangeError,"Too many message fragments",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS");e(n);return}if(this._compressed){this._state=5,this.decompress(t,e);return}if(t.length)this._messageLength=this._totalPayloadLength,this._fragments.push(t);this.dataMessage(e)}decompress(e,t){this._extensions[xM.extensionName].decompress(e,this._fin,(r,i)=>{if(r)return t(r);if(i.length){if(this._messageLength+=i.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let o=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");t(o);return}this._fragments.push(i)}if(this.dataMessage(t),this._state===0)this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=0;return}let t=this._messageLength,n=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._numFragments=0,this._fragments=[],this._opcode===2){let r;if(this._binaryType==="nodebuffer")r=nw(n,t);else if(this._binaryType==="arraybuffer")r=zde(nw(n,t));else if(this._binaryType==="blob")r=new Blob(n);else r=n;if(this._allowSynchronousEvents)this.emit("message",r,!0),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",r,!0),this._state=0,this.startLoop(e)})}else{let r=nw(n,t);if(!this._skipUTF8Validation&&!_M(r)){let i=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");e(i);return}if(this._state===5||this._allowSynchronousEvents)this.emit("message",r,!1),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",r,!1),this._state=0,this.startLoop(e)})}}controlMessage(e,t){if(this._opcode===8){if(e.length===0)this._loop=!1,this.emit("conclude",1005,wM),this.end();else{let n=e.readUInt16BE(0);if(!Xde(n)){let i=this.createError(RangeError,`invalid status code ${n}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");t(i);return}let r=new Mp(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!_M(r)){let i=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");t(i);return}this._loop=!1,this.emit("conclude",n,r),this.end()}this._state=0;return}if(this._allowSynchronousEvents)this.emit(this._opcode===9?"ping":"pong",e),this._state=0;else this._state=6,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",e),this._state=0,this.startLoop(t)})}createError(e,t,n,r,i){this._loop=!1,this._errored=!0;let o=new e(n?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=i,o[Hde]=r,o}}EM.exports=DM});var ow=U(function(Xke,CM){var{Duplex:Vke}=ne("stream"),{randomFillSync:Kde}=ne("crypto"),{types:{isUint8Array:Zde}}=ne("util"),SM=Hs(),{EMPTY_BUFFER:Yde,kWebSocket:Jde,NOOP:Qde}=pr(),{isBlob:zs,isValidStatusCode:efe}=Gs(),{mask:TM,toBuffer:to}=fu(),on=Symbol("kByteLength"),tfe=Buffer.alloc(4),no,Vs=8192,pn=0,nfe=1,rfe=2;class ai{constructor(e,t,n){if(this._extensions=t||{},n)this._generateMask=n,this._maskBuffer=Buffer.alloc(4);this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=pn,this.onerror=Qde,this[Jde]=void 0}static frame(e,t){let n,r=!1,i=2,o=!1;if(t.mask){if(n=t.maskBuffer||tfe,t.generateMask)t.generateMask(n);else{if(Vs===8192){if(no===void 0)no=Buffer.alloc(8192);Kde(no,0,8192),Vs=0}n[0]=no[Vs++],n[1]=no[Vs++],n[2]=no[Vs++],n[3]=no[Vs++]}o=(n[0]|n[1]|n[2]|n[3])===0,i=6}let s;if(typeof e==="string")if((!t.mask||o)&&t[on]!==void 0)s=t[on];else e=Buffer.from(e),s=e.length;else s=e.length,r=t.mask&&t.readOnly&&!o;let a=s;if(s>=65536)i+=8,a=127;else if(s>125)i+=2,a=126;let c=Buffer.allocUnsafe(r?s+i:i);if(c[0]=t.fin?t.opcode|128:t.opcode,t.rsv1)c[0]|=64;if(c[1]=a,a===126)c.writeUInt16BE(s,2);else if(a===127)c[2]=c[3]=0,c.writeUIntBE(s,4,6);if(!t.mask)return[c,e];if(c[1]|=128,c[i-4]=n[0],c[i-3]=n[1],c[i-2]=n[2],c[i-1]=n[3],o)return[c,e];if(r)return TM(e,n,c,i,s),[c];return TM(e,n,e,0,s),[c,e]}close(e,t,n,r){let i;if(e===void 0)i=Yde;else if(typeof e!=="number"||!efe(e))throw TypeError("First argument must be a valid error code number");else if(t===void 0||!t.length)i=Buffer.allocUnsafe(2),i.writeUInt16BE(e,0);else{let s=Buffer.byteLength(t);if(s>123)throw RangeError("The message must not be greater than 123 bytes");if(i=Buffer.allocUnsafe(2+s),i.writeUInt16BE(e,0),typeof t==="string")i.write(t,2);else if(Zde(t))i.set(t,2);else throw TypeError("Second argument must be a string or a Uint8Array")}let o={[on]:i.length,fin:!0,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};if(this._state!==pn)this.enqueue([this.dispatch,i,!1,o,r]);else this.sendFrame(ai.frame(i,o),r)}ping(e,t,n){let r,i;if(typeof e==="string")r=Buffer.byteLength(e),i=!1;else if(zs(e))r=e.size,i=!1;else e=to(e),r=e.length,i=to.readOnly;if(r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[on]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};if(zs(e))if(this._state!==pn)this.enqueue([this.getBlobData,e,!1,o,n]);else this.getBlobData(e,!1,o,n);else if(this._state!==pn)this.enqueue([this.dispatch,e,!1,o,n]);else this.sendFrame(ai.frame(e,o),n)}pong(e,t,n){let r,i;if(typeof e==="string")r=Buffer.byteLength(e),i=!1;else if(zs(e))r=e.size,i=!1;else e=to(e),r=e.length,i=to.readOnly;if(r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[on]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};if(zs(e))if(this._state!==pn)this.enqueue([this.getBlobData,e,!1,o,n]);else this.getBlobData(e,!1,o,n);else if(this._state!==pn)this.enqueue([this.dispatch,e,!1,o,n]);else this.sendFrame(ai.frame(e,o),n)}send(e,t,n){let r=this._extensions[SM.extensionName],i=t.binary?2:1,o=t.compress,s,a;if(typeof e==="string")s=Buffer.byteLength(e),a=!1;else if(zs(e))s=e.size,a=!1;else e=to(e),s=e.length,a=to.readOnly;if(this._firstFragment){if(this._firstFragment=!1,o&&r&&r.params[r._isServer?"server_no_context_takeover":"client_no_context_takeover"])o=s>=r._threshold;this._compress=o}else o=!1,i=0;if(t.fin)this._firstFragment=!0;let c={[on]:s,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:i,readOnly:a,rsv1:o};if(zs(e))if(this._state!==pn)this.enqueue([this.getBlobData,e,this._compress,c,n]);else this.getBlobData(e,this._compress,c,n);else if(this._state!==pn)this.enqueue([this.dispatch,e,this._compress,c,n]);else this.dispatch(e,this._compress,c,n)}getBlobData(e,t,n,r){this._bufferedBytes+=n[on],this._state=rfe,e.arrayBuffer().then((i)=>{if(this._socket.destroyed){let s=Error("The socket was closed while the blob was being read");process.nextTick(iw,this,s,r);return}this._bufferedBytes-=n[on];let o=to(i);if(!t)this._state=pn,this.sendFrame(ai.frame(o,n),r),this.dequeue();else this.dispatch(o,t,n,r)}).catch((i)=>{process.nextTick(ife,this,i,r)})}dispatch(e,t,n,r){if(!t){this.sendFrame(ai.frame(e,n),r);return}let i=this._extensions[SM.extensionName];this._bufferedBytes+=n[on],this._state=nfe,i.compress(e,n.fin,(o,s)=>{if(this._socket.destroyed){let a=Error("The socket was closed while data was being compressed");iw(this,a,r);return}this._bufferedBytes-=n[on],this._state=pn,n.readOnly=!1,this.sendFrame(ai.frame(s,n),r),this.dequeue()})}dequeue(){while(this._state===pn&&this._queue.length){let e=this._queue.shift();this._bufferedBytes-=e[3][on],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][on],this._queue.push(e)}sendFrame(e,t){if(e.length===2)this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork();else this._socket.write(e[0],t)}}CM.exports=ai;function iw(e,t,n){if(typeof n==="function")n(t);for(let r=0;r<e._queue.length;r++){let i=e._queue[r],o=i[i.length-1];if(typeof o==="function")o(t)}}function ife(e,t,n){iw(e,t,n),e.onerror(t)}});var MM=U(function(Kke,IM){var{kForOnEventAttribute:hu,kListener:sw}=pr(),AM=Symbol("kCode"),kM=Symbol("kData"),UM=Symbol("kError"),RM=Symbol("kMessage"),FM=Symbol("kReason"),Xs=Symbol("kTarget"),PM=Symbol("kType"),OM=Symbol("kWasClean");class ci{constructor(e){this[Xs]=null,this[PM]=e}get target(){return this[Xs]}get type(){return this[PM]}}Object.defineProperty(ci.prototype,"target",{enumerable:!0});Object.defineProperty(ci.prototype,"type",{enumerable:!0});class Ks extends ci{constructor(e,t={}){super(e);this[AM]=t.code===void 0?0:t.code,this[FM]=t.reason===void 0?"":t.reason,this[OM]=t.wasClean===void 0?!1:t.wasClean}get code(){return this[AM]}get reason(){return this[FM]}get wasClean(){return this[OM]}}Object.defineProperty(Ks.prototype,"code",{enumerable:!0});Object.defineProperty(Ks.prototype,"reason",{enumerable:!0});Object.defineProperty(Ks.prototype,"wasClean",{enumerable:!0});class gu extends ci{constructor(e,t={}){super(e);this[UM]=t.error===void 0?null:t.error,this[RM]=t.message===void 0?"":t.message}get error(){return this[UM]}get message(){return this[RM]}}Object.defineProperty(gu.prototype,"error",{enumerable:!0});Object.defineProperty(gu.prototype,"message",{enumerable:!0});class Lp extends ci{constructor(e,t={}){super(e);this[kM]=t.data===void 0?null:t.data}get data(){return this[kM]}}Object.defineProperty(Lp.prototype,"data",{enumerable:!0});var ofe={addEventListener(e,t,n={}){for(let i of this.listeners(e))if(!n[hu]&&i[sw]===t&&!i[hu])return;let r;if(e==="message")r=function(o,s){let a=new Lp("message",{data:s?o:o.toString()});a[Xs]=this,Np(t,this,a)};else if(e==="close")r=function(o,s){let a=new Ks("close",{code:o,reason:s.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});a[Xs]=this,Np(t,this,a)};else if(e==="error")r=function(o){let s=new gu("error",{error:o,message:o.message});s[Xs]=this,Np(t,this,s)};else if(e==="open")r=function(){let o=new ci("open");o[Xs]=this,Np(t,this,o)};else return;if(r[hu]=!!n[hu],r[sw]=t,n.once)this.once(e,r);else this.on(e,r)},removeEventListener(e,t){for(let n of this.listeners(e))if(n[sw]===t&&!n[hu]){this.removeListener(e,n);break}}};IM.exports={CloseEvent:Ks,ErrorEvent:gu,Event:ci,EventTarget:ofe,MessageEvent:Lp};function Np(e,t,n){if(typeof e==="object"&&e.handleEvent)e.handleEvent.call(e,n);else e.call(t,n)}});var Bp=U(function(Zke,NM){var{tokenChars:mu}=Gs();function Bn(e,t,n){if(e[t]===void 0)e[t]=[n];else e[t].push(n)}function sfe(e){let t=Object.create(null),n=Object.create(null),r=!1,i=!1,o=!1,s,a,c=-1,u=-1,d=-1,f=0;for(;f<e.length;f++)if(u=e.charCodeAt(f),s===void 0)if(d===-1&&mu[u]===1){if(c===-1)c=f}else if(f!==0&&(u===32||u===9)){if(d===-1&&c!==-1)d=f}else if(u===59||u===44){if(c===-1)throw SyntaxError(`Unexpected character at index ${f}`);if(d===-1)d=f;let h=e.slice(c,d);if(u===44)Bn(t,h,n),n=Object.create(null);else s=h;c=d=-1}else throw SyntaxError(`Unexpected character at index ${f}`);else if(a===void 0)if(d===-1&&mu[u]===1){if(c===-1)c=f}else if(u===32||u===9){if(d===-1&&c!==-1)d=f}else if(u===59||u===44){if(c===-1)throw SyntaxError(`Unexpected character at index ${f}`);if(d===-1)d=f;if(Bn(n,e.slice(c,d),!0),u===44)Bn(t,s,n),n=Object.create(null),s=void 0;c=d=-1}else if(u===61&&c!==-1&&d===-1)a=e.slice(c,f),c=d=-1;else throw SyntaxError(`Unexpected character at index ${f}`);else if(i){if(mu[u]!==1)throw SyntaxError(`Unexpected character at index ${f}`);if(c===-1)c=f;else if(!r)r=!0;i=!1}else if(o)if(mu[u]===1){if(c===-1)c=f}else if(u===34&&c!==-1)o=!1,d=f;else if(u===92)i=!0;else throw SyntaxError(`Unexpected character at index ${f}`);else if(u===34&&e.charCodeAt(f-1)===61)o=!0;else if(d===-1&&mu[u]===1){if(c===-1)c=f}else if(c!==-1&&(u===32||u===9)){if(d===-1)d=f}else if(u===59||u===44){if(c===-1)throw SyntaxError(`Unexpected character at index ${f}`);if(d===-1)d=f;let h=e.slice(c,d);if(r)h=h.replace(/\\/g,""),r=!1;if(Bn(n,a,h),u===44)Bn(t,s,n),n=Object.create(null),s=void 0;a=void 0,c=d=-1}else throw SyntaxError(`Unexpected character at index ${f}`);if(c===-1||o||u===32||u===9)throw SyntaxError("Unexpected end of input");if(d===-1)d=f;let p=e.slice(c,d);if(s===void 0)Bn(t,p,n);else{if(a===void 0)Bn(n,p,!0);else if(r)Bn(n,a,p.replace(/\\/g,""));else Bn(n,a,p);Bn(t,s,n)}return t}function afe(e){return Object.keys(e).map((t)=>{let n=e[t];if(!Array.isArray(n))n=[n];return n.map((r)=>[t].concat(Object.keys(r).map((i)=>{let o=r[i];if(!Array.isArray(o))o=[o];return o.map((s)=>s===!0?i:`${i}=${s}`).join("; ")})).join("; ")).join(", ")}).join(", ")}NM.exports={format:afe,parse:sfe}});var $p=U(function(Qke,KM){var cfe=ne("events"),ufe=ne("https"),lfe=ne("http"),WM=ne("net"),dfe=ne("tls"),{randomBytes:ffe,createHash:pfe}=ne("crypto"),{Duplex:Yke,Readable:Jke}=ne("stream"),{URL:aw}=ne("url"),ui=Hs(),hfe=rw(),gfe=ow(),{isBlob:mfe}=Gs(),{BINARY_TYPES:LM,CLOSE_TIMEOUT:yfe,EMPTY_BUFFER:Wp,GUID:bfe,kForOnEventAttribute:cw,kListener:vfe,kStatusCode:xfe,kWebSocket:it,NOOP:jM}=pr(),{EventTarget:{addEventListener:wfe,removeEventListener:_fe}}=MM(),{format:Dfe,parse:Efe}=Bp(),{toBuffer:Sfe}=fu(),qM=Symbol("kAborted"),uw=[8,13],gr=["CONNECTING","OPEN","CLOSING","CLOSED"],Tfe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class re extends cfe{constructor(e,t,n){super();if(this._binaryType=LM[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Wp,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=re.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,e!==null){if(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,t===void 0)t=[];else if(!Array.isArray(t))if(typeof t==="object"&&t!==null)n=t,t=[];else t=[t];$M(this,e,t,n)}else this._autoPong=n.autoPong,this._closeTimeout=n.closeTimeout,this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){if(!LM.includes(e))return;if(this._binaryType=e,this._receiver)this._receiver._binaryType=e}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,n){let r=new hfe({allowSynchronousEvents:n.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxBufferedChunks:n.maxBufferedChunks,maxFragments:n.maxFragments,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation}),i=new gfe(e,this._extensions,n.generateMask);if(this._receiver=r,this._sender=i,this._socket=e,r[it]=this,i[it]=this,e[it]=this,r.on("conclude",kfe),r.on("drain",Ufe),r.on("error",Rfe),r.on("message",Ffe),r.on("ping",Pfe),r.on("pong",Ofe),i.onerror=Ife,e.setTimeout)e.setTimeout(0);if(e.setNoDelay)e.setNoDelay();if(t.length>0)e.unshift(t);e.on("close",zM),e.on("data",qp),e.on("end",VM),e.on("error",XM),this._readyState=re.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=re.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[ui.extensionName])this._extensions[ui.extensionName].cleanup();this._receiver.removeAllListeners(),this._readyState=re.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState===re.CLOSED)return;if(this.readyState===re.CONNECTING){Gt(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===re.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted))this._socket.end();return}this._readyState=re.CLOSING,this._sender.close(e,t,!this._isServer,(n)=>{if(n)return;if(this._closeFrameSent=!0,this._closeFrameReceived||this._receiver._writableState.errorEmitted)this._socket.end()}),GM(this)}pause(){if(this.readyState===re.CONNECTING||this.readyState===re.CLOSED)return;this._paused=!0,this._socket.pause()}ping(e,t,n){if(this.readyState===re.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e==="function")n=e,e=t=void 0;else if(typeof t==="function")n=t,t=void 0;if(typeof e==="number")e=e.toString();if(this.readyState!==re.OPEN){lw(this,e,n);return}if(t===void 0)t=!this._isServer;this._sender.ping(e||Wp,t,n)}pong(e,t,n){if(this.readyState===re.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e==="function")n=e,e=t=void 0;else if(typeof t==="function")n=t,t=void 0;if(typeof e==="number")e=e.toString();if(this.readyState!==re.OPEN){lw(this,e,n);return}if(t===void 0)t=!this._isServer;this._sender.pong(e||Wp,t,n)}resume(){if(this.readyState===re.CONNECTING||this.readyState===re.CLOSED)return;if(this._paused=!1,!this._receiver._writableState.needDrain)this._socket.resume()}send(e,t,n){if(this.readyState===re.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t==="function")n=t,t={};if(typeof e==="number")e=e.toString();if(this.readyState!==re.OPEN){lw(this,e,n);return}let r={binary:typeof e!=="string",mask:!this._isServer,compress:!0,fin:!0,...t};if(!this._extensions[ui.extensionName])r.compress=!1;this._sender.send(e||Wp,r,n)}terminate(){if(this.readyState===re.CLOSED)return;if(this.readyState===re.CONNECTING){Gt(this,this._req,"WebSocket was closed before the connection was established");return}if(this._socket)this._readyState=re.CLOSING,this._socket.destroy()}}Object.defineProperty(re,"CONNECTING",{enumerable:!0,value:gr.indexOf("CONNECTING")});Object.defineProperty(re.prototype,"CONNECTING",{enumerable:!0,value:gr.indexOf("CONNECTING")});Object.defineProperty(re,"OPEN",{enumerable:!0,value:gr.indexOf("OPEN")});Object.defineProperty(re.prototype,"OPEN",{enumerable:!0,value:gr.indexOf("OPEN")});Object.defineProperty(re,"CLOSING",{enumerable:!0,value:gr.indexOf("CLOSING")});Object.defineProperty(re.prototype,"CLOSING",{enumerable:!0,value:gr.indexOf("CLOSING")});Object.defineProperty(re,"CLOSED",{enumerable:!0,value:gr.indexOf("CLOSED")});Object.defineProperty(re.prototype,"CLOSED",{enumerable:!0,value:gr.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((e)=>{Object.defineProperty(re.prototype,e,{enumerable:!0})});["open","error","close","message"].forEach((e)=>{Object.defineProperty(re.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[cw])return t[vfe];return null},set(t){for(let n of this.listeners(e))if(n[cw]){this.removeListener(e,n);break}if(typeof t!=="function")return;this.addEventListener(e,t,{[cw]:!0})}})});re.prototype.addEventListener=wfe;re.prototype.removeEventListener=_fe;KM.exports=re;function $M(e,t,n,r){let i={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:yfe,protocolVersion:uw[1],maxBufferedChunks:262144,maxFragments:16384,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(e._autoPong=i.autoPong,e._closeTimeout=i.closeTimeout,!uw.includes(i.protocolVersion))throw RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${uw.join(", ")})`);let o;if(t instanceof aw)o=t;else try{o=new aw(t)}catch{throw SyntaxError(`Invalid URL: ${t}`)}if(o.protocol==="http:")o.protocol="ws:";else if(o.protocol==="https:")o.protocol="wss:";e._url=o.href;let s=o.protocol==="wss:",a=o.protocol==="ws+unix:",c;if(o.protocol!=="ws:"&&!s&&!a)c=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`;else if(a&&!o.pathname)c="The URL's pathname is empty";else if(o.hash)c="The URL contains a fragment identifier";if(c){let b=SyntaxError(c);if(e._redirects===0)throw b;else{jp(e,b);return}}let u=s?443:80,d=ffe(16).toString("base64"),f=s?ufe.request:lfe.request,p=new Set,h;if(i.createConnection=i.createConnection||(s?Afe:Cfe),i.defaultPort=i.defaultPort||u,i.port=o.port||u,i.host=o.hostname.startsWith("[")?o.hostname.slice(1,-1):o.hostname,i.headers={...i.headers,"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":d,Connection:"Upgrade",Upgrade:"websocket"},i.path=o.pathname+o.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate)h=new ui({...i.perMessageDeflate,isServer:!1,maxPayload:i.maxPayload}),i.headers["Sec-WebSocket-Extensions"]=Dfe({[ui.extensionName]:h.offer()});if(n.length){for(let b of n){if(typeof b!=="string"||!Tfe.test(b)||p.has(b))throw SyntaxError("An invalid or duplicated subprotocol was specified");p.add(b)}i.headers["Sec-WebSocket-Protocol"]=n.join(",")}if(i.origin)if(i.protocolVersion<13)i.headers["Sec-WebSocket-Origin"]=i.origin;else i.headers.Origin=i.origin;if(o.username||o.password)i.auth=`${o.username}:${o.password}`;if(a){let b=i.path.split(":");i.socketPath=b[0],i.path=b[1]}let g;if(i.followRedirects){if(e._redirects===0){e._originalIpc=a,e._originalSecure=s,e._originalHostOrSocketPath=a?i.socketPath:o.host;let b=r&&r.headers;if(r={...r,headers:{}},b)for(let[v,y]of Object.entries(b))r.headers[v.toLowerCase()]=y}else if(e.listenerCount("redirect")===0){let b=a?e._originalIpc?i.socketPath===e._originalHostOrSocketPath:!1:e._originalIpc?!1:o.host===e._originalHostOrSocketPath;if(!b||e._originalSecure&&!s){if(delete i.headers.authorization,delete i.headers.cookie,!b)delete i.headers.host;i.auth=void 0}}if(i.auth&&!r.headers.authorization)r.headers.authorization="Basic "+Buffer.from(i.auth).toString("base64");if(g=e._req=f(i),e._redirects)e.emit("redirect",e.url,g)}else g=e._req=f(i);if(i.timeout)g.on("timeout",()=>{Gt(e,g,"Opening handshake has timed out")});if(g.on("error",(b)=>{if(g===null||g[qM])return;g=e._req=null,jp(e,b)}),g.on("response",(b)=>{let v=b.headers.location,y=b.statusCode;if(v&&i.followRedirects&&y>=300&&y<400){if(++e._redirects>i.maxRedirects){Gt(e,g,"Maximum redirects exceeded");return}g.abort();let x;try{x=new aw(v,t)}catch(m){let w=SyntaxError(`Invalid URL: ${v}`);jp(e,w);return}$M(e,x,n,r)}else if(!e.emit("unexpected-response",g,b))Gt(e,g,`Unexpected server response: ${b.statusCode}`)}),g.on("upgrade",(b,v,y)=>{if(e.emit("upgrade",b),e.readyState!==re.CONNECTING)return;g=e._req=null;let x=b.headers.upgrade;if(x===void 0||x.toLowerCase()!=="websocket"){Gt(e,v,"Invalid Upgrade header");return}let m=pfe("sha1").update(d+bfe).digest("base64");if(b.headers["sec-websocket-accept"]!==m){Gt(e,v,"Invalid Sec-WebSocket-Accept header");return}let w=b.headers["sec-websocket-protocol"],D;if(w!==void 0){if(!p.size)D="Server sent a subprotocol but none was requested";else if(!p.has(w))D="Server sent an invalid subprotocol"}else if(p.size)D="Server sent no subprotocol";if(D){Gt(e,v,D);return}if(w)e._protocol=w;let T=b.headers["sec-websocket-extensions"];if(T!==void 0){if(!h){Gt(e,v,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let _;try{_=Efe(T)}catch(S){Gt(e,v,"Invalid Sec-WebSocket-Extensions header");return}let A=Object.keys(_);if(A.length!==1||A[0]!==ui.extensionName){Gt(e,v,"Server indicated an extension that was not requested");return}try{h.accept(_[ui.extensionName])}catch(S){Gt(e,v,"Invalid Sec-WebSocket-Extensions header");return}e._extensions[ui.extensionName]=h}e.setSocket(v,y,{allowSynchronousEvents:i.allowSynchronousEvents,generateMask:i.generateMask,maxBufferedChunks:i.maxBufferedChunks,maxFragments:i.maxFragments,maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}),i.finishRequest)i.finishRequest(g,e);else g.end()}function jp(e,t){e._readyState=re.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function Cfe(e){return e.path=e.socketPath,WM.connect(e)}function Afe(e){if(e.path=void 0,!e.servername&&e.servername!=="")e.servername=WM.isIP(e.host)?"":e.host;return dfe.connect(e)}function Gt(e,t,n){e._readyState=re.CLOSING;let r=Error(n);if(Error.captureStackTrace(r,Gt),t.setHeader){if(t[qM]=!0,t.abort(),t.socket&&!t.socket.destroyed)t.socket.destroy();process.nextTick(jp,e,r)}else t.destroy(r),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e))}function lw(e,t,n){if(t){let r=mfe(t)?t.size:Sfe(t).length;if(e._socket)e._sender._bufferedBytes+=r;else e._bufferedAmount+=r}if(n){let r=Error(`WebSocket is not open: readyState ${e.readyState} (${gr[e.readyState]})`);process.nextTick(n,r)}}function kfe(e,t){let n=this[it];if(n._closeFrameReceived=!0,n._closeMessage=t,n._closeCode=e,n._socket[it]===void 0)return;if(n._socket.removeListener("data",qp),process.nextTick(HM,n._socket),e===1005)n.close();else n.close(e,t)}function Ufe(){let e=this[it];if(!e.isPaused)e._socket.resume()}function Rfe(e){let t=this[it];if(t._socket[it]!==void 0)t._socket.removeListener("data",qp),process.nextTick(HM,t._socket),t.close(e[xfe]);if(!t._errorEmitted)t._errorEmitted=!0,t.emit("error",e)}function BM(){this[it].emitClose()}function Ffe(e,t){this[it].emit("message",e,t)}function Pfe(e){let t=this[it];if(t._autoPong)t.pong(e,!this._isServer,jM);t.emit("ping",e)}function Ofe(e){this[it].emit("pong",e)}function HM(e){e.resume()}function Ife(e){let t=this[it];if(t.readyState===re.CLOSED)return;if(t.readyState===re.OPEN)t._readyState=re.CLOSING,GM(t);if(this._socket.end(),!t._errorEmitted)t._errorEmitted=!0,t.emit("error",e)}function GM(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function zM(){let e=this[it];if(this.removeListener("close",zM),this.removeListener("data",qp),this.removeListener("end",VM),e._readyState=re.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&this._readableState.length!==0){let t=this.read(this._readableState.length);e._receiver.write(t)}if(e._receiver.end(),this[it]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted)e.emitClose();else e._receiver.on("error",BM),e._receiver.on("finish",BM)}function qp(e){if(!this[it]._receiver.write(e))this.pause()}function VM(){let e=this[it];e._readyState=re.CLOSING,e._receiver.end(),this.end()}function XM(){let e=this[it];if(this.removeListener("error",XM),this.on("error",jM),e)e._readyState=re.CLOSING,this.destroy()}});var QM=U(function(tUe,JM){var eUe=$p(),{Duplex:Mfe}=ne("stream");function ZM(e){e.emit("close")}function Nfe(){if(!this.destroyed&&this._writableState.finished)this.destroy()}function YM(e){if(this.removeListener("error",YM),this.destroy(),this.listenerCount("error")===0)this.emit("error",e)}function Lfe(e,t){let n=!0,r=new Mfe({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(o,s){let a=!s&&r._readableState.objectMode?o.toString():o;if(!r.push(a))e.pause()}),e.once("error",function(o){if(r.destroyed)return;n=!1,r.destroy(o)}),e.once("close",function(){if(r.destroyed)return;r.push(null)}),r._destroy=function(i,o){if(e.readyState===e.CLOSED){o(i),process.nextTick(ZM,r);return}let s=!1;if(e.once("error",function(c){s=!0,o(c)}),e.once("close",function(){if(!s)o(i);process.nextTick(ZM,r)}),n)e.terminate()},r._final=function(i){if(e.readyState===e.CONNECTING){e.once("open",function(){r._final(i)});return}if(e._socket===null)return;if(e._socket._writableState.finished){if(i(),r._readableState.endEmitted)r.destroy()}else e._socket.once("finish",function(){i()}),e.close()},r._read=function(){if(e.isPaused)e.resume()},r._write=function(i,o,s){if(e.readyState===e.CONNECTING){e.once("open",function(){r._write(i,o,s)});return}e.send(i,s)},r.on("end",Nfe),r.on("error",YM),r}JM.exports=Lfe});var dw=U(function(nUe,e4){var{tokenChars:Bfe}=Gs();function Wfe(e){let t=new Set,n=-1,r=-1,i=0;for(i;i<e.length;i++){let s=e.charCodeAt(i);if(r===-1&&Bfe[s]===1){if(n===-1)n=i}else if(i!==0&&(s===32||s===9)){if(r===-1&&n!==-1)r=i}else if(s===44){if(n===-1)throw SyntaxError(`Unexpected character at index ${i}`);if(r===-1)r=i;let a=e.slice(n,r);if(t.has(a))throw SyntaxError(`The "${a}" subprotocol is duplicated`);t.add(a),n=r=-1}else throw SyntaxError(`Unexpected character at index ${i}`)}if(n===-1||r!==-1)throw SyntaxError("Unexpected end of input");let o=e.slice(n,i);if(t.has(o))throw SyntaxError(`The "${o}" subprotocol is duplicated`);return t.add(o),t}e4.exports={parse:Wfe}});var o4=U(function(iUe,i4){var jfe=ne("events"),Hp=ne("http"),{Duplex:rUe}=ne("stream"),{createHash:qfe}=ne("crypto"),n4=Bp(),ro=Hs(),$fe=dw(),Hfe=$p(),{CLOSE_TIMEOUT:Gfe,GUID:zfe,kWebSocket:Vfe}=pr(),Xfe=/^[+/0-9A-Za-z]{22}==$/;class r4 extends jfe{constructor(e,t){super();if(e={allowSynchronousEvents:!0,autoPong:!0,maxBufferedChunks:262144,maxFragments:16384,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:Gfe,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:Hfe,...e},e.port==null&&!e.server&&!e.noServer||e.port!=null&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(e.port!=null)this._server=Hp.createServer((n,r)=>{let i=Hp.STATUS_CODES[426];r.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"}),r.end(i)}),this._server.listen(e.port,e.host,e.backlog,t);else if(e.server)this._server=e.server;if(this._server){let n=this.emit.bind(this,"connection");this._removeListeners=Kfe(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(r,i,o)=>{this.handleUpgrade(r,i,o,n)}})}if(e.perMessageDeflate===!0)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set,this._shouldEmitClose=!1;this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');if(!this._server)return null;return this._server.address()}close(e){if(this._state===2){if(e)this.once("close",()=>{e(Error("The server is not running"))});process.nextTick(yu,this);return}if(e)this.once("close",e);if(this._state===1)return;if(this._state=1,this.options.noServer||this.options.server){if(this._server)this._removeListeners(),this._removeListeners=this._server=null;if(this.clients)if(!this.clients.size)process.nextTick(yu,this);else this._shouldEmitClose=!0;else process.nextTick(yu,this)}else{let t=this._server;this._removeListeners(),this._removeListeners=this._server=null,t.close(()=>{yu(this)})}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((t!==-1?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,n,r){t.on("error",t4);let i=e.headers["sec-websocket-key"],o=e.headers.upgrade,s=+e.headers["sec-websocket-version"];if(e.method!=="GET"){io(this,e,t,405,"Invalid HTTP method");return}if(o===void 0||o.toLowerCase()!=="websocket"){io(this,e,t,400,"Invalid Upgrade header");return}if(i===void 0||!Xfe.test(i)){io(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");return}if(s!==13&&s!==8){io(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(e)){bu(t,400);return}let a=e.headers["sec-websocket-protocol"],c=new Set;if(a!==void 0)try{c=$fe.parse(a)}catch(f){io(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let u=e.headers["sec-websocket-extensions"],d={};if(this.options.perMessageDeflate&&u!==void 0){let f=new ro({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let p=n4.parse(u);if(p[ro.extensionName])f.accept(p[ro.extensionName]),d[ro.extensionName]=f}catch(p){io(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let f={origin:e.headers[`${s===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(f,(p,h,g,b)=>{if(!p)return bu(t,h||401,g,b);this.completeUpgrade(d,i,c,e,t,n,r)});return}if(!this.options.verifyClient(f))return bu(t,401)}this.completeUpgrade(d,i,c,e,t,n,r)}completeUpgrade(e,t,n,r,i,o,s){if(!i.readable||!i.writable)return i.destroy();if(i[Vfe])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return bu(i,503);let c=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${qfe("sha1").update(t+zfe).digest("base64")}`],u=new this.options.WebSocket(null,void 0,this.options);if(n.size){let d=this.options.handleProtocols?this.options.handleProtocols(n,r):n.values().next().value;if(d)c.push(`Sec-WebSocket-Protocol: ${d}`),u._protocol=d}if(e[ro.extensionName]){let d=e[ro.extensionName].params,f=n4.format({[ro.extensionName]:[d]});c.push(`Sec-WebSocket-Extensions: ${f}`),u._extensions=e}if(this.emit("headers",c,r),i.write(c.concat(`\r
|
|
228
|
+
`).map(function(t){return t.trim()}).filter(function(t){return t!==""&&t.charAt(0)!=="#"});else return e}function yoe(e){return e}});var G8=U(function(Doe){var xoe=ne("fs"),pp=Jn(),H8=Iv();Doe.openZip=_oe;var woe=pp.promisify(xoe.readFile);function _oe(e){if(e.path)return woe(e.path).then(H8.openArrayBuffer);else if(e.buffer)return pp.resolve(H8.openArrayBuffer(e.buffer));else if(e.file)return pp.resolve(e.file);else return pp.reject(Error("Could not find file in options"))}});var z8=U(function(Aoe){var Soe=eu(),Toe=tu();Aoe.element=Coe;function Coe(e){return function(t){return Toe.elementWithTag(Soe.element(e),[t])}}});var X8=U(function($oe){var Uoe=We(),V8=I3(),Cx=L3(),Roe=c8().DocumentConverter,Foe=l8().convertElementToRawText,Poe=W8().readStyle,Ooe=$8().readOptions,hp=G8(),Ioe=Sn().Result;$oe.convertToHtml=Moe;$oe.convertToMarkdown=Noe;$oe.convert=Ax;$oe.extractRawText=joe;$oe.images=gx();$oe.transforms=ox();$oe.underline=z8();$oe.embedStyleMap=qoe;$oe.readEmbeddedStyleMap=Loe;function Moe(e,t){return Ax(e,t)}function Noe(e,t){var n=Object.create(t||{});return n.outputFormat="markdown",Ax(e,n)}function Ax(e,t){return t=Ooe(t),hp.openZip(e).tap(function(n){return Cx.readStyleMap(n).then(function(r){t.embeddedStyleMap=r})}).then(function(n){return V8.read(n,e,t).then(function(r){return r.map(t.transformDocument)}).then(function(r){return Boe(r,t)})})}function Loe(e){return hp.openZip(e).then(Cx.readStyleMap)}function Boe(e,t){var n=Woe(t.readStyleMap()),r=Uoe.extend({},t,{styleMap:n.value}),i=new Roe(r);return e.flatMapThen(function(o){return n.flatMapThen(function(s){return i.convertToHtml(o)})})}function Woe(e){return Ioe.combine((e||[]).map(Poe)).map(function(t){return t.filter(function(n){return!!n})})}function joe(e){return hp.openZip(e).then(V8.read).then(function(t){return t.map(Foe)})}function qoe(e,t){return hp.openZip(e).tap(function(n){return Cx.writeStyleMap(n,t)}).then(function(n){return n.toArrayBuffer()}).then(function(n){return{toArrayBuffer:function(){return n},toBuffer:function(){return Buffer.from(n)}}})}$oe.styleMapping=function(){throw Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)}});var pr=U(function($ke,aM){var oM=["nodebuffer","arraybuffer","fragments"],sM=typeof Blob<"u";if(sM)oM.push("blob");aM.exports={BINARY_TYPES:oM,CLOSE_TIMEOUT:30000,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:sM,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var fu=U(function(Hke,Fp){var{EMPTY_BUFFER:Fde}=pr(),J0=Buffer[Symbol.species];function Pde(e,t){if(e.length===0)return Fde;if(e.length===1)return e[0];let n=Buffer.allocUnsafe(t),r=0;for(let i=0;i<e.length;i++){let o=e[i];n.set(o,r),r+=o.length}if(r<t)return new J0(n.buffer,n.byteOffset,r);return n}function cM(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[o]^t[o&3]}function uM(e,t){for(let n=0;n<e.length;n++)e[n]^=t[n&3]}function Ode(e){if(e.length===e.buffer.byteLength)return e.buffer;return e.buffer.slice(e.byteOffset,e.byteOffset+e.length)}function Q0(e){if(Q0.readOnly=!0,Buffer.isBuffer(e))return e;let t;if(e instanceof ArrayBuffer)t=new J0(e);else if(ArrayBuffer.isView(e))t=new J0(e.buffer,e.byteOffset,e.byteLength);else t=Buffer.from(e),Q0.readOnly=!1;return t}Fp.exports={concat:Pde,mask:cM,toArrayBuffer:Ode,toBuffer:Q0,unmask:uM};if(!process.env.WS_NO_BUFFER_UTIL)try{let e=(()=>{throw new Error("Cannot require module "+"bufferutil");})();Fp.exports.mask=function(t,n,r,i,o){if(o<48)cM(t,n,r,i,o);else e.mask(t,n,r,i,o)},Fp.exports.unmask=function(t,n){if(t.length<32)uM(t,n);else e.unmask(t,n)}}catch(e){}});var pM=U(function(Gke,fM){var lM=Symbol("kDone"),ew=Symbol("kRun");class dM{constructor(e){this[lM]=()=>{this.pending--,this[ew]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[ew]()}[ew](){if(this.pending===this.concurrency)return;if(this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[lM])}}}fM.exports=dM});var Hs=U(function(zke,bM){var pu=ne("zlib"),hM=fu(),Ide=pM(),{kStatusCode:gM}=pr(),Mde=Buffer[Symbol.species],Nde=Buffer.from([0,0,255,255]),Op=Symbol("permessage-deflate"),hr=Symbol("total-length"),qs=Symbol("callback"),si=Symbol("buffers"),$s=Symbol("error"),Pp;class mM{constructor(e){if(this._options=e||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Pp){let t=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Pp=new Ide(t)}}static get extensionName(){return"permessage-deflate"}offer(){let e={};if(this._options.serverNoContextTakeover)e.server_no_context_takeover=!0;if(this._options.clientNoContextTakeover)e.client_no_context_takeover=!0;if(this._options.serverMaxWindowBits)e.server_max_window_bits=this._options.serverMaxWindowBits;if(this._options.clientMaxWindowBits)e.client_max_window_bits=this._options.clientMaxWindowBits;else if(this._options.clientMaxWindowBits==null)e.client_max_window_bits=!0;return e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate)this._inflate.close(),this._inflate=null;if(this._deflate){let e=this._deflate[qs];if(this._deflate.close(),this._deflate=null,e)e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,n=e.find((r)=>{if(t.serverNoContextTakeover===!1&&r.server_no_context_takeover||r.server_max_window_bits&&(t.serverMaxWindowBits===!1||typeof t.serverMaxWindowBits==="number"&&t.serverMaxWindowBits>r.server_max_window_bits)||typeof t.clientMaxWindowBits==="number"&&(typeof r.client_max_window_bits==="number"?t.clientMaxWindowBits>r.client_max_window_bits:!r.client_max_window_bits))return!1;return!0});if(!n)throw Error("None of the extension offers can be accepted");if(t.serverNoContextTakeover)n.server_no_context_takeover=!0;if(t.clientNoContextTakeover)n.client_no_context_takeover=!0;if(typeof t.serverMaxWindowBits==="number")n.server_max_window_bits=t.serverMaxWindowBits;if(typeof t.clientMaxWindowBits==="number")n.client_max_window_bits=t.clientMaxWindowBits;else if(n.client_max_window_bits===!0||t.clientMaxWindowBits===!1)delete n.client_max_window_bits;return n}acceptAsClient(e){let t=e[0];if(this._options.clientNoContextTakeover===!1&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(!t.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number")t.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits==="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"');return t}normalizeParams(e){return e.forEach((t)=>{Object.keys(t).forEach((n)=>{let r=t[n];if(r.length>1)throw Error(`Parameter "${n}" must have only a single value`);if(r=r[0],n==="client_max_window_bits"){if(r!==!0){let i=+r;if(!Number.isInteger(i)||i<8||i>15)throw TypeError(`Invalid value for parameter "${n}": ${r}`);r=i}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${n}": ${r}`)}else if(n==="server_max_window_bits"){let i=+r;if(!Number.isInteger(i)||i<8||i>15)throw TypeError(`Invalid value for parameter "${n}": ${r}`);r=i}else if(n==="client_no_context_takeover"||n==="server_no_context_takeover"){if(r!==!0)throw TypeError(`Invalid value for parameter "${n}": ${r}`)}else throw Error(`Unknown parameter "${n}"`);t[n]=r})}),e}decompress(e,t,n){Pp.add((r)=>{this._decompress(e,t,(i,o)=>{r(),n(i,o)})})}compress(e,t,n){Pp.add((r)=>{this._compress(e,t,(i,o)=>{r(),n(i,o)})})}_decompress(e,t,n){let r=this._isServer?"client":"server";if(!this._inflate){let i=`${r}_max_window_bits`,o=typeof this.params[i]!=="number"?pu.Z_DEFAULT_WINDOWBITS:this.params[i];this._inflate=pu.createInflateRaw({...this._options.zlibInflateOptions,windowBits:o}),this._inflate[Op]=this,this._inflate[hr]=0,this._inflate[si]=[],this._inflate.on("error",Bde),this._inflate.on("data",yM)}if(this._inflate[qs]=n,this._inflate.write(e),t)this._inflate.write(Nde);this._inflate.flush(()=>{let i=this._inflate[$s];if(i){this._inflate.close(),this._inflate=null,n(i);return}let o=hM.concat(this._inflate[si],this._inflate[hr]);if(this._inflate._readableState.endEmitted)this._inflate.close(),this._inflate=null;else if(this._inflate[hr]=0,this._inflate[si]=[],t&&this.params[`${r}_no_context_takeover`])this._inflate.reset();n(null,o)})}_compress(e,t,n){let r=this._isServer?"server":"client";if(!this._deflate){let i=`${r}_max_window_bits`,o=typeof this.params[i]!=="number"?pu.Z_DEFAULT_WINDOWBITS:this.params[i];this._deflate=pu.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:o}),this._deflate[hr]=0,this._deflate[si]=[],this._deflate.on("data",Lde)}this._deflate[qs]=n,this._deflate.write(e),this._deflate.flush(pu.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let i=hM.concat(this._deflate[si],this._deflate[hr]);if(t)i=new Mde(i.buffer,i.byteOffset,i.length-4);if(this._deflate[qs]=null,this._deflate[hr]=0,this._deflate[si]=[],t&&this.params[`${r}_no_context_takeover`])this._deflate.reset();n(null,i)})}}bM.exports=mM;function Lde(e){this[si].push(e),this[hr]+=e.length}function yM(e){if(this[hr]+=e.length,this[Op]._maxPayload<1||this[hr]<=this[Op]._maxPayload){this[si].push(e);return}this[$s]=RangeError("Max payload size exceeded"),this[$s].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[$s][gM]=1009,this.removeListener("data",yM),this.reset()}function Bde(e){if(this[Op]._inflate=null,this[$s]){this[qs](this[$s]);return}e[gM]=1007,this[qs](e)}});var Gs=U(function(Vke,Ip){var{isUtf8:vM}=ne("buffer"),{hasBlob:Wde}=pr(),jde=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function qde(e){return e>=1000&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3000&&e<=4999}function tw(e){let t=e.length,n=0;while(n<t)if((e[n]&128)===0)n++;else if((e[n]&224)===192){if(n+1===t||(e[n+1]&192)!==128||(e[n]&254)===192)return!1;n+=2}else if((e[n]&240)===224){if(n+2>=t||(e[n+1]&192)!==128||(e[n+2]&192)!==128||e[n]===224&&(e[n+1]&224)===128||e[n]===237&&(e[n+1]&224)===160)return!1;n+=3}else if((e[n]&248)===240){if(n+3>=t||(e[n+1]&192)!==128||(e[n+2]&192)!==128||(e[n+3]&192)!==128||e[n]===240&&(e[n+1]&240)===128||e[n]===244&&e[n+1]>143||e[n]>244)return!1;n+=4}else return!1;return!0}function $de(e){return Wde&&typeof e==="object"&&typeof e.arrayBuffer==="function"&&typeof e.type==="string"&&typeof e.stream==="function"&&(e[Symbol.toStringTag]==="Blob"||e[Symbol.toStringTag]==="File")}Ip.exports={isBlob:$de,isValidStatusCode:qde,isValidUTF8:tw,tokenChars:jde};if(vM)Ip.exports.isValidUTF8=function(e){return e.length<24?tw(e):vM(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=(()=>{throw new Error("Cannot require module "+"utf-8-validate");})();Ip.exports.isValidUTF8=function(t){return t.length<32?tw(t):e(t)}}catch(e){}});var rw=U(function(Xke,EM){var{Writable:Hde}=ne("stream"),xM=Hs(),{BINARY_TYPES:Gde,EMPTY_BUFFER:wM,kStatusCode:zde,kWebSocket:Vde}=pr(),{concat:nw,toArrayBuffer:Xde,unmask:Kde}=fu(),{isValidStatusCode:Zde,isValidUTF8:_M}=Gs(),Mp=Buffer[Symbol.species];class DM extends Hde{constructor(e={}){super();this._allowSynchronousEvents=e.allowSynchronousEvents!==void 0?e.allowSynchronousEvents:!0,this._binaryType=e.binaryType||Gde[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxBufferedChunks=e.maxBufferedChunks|0,this._maxFragments=e.maxFragments|0,this._maxPayload=e.maxPayload|0,this._skipUTF8Validation=!!e.skipUTF8Validation,this[Vde]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._numFragments=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(e,t,n){if(this._opcode===8&&this._state==0)return n();if(this._maxBufferedChunks>0&&this._buffers.length>=this._maxBufferedChunks){n(this.createError(RangeError,"Too many buffered chunks",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS"));return}this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){let n=this._buffers[0];return this._buffers[0]=new Mp(n.buffer,n.byteOffset+e,n.length-e),new Mp(n.buffer,n.byteOffset,e)}let t=Buffer.allocUnsafe(e);do{let n=this._buffers[0],r=t.length-e;if(e>=n.length)t.set(this._buffers.shift(),r);else t.set(new Uint8Array(n.buffer,n.byteOffset,e),r),this._buffers[0]=new Mp(n.buffer,n.byteOffset+e,n.length-e);e-=n.length}while(e>0);return t}startLoop(e){this._loop=!0;do switch(this._state){case 0:this.getInfo(e);break;case 1:this.getPayloadLength16(e);break;case 2:this.getPayloadLength64(e);break;case 3:this.getMask();break;case 4:this.getData(e);break;case 5:case 6:this._loop=!1;return}while(this._loop);if(!this._errored)e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((t[0]&48)!==0){let r=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");e(r);return}let n=(t[0]&64)===64;if(n&&!this._extensions[xM.extensionName]){let r=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(this._fin=(t[0]&128)===128,this._opcode=t[0]&15,this._payloadLength=t[1]&127,this._opcode===0){if(n){let r=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(!this._fragmented){let r=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");e(r);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let r=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(r);return}this._compressed=n}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let r=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");e(r);return}if(n){let r=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let r=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");e(r);return}}else{let r=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(r);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;if(this._masked=(t[1]&128)===128,this._isServer){if(!this._masked){let r=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");e(r);return}}else if(this._masked){let r=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");e(r);return}if(this._payloadLength===126)this._state=1;else if(this._payloadLength===127)this._state=2;else this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),n=t.readUInt32BE(0);if(n>Math.pow(2,21)-1){let r=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");e(r);return}this._payloadLength=n*Math.pow(2,32)+t.readUInt32BE(4),this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8){if(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){let t=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");e(t);return}}if(this._masked)this._state=3;else this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=wM;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}if(t=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0)Kde(t,this._mask)}if(this._opcode>7){this.controlMessage(t,e);return}if(this._maxFragments>0&&++this._numFragments>this._maxFragments){let n=this.createError(RangeError,"Too many message fragments",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS");e(n);return}if(this._compressed){this._state=5,this.decompress(t,e);return}if(t.length)this._messageLength=this._totalPayloadLength,this._fragments.push(t);this.dataMessage(e)}decompress(e,t){this._extensions[xM.extensionName].decompress(e,this._fin,(r,i)=>{if(r)return t(r);if(i.length){if(this._messageLength+=i.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let o=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");t(o);return}this._fragments.push(i)}if(this.dataMessage(t),this._state===0)this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=0;return}let t=this._messageLength,n=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._numFragments=0,this._fragments=[],this._opcode===2){let r;if(this._binaryType==="nodebuffer")r=nw(n,t);else if(this._binaryType==="arraybuffer")r=Xde(nw(n,t));else if(this._binaryType==="blob")r=new Blob(n);else r=n;if(this._allowSynchronousEvents)this.emit("message",r,!0),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",r,!0),this._state=0,this.startLoop(e)})}else{let r=nw(n,t);if(!this._skipUTF8Validation&&!_M(r)){let i=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");e(i);return}if(this._state===5||this._allowSynchronousEvents)this.emit("message",r,!1),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",r,!1),this._state=0,this.startLoop(e)})}}controlMessage(e,t){if(this._opcode===8){if(e.length===0)this._loop=!1,this.emit("conclude",1005,wM),this.end();else{let n=e.readUInt16BE(0);if(!Zde(n)){let i=this.createError(RangeError,`invalid status code ${n}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");t(i);return}let r=new Mp(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!_M(r)){let i=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");t(i);return}this._loop=!1,this.emit("conclude",n,r),this.end()}this._state=0;return}if(this._allowSynchronousEvents)this.emit(this._opcode===9?"ping":"pong",e),this._state=0;else this._state=6,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",e),this._state=0,this.startLoop(t)})}createError(e,t,n,r,i){this._loop=!1,this._errored=!0;let o=new e(n?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=i,o[zde]=r,o}}EM.exports=DM});var ow=U(function(Zke,CM){var{Duplex:Kke}=ne("stream"),{randomFillSync:Yde}=ne("crypto"),{types:{isUint8Array:Jde}}=ne("util"),SM=Hs(),{EMPTY_BUFFER:Qde,kWebSocket:efe,NOOP:tfe}=pr(),{isBlob:zs,isValidStatusCode:nfe}=Gs(),{mask:TM,toBuffer:to}=fu(),on=Symbol("kByteLength"),rfe=Buffer.alloc(4),no,Vs=8192,pn=0,ife=1,ofe=2;class ai{constructor(e,t,n){if(this._extensions=t||{},n)this._generateMask=n,this._maskBuffer=Buffer.alloc(4);this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=pn,this.onerror=tfe,this[efe]=void 0}static frame(e,t){let n,r=!1,i=2,o=!1;if(t.mask){if(n=t.maskBuffer||rfe,t.generateMask)t.generateMask(n);else{if(Vs===8192){if(no===void 0)no=Buffer.alloc(8192);Yde(no,0,8192),Vs=0}n[0]=no[Vs++],n[1]=no[Vs++],n[2]=no[Vs++],n[3]=no[Vs++]}o=(n[0]|n[1]|n[2]|n[3])===0,i=6}let s;if(typeof e==="string")if((!t.mask||o)&&t[on]!==void 0)s=t[on];else e=Buffer.from(e),s=e.length;else s=e.length,r=t.mask&&t.readOnly&&!o;let a=s;if(s>=65536)i+=8,a=127;else if(s>125)i+=2,a=126;let c=Buffer.allocUnsafe(r?s+i:i);if(c[0]=t.fin?t.opcode|128:t.opcode,t.rsv1)c[0]|=64;if(c[1]=a,a===126)c.writeUInt16BE(s,2);else if(a===127)c[2]=c[3]=0,c.writeUIntBE(s,4,6);if(!t.mask)return[c,e];if(c[1]|=128,c[i-4]=n[0],c[i-3]=n[1],c[i-2]=n[2],c[i-1]=n[3],o)return[c,e];if(r)return TM(e,n,c,i,s),[c];return TM(e,n,e,0,s),[c,e]}close(e,t,n,r){let i;if(e===void 0)i=Qde;else if(typeof e!=="number"||!nfe(e))throw TypeError("First argument must be a valid error code number");else if(t===void 0||!t.length)i=Buffer.allocUnsafe(2),i.writeUInt16BE(e,0);else{let s=Buffer.byteLength(t);if(s>123)throw RangeError("The message must not be greater than 123 bytes");if(i=Buffer.allocUnsafe(2+s),i.writeUInt16BE(e,0),typeof t==="string")i.write(t,2);else if(Jde(t))i.set(t,2);else throw TypeError("Second argument must be a string or a Uint8Array")}let o={[on]:i.length,fin:!0,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};if(this._state!==pn)this.enqueue([this.dispatch,i,!1,o,r]);else this.sendFrame(ai.frame(i,o),r)}ping(e,t,n){let r,i;if(typeof e==="string")r=Buffer.byteLength(e),i=!1;else if(zs(e))r=e.size,i=!1;else e=to(e),r=e.length,i=to.readOnly;if(r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[on]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};if(zs(e))if(this._state!==pn)this.enqueue([this.getBlobData,e,!1,o,n]);else this.getBlobData(e,!1,o,n);else if(this._state!==pn)this.enqueue([this.dispatch,e,!1,o,n]);else this.sendFrame(ai.frame(e,o),n)}pong(e,t,n){let r,i;if(typeof e==="string")r=Buffer.byteLength(e),i=!1;else if(zs(e))r=e.size,i=!1;else e=to(e),r=e.length,i=to.readOnly;if(r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[on]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};if(zs(e))if(this._state!==pn)this.enqueue([this.getBlobData,e,!1,o,n]);else this.getBlobData(e,!1,o,n);else if(this._state!==pn)this.enqueue([this.dispatch,e,!1,o,n]);else this.sendFrame(ai.frame(e,o),n)}send(e,t,n){let r=this._extensions[SM.extensionName],i=t.binary?2:1,o=t.compress,s,a;if(typeof e==="string")s=Buffer.byteLength(e),a=!1;else if(zs(e))s=e.size,a=!1;else e=to(e),s=e.length,a=to.readOnly;if(this._firstFragment){if(this._firstFragment=!1,o&&r&&r.params[r._isServer?"server_no_context_takeover":"client_no_context_takeover"])o=s>=r._threshold;this._compress=o}else o=!1,i=0;if(t.fin)this._firstFragment=!0;let c={[on]:s,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:i,readOnly:a,rsv1:o};if(zs(e))if(this._state!==pn)this.enqueue([this.getBlobData,e,this._compress,c,n]);else this.getBlobData(e,this._compress,c,n);else if(this._state!==pn)this.enqueue([this.dispatch,e,this._compress,c,n]);else this.dispatch(e,this._compress,c,n)}getBlobData(e,t,n,r){this._bufferedBytes+=n[on],this._state=ofe,e.arrayBuffer().then((i)=>{if(this._socket.destroyed){let s=Error("The socket was closed while the blob was being read");process.nextTick(iw,this,s,r);return}this._bufferedBytes-=n[on];let o=to(i);if(!t)this._state=pn,this.sendFrame(ai.frame(o,n),r),this.dequeue();else this.dispatch(o,t,n,r)}).catch((i)=>{process.nextTick(sfe,this,i,r)})}dispatch(e,t,n,r){if(!t){this.sendFrame(ai.frame(e,n),r);return}let i=this._extensions[SM.extensionName];this._bufferedBytes+=n[on],this._state=ife,i.compress(e,n.fin,(o,s)=>{if(this._socket.destroyed){let a=Error("The socket was closed while data was being compressed");iw(this,a,r);return}this._bufferedBytes-=n[on],this._state=pn,n.readOnly=!1,this.sendFrame(ai.frame(s,n),r),this.dequeue()})}dequeue(){while(this._state===pn&&this._queue.length){let e=this._queue.shift();this._bufferedBytes-=e[3][on],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][on],this._queue.push(e)}sendFrame(e,t){if(e.length===2)this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork();else this._socket.write(e[0],t)}}CM.exports=ai;function iw(e,t,n){if(typeof n==="function")n(t);for(let r=0;r<e._queue.length;r++){let i=e._queue[r],o=i[i.length-1];if(typeof o==="function")o(t)}}function sfe(e,t,n){iw(e,t,n),e.onerror(t)}});var MM=U(function(Yke,IM){var{kForOnEventAttribute:hu,kListener:sw}=pr(),AM=Symbol("kCode"),kM=Symbol("kData"),UM=Symbol("kError"),RM=Symbol("kMessage"),FM=Symbol("kReason"),Xs=Symbol("kTarget"),PM=Symbol("kType"),OM=Symbol("kWasClean");class ci{constructor(e){this[Xs]=null,this[PM]=e}get target(){return this[Xs]}get type(){return this[PM]}}Object.defineProperty(ci.prototype,"target",{enumerable:!0});Object.defineProperty(ci.prototype,"type",{enumerable:!0});class Ks extends ci{constructor(e,t={}){super(e);this[AM]=t.code===void 0?0:t.code,this[FM]=t.reason===void 0?"":t.reason,this[OM]=t.wasClean===void 0?!1:t.wasClean}get code(){return this[AM]}get reason(){return this[FM]}get wasClean(){return this[OM]}}Object.defineProperty(Ks.prototype,"code",{enumerable:!0});Object.defineProperty(Ks.prototype,"reason",{enumerable:!0});Object.defineProperty(Ks.prototype,"wasClean",{enumerable:!0});class gu extends ci{constructor(e,t={}){super(e);this[UM]=t.error===void 0?null:t.error,this[RM]=t.message===void 0?"":t.message}get error(){return this[UM]}get message(){return this[RM]}}Object.defineProperty(gu.prototype,"error",{enumerable:!0});Object.defineProperty(gu.prototype,"message",{enumerable:!0});class Lp extends ci{constructor(e,t={}){super(e);this[kM]=t.data===void 0?null:t.data}get data(){return this[kM]}}Object.defineProperty(Lp.prototype,"data",{enumerable:!0});var afe={addEventListener(e,t,n={}){for(let i of this.listeners(e))if(!n[hu]&&i[sw]===t&&!i[hu])return;let r;if(e==="message")r=function(o,s){let a=new Lp("message",{data:s?o:o.toString()});a[Xs]=this,Np(t,this,a)};else if(e==="close")r=function(o,s){let a=new Ks("close",{code:o,reason:s.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});a[Xs]=this,Np(t,this,a)};else if(e==="error")r=function(o){let s=new gu("error",{error:o,message:o.message});s[Xs]=this,Np(t,this,s)};else if(e==="open")r=function(){let o=new ci("open");o[Xs]=this,Np(t,this,o)};else return;if(r[hu]=!!n[hu],r[sw]=t,n.once)this.once(e,r);else this.on(e,r)},removeEventListener(e,t){for(let n of this.listeners(e))if(n[sw]===t&&!n[hu]){this.removeListener(e,n);break}}};IM.exports={CloseEvent:Ks,ErrorEvent:gu,Event:ci,EventTarget:afe,MessageEvent:Lp};function Np(e,t,n){if(typeof e==="object"&&e.handleEvent)e.handleEvent.call(e,n);else e.call(t,n)}});var Bp=U(function(Jke,NM){var{tokenChars:mu}=Gs();function Bn(e,t,n){if(e[t]===void 0)e[t]=[n];else e[t].push(n)}function cfe(e){let t=Object.create(null),n=Object.create(null),r=!1,i=!1,o=!1,s,a,c=-1,u=-1,d=-1,f=0;for(;f<e.length;f++)if(u=e.charCodeAt(f),s===void 0)if(d===-1&&mu[u]===1){if(c===-1)c=f}else if(f!==0&&(u===32||u===9)){if(d===-1&&c!==-1)d=f}else if(u===59||u===44){if(c===-1)throw SyntaxError(`Unexpected character at index ${f}`);if(d===-1)d=f;let h=e.slice(c,d);if(u===44)Bn(t,h,n),n=Object.create(null);else s=h;c=d=-1}else throw SyntaxError(`Unexpected character at index ${f}`);else if(a===void 0)if(d===-1&&mu[u]===1){if(c===-1)c=f}else if(u===32||u===9){if(d===-1&&c!==-1)d=f}else if(u===59||u===44){if(c===-1)throw SyntaxError(`Unexpected character at index ${f}`);if(d===-1)d=f;if(Bn(n,e.slice(c,d),!0),u===44)Bn(t,s,n),n=Object.create(null),s=void 0;c=d=-1}else if(u===61&&c!==-1&&d===-1)a=e.slice(c,f),c=d=-1;else throw SyntaxError(`Unexpected character at index ${f}`);else if(i){if(mu[u]!==1)throw SyntaxError(`Unexpected character at index ${f}`);if(c===-1)c=f;else if(!r)r=!0;i=!1}else if(o)if(mu[u]===1){if(c===-1)c=f}else if(u===34&&c!==-1)o=!1,d=f;else if(u===92)i=!0;else throw SyntaxError(`Unexpected character at index ${f}`);else if(u===34&&e.charCodeAt(f-1)===61)o=!0;else if(d===-1&&mu[u]===1){if(c===-1)c=f}else if(c!==-1&&(u===32||u===9)){if(d===-1)d=f}else if(u===59||u===44){if(c===-1)throw SyntaxError(`Unexpected character at index ${f}`);if(d===-1)d=f;let h=e.slice(c,d);if(r)h=h.replace(/\\/g,""),r=!1;if(Bn(n,a,h),u===44)Bn(t,s,n),n=Object.create(null),s=void 0;a=void 0,c=d=-1}else throw SyntaxError(`Unexpected character at index ${f}`);if(c===-1||o||u===32||u===9)throw SyntaxError("Unexpected end of input");if(d===-1)d=f;let p=e.slice(c,d);if(s===void 0)Bn(t,p,n);else{if(a===void 0)Bn(n,p,!0);else if(r)Bn(n,a,p.replace(/\\/g,""));else Bn(n,a,p);Bn(t,s,n)}return t}function ufe(e){return Object.keys(e).map((t)=>{let n=e[t];if(!Array.isArray(n))n=[n];return n.map((r)=>[t].concat(Object.keys(r).map((i)=>{let o=r[i];if(!Array.isArray(o))o=[o];return o.map((s)=>s===!0?i:`${i}=${s}`).join("; ")})).join("; ")).join(", ")}).join(", ")}NM.exports={format:ufe,parse:cfe}});var $p=U(function(tUe,KM){var lfe=ne("events"),dfe=ne("https"),ffe=ne("http"),WM=ne("net"),pfe=ne("tls"),{randomBytes:hfe,createHash:gfe}=ne("crypto"),{Duplex:Qke,Readable:eUe}=ne("stream"),{URL:aw}=ne("url"),ui=Hs(),mfe=rw(),yfe=ow(),{isBlob:bfe}=Gs(),{BINARY_TYPES:LM,CLOSE_TIMEOUT:vfe,EMPTY_BUFFER:Wp,GUID:xfe,kForOnEventAttribute:cw,kListener:wfe,kStatusCode:_fe,kWebSocket:it,NOOP:jM}=pr(),{EventTarget:{addEventListener:Dfe,removeEventListener:Efe}}=MM(),{format:Sfe,parse:Tfe}=Bp(),{toBuffer:Cfe}=fu(),qM=Symbol("kAborted"),uw=[8,13],gr=["CONNECTING","OPEN","CLOSING","CLOSED"],Afe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class re extends lfe{constructor(e,t,n){super();if(this._binaryType=LM[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Wp,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=re.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,e!==null){if(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,t===void 0)t=[];else if(!Array.isArray(t))if(typeof t==="object"&&t!==null)n=t,t=[];else t=[t];$M(this,e,t,n)}else this._autoPong=n.autoPong,this._closeTimeout=n.closeTimeout,this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){if(!LM.includes(e))return;if(this._binaryType=e,this._receiver)this._receiver._binaryType=e}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,n){let r=new mfe({allowSynchronousEvents:n.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxBufferedChunks:n.maxBufferedChunks,maxFragments:n.maxFragments,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation}),i=new yfe(e,this._extensions,n.generateMask);if(this._receiver=r,this._sender=i,this._socket=e,r[it]=this,i[it]=this,e[it]=this,r.on("conclude",Rfe),r.on("drain",Ffe),r.on("error",Pfe),r.on("message",Ofe),r.on("ping",Ife),r.on("pong",Mfe),i.onerror=Nfe,e.setTimeout)e.setTimeout(0);if(e.setNoDelay)e.setNoDelay();if(t.length>0)e.unshift(t);e.on("close",zM),e.on("data",qp),e.on("end",VM),e.on("error",XM),this._readyState=re.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=re.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[ui.extensionName])this._extensions[ui.extensionName].cleanup();this._receiver.removeAllListeners(),this._readyState=re.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState===re.CLOSED)return;if(this.readyState===re.CONNECTING){Gt(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===re.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted))this._socket.end();return}this._readyState=re.CLOSING,this._sender.close(e,t,!this._isServer,(n)=>{if(n)return;if(this._closeFrameSent=!0,this._closeFrameReceived||this._receiver._writableState.errorEmitted)this._socket.end()}),GM(this)}pause(){if(this.readyState===re.CONNECTING||this.readyState===re.CLOSED)return;this._paused=!0,this._socket.pause()}ping(e,t,n){if(this.readyState===re.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e==="function")n=e,e=t=void 0;else if(typeof t==="function")n=t,t=void 0;if(typeof e==="number")e=e.toString();if(this.readyState!==re.OPEN){lw(this,e,n);return}if(t===void 0)t=!this._isServer;this._sender.ping(e||Wp,t,n)}pong(e,t,n){if(this.readyState===re.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e==="function")n=e,e=t=void 0;else if(typeof t==="function")n=t,t=void 0;if(typeof e==="number")e=e.toString();if(this.readyState!==re.OPEN){lw(this,e,n);return}if(t===void 0)t=!this._isServer;this._sender.pong(e||Wp,t,n)}resume(){if(this.readyState===re.CONNECTING||this.readyState===re.CLOSED)return;if(this._paused=!1,!this._receiver._writableState.needDrain)this._socket.resume()}send(e,t,n){if(this.readyState===re.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t==="function")n=t,t={};if(typeof e==="number")e=e.toString();if(this.readyState!==re.OPEN){lw(this,e,n);return}let r={binary:typeof e!=="string",mask:!this._isServer,compress:!0,fin:!0,...t};if(!this._extensions[ui.extensionName])r.compress=!1;this._sender.send(e||Wp,r,n)}terminate(){if(this.readyState===re.CLOSED)return;if(this.readyState===re.CONNECTING){Gt(this,this._req,"WebSocket was closed before the connection was established");return}if(this._socket)this._readyState=re.CLOSING,this._socket.destroy()}}Object.defineProperty(re,"CONNECTING",{enumerable:!0,value:gr.indexOf("CONNECTING")});Object.defineProperty(re.prototype,"CONNECTING",{enumerable:!0,value:gr.indexOf("CONNECTING")});Object.defineProperty(re,"OPEN",{enumerable:!0,value:gr.indexOf("OPEN")});Object.defineProperty(re.prototype,"OPEN",{enumerable:!0,value:gr.indexOf("OPEN")});Object.defineProperty(re,"CLOSING",{enumerable:!0,value:gr.indexOf("CLOSING")});Object.defineProperty(re.prototype,"CLOSING",{enumerable:!0,value:gr.indexOf("CLOSING")});Object.defineProperty(re,"CLOSED",{enumerable:!0,value:gr.indexOf("CLOSED")});Object.defineProperty(re.prototype,"CLOSED",{enumerable:!0,value:gr.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((e)=>{Object.defineProperty(re.prototype,e,{enumerable:!0})});["open","error","close","message"].forEach((e)=>{Object.defineProperty(re.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[cw])return t[wfe];return null},set(t){for(let n of this.listeners(e))if(n[cw]){this.removeListener(e,n);break}if(typeof t!=="function")return;this.addEventListener(e,t,{[cw]:!0})}})});re.prototype.addEventListener=Dfe;re.prototype.removeEventListener=Efe;KM.exports=re;function $M(e,t,n,r){let i={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:vfe,protocolVersion:uw[1],maxBufferedChunks:262144,maxFragments:16384,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(e._autoPong=i.autoPong,e._closeTimeout=i.closeTimeout,!uw.includes(i.protocolVersion))throw RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${uw.join(", ")})`);let o;if(t instanceof aw)o=t;else try{o=new aw(t)}catch{throw SyntaxError(`Invalid URL: ${t}`)}if(o.protocol==="http:")o.protocol="ws:";else if(o.protocol==="https:")o.protocol="wss:";e._url=o.href;let s=o.protocol==="wss:",a=o.protocol==="ws+unix:",c;if(o.protocol!=="ws:"&&!s&&!a)c=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`;else if(a&&!o.pathname)c="The URL's pathname is empty";else if(o.hash)c="The URL contains a fragment identifier";if(c){let b=SyntaxError(c);if(e._redirects===0)throw b;else{jp(e,b);return}}let u=s?443:80,d=hfe(16).toString("base64"),f=s?dfe.request:ffe.request,p=new Set,h;if(i.createConnection=i.createConnection||(s?Ufe:kfe),i.defaultPort=i.defaultPort||u,i.port=o.port||u,i.host=o.hostname.startsWith("[")?o.hostname.slice(1,-1):o.hostname,i.headers={...i.headers,"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":d,Connection:"Upgrade",Upgrade:"websocket"},i.path=o.pathname+o.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate)h=new ui({...i.perMessageDeflate,isServer:!1,maxPayload:i.maxPayload}),i.headers["Sec-WebSocket-Extensions"]=Sfe({[ui.extensionName]:h.offer()});if(n.length){for(let b of n){if(typeof b!=="string"||!Afe.test(b)||p.has(b))throw SyntaxError("An invalid or duplicated subprotocol was specified");p.add(b)}i.headers["Sec-WebSocket-Protocol"]=n.join(",")}if(i.origin)if(i.protocolVersion<13)i.headers["Sec-WebSocket-Origin"]=i.origin;else i.headers.Origin=i.origin;if(o.username||o.password)i.auth=`${o.username}:${o.password}`;if(a){let b=i.path.split(":");i.socketPath=b[0],i.path=b[1]}let g;if(i.followRedirects){if(e._redirects===0){e._originalIpc=a,e._originalSecure=s,e._originalHostOrSocketPath=a?i.socketPath:o.host;let b=r&&r.headers;if(r={...r,headers:{}},b)for(let[v,y]of Object.entries(b))r.headers[v.toLowerCase()]=y}else if(e.listenerCount("redirect")===0){let b=a?e._originalIpc?i.socketPath===e._originalHostOrSocketPath:!1:e._originalIpc?!1:o.host===e._originalHostOrSocketPath;if(!b||e._originalSecure&&!s){if(delete i.headers.authorization,delete i.headers.cookie,!b)delete i.headers.host;i.auth=void 0}}if(i.auth&&!r.headers.authorization)r.headers.authorization="Basic "+Buffer.from(i.auth).toString("base64");if(g=e._req=f(i),e._redirects)e.emit("redirect",e.url,g)}else g=e._req=f(i);if(i.timeout)g.on("timeout",()=>{Gt(e,g,"Opening handshake has timed out")});if(g.on("error",(b)=>{if(g===null||g[qM])return;g=e._req=null,jp(e,b)}),g.on("response",(b)=>{let v=b.headers.location,y=b.statusCode;if(v&&i.followRedirects&&y>=300&&y<400){if(++e._redirects>i.maxRedirects){Gt(e,g,"Maximum redirects exceeded");return}g.abort();let x;try{x=new aw(v,t)}catch(m){let w=SyntaxError(`Invalid URL: ${v}`);jp(e,w);return}$M(e,x,n,r)}else if(!e.emit("unexpected-response",g,b))Gt(e,g,`Unexpected server response: ${b.statusCode}`)}),g.on("upgrade",(b,v,y)=>{if(e.emit("upgrade",b),e.readyState!==re.CONNECTING)return;g=e._req=null;let x=b.headers.upgrade;if(x===void 0||x.toLowerCase()!=="websocket"){Gt(e,v,"Invalid Upgrade header");return}let m=gfe("sha1").update(d+xfe).digest("base64");if(b.headers["sec-websocket-accept"]!==m){Gt(e,v,"Invalid Sec-WebSocket-Accept header");return}let w=b.headers["sec-websocket-protocol"],D;if(w!==void 0){if(!p.size)D="Server sent a subprotocol but none was requested";else if(!p.has(w))D="Server sent an invalid subprotocol"}else if(p.size)D="Server sent no subprotocol";if(D){Gt(e,v,D);return}if(w)e._protocol=w;let T=b.headers["sec-websocket-extensions"];if(T!==void 0){if(!h){Gt(e,v,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let _;try{_=Tfe(T)}catch(S){Gt(e,v,"Invalid Sec-WebSocket-Extensions header");return}let A=Object.keys(_);if(A.length!==1||A[0]!==ui.extensionName){Gt(e,v,"Server indicated an extension that was not requested");return}try{h.accept(_[ui.extensionName])}catch(S){Gt(e,v,"Invalid Sec-WebSocket-Extensions header");return}e._extensions[ui.extensionName]=h}e.setSocket(v,y,{allowSynchronousEvents:i.allowSynchronousEvents,generateMask:i.generateMask,maxBufferedChunks:i.maxBufferedChunks,maxFragments:i.maxFragments,maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}),i.finishRequest)i.finishRequest(g,e);else g.end()}function jp(e,t){e._readyState=re.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function kfe(e){return e.path=e.socketPath,WM.connect(e)}function Ufe(e){if(e.path=void 0,!e.servername&&e.servername!=="")e.servername=WM.isIP(e.host)?"":e.host;return pfe.connect(e)}function Gt(e,t,n){e._readyState=re.CLOSING;let r=Error(n);if(Error.captureStackTrace(r,Gt),t.setHeader){if(t[qM]=!0,t.abort(),t.socket&&!t.socket.destroyed)t.socket.destroy();process.nextTick(jp,e,r)}else t.destroy(r),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e))}function lw(e,t,n){if(t){let r=bfe(t)?t.size:Cfe(t).length;if(e._socket)e._sender._bufferedBytes+=r;else e._bufferedAmount+=r}if(n){let r=Error(`WebSocket is not open: readyState ${e.readyState} (${gr[e.readyState]})`);process.nextTick(n,r)}}function Rfe(e,t){let n=this[it];if(n._closeFrameReceived=!0,n._closeMessage=t,n._closeCode=e,n._socket[it]===void 0)return;if(n._socket.removeListener("data",qp),process.nextTick(HM,n._socket),e===1005)n.close();else n.close(e,t)}function Ffe(){let e=this[it];if(!e.isPaused)e._socket.resume()}function Pfe(e){let t=this[it];if(t._socket[it]!==void 0)t._socket.removeListener("data",qp),process.nextTick(HM,t._socket),t.close(e[_fe]);if(!t._errorEmitted)t._errorEmitted=!0,t.emit("error",e)}function BM(){this[it].emitClose()}function Ofe(e,t){this[it].emit("message",e,t)}function Ife(e){let t=this[it];if(t._autoPong)t.pong(e,!this._isServer,jM);t.emit("ping",e)}function Mfe(e){this[it].emit("pong",e)}function HM(e){e.resume()}function Nfe(e){let t=this[it];if(t.readyState===re.CLOSED)return;if(t.readyState===re.OPEN)t._readyState=re.CLOSING,GM(t);if(this._socket.end(),!t._errorEmitted)t._errorEmitted=!0,t.emit("error",e)}function GM(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function zM(){let e=this[it];if(this.removeListener("close",zM),this.removeListener("data",qp),this.removeListener("end",VM),e._readyState=re.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&this._readableState.length!==0){let t=this.read(this._readableState.length);e._receiver.write(t)}if(e._receiver.end(),this[it]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted)e.emitClose();else e._receiver.on("error",BM),e._receiver.on("finish",BM)}function qp(e){if(!this[it]._receiver.write(e))this.pause()}function VM(){let e=this[it];e._readyState=re.CLOSING,e._receiver.end(),this.end()}function XM(){let e=this[it];if(this.removeListener("error",XM),this.on("error",jM),e)e._readyState=re.CLOSING,this.destroy()}});var QM=U(function(rUe,JM){var nUe=$p(),{Duplex:Lfe}=ne("stream");function ZM(e){e.emit("close")}function Bfe(){if(!this.destroyed&&this._writableState.finished)this.destroy()}function YM(e){if(this.removeListener("error",YM),this.destroy(),this.listenerCount("error")===0)this.emit("error",e)}function Wfe(e,t){let n=!0,r=new Lfe({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(o,s){let a=!s&&r._readableState.objectMode?o.toString():o;if(!r.push(a))e.pause()}),e.once("error",function(o){if(r.destroyed)return;n=!1,r.destroy(o)}),e.once("close",function(){if(r.destroyed)return;r.push(null)}),r._destroy=function(i,o){if(e.readyState===e.CLOSED){o(i),process.nextTick(ZM,r);return}let s=!1;if(e.once("error",function(c){s=!0,o(c)}),e.once("close",function(){if(!s)o(i);process.nextTick(ZM,r)}),n)e.terminate()},r._final=function(i){if(e.readyState===e.CONNECTING){e.once("open",function(){r._final(i)});return}if(e._socket===null)return;if(e._socket._writableState.finished){if(i(),r._readableState.endEmitted)r.destroy()}else e._socket.once("finish",function(){i()}),e.close()},r._read=function(){if(e.isPaused)e.resume()},r._write=function(i,o,s){if(e.readyState===e.CONNECTING){e.once("open",function(){r._write(i,o,s)});return}e.send(i,s)},r.on("end",Bfe),r.on("error",YM),r}JM.exports=Wfe});var dw=U(function(iUe,e4){var{tokenChars:jfe}=Gs();function qfe(e){let t=new Set,n=-1,r=-1,i=0;for(i;i<e.length;i++){let s=e.charCodeAt(i);if(r===-1&&jfe[s]===1){if(n===-1)n=i}else if(i!==0&&(s===32||s===9)){if(r===-1&&n!==-1)r=i}else if(s===44){if(n===-1)throw SyntaxError(`Unexpected character at index ${i}`);if(r===-1)r=i;let a=e.slice(n,r);if(t.has(a))throw SyntaxError(`The "${a}" subprotocol is duplicated`);t.add(a),n=r=-1}else throw SyntaxError(`Unexpected character at index ${i}`)}if(n===-1||r!==-1)throw SyntaxError("Unexpected end of input");let o=e.slice(n,i);if(t.has(o))throw SyntaxError(`The "${o}" subprotocol is duplicated`);return t.add(o),t}e4.exports={parse:qfe}});var o4=U(function(sUe,i4){var $fe=ne("events"),Hp=ne("http"),{Duplex:oUe}=ne("stream"),{createHash:Hfe}=ne("crypto"),n4=Bp(),ro=Hs(),Gfe=dw(),zfe=$p(),{CLOSE_TIMEOUT:Vfe,GUID:Xfe,kWebSocket:Kfe}=pr(),Zfe=/^[+/0-9A-Za-z]{22}==$/;class r4 extends $fe{constructor(e,t){super();if(e={allowSynchronousEvents:!0,autoPong:!0,maxBufferedChunks:262144,maxFragments:16384,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:Vfe,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:zfe,...e},e.port==null&&!e.server&&!e.noServer||e.port!=null&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(e.port!=null)this._server=Hp.createServer((n,r)=>{let i=Hp.STATUS_CODES[426];r.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"}),r.end(i)}),this._server.listen(e.port,e.host,e.backlog,t);else if(e.server)this._server=e.server;if(this._server){let n=this.emit.bind(this,"connection");this._removeListeners=Yfe(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(r,i,o)=>{this.handleUpgrade(r,i,o,n)}})}if(e.perMessageDeflate===!0)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set,this._shouldEmitClose=!1;this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');if(!this._server)return null;return this._server.address()}close(e){if(this._state===2){if(e)this.once("close",()=>{e(Error("The server is not running"))});process.nextTick(yu,this);return}if(e)this.once("close",e);if(this._state===1)return;if(this._state=1,this.options.noServer||this.options.server){if(this._server)this._removeListeners(),this._removeListeners=this._server=null;if(this.clients)if(!this.clients.size)process.nextTick(yu,this);else this._shouldEmitClose=!0;else process.nextTick(yu,this)}else{let t=this._server;this._removeListeners(),this._removeListeners=this._server=null,t.close(()=>{yu(this)})}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((t!==-1?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,n,r){t.on("error",t4);let i=e.headers["sec-websocket-key"],o=e.headers.upgrade,s=+e.headers["sec-websocket-version"];if(e.method!=="GET"){io(this,e,t,405,"Invalid HTTP method");return}if(o===void 0||o.toLowerCase()!=="websocket"){io(this,e,t,400,"Invalid Upgrade header");return}if(i===void 0||!Zfe.test(i)){io(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");return}if(s!==13&&s!==8){io(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(e)){bu(t,400);return}let a=e.headers["sec-websocket-protocol"],c=new Set;if(a!==void 0)try{c=Gfe.parse(a)}catch(f){io(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let u=e.headers["sec-websocket-extensions"],d={};if(this.options.perMessageDeflate&&u!==void 0){let f=new ro({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let p=n4.parse(u);if(p[ro.extensionName])f.accept(p[ro.extensionName]),d[ro.extensionName]=f}catch(p){io(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let f={origin:e.headers[`${s===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(f,(p,h,g,b)=>{if(!p)return bu(t,h||401,g,b);this.completeUpgrade(d,i,c,e,t,n,r)});return}if(!this.options.verifyClient(f))return bu(t,401)}this.completeUpgrade(d,i,c,e,t,n,r)}completeUpgrade(e,t,n,r,i,o,s){if(!i.readable||!i.writable)return i.destroy();if(i[Kfe])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return bu(i,503);let c=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${Hfe("sha1").update(t+Xfe).digest("base64")}`],u=new this.options.WebSocket(null,void 0,this.options);if(n.size){let d=this.options.handleProtocols?this.options.handleProtocols(n,r):n.values().next().value;if(d)c.push(`Sec-WebSocket-Protocol: ${d}`),u._protocol=d}if(e[ro.extensionName]){let d=e[ro.extensionName].params,f=n4.format({[ro.extensionName]:[d]});c.push(`Sec-WebSocket-Extensions: ${f}`),u._extensions=e}if(this.emit("headers",c,r),i.write(c.concat(`\r
|
|
229
229
|
`).join(`\r
|
|
230
|
-
`)),i.removeListener("error",t4),u.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxBufferedChunks:this.options.maxBufferedChunks,maxFragments:this.options.maxFragments,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients)this.clients.add(u),u.on("close",()=>{if(this.clients.delete(u),this._shouldEmitClose&&!this.clients.size)process.nextTick(yu,this)});s(u,r)}}i4.exports=r4;function
|
|
230
|
+
`)),i.removeListener("error",t4),u.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxBufferedChunks:this.options.maxBufferedChunks,maxFragments:this.options.maxFragments,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients)this.clients.add(u),u.on("close",()=>{if(this.clients.delete(u),this._shouldEmitClose&&!this.clients.size)process.nextTick(yu,this)});s(u,r)}}i4.exports=r4;function Yfe(e,t){for(let n of Object.keys(t))e.on(n,t[n]);return function(){for(let r of Object.keys(t))e.removeListener(r,t[r])}}function yu(e){e._state=2,e.emit("close")}function t4(){this.destroy()}function bu(e,t,n,r){n=n||Hp.STATUS_CODES[t],r={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(n),...r},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${Hp.STATUS_CODES[t]}\r
|
|
231
231
|
`+Object.keys(r).map((i)=>`${i}: ${r[i]}`).join(`\r
|
|
232
232
|
`)+`\r
|
|
233
233
|
\r
|
|
234
|
-
`+n)}function io(e,t,n,r,i,o){if(e.listenerCount("wsClientError")){let s=Error(i);Error.captureStackTrace(s,io),e.emit("wsClientError",s,n,t)}else bu(n,r,i,o)}});var a4={};Z(a4,{WebSocketServer:()=>s4.default});var
|
|
234
|
+
`+n)}function io(e,t,n,r,i,o){if(e.listenerCount("wsClientError")){let s=Error(i);Error.captureStackTrace(s,io),e.emit("wsClientError",s,n,t)}else bu(n,r,i,o)}});var a4={};Z(a4,{WebSocketServer:()=>s4.default});var Jfe,Qfe,epe,tpe,npe,rpe,ipe,s4;var c4=pe(()=>{Jfe=gn(QM(),1),Qfe=gn(Bp(),1),epe=gn(Hs(),1),tpe=gn(rw(),1),npe=gn(ow(),1),rpe=gn(dw(),1),ipe=gn($p(),1),s4=gn(o4(),1)});var u4=()=>{};var fw=()=>{};var l4=()=>{};var ope,yUe;var d4=pe(()=>{u4();fw();hi();l4();ope={br:".br",zstd:".zst",gzip:".gz"},yUe=Object.keys(ope)});var f4=pe(()=>{d4()});var p4=()=>{};var h4=pe(()=>{p4()});var g4=()=>{};var m4=pe(()=>{Nh()});var pw=pe(()=>{Dr();m4()});var hw="x-hono-disable-ssg",MUe;var gw=pe(()=>{pw();MUe=(()=>{try{return new Response("SSG is disabled",{status:404,headers:{[hw]:"true"}})}catch{return null}})()});var y4=pe(()=>{Ph()});var mw=pe(()=>{y4()});var b4=pe(()=>{h4();g4();fw();gw();mw();pw()});var v4=pe(()=>{gw();mw();b4()});var bRe;var x4=pe(()=>{v4();({write:bRe}=Bun)});var Gp=(e)=>("server"in e.env)?e.env.server:e.env;var zp=()=>{};var yw=(e)=>new Dw({send:(t,n)=>{e.send(t,n?.compress)},raw:e,readyState:e.readyState,url:e.data.url,protocol:e.data.protocol,close(t,n){e.close(t,n)}}),w4,_4,bw=()=>({upgradeWebSocket:w4,websocket:_4});var D4=pe(()=>{Xp();zp();w4=wu((e,t)=>{let n=Gp(e);if(!n)throw TypeError("env has to include the 2nd argument of fetch.");if(n.upgrade(e.req.raw,{data:{events:t,url:new URL(e.req.url),protocol:e.req.header("sec-websocket-protocol")?.split(",")[0]?.trim()??""}}))return new Response(null);return}),_4={open(e){let t=e.data.events;if(t.onOpen)t.onOpen(new Event("open"),yw(e))},close(e,t,n){let r=e.data.events;if(r.onClose)r.onClose(new CloseEvent("close",{code:t,reason:n}),yw(e))},message(e,t){let n=e.data.events;if(n.onMessage){let r=typeof t==="string"?t:t.buffer;n.onMessage(Ew(r),yw(e))}}}});var E4=pe(()=>{zp()});var S4=pe(()=>{f4();x4();D4();E4();zp()});sh();import{spawn as cpe}from"node:child_process";import{createConnection as upe}from"node:net";import{getAgentDir as T4}from"@earendil-works/pi-coding-agent";class fi extends Error{constructor(e,t,n){super(n);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}}class uo extends fi{constructor(e){super(1,"commander.invalidArgument",e);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}class ku{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e;break}if(this._name.endsWith("..."))this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_collectValue(e,t){if(t===this.defaultValue||!Array.isArray(t))return[e];return t.push(e),t}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(t,n)=>{if(!this.argChoices.includes(t))throw new uo(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(t,n);return t},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function Uu(e){let t=e.name()+(e.variadic===!0?"...":"");return e.required?"<"+t+">":"["+t+"]"}import{EventEmitter as R5}from"node:events";import uh from"node:child_process";import Gn from"node:path";import Fu from"node:fs";import me from"node:process";import{stripVTControlCharacters as F5}from"node:util";import{stripVTControlCharacters as A5}from"node:util";class Ru{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(e){this.helpWidth=this.helpWidth??e.helpWidth??80}visibleCommands(e){let t=e.commands.filter((r)=>!r._hidden),n=e._getHelpCommand();if(n&&!n._hidden)t.push(n);if(this.sortSubcommands)t.sort((r,i)=>r.name().localeCompare(i.name()));return t}compareOptions(e,t){let n=(r)=>r.short?r.short.replace(/^-/,""):r.long.replace(/^--/,"");return n(e).localeCompare(n(t))}visibleOptions(e){let t=e.options.filter((r)=>!r.hidden),n=e._getHelpOption();if(n&&!n.hidden){let r=n.short&&e._findOption(n.short),i=n.long&&e._findOption(n.long);if(!r&&!i)t.push(n);else if(n.long&&!i)t.push(e.createOption(n.long,n.description));else if(n.short&&!r)t.push(e.createOption(n.short,n.description))}if(this.sortOptions)t.sort(this.compareOptions);return t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];let t=[];for(let n=e.parent;n;n=n.parent){let r=n.options.filter((i)=>!i.hidden);t.push(...r)}if(this.sortOptions)t.sort(this.compareOptions);return t}visibleArguments(e){if(e._argsDescription)e.registeredArguments.forEach((t)=>{t.description=t.description||e._argsDescription[t.name()]||""});if(e.registeredArguments.find((t)=>t.description))return e.registeredArguments;return[]}subcommandTerm(e){let t=e.registeredArguments.map((n)=>Uu(n)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce((n,r)=>Math.max(n,this.displayWidth(t.styleSubcommandTerm(t.subcommandTerm(r)))),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce((n,r)=>Math.max(n,this.displayWidth(t.styleOptionTerm(t.optionTerm(r)))),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce((n,r)=>Math.max(n,this.displayWidth(t.styleOptionTerm(t.optionTerm(r)))),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce((n,r)=>Math.max(n,this.displayWidth(t.styleArgumentTerm(t.argumentTerm(r)))),0)}commandUsage(e){let t=e._name;if(e._aliases[0])t=t+"|"+e._aliases[0];let n="";for(let r=e.parent;r;r=r.parent)n=r.name()+" "+n;return n+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){let t=[];if(e.argChoices)t.push(`choices: ${e.argChoices.map((n)=>JSON.stringify(n)).join(", ")}`);if(e.defaultValue!==void 0){if(e.required||e.optional||e.isBoolean()&&typeof e.defaultValue==="boolean")t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`)}if(e.presetArg!==void 0&&e.optional)t.push(`preset: ${JSON.stringify(e.presetArg)}`);if(e.envVar!==void 0)t.push(`env: ${e.envVar}`);if(t.length>0){let n=`(${t.join(", ")})`;if(e.description)return`${e.description} ${n}`;return n}return e.description}argumentDescription(e){let t=[];if(e.argChoices)t.push(`choices: ${e.argChoices.map((n)=>JSON.stringify(n)).join(", ")}`);if(e.defaultValue!==void 0)t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`);if(t.length>0){let n=`(${t.join(", ")})`;if(e.description)return`${e.description} ${n}`;return n}return e.description}formatItemList(e,t,n){if(t.length===0)return[];return[n.styleTitle(e),...t,""]}groupItems(e,t,n){let r=new Map;return e.forEach((i)=>{let o=n(i);if(!r.has(o))r.set(o,[])}),t.forEach((i)=>{let o=n(i);if(!r.has(o))r.set(o,[]);r.get(o).push(i)}),r}formatHelp(e,t){let n=t.padWidth(e,t),r=t.helpWidth??80;function i(d,f){return t.formatItem(d,n,f,t)}let o=[`${t.styleTitle("Usage:")} ${t.styleUsage(t.commandUsage(e))}`,""],s=t.commandDescription(e);if(s.length>0)o=o.concat([t.boxWrap(t.styleCommandDescription(s),r),""]);let a=t.visibleArguments(e).map((d)=>i(t.styleArgumentTerm(t.argumentTerm(d)),t.styleArgumentDescription(t.argumentDescription(d))));if(o=o.concat(this.formatItemList("Arguments:",a,t)),this.groupItems(e.options,t.visibleOptions(e),(d)=>d.helpGroupHeading??"Options:").forEach((d,f)=>{let p=d.map((h)=>i(t.styleOptionTerm(t.optionTerm(h)),t.styleOptionDescription(t.optionDescription(h))));o=o.concat(this.formatItemList(f,p,t))}),t.showGlobalOptions){let d=t.visibleGlobalOptions(e).map((f)=>i(t.styleOptionTerm(t.optionTerm(f)),t.styleOptionDescription(t.optionDescription(f))));o=o.concat(this.formatItemList("Global Options:",d,t))}return this.groupItems(e.commands,t.visibleCommands(e),(d)=>d.helpGroup()||"Commands:").forEach((d,f)=>{let p=d.map((h)=>i(t.styleSubcommandTerm(t.subcommandTerm(h)),t.styleSubcommandDescription(t.subcommandDescription(h))));o=o.concat(this.formatItemList(f,p,t))}),o.join(`
|
|
235
235
|
`)}displayWidth(e){return A5(e).length}styleTitle(e){return e}styleUsage(e){return e.split(" ").map((t)=>{if(t==="[options]")return this.styleOptionText(t);if(t==="[command]")return this.styleSubcommandText(t);if(t[0]==="["||t[0]==="<")return this.styleArgumentText(t);return this.styleCommandText(t)}).join(" ")}styleCommandDescription(e){return this.styleDescriptionText(e)}styleOptionDescription(e){return this.styleDescriptionText(e)}styleSubcommandDescription(e){return this.styleDescriptionText(e)}styleArgumentDescription(e){return this.styleDescriptionText(e)}styleDescriptionText(e){return e}styleOptionTerm(e){return this.styleOptionText(e)}styleSubcommandTerm(e){return e.split(" ").map((t)=>{if(t==="[options]")return this.styleOptionText(t);if(t[0]==="["||t[0]==="<")return this.styleArgumentText(t);return this.styleSubcommandText(t)}).join(" ")}styleArgumentTerm(e){return this.styleArgumentText(e)}styleOptionText(e){return e}styleArgumentText(e){return e}styleSubcommandText(e){return e}styleCommandText(e){return e}padWidth(e,t){return Math.max(t.longestOptionTermLength(e,t),t.longestGlobalOptionTermLength(e,t),t.longestSubcommandTermLength(e,t),t.longestArgumentTermLength(e,t))}preformatted(e){return/\n[^\S\r\n]/.test(e)}formatItem(e,t,n,r){let o=" ".repeat(2);if(!n)return o+e;let s=e.padEnd(t+e.length-r.displayWidth(e)),a=2,u=(this.helpWidth??80)-t-a-2,d;if(u<this.minWidthToWrap||r.preformatted(n))d=n;else d=r.boxWrap(n,u).replace(/\n/g,`
|
|
236
236
|
`+" ".repeat(t+a));return o+s+" ".repeat(a)+d.replace(/\n/g,`
|
|
237
237
|
${o}`)}boxWrap(e,t){if(t<this.minWidthToWrap)return e;let n=e.split(/\r\n|\n/),r=/[\s]*[^\s]+/g,i=[];return n.forEach((o)=>{let s=o.match(r);if(s===null){i.push("");return}let a=[s.shift()],c=this.displayWidth(a[0]);s.forEach((u)=>{let d=this.displayWidth(u);if(c+d<=t){a.push(u),c+=d;return}i.push(a.join(""));let f=u.trimStart();a=[f],c=this.displayWidth(f)}),i.push(a.join(""))}),i.join(`
|
|
@@ -256,7 +256,7 @@ Expecting one of '${n.join("', '")}'`);if(this._lifeCycleHooks[e])this._lifeCycl
|
|
|
256
256
|
`),this.outputHelp({error:!0});let n=t||{},r=n.exitCode||1,i=n.code||"commander.error";this._exit(r,i,e)}_parseOptionsEnv(){this.options.forEach((e)=>{if(e.envVar&&e.envVar in me.env){let t=e.attributeName();if(this.getOptionValue(t)===void 0||["default","config","env"].includes(this.getOptionValueSource(t)))if(e.required||e.optional)this.emit(`optionEnv:${e.name()}`,me.env[e.envVar]);else this.emit(`optionEnv:${e.name()}`)}})}_parseOptionsImplied(){let e=new ah(this.options),t=(n)=>this.getOptionValue(n)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(n));this.options.filter((n)=>n.implied!==void 0&&t(n.attributeName())&&e.valueFromOption(this.getOptionValue(n.attributeName()),n)).forEach((n)=>{Object.keys(n.implied).filter((r)=>!t(r)).forEach((r)=>{this.setOptionValueWithSource(r,n.implied[r],"implied")})})}missingArgument(e){let t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){let t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){let n=(o)=>{let s=o.attributeName(),a=this.getOptionValue(s),c=this.options.find((d)=>d.negate&&s===d.attributeName()),u=this.options.find((d)=>!d.negate&&s===d.attributeName());if(c&&(c.presetArg===void 0&&a===!1||c.presetArg!==void 0&&a===c.presetArg))return c;return u||o},r=(o)=>{let s=n(o),a=s.attributeName();if(this.getOptionValueSource(a)==="env")return`environment variable '${s.envVar}'`;return`option '${s.flags}'`},i=`error: ${r(e)} cannot be used with ${r(t)}`;this.error(i,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let r=[],i=this;do{let o=i.createHelp().visibleOptions(i).filter((s)=>s.long).map((s)=>s.long);r=r.concat(o),i=i.parent}while(i&&!i._enablePositionalOptions);t=ch(e,r)}let n=`error: unknown option '${e}'${t}`;this.error(n,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let t=this.registeredArguments.length,n=t===1?"":"s",r=e.length,i=this.parent?` for '${this.name()}'`:"",o=e.join(", "),s=`error: too many arguments${i}. Expected ${t} argument${n} but got ${r}: ${o}.`;this.error(s,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],t="";if(this._showSuggestionAfterError){let r=[];this.createHelp().visibleCommands(this).forEach((i)=>{if(r.push(i.name()),i.alias())r.push(i.alias())}),t=ch(e,r)}let n=`error: unknown command '${e}'${t}`;this.error(n,{code:"commander.unknownCommand"})}version(e,t,n){if(e===void 0)return this._version;this._version=e,t=t||"-V, --version",n=n||"output the version number";let r=this.createOption(t,n);return this._versionOptionName=r.attributeName(),this._registerOption(r),this.on("option:"+r.name(),()=>{this._outputConfiguration.writeOut(`${e}
|
|
257
257
|
`),this._exit(0,"commander.version",e)}),this}description(e,t){if(e===void 0&&t===void 0)return this._description;if(this._description=e,t)this._argsDescription=t;return this}summary(e){if(e===void 0)return this._summary;return this._summary=e,this}alias(e){if(e===void 0)return this._aliases[0];let t=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)t=this.commands[this.commands.length-1];if(e===t._name)throw Error("Command alias can't be the same as its name");let n=this.parent?._findCommand(e);if(n){let r=[n.name()].concat(n.aliases()).join("|");throw Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${r}'`)}return t._aliases.push(e),this}aliases(e){if(e===void 0)return this._aliases;return e.forEach((t)=>this.alias(t)),this}usage(e){if(e===void 0){if(this._usage)return this._usage;let t=this.registeredArguments.map((n)=>Uu(n));return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?t:[]).join(" ")}return this._usage=e,this}name(e){if(e===void 0)return this._name;return this._name=e,this}helpGroup(e){if(e===void 0)return this._helpGroupHeading??"";return this._helpGroupHeading=e,this}commandsGroup(e){if(e===void 0)return this._defaultCommandGroup??"";return this._defaultCommandGroup=e,this}optionsGroup(e){if(e===void 0)return this._defaultOptionGroup??"";return this._defaultOptionGroup=e,this}_initOptionGroup(e){if(this._defaultOptionGroup&&!e.helpGroupHeading)e.helpGroup(this._defaultOptionGroup)}_initCommandGroup(e){if(this._defaultCommandGroup&&!e.helpGroup())e.helpGroup(this._defaultCommandGroup)}nameFromFilename(e){return this._name=Gn.basename(e,Gn.extname(e)),this}executableDir(e){if(e===void 0)return this._executableDir;return this._executableDir=e,this}helpInformation(e){let t=this.createHelp(),n=this._getOutputContext(e);t.prepareContext({error:n.error,helpWidth:n.helpWidth,outputHasColors:n.hasColors});let r=t.formatHelp(this,t);if(n.hasColors)return r;return this._outputConfiguration.stripColor(r)}_getOutputContext(e){e=e||{};let t=!!e.error,n,r,i;if(t)n=(s)=>this._outputConfiguration.writeErr(s),r=this._outputConfiguration.getErrHasColors(),i=this._outputConfiguration.getErrHelpWidth();else n=(s)=>this._outputConfiguration.writeOut(s),r=this._outputConfiguration.getOutHasColors(),i=this._outputConfiguration.getOutHelpWidth();return{error:t,write:(s)=>{if(!r)s=this._outputConfiguration.stripColor(s);return n(s)},hasColors:r,helpWidth:i}}outputHelp(e){let t;if(typeof e==="function")t=e,e=void 0;let n=this._getOutputContext(e),r={error:n.error,write:n.write,command:this};this._getCommandAndAncestors().reverse().forEach((o)=>o.emit("beforeAllHelp",r)),this.emit("beforeHelp",r);let i=this.helpInformation({error:n.error});if(t){if(i=t(i),typeof i!=="string"&&!Buffer.isBuffer(i))throw Error("outputHelp callback must return a string or a Buffer")}if(n.write(i),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",r),this._getCommandAndAncestors().forEach((o)=>o.emit("afterAllHelp",r))}helpOption(e,t){if(typeof e==="boolean"){if(e){if(this._helpOption===null)this._helpOption=void 0;if(this._defaultOptionGroup)this._initOptionGroup(this._getHelpOption())}else this._helpOption=null;return this}if(this._helpOption=this.createOption(e??"-h, --help",t??"display help for command"),e||t)this._initOptionGroup(this._helpOption);return this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(e){return this._helpOption=e,this._initOptionGroup(e),this}help(e){this.outputHelp(e);let t=Number(me.exitCode??0);if(t===0&&e&&typeof e!=="function"&&e.error)t=1;this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){let n=["beforeAll","before","after","afterAll"];if(!n.includes(e))throw Error(`Unexpected value for position to addHelpText.
|
|
258
258
|
Expecting one of '${n.join("', '")}'`);let r=`${e}Help`;return this.on(r,(i)=>{let o;if(typeof t==="function")o=t({error:i.error,command:i.command});else o=t;if(o)i.write(`${o}
|
|
259
|
-
`)}),this}_outputHelpIfRequested(e){let t=this._getHelpOption();if(t&&e.find((r)=>t.is(r)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function Jw(e){return e.map((t)=>{if(!t.startsWith("--inspect"))return t;let n,r="127.0.0.1",i="9229",o;if((o=t.match(/^(--inspect(-brk)?)$/))!==null)n=o[1];else if((o=t.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(n=o[1],/^\d+$/.test(o[3]))i=o[3];else r=o[3];else if((o=t.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)n=o[1],r=o[3],i=o[4];if(n&&i!=="0")return`${n}=${r}:${parseInt(i)+1}`;return t})}function Qw(){if(me.env.NO_COLOR||me.env.FORCE_COLOR==="0"||me.env.FORCE_COLOR==="false")return!1;if(me.env.FORCE_COLOR||me.env.CLICOLOR_FORCE!==void 0)return!0;return}var ehe=new lo;var na={name:"@rainmanhhh/pi-web",version:"0.29.5",description:"Web UI for the pi coding agent (fork of @agegr/pi-web)",homepage:"https://gitee.com/dsxbygzzl/pi-web#readme",repository:{type:"git",url:"git+https://gitee.com/dsxbygzzl/pi-web.git"},bugs:{url:"https://gitee.com/dsxbygzzl/pi-web/issues"},author:"rainmanhhh",license:"MIT",publishConfig:{access:"public",registry:"https://registry.npmjs.org"},engines:{node:">=24.0.0"},files:["dist","public","extensions","package.json"],bin:{"pi-web":"dist/server.mjs"},scripts:{dev:"vite","dev:lan":"vite --host 0.0.0.0",mb:"bun run --env-file=.env.manual api",mf:"bun run --env-file=.env.manual dev -- --port 3001",api:"bun run server/main.ts","api:node":"bun run build:server && node dist/server.mjs","build:server":'bun build server/main.ts --target node --outfile dist/server.mjs --minify --external "@earendil-works/*" --define "process.env.PI_WEB_PACKAGED=1"',"e2e:stop":"bun run scripts/e2e-stop.mjs","e2e:prepare":"bun run scripts/e2e-prepare.mjs",build:"vite build && bun run scripts/prune-fonts.mjs","build:analyze":"vite build --config scripts/analyze-bundle.config.ts && bun run scripts/prune-fonts.mjs",lint:"oxlint --fix",fta:"bun scripts/fta-gate.mjs . --output-limit 15",jscpd:"jscpd --config .jscpd.json",check:"tsc --noEmit",format:"biome check --write .",prepublishOnly:"bun run check && bun run build && bun run build:server","test:e2e":"cross-env CODEBUDDY_SAFE_DELETE_ENABLED=0 bun run e2e:stop && playwright test","test:unit":"vitest run","test:unit:bun":"bun --bun run test:unit",prepare:"husky || true"},dependencies:{"@codemirror/commands":"^6.11.0","@codemirror/lang-css":"^6.3.1","@codemirror/lang-html":"^6.4.12","@codemirror/lang-javascript":"^6.2.5","@codemirror/lang-json":"^6.0.2","@codemirror/lang-markdown":"^6.5.2","@codemirror/lang-yaml":"^6.1.3","@codemirror/language":"^6.12.4","@codemirror/state":"^6.7.1","@codemirror/theme-one-dark":"^6.1.3","@codemirror/view":"^6.43.9","@earendil-works/pi-agent-core":"1.1.0","@earendil-works/pi-ai":"1.1.0","@earendil-works/pi-coding-agent":"1.1.0","@earendil-works/pi-codemode":"1.1.0","@earendil-works/pi-tui":"1.1.0","@hono/node-server":"^2.1.1","class-variance-authority":"^0.7.1",clsx:"^2.1.1",codemirror:"^6.0.2",hono:"^4.13.5","lucide-react":"^1.37.0","p-defer":"^4.0.1",pointrix:"^1.1.0","proper-lockfile":"4.1.2","radix-ui":"^1.6.7",react:"^19.2.8","react-dom":"^19.2.8",shadcn:"^4.19.0",streamdown:"2.6.0","tailwind-merge":"^3.6.0","tw-animate-css":"^1.4.0",virtua:"^0.50.6",ws:"^8.21.3"},devDependencies:{"@biomejs/biome":"^2.5.13","@lobehub/icons":"^5.16.0","@playwright/test":"^1.62.1","@tailwindcss/postcss":"^4.3.3","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.3","@types/node":"^25.9.5","@types/proper-lockfile":"4.1.4","@types/react":"^19.2.18","@types/react-dom":"^19.2.5","@types/react-resizable":"^4.0.0","@types/react-syntax-highlighter":"^15.5.13","@types/ws":"^8.18.1","@vitejs/plugin-react":"^6.1.1",commander:"^15.0.0","cross-env":"^10.1.0","fta-cli":"^3.0.1",husky:"^9.1.7",jiti:"^2.7.0",jscpd:"^5.1.0",jsdom:"^30.0.1",katex:"^0.18.4","lint-staged":"^17.4.1",mammoth:"^1.12.2",mermaid:"^11.17.2",oxlint:"^1.80.0",postcss:"^8.5.26","react-markdown":"^10.1.0","react-syntax-highlighter":"^16.1.1","rehype-katex":"^7.0.1","rehype-raw":"^7.0.0","rehype-sanitize":"^6.0.0","remark-gfm":"^4.0.1","remark-math":"^6.0.0",tailwindcss:"^4.3.3",typescript:"^7.0.2",vite:"^8.2.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-svgr":"^5.2.0",vitest:"^4.1.11"},type:"module",overrides:{katex:"^0.18.4"}};var lh=!1,e2=performance.now();function t2(e){if(lh=e,e2=performance.now(),lh)Je("boot","debug log enabled")}function ze(e){return(t,n)=>Je(e,t,n)}function Je(e,t,n){if(!lh)return;let r=performance.now()-e2,i=new Date,o=(a,c=2)=>String(a).padStart(c,"0"),s=`${o(i.getHours())}:${o(i.getMinutes())}:${o(i.getSeconds())}.${o(i.getMilliseconds(),3)}`;console.debug(`[debug][${e}][${s}][+${r.toFixed(1)}ms] ${t}${n?` — ${n}`:""}`)}import{existsSync as L5,mkdirSync as B5,readFileSync as v2,writeFileSync as W5}from"node:fs";import{dirname as j5,join as x2}from"node:path";import{getAgentDir as w2}from"@earendil-works/pi-coding-agent";var i2=[{label:{en:"Explore project","zh-CN":"阅读项目"},message:{en:"Explore the current project and summarize the overall directory structure and responsibilities of core modules.","zh-CN":"阅读当前项目,总结整体目录结构与核心模块的职责。"}},{label:{en:"Review workspace changes","zh-CN":"审查工作区改动"},message:{en:"Review all changes in the current workspace, point out potential issues and improvements.","zh-CN":"审查当前工作区的所有改动,指出潜在问题与改进点。"}},{label:{en:"Find and fix bugs","zh-CN":"寻找并修复bug"},message:{en:"Inspect the current codebase, find and fix existing bugs.","zh-CN":"检查当前代码,寻找并修复其中存在的 bug。"}}];var o2=i2;import{mkdirSync as c2,readFileSync as Nu,writeFileSync as u2}from"node:fs";import{dirname as l2,join as d2}from"node:path";import{getAgentDir as N5}from"@earendil-works/pi-coding-agent";var ra=["off","minimal","low","medium","high","xhigh","max"];var I5=["off","minimal","low","medium","high"];function fh(e){let t={...e??{}};for(let n of I5)if(!(n in t))t[n]=n;return t}function Pu(e){if(!e.reasoning)return;let t=fh(e.thinkingLevelMap);return ra.find((n)=>typeof t[n]==="string")??"low"}function Ou(e){return e==="en"||e==="zh-CN"?e:void 0}function hh(e){return e==="dark"||e==="light"?e:void 0}function gh(e){return typeof e==="string"&&ra.includes(e)?e:void 0}function mh(e){if(typeof e!=="object"||e===null)return;let t=e;if(typeof t.enabled!=="boolean")return;if(typeof t.reserveTokens!=="number"||!Number.isInteger(t.reserveTokens)||t.reserveTokens<=0)return;if(typeof t.keepRecentTokens!=="number"||!Number.isInteger(t.keepRecentTokens)||t.keepRecentTokens<=0)return;return{enabled:t.enabled,reserveTokens:t.reserveTokens,keepRecentTokens:t.keepRecentTokens}}function M5(e){if(typeof e!=="object"||e===null)return;let t=e,n={};if(typeof t.timeoutMs==="number"&&Number.isInteger(t.timeoutMs)&&t.timeoutMs>0)n.timeoutMs=t.timeoutMs;if(typeof t.maxRetries==="number"&&Number.isInteger(t.maxRetries)&&t.maxRetries>0)n.maxRetries=t.maxRetries;if(typeof t.maxRetryDelayMs==="number"&&Number.isInteger(t.maxRetryDelayMs)&&t.maxRetryDelayMs>0)n.maxRetryDelayMs=t.maxRetryDelayMs;return Object.keys(n).length>0?n:void 0}function yh(e){if(typeof e!=="object"||e===null)return;let t=e;if(typeof t.maxRetries!=="number"||!Number.isInteger(t.maxRetries)||t.maxRetries<=0)return;if(typeof t.baseDelayMs!=="number"||!Number.isInteger(t.baseDelayMs)||t.baseDelayMs<=0)return;let n={maxRetries:t.maxRetries,baseDelayMs:t.baseDelayMs};if(typeof t.enabled==="boolean")n.enabled=t.enabled;let r=M5(t.provider);if(r!==void 0)n.provider=r;return n}function Iu(e){if(e==="ask"||e==="always"||e==="never")return e;if(e==="trust")return"always";if(e==="deny")return"never";return}function Mu(e){return typeof e==="number"&&Number.isFinite(e)&&e>=0.85&&e<=1.3?e:void 0}var ia=(e)=>typeof e==="boolean"?e:void 0,ph=(e)=>typeof e==="number"&&Number.isInteger(e)&&e>0?e:void 0,s2=(e)=>typeof e==="string"&&e.trim()!==""?e:void 0;function a2(e,t){if(typeof e!=="object"||e===null)return;let n=e,r={};for(let[i,o]of Object.entries(t)){let s=o(n[i]);if(s!==void 0)r[i]=s}return Object.keys(r).length>0?r:void 0}var zn=(e)=>Array.isArray(e)&&e.every((t)=>typeof t==="string"&&t.length>0)?e:void 0,bh=[{key:"defaultTools",validate:zn},{key:"httpProxy",validate:s2},{key:"httpIdleTimeoutMs",validate:ph},{key:"websocketConnectTimeoutMs",validate:ph},{key:"enableAnalytics",validate:ia},{key:"enableInstallTelemetry",validate:ia},{key:"trackingId",validate:s2},{key:"branchSummary",validate:(e)=>a2(e,{reserveTokens:ph,skipPrompt:ia})},{key:"images",validate:(e)=>a2(e,{autoResize:ia,blockImages:ia})}];function vh(e){return mh(Vn("compaction",e))}function f2(e,t){let n=mh(e);if(!n)return vh(t);return fo("compaction",n,t),n}function xh(e){return yh(Vn("retry",e))}function p2(e,t){let n=yh(e);if(!n)return xh(t);return fo("retry",n,t),n}function Vn(e,t){try{return JSON.parse(Nu(m2(t),"utf8"))[e]}catch{return}}function fo(e,t,n){try{let r=m2(n),i={};try{i=JSON.parse(Nu(r,"utf8"))}catch{i={}}if(t===void 0)delete i[e];else i[e]=t;c2(l2(r),{recursive:!0}),u2(r,JSON.stringify(i,null,2),"utf8")}catch{}}function h2(e){return d2(e,".pi","settings.json")}function Lu(e,t){try{return JSON.parse(Nu(h2(e),"utf8"))[t]}catch{return}}function g2(e,t,n){try{let r=h2(e),i={};try{i=JSON.parse(Nu(r,"utf8"))}catch{i={}}if(n===void 0)delete i[t];else i[t]=n;c2(l2(r),{recursive:!0}),u2(r,JSON.stringify(i,null,2),"utf8")}catch{}}function po(e,t){let n=Vn(e,t);return typeof n==="string"?n:void 0}function Bu(e,t,n){if(t===void 0)return po(e,n);return fo(e,t,n),t}function m2(e){return d2(e??N5(),"settings.json")}function oa(e){return hh(po("theme",e))??"light"}function y2(e,t){let n=hh(e);if(!n)return oa(t);return Bu("theme",n,t),n}function Wu(e){let t={};for(let{key:n,validate:r}of bh){let i=r(Vn(n,e));if(i!==void 0)t[n]=i}return Object.keys(t).length>0?t:void 0}function b2(e,t){for(let{key:n,validate:r}of bh){if(!(n in e))continue;let i=r(e[n]);if(i===void 0)continue;fo(n,i,t)}return Wu(t)}var ju=new Map;function wh(e){return x2(e??w2(),"pi-web","config.json")}function q5(e){return x2(e??w2(),"pi-web-preferences.json")}function _h(e){try{if(L5(wh(e)))return;let t=JSON.parse(v2(q5(e),"utf8"));Dh({firstPaint:{locale:Ou(t.firstPaint?.locale),fontScale:Mu(t.firstPaint?.fontScale)},preferences:t.preferences??{}},e)}catch{}}function $5(e){let t=gh(po("defaultThinkingLevel",e)),n=vh(e),r=xh(e),i=Iu(po("defaultProjectTrust",e)),o=Wu(e);return{theme:oa(e),...t!==void 0?{defaultThinkingLevel:t}:{},...n!==void 0?{compaction:n}:{},...r!==void 0?{retry:r}:{},...i!==void 0?{defaultProjectTrust:i}:{},...o!==void 0?{piSettings:o}:{}}}function Xn(e){let t=e===void 0,n=e??"",r=t?ju.get(n):void 0;if(!t||r===void 0||r===null)try{let i=v2(wh(e),"utf8"),o=JSON.parse(i);r={firstPaint:{locale:Ou(o.firstPaint?.locale),fontScale:Mu(o.firstPaint?.fontScale)},preferences:o.preferences??{},theme:oa(e)},ju.set(n,r)}catch{if(r={firstPaint:{},preferences:{},theme:oa(e)},t)ju.set(n,r)}return{...r,...$5(e)}}function Dh(e,t){try{let n=wh(t);B5(j5(n),{recursive:!0});let r={firstPaint:e.firstPaint,preferences:e.preferences};if(W5(n,JSON.stringify(r,null,2),"utf8"),t===void 0)ju.set("",e)}catch{}}function H5(e,t){return{...e,...t.locale!==void 0?{locale:Ou(t.locale)??e.locale}:{},...t.fontScale!==void 0?{fontScale:Mu(t.fontScale)??e.fontScale}:{}}}function G5(e,t){if(e===void 0)return Iu(po("defaultProjectTrust",t));let n=Iu(e);if(n===void 0)return;return Bu("defaultProjectTrust",n,t),n}function Eh(e,t){let n=Xn(t),r=H5(n.firstPaint,e),i=n.theme;if(e.theme!==void 0)i=y2(e.theme,t);let o=Bu("defaultThinkingLevel",gh(e.defaultThinkingLevel),t),s=f2(e.compaction,t),a=p2(e.retry,t),c=G5(e.defaultProjectTrust,t),u=e.piSettings===void 0?Wu(t):b2(e.piSettings,t),d={firstPaint:r,preferences:n.preferences,theme:i,defaultThinkingLevel:o,...s!==void 0?{compaction:s}:{},...a!==void 0?{retry:a}:{},...c!==void 0?{defaultProjectTrust:c}:{},...u!==void 0?{piSettings:u}:{}};return Dh(d,t),d}function qu(e,t){let n=Xn(t),r={firstPaint:n.firstPaint,preferences:{...n.preferences,...e},theme:n.theme};return Dh(r,t),r}function Sh(e){let{preferences:t}=Xn(e);if(t.startScreenMessages!==void 0)return;qu({startScreenMessages:o2},e)}import{DefaultResourceLoader as oN,getAgentDir as A2}from"@earendil-works/pi-coding-agent";import{hasTrustRequiringProjectResources as z5,ProjectTrustStore as Th}from"@earendil-works/pi-coding-agent";function Oe(e,t){if(!(Boolean(e)&&z5(e)))return{requiresTrust:!1,trusted:!0};return{requiresTrust:!0,trusted:new Th(t).get(e)===!0}}function _2(e,t){let n=Oe(e,t);if(!n.requiresTrust)return n;return new Th(t).set(e,!0),{requiresTrust:!0,trusted:!0}}function ho(e,t){if(!Oe(e,t).requiresTrust)return;let r=new Th(t);return{resolveProjectTrust:async()=>r.get(e)===!0}}import{existsSync as V5,readFileSync as X5}from"node:fs";import{homedir as K5}from"node:os";import{isAbsolute as Z5,join as sa,relative as Y5,resolve as D2,sep as J5}from"node:path";function Q5({homeDir:e=K5(),xdgStateHome:t=process.env.XDG_STATE_HOME}={}){return t?sa(t,"skills",".skill-lock.json"):sa(e,".agents",".skill-lock.json")}function E2(e){try{let t=JSON.parse(X5(e,"utf8"));return t.skills&&typeof t.skills==="object"?t.skills:{}}catch{return{}}}function S2(e,t){let n=Y5(D2(t),D2(e));return n!==""&&n!==".."&&!n.startsWith(`..${J5}`)&&!Z5(n)}function eN(e,t){if(e[t])return e[t];let n=t.toLowerCase(),r=Object.keys(e).find((i)=>i.toLowerCase()===n);return r?e[r]:void 0}function tN(e,t){if(t!=="github")return e.replace(/\/$/,"");return e.replace(/^git\+/,"").replace(/^https?:\/\/github\.com\//,"").replace(/^git@github\.com:/,"").replace(/\.git$/,"").replace(/\/$/,"")}function nN(e,t){if(!e||e.includes("://")||e.startsWith("git@"))return;let n=e.split("/").filter(Boolean).map(encodeURIComponent).join("/");if(!n)return;return`https://skills.sh/${n}/${encodeURIComponent(t)}`}function rN(e,t){let n=typeof e.sourceType==="string"?e.sourceType:void 0,r=tN(e.source.trim(),n),i=typeof e.skillPath==="string"?e.skillPath:void 0,o=typeof e.ref==="string"?e.ref:void 0,s=t==="global"?e.skillFolderHash:e.computedHash;return{sourceType:n,source:r,skillPath:i,ref:o,versionHash:typeof s==="string"&&s?s:void 0}}function iN(e,t){let{sourceType:n,source:r,skillPath:i,versionHash:o,ref:s}=e,a=n==="github"&&/^[\w.-]+\/[\w.-]+$/.test(r);return Boolean(a&&i&&o&&(t==="global"||!s))}function T2(e,t,n){let r=eN(e,t);if(!r||typeof r.source!=="string"||!r.source.trim())return;let{sourceType:i,source:o,skillPath:s,ref:a,versionHash:c}=rN(r,n);if(!o)return;return{package:`${o}@${t}`,scope:n,source:o,sourceType:i,skillsShUrl:i==="local"?void 0:nN(o,t),...s&&{skillPath:s},...a&&{ref:a},...c&&{versionHash:c},canCheckForUpdates:iN({sourceType:i,source:o,skillPath:s,versionHash:c,ref:a},n)}}function C2(e,{cwd:t,agentDir:n,globalLockPath:r=Q5(),projectLockPath:i=sa(t,"skills-lock.json")}){let o=E2(r),s=E2(i),a=sa(n,"skills"),c=sa(t,".pi","skills");return e.map((u)=>{if(!V5(u.filePath))return u;let d=S2(u.filePath,a)?T2(o,u.name,"global"):S2(u.filePath,c)?T2(s,u.name,"project"):void 0;return d?{...u,install:d}:u})}var sN=32,pi=new Map,Ch=new Map;async function sn(e,t){let n=t?.forceFresh??!1,r=e===""?A2():e;if(!n){let s=pi.get(e);if(s)return{skills:[...s.skills.values()],diagnostics:s.diagnostics,projectResourcesLoaded:s.projectResourcesLoaded}}let i=Ch.get(e);if(i)return i;let o=aN(r,e);Ch.set(e,o);try{return await o}finally{Ch.delete(e)}}async function aN(e,t){let n=A2(),r=new oN({cwd:e,agentDir:n});await r.reload(ho(e,n));let{skills:i,diagnostics:o}=r.getSkills(),s={skills:C2(i,{cwd:e,agentDir:n}),diagnostics:o,projectResourcesLoaded:Oe(e,n).trusted},a=new Map;for(let c of s.skills)a.set(c.filePath,c);return pi.set(t,{skills:a,diagnostics:s.diagnostics,projectResourcesLoaded:s.projectResourcesLoaded,loadedAt:Date.now()}),cN(),s}function cN(){while(pi.size>sN){let e=null,t=1/0;for(let[n,r]of pi){if(n==="")continue;if(r.loadedAt<t)t=r.loadedAt,e=n}if(e===null)break;pi.delete(e)}}function k2(e,t,n){let r=pi.get(e);if(!r)return;let i=r.skills.get(t);if(!i){pi.delete(e);return}if(n.disableModelInvocation!==void 0)i.disableModelInvocation=n.disableModelInvocation}var $u=null;function U2(e){if($u)return;let t=(async()=>{for(let n of e)await Promise.allSettled([n()])})();$u=t,t.then(()=>{$u=null})}function vn(){return $u??Promise.resolve()}var R2={port:31415};import{getAgentDir as Dde}from"@earendil-works/pi-coding-agent";var Ah=(e,t,n)=>(r,i)=>{let o=-1;return s(0);async function s(a){if(a<=o)throw Error("next() called multiple times");o=a;let c,u=!1,d;if(e[a])d=e[a][0][0],r.req.routeIndex=a;else d=a===e.length&&i||void 0;if(d)try{c=await d(r,()=>s(a+1))}catch(f){if(f instanceof Error&&t)r.error=f,c=await t(f,r),u=!0;else throw f}else if(r.finalized===!1&&n)c=await n(r);if(c&&(r.finalized===!1||u))r.res=c;return r}};var F2=Symbol();var P2=(e,t)=>new Response(e,{headers:{"Content-Type":t.replace(/^[^;]+/,(r)=>r.toLowerCase())}}).formData();var O2=32,uN=1e4,Hu=(e)=>("headers"in e),N2=async(e,t=Object.create(null))=>{let{all:n=!1,dot:r=!1}=t,s=(Hu(e)?e.headers:e.raw.headers).get("Content-Type")?.split(";")[0].trim().toLowerCase();if(s==="multipart/form-data"||s==="application/x-www-form-urlencoded")return lN(e,{all:n,dot:r});return{}};async function lN(e,t){if(!Hu(e)&&e.bodyCache.formData)return I2(await e.bodyCache.formData,t);let n=Hu(e)?e.headers:e.raw.headers,r=await e.arrayBuffer(),i=P2(r,n.get("Content-Type")||"");if(!Hu(e))e.bodyCache.formData=i;let o=await i;if(o)return I2(o,t);return{}}function I2(e,t){let n=Object.create(null),r={count:0};if(e.forEach((i,o)=>{if(!(t.all||o.endsWith("[]")))n[o]=i;else dN(n,o,i)}),t.dot)Object.entries(n).forEach(([i,o])=>{if(i.includes("."))fN(n,i,o,r),delete n[i]});return n}var dN=(e,t,n)=>{if(e[t]!==void 0)if(Array.isArray(e[t]))e[t].push(n);else e[t]=[e[t],n];else if(!t.endsWith("[]"))e[t]=n;else e[t]=[n]},fN=(e,t,n,r)=>{if(/(?:^|\.)__proto__\./.test(t))return;let i=e,o=t.split(".",O2+2);if(o.length>O2+1)M2();o.forEach((s,a)=>{if(a===o.length-1)i[s]=n;else{if(!i[s]||typeof i[s]!=="object"||Array.isArray(i[s])||i[s]instanceof File){if(r.count++>=uN)M2();i[s]=Object.create(null)}i=i[s]}})},M2=()=>{throw Error("Nesting limit exceeded")};hi();var z2=class{raw;#e;#t;routeIndex=0;path;bodyCache={};constructor(e,t="/",n=[[]]){this.raw=e,this.path=t,this.#t=n}param(e){return e?this.#n(e):this.#o()}#n(e){let t=this.#t[0][this.routeIndex]?.[1][e],n=this.#i(t);return n&&Vu(n)}#o(){let e={},t=Object.keys(this.#t[0][this.routeIndex]?.[1]??{});for(let n of t){let r=this.#i(this.#t[0][this.routeIndex][1][n]);if(r!==void 0)e[n]=Vu(r)}return e}#i(e){return this.#t[1]?this.#t[1][e]:e}query(e){return H2(this.url,e)}queries(e){return G2(this.url,e)}header(e){if(e)return this.raw.headers.get(e)??void 0;let t=Object.create(null);return this.raw.headers.forEach((n,r)=>{t[r]=n}),t}async parseBody(e){return N2(this,e)}#r=(e)=>{let{bodyCache:t,raw:n}=this,r=t[e];if(r)return r;for(let i in t)return t[i].then((o)=>{if(i==="json")o=JSON.stringify(o);return new Response(o)[e]()});return t[e]=n[e]()};json(){return this.#r("text").then((e)=>JSON.parse(e))}text(){return this.#r("text")}arrayBuffer(){return this.#r("arrayBuffer")}bytes(){return this.#r("arrayBuffer").then((e)=>new Uint8Array(e))}blob(){return this.#r("blob")}formData(){return this.#r("formData")}addValidatedData(e,t){(this.#e??={})[e]=t}valid(e){return this.#e?.[e]}get url(){return this.raw.url}get method(){return this.raw.method}get[F2](){return this.#t}get matchedRoutes(){return this.#t[0].map(([[,e]])=>e)}get routePath(){return this.#t[0].map(([[,e]])=>e)[this.routeIndex].path}};Ph();var mN="text/plain; charset=UTF-8",Oh=(e,t)=>({"Content-Type":e,...t}),aa=(e,t)=>new Response(e,t),Ih=class{#e;#t;env={};#n;finalized=!1;error;#o;#i;#r;#c;#s;#a;#l;#d;#f;constructor(e,t){if(this.#e=e,t)this.#i=t.executionCtx,this.env=t.env,this.#a=t.notFoundHandler,this.#f=t.path,this.#d=t.matchResult}get req(){return this.#t??=new z2(this.#e,this.#f,this.#d),this.#t}get event(){if(this.#i&&"respondWith"in this.#i)return this.#i;else throw Error("This context has no FetchEvent")}get executionCtx(){if(this.#i)return this.#i;else throw Error("This context has no ExecutionContext")}get res(){return this.#r||=aa(null,{headers:this.#l??=new Headers})}set res(e){if(this.#r&&e){e=aa(e.body,e);for(let[t,n]of this.#r.headers.entries()){if(t==="content-type")continue;if(t==="set-cookie"){let r=this.#r.headers.getSetCookie();e.headers.delete("set-cookie");for(let i of r)e.headers.append("set-cookie",i)}else e.headers.set(t,n)}}this.#r=e,this.finalized=!0}render=(...e)=>(this.#s??=(t)=>this.html(t),this.#s(...e));setLayout=(e)=>this.#c=e;getLayout=()=>this.#c;setRenderer=(e)=>{this.#s=e};header=(e,t,n)=>{if(this.finalized)this.#r=aa(this.#r.body,this.#r);let r=this.#r?this.#r.headers:this.#l??=new Headers;if(t===void 0)r.delete(e);else if(n?.append)r.append(e,t);else r.set(e,t)};status=(e)=>{this.#o=e};set=(e,t)=>{this.#n??=new Map,this.#n.set(e,t)};get=(e)=>this.#n?this.#n.get(e):void 0;get var(){if(!this.#n)return{};return Object.fromEntries(this.#n)}#u(e,t,n){let r=this.#r?new Headers(this.#r.headers):this.#l;if(typeof t==="object"&&t.headers){r??=new Headers;for(let[o,s]of new Headers(t.headers))if(o==="set-cookie")r.append(o,s);else r.set(o,s)}if(n){if(!r){let o=0;for(let s in n)if(++o>1||typeof n[s]!=="string"){r=new Headers;break}}if(r)for(let o in n){let s=n[o];if(typeof s==="string")r.set(o,s);else{r.delete(o);for(let a of s)r.append(o,a)}}}let i=typeof t==="number"?t:t?.status??this.#o;return aa(e,{status:i,headers:r??n})}newResponse=(...e)=>this.#u(...e);body=(e,t,n)=>this.#u(e,t,n);text=(e,t,n)=>!this.#l&&!this.#o&&!t&&!n&&!this.finalized?new Response(e):this.#u(e,t,Oh(mN,n));json=(e,t,n)=>this.#u(JSON.stringify(e),t,Oh("application/json",n));html=(e,t,n)=>{let r=(i)=>this.#u(i,t,Oh("text/html; charset=UTF-8",n));return typeof e==="object"?Fh(e,V2.Stringify,!1,{}).then(r):r(e)};redirect=(e,t)=>{let n=String(e);return this.header("Location",!/[^\x00-\xFF]/.test(n)?n:encodeURI(n)),this.newResponse(null,t??302)};notFound=()=>(this.#a??=()=>aa(),this.#a(this))};Dr();Nh();hi();var yN=(e)=>e.text("404 Not Found",404),Y2=(e,t)=>{if("getResponse"in e){let n=e.getResponse();return t.newResponse(n.body,n)}return console.error(e),t.text("Internal Server Error",500)},J2=class e{get;post;put;delete;options;patch;query;all;on;use;router;getPath;_basePath="/";#e="/";routes=[];constructor(t={}){[...Z2,K2].forEach((o)=>{this[o]=(s,...a)=>{if(typeof s==="string")this.#e=s;else this.#o(o,this.#e,s);return a.forEach((c)=>{this.#o(o,this.#e,c)}),this}}),this.on=(o,s,...a)=>{for(let c of[s].flat()){this.#e=c;for(let u of[o].flat())a.map((d)=>{this.#o(u.toUpperCase(),this.#e,d)})}return this},this.use=(o,...s)=>{if(typeof o==="string")this.#e=o;else this.#e="*",s.unshift(o);return s.forEach((a)=>{this.#o(Qe,this.#e,a)}),this};let{strict:r,...i}=t;Object.assign(this,i),this.getPath=r??!0?t.getPath??Rh:q2}#t(){let t=new e({router:this.router,getPath:this.getPath});return t.errorHandler=this.errorHandler,t.#n=this.#n,t.routes=this.routes,t}#n=yN;errorHandler=Y2;route(t,n){let r=this.basePath(t);return n.routes.map((i)=>{let o;if(n.errorHandler===Y2)o=i.handler;else o=async(s,a)=>(await Ah([],n.errorHandler)(s,()=>i.handler(s,a))).res,o[Mh]=i.handler;r.#o(i.method,i.path,o,i.basePath)}),this}basePath(t){let n=this.#t();return n._basePath=_r(this._basePath,t),n}onError=(t)=>(this.errorHandler=t,this);notFound=(t)=>(this.#n=t,this);mount(t,n,r){let i,o;if(r)if(typeof r==="function")o=r;else if(o=r.optionHandler,r.replaceRequest===!1)i=(c)=>c;else i=r.replaceRequest;let s=o?(c)=>{let u=o(c);return Array.isArray(u)?u:[u]}:(c)=>{let u=void 0;try{u=c.executionCtx}catch{}return[c.env,u]};i||=(()=>{let c=_r(this._basePath,t),u=c==="/"?0:c.length;return(d)=>{let f=new URL(d.url);return f.pathname=this.getPath(d).slice(u)||"/",new Request(f,d)}})();let a=async(c,u)=>{let d=await n(i(c.req.raw),...s(c));if(d)return d;await u()};return this.#o(Qe,_r(t,"*"),a),this}#o(t,n,r,i){t=t.toUpperCase(),n=_r(this._basePath,n);let o={basePath:i!==void 0?_r(this._basePath,i):this._basePath,path:n,method:t,handler:r};this.router.add(t,n,[r,o]),this.routes.push(o)}#i(t,n){if(t instanceof Error)return this.errorHandler(t,n);throw t}#r(t,n,r,i){if(i==="HEAD")return(async()=>new Response(null,await this.#r(t,n,r,"GET")))();let o=this.getPath(t,{env:r}),s=this.router.match(i,o),a=new Ih(t,{path:o,matchResult:s,env:r,executionCtx:n,notFoundHandler:this.#n});if(s[0].length===1){let u;try{u=s[0][0][0][0](a,async()=>{a.res=await this.#n(a)})}catch(d){return this.#i(d,a)}return u instanceof Promise?u.then((d)=>d||(a.finalized?a.res:this.#n(a))).catch((d)=>this.#i(d,a)):u??this.#n(a)}let c=Ah(s[0],this.errorHandler,this.#n);return(async()=>{try{let u=await c(a);if(!u.finalized)throw Error("Context is not finalized. Did you forget to return a Response object or `await next()`?");return u.res}catch(u){return this.#i(u,a)}})()}fetch=(t,...n)=>this.#r(t,n[1],n[0],t.method);request=(t,n,r,i)=>{if(t instanceof Request)return this.fetch(n?new Request(t,n):t,r,i);return t=t.toString(),this.fetch(new Request(/^https?:\/\//.test(t)?t:`http://localhost${_r("/",t)}`,n),r,i)};fire=()=>{addEventListener("fetch",(t)=>{t.respondWith(this.#r(t.request,t,void 0,t.request.method))})}};Dr();hi();var et=()=>Object.create(null);Dr();var Zu=[];function Lh(e,t){let n=this.buildAllMatchers(),r=(i,o)=>{let s=n[i]||n[Qe],a=s[2][o];if(a)return a;let c=o.match(s[0]);if(!c)return[[],Zu];let u=c.indexOf("",1);return[s[1][u],c]};return this.match=r,r(e,t)}var go="[^/]+",Sr=".*",Kn="(?:|/.*)",Er=Symbol(),Q2=new Set(".\\+*[^]$()");function bN(e,t){if(e.length===1)return t.length===1?e<t?-1:1:-1;if(t.length===1)return 1;if(e===Sr||e===Kn)return t===Kn?-1:1;else if(t===Sr||t===Kn)return-1;if(e===go)return 1;else if(t===go)return-1;return e.length===t.length?e<t?-1:1:t.length-e.length}var e1=class e{#e;#t;#n=et();insert(t,n,r,i,o){let s=this;for(let a=0,c=t.length;a<c;a++){let u=t[a],d=u.length===1?u==="*"?a===c-1?["","",Sr]:["","",go]:null:u==="/*"?["","",Kn]:u.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/),f;if(d){let p=d[1],h=d[2]||go;if(p&&d[2]){if(h===".*")throw Er;if(h=h.replace(/^\((?!\?:)(?=[^)]+\)$)/,"(?:"),/\((?!\?:)/.test(h))throw Er;if(h.length===1&&Q2.has(h))throw Er}if(f=s.#n[h],!f){if(h!==Sr&&h!==Kn){for(let g in s.#n)if((h.length>1||g.length>1)&&g!==Sr&&g!==Kn)throw Er}f=s.#n[h]=new e}if(p!=="")f.#t??=i.varIndex++,r.push([p,f.#t])}else if(f=s.#n[u],!f){for(let p in s.#n)if(p.length>1&&p!==Sr&&p!==Kn)throw Er;f=s.#n[u]=new e}s=f}if(s.#e!==void 0)throw Er;s.#e=o?-1:n}buildRegExpStr(){let n=Object.keys(this.#n).sort(bN).map((r)=>{let i=this.#n[r],o=i.buildRegExpStr();return o===""?"":(typeof i.#t==="number"?`(${r})@${i.#t}`:Q2.has(r)?`\\${r}`:r)+o}).filter(Boolean);if(typeof this.#e==="number"&&this.#e!==-1)n.unshift(`#${this.#e}`);if(n.length===0)return"";if(n.length===1)return n[0];return"(?:"+n.join("|")+")"}};var Bh=class{#e={varIndex:0};#t=new e1;#n=0;paths=et();insert(e,t){if(t){this.#t.insert(e.split(""),0,[],this.#e,!0);return}let n=[],r=[],i=e;for(let s=0;;){let a=!1;if(i=i.replace(/\{[^}]+\}/g,(c)=>{let u=`@\\${s}`;return r[s]=[u,c],s++,a=!0,u}),!a)break}let o=i.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let s=r.length-1;s>=0;s--){let[a]=r[s];for(let c=o.length-1;c>=0;c--)if(o[c].indexOf(a)!==-1){o[c]=o[c].replace(a,r[s][1]);break}}this.#t.insert(o,this.#n,n,this.#e,!1),this.paths[e]=[this.#n++,n]}buildRegExp(){let e=this.#t.buildRegExpStr();if(e==="")return[/^$/,[],[]];let t=0,n=[],r=[];return e=e.replace(/#(\d+)|@(\d+)|\.\*\$/g,(i,o,s)=>{if(o!==void 0)return n[++t]=Number(o),"$()";if(s!==void 0)return r[Number(s)]=++t,"";return""}),[new RegExp(`^${e}`),n,r]}};var t1=et();function n1(e){return t1[e]??=new RegExp(`^${e.replace(/\/:[^/{}]+(?:\{\[\^\/]\+})?(?=[/{]|$)|\/?\*$|([.\\+*[^\]$()?{}|])/g,(t,n)=>n?`\\${n}`:t==="/*"?Kn:t==="*"?Sr:`/:${go}`)}$`)}function Yu(e,t){for(let n of Object.keys(e).sort((r,i)=>i.length-r.length))if(n1(n).test(t))return[...e[n]];return}var Ju=class{name="RegExpRouter";#e;#t;#n;constructor(){this.#e={[Qe]:et()},this.#t={[Qe]:et()},this.#n={[Qe]:new Bh}}#o(e,t){try{this.#n[e].insert(t,!/\*|\/:/.test(t))}catch(n){throw n===Er?new Ku(t):n}}add(e,t,n){let r=this.#e,i=this.#t;if(!r)throw Error(Xu);if(!r[e]){this.#n[e]=new Bh;for(let a of[r,i]){a[e]=et();for(let c in a[Qe])a[e][c]=[...a[Qe][c]],this.#o(e,c)}}if(t==="/*")t="*";let o=e===Qe?Object.keys(r):[e];if(/\*$/.test(t)){let a=n1(t);for(let c of o)if(!r[c][t])this.#o(c,t),r[c][t]=Yu(r[c],t)||Yu(r[Qe],t)||[];for(let c of[r,i])for(let u of o)for(let d in c[u])a.test(d)&&c[u][d].push([n,t]);return}let s=zu(t)||[t];for(let a of s)for(let c of o){if(!i[c][a])this.#o(c,a),i[c][a]=Yu(r[c],a)||Yu(r[Qe],a)||[];i[c][a].push([n,a])}}match=Lh;buildAllMatchers(){let e=et();for(let t of Object.keys(this.#t))e[t]=this.#i(t);return this.#e=this.#t=this.#n=void 0,t1=et(),e}#i(e){let t=this.#e[e],n=this.#t[e],r=this.#n[e],i=et(),o=[],[s,a,c]=r.buildRegExp();for(let u of[t,n])for(let d in u){let f=u[d],p=r.paths[d];if(!p){i[d]=[f.map(([h])=>[h,et()]),Zu];continue}o[p[0]]=f.map(([h,g])=>[h,r.paths[g][1].reduceRight((b,[v],y)=>(b[v]=c[p[1][y][1]],b),et())])}return[s,a.map((u)=>o[u]),i]}};Dr();Dr();var Wh=class{name="SmartRouter";#e=[];#t=[];constructor(e){this.#e=e.routers}add(e,t,n){if(!this.#t)throw Error(Xu);this.#t.push([e,t,n])}match(e,t){if(!this.#t)throw Error("Fatal error");let n=this.#e,r=this.#t,i=n.length,o=0,s;for(;o<i;o++){let a=n[o];try{for(let c=0,u=r.length;c<u;c++)a.add(...r[c]);s=a.match(e,t)}catch(c){if(c instanceof Ku)continue;throw c}this.match=a.match.bind(a),this.#e=[a],this.#t=void 0;break}if(o===i)throw Error("Fatal error");return this.name=`SmartRouter + ${this.activeRouter.name}`,s}get activeRouter(){if(this.#t||this.#e.length!==1)throw Error("No active router has been determined yet.");return this.#e[0]}};hi();Dr();hi();var jh=et(),vN=0,r1=class e{#e=[];#t=et();#n=[];#o;#i=jh;insert(t,n,r){let i=this,o=L2(n),s=new Set,a=0;for(let c of o){let u=o[++a],d=B2(c,u)||(u===void 0&&c&&c.indexOf("*")===c.length-1?c:null),f=Array.isArray(d),p=f?d[0]:d||c,h=i.#t[p]||=new e;if(d&&!h.#o)h.#o=d,i.#n.push(h);if(i=h,f)s.add(d[1])}i.#e.push({[t]:{handler:r,possibleKeys:[...s],score:++vN}})}#r(t,n,r,i,o){for(let s=0,a=n.#e.length;s<a;s++){let c=n.#e[s],u=c[r]||c[Qe];if(u){u.params=et(),t.push(u);for(let d=0,f=u.possibleKeys.length;d<f;d++){let p=u.possibleKeys[d];u.params[p]=o?.[p]&&!d?o[p]:i[p]??o?.[p]}}}}search(t,n){let r=[];this.#i=jh;let o=[this],s=Uh(n),a=[],c=s.length,u=null;for(let d=0;d<c;d++){let f=s[d],p=d===c-1,h=[];for(let b=0,v=o.length;b<v;b++){let y=o[b],x=y.#t[f];if(x)if(x.#i=y.#i,p){if(x.#t["*"])this.#r(r,x.#t["*"],t,y.#i);this.#r(r,x,t,y.#i)}else h.push(x);for(let m of y.#n){let w=m.#o,D=y.#i===jh?{}:{...y.#i};if(typeof w==="string"){if(w==="*"||f.startsWith(w.slice(0,-1))){if(this.#r(r,m,t,y.#i),w==="*")m.#i=D,h.push(m)}continue}let[,T,_]=w;if(!f&&_===!0)continue;if(_!==!0){if(!u){u=[];let M=n[0]==="/"?1:0;for(let P=0;P<c;P++)u[P]=M,M+=s[P].length+1}let A=n.slice(u[d]),S=_.exec(A);if(S){if(D[T]=S[0],this.#r(r,m,t,y.#i,D),S[0].length===A.length&&m.#t["*"])this.#r(r,m.#t["*"],t,y.#i,D);for(let M in m.#t){m.#i=D;let P=S[0].match(/\//g)?.length??0;(a[P]||=[]).push(m);break}continue}}if(_===!0||_.test(f))if(D[T]=f,p){if(this.#r(r,m,t,D,y.#i),m.#t["*"])this.#r(r,m.#t["*"],t,D,y.#i)}else m.#i=D,h.push(m)}}let g=a.shift();o=g?h.concat(g):h}if(r[1])r.sort((d,f)=>d.score-f.score);return[r.map(({handler:d,params:f})=>[d,f])]}};var qh=class{name="TrieRouter";#e=new r1;add(e,t,n){for(let r of zu(t)||[t])this.#e.insert(e,r,n)}match(e,t){return this.#e.search(e,t)}};var $h=class extends J2{constructor(e={}){super(e);this.router=e.router??new Wh({routers:[new Ju,new qh]})}};function Hh(){let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}import{execFile as xN}from"node:child_process";import mo from"node:path";import{promisify as wN}from"node:util";var ca=wN(xN),Qu=1e4,i1=120000,ua=8388608;async function _t(e,t,n=ua,r=Qu){let{stdout:i}=await ca("git",["-C",e,...t],{timeout:r,maxBuffer:n,env:{...process.env,LC_ALL:"C"}});return i}async function kt(e){try{return(await _t(e,["rev-parse","--show-toplevel"])).trim()||null}catch{return null}}function gi(e,t){let n=mo.relative(mo.resolve(e),mo.resolve(t));return n===""||!n.startsWith(`..${mo.sep}`)&&n!==".."&&!mo.isAbsolute(n)}function Tr(e){return e.split(mo.sep).join("/")}function el(e){return e.includes(0)}import{lstat as RN,readFile as FN}from"node:fs/promises";import d1 from"node:path";var mi=262144,o1=10485760,s1=10485760,_N={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",bmp:"image/bmp",ico:"image/x-icon",avif:"image/avif"},DN={mp3:"audio/mpeg",wav:"audio/wav",ogg:"audio/ogg",oga:"audio/ogg",opus:"audio/ogg",m4a:"audio/mp4",aac:"audio/aac",flac:"audio/flac",weba:"audio/webm",webm:"audio/webm"},EN={pdf:"application/pdf",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};function SN(e){return e.replace(/\\/g,"/").split("/").pop()??""}function yo(e){return SN(e).toLowerCase().split(".").pop()??""}function tl(e){return _N[yo(e)]??null}function nl(e){return DN[yo(e)]??null}function rl(e){return EN[yo(e)]??null}function a1(e){let t=yo(e);if(t==="pdf"||t==="docx")return t;return null}function TN(e,t){return e==="R"||e==="C"||t==="R"||t==="C"}function c1(e){let t=e.split("\x00"),n=[];for(let r=0;r<t.length;r++){let i=t[r];if(!i||i.length<4||i[2]!==" ")continue;let o=i[0],s=i[1],a={path:i.slice(3),indexStatus:o,worktreeStatus:s};if(TN(o,s))a.originalPath=t[++r]||void 0;n.push(a)}return n}var CN=new Set(["DD","AU","UD","UA","DU","AA","UU"]);function il(e){let t=`${e.indexStatus}${e.worktreeStatus}`;if(t==="??")return{status:"untracked",code:"U"};if(CN.has(t)||t.includes("U"))return{status:"conflict",code:"C"};if(t.includes("D"))return{status:"deleted",code:"D"};if(t.includes("R")||t.includes("C"))return{status:"renamed",code:"R"};if(t.includes("A"))return{status:"added",code:"A"};return{status:"modified",code:"M"}}import{lstat as AN,readFile as kN}from"node:fs/promises";import l1 from"node:path";async function Gh(e){let t=await _t(e,["status","--porcelain=v1","-z","--untracked-files=all"]);return c1(t)}async function u1(e,t,n){let i=Tr(l1.relative(e,t))||".";try{let o=await _t(e,["diff","--no-color","--no-ext-diff","--numstat",...n,"--",i]),s=new Map;for(let a of o.split(/\r?\n/)){if(!a)continue;let[c,u,...d]=a.split("\t");if(d.length===0)continue;let f=Number(c),p=Number(u);if(!Number.isInteger(f)||!Number.isInteger(p))continue;let h=d.join("\t"),g=h.indexOf(" => ");if(g!==-1)h=h.slice(g+4);s.set(Tr(h.trim()),{additions:f,deletions:p})}return s}catch{return new Map}}async function UN(e){try{let t=await AN(e);if(!t.isFile()||t.size>mi)return 0;let n=await kN(e);if(el(n)||n.length===0)return 0;let r=n.toString("utf8");return r.endsWith(`
|
|
259
|
+
`)}),this}_outputHelpIfRequested(e){let t=this._getHelpOption();if(t&&e.find((r)=>t.is(r)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function Jw(e){return e.map((t)=>{if(!t.startsWith("--inspect"))return t;let n,r="127.0.0.1",i="9229",o;if((o=t.match(/^(--inspect(-brk)?)$/))!==null)n=o[1];else if((o=t.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(n=o[1],/^\d+$/.test(o[3]))i=o[3];else r=o[3];else if((o=t.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)n=o[1],r=o[3],i=o[4];if(n&&i!=="0")return`${n}=${r}:${parseInt(i)+1}`;return t})}function Qw(){if(me.env.NO_COLOR||me.env.FORCE_COLOR==="0"||me.env.FORCE_COLOR==="false")return!1;if(me.env.FORCE_COLOR||me.env.CLICOLOR_FORCE!==void 0)return!0;return}var nhe=new lo;var na={name:"@rainmanhhh/pi-web",version:"0.29.6",description:"Web UI for the pi coding agent (fork of @agegr/pi-web)",homepage:"https://gitee.com/dsxbygzzl/pi-web#readme",repository:{type:"git",url:"git+https://gitee.com/dsxbygzzl/pi-web.git"},bugs:{url:"https://gitee.com/dsxbygzzl/pi-web/issues"},author:"rainmanhhh",license:"MIT",publishConfig:{access:"public",registry:"https://registry.npmjs.org"},engines:{node:">=24.0.0"},files:["dist","public","extensions","package.json"],bin:{"pi-web":"dist/server.mjs"},scripts:{dev:"vite","dev:lan":"vite --host 0.0.0.0",mb:"bun run --env-file=.env.manual api",mf:"bun run --env-file=.env.manual dev -- --port 3001",api:"bun run server/main.ts","api:node":"bun run build:server && node dist/server.mjs","build:server":'bun build server/main.ts --target node --outfile dist/server.mjs --minify --external "@earendil-works/*" --define "process.env.PI_WEB_PACKAGED=1"',"e2e:stop":"bun run scripts/e2e-stop.mjs","e2e:prepare":"bun run scripts/e2e-prepare.mjs",build:"vite build && bun run scripts/prune-fonts.mjs","build:analyze":"vite build --config scripts/analyze-bundle.config.ts && bun run scripts/prune-fonts.mjs",lint:"oxlint --fix",fta:"bun scripts/fta-gate.mjs . --output-limit 15",jscpd:"jscpd --config .jscpd.json",check:"tsc --noEmit",format:"biome check --write .",prepublishOnly:"bun run check && bun run build && bun run build:server","test:e2e":"cross-env CODEBUDDY_SAFE_DELETE_ENABLED=0 bun run e2e:stop && playwright test","test:unit":"vitest run","test:unit:bun":"bun --bun run test:unit",prepare:"husky || true"},dependencies:{"@codemirror/commands":"^6.11.0","@codemirror/lang-css":"^6.3.1","@codemirror/lang-html":"^6.4.12","@codemirror/lang-javascript":"^6.2.5","@codemirror/lang-json":"^6.0.2","@codemirror/lang-markdown":"^6.5.2","@codemirror/lang-yaml":"^6.1.3","@codemirror/language":"^6.12.4","@codemirror/state":"^6.7.1","@codemirror/theme-one-dark":"^6.1.3","@codemirror/view":"^6.43.9","@earendil-works/pi-agent-core":"1.2.0","@earendil-works/pi-ai":"1.2.0","@earendil-works/pi-coding-agent":"1.2.0","@earendil-works/pi-codemode":"1.2.0","@earendil-works/pi-tui":"1.2.0","@hono/node-server":"^2.1.1","class-variance-authority":"^0.7.1",clsx:"^2.1.1",codemirror:"^6.0.2",hono:"^4.13.5","lucide-react":"^1.37.0","p-defer":"^4.0.1",pointrix:"^1.1.0","proper-lockfile":"4.1.2","radix-ui":"^1.6.7",react:"^19.2.8","react-dom":"^19.2.8",shadcn:"^4.19.0",streamdown:"2.6.0","tailwind-merge":"^3.6.0","tw-animate-css":"^1.4.0",virtua:"^0.50.6",ws:"^8.21.3"},devDependencies:{"@biomejs/biome":"^2.5.13","@lobehub/icons":"^5.16.0","@playwright/test":"^1.62.1","@tailwindcss/postcss":"^4.3.3","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.3","@types/node":"^25.9.5","@types/proper-lockfile":"4.1.4","@types/react":"^19.2.18","@types/react-dom":"^19.2.5","@types/react-resizable":"^4.0.0","@types/react-syntax-highlighter":"^15.5.13","@types/ws":"^8.18.1","@vitejs/plugin-react":"^6.1.1",commander:"^15.0.0","cross-env":"^10.1.0","fta-cli":"^3.0.1",husky:"^9.1.7",jiti:"^2.7.0",jscpd:"^5.1.0",jsdom:"^30.0.1",katex:"^0.18.4","lint-staged":"^17.4.1",mammoth:"^1.12.2",mermaid:"^11.17.2",oxlint:"^1.80.0",postcss:"^8.5.26","react-markdown":"^10.1.0","react-syntax-highlighter":"^16.1.1","rehype-katex":"^7.0.1","rehype-raw":"^7.0.0","rehype-sanitize":"^6.0.0","remark-gfm":"^4.0.1","remark-math":"^6.0.0",tailwindcss:"^4.3.3",typescript:"^7.0.2",vite:"^8.2.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-svgr":"^5.2.0",vitest:"^4.1.11"},type:"module",overrides:{katex:"^0.18.4"}};var lh=!1,e2=performance.now();function t2(e){if(lh=e,e2=performance.now(),lh)Je("boot","debug log enabled")}function ze(e){return(t,n)=>Je(e,t,n)}function Je(e,t,n){if(!lh)return;let r=performance.now()-e2,i=new Date,o=(a,c=2)=>String(a).padStart(c,"0"),s=`${o(i.getHours())}:${o(i.getMinutes())}:${o(i.getSeconds())}.${o(i.getMilliseconds(),3)}`;console.debug(`[debug][${e}][${s}][+${r.toFixed(1)}ms] ${t}${n?` — ${n}`:""}`)}import{existsSync as L5,mkdirSync as B5,readFileSync as v2,writeFileSync as W5}from"node:fs";import{dirname as j5,join as x2}from"node:path";import{getAgentDir as w2}from"@earendil-works/pi-coding-agent";var i2=[{label:{en:"Explore project","zh-CN":"阅读项目"},message:{en:"Explore the current project and summarize the overall directory structure and responsibilities of core modules.","zh-CN":"阅读当前项目,总结整体目录结构与核心模块的职责。"}},{label:{en:"Review workspace changes","zh-CN":"审查工作区改动"},message:{en:"Review all changes in the current workspace, point out potential issues and improvements.","zh-CN":"审查当前工作区的所有改动,指出潜在问题与改进点。"}},{label:{en:"Find and fix bugs","zh-CN":"寻找并修复bug"},message:{en:"Inspect the current codebase, find and fix existing bugs.","zh-CN":"检查当前代码,寻找并修复其中存在的 bug。"}}];var o2=i2;import{mkdirSync as c2,readFileSync as Nu,writeFileSync as u2}from"node:fs";import{dirname as l2,join as d2}from"node:path";import{getAgentDir as N5}from"@earendil-works/pi-coding-agent";var ra=["off","minimal","low","medium","high","xhigh","max"];var I5=["off","minimal","low","medium","high"];function fh(e){let t={...e??{}};for(let n of I5)if(!(n in t))t[n]=n;return t}function Pu(e){if(!e.reasoning)return;let t=fh(e.thinkingLevelMap);return ra.find((n)=>typeof t[n]==="string")??"low"}function Ou(e){return e==="en"||e==="zh-CN"?e:void 0}function hh(e){return e==="dark"||e==="light"?e:void 0}function gh(e){return typeof e==="string"&&ra.includes(e)?e:void 0}function mh(e){if(typeof e!=="object"||e===null)return;let t=e;if(typeof t.enabled!=="boolean")return;if(typeof t.reserveTokens!=="number"||!Number.isInteger(t.reserveTokens)||t.reserveTokens<=0)return;if(typeof t.keepRecentTokens!=="number"||!Number.isInteger(t.keepRecentTokens)||t.keepRecentTokens<=0)return;return{enabled:t.enabled,reserveTokens:t.reserveTokens,keepRecentTokens:t.keepRecentTokens}}function M5(e){if(typeof e!=="object"||e===null)return;let t=e,n={};if(typeof t.timeoutMs==="number"&&Number.isInteger(t.timeoutMs)&&t.timeoutMs>0)n.timeoutMs=t.timeoutMs;if(typeof t.maxRetries==="number"&&Number.isInteger(t.maxRetries)&&t.maxRetries>0)n.maxRetries=t.maxRetries;if(typeof t.maxRetryDelayMs==="number"&&Number.isInteger(t.maxRetryDelayMs)&&t.maxRetryDelayMs>0)n.maxRetryDelayMs=t.maxRetryDelayMs;return Object.keys(n).length>0?n:void 0}function yh(e){if(typeof e!=="object"||e===null)return;let t=e;if(typeof t.maxRetries!=="number"||!Number.isInteger(t.maxRetries)||t.maxRetries<=0)return;if(typeof t.baseDelayMs!=="number"||!Number.isInteger(t.baseDelayMs)||t.baseDelayMs<=0)return;let n={maxRetries:t.maxRetries,baseDelayMs:t.baseDelayMs};if(typeof t.enabled==="boolean")n.enabled=t.enabled;let r=M5(t.provider);if(r!==void 0)n.provider=r;return n}function Iu(e){if(e==="ask"||e==="always"||e==="never")return e;if(e==="trust")return"always";if(e==="deny")return"never";return}function Mu(e){return typeof e==="number"&&Number.isFinite(e)&&e>=0.85&&e<=1.3?e:void 0}var ia=(e)=>typeof e==="boolean"?e:void 0,ph=(e)=>typeof e==="number"&&Number.isInteger(e)&&e>0?e:void 0,s2=(e)=>typeof e==="string"&&e.trim()!==""?e:void 0;function a2(e,t){if(typeof e!=="object"||e===null)return;let n=e,r={};for(let[i,o]of Object.entries(t)){let s=o(n[i]);if(s!==void 0)r[i]=s}return Object.keys(r).length>0?r:void 0}var zn=(e)=>Array.isArray(e)&&e.every((t)=>typeof t==="string"&&t.length>0)?e:void 0,bh=[{key:"defaultTools",validate:zn},{key:"httpProxy",validate:s2},{key:"httpIdleTimeoutMs",validate:ph},{key:"websocketConnectTimeoutMs",validate:ph},{key:"enableAnalytics",validate:ia},{key:"enableInstallTelemetry",validate:ia},{key:"trackingId",validate:s2},{key:"branchSummary",validate:(e)=>a2(e,{reserveTokens:ph,skipPrompt:ia})},{key:"images",validate:(e)=>a2(e,{autoResize:ia,blockImages:ia})}];function vh(e){return mh(Vn("compaction",e))}function f2(e,t){let n=mh(e);if(!n)return vh(t);return fo("compaction",n,t),n}function xh(e){return yh(Vn("retry",e))}function p2(e,t){let n=yh(e);if(!n)return xh(t);return fo("retry",n,t),n}function Vn(e,t){try{return JSON.parse(Nu(m2(t),"utf8"))[e]}catch{return}}function fo(e,t,n){try{let r=m2(n),i={};try{i=JSON.parse(Nu(r,"utf8"))}catch{i={}}if(t===void 0)delete i[e];else i[e]=t;c2(l2(r),{recursive:!0}),u2(r,JSON.stringify(i,null,2),"utf8")}catch{}}function h2(e){return d2(e,".pi","settings.json")}function Lu(e,t){try{return JSON.parse(Nu(h2(e),"utf8"))[t]}catch{return}}function g2(e,t,n){try{let r=h2(e),i={};try{i=JSON.parse(Nu(r,"utf8"))}catch{i={}}if(n===void 0)delete i[t];else i[t]=n;c2(l2(r),{recursive:!0}),u2(r,JSON.stringify(i,null,2),"utf8")}catch{}}function po(e,t){let n=Vn(e,t);return typeof n==="string"?n:void 0}function Bu(e,t,n){if(t===void 0)return po(e,n);return fo(e,t,n),t}function m2(e){return d2(e??N5(),"settings.json")}function oa(e){return hh(po("theme",e))??"light"}function y2(e,t){let n=hh(e);if(!n)return oa(t);return Bu("theme",n,t),n}function Wu(e){let t={};for(let{key:n,validate:r}of bh){let i=r(Vn(n,e));if(i!==void 0)t[n]=i}return Object.keys(t).length>0?t:void 0}function b2(e,t){for(let{key:n,validate:r}of bh){if(!(n in e))continue;let i=r(e[n]);if(i===void 0)continue;fo(n,i,t)}return Wu(t)}var ju=new Map;function wh(e){return x2(e??w2(),"pi-web","config.json")}function q5(e){return x2(e??w2(),"pi-web-preferences.json")}function _h(e){try{if(L5(wh(e)))return;let t=JSON.parse(v2(q5(e),"utf8"));Dh({firstPaint:{locale:Ou(t.firstPaint?.locale),fontScale:Mu(t.firstPaint?.fontScale)},preferences:t.preferences??{}},e)}catch{}}function $5(e){let t=gh(po("defaultThinkingLevel",e)),n=vh(e),r=xh(e),i=Iu(po("defaultProjectTrust",e)),o=Wu(e);return{theme:oa(e),...t!==void 0?{defaultThinkingLevel:t}:{},...n!==void 0?{compaction:n}:{},...r!==void 0?{retry:r}:{},...i!==void 0?{defaultProjectTrust:i}:{},...o!==void 0?{piSettings:o}:{}}}function Xn(e){let t=e===void 0,n=e??"",r=t?ju.get(n):void 0;if(!t||r===void 0||r===null)try{let i=v2(wh(e),"utf8"),o=JSON.parse(i);r={firstPaint:{locale:Ou(o.firstPaint?.locale),fontScale:Mu(o.firstPaint?.fontScale)},preferences:o.preferences??{},theme:oa(e)},ju.set(n,r)}catch{if(r={firstPaint:{},preferences:{},theme:oa(e)},t)ju.set(n,r)}return{...r,...$5(e)}}function Dh(e,t){try{let n=wh(t);B5(j5(n),{recursive:!0});let r={firstPaint:e.firstPaint,preferences:e.preferences};if(W5(n,JSON.stringify(r,null,2),"utf8"),t===void 0)ju.set("",e)}catch{}}function H5(e,t){return{...e,...t.locale!==void 0?{locale:Ou(t.locale)??e.locale}:{},...t.fontScale!==void 0?{fontScale:Mu(t.fontScale)??e.fontScale}:{}}}function G5(e,t){if(e===void 0)return Iu(po("defaultProjectTrust",t));let n=Iu(e);if(n===void 0)return;return Bu("defaultProjectTrust",n,t),n}function Eh(e,t){let n=Xn(t),r=H5(n.firstPaint,e),i=n.theme;if(e.theme!==void 0)i=y2(e.theme,t);let o=Bu("defaultThinkingLevel",gh(e.defaultThinkingLevel),t),s=f2(e.compaction,t),a=p2(e.retry,t),c=G5(e.defaultProjectTrust,t),u=e.piSettings===void 0?Wu(t):b2(e.piSettings,t),d={firstPaint:r,preferences:n.preferences,theme:i,defaultThinkingLevel:o,...s!==void 0?{compaction:s}:{},...a!==void 0?{retry:a}:{},...c!==void 0?{defaultProjectTrust:c}:{},...u!==void 0?{piSettings:u}:{}};return Dh(d,t),d}function qu(e,t){let n=Xn(t),r={firstPaint:n.firstPaint,preferences:{...n.preferences,...e},theme:n.theme};return Dh(r,t),r}function Sh(e){let{preferences:t}=Xn(e);if(t.startScreenMessages!==void 0)return;qu({startScreenMessages:o2},e)}import{DefaultResourceLoader as oN,getAgentDir as A2}from"@earendil-works/pi-coding-agent";import{hasTrustRequiringProjectResources as z5,ProjectTrustStore as Th}from"@earendil-works/pi-coding-agent";function Oe(e,t){if(!(Boolean(e)&&z5(e)))return{requiresTrust:!1,trusted:!0};return{requiresTrust:!0,trusted:new Th(t).get(e)===!0}}function _2(e,t){let n=Oe(e,t);if(!n.requiresTrust)return n;return new Th(t).set(e,!0),{requiresTrust:!0,trusted:!0}}function ho(e,t){if(!Oe(e,t).requiresTrust)return;let r=new Th(t);return{resolveProjectTrust:async()=>r.get(e)===!0}}import{existsSync as V5,readFileSync as X5}from"node:fs";import{homedir as K5}from"node:os";import{isAbsolute as Z5,join as sa,relative as Y5,resolve as D2,sep as J5}from"node:path";function Q5({homeDir:e=K5(),xdgStateHome:t=process.env.XDG_STATE_HOME}={}){return t?sa(t,"skills",".skill-lock.json"):sa(e,".agents",".skill-lock.json")}function E2(e){try{let t=JSON.parse(X5(e,"utf8"));return t.skills&&typeof t.skills==="object"?t.skills:{}}catch{return{}}}function S2(e,t){let n=Y5(D2(t),D2(e));return n!==""&&n!==".."&&!n.startsWith(`..${J5}`)&&!Z5(n)}function eN(e,t){if(e[t])return e[t];let n=t.toLowerCase(),r=Object.keys(e).find((i)=>i.toLowerCase()===n);return r?e[r]:void 0}function tN(e,t){if(t!=="github")return e.replace(/\/$/,"");return e.replace(/^git\+/,"").replace(/^https?:\/\/github\.com\//,"").replace(/^git@github\.com:/,"").replace(/\.git$/,"").replace(/\/$/,"")}function nN(e,t){if(!e||e.includes("://")||e.startsWith("git@"))return;let n=e.split("/").filter(Boolean).map(encodeURIComponent).join("/");if(!n)return;return`https://skills.sh/${n}/${encodeURIComponent(t)}`}function rN(e,t){let n=typeof e.sourceType==="string"?e.sourceType:void 0,r=tN(e.source.trim(),n),i=typeof e.skillPath==="string"?e.skillPath:void 0,o=typeof e.ref==="string"?e.ref:void 0,s=t==="global"?e.skillFolderHash:e.computedHash;return{sourceType:n,source:r,skillPath:i,ref:o,versionHash:typeof s==="string"&&s?s:void 0}}function iN(e,t){let{sourceType:n,source:r,skillPath:i,versionHash:o,ref:s}=e,a=n==="github"&&/^[\w.-]+\/[\w.-]+$/.test(r);return Boolean(a&&i&&o&&(t==="global"||!s))}function T2(e,t,n){let r=eN(e,t);if(!r||typeof r.source!=="string"||!r.source.trim())return;let{sourceType:i,source:o,skillPath:s,ref:a,versionHash:c}=rN(r,n);if(!o)return;return{package:`${o}@${t}`,scope:n,source:o,sourceType:i,skillsShUrl:i==="local"?void 0:nN(o,t),...s&&{skillPath:s},...a&&{ref:a},...c&&{versionHash:c},canCheckForUpdates:iN({sourceType:i,source:o,skillPath:s,versionHash:c,ref:a},n)}}function C2(e,{cwd:t,agentDir:n,globalLockPath:r=Q5(),projectLockPath:i=sa(t,"skills-lock.json")}){let o=E2(r),s=E2(i),a=sa(n,"skills"),c=sa(t,".pi","skills");return e.map((u)=>{if(!V5(u.filePath))return u;let d=S2(u.filePath,a)?T2(o,u.name,"global"):S2(u.filePath,c)?T2(s,u.name,"project"):void 0;return d?{...u,install:d}:u})}var sN=32,pi=new Map,Ch=new Map;async function sn(e,t){let n=t?.forceFresh??!1,r=e===""?A2():e;if(!n){let s=pi.get(e);if(s)return{skills:[...s.skills.values()],diagnostics:s.diagnostics,projectResourcesLoaded:s.projectResourcesLoaded}}let i=Ch.get(e);if(i)return i;let o=aN(r,e);Ch.set(e,o);try{return await o}finally{Ch.delete(e)}}async function aN(e,t){let n=A2(),r=new oN({cwd:e,agentDir:n});await r.reload(ho(e,n));let{skills:i,diagnostics:o}=r.getSkills(),s={skills:C2(i,{cwd:e,agentDir:n}),diagnostics:o,projectResourcesLoaded:Oe(e,n).trusted},a=new Map;for(let c of s.skills)a.set(c.filePath,c);return pi.set(t,{skills:a,diagnostics:s.diagnostics,projectResourcesLoaded:s.projectResourcesLoaded,loadedAt:Date.now()}),cN(),s}function cN(){while(pi.size>sN){let e=null,t=1/0;for(let[n,r]of pi){if(n==="")continue;if(r.loadedAt<t)t=r.loadedAt,e=n}if(e===null)break;pi.delete(e)}}function k2(e,t,n){let r=pi.get(e);if(!r)return;let i=r.skills.get(t);if(!i){pi.delete(e);return}if(n.disableModelInvocation!==void 0)i.disableModelInvocation=n.disableModelInvocation}var $u=null;function U2(e){if($u)return;let t=(async()=>{for(let n of e)await Promise.allSettled([n()])})();$u=t,t.then(()=>{$u=null})}function vn(){return $u??Promise.resolve()}var R2={port:31415};import{getAgentDir as Sde}from"@earendil-works/pi-coding-agent";var Ah=(e,t,n)=>(r,i)=>{let o=-1;return s(0);async function s(a){if(a<=o)throw Error("next() called multiple times");o=a;let c,u=!1,d;if(e[a])d=e[a][0][0],r.req.routeIndex=a;else d=a===e.length&&i||void 0;if(d)try{c=await d(r,()=>s(a+1))}catch(f){if(f instanceof Error&&t)r.error=f,c=await t(f,r),u=!0;else throw f}else if(r.finalized===!1&&n)c=await n(r);if(c&&(r.finalized===!1||u))r.res=c;return r}};var F2=Symbol();var P2=(e,t)=>new Response(e,{headers:{"Content-Type":t.replace(/^[^;]+/,(r)=>r.toLowerCase())}}).formData();var O2=32,uN=1e4,Hu=(e)=>("headers"in e),N2=async(e,t=Object.create(null))=>{let{all:n=!1,dot:r=!1}=t,s=(Hu(e)?e.headers:e.raw.headers).get("Content-Type")?.split(";")[0].trim().toLowerCase();if(s==="multipart/form-data"||s==="application/x-www-form-urlencoded")return lN(e,{all:n,dot:r});return{}};async function lN(e,t){if(!Hu(e)&&e.bodyCache.formData)return I2(await e.bodyCache.formData,t);let n=Hu(e)?e.headers:e.raw.headers,r=await e.arrayBuffer(),i=P2(r,n.get("Content-Type")||"");if(!Hu(e))e.bodyCache.formData=i;let o=await i;if(o)return I2(o,t);return{}}function I2(e,t){let n=Object.create(null),r={count:0};if(e.forEach((i,o)=>{if(!(t.all||o.endsWith("[]")))n[o]=i;else dN(n,o,i)}),t.dot)Object.entries(n).forEach(([i,o])=>{if(i.includes("."))fN(n,i,o,r),delete n[i]});return n}var dN=(e,t,n)=>{if(e[t]!==void 0)if(Array.isArray(e[t]))e[t].push(n);else e[t]=[e[t],n];else if(!t.endsWith("[]"))e[t]=n;else e[t]=[n]},fN=(e,t,n,r)=>{if(/(?:^|\.)__proto__\./.test(t))return;let i=e,o=t.split(".",O2+2);if(o.length>O2+1)M2();o.forEach((s,a)=>{if(a===o.length-1)i[s]=n;else{if(!i[s]||typeof i[s]!=="object"||Array.isArray(i[s])||i[s]instanceof File){if(r.count++>=uN)M2();i[s]=Object.create(null)}i=i[s]}})},M2=()=>{throw Error("Nesting limit exceeded")};hi();var z2=class{raw;#e;#t;routeIndex=0;path;bodyCache={};constructor(e,t="/",n=[[]]){this.raw=e,this.path=t,this.#t=n}param(e){return e?this.#n(e):this.#o()}#n(e){let t=this.#t[0][this.routeIndex]?.[1][e],n=this.#i(t);return n&&Vu(n)}#o(){let e={},t=Object.keys(this.#t[0][this.routeIndex]?.[1]??{});for(let n of t){let r=this.#i(this.#t[0][this.routeIndex][1][n]);if(r!==void 0)e[n]=Vu(r)}return e}#i(e){return this.#t[1]?this.#t[1][e]:e}query(e){return H2(this.url,e)}queries(e){return G2(this.url,e)}header(e){if(e)return this.raw.headers.get(e)??void 0;let t=Object.create(null);return this.raw.headers.forEach((n,r)=>{t[r]=n}),t}async parseBody(e){return N2(this,e)}#r=(e)=>{let{bodyCache:t,raw:n}=this,r=t[e];if(r)return r;for(let i in t)return t[i].then((o)=>{if(i==="json")o=JSON.stringify(o);return new Response(o)[e]()});return t[e]=n[e]()};json(){return this.#r("text").then((e)=>JSON.parse(e))}text(){return this.#r("text")}arrayBuffer(){return this.#r("arrayBuffer")}bytes(){return this.#r("arrayBuffer").then((e)=>new Uint8Array(e))}blob(){return this.#r("blob")}formData(){return this.#r("formData")}addValidatedData(e,t){(this.#e??={})[e]=t}valid(e){return this.#e?.[e]}get url(){return this.raw.url}get method(){return this.raw.method}get[F2](){return this.#t}get matchedRoutes(){return this.#t[0].map(([[,e]])=>e)}get routePath(){return this.#t[0].map(([[,e]])=>e)[this.routeIndex].path}};Ph();var mN="text/plain; charset=UTF-8",Oh=(e,t)=>({"Content-Type":e,...t}),aa=(e,t)=>new Response(e,t),Ih=class{#e;#t;env={};#n;finalized=!1;error;#o;#i;#r;#c;#s;#a;#l;#d;#f;constructor(e,t){if(this.#e=e,t)this.#i=t.executionCtx,this.env=t.env,this.#a=t.notFoundHandler,this.#f=t.path,this.#d=t.matchResult}get req(){return this.#t??=new z2(this.#e,this.#f,this.#d),this.#t}get event(){if(this.#i&&"respondWith"in this.#i)return this.#i;else throw Error("This context has no FetchEvent")}get executionCtx(){if(this.#i)return this.#i;else throw Error("This context has no ExecutionContext")}get res(){return this.#r||=aa(null,{headers:this.#l??=new Headers})}set res(e){if(this.#r&&e){e=aa(e.body,e);for(let[t,n]of this.#r.headers.entries()){if(t==="content-type")continue;if(t==="set-cookie"){let r=this.#r.headers.getSetCookie();e.headers.delete("set-cookie");for(let i of r)e.headers.append("set-cookie",i)}else e.headers.set(t,n)}}this.#r=e,this.finalized=!0}render=(...e)=>(this.#s??=(t)=>this.html(t),this.#s(...e));setLayout=(e)=>this.#c=e;getLayout=()=>this.#c;setRenderer=(e)=>{this.#s=e};header=(e,t,n)=>{if(this.finalized)this.#r=aa(this.#r.body,this.#r);let r=this.#r?this.#r.headers:this.#l??=new Headers;if(t===void 0)r.delete(e);else if(n?.append)r.append(e,t);else r.set(e,t)};status=(e)=>{this.#o=e};set=(e,t)=>{this.#n??=new Map,this.#n.set(e,t)};get=(e)=>this.#n?this.#n.get(e):void 0;get var(){if(!this.#n)return{};return Object.fromEntries(this.#n)}#u(e,t,n){let r=this.#r?new Headers(this.#r.headers):this.#l;if(typeof t==="object"&&t.headers){r??=new Headers;for(let[o,s]of new Headers(t.headers))if(o==="set-cookie")r.append(o,s);else r.set(o,s)}if(n){if(!r){let o=0;for(let s in n)if(++o>1||typeof n[s]!=="string"){r=new Headers;break}}if(r)for(let o in n){let s=n[o];if(typeof s==="string")r.set(o,s);else{r.delete(o);for(let a of s)r.append(o,a)}}}let i=typeof t==="number"?t:t?.status??this.#o;return aa(e,{status:i,headers:r??n})}newResponse=(...e)=>this.#u(...e);body=(e,t,n)=>this.#u(e,t,n);text=(e,t,n)=>!this.#l&&!this.#o&&!t&&!n&&!this.finalized?new Response(e):this.#u(e,t,Oh(mN,n));json=(e,t,n)=>this.#u(JSON.stringify(e),t,Oh("application/json",n));html=(e,t,n)=>{let r=(i)=>this.#u(i,t,Oh("text/html; charset=UTF-8",n));return typeof e==="object"?Fh(e,V2.Stringify,!1,{}).then(r):r(e)};redirect=(e,t)=>{let n=String(e);return this.header("Location",!/[^\x00-\xFF]/.test(n)?n:encodeURI(n)),this.newResponse(null,t??302)};notFound=()=>(this.#a??=()=>aa(),this.#a(this))};Dr();Nh();hi();var yN=(e)=>e.text("404 Not Found",404),Y2=(e,t)=>{if("getResponse"in e){let n=e.getResponse();return t.newResponse(n.body,n)}return console.error(e),t.text("Internal Server Error",500)},J2=class e{get;post;put;delete;options;patch;query;all;on;use;router;getPath;_basePath="/";#e="/";routes=[];constructor(t={}){[...Z2,K2].forEach((o)=>{this[o]=(s,...a)=>{if(typeof s==="string")this.#e=s;else this.#o(o,this.#e,s);return a.forEach((c)=>{this.#o(o,this.#e,c)}),this}}),this.on=(o,s,...a)=>{for(let c of[s].flat()){this.#e=c;for(let u of[o].flat())a.map((d)=>{this.#o(u.toUpperCase(),this.#e,d)})}return this},this.use=(o,...s)=>{if(typeof o==="string")this.#e=o;else this.#e="*",s.unshift(o);return s.forEach((a)=>{this.#o(Qe,this.#e,a)}),this};let{strict:r,...i}=t;Object.assign(this,i),this.getPath=r??!0?t.getPath??Rh:q2}#t(){let t=new e({router:this.router,getPath:this.getPath});return t.errorHandler=this.errorHandler,t.#n=this.#n,t.routes=this.routes,t}#n=yN;errorHandler=Y2;route(t,n){let r=this.basePath(t);return n.routes.map((i)=>{let o;if(n.errorHandler===Y2)o=i.handler;else o=async(s,a)=>(await Ah([],n.errorHandler)(s,()=>i.handler(s,a))).res,o[Mh]=i.handler;r.#o(i.method,i.path,o,i.basePath)}),this}basePath(t){let n=this.#t();return n._basePath=_r(this._basePath,t),n}onError=(t)=>(this.errorHandler=t,this);notFound=(t)=>(this.#n=t,this);mount(t,n,r){let i,o;if(r)if(typeof r==="function")o=r;else if(o=r.optionHandler,r.replaceRequest===!1)i=(c)=>c;else i=r.replaceRequest;let s=o?(c)=>{let u=o(c);return Array.isArray(u)?u:[u]}:(c)=>{let u=void 0;try{u=c.executionCtx}catch{}return[c.env,u]};i||=(()=>{let c=_r(this._basePath,t),u=c==="/"?0:c.length;return(d)=>{let f=new URL(d.url);return f.pathname=this.getPath(d).slice(u)||"/",new Request(f,d)}})();let a=async(c,u)=>{let d=await n(i(c.req.raw),...s(c));if(d)return d;await u()};return this.#o(Qe,_r(t,"*"),a),this}#o(t,n,r,i){t=t.toUpperCase(),n=_r(this._basePath,n);let o={basePath:i!==void 0?_r(this._basePath,i):this._basePath,path:n,method:t,handler:r};this.router.add(t,n,[r,o]),this.routes.push(o)}#i(t,n){if(t instanceof Error)return this.errorHandler(t,n);throw t}#r(t,n,r,i){if(i==="HEAD")return(async()=>new Response(null,await this.#r(t,n,r,"GET")))();let o=this.getPath(t,{env:r}),s=this.router.match(i,o),a=new Ih(t,{path:o,matchResult:s,env:r,executionCtx:n,notFoundHandler:this.#n});if(s[0].length===1){let u;try{u=s[0][0][0][0](a,async()=>{a.res=await this.#n(a)})}catch(d){return this.#i(d,a)}return u instanceof Promise?u.then((d)=>d||(a.finalized?a.res:this.#n(a))).catch((d)=>this.#i(d,a)):u??this.#n(a)}let c=Ah(s[0],this.errorHandler,this.#n);return(async()=>{try{let u=await c(a);if(!u.finalized)throw Error("Context is not finalized. Did you forget to return a Response object or `await next()`?");return u.res}catch(u){return this.#i(u,a)}})()}fetch=(t,...n)=>this.#r(t,n[1],n[0],t.method);request=(t,n,r,i)=>{if(t instanceof Request)return this.fetch(n?new Request(t,n):t,r,i);return t=t.toString(),this.fetch(new Request(/^https?:\/\//.test(t)?t:`http://localhost${_r("/",t)}`,n),r,i)};fire=()=>{addEventListener("fetch",(t)=>{t.respondWith(this.#r(t.request,t,void 0,t.request.method))})}};Dr();hi();var et=()=>Object.create(null);Dr();var Zu=[];function Lh(e,t){let n=this.buildAllMatchers(),r=(i,o)=>{let s=n[i]||n[Qe],a=s[2][o];if(a)return a;let c=o.match(s[0]);if(!c)return[[],Zu];let u=c.indexOf("",1);return[s[1][u],c]};return this.match=r,r(e,t)}var go="[^/]+",Sr=".*",Kn="(?:|/.*)",Er=Symbol(),Q2=new Set(".\\+*[^]$()");function bN(e,t){if(e.length===1)return t.length===1?e<t?-1:1:-1;if(t.length===1)return 1;if(e===Sr||e===Kn)return t===Kn?-1:1;else if(t===Sr||t===Kn)return-1;if(e===go)return 1;else if(t===go)return-1;return e.length===t.length?e<t?-1:1:t.length-e.length}var e1=class e{#e;#t;#n=et();insert(t,n,r,i,o){let s=this;for(let a=0,c=t.length;a<c;a++){let u=t[a],d=u.length===1?u==="*"?a===c-1?["","",Sr]:["","",go]:null:u==="/*"?["","",Kn]:u.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/),f;if(d){let p=d[1],h=d[2]||go;if(p&&d[2]){if(h===".*")throw Er;if(h=h.replace(/^\((?!\?:)(?=[^)]+\)$)/,"(?:"),/\((?!\?:)/.test(h))throw Er;if(h.length===1&&Q2.has(h))throw Er}if(f=s.#n[h],!f){if(h!==Sr&&h!==Kn){for(let g in s.#n)if((h.length>1||g.length>1)&&g!==Sr&&g!==Kn)throw Er}f=s.#n[h]=new e}if(p!=="")f.#t??=i.varIndex++,r.push([p,f.#t])}else if(f=s.#n[u],!f){for(let p in s.#n)if(p.length>1&&p!==Sr&&p!==Kn)throw Er;f=s.#n[u]=new e}s=f}if(s.#e!==void 0)throw Er;s.#e=o?-1:n}buildRegExpStr(){let n=Object.keys(this.#n).sort(bN).map((r)=>{let i=this.#n[r],o=i.buildRegExpStr();return o===""?"":(typeof i.#t==="number"?`(${r})@${i.#t}`:Q2.has(r)?`\\${r}`:r)+o}).filter(Boolean);if(typeof this.#e==="number"&&this.#e!==-1)n.unshift(`#${this.#e}`);if(n.length===0)return"";if(n.length===1)return n[0];return"(?:"+n.join("|")+")"}};var Bh=class{#e={varIndex:0};#t=new e1;#n=0;paths=et();insert(e,t){if(t){this.#t.insert(e.split(""),0,[],this.#e,!0);return}let n=[],r=[],i=e;for(let s=0;;){let a=!1;if(i=i.replace(/\{[^}]+\}/g,(c)=>{let u=`@\\${s}`;return r[s]=[u,c],s++,a=!0,u}),!a)break}let o=i.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let s=r.length-1;s>=0;s--){let[a]=r[s];for(let c=o.length-1;c>=0;c--)if(o[c].indexOf(a)!==-1){o[c]=o[c].replace(a,r[s][1]);break}}this.#t.insert(o,this.#n,n,this.#e,!1),this.paths[e]=[this.#n++,n]}buildRegExp(){let e=this.#t.buildRegExpStr();if(e==="")return[/^$/,[],[]];let t=0,n=[],r=[];return e=e.replace(/#(\d+)|@(\d+)|\.\*\$/g,(i,o,s)=>{if(o!==void 0)return n[++t]=Number(o),"$()";if(s!==void 0)return r[Number(s)]=++t,"";return""}),[new RegExp(`^${e}`),n,r]}};var t1=et();function n1(e){return t1[e]??=new RegExp(`^${e.replace(/\/:[^/{}]+(?:\{\[\^\/]\+})?(?=[/{]|$)|\/?\*$|([.\\+*[^\]$()?{}|])/g,(t,n)=>n?`\\${n}`:t==="/*"?Kn:t==="*"?Sr:`/:${go}`)}$`)}function Yu(e,t){for(let n of Object.keys(e).sort((r,i)=>i.length-r.length))if(n1(n).test(t))return[...e[n]];return}var Ju=class{name="RegExpRouter";#e;#t;#n;constructor(){this.#e={[Qe]:et()},this.#t={[Qe]:et()},this.#n={[Qe]:new Bh}}#o(e,t){try{this.#n[e].insert(t,!/\*|\/:/.test(t))}catch(n){throw n===Er?new Ku(t):n}}add(e,t,n){let r=this.#e,i=this.#t;if(!r)throw Error(Xu);if(!r[e]){this.#n[e]=new Bh;for(let a of[r,i]){a[e]=et();for(let c in a[Qe])a[e][c]=[...a[Qe][c]],this.#o(e,c)}}if(t==="/*")t="*";let o=e===Qe?Object.keys(r):[e];if(/\*$/.test(t)){let a=n1(t);for(let c of o)if(!r[c][t])this.#o(c,t),r[c][t]=Yu(r[c],t)||Yu(r[Qe],t)||[];for(let c of[r,i])for(let u of o)for(let d in c[u])a.test(d)&&c[u][d].push([n,t]);return}let s=zu(t)||[t];for(let a of s)for(let c of o){if(!i[c][a])this.#o(c,a),i[c][a]=Yu(r[c],a)||Yu(r[Qe],a)||[];i[c][a].push([n,a])}}match=Lh;buildAllMatchers(){let e=et();for(let t of Object.keys(this.#t))e[t]=this.#i(t);return this.#e=this.#t=this.#n=void 0,t1=et(),e}#i(e){let t=this.#e[e],n=this.#t[e],r=this.#n[e],i=et(),o=[],[s,a,c]=r.buildRegExp();for(let u of[t,n])for(let d in u){let f=u[d],p=r.paths[d];if(!p){i[d]=[f.map(([h])=>[h,et()]),Zu];continue}o[p[0]]=f.map(([h,g])=>[h,r.paths[g][1].reduceRight((b,[v],y)=>(b[v]=c[p[1][y][1]],b),et())])}return[s,a.map((u)=>o[u]),i]}};Dr();Dr();var Wh=class{name="SmartRouter";#e=[];#t=[];constructor(e){this.#e=e.routers}add(e,t,n){if(!this.#t)throw Error(Xu);this.#t.push([e,t,n])}match(e,t){if(!this.#t)throw Error("Fatal error");let n=this.#e,r=this.#t,i=n.length,o=0,s;for(;o<i;o++){let a=n[o];try{for(let c=0,u=r.length;c<u;c++)a.add(...r[c]);s=a.match(e,t)}catch(c){if(c instanceof Ku)continue;throw c}this.match=a.match.bind(a),this.#e=[a],this.#t=void 0;break}if(o===i)throw Error("Fatal error");return this.name=`SmartRouter + ${this.activeRouter.name}`,s}get activeRouter(){if(this.#t||this.#e.length!==1)throw Error("No active router has been determined yet.");return this.#e[0]}};hi();Dr();hi();var jh=et(),vN=0,r1=class e{#e=[];#t=et();#n=[];#o;#i=jh;insert(t,n,r){let i=this,o=L2(n),s=new Set,a=0;for(let c of o){let u=o[++a],d=B2(c,u)||(u===void 0&&c&&c.indexOf("*")===c.length-1?c:null),f=Array.isArray(d),p=f?d[0]:d||c,h=i.#t[p]||=new e;if(d&&!h.#o)h.#o=d,i.#n.push(h);if(i=h,f)s.add(d[1])}i.#e.push({[t]:{handler:r,possibleKeys:[...s],score:++vN}})}#r(t,n,r,i,o){for(let s=0,a=n.#e.length;s<a;s++){let c=n.#e[s],u=c[r]||c[Qe];if(u){u.params=et(),t.push(u);for(let d=0,f=u.possibleKeys.length;d<f;d++){let p=u.possibleKeys[d];u.params[p]=o?.[p]&&!d?o[p]:i[p]??o?.[p]}}}}search(t,n){let r=[];this.#i=jh;let o=[this],s=Uh(n),a=[],c=s.length,u=null;for(let d=0;d<c;d++){let f=s[d],p=d===c-1,h=[];for(let b=0,v=o.length;b<v;b++){let y=o[b],x=y.#t[f];if(x)if(x.#i=y.#i,p){if(x.#t["*"])this.#r(r,x.#t["*"],t,y.#i);this.#r(r,x,t,y.#i)}else h.push(x);for(let m of y.#n){let w=m.#o,D=y.#i===jh?{}:{...y.#i};if(typeof w==="string"){if(w==="*"||f.startsWith(w.slice(0,-1))){if(this.#r(r,m,t,y.#i),w==="*")m.#i=D,h.push(m)}continue}let[,T,_]=w;if(!f&&_===!0)continue;if(_!==!0){if(!u){u=[];let M=n[0]==="/"?1:0;for(let P=0;P<c;P++)u[P]=M,M+=s[P].length+1}let A=n.slice(u[d]),S=_.exec(A);if(S){if(D[T]=S[0],this.#r(r,m,t,y.#i,D),S[0].length===A.length&&m.#t["*"])this.#r(r,m.#t["*"],t,y.#i,D);for(let M in m.#t){m.#i=D;let P=S[0].match(/\//g)?.length??0;(a[P]||=[]).push(m);break}continue}}if(_===!0||_.test(f))if(D[T]=f,p){if(this.#r(r,m,t,D,y.#i),m.#t["*"])this.#r(r,m.#t["*"],t,D,y.#i)}else m.#i=D,h.push(m)}}let g=a.shift();o=g?h.concat(g):h}if(r[1])r.sort((d,f)=>d.score-f.score);return[r.map(({handler:d,params:f})=>[d,f])]}};var qh=class{name="TrieRouter";#e=new r1;add(e,t,n){for(let r of zu(t)||[t])this.#e.insert(e,r,n)}match(e,t){return this.#e.search(e,t)}};var $h=class extends J2{constructor(e={}){super(e);this.router=e.router??new Wh({routers:[new Ju,new qh]})}};function Hh(){let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}import{execFile as xN}from"node:child_process";import mo from"node:path";import{promisify as wN}from"node:util";var ca=wN(xN),Qu=1e4,i1=120000,ua=8388608;async function _t(e,t,n=ua,r=Qu){let{stdout:i}=await ca("git",["-C",e,...t],{timeout:r,maxBuffer:n,env:{...process.env,LC_ALL:"C"}});return i}async function kt(e){try{return(await _t(e,["rev-parse","--show-toplevel"])).trim()||null}catch{return null}}function gi(e,t){let n=mo.relative(mo.resolve(e),mo.resolve(t));return n===""||!n.startsWith(`..${mo.sep}`)&&n!==".."&&!mo.isAbsolute(n)}function Tr(e){return e.split(mo.sep).join("/")}function el(e){return e.includes(0)}import{lstat as RN,readFile as FN}from"node:fs/promises";import d1 from"node:path";var mi=262144,o1=10485760,s1=10485760,_N={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",bmp:"image/bmp",ico:"image/x-icon",avif:"image/avif"},DN={mp3:"audio/mpeg",wav:"audio/wav",ogg:"audio/ogg",oga:"audio/ogg",opus:"audio/ogg",m4a:"audio/mp4",aac:"audio/aac",flac:"audio/flac",weba:"audio/webm",webm:"audio/webm"},EN={pdf:"application/pdf",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};function SN(e){return e.replace(/\\/g,"/").split("/").pop()??""}function yo(e){return SN(e).toLowerCase().split(".").pop()??""}function tl(e){return _N[yo(e)]??null}function nl(e){return DN[yo(e)]??null}function rl(e){return EN[yo(e)]??null}function a1(e){let t=yo(e);if(t==="pdf"||t==="docx")return t;return null}function TN(e,t){return e==="R"||e==="C"||t==="R"||t==="C"}function c1(e){let t=e.split("\x00"),n=[];for(let r=0;r<t.length;r++){let i=t[r];if(!i||i.length<4||i[2]!==" ")continue;let o=i[0],s=i[1],a={path:i.slice(3),indexStatus:o,worktreeStatus:s};if(TN(o,s))a.originalPath=t[++r]||void 0;n.push(a)}return n}var CN=new Set(["DD","AU","UD","UA","DU","AA","UU"]);function il(e){let t=`${e.indexStatus}${e.worktreeStatus}`;if(t==="??")return{status:"untracked",code:"U"};if(CN.has(t)||t.includes("U"))return{status:"conflict",code:"C"};if(t.includes("D"))return{status:"deleted",code:"D"};if(t.includes("R")||t.includes("C"))return{status:"renamed",code:"R"};if(t.includes("A"))return{status:"added",code:"A"};return{status:"modified",code:"M"}}import{lstat as AN,readFile as kN}from"node:fs/promises";import l1 from"node:path";async function Gh(e){let t=await _t(e,["status","--porcelain=v1","-z","--untracked-files=all"]);return c1(t)}async function u1(e,t,n){let i=Tr(l1.relative(e,t))||".";try{let o=await _t(e,["diff","--no-color","--no-ext-diff","--numstat",...n,"--",i]),s=new Map;for(let a of o.split(/\r?\n/)){if(!a)continue;let[c,u,...d]=a.split("\t");if(d.length===0)continue;let f=Number(c),p=Number(u);if(!Number.isInteger(f)||!Number.isInteger(p))continue;let h=d.join("\t"),g=h.indexOf(" => ");if(g!==-1)h=h.slice(g+4);s.set(Tr(h.trim()),{additions:f,deletions:p})}return s}catch{return new Map}}async function UN(e){try{let t=await AN(e);if(!t.isFile()||t.size>mi)return 0;let n=await kN(e);if(el(n)||n.length===0)return 0;let r=n.toString("utf8");return r.endsWith(`
|
|
260
260
|
`)?r.split(`
|
|
261
261
|
`).length-1:r.split(`
|
|
262
262
|
`).length}catch{return 0}}async function ol(e){try{let n=(await _t(e,["rev-parse","--abbrev-ref","HEAD"])).trim()||null;if(!n||n==="HEAD")return{branch:n,upstream:null,ahead:0,behind:0,hasUpstream:!1};let r=null,i=!1;try{r=(await _t(e,["rev-parse","--abbrev-ref","--symbolic-full-name","@{u}"])).trim()||null,i=!!r}catch{return{branch:n,upstream:null,ahead:0,behind:0,hasUpstream:!1}}if(!i||!r)return{branch:n,upstream:null,ahead:0,behind:0,hasUpstream:!1};try{let s=(await _t(e,["rev-list","--left-right","--count","HEAD...@{u}"])).trim().split(/\s+/).map((u)=>Number(u)),a=Number.isInteger(s[0])?s[0]:0,c=Number.isInteger(s[1])?s[1]:0;return{branch:n,upstream:r,ahead:a,behind:c,hasUpstream:!0}}catch{return{branch:n,upstream:r,ahead:0,behind:0,hasUpstream:!0}}}catch{return{branch:null,upstream:null,ahead:0,behind:0,hasUpstream:!1}}}async function zh(e){let t=await kt(e);if(!t)return{isGitRepository:!1,repositoryRoot:null,files:[],additions:0,deletions:0,stagedFiles:[],stagedAdditions:0,stagedDeletions:0,branch:null,upstream:null,ahead:0,behind:0,hasUpstream:!1};let[n,r,i,o]=await Promise.all([Gh(t),u1(t,e,[]),u1(t,e,["--cached"]),ol(t)]),s=[],a=[];for(let g of n){let b=l1.resolve(t,g.path);if(!gi(e,b))continue;let v=il(g),y={filePath:b,...v,indexStatus:g.indexStatus,worktreeStatus:g.worktreeStatus},x=g.indexStatus!==" "&&g.indexStatus!=="?",m=g.worktreeStatus!==" ";if(x)a.push({...y,lineStats:i.get(g.path)});if(m)s.push({...y,lineStats:r.get(g.path)})}let c=await Promise.all(s.map(async(g)=>g.status==="untracked"?{filePath:g.filePath,additions:await UN(g.filePath)}:{filePath:g.filePath,additions:0})),u=new Map(c.map((g)=>[g.filePath,g.additions])),d=[...u.values()].reduce((g,b)=>g+b,0);for(let g of s){if(g.status!=="untracked")continue;let b=u.get(g.filePath)??0;if(b>0)g.lineStats={additions:b,deletions:0}}let f=(g)=>{let b=0,v=0;for(let y of g.values())b+=y.additions,v+=y.deletions;return{additions:b,deletions:v}},p=f(r),h=f(i);return{isGitRepository:!0,repositoryRoot:t,files:s,additions:p.additions+d,deletions:p.deletions,stagedFiles:a,stagedAdditions:h.additions,stagedDeletions:h.deletions,...o}}function f1(e,t){let n=t.endsWith(`
|
|
@@ -272,7 +272,7 @@ Expecting one of '${n.join("', '")}'`);let r=`${e}Help`;return this.on(r,(i)=>{l
|
|
|
272
272
|
`).trim();return console.log(`[git-pull] ok: ${i||"(empty output)"}`),{ok:!0,output:i}}catch(n){let r=n,i=[r.stdout,r.stderr].filter(Boolean).join(`
|
|
273
273
|
`).trim();return console.warn(`[git-pull] failed: ${i||r.message||String(n)}`),{ok:!1,error:i||(n instanceof Error?n.message:String(n))}}}async function Qh(e){let t=await kt(e);if(!t)return{ok:!1,error:"Not a git repository"};Je("git-fetch",`cwd=${e} repo=${t}`,"git fetch --all --prune");try{let{stdout:n,stderr:r}=await ca("git",["-C",t,"fetch","--all","--prune"],{timeout:Qu,maxBuffer:ua,env:{...process.env,LC_ALL:"C"}}),i=[n,r].filter(Boolean).join(`
|
|
274
274
|
`).trim();return Je("git-fetch","ok",i||"(empty output)"),{ok:!0,output:i}}catch(n){let r=n,i=[r.stdout,r.stderr].filter(Boolean).join(`
|
|
275
|
-
`).trim();return console.warn(`[git-fetch] failed: ${i||r.message||String(n)}`),{ok:!1,error:i||(n instanceof Error?n.message:String(n))}}}import{createAgentSessionFromServices as fB,createAgentSessionServices as pB,createCodemodeExtension as hB,createMcpExtension as gB,createToolSearchExtension as mB,getAgentDir as yB,initTheme as bB,SessionManager as c_}from"@earendil-works/pi-coding-agent";import{resolveModelScopeWithDiagnostics as ON}from"@earendil-works/pi-coding-agent";function al(e,t){return e.provider===t.provider&&e.id===t.modelId}function IN(e,t){let n=[],r=!1;for(let i of e){let o=i.indexOf("/");if(o===-1){r=!0,n.push(i);continue}let s=i.slice(0,o).trim().toLowerCase();if(!s||/[*?[]/.test(s)){r=!0,n.push(i);continue}if(t.has(s))n.push(i)}return{kept:n,globalScope:r}}async function cl(e,t){let n=(t??[]).map((g)=>g.trim()).filter(Boolean);if(n.length===0)return{visible:await e.getAvailable(),scopedModels:[],thinkingLevelPins:{},warnings:[]};let r=await e.getAvailable(),i=new Set(r.map((g)=>g.provider.toLowerCase())),{kept:o,globalScope:s}=IN(n,i);if(o.length===0)return{visible:r,scopedModels:[],thinkingLevelPins:{},warnings:[]};let a=new Set;for(let g of o){let b=g.indexOf("/");if(b!==-1)a.add(g.slice(0,b).trim().toLowerCase())}let c=new Set;if(!s){for(let g of r)if(!a.has(g.provider.toLowerCase()))c.add(g.provider)}let u=[...o,...[...c].map((g)=>`${g}/**`)],{scopedModels:d,diagnostics:f}=await ON(u,e),p=f.map((g)=>g.message);if(d.length===0)return{visible:await e.getAvailable(),scopedModels:[],thinkingLevelPins:{},warnings:p};let h={};for(let g of d)if(g.thinkingLevel)h[`${g.model.provider}/${g.model.id}`]=g.thinkingLevel;return{visible:d.map((g)=>g.model),scopedModels:d,thinkingLevelPins:h,warnings:p}}function MN(e,t){return e.scopedModels.find((n)=>n.model===t||al(n.model,{provider:t.provider,modelId:t.id}))}function NN(e,t){if(!t)return;return e.scopedModels.find((n)=>al(n.model,t))}function LN(e,t,n,r){let i=t?MN(e,t):NN(e,n)??e.scopedModels[0],o=!t&&!i&&n?e.visible.find((c)=>al(c,n)):void 0,s=t??i?.model??o,a=r??i?.thinkingLevel;return{...s?{model:s}:{},...a?{thinkingLevel:a}:{}}}function ul(e,t={}){let{requestedModel:n,defaultModel:r,thinkingLevel:i}=t,o=n?e.visible.find((a)=>al(a,n)):void 0;if(n&&!o)throw Error(`Model is not available in the enabled scope: ${n.provider}/${n.modelId}`);return{...LN(e,o,r,i),scopedModels:[...e.scopedModels]}}import{existsSync as wL}from"node:fs";import{join as _L,resolve as DL}from"node:path";import{SettingsManager as EL}from"@earendil-works/pi-coding-agent";import{open as hL}from"node:fs/promises";import{getAgentDir as
|
|
275
|
+
`).trim();return console.warn(`[git-fetch] failed: ${i||r.message||String(n)}`),{ok:!1,error:i||(n instanceof Error?n.message:String(n))}}}import{createAgentSessionFromServices as fB,createAgentSessionServices as pB,createCodemodeExtension as hB,createMcpExtension as gB,createToolSearchExtension as mB,getAgentDir as yB,initTheme as bB,SessionManager as c_}from"@earendil-works/pi-coding-agent";import{resolveModelScopeWithDiagnostics as ON}from"@earendil-works/pi-coding-agent";function al(e,t){return e.provider===t.provider&&e.id===t.modelId}function IN(e,t){let n=[],r=!1;for(let i of e){let o=i.indexOf("/");if(o===-1){r=!0,n.push(i);continue}let s=i.slice(0,o).trim().toLowerCase();if(!s||/[*?[]/.test(s)){r=!0,n.push(i);continue}if(t.has(s))n.push(i)}return{kept:n,globalScope:r}}async function cl(e,t){let n=(t??[]).map((g)=>g.trim()).filter(Boolean);if(n.length===0)return{visible:await e.getAvailable(),scopedModels:[],thinkingLevelPins:{},warnings:[]};let r=await e.getAvailable(),i=new Set(r.map((g)=>g.provider.toLowerCase())),{kept:o,globalScope:s}=IN(n,i);if(o.length===0)return{visible:r,scopedModels:[],thinkingLevelPins:{},warnings:[]};let a=new Set;for(let g of o){let b=g.indexOf("/");if(b!==-1)a.add(g.slice(0,b).trim().toLowerCase())}let c=new Set;if(!s){for(let g of r)if(!a.has(g.provider.toLowerCase()))c.add(g.provider)}let u=[...o,...[...c].map((g)=>`${g}/**`)],{scopedModels:d,diagnostics:f}=await ON(u,e),p=f.map((g)=>g.message);if(d.length===0)return{visible:await e.getAvailable(),scopedModels:[],thinkingLevelPins:{},warnings:p};let h={};for(let g of d)if(g.thinkingLevel)h[`${g.model.provider}/${g.model.id}`]=g.thinkingLevel;return{visible:d.map((g)=>g.model),scopedModels:d,thinkingLevelPins:h,warnings:p}}function MN(e,t){return e.scopedModels.find((n)=>n.model===t||al(n.model,{provider:t.provider,modelId:t.id}))}function NN(e,t){if(!t)return;return e.scopedModels.find((n)=>al(n.model,t))}function LN(e,t,n,r){let i=t?MN(e,t):NN(e,n)??e.scopedModels[0],o=!t&&!i&&n?e.visible.find((c)=>al(c,n)):void 0,s=t??i?.model??o,a=r??i?.thinkingLevel;return{...s?{model:s}:{},...a?{thinkingLevel:a}:{}}}function ul(e,t={}){let{requestedModel:n,defaultModel:r,thinkingLevel:i}=t,o=n?e.visible.find((a)=>al(a,n)):void 0;if(n&&!o)throw Error(`Model is not available in the enabled scope: ${n.provider}/${n.modelId}`);return{...LN(e,o,r,i),scopedModels:[...e.scopedModels]}}import{existsSync as wL}from"node:fs";import{join as _L,resolve as DL}from"node:path";import{SettingsManager as EL}from"@earendil-works/pi-coding-agent";import{open as hL}from"node:fs/promises";import{getAgentDir as Rye,buildContextEntries as gL,buildSessionContext as mL,SessionManager as yL}from"@earendil-works/pi-coding-agent";function BN(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function WN(e){if(!BN(e)||e.type!=="toolCall")return null;return{type:"toolCall",toolCallId:typeof e.toolCallId==="string"?e.toolCallId:typeof e.id==="string"?e.id:"",toolName:typeof e.toolName==="string"?e.toolName:typeof e.name==="string"?e.name:"",input:typeof e.input==="object"&&e.input!==null&&!Array.isArray(e.input)?e.input:typeof e.arguments==="object"&&e.arguments!==null&&!Array.isArray(e.arguments)?e.arguments:{}}}function eg(e){if(e.role!=="assistant")return e;let t=e.content;if(!Array.isArray(t))return e;let n=t.map((r)=>WN(r)??r);return{...e,content:n}}import{normalize as jN}from"node:path";import h1 from"node:path";function Ut(e,t=process.platform){let n=t==="win32"?h1.win32.normalize(e):h1.posix.normalize(e);return t==="win32"?n.toLowerCase():n}var g1=30000;function qe(){globalThis.__piSessionListGeneration=(globalThis.__piSessionListGeneration??0)+1,globalThis.__piSessionListCache=void 0}function bo(){if(!globalThis.__piSessionDirRegistry)globalThis.__piSessionDirRegistry=new Map;return globalThis.__piSessionDirRegistry}function Cr(){if(!globalThis.__piSessionPathCacheByDir)globalThis.__piSessionPathCacheByDir=new Map;return globalThis.__piSessionPathCacheByDir}function la(){if(!globalThis.__piSessionPathCache)globalThis.__piSessionPathCache=new Map;return globalThis.__piSessionPathCache}function da(){if(!globalThis.__piPathToSessionIdCache)globalThis.__piPathToSessionIdCache=new Map;return globalThis.__piPathToSessionIdCache}function Bt(e,t,n){let r=jN(t),i=Ut(r);if(n){let f=Cr().get(n);if(!f)f=new Map,Cr().set(n,f);f.set(e,r);return}let o=la(),s=da(),a=o.get(e),c=a?Ut(a):void 0,u=s.get(i),d=u?o.get(u):void 0;if(c&&c!==i&&s.get(c)===e)s.delete(c);if(u&&u!==e&&d&&Ut(d)===i)o.delete(u);o.set(e,r),s.set(i,e)}function tg(e,t){if(t){Cr().get(t)?.delete(e);return}let n=la(),r=da(),i=n.get(e);n.delete(e);let o=i?Ut(i):void 0;if(o&&r.get(o)===e)r.delete(o)}import{readdirSync as lL}from"node:fs";import{join as E1}from"node:path";import{open as QN,readdir as eL,readFile as tL}from"node:fs/promises";import{join as _1}from"node:path";import{getAgentDir as nL}from"@earendil-works/pi-coding-agent";import{execFile as qN}from"node:child_process";import{existsSync as dl,mkdirSync as $N,realpathSync as HN}from"node:fs";import{basename as GN,dirname as rg,join as y1,resolve as zN}from"node:path";import{promisify as VN}from"node:util";function Xe(e){let t=e.replace(/\\/g,"/");return/^[a-zA-Z]:$/.test(t)?`${t}/`:t}function ng(){if(!globalThis.__piAdditionalAllowedRoots)globalThis.__piAdditionalAllowedRoots=new Set;return globalThis.__piAdditionalAllowedRoots}function Dt(e){if(!e)return;let t=Xe(e);ng().add(t),globalThis.__piAllowedRootsCache?.roots.add(t)}var XN=VN(qN),m1=60000;function KN(){if(!globalThis.__piProjectCache)globalThis.__piProjectCache=new Map;return globalThis.__piProjectCache}function b1(){globalThis.__piProjectCache?.clear()}async function yi(e,t){let{stdout:n}=await XN("git",["-C",e,...t],{timeout:1e4,maxBuffer:1048576,env:{...process.env,LC_ALL:"C"}});return n.trim()}function ll(e){let t=e.replace(/\\/g,"/");if(process.platform==="win32")t=t.replace(/^\/([a-zA-Z])\/(?=.)/,(n,r)=>`${r.toUpperCase()}:/`),t=t.toLowerCase();return t}function ZN(e){let t=rg(e);if(!t.endsWith("-worktrees"))return null;let n=t.slice(0,-10);if(!n||!dl(y1(n,".git")))return null;return{projectRoot:n,branch:GN(e),isWorktree:!0,isTopLevel:!0}}async function fl(e){let t=KN(),n=t.get(e);if(n&&n.expiresAt>Date.now())return n.info;let r;try{if(!dl(e))return r=ZN(e)??{projectRoot:e,branch:null,isWorktree:!1,isTopLevel:!1},t.set(e,{info:r,expiresAt:Date.now()+m1}),r;let i=await yi(e,["rev-parse","--path-format=absolute","--git-common-dir","--git-dir","--show-toplevel","--abbrev-ref","HEAD"]),[o,s,a,c]=i.split(`
|
|
276
276
|
`).map((p)=>p.trim()),u=e;try{u=HN(e)}catch{}let d=ll(a)===ll(u),f=s!==o&&d;r={projectRoot:f?rg(o):e,branch:c&&c!=="HEAD"?c:null,isWorktree:f,isTopLevel:d}}catch{r={projectRoot:e,branch:null,isWorktree:!1,isTopLevel:!1}}return t.set(e,{info:r,expiresAt:Date.now()+m1}),r}async function YN(e){let t=await yi(e,["rev-parse","--path-format=absolute","--git-common-dir"]);return rg(t)}async function ig(e){let t=await yi(e,["worktree","list","--porcelain"]),n=[],r=null,i=()=>{if(r?.path){if(!r.prunable&&dl(r.path))n.push({path:r.path,branch:r.branch??null,isMain:n.length===0})}r=null};for(let o of t.split(`
|
|
277
277
|
`))if(o.startsWith("worktree "))i(),r={path:o.slice(9).trim()};else if(o.startsWith("branch ")&&r)r.branch=o.slice(7).trim().replace(/^refs\/heads\//,"");else if(o.startsWith("prunable")&&r)r.prunable=!0;else if(o.trim()==="")i();return i(),n}function JN(e){return e.replace(/[/\\:*?"<>|\s]+/g,"-").replace(/^-+|-+$/g,"")}async function v1(e,t){let n=t.trim();if(!n)throw Error("Branch name is required");let r=JN(n);if(!r)throw Error(`Invalid branch name: ${t}`);let i=await YN(e),o=`${zN(i)}-worktrees`,s=y1(o,r);if(dl(s))throw Error(`Directory already exists: ${s}`);$N(o,{recursive:!0});let a=!1;try{await yi(i,["rev-parse","--verify","--quiet",`refs/heads/${n}`]),a=!0}catch{a=!1}try{if(a)await yi(i,["worktree","add","--",s,n]);else await yi(i,["worktree","add","-b",n,"--",s])}catch(c){throw Error(w1(c),{cause:c})}return Dt(s),b1(),{path:s,branch:n}}async function x1(e,t,n=!1){let i=(await ig(e)).find((o)=>ll(o.path)===ll(t));if(!i)throw Error(`Not a worktree of this repository: ${t}`);if(i.isMain)throw Error("Cannot remove the main worktree");try{await yi(e,["worktree","remove",...n?["--force"]:[],t])}catch(o){throw Error(w1(o),{cause:o})}b1()}function w1(e){let t=e.stderr;if(typeof t==="string"&&t.trim())return t.trim();return e instanceof Error?e.message:String(e)}async function rL(e,t){let n=new Map;for(let o of e)n.set(Ut(o.path),o.id);let r=[...new Set(e.map((o)=>o.cwd).filter(Boolean))],i=new Map;return await Promise.all(r.map(async(o)=>{i.set(o,await fl(o))})),e.map((o)=>{Bt(o.id,o.path,t);let s=o.cwd?i.get(o.cwd):void 0;return{path:o.path,id:o.id,cwd:o.cwd,name:o.name,created:o.created instanceof Date?o.created.toISOString():String(o.created),modified:o.modified instanceof Date?o.modified.toISOString():String(o.modified),messageCount:o.messageCount,firstMessage:o.firstMessage||"(no messages)",parentSessionId:o.parentSessionPath?n.get(Ut(o.parentSessionPath)):void 0,projectRoot:s?.projectRoot??o.cwd,...s?.isWorktree&&s.branch?{worktreeBranch:s.branch}:{}}})}async function D1(){let e=await fa(_1(nL(),"sessions"));for(let t of e)Bt(t.id,t.path);return e}async function iL(e){let t=[],n=async(r)=>{let i;try{i=await eL(r,{withFileTypes:!0})}catch{return}for(let o of i){let s=_1(r,o.name);if(o.isDirectory())await n(s);else if(o.name.endsWith(".jsonl"))t.push(s)}};try{await n(e)}catch{}return t}function oL(e){if(!Array.isArray(e.content))return"";return e.content.filter((t)=>!!t&&typeof t==="object"&&t.type==="text"&&typeof t.text==="string").map((t)=>t.text).join(" ")}function sL(e){let t=[];for(let n of e.split(`
|
|
278
278
|
`)){let r=n.trim();if(!r)continue;try{let i=JSON.parse(r);if(i&&typeof i==="object")t.push(i)}catch{}}return t}function aL(e){let t=0,n="",r,i;for(let o of e){let s=o;if(s.type==="session_info"){let d=s.name,f=typeof d==="string"?d.trim():"";if(f)r=f;continue}if(s.type!=="message")continue;t++;let a=s.message;if(!a)continue;let c=a.role??"";if(!["user","assistant"].includes(c))continue;let u=typeof a.timestamp==="number"?a.timestamp:new Date(s.timestamp).getTime();if(Number.isFinite(u))i=Math.max(i??0,u);if(c==="user"&&!n){let d=oL(a);if(d)n=d}}return{messageCount:t,firstMessage:n,name:r,lastActivityTime:i}}async function og(e){let t=await tL(e,"utf8"),n=sL(t);if(n.length===0)throw Error("file contains no session entries");let r=n[0];if(r?.type!=="session"||typeof r.id!=="string")throw Error("missing session header (first line must be a session entry)");let i=new Date(r.timestamp);if(Number.isNaN(i.getTime()))throw Error(`invalid session header timestamp: ${JSON.stringify(r.timestamp)}`);let{messageCount:o,firstMessage:s,name:a,lastActivityTime:c}=aL(n);return{path:e,id:r.id,cwd:typeof r.cwd==="string"?r.cwd:"",name:a,parentSessionPath:typeof r.parentSession==="string"?r.parentSession:void 0,created:i,modified:typeof c==="number"&&c>0?new Date(c):i,messageCount:o,firstMessage:s||"(no messages)",allMessagesText:""}}function cL(e,t){if(e.error)return t.error?0:1;if(t.error)return-1;return e.modified<t.modified?1:e.modified>t.modified?-1:0}async function uL(e){try{let t=await QN(e,"r");try{let n=Buffer.alloc(8192),{bytesRead:r}=await t.read(n,0,n.length,null),i=n.subarray(0,r).toString("utf8").split(`
|
|
@@ -358,17 +358,17 @@ ${a}`,t.length>Px)break}catch{t+=`
|
|
|
358
358
|
|
|
359
359
|
git diff:
|
|
360
360
|
`;async function Rse({model:e,diff:t,requestedMaxTokens:n,provider:r,modelId:i,apiKey:o,headers:s}){let a=Tse(t,e,n),c=e,u=Pu(c);if(c.reasoning)c.thinkingLevelMap=fh(c.thinkingLevelMap);let d=e.contextWindow,f=ze("generate-commit");console.log(`[generate-commit] start provider=${r} model=${i} maxTokens=${n} ctx=${d??"unknown"} diffLen=${t.length} promptLen=${a.length} reasoningHint=${u??"<omitted>"}`),f("start",`provider=${r} model=${i} maxTokens=${n} ctx=${d??"unknown"} diffLen=${t.length} promptLen=${a.length} reasoningHint=${u??"<omitted>"}`),f("diff-preview",a.slice(0,50).replace(/\n/g,"\\n"));let p=new AbortController,h=setTimeout(()=>p.abort(),uO);try{let g={apiKey:o,headers:s,maxTokens:n,timeoutMs:uO,maxRetries:0,cacheRetention:"none",signal:p.signal};if(u!==void 0&&u!=="off")g.reasoning=u;let b=await xse(e,{messages:[{role:"user",content:Use+a,timestamp:Date.now()}]},g),v=b.stopReason??"unknown";if(Cse(b.stopReason)){let x=b.errorMessage??(p.signal.aborted?"Generation timed out":"Model error");return console.error(`[generate-commit] failed provider=${r} model=${i} stopReason=${b.stopReason} error=${x}`),f("failed",`provider=${r} model=${i} stopReason=${b.stopReason} error=${x.slice(0,300)}`),Response.json({error:x},{status:500})}let y=kse(b);if(!y){let x=Ase(b),m=`Model returned empty message (stopReason=${v})${x}`;return console.warn(`[generate-commit] empty text provider=${r} model=${i} maxTokens=${n} stopReason=${v} content=${JSON.stringify(b.content).slice(0,600)} error=${b.errorMessage??""} frontendError=${m}`),f("empty",m),Response.json({error:m},{status:500})}return f("success",`provider=${r} model=${i} stopReason=${v} len=${y.length} preview=${y.slice(0,50).replace(/\n/g,"\\n")}`),console.log(`[generate-commit] success provider=${r} model=${i} stopReason=${v} len=${y.length}`),Response.json({message:y})}finally{clearTimeout(h)}}async function Fse(e){let t="",n="";try{let r=await e.json(),i=await Ln(r.cwd);if(!i.ok)return Response.json({error:i.error},{status:i.status});let o=lO(r.provider),s=lO(r.modelId);if(t=o,n=s,!o||!s)return Response.json({error:"provider and modelId are required"},{status:400});let a=Sse(r.maxTokens),c=await Ese(i.cwd);if(!c)return Response.json({error:"No changes to generate commit message"},{status:400});let u=await wse.create(),d=u.getError();if(d)return Response.json({error:d},{status:500});let f=u.getModel(o,s);if(!f)return Response.json({error:`Model not found: ${o}/${s}`},{status:404});let p=await u.getAuth(f);if(!p?.auth.apiKey)return Response.json({error:`No API key for provider "${o}"`},{status:400});return Rse({model:f,diff:c,requestedMaxTokens:a,provider:o,modelId:s,apiKey:p.auth.apiKey,headers:p.auth.headers})}catch(r){let i=r instanceof Error?r.message:String(r);return console.error(`[generate-commit] exception provider=${t||"unknown"} model=${n||"unknown"} error=${i.slice(0,800)}`),Response.json({error:i},{status:500})}}var Mx={};Z(Mx,{POST:()=>Pse});async function Pse(e){try{let t=await e.json(),n=await Ln(t.cwd);if(!n.ok)return Response.json({error:n.error},{status:n.status});let r=await Jh(n.cwd);if(!r.ok)return Response.json({error:r.error},{status:400});return Response.json({ok:!0,output:r.output})}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var Nx={};Z(Nx,{POST:()=>Ose});async function Ose(e){try{let t=await e.json(),n=await Ln(t.cwd);if(!n.ok)return Response.json({error:n.error},{status:n.status});let r=await Yh(n.cwd);if(!r.ok)return Response.json({error:r.error},{status:400});return Response.json({ok:!0,output:r.output})}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var Lx={};Z(Lx,{POST:()=>Nse});import Ise from"node:fs";async function Mse(e,t){if(!e||!e.startsWith("/")&&!Ie(e))return Response.json({error:"cwd must be an absolute path"},{status:400});if(!t||!t.startsWith("/")&&!Ie(t))return Response.json({error:"filePath must be an absolute path"},{status:400});let n=await oe();if(!Re(e,n))return Response.json({error:"Access denied"},{status:403});let r;try{r=Ise.statSync(e)}catch{return Response.json({error:"Directory not found"},{status:404})}if(!r.isDirectory())return Response.json({error:"Not a directory"},{status:400});if(!ce(e,n))return Response.json({error:"Access denied"},{status:403});return null}async function Nse(e){try{let t=await e.json(),n=t.cwd?.trim()??"",r=t.filePath?.trim()??"",i=t.action==="unstage"?"unstage":"stage",o=await Mse(n,r);if(o)return o;let s=i==="unstage"?await Kh(n,r):await Xh(n,r);if(!s.ok)return Response.json({error:s.error},{status:400});return Response.json({ok:!0})}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var Bx={};Z(Bx,{GET:()=>Bse});import Lse from"node:fs";async function Bse(e){try{let t=new URL(e.url).searchParams.get("cwd")?.trim()??"";if(!t||!t.startsWith("/")&&!Ie(t))return Response.json({error:"cwd must be an absolute path"},{status:400});let n=await oe();if(!Re(t,n))return Response.json({error:"Access denied"},{status:403});let r;try{r=Lse.statSync(t)}catch{return Response.json({error:"Directory not found"},{status:404})}if(!r.isDirectory())return Response.json({error:"Not a directory"},{status:400});if(!ce(t,n))return Response.json({error:"Access denied"},{status:403});return Response.json(await zh(t))}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var Wx={};Z(Wx,{GET:()=>jse});import{homedir as Wse}from"node:os";async function jse(){return Response.json({home:Wse()})}var Gx={};Z(Gx,{GET:()=>qse,MCP_EXPOSURES:()=>mp,PUT:()=>$se,parseMcpFile:()=>$x,removeServer:()=>mO,setAutoEnableCodemode:()=>bO,setServerExposure:()=>yO,upsertServer:()=>gO});import{existsSync as Hx}from"node:fs";import{join as ou}from"node:path";Uo();import{getAgentDir as dO}from"@earendil-works/pi-coding-agent";function Is(e){return e?Vt("settings.json",e)??dO():dO()}function fO(e){let t=(e.getGlobalSettings().extensions??[]).map((r)=>({pattern:r,scope:"global"})),n=(e.getProjectSettings().extensions??[]).map((r)=>({pattern:r,scope:"project"}));return[...t,...n]}function jx(e,t,n){if(t==="project")e.setProjectExtensionPaths(n);else e.setExtensionPaths(n)}function qx(e,t){return(t==="project"?e.getProjectSettings():e.getGlobalSettings()).extensions??[]}Do();function $x(e,t){if(!Hx(e))return[];let n=ft(e);if(!n)return[{name:"(file)",source:t,transport:"stdio",target:e,enabled:!1,exposure:"unknown",toolExposureCount:0,hasOAuth:!1,error:"invalid JSON"}];let r=n.mcpServers??{};return Object.entries(r).map(([i,o])=>{let s=o.url?"http":"stdio",a=s==="http"?o.url:[o.command,...o.args??[]].filter(Boolean).join(" ");return{name:i,source:t,transport:s,target:a,enabled:o.enabled!==!1,exposure:typeof o.exposure==="string"?o.exposure:"codemode",toolExposureCount:o.toolExposure?Object.keys(o.toolExposure).length:0,timeout:typeof o.timeout==="number"?o.timeout:void 0,hasOAuth:Boolean(o.oauth),...o.command!==void 0?{command:o.command}:{},...o.args!==void 0?{args:o.args}:{},...o.url!==void 0?{url:o.url}:{},...o.env!==void 0?{env:o.env}:{},...o.headers!==void 0?{headers:o.headers}:{},...s==="stdio"&&!o.command?{error:"missing command"}:{},...s==="http"&&!o.url?{error:"missing url"}:{}}})}var mp=["direct","model-only","codemode","deferred","hidden"];function gO(e,t,n){if(n.transport==="stdio"&&!n.command)throw Error("stdio server requires command");if(n.transport==="http"&&!n.url)throw Error("http server requires url");let r={};if(Hx(e))r=ft(e)??{};let i=r.mcpServers?.[t],o={...n.transport==="stdio"?{command:n.command,...n.args?.length?{args:n.args}:{}}:{url:n.url},...n.env&&Object.keys(n.env).length>0?{env:n.env}:{},...n.headers&&Object.keys(n.headers).length>0?{headers:n.headers}:{},...n.timeout!==void 0?{timeout:n.timeout}:{},...n.enabled?{}:{enabled:!1},...n.exposure?{exposure:n.exposure}:{},...i?.oauth!==void 0?{oauth:i.oauth}:{}};r.mcpServers={...r.mcpServers??{},[t]:o},xn(e,r)}function mO(e,t){let n=ft(e)??{};if(!n.mcpServers||!(t in n.mcpServers))throw Error(`server "${t}" not found in ${e}`);delete n.mcpServers?.[t],xn(e,n)}function yO(e,t,n){let r=ft(e)??{},i=r.mcpServers?.[t];if(!i)throw Error(`server "${t}" not found in ${e}`);i.exposure=n,xn(e,r)}function bO(e,t){let n=ft(e)??{};n.autoEnableCodemode=t,xn(e,n)}async function qse(e){try{let n=new URL(e.url).searchParams.get("cwd")??process.cwd(),r=Is(ae(e)),i=Oe(n,r),o=ou(n,".pi","mcp.json"),s=i.trusted,a=ou(r,"mcp.json"),c=!0,u=ft(a);if(typeof u?.autoEnableCodemode==="boolean")c=u.autoEnableCodemode;let d=$x(a,"global"),f=s?$x(o,"project"):[],p=new Set(f.map((h)=>h.name));return Response.json({globalPath:a,autoEnableCodemode:c,projectPath:Hx(o)||s?o:null,projectTrusted:s,servers:[...d.filter((h)=>!p.has(h.name)),...f]})}catch(t){return Response.json({error:String(t)},{status:500})}}function pO(e){if(typeof e!=="string")return null;let t=e==="codemode-deferred"?"codemode":e;return mp.includes(t)?t:null}async function $se(e){try{let t=await e.json(),n=Is(ae(e)),r=()=>{if(t.source==="project"){let o=t.cwd??process.cwd();if(!Oe(o,n).trusted)return{ok:!1,res:Response.json({error:"project not trusted"},{status:403})};return{ok:!0,path:ou(o,".pi","mcp.json")}}return{ok:!0,path:ou(n,"mcp.json")}},i=()=>typeof t.name==="string"&&t.name.trim().length>0?t.name.trim():null;if(t.action==="auto-enable-codemode"){if(typeof t.enabled!=="boolean")return Response.json({error:"enabled must be a boolean"},{status:400});return bO(ou(n,"mcp.json"),t.enabled),Response.json({ok:!0})}if(t.action==="upsert-server"){let o=i();if(!o)return Response.json({error:"name is required"},{status:400});let s=t.transport==="http"?"http":"stdio",a=t.exposure===void 0?void 0:pO(t.exposure)??void 0;if(t.exposure!==void 0&&!a)return Response.json({error:`exposure must be one of: ${mp.join(", ")}`},{status:400});let c={transport:s,command:typeof t.command==="string"?t.command.trim():void 0,args:Array.isArray(t.args)&&t.args.every((d)=>typeof d==="string")?t.args:void 0,url:typeof t.url==="string"?t.url.trim():void 0,env:hO(t.env),headers:hO(t.headers),timeout:typeof t.timeout==="number"&&Number.isFinite(t.timeout)&&t.timeout>0?t.timeout:void 0,enabled:t.enabled!==!1,exposure:a},u=r();if(!u.ok)return u.res;try{gO(u.path,o,c)}catch(d){let f=d instanceof Error?d.message:String(d);return Response.json({error:f},{status:400})}return Response.json({ok:!0})}if(t.action==="remove-server"){let o=i();if(!o)return Response.json({error:"name is required"},{status:400});let s=r();if(!s.ok)return s.res;return mO(s.path,o),Response.json({ok:!0})}if(t.action==="set-exposure"){let o=pO(t.exposure);if(!o)return Response.json({error:`exposure must be one of: ${mp.join(", ")}`},{status:400});let s=i();if(!s)return Response.json({error:"name is required"},{status:400});let a=r();if(!a.ok)return a.res;return yO(a.path,s,o),Response.json({ok:!0})}return Response.json({error:"unknown action"},{status:400})}catch(t){let n=t instanceof Error?t.message:String(t);return Response.json({error:n},{status:n.includes("not found")?404:500})}}function hO(e){if(typeof e!=="object"||e===null||Array.isArray(e))return;let t=Object.entries(e).filter((n)=>typeof n[1]==="string");return t.length>0?Object.fromEntries(t):void 0}var zx={};Z(zx,{GET:()=>Qse,PUT:()=>eae});var Hse=ra;function Gse(e){return typeof e==="string"&&Hse.includes(e)}function Ms(e){if(!e||typeof e!=="object"||Array.isArray(e))return{};let t=e,n=(r)=>{let i=t[r];if(!i||typeof i!=="object"||Array.isArray(i))return;let o={};for(let[s,a]of Object.entries(i))if(Gse(a))o[s]=a;return Object.keys(o).length>0?o:void 0};return{models:n("models"),providers:n("providers")}}import{mkdirSync as zse,readFileSync as Vse,writeFileSync as Xse}from"node:fs";import{dirname as Kse,join as Zse}from"node:path";import{getAgentDir as Yse}from"@earendil-works/pi-coding-agent";var yp=new Map;function vO(e){return Zse(e??Yse(),"pi-web","model-thinking.json")}function xO(e){let t=e??"",n=yp.get(t);if(n!==void 0&&n!==null)return n;try{let r=Vse(vO(e),"utf8"),i=JSON.parse(r);return n=Ms(i),yp.set(t,n),n}catch{return n={},yp.set(t,n),n}}function Jse(e,t){try{let n=vO(t);zse(Kse(n),{recursive:!0});let r=Ms(e);Xse(n,`${JSON.stringify(r,null,2)}
|
|
361
|
-
`,"utf8"),yp.set(t??"",r)}catch{}}function wO(e,t){let n=Ms(e);return Jse(n,t),n}async function Qse(e){return Response.json(xO(ae(e)))}async function eae(e){try{let t=await e.json(),n=ae(e),r=Ms(t),i=wO(r,n);return Response.json(i)}catch{return Response.json({error:"invalid body"},{status:400})}}var Xx={};Z(Xx,{GET:()=>lae,loadModels:()=>oi});import{stat as tae}from"node:fs/promises";import{resolve as nae}from"node:path";import{getSupportedThinkingLevels as rae}from"@earendil-works/pi-ai";import{createAgentSessionServices as iae,getAgentDir as _O,resolveModelScopeWithDiagnostics as oae}from"@earendil-works/pi-coding-agent";var Vx=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function sae(e,t){return Vx.compare(e.name||e.id,t.name||t.id)||Vx.compare(e.provider,t.provider)||Vx.compare(e.id,t.id)}async function aae(e,t,n,r){let i=new Set,o=[],s=[],a=new Map;for(let c of await e.modelRuntime.getAvailable())a.set(`${c.provider}/${c.id}`,c);for(let c of t){if(n.has(c.toLowerCase()))continue;let d=(await Di(c)).map((f)=>Vg(c,f)).filter((f)=>f!==null);if(d.length===0)continue;i.add(c);for(let f of d)s.push(a.get(`${c}/${f.id}`)??f);for(let f of await dae(c,d,r))o.push(a.get(`${c}/${f.id}`)??f)}return{replacedProviders:i,extraModels:o,extraModelsForDefinitions:s}}function cae(e,t){return e.map((n)=>({id:n.id,name:n.name,provider:n.provider,reasoning:n.reasoning,input:[...n.input],contextWindow:n.contextWindow,isDefault:t?.provider===n.provider&&t?.modelId===n.id})).sort(sae)}function uae(e){let t=new Map,n={},r={};for(let i of e){let o=`${i.provider}/${i.id}`;if(t.set(o,i.name),n[o]=rae(i),i.thinkingLevelMap)r[o]=i.thinkingLevelMap}return{nameMap:t,thinkingLevels:n,thinkingLevelMaps:r}}async function oi(e){let t=[],n=null,r={},i=_O(),o=ho(e,i),s=await iae({cwd:e,agentDir:i,...o?{resourceLoaderReloadOptions:o}:{}}),a=s.modelRuntime.getError(),c=s.settingsManager,u=c.getEnabledModels(),d=await cl(s.modelRuntime,u),{visible:f,thinkingLevelPins:p,warnings:h}=d,g=await ko(),b=await Ao(),v=new Set,y=[],x=[],m=(u??[]).map((C)=>C.trim()).filter(Boolean);if(g.length>0)({replacedProviders:v,extraModels:y,extraModelsForDefinitions:x}=await aae(s,g,b,m));let w=[...f.filter((C)=>!v.has(C.provider)),...y],D=c.getDefaultProvider(),T=c.getDefaultModel(),_=ul(d,{...D&&T?{defaultModel:{provider:D,modelId:T}}:{}});if(_.model&&w.some((C)=>C.provider===_.model.provider&&C.id===_.model.id))n={provider:_.model.provider,modelId:_.model.id};t=cae(w,n);let{nameMap:A,thinkingLevels:S,thinkingLevelMaps:M}=uae(w),P=[...s.modelRuntime.getModels().filter((C)=>!v.has(C.provider)),...x];for(let C of P){let L=`${C.provider}/${C.id}`;r[L]={id:C.id,name:C.name,api:C.api,provider:C.provider,baseUrl:C.baseUrl,reasoning:C.reasoning,...C.thinkingLevelMap?{thinkingLevelMap:C.thinkingLevelMap}:{},input:[...C.input],cost:{input:C.cost.input,output:C.cost.output,cacheRead:C.cost.cacheRead,cacheWrite:C.cost.cacheWrite},contextWindow:C.contextWindow,maxTokens:C.maxTokens,...C.samplingParams?{samplingParams:C.samplingParams}:{},...C.headers?{headers:C.headers}:{},...C.compat?{compat:C.compat}:{}}}return r2({models:Object.fromEntries(A),modelList:t,defaultModel:n,thinkingLevels:S,thinkingLevelMaps:M,thinkingLevelPins:p,definitions:r,...h.length>0?{modelScopeWarnings:h}:{}},a)}async function lae(e){await vn();let t=new URL(e.url),n=t.searchParams.has("cwd"),r=n?t.searchParams.get("cwd"):_O(),i=nae(r),o;try{o=await tae(i)}catch{return Response.json({error:`Directory does not exist: ${i}`},{status:400})}if(!o.isDirectory())return Response.json({error:`Not a directory: ${i}`},{status:400});if(n){let s=await oe();if(!ce(i,s))return Response.json({error:"Access denied"},{status:403})}try{let a={...await wr(i,()=>oi(i))};return delete a.definitions,Response.json(a)}catch(s){return console.error("[api/models] failed to build model list:",s),Response.json({error:s instanceof Error?s.message:String(s)},{status:500})}}async function dae(e,t,n){if(n.length===0)return t;let r=[],i=!1;for(let u of n){let d=u.indexOf("/");if(d===-1){i=!0,r.push(u);continue}let f=u.slice(0,d).trim().toLowerCase();if(!f||/[*?[]/.test(f)){i=!0,r.push(u);continue}r.push(u)}let o=e.toLowerCase(),s=i?r:r.filter((u)=>u.slice(0,u.indexOf("/")).trim().toLowerCase()===o);if(!i&&s.length===0)return t;let a={getAvailable:async()=>t},{scopedModels:c}=await oae(s,a);return c.map((u)=>u.model)}var Qx={};Z(Qx,{GET:()=>Sae});var fae=new Set(["text","image"]);function vp(e){return typeof e==="string"&&e.trim()?e.trim():void 0}function bp(e){return typeof e==="number"&&Number.isFinite(e)&&e>=0?e:void 0}function DO(e){return typeof e==="number"&&Number.isFinite(e)&&e>0?e:void 0}function EO(e){return{input:e.input??0,output:e.output??0,cacheRead:e.cacheRead??0,cacheWrite:e.cacheWrite??0}}function pae(e){if(!je(e))return{};return{input:bp(e.input),output:bp(e.output),cacheRead:bp(e.cache_read),cacheWrite:bp(e.cache_write)}}function hae(e){if(!je(e)||!Array.isArray(e.input))return;let t=Array.from(new Set(e.input.filter((n)=>typeof n==="string").map((n)=>n.trim().toLocaleLowerCase()).filter((n)=>fae.has(n))));return t.length?t:void 0}function gae(e,t,n,r,i){if(!je(e))return;let o=vp(e.id)??t;if(!o)return;let s=vp(e.name)??o,a={key:`${n}/${o}`,providerId:n,providerName:r,id:o,name:s,cost:pae(e.cost)};if(i)a.providerBaseUrl=i;if(typeof e.reasoning==="boolean")a.reasoning=e.reasoning;let c=hae(e.modalities);if(c)a.input=c;if(je(e.limit)){let u=DO(e.limit.context),d=DO(e.limit.output);if(u!==void 0)a.contextWindow=u;if(d!==void 0)a.maxTokens=d}return a}function Kx(e){if(!je(e))return[];let t=[];for(let[n,r]of Object.entries(e)){if(!je(r)||!je(r.models))continue;let i=vp(r.name)??n,o=vp(r.api);for(let[s,a]of Object.entries(r.models)){let c=gae(a,s,n,i,o);if(c)t.push(c)}}return t}function xp(e){return e.cost.input!==void 0&&e.cost.output!==void 0}function su(e,t,n){if(e.length===0||t<=0)return;let r=new Map;for(let s of e){let a=n(s),c=r.get(a);if(c)c.count+=1;else r.set(a,{value:s,count:1})}let i=[...r.values()].sort((s,a)=>a.count-s.count),o=i[0];if(!o||o.count/t<0.6)return;if(i[1]?.count===o.count)return;return o.value}function SO(e){if(e.length===0)return;let t=new Map;for(let r of e)t.set(r,(t.get(r)??0)+1);let n=[...t.entries()].sort((r,i)=>i[1]-r[1]);if(!n[0]||n[1]?.[1]===n[0][1])return;return n[0][0]}function TO(e){return{name:e.name,reasoning:e.reasoning,input:e.input,contextWindow:e.contextWindow,maxTokens:e.maxTokens}}function CO(e){let t=e.length;return{name:su(e.map((n)=>n.name),t,(n)=>n.toLocaleLowerCase()),reasoning:su(e.flatMap((n)=>n.reasoning===void 0?[]:[n.reasoning]),t,String),input:su(e.flatMap((n)=>n.input?[n.input]:[]),t,(n)=>[...n].sort().join(",")),contextWindow:su(e.flatMap((n)=>n.contextWindow===void 0?[]:[n.contextWindow]),t,String),maxTokens:su(e.flatMap((n)=>n.maxTokens===void 0?[]:[n.maxTokens]),t,String)}}function Zx(e,t){return{status:"reliable",method:t,cost:e.cost,providerId:e.providerId,providerName:e.providerName,support:1,total:1}}function AO(e){let t=e.filter(xp);if(t.length===0)return{status:"unreliable",reason:"no-valid-price",support:0,total:0};if(t.length===1)return{status:"unreliable",reason:"insufficient-support",support:1,total:1};let n=new Map;for(let a of t){let c=JSON.stringify([a.cost.input,a.cost.output]),u=n.get(c);if(u)u.push(a);else n.set(c,[a])}let r=[...n.values()].sort((a,c)=>c.length-a.length),i=r[0];if(!i)return{status:"unreliable",reason:"no-valid-price",support:0,total:t.length};if(r[1]?.length===i.length||i.length/t.length<0.6)return{status:"unreliable",reason:"conflict",support:i.length,total:t.length};let o=SO(i.flatMap((a)=>a.cost.cacheRead===void 0?[]:[a.cost.cacheRead])),s=SO(i.flatMap((a)=>a.cost.cacheWrite===void 0?[]:[a.cost.cacheWrite]));return{status:"reliable",method:"consensus",cost:{input:i[0].cost.input,output:i[0].cost.output,cacheRead:o,cacheWrite:s},support:i.length,total:t.length}}var mae={anthropic:["api.anthropic.com"],google:["generativelanguage.googleapis.com"],openai:["api.openai.com"],openrouter:["openrouter.ai"]};function wp(e){return e.trim().toLocaleLowerCase().replace(/[^a-z0-9]/g,"")}function kO(e){return e.trim().toLocaleLowerCase().replace(/^models\//,"")}function UO(e){if(!e)return;try{return new URL(e).hostname.toLocaleLowerCase().replace(/\.$/,"")}catch{return}}function yae(e,t){return e===t||e.endsWith(`.${t}`)}function RO(e,t){let n=wp(t);if(!n)return!1;return wp(e.providerId)===n||wp(e.providerName)===n}function FO(e,t){let n=UO(t);if(!n)return!1;let r=mae[wp(e.providerId)]??[],i=UO(e.providerBaseUrl);return[...r,...i?[i]:[]].some((o)=>yae(n,o))}function PO(e,t){let n=kO(t);if(!n)return!1;let r=kO(e.id),i=`${e.providerId.toLocaleLowerCase()}/${r}`;return r===n||i===n}function bae(e,t){let n=20;if(!e)n=10;else if(t.id===e||t.fullId===e)n=0;else if(t.name===e)n=1;else if(t.id.startsWith(e)||t.name.startsWith(e))n=2;else if(t.fullId.startsWith(e)||t.providerId===e||t.providerName===e)n=3;else if(t.id.includes(e)||t.name.includes(e))n=4;else if(t.fullId.includes(e)||t.providerName.includes(e))n=5;return n}function vae(e,t,n){if(e<20&&t&&(n.providerId===t||n.providerName===t))return e-0.5;return e}function OO(e,t,n){let r=e.id.toLocaleLowerCase(),i=e.name.toLocaleLowerCase(),o=e.providerId.toLocaleLowerCase(),s=e.providerName.toLocaleLowerCase(),a=`${o}/${r}`;return vae(bae(t,{id:r,name:i,fullId:a,providerId:o,providerName:s}),n,{providerId:o,providerName:s})}function Yx(e,t,n="",r=""){let i=e.filter((h)=>PO(h,t));if(i.length===0)return{exactMatches:0,metadataMethod:"none",preset:{},price:{status:"unreliable",reason:"no-exact-match",support:0,total:0}};let o=i.filter((h)=>RO(h,n)),s=i.filter((h)=>FO(h,r)),a=o[0]??s[0],c=o.length?"provider":s.length?"base-url":"consensus",u=a?TO(a):CO(i),d=o.find(xp),f=s.find(xp),p=d?Zx(d,"provider"):f?Zx(f,"base-url"):AO(i);if(p.status==="reliable")u.cost=EO(p.cost);return{exactMatches:i.length,metadataMethod:c,matchedProviderId:a?.providerId,matchedProviderName:a?.providerName,preset:u,price:p}}function Jx(e,t,n="",r=50){let i=t.trim().toLocaleLowerCase(),o=n.trim().toLocaleLowerCase(),s=Math.max(1,Math.min(100,Math.floor(r)||50));return e.map((a)=>({entry:a,rank:OO(a,i,o)})).filter(({rank:a})=>!i||a<20).sort((a,c)=>a.rank-c.rank||a.entry.providerName.localeCompare(c.entry.providerName,void 0,{sensitivity:"base"})||a.entry.name.localeCompare(c.entry.name,void 0,{numeric:!0,sensitivity:"base"})||a.entry.id.localeCompare(c.entry.id,void 0,{numeric:!0,sensitivity:"base"})).slice(0,s).map(({entry:a})=>a)}var IO="https://models.dev/api.json",xae=3600000,wae=15000;function _ae(){return globalThis.__piModelsDevCatalogCache??={entries:[],expiresAt:0}}async function Dae(){let e=await fetch(IO,{cache:"no-store",headers:{Accept:"application/json"},signal:AbortSignal.timeout(wae)});if(!e.ok)throw Error(`models.dev returned HTTP ${e.status}`);let t=Kx(await e.json());if(t.length===0)throw Error("models.dev returned an empty catalog");return t}async function Eae(){let e=_ae();if(e.entries.length>0&&e.expiresAt>Date.now())return e.entries;if(!e.inFlight)e.inFlight=Dae().then((t)=>(e.entries=t,e.expiresAt=Date.now()+xae,t)).finally(()=>{e.inFlight=void 0});try{return await e.inFlight}catch(t){if(e.entries.length>0)return e.entries;throw t}}async function Sae(e){let{searchParams:t}=new URL(e.url),n=(t.get("q")??"").slice(0,120),r=(t.get("provider")??"").slice(0,120),i=(t.get("baseUrl")??"").slice(0,500),o=Number.parseInt(t.get("limit")??"50",10),s=Number.isFinite(o)?o:50;try{let a=await Eae(),c=Jx(a,n,r,s),u=Yx(a,n,r,i);return Response.json({models:c,recommendation:u,source:IO})}catch(a){return Response.json({error:a instanceof Error?a.message:String(a)},{status:502})}}Co();var e0={};Z(e0,{POST:()=>Nae});import{mkdtempSync as Tae,rmSync as Cae,writeFileSync as Aae}from"node:fs";import{tmpdir as kae}from"node:os";import{join as MO}from"node:path";import{ModelRuntime as Uae}from"@earendil-works/pi-coding-agent";function NO(e){if(!je(e))return{};return Object.fromEntries(Object.entries(e).filter((t)=>typeof t[1]==="string"))}async function _p(e,t){let n;try{n=Tae(MO(kae(),"pi-web-model-discovery-"));let r=MO(n,"models.json"),i="__pi_web_model_discovery__";Aae(r,JSON.stringify({providers:{[e]:{...t,models:[{id:i}]}}},null,2),"utf8");let o=await Uae.create({modelsPath:r}),s=o.getError();if(s)throw Error(s);let a=o.getModel(e,i);if(!a)throw Error(`Unable to load provider "${e}"`);let c=await o.getAuth(a);if(c)return{apiKey:c.auth.apiKey,headers:NO(c.auth.headers)};return{headers:NO(o.getCompatibilityRequestConfig(a).headers)}}finally{if(n)Cae(n,{recursive:!0,force:!0})}}var Rae=20000;function Fae(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function au(e,t){return e.has(t)}function Pae(e,t,n){let r=new Headers(n);if(!au(r,"accept"))r.set("Accept","application/json");if(!t)return r;if(e==="anthropic-messages"){if(!au(r,"x-api-key"))r.set("x-api-key",t);if(!au(r,"anthropic-version"))r.set("anthropic-version","2023-06-01")}else if(e==="google-generative-ai"){if(!au(r,"x-goog-api-key"))r.set("x-goog-api-key",t)}else if(!au(r,"authorization"))r.set("Authorization",`Bearer ${t}`);return r}function Oae(e){let{providerName:t,provider:n}=e??{},r=typeof t==="string"?t.trim():"";if(!r)return Response.json({error:"providerName is required"},{status:400});if(!Fae(n))return Response.json({error:"provider is required"},{status:400});let i=typeof n.baseUrl==="string"?n.baseUrl.trim():"";if(!i)return Response.json({error:"Base URL is required"},{status:400});let o=typeof n.api==="string"&&n.api?n.api:"openai-completions";return{providerName:r,provider:n,baseUrl:i,api:o}}async function Iae(e){let t=await Di(e);if(t.length===0)return null;let n=t.map((r)=>xi(r)).filter((r)=>r!==null);return n.length>0?n:null}async function Mae(e,t,n){let r=await fetch(n,{cache:"no-store",headers:Pae(e.api,t.apiKey,t.headers),signal:AbortSignal.timeout(Rae)}),i=await r.text();if(!r.ok)return Response.json({error:i.slice(0,500)||`Upstream returned HTTP ${r.status}`,status:r.status},{status:502});let o;try{o=JSON.parse(i)}catch{return Response.json({error:"Upstream model list was not valid JSON"},{status:502})}let s=Bl(o);if(s.length===0)return Response.json({error:"No models found in the upstream response"},{status:502});return{models:s,providerEntries:wi(o)}}async function Nae(e){try{let t=Oae(await e.json());if(t instanceof Response)return t;let{providerName:n,provider:r,baseUrl:i,api:o}=t,s;try{s=Wl(i,o)}catch{return Response.json({error:"Base URL is invalid"},{status:400})}let a=await Iae(n);if(a)return Response.json({models:a});let c=await _p(n,r);if(typeof r.apiKey==="string"&&r.apiKey.trim()&&!c.apiKey)return Response.json({error:`No API key found for "${n}"`},{status:400});let u=await Mae(t,c,s);if(u instanceof Response)return u;return await $l(n,u.providerEntries),Response.json({models:u.models,endpoint:s.toString()})}catch(t){let n=t instanceof Error?t.message:String(t),r=t instanceof DOMException&&t.name==="TimeoutError"?504:500;return Response.json({error:n},{status:r})}}var t0={};Z(t0,{GET:()=>Lae});import{getAgentDir as LO}from"@earendil-works/pi-coding-agent";async function Lae(e){await vn();let t=new URL(e.url),n=t.searchParams.get("provider")?.trim()??"",r=t.searchParams.get("model")?.trim()??"";if(!n||!r)return Response.json({error:"provider and model are required"},{status:400});try{let o=(await wr(LO(),()=>oi(LO()))).definitions?.[`${n}/${r}`];if(!o)return Response.json({error:`Model not found: ${n}/${r}`},{status:404});return Response.json({model:o})}catch(i){return console.error("[api/models-config/effective] failed:",i),Response.json({error:i instanceof Error?i.message:String(i)},{status:500})}}Co();var n0={};Z(n0,{GET:()=>Bae});import{getAgentDir as BO}from"@earendil-works/pi-coding-agent";async function Bae(e){await vn();let t=new URL(e.url),n=t.searchParams.get("provider")?.trim()??"",r=t.searchParams.get("model")?.trim()??"";if(!n||!r)return Response.json({error:"provider and model are required"},{status:400});try{let o=(await wr(BO(),()=>oi(BO()))).definitions?.[`${n}/${r}`];if(!o)return Response.json({error:`Model not found: ${n}/${r}`},{status:404});let a=(await Di(n)).find((u)=>xi(u)?.id===r),c=a?rD(a,o):{};return Response.json({suggestion:c})}catch(i){return console.error("[api/models-config/override-suggestion] failed:",i),Response.json({error:i instanceof Error?i.message:String(i)},{status:500})}}var i0={};Z(i0,{POST:()=>Hae});var Wae=15000;function r0(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function jae(e){let t=r0(e.provider)?e.provider:{};return{provider:t,providerName:typeof e.providerName==="string"?e.providerName.trim():"",baseUrl:typeof t.baseUrl==="string"?t.baseUrl.trim():"",api:typeof t.api==="string"?t.api:"",apiKey:typeof t.apiKey==="string"?t.apiKey.trim():""}}function qae(e,t,n){let r={Accept:"application/json",...n};if(e==="anthropic-messages"){if(t)r["x-api-key"]=t;r["anthropic-version"]="2023-06-01"}else if(e==="google-generative-ai"){if(t)r["x-goog-api-key"]=t}else if(t)r.Authorization=`Bearer ${t}`;return r}function $ae(e){if(Array.isArray(e))return e;if(r0(e)&&Array.isArray(e.data))return e.data;if(r0(e)&&Array.isArray(e.models))return e.models;return[]}async function Hae(e){if(!Ft(e))return Response.json({ok:!1,error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({ok:!1,error:"Content-Type must be application/json"},{status:415});try{let t=await e.json(),{provider:n,providerName:r,baseUrl:i,api:o,apiKey:s}=jae(t);if(!i)return Response.json({ok:!1,error:"baseUrl is required"},{status:400});let a=await _p(r,n).catch(()=>{return}),c=a?.apiKey||s,u=`${i.replace(/\/+$/,"")}/models`,d=await fetch(u,{headers:qae(o,c,a?.headers??{}),cache:"no-store",signal:AbortSignal.timeout(Wae)}),f=await d.text();if(!d.ok)return Response.json({ok:!1,error:f.slice(0,500)||`HTTP ${d.status}`},{status:502});let p;try{p=JSON.parse(f)}catch{return Response.json({ok:!1,error:"Upstream model list was not valid JSON"},{status:502})}let h=$ae(p);return Response.json({ok:!0,models:h})}catch(t){return Response.json({ok:!1,error:t instanceof Error?t.message:String(t)})}}Uo();var u0={};Z(u0,{GET:()=>Yae,PUT:()=>Jae,cleanupStaleEnabledModels:()=>c0,extractLiteralApiKeys:()=>zO});import{existsSync as Sp,mkdirSync as jO}from"node:fs";import{rename as zae,rm as qO}from"node:fs/promises";import{dirname as $O,join as Ep}from"node:path";import{getAgentDir as Vae}from"@earendil-works/pi-coding-agent";var Gae=new Set(["off","minimal","low","medium","high","xhigh","max"]),Dp=new Set(["amazon-bedrock","ant-ling","anthropic","azure-openai-responses","baseten","cerebras","cloudflare-ai-gateway","cloudflare-workers-ai","deepseek","fireworks","github-copilot","google","google-vertex","groq","huggingface","kimi-coding","minimax","minimax-cn","mistral","moonshotai","moonshotai-cn","nvidia","openai","openai-codex","opencode","opencode-go","openrouter","qwen-token-plan","qwen-token-plan-cn","qwen-token-plan-individual","radius","together","vercel-ai-gateway","xai","xiaomi","xiaomi-token-plan-ams","xiaomi-token-plan-cn","xiaomi-token-plan-sgp","zai","zai-coding-cn"]);function o0(e,t,n){let r=Object.keys(n?.providers??{}),i=t?.providers??{},o=new Set([...r,...Object.keys(i)]);return e.filter((s)=>{if(/[?*[\]]/.test(s)||!s.includes("/"))return!0;let a=s.indexOf("/"),c=s.slice(0,a);if(!o.has(c))return Dp.has(c);let u=s.slice(a+1),d=u.lastIndexOf(":");if(d!==-1){let p=u.slice(d+1);if(Gae.has(p))u=u.slice(0,d);else return!0}let f=i[c];if(!f)return!1;if(Dp.has(c))return!0;return(f.models??[]).some((p)=>p.id===u)})}Do();function HO(e){return Pr("models.json",Vt("models.json",e))}function a0(e){let t=HO(e);if(!Sp(t))return{providers:{}};return ft(t)??{providers:{}}}function WO(e,t){let n=HO(t),r=$O(n);if(!Sp(r))jO(r,{recursive:!0});xn(n,e)}var Xae=/\$[A-Za-z_][A-Za-z0-9_]*|\$\{[A-Za-z_][A-Za-z0-9_]*\}/;function GO(e){return!e.startsWith("!")&&!Xae.test(e)}async function zO(e,t){if(!e||typeof e!=="object")return;for(let[n,r]of Object.entries(e)){if(!r||typeof r!=="object"||Array.isArray(r))continue;let i=r.apiKey;if(typeof i!=="string"||i.length===0)continue;if(!GO(i))continue;await td(n,{type:"api_key",key:i},t),delete r.apiKey}}function Kae(e){if(!e||typeof e!=="object")return;let t={};for(let[n,r]of Object.entries(e))if(r&&typeof r==="object"&&!Array.isArray(r)){let i=r;if(typeof i.apiKey==="string"&&GO(i.apiKey))t[n]={...i},delete t[n].apiKey;else t[n]=r}else t[n]=r;return t}function VO(e){return Pr("settings.json",Vt("settings.json",e))}function cu(e){let t=VO(e);if(!Sp(t))return{};return ft(t)??{}}function s0(e,t){let n=VO(t),r=$O(n);if(!Sp(r))jO(r,{recursive:!0});xn(n,e)}function Zae(e){let t=cu(e),{defaultProvider:n,defaultModel:r}=t;if(typeof n==="string"&&typeof r==="string"&&n&&r)return{provider:n,modelId:r};return null}function XO(e){let t=cu(e);return Array.isArray(t.enabledModels)?t.enabledModels.filter((n)=>typeof n==="string"):[]}function c0(e){let t=XO(e);if(t.length===0)return;let n=a0(e),r=o0(t,n,n);if(r.length===t.length)return;let i=cu(e);i.enabledModels=r,s0(i,e),Ce(),console.log(`[models-config] pruned ${t.length-r.length} stale enabledModels entr${t.length-r.length===1?"y":"ies"}: ${t.filter((o)=>!r.includes(o)).join(", ")}`)}async function Yae(e){let t=ae(e),n=a0(t);return Response.json({providers:n.providers??{},defaultModel:Zae(t),enabledModels:XO(t)})}async function Jae(e){try{let t=await e.json(),{models:n,defaultModel:r,enabledModels:i,renames:o}=t,a={...n??t};delete a.enabledModels,delete a.defaultModel,delete a.defaultProvider;let c=ae(e),u=Pr("auth.json",Vt("auth.json",c)),d=a0(ae(e));WO({...a,providers:Kae(a.providers)},ae(e));try{await zO(a.providers,u)}catch(y){throw WO(d,ae(e)),y}if(r&&typeof r.provider==="string"&&typeof r.modelId==="string"){let y=cu(ae(e));y.defaultProvider=r.provider,y.defaultModel=r.modelId,s0(y,ae(e))}if(Array.isArray(i)){let y=cu(ae(e));y.enabledModels=o0(i.filter((x)=>typeof x==="string"),a,d),s0(y,ae(e))}let f=d.providers??{},p=a.providers??{},h=new Set(Object.keys(p)),g=(Array.isArray(o)?o:[]).filter((y)=>!!y&&typeof y.oldId==="string"&&typeof y.newId==="string"&&y.oldId!==y.newId&&!Dp.has(y.newId)&&!Object.hasOwn(f,y.newId)&&Object.hasOwn(f,y.oldId)&&nd(f[y.oldId])&&Object.hasOwn(p,y.newId));for(let y of g)await MD(y.oldId,y.newId,u);let b=new Set(g.map((y)=>y.oldId));await ND(f,h,u,b);let v=Ep(Vae(),"pi-web","provider");return await Qae(g,v),await ece(v,f,h,b),Ce(),Response.json({success:!0})}catch(t){return Response.json({error:String(t)},{status:500})}}async function Qae(e,t){for(let{oldId:n,newId:r}of e){if(!Fr(n)||!Fr(r))continue;let i=Ep(t,n),o=Ep(t,r);try{await zae(i,o)}catch{await qO(i,{recursive:!0,force:!0}).catch(()=>{})}}}async function ece(e,t,n,r){for(let i of Object.keys(t)){if(n.has(i)||r.has(i)||!Fr(i))continue;await qO(Ep(e,i),{recursive:!0,force:!0}).catch(()=>{})}}Co();var d0={};Z(d0,{GET:()=>pce,POST:()=>fce,getProviderModelsCaches:()=>YO});import{readdir as tce,readFile as nce,stat as KO}from"node:fs/promises";import{join as ZO}from"node:path";import{getAgentDir as rce,ModelRuntime as ice}from"@earendil-works/pi-coding-agent";var l0=ZO(rce(),"pi-web","provider"),oce=5000;async function YO(){try{if(!(await KO(l0)).isDirectory())return{}}catch{return{}}let e=await tce(l0,{withFileTypes:!0}),t={};for(let n of e){if(!n.isDirectory())continue;let r=ZO(l0,n.name,"models.json");try{let i=JSON.parse(await nce(r,"utf-8")),o=wi(i),s=await KO(r);t[n.name]={modelCount:o.length,lastSyncedAt:s.mtimeMs}}catch{}}return t}function sce(e){return e.replace(/\$\{(\w+)\}/g,(t,n)=>process.env[n]??"").replace(/\$([A-Z_][A-Z0-9_]*)/g,(t,n)=>process.env[n]??"")}async function ace(e){await Promise.resolve().then(() => Uo());await Promise.resolve().then(() => Do());let i=Pr("models.json",Vt("models.json")),o=ft(i);if(!o)return null;let a=o.providers?.[e];if(!a)return null;let c=typeof a.baseUrl==="string"?a.baseUrl:void 0,u;if(typeof a.apiKey==="string")u=sce(a.apiKey);return c?{baseUrl:c,apiKey:u}:null}async function cce(e,t){let n=t.getProvider(e),r=await t.getAvailable(),i=r.find((s)=>s.provider===e)?.api??"";if(n){let s=typeof n.baseUrl==="string"&&n.baseUrl.trim()&&n.baseUrl||r.find((c)=>c.provider===e)?.baseUrl||void 0,a={};try{let c=await t.getAuth(e);if(c?.auth?.apiKey)a={Authorization:`Bearer ${c.auth.apiKey}`}}catch{}return{baseUrl:s,apiType:i,headers:a}}let o=await ace(e);if(!o)throw Error(`Provider "${e}" not found in built-in or models.json`);return{baseUrl:o.baseUrl,apiType:i,headers:o.apiKey?{Authorization:`Bearer ${o.apiKey}`}:{}}}function uce(e,t,n){if(!t||t.trim()==="")throw Error(`Provider "${e}" has no baseUrl configured`);try{return Wl(t,n)}catch{throw Error(`Invalid baseUrl for provider "${e}"`)}}async function lce(e,t,n){let r=await fetch(t,{headers:n,cache:"no-store",signal:AbortSignal.timeout(oce)});if(!r.ok)throw Error(`Provider "${e}" returned HTTP ${r.status} from ${t}`);let i=await r.text();if(!i.trim())throw Error(`Provider "${e}" returned empty response`);let o=JSON.parse(i);await Promise.resolve().then(() => Co());if(Bl(o).length===0)throw Error(`Provider "${e}" returned no parsable models`);return wi(o)}async function dce(e,t){let{baseUrl:n,apiType:r,headers:i}=await cce(e,t),o=uce(e,n,r),s=await lce(e,o,i);return await $l(e,s),{count:s.length}}async function fce(e){try{let{providerName:t}=await e.json();if(typeof t!=="string"||t.trim()==="")return Response.json({error:"providerName is required"},{status:400});let n=t.trim();if(!Fr(n))return Response.json({error:`Invalid providerName: ${JSON.stringify(t)}`},{status:400});let r=await ice.create({allowModelNetwork:!0}),{count:i}=await dce(n,r);return Ce(),Response.json({count:i})}catch(t){let n=t instanceof Error?t.message:String(t);return Response.json({error:n},{status:500})}}async function pce(){let e=await YO();return Response.json(e)}var f0={};Z(f0,{POST:()=>Sce});import{mkdtempSync as hce,rmSync as gce,writeFileSync as mce}from"node:fs";import{tmpdir as yce}from"node:os";import{join as JO}from"node:path";import{completeSimple as bce}from"@earendil-works/pi-ai/compat";import{ModelRuntime as vce}from"@earendil-works/pi-coding-agent";var QO=20000;function eI(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function xce(e){return e instanceof Error?e.message:String(e)}function wce(e){return e.content.filter((t)=>t.type==="text").map((t)=>t.text).join("")}function _ce(e,t,n,r,i){mce(e,JSON.stringify({providers:{[t]:{...n,models:[{...r,id:i}]}}},null,2),"utf8")}function Dce(e){let{providerName:t,provider:n,model:r}=e??{},i=typeof t==="string"?t.trim():"";if(!i)return Response.json({ok:!1,error:"providerName is required"},{status:400});if(!eI(n))return Response.json({ok:!1,error:"provider is required"},{status:400});if(!eI(r))return Response.json({ok:!1,error:"model is required"},{status:400});let o=typeof r.id==="string"?r.id.trim():"";if(!o)return Response.json({ok:!1,error:"Model ID is required"},{status:400});return{providerName:i,provider:n,model:r,modelId:o}}async function Ece(e,t,n){let r=new AbortController,i=setTimeout(()=>r.abort(),QO),o,s=Date.now();try{let a=await bce(e,{messages:[{role:"user",content:"Reply with OK only.",timestamp:Date.now()}]},{apiKey:t,headers:n,maxTokens:16,timeoutMs:QO,maxRetries:0,cacheRetention:"none",signal:r.signal,onResponse:(u)=>{o=u.status}}),c=Date.now()-s;if(a.stopReason==="error"||a.stopReason==="aborted")return{ok:!1,error:a.errorMessage??(r.signal.aborted?"Test timed out":"Model returned an error"),latencyMs:c,status:o};return{ok:!0,latencyMs:c,status:o,responseText:wce(a).slice(0,300)}}finally{clearTimeout(i)}}async function Sce(e){if(!Ft(e))return Response.json({ok:!1,error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({ok:!1,error:"Content-Type must be application/json"},{status:415});let t;try{let n=Dce(await e.json());if(n instanceof Response)return n;t=hce(JO(yce(),"pi-web-model-test-"));let r=JO(t,"models.json");_ce(r,n.providerName,n.provider,n.model,n.modelId);let i=await vce.create({modelsPath:r}),o=i.getError();if(o)return Response.json({ok:!1,error:o});let s=i.getModel(n.providerName,n.modelId);if(!s)return Response.json({ok:!1,error:`Model not found: ${n.providerName}/${n.modelId}`});let a=await i.getAuth(s);if(!a?.auth.apiKey)return Response.json({ok:!1,error:`No API key found for "${n.providerName}"`});let c=await Ece(s,a.auth.apiKey,a.auth.headers);return Response.json(c.ok?{ok:!0,latencyMs:c.latencyMs,status:c.status,responseText:c.responseText}:{ok:!1,error:c.error,latencyMs:c.latencyMs,status:c.status})}catch(n){return Response.json({ok:!1,error:xce(n)},{status:500})}finally{if(t)gce(t,{recursive:!0,force:!0})}}var b0={};Z(b0,{GET:()=>jce});import{getAgentDir as Wce}from"@earendil-works/pi-coding-agent";var y0={};Z(y0,{GET:()=>Fce,POST:()=>Bce,fixtureDirFrom:()=>ae,readPlugins:()=>lu});import{dirname as Uce}from"node:path";import{DefaultPackageManager as mI,SettingsManager as yI}from"@earendil-works/pi-coding-agent";function tI(e){return/^[!+-].+/.test(e.trim())}import{existsSync as aI,readFileSync as cI,statSync as g0}from"node:fs";import{dirname as uI,join as Cp}from"node:path";import{basename as p0,dirname as nI,extname as Tce,relative as Cce}from"node:path";function uu(){return{extensions:0,skills:0,prompts:0,themes:0}}function h0(e){return e==="project"?"project":"global"}function Ns(e,t){return`${t}\x00${e}`}function rI(e,t){e[t]+=1}function Ace(e,t){let n=p0(e),r=Tce(n);if(t==="skill"&&n.toLowerCase()==="skill.md")return p0(nI(e));if((t==="extension"||t==="theme"||t==="prompt")&&r){if(t==="extension"&&/^index\.(ts|js)$/.test(n))return p0(nI(e));return n.slice(0,-r.length)}return n}function kce(e){let t=e.metadata.baseDir;if(!t)return e.path;let n=Cce(t,e.path);return n&&!n.startsWith("..")?n:e.path}function Tp(e,t,n,r,i){if(!e.enabled||e.metadata.origin!=="package")return;let o=e.metadata.source,s=h0(e.metadata.scope),a=Ns(o,s),c=n.get(a)??uu();rI(c,t),rI(i,t),n.set(a,c);let u=r.get(a)??[],d=t==="extensions"?"extension":t==="skills"?"skill":t==="prompts"?"prompt":"theme";u.push({kind:d,name:Ace(e.path,d),path:e.path,relativePath:kce(e)}),r.set(a,u)}function iI(e){let t=new Map,n=new Map,r=uu();for(let i of e.extensions)Tp(i,"extensions",t,n,r);for(let i of e.skills)Tp(i,"skills",t,n,r);for(let i of e.prompts)Tp(i,"prompts",t,n,r);for(let i of e.themes)Tp(i,"themes",t,n,r);return{countsByPackage:t,resourcesByPackage:n,totals:r}}function Ap(e){return typeof e==="string"?e:e.source}function oI(e){if(typeof e==="string")return!1;return Array.isArray(e.extensions)&&e.extensions.length===0&&Array.isArray(e.skills)&&e.skills.length===0&&Array.isArray(e.prompts)&&e.prompts.length===0&&Array.isArray(e.themes)&&e.themes.length===0}function lI(e){let t=new Map;for(let n of e.getGlobalSettings().packages??[])t.set(Ns(Ap(n),"global"),oI(n));for(let n of e.getProjectSettings().packages??[])t.set(Ns(Ap(n),"project"),oI(n));return t}function dI(e,t,n,r){let i=n==="project"?e.getProjectSettings().packages??[]:e.getGlobalSettings().packages??[],o=!1,s=i.map((a)=>{if(Ap(a)!==t)return a;if(o=!0,r)return{...typeof a==="string"?{source:a}:a,extensions:[],skills:[],prompts:[],themes:[]};return Ap(a)});if(!o)return!1;if(n==="project")e.setProjectPackages(s);else e.setPackages(s);return!0}function fI(e){let t=e.startsWith("npm:")?e.slice(4):void 0;if(t){let n=t.lastIndexOf("@"),r=t.startsWith("@")?t.indexOf("/",1):0;if(n>r)return t.slice(n+1)||void 0;return}if(e.startsWith("git:")||/^[a-z]+:\/\//.test(e)){let n=e.lastIndexOf("@"),r=e.lastIndexOf("/"),i=e.lastIndexOf(":");if(n>Math.max(r,i))return e.slice(n+1)||void 0}return}function pI(e){if(!e)return{};try{let n=g0(e).isDirectory()?Cp(e,"package.json"):Cp(uI(e),"package.json");if(!aI(n))return{};let r=JSON.parse(cI(n,"utf8"));return{packageName:typeof r.name==="string"?r.name:void 0,version:typeof r.version==="string"?r.version:void 0}}catch{return{}}}var sI=500;function hI(e){if(!e)return null;try{let n=g0(e).isDirectory()?Cp(e,"README.md"):Cp(uI(e),"README.md");if(!aI(n)||!g0(n).isFile())return null;let r=cI(n,"utf8"),i=r.slice(0,sI).trim();if(!i)return null;return{path:n,summary:r.length>sI?`${i}…`:i}}catch{return null}}async function lu(e,t){let n=Is(t),r=Oe(e,n),i=yI.create(e,n,{projectTrusted:r.trusted}),o=new mI({cwd:e,agentDir:n,settingsManager:i}),s=[],a=new Map,c=new Map,u=uu(),d=lI(i);try{let p=await o.resolve(async(h)=>(s.push({type:"warning",source:h,message:"Package is configured but not installed yet."}),"skip"));({countsByPackage:a,resourcesByPackage:c,totals:u}=iI(p))}catch(p){s.push({type:"error",message:p instanceof Error?p.message:String(p)})}return{packages:o.listConfiguredPackages().map((p)=>{let h=h0(p.scope),g=Ns(p.source,h),b=d.get(g)??!1,v=a.get(g)??uu(),y=c.get(g)??[],x=v.extensions+v.skills+v.prompts+v.themes,m=pI(p.installedPath),w=hI(p.installedPath);if(w)Dt(Uce(w.path));if(!p.installedPath)s.push({type:"warning",source:p.source,message:"Configured package path was not found."});return{source:p.source,scope:h,filtered:p.filtered,disabled:b,installedPath:p.installedPath,packageName:m.packageName,version:m.version,configuredVersion:fI(p.source),readmePath:w?.path,readmeSummary:w?.summary,counts:v,resources:y,status:b?"disabled":x>0?"loaded":p.installedPath?"installed":"missing"}}),extensionFilters:fO(i),totals:u,diagnostics:s,projectResourcesLoaded:r.trusted}}function Rce(e){return e==="project"?"project":"global"}async function Fce(e){let{searchParams:t}=new URL(e.url),n=t.get("cwd");if(!n)return Response.json({error:"cwd required"},{status:400});try{let r=await oe();if(!ce(n,r))return Response.json({error:"Access denied"},{status:403});let i=await lu(n,ae(e)),o=i.packages.filter((s)=>s.scope==="project");return Response.json({...i,packages:o,extensionFilters:i.extensionFilters.filter((s)=>s.scope==="project"),totals:o.reduce((s,a)=>({extensions:s.extensions+a.counts.extensions,skills:s.skills+a.counts.skills,prompts:s.prompts+a.counts.prompts,themes:s.themes+a.counts.themes}),{extensions:0,skills:0,prompts:0,themes:0})})}catch(r){return Response.json({error:String(r)},{status:500})}}async function m0(e){if(!e.source)return Response.json({error:"source required"},{status:400});return e.source}async function Pce(e){let t=await m0(e);if(typeof t!=="string")return t;await e.packageManager.installAndPersist(t,{local:e.local});return}async function Oce(e){let t=await m0(e);if(typeof t!=="string")return t;await e.packageManager.removeAndPersist(t,{local:e.local});return}async function Ice(e){await e.packageManager.update(e.source);return}async function gI(e,t){let n=await m0(e);if(typeof n!=="string")return n;dI(e.settingsManager,n,e.scope,t),await e.settingsManager.flush();return}async function bI(e){if(!e.source)return Response.json({error:"pattern required"},{status:400});return e.source}async function Mce(e){let t=await bI(e);if(typeof t!=="string")return t;if(!tI(t))return Response.json({error:`Invalid extension filter "${t}": must start with !, +, or - (plain paths have no effect in the extensions field)`},{status:400});let n=qx(e.settingsManager,e.scope);if(n.includes(t))return Response.json({error:`Extension filter already exists: ${t}`},{status:400});jx(e.settingsManager,e.scope,[...n,t]),await e.settingsManager.flush();return}async function Nce(e){let t=await bI(e);if(typeof t!=="string")return t;let n=qx(e.settingsManager,e.scope),r=n.filter((i)=>i!==t);if(r.length===n.length)return Response.json({error:`Extension filter not found: ${t}`},{status:400});jx(e.settingsManager,e.scope,r),await e.settingsManager.flush();return}async function Lce(e,t){if(e==="install")return Pce(t);if(e==="remove")return Oce(t);if(e==="update")return Ice(t);if(e==="disable")return gI(t,!0);if(e==="enable")return gI(t,!1);if(e==="addExtensionFilter")return Mce(t);if(e==="removeExtensionFilter")return Nce(t);return Response.json({error:`Unsupported action: ${e}`},{status:400})}async function Bce(e){if(!Ft(e))return Response.json({error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({error:"Content-Type must be application/json"},{status:415});try{let t=await e.json();if(!t.cwd)return Response.json({error:"cwd required"},{status:400});if(!t.action)return Response.json({error:"action required"},{status:400});let n=await oe();if(!ce(t.cwd,n))return Response.json({error:"Access denied"},{status:403});let r=ae(e),i=Is(r),o=Oe(t.cwd,i),s=yI.create(t.cwd,i,{projectTrusted:o.trusted}),a=Rce(t.scope);if(a==="project"&&!o.trusted)return Response.json({error:"Project resources must be trusted before modifying project plugins"},{status:403});let c=new mI({cwd:t.cwd,agentDir:i,settingsManager:s}),u={source:t.source?.trim(),scope:a,local:a==="project",settingsManager:s,packageManager:c},d=await Lce(t.action,u);if(d)return d;return Response.json(await lu(t.cwd,r))}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}async function jce(e){let t=ae(e);try{return Response.json(await lu(t??Wce(),t))}catch(n){return Response.json({error:String(n)},{status:500})}}var v0={};Z(v0,{GET:()=>qce,PUT:()=>$ce});async function qce(e){return Response.json(Xn(ae(e)))}async function $ce(e){try{let t=await e.json(),n=ae(e);if(t.firstPaint&&typeof t.firstPaint==="object")Eh(t.firstPaint,n);if(t.preferences&&typeof t.preferences==="object")qu(t.preferences,n);return Response.json(Xn(n))}catch{return Response.json({error:"invalid body"},{status:400})}}var x0={};Z(x0,{GET:()=>zce,POST:()=>Vce});import{stat as Hce}from"node:fs/promises";import{resolve as Gce}from"node:path";import{getAgentDir as vI}from"@earendil-works/pi-coding-agent";async function xI(e){if(typeof e!=="string"||!e.trim())return{response:Response.json({error:"cwd required"},{status:400})};let t=Gce(Xe(e));try{if(!(await Hce(t)).isDirectory())return{response:Response.json({error:"cwd must be a directory"},{status:400})}}catch{return{response:Response.json({error:"Directory does not exist"},{status:400})}}let n=await oe();if(!ce(t,n))return{response:Response.json({error:"Access denied"},{status:403})};return{cwd:t}}async function zce(e){let t=new URL(e.url),n=t.searchParams.get("piE2eTrustCwd");if(n){for(let i of n.split(","))if(i.trim())Dt(i.trim())}let r=await xI(t.searchParams.get("cwd"));if("response"in r)return r.response;return Response.json(Oe(r.cwd,vI()))}async function Vce(e){try{let t=await e.json(),n=await xI(t.cwd);if("response"in n)return n.response;let r=vI();if(!Oe(n.cwd,r).requiresTrust)return Response.json({error:"This project has no resources that require trust"},{status:409});if(fg(n.cwd))return Response.json({error:"Wait for the active session to finish before trusting this project"},{status:409});let o=_2(n.cwd,r);return Ce(),hg(n.cwd),Response.json(o)}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var _0={};Z(_0,{POST:()=>rue});import{Agent as Xce}from"@earendil-works/pi-agent-core";var Kce=90000,wI=80,w0=`Create a concise title for this session based on the conversation above.
|
|
361
|
+
`,"utf8"),yp.set(t??"",r)}catch{}}function wO(e,t){let n=Ms(e);return Jse(n,t),n}async function Qse(e){return Response.json(xO(ae(e)))}async function eae(e){try{let t=await e.json(),n=ae(e),r=Ms(t),i=wO(r,n);return Response.json(i)}catch{return Response.json({error:"invalid body"},{status:400})}}var Xx={};Z(Xx,{GET:()=>lae,loadModels:()=>oi});import{stat as tae}from"node:fs/promises";import{resolve as nae}from"node:path";import{getSupportedThinkingLevels as rae}from"@earendil-works/pi-ai";import{createAgentSessionServices as iae,getAgentDir as _O,resolveModelScopeWithDiagnostics as oae}from"@earendil-works/pi-coding-agent";var Vx=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function sae(e,t){return Vx.compare(e.name||e.id,t.name||t.id)||Vx.compare(e.provider,t.provider)||Vx.compare(e.id,t.id)}async function aae(e,t,n,r){let i=new Set,o=[],s=[],a=new Map;for(let c of await e.modelRuntime.getAvailable())a.set(`${c.provider}/${c.id}`,c);for(let c of t){if(n.has(c.toLowerCase()))continue;let d=(await Di(c)).map((f)=>Vg(c,f)).filter((f)=>f!==null);if(d.length===0)continue;i.add(c);for(let f of d)s.push(a.get(`${c}/${f.id}`)??f);for(let f of await dae(c,d,r))o.push(a.get(`${c}/${f.id}`)??f)}return{replacedProviders:i,extraModels:o,extraModelsForDefinitions:s}}function cae(e,t){return e.map((n)=>({id:n.id,name:n.name,provider:n.provider,reasoning:n.reasoning,input:[...n.input],contextWindow:n.contextWindow,isDefault:t?.provider===n.provider&&t?.modelId===n.id})).sort(sae)}function uae(e){let t=new Map,n={},r={};for(let i of e){let o=`${i.provider}/${i.id}`;if(t.set(o,i.name),n[o]=rae(i),i.thinkingLevelMap)r[o]=i.thinkingLevelMap}return{nameMap:t,thinkingLevels:n,thinkingLevelMaps:r}}async function oi(e){let t=[],n=null,r={},i=_O(),o=ho(e,i),s=await iae({cwd:e,agentDir:i,...o?{resourceLoaderReloadOptions:o}:{}}),a=s.modelRuntime.getError(),c=s.settingsManager,u=c.getEnabledModels(),d=await cl(s.modelRuntime,u),{visible:f,thinkingLevelPins:p,warnings:h}=d,g=await ko(),b=await Ao(),v=new Set,y=[],x=[],m=(u??[]).map((C)=>C.trim()).filter(Boolean);if(g.length>0)({replacedProviders:v,extraModels:y,extraModelsForDefinitions:x}=await aae(s,g,b,m));let w=[...f.filter((C)=>!v.has(C.provider)),...y],D=c.getDefaultProvider(),T=c.getDefaultModel(),_=ul(d,{...D&&T?{defaultModel:{provider:D,modelId:T}}:{}});if(_.model&&w.some((C)=>C.provider===_.model.provider&&C.id===_.model.id))n={provider:_.model.provider,modelId:_.model.id};t=cae(w,n);let{nameMap:A,thinkingLevels:S,thinkingLevelMaps:M}=uae(w),P=[...s.modelRuntime.getModels().filter((C)=>!v.has(C.provider)),...x];for(let C of P){let L=`${C.provider}/${C.id}`;r[L]={id:C.id,name:C.name,api:C.api,provider:C.provider,baseUrl:C.baseUrl,reasoning:C.reasoning,...C.thinkingLevelMap?{thinkingLevelMap:C.thinkingLevelMap}:{},input:[...C.input],cost:{input:C.cost.input,output:C.cost.output,cacheRead:C.cost.cacheRead,cacheWrite:C.cost.cacheWrite},contextWindow:C.contextWindow,maxTokens:C.maxTokens,...C.samplingParams?{samplingParams:C.samplingParams}:{},...C.headers?{headers:C.headers}:{},...C.compat?{compat:C.compat}:{}}}return r2({models:Object.fromEntries(A),modelList:t,defaultModel:n,thinkingLevels:S,thinkingLevelMaps:M,thinkingLevelPins:p,definitions:r,...h.length>0?{modelScopeWarnings:h}:{}},a)}async function lae(e){await vn();let t=new URL(e.url),n=t.searchParams.has("cwd"),r=n?t.searchParams.get("cwd"):_O(),i=nae(r),o;try{o=await tae(i)}catch{return Response.json({error:`Directory does not exist: ${i}`},{status:400})}if(!o.isDirectory())return Response.json({error:`Not a directory: ${i}`},{status:400});if(n){let s=await oe();if(!ce(i,s))return Response.json({error:"Access denied"},{status:403})}try{let a={...await wr(i,()=>oi(i))};return delete a.definitions,Response.json(a)}catch(s){return console.error("[api/models] failed to build model list:",s),Response.json({error:s instanceof Error?s.message:String(s)},{status:500})}}async function dae(e,t,n){if(n.length===0)return t;let r=[],i=!1;for(let u of n){let d=u.indexOf("/");if(d===-1){i=!0,r.push(u);continue}let f=u.slice(0,d).trim().toLowerCase();if(!f||/[*?[]/.test(f)){i=!0,r.push(u);continue}r.push(u)}let o=e.toLowerCase(),s=i?r:r.filter((u)=>u.slice(0,u.indexOf("/")).trim().toLowerCase()===o);if(!i&&s.length===0)return t;let a={getAvailable:async()=>t},{scopedModels:c}=await oae(s,a);return c.map((u)=>u.model)}var Qx={};Z(Qx,{GET:()=>Sae});var fae=new Set(["text","image"]);function vp(e){return typeof e==="string"&&e.trim()?e.trim():void 0}function bp(e){return typeof e==="number"&&Number.isFinite(e)&&e>=0?e:void 0}function DO(e){return typeof e==="number"&&Number.isFinite(e)&&e>0?e:void 0}function EO(e){return{input:e.input??0,output:e.output??0,cacheRead:e.cacheRead??0,cacheWrite:e.cacheWrite??0}}function pae(e){if(!je(e))return{};return{input:bp(e.input),output:bp(e.output),cacheRead:bp(e.cache_read),cacheWrite:bp(e.cache_write)}}function hae(e){if(!je(e)||!Array.isArray(e.input))return;let t=Array.from(new Set(e.input.filter((n)=>typeof n==="string").map((n)=>n.trim().toLocaleLowerCase()).filter((n)=>fae.has(n))));return t.length?t:void 0}function gae(e,t,n,r,i){if(!je(e))return;let o=vp(e.id)??t;if(!o)return;let s=vp(e.name)??o,a={key:`${n}/${o}`,providerId:n,providerName:r,id:o,name:s,cost:pae(e.cost)};if(i)a.providerBaseUrl=i;if(typeof e.reasoning==="boolean")a.reasoning=e.reasoning;let c=hae(e.modalities);if(c)a.input=c;if(je(e.limit)){let u=DO(e.limit.context),d=DO(e.limit.output);if(u!==void 0)a.contextWindow=u;if(d!==void 0)a.maxTokens=d}return a}function Kx(e){if(!je(e))return[];let t=[];for(let[n,r]of Object.entries(e)){if(!je(r)||!je(r.models))continue;let i=vp(r.name)??n,o=vp(r.api);for(let[s,a]of Object.entries(r.models)){let c=gae(a,s,n,i,o);if(c)t.push(c)}}return t}function xp(e){return e.cost.input!==void 0&&e.cost.output!==void 0}function su(e,t,n){if(e.length===0||t<=0)return;let r=new Map;for(let s of e){let a=n(s),c=r.get(a);if(c)c.count+=1;else r.set(a,{value:s,count:1})}let i=[...r.values()].sort((s,a)=>a.count-s.count),o=i[0];if(!o||o.count/t<0.6)return;if(i[1]?.count===o.count)return;return o.value}function SO(e){if(e.length===0)return;let t=new Map;for(let r of e)t.set(r,(t.get(r)??0)+1);let n=[...t.entries()].sort((r,i)=>i[1]-r[1]);if(!n[0]||n[1]?.[1]===n[0][1])return;return n[0][0]}function TO(e){return{name:e.name,reasoning:e.reasoning,input:e.input,contextWindow:e.contextWindow,maxTokens:e.maxTokens}}function CO(e){let t=e.length;return{name:su(e.map((n)=>n.name),t,(n)=>n.toLocaleLowerCase()),reasoning:su(e.flatMap((n)=>n.reasoning===void 0?[]:[n.reasoning]),t,String),input:su(e.flatMap((n)=>n.input?[n.input]:[]),t,(n)=>[...n].sort().join(",")),contextWindow:su(e.flatMap((n)=>n.contextWindow===void 0?[]:[n.contextWindow]),t,String),maxTokens:su(e.flatMap((n)=>n.maxTokens===void 0?[]:[n.maxTokens]),t,String)}}function Zx(e,t){return{status:"reliable",method:t,cost:e.cost,providerId:e.providerId,providerName:e.providerName,support:1,total:1}}function AO(e){let t=e.filter(xp);if(t.length===0)return{status:"unreliable",reason:"no-valid-price",support:0,total:0};if(t.length===1)return{status:"unreliable",reason:"insufficient-support",support:1,total:1};let n=new Map;for(let a of t){let c=JSON.stringify([a.cost.input,a.cost.output]),u=n.get(c);if(u)u.push(a);else n.set(c,[a])}let r=[...n.values()].sort((a,c)=>c.length-a.length),i=r[0];if(!i)return{status:"unreliable",reason:"no-valid-price",support:0,total:t.length};if(r[1]?.length===i.length||i.length/t.length<0.6)return{status:"unreliable",reason:"conflict",support:i.length,total:t.length};let o=SO(i.flatMap((a)=>a.cost.cacheRead===void 0?[]:[a.cost.cacheRead])),s=SO(i.flatMap((a)=>a.cost.cacheWrite===void 0?[]:[a.cost.cacheWrite]));return{status:"reliable",method:"consensus",cost:{input:i[0].cost.input,output:i[0].cost.output,cacheRead:o,cacheWrite:s},support:i.length,total:t.length}}var mae={anthropic:["api.anthropic.com"],google:["generativelanguage.googleapis.com"],openai:["api.openai.com"],openrouter:["openrouter.ai"]};function wp(e){return e.trim().toLocaleLowerCase().replace(/[^a-z0-9]/g,"")}function kO(e){return e.trim().toLocaleLowerCase().replace(/^models\//,"")}function UO(e){if(!e)return;try{return new URL(e).hostname.toLocaleLowerCase().replace(/\.$/,"")}catch{return}}function yae(e,t){return e===t||e.endsWith(`.${t}`)}function RO(e,t){let n=wp(t);if(!n)return!1;return wp(e.providerId)===n||wp(e.providerName)===n}function FO(e,t){let n=UO(t);if(!n)return!1;let r=mae[wp(e.providerId)]??[],i=UO(e.providerBaseUrl);return[...r,...i?[i]:[]].some((o)=>yae(n,o))}function PO(e,t){let n=kO(t);if(!n)return!1;let r=kO(e.id),i=`${e.providerId.toLocaleLowerCase()}/${r}`;return r===n||i===n}function bae(e,t){let n=20;if(!e)n=10;else if(t.id===e||t.fullId===e)n=0;else if(t.name===e)n=1;else if(t.id.startsWith(e)||t.name.startsWith(e))n=2;else if(t.fullId.startsWith(e)||t.providerId===e||t.providerName===e)n=3;else if(t.id.includes(e)||t.name.includes(e))n=4;else if(t.fullId.includes(e)||t.providerName.includes(e))n=5;return n}function vae(e,t,n){if(e<20&&t&&(n.providerId===t||n.providerName===t))return e-0.5;return e}function OO(e,t,n){let r=e.id.toLocaleLowerCase(),i=e.name.toLocaleLowerCase(),o=e.providerId.toLocaleLowerCase(),s=e.providerName.toLocaleLowerCase(),a=`${o}/${r}`;return vae(bae(t,{id:r,name:i,fullId:a,providerId:o,providerName:s}),n,{providerId:o,providerName:s})}function Yx(e,t,n="",r=""){let i=e.filter((h)=>PO(h,t));if(i.length===0)return{exactMatches:0,metadataMethod:"none",preset:{},price:{status:"unreliable",reason:"no-exact-match",support:0,total:0}};let o=i.filter((h)=>RO(h,n)),s=i.filter((h)=>FO(h,r)),a=o[0]??s[0],c=o.length?"provider":s.length?"base-url":"consensus",u=a?TO(a):CO(i),d=o.find(xp),f=s.find(xp),p=d?Zx(d,"provider"):f?Zx(f,"base-url"):AO(i);if(p.status==="reliable")u.cost=EO(p.cost);return{exactMatches:i.length,metadataMethod:c,matchedProviderId:a?.providerId,matchedProviderName:a?.providerName,preset:u,price:p}}function Jx(e,t,n="",r=50){let i=t.trim().toLocaleLowerCase(),o=n.trim().toLocaleLowerCase(),s=Math.max(1,Math.min(100,Math.floor(r)||50));return e.map((a)=>({entry:a,rank:OO(a,i,o)})).filter(({rank:a})=>!i||a<20).sort((a,c)=>a.rank-c.rank||a.entry.providerName.localeCompare(c.entry.providerName,void 0,{sensitivity:"base"})||a.entry.name.localeCompare(c.entry.name,void 0,{numeric:!0,sensitivity:"base"})||a.entry.id.localeCompare(c.entry.id,void 0,{numeric:!0,sensitivity:"base"})).slice(0,s).map(({entry:a})=>a)}var IO="https://models.dev/api.json",xae=3600000,wae=15000;function _ae(){return globalThis.__piModelsDevCatalogCache??={entries:[],expiresAt:0}}async function Dae(){let e=await fetch(IO,{cache:"no-store",headers:{Accept:"application/json"},signal:AbortSignal.timeout(wae)});if(!e.ok)throw Error(`models.dev returned HTTP ${e.status}`);let t=Kx(await e.json());if(t.length===0)throw Error("models.dev returned an empty catalog");return t}async function Eae(){let e=_ae();if(e.entries.length>0&&e.expiresAt>Date.now())return e.entries;if(!e.inFlight)e.inFlight=Dae().then((t)=>(e.entries=t,e.expiresAt=Date.now()+xae,t)).finally(()=>{e.inFlight=void 0});try{return await e.inFlight}catch(t){if(e.entries.length>0)return e.entries;throw t}}async function Sae(e){let{searchParams:t}=new URL(e.url),n=(t.get("q")??"").slice(0,120),r=(t.get("provider")??"").slice(0,120),i=(t.get("baseUrl")??"").slice(0,500),o=Number.parseInt(t.get("limit")??"50",10),s=Number.isFinite(o)?o:50;try{let a=await Eae(),c=Jx(a,n,r,s),u=Yx(a,n,r,i);return Response.json({models:c,recommendation:u,source:IO})}catch(a){return Response.json({error:a instanceof Error?a.message:String(a)},{status:502})}}Co();var e0={};Z(e0,{POST:()=>Nae});import{mkdtempSync as Tae,rmSync as Cae,writeFileSync as Aae}from"node:fs";import{tmpdir as kae}from"node:os";import{join as MO}from"node:path";import{ModelRuntime as Uae}from"@earendil-works/pi-coding-agent";function NO(e){if(!je(e))return{};return Object.fromEntries(Object.entries(e).filter((t)=>typeof t[1]==="string"))}async function _p(e,t){let n;try{n=Tae(MO(kae(),"pi-web-model-discovery-"));let r=MO(n,"models.json"),i="__pi_web_model_discovery__";Aae(r,JSON.stringify({providers:{[e]:{...t,models:[{id:i}]}}},null,2),"utf8");let o=await Uae.create({modelsPath:r}),s=o.getError();if(s)throw Error(s);let a=o.getModel(e,i);if(!a)throw Error(`Unable to load provider "${e}"`);let c=await o.getAuth(a);if(c)return{apiKey:c.auth.apiKey,headers:NO(c.auth.headers)};return{headers:NO(o.getCompatibilityRequestConfig(a).headers)}}finally{if(n)Cae(n,{recursive:!0,force:!0})}}var Rae=20000;function Fae(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function au(e,t){return e.has(t)}function Pae(e,t,n){let r=new Headers(n);if(!au(r,"accept"))r.set("Accept","application/json");if(!t)return r;if(e==="anthropic-messages"){if(!au(r,"x-api-key"))r.set("x-api-key",t);if(!au(r,"anthropic-version"))r.set("anthropic-version","2023-06-01")}else if(e==="google-generative-ai"){if(!au(r,"x-goog-api-key"))r.set("x-goog-api-key",t)}else if(!au(r,"authorization"))r.set("Authorization",`Bearer ${t}`);return r}function Oae(e){let{providerName:t,provider:n}=e??{},r=typeof t==="string"?t.trim():"";if(!r)return Response.json({error:"providerName is required"},{status:400});if(!Fae(n))return Response.json({error:"provider is required"},{status:400});let i=typeof n.baseUrl==="string"?n.baseUrl.trim():"";if(!i)return Response.json({error:"Base URL is required"},{status:400});let o=typeof n.api==="string"&&n.api?n.api:"openai-completions";return{providerName:r,provider:n,baseUrl:i,api:o}}async function Iae(e){let t=await Di(e);if(t.length===0)return null;let n=t.map((r)=>xi(r)).filter((r)=>r!==null);return n.length>0?n:null}async function Mae(e,t,n){let r=await fetch(n,{cache:"no-store",headers:Pae(e.api,t.apiKey,t.headers),signal:AbortSignal.timeout(Rae)}),i=await r.text();if(!r.ok)return Response.json({error:i.slice(0,500)||`Upstream returned HTTP ${r.status}`,status:r.status},{status:502});let o;try{o=JSON.parse(i)}catch{return Response.json({error:"Upstream model list was not valid JSON"},{status:502})}let s=Bl(o);if(s.length===0)return Response.json({error:"No models found in the upstream response"},{status:502});return{models:s,providerEntries:wi(o)}}async function Nae(e){try{let t=Oae(await e.json());if(t instanceof Response)return t;let{providerName:n,provider:r,baseUrl:i,api:o}=t,s;try{s=Wl(i,o)}catch{return Response.json({error:"Base URL is invalid"},{status:400})}let a=await Iae(n);if(a)return Response.json({models:a});let c=await _p(n,r);if(typeof r.apiKey==="string"&&r.apiKey.trim()&&!c.apiKey)return Response.json({error:`No API key found for "${n}"`},{status:400});let u=await Mae(t,c,s);if(u instanceof Response)return u;return await $l(n,u.providerEntries),Response.json({models:u.models,endpoint:s.toString()})}catch(t){let n=t instanceof Error?t.message:String(t),r=t instanceof DOMException&&t.name==="TimeoutError"?504:500;return Response.json({error:n},{status:r})}}var t0={};Z(t0,{GET:()=>Lae});import{getAgentDir as LO}from"@earendil-works/pi-coding-agent";async function Lae(e){await vn();let t=new URL(e.url),n=t.searchParams.get("provider")?.trim()??"",r=t.searchParams.get("model")?.trim()??"";if(!n||!r)return Response.json({error:"provider and model are required"},{status:400});try{let o=(await wr(LO(),()=>oi(LO()))).definitions?.[`${n}/${r}`];if(!o)return Response.json({error:`Model not found: ${n}/${r}`},{status:404});return Response.json({model:o})}catch(i){return console.error("[api/models-config/effective] failed:",i),Response.json({error:i instanceof Error?i.message:String(i)},{status:500})}}Co();var n0={};Z(n0,{GET:()=>Bae});import{getAgentDir as BO}from"@earendil-works/pi-coding-agent";async function Bae(e){await vn();let t=new URL(e.url),n=t.searchParams.get("provider")?.trim()??"",r=t.searchParams.get("model")?.trim()??"";if(!n||!r)return Response.json({error:"provider and model are required"},{status:400});try{let o=(await wr(BO(),()=>oi(BO()))).definitions?.[`${n}/${r}`];if(!o)return Response.json({error:`Model not found: ${n}/${r}`},{status:404});let a=(await Di(n)).find((u)=>xi(u)?.id===r),c=a?rD(a,o):{};return Response.json({suggestion:c})}catch(i){return console.error("[api/models-config/override-suggestion] failed:",i),Response.json({error:i instanceof Error?i.message:String(i)},{status:500})}}var i0={};Z(i0,{POST:()=>Hae});var Wae=15000;function r0(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function jae(e){let t=r0(e.provider)?e.provider:{};return{provider:t,providerName:typeof e.providerName==="string"?e.providerName.trim():"",baseUrl:typeof t.baseUrl==="string"?t.baseUrl.trim():"",api:typeof t.api==="string"?t.api:"",apiKey:typeof t.apiKey==="string"?t.apiKey.trim():""}}function qae(e,t,n){let r={Accept:"application/json",...n};if(e==="anthropic-messages"){if(t)r["x-api-key"]=t;r["anthropic-version"]="2023-06-01"}else if(e==="google-generative-ai"){if(t)r["x-goog-api-key"]=t}else if(t)r.Authorization=`Bearer ${t}`;return r}function $ae(e){if(Array.isArray(e))return e;if(r0(e)&&Array.isArray(e.data))return e.data;if(r0(e)&&Array.isArray(e.models))return e.models;return[]}async function Hae(e){if(!Ft(e))return Response.json({ok:!1,error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({ok:!1,error:"Content-Type must be application/json"},{status:415});try{let t=await e.json(),{provider:n,providerName:r,baseUrl:i,api:o,apiKey:s}=jae(t);if(!i)return Response.json({ok:!1,error:"baseUrl is required"},{status:400});let a=await _p(r,n).catch(()=>{return}),c=a?.apiKey||s,u=`${i.replace(/\/+$/,"")}/models`,d=await fetch(u,{headers:qae(o,c,a?.headers??{}),cache:"no-store",signal:AbortSignal.timeout(Wae)}),f=await d.text();if(!d.ok)return Response.json({ok:!1,error:f.slice(0,500)||`HTTP ${d.status}`},{status:502});let p;try{p=JSON.parse(f)}catch{return Response.json({ok:!1,error:"Upstream model list was not valid JSON"},{status:502})}let h=$ae(p);return Response.json({ok:!0,models:h})}catch(t){return Response.json({ok:!1,error:t instanceof Error?t.message:String(t)})}}Uo();var u0={};Z(u0,{GET:()=>Qae,PUT:()=>ece,cleanupStaleEnabledModels:()=>c0,extractLiteralApiKeys:()=>zO});import{existsSync as Sp,mkdirSync as jO}from"node:fs";import{rename as zae,rm as qO}from"node:fs/promises";import{dirname as $O,join as Ep}from"node:path";import{getAgentDir as Vae}from"@earendil-works/pi-coding-agent";var Gae=new Set(["off","minimal","low","medium","high","xhigh","max"]),Dp=new Set(["amazon-bedrock","ant-ling","anthropic","azure-openai-responses","baseten","cerebras","cloudflare-ai-gateway","cloudflare-workers-ai","deepseek","fireworks","github-copilot","google","google-vertex","groq","huggingface","kimi-coding","minimax","minimax-cn","mistral","moonshotai","moonshotai-cn","nvidia","openai","openai-codex","opencode","opencode-go","openrouter","qwen-token-plan","qwen-token-plan-cn","qwen-token-plan-individual","radius","together","vercel-ai-gateway","xai","xiaomi","xiaomi-token-plan-ams","xiaomi-token-plan-cn","xiaomi-token-plan-sgp","zai","zai-coding-cn"]);function o0(e,t,n){let r=Object.keys(n?.providers??{}),i=t?.providers??{},o=new Set([...r,...Object.keys(i)]);return e.filter((s)=>{if(/[?*[\]]/.test(s)||!s.includes("/"))return!0;let a=s.indexOf("/"),c=s.slice(0,a);if(!o.has(c))return Dp.has(c);let u=s.slice(a+1),d=u.lastIndexOf(":");if(d!==-1){let p=u.slice(d+1);if(Gae.has(p))u=u.slice(0,d);else return!0}let f=i[c];if(!f)return!1;if(Dp.has(c))return!0;return(f.models??[]).some((p)=>p.id===u)})}Do();function HO(e){return Pr("models.json",Vt("models.json",e))}function a0(e){let t=HO(e);if(!Sp(t))return{providers:{}};return ft(t)??{providers:{}}}var Xae="https://pi.dev/schemas/models.schema.json",Kae="https://pi.dev/schemas/settings.schema.json";function WO(e,t){let n=HO(t),r=$O(n);if(!Sp(r))jO(r,{recursive:!0});xn(n,{...e,$schema:Xae})}var Zae=/\$[A-Za-z_][A-Za-z0-9_]*|\$\{[A-Za-z_][A-Za-z0-9_]*\}/;function GO(e){return!e.startsWith("!")&&!Zae.test(e)}async function zO(e,t){if(!e||typeof e!=="object")return;for(let[n,r]of Object.entries(e)){if(!r||typeof r!=="object"||Array.isArray(r))continue;let i=r.apiKey;if(typeof i!=="string"||i.length===0)continue;if(!GO(i))continue;await td(n,{type:"api_key",key:i},t),delete r.apiKey}}function Yae(e){if(!e||typeof e!=="object")return;let t={};for(let[n,r]of Object.entries(e))if(r&&typeof r==="object"&&!Array.isArray(r)){let i=r;if(typeof i.apiKey==="string"&&GO(i.apiKey))t[n]={...i},delete t[n].apiKey;else t[n]=r}else t[n]=r;return t}function VO(e){return Pr("settings.json",Vt("settings.json",e))}function cu(e){let t=VO(e);if(!Sp(t))return{};return ft(t)??{}}function s0(e,t){let n=VO(t),r=$O(n);if(!Sp(r))jO(r,{recursive:!0});xn(n,{...e,$schema:Kae})}function Jae(e){let t=cu(e),{defaultProvider:n,defaultModel:r}=t;if(typeof n==="string"&&typeof r==="string"&&n&&r)return{provider:n,modelId:r};return null}function XO(e){let t=cu(e);return Array.isArray(t.enabledModels)?t.enabledModels.filter((n)=>typeof n==="string"):[]}function c0(e){let t=XO(e);if(t.length===0)return;let n=a0(e),r=o0(t,n,n);if(r.length===t.length)return;let i=cu(e);i.enabledModels=r,s0(i,e),Ce(),console.log(`[models-config] pruned ${t.length-r.length} stale enabledModels entr${t.length-r.length===1?"y":"ies"}: ${t.filter((o)=>!r.includes(o)).join(", ")}`)}async function Qae(e){let t=ae(e),n=a0(t);return Response.json({providers:n.providers??{},defaultModel:Jae(t),enabledModels:XO(t)})}async function ece(e){try{let t=await e.json(),{models:n,defaultModel:r,enabledModels:i,renames:o}=t,a={...n??t};delete a.enabledModels,delete a.defaultModel,delete a.defaultProvider;let c=ae(e),u=Pr("auth.json",Vt("auth.json",c)),d=a0(ae(e));WO({...a,providers:Yae(a.providers)},ae(e));try{await zO(a.providers,u)}catch(y){throw WO(d,ae(e)),y}if(r&&typeof r.provider==="string"&&typeof r.modelId==="string"){let y=cu(ae(e));y.defaultProvider=r.provider,y.defaultModel=r.modelId,s0(y,ae(e))}if(Array.isArray(i)){let y=cu(ae(e));y.enabledModels=o0(i.filter((x)=>typeof x==="string"),a,d),s0(y,ae(e))}let f=d.providers??{},p=a.providers??{},h=new Set(Object.keys(p)),g=(Array.isArray(o)?o:[]).filter((y)=>!!y&&typeof y.oldId==="string"&&typeof y.newId==="string"&&y.oldId!==y.newId&&!Dp.has(y.newId)&&!Object.hasOwn(f,y.newId)&&Object.hasOwn(f,y.oldId)&&nd(f[y.oldId])&&Object.hasOwn(p,y.newId));for(let y of g)await MD(y.oldId,y.newId,u);let b=new Set(g.map((y)=>y.oldId));await ND(f,h,u,b);let v=Ep(Vae(),"pi-web","provider");return await tce(g,v),await nce(v,f,h,b),Ce(),Response.json({success:!0})}catch(t){return Response.json({error:String(t)},{status:500})}}async function tce(e,t){for(let{oldId:n,newId:r}of e){if(!Fr(n)||!Fr(r))continue;let i=Ep(t,n),o=Ep(t,r);try{await zae(i,o)}catch{await qO(i,{recursive:!0,force:!0}).catch(()=>{})}}}async function nce(e,t,n,r){for(let i of Object.keys(t)){if(n.has(i)||r.has(i)||!Fr(i))continue;await qO(Ep(e,i),{recursive:!0,force:!0}).catch(()=>{})}}Co();var d0={};Z(d0,{GET:()=>gce,POST:()=>hce,getProviderModelsCaches:()=>YO});import{readdir as rce,readFile as ice,stat as KO}from"node:fs/promises";import{join as ZO}from"node:path";import{getAgentDir as oce,ModelRuntime as sce}from"@earendil-works/pi-coding-agent";var l0=ZO(oce(),"pi-web","provider"),ace=5000;async function YO(){try{if(!(await KO(l0)).isDirectory())return{}}catch{return{}}let e=await rce(l0,{withFileTypes:!0}),t={};for(let n of e){if(!n.isDirectory())continue;let r=ZO(l0,n.name,"models.json");try{let i=JSON.parse(await ice(r,"utf-8")),o=wi(i),s=await KO(r);t[n.name]={modelCount:o.length,lastSyncedAt:s.mtimeMs}}catch{}}return t}function cce(e){return e.replace(/\$\{(\w+)\}/g,(t,n)=>process.env[n]??"").replace(/\$([A-Z_][A-Z0-9_]*)/g,(t,n)=>process.env[n]??"")}async function uce(e){await Promise.resolve().then(() => Uo());await Promise.resolve().then(() => Do());let i=Pr("models.json",Vt("models.json")),o=ft(i);if(!o)return null;let a=o.providers?.[e];if(!a)return null;let c=typeof a.baseUrl==="string"?a.baseUrl:void 0,u;if(typeof a.apiKey==="string")u=cce(a.apiKey);return c?{baseUrl:c,apiKey:u}:null}async function lce(e,t){let n=t.getProvider(e),r=await t.getAvailable(),i=r.find((s)=>s.provider===e)?.api??"";if(n){let s=typeof n.baseUrl==="string"&&n.baseUrl.trim()&&n.baseUrl||r.find((c)=>c.provider===e)?.baseUrl||void 0,a={};try{let c=await t.getAuth(e);if(c?.auth?.apiKey)a={Authorization:`Bearer ${c.auth.apiKey}`}}catch{}return{baseUrl:s,apiType:i,headers:a}}let o=await uce(e);if(!o)throw Error(`Provider "${e}" not found in built-in or models.json`);return{baseUrl:o.baseUrl,apiType:i,headers:o.apiKey?{Authorization:`Bearer ${o.apiKey}`}:{}}}function dce(e,t,n){if(!t||t.trim()==="")throw Error(`Provider "${e}" has no baseUrl configured`);try{return Wl(t,n)}catch{throw Error(`Invalid baseUrl for provider "${e}"`)}}async function fce(e,t,n){let r=await fetch(t,{headers:n,cache:"no-store",signal:AbortSignal.timeout(ace)});if(!r.ok)throw Error(`Provider "${e}" returned HTTP ${r.status} from ${t}`);let i=await r.text();if(!i.trim())throw Error(`Provider "${e}" returned empty response`);let o=JSON.parse(i);await Promise.resolve().then(() => Co());if(Bl(o).length===0)throw Error(`Provider "${e}" returned no parsable models`);return wi(o)}async function pce(e,t){let{baseUrl:n,apiType:r,headers:i}=await lce(e,t),o=dce(e,n,r),s=await fce(e,o,i);return await $l(e,s),{count:s.length}}async function hce(e){try{let{providerName:t}=await e.json();if(typeof t!=="string"||t.trim()==="")return Response.json({error:"providerName is required"},{status:400});let n=t.trim();if(!Fr(n))return Response.json({error:`Invalid providerName: ${JSON.stringify(t)}`},{status:400});let r=await sce.create({allowModelNetwork:!0}),{count:i}=await pce(n,r);return Ce(),Response.json({count:i})}catch(t){let n=t instanceof Error?t.message:String(t);return Response.json({error:n},{status:500})}}async function gce(){let e=await YO();return Response.json(e)}var f0={};Z(f0,{POST:()=>Cce});import{mkdtempSync as mce,rmSync as yce,writeFileSync as bce}from"node:fs";import{tmpdir as vce}from"node:os";import{join as JO}from"node:path";import{completeSimple as xce}from"@earendil-works/pi-ai/compat";import{ModelRuntime as wce}from"@earendil-works/pi-coding-agent";var QO=20000;function eI(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function _ce(e){return e instanceof Error?e.message:String(e)}function Dce(e){return e.content.filter((t)=>t.type==="text").map((t)=>t.text).join("")}function Ece(e,t,n,r,i){bce(e,JSON.stringify({providers:{[t]:{...n,models:[{...r,id:i}]}}},null,2),"utf8")}function Sce(e){let{providerName:t,provider:n,model:r}=e??{},i=typeof t==="string"?t.trim():"";if(!i)return Response.json({ok:!1,error:"providerName is required"},{status:400});if(!eI(n))return Response.json({ok:!1,error:"provider is required"},{status:400});if(!eI(r))return Response.json({ok:!1,error:"model is required"},{status:400});let o=typeof r.id==="string"?r.id.trim():"";if(!o)return Response.json({ok:!1,error:"Model ID is required"},{status:400});return{providerName:i,provider:n,model:r,modelId:o}}async function Tce(e,t,n){let r=new AbortController,i=setTimeout(()=>r.abort(),QO),o,s=Date.now();try{let a=await xce(e,{messages:[{role:"user",content:"Reply with OK only.",timestamp:Date.now()}]},{apiKey:t,headers:n,maxTokens:16,timeoutMs:QO,maxRetries:0,cacheRetention:"none",signal:r.signal,onResponse:(u)=>{o=u.status}}),c=Date.now()-s;if(a.stopReason==="error"||a.stopReason==="aborted")return{ok:!1,error:a.errorMessage??(r.signal.aborted?"Test timed out":"Model returned an error"),latencyMs:c,status:o};return{ok:!0,latencyMs:c,status:o,responseText:Dce(a).slice(0,300)}}finally{clearTimeout(i)}}async function Cce(e){if(!Ft(e))return Response.json({ok:!1,error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({ok:!1,error:"Content-Type must be application/json"},{status:415});let t;try{let n=Sce(await e.json());if(n instanceof Response)return n;t=mce(JO(vce(),"pi-web-model-test-"));let r=JO(t,"models.json");Ece(r,n.providerName,n.provider,n.model,n.modelId);let i=await wce.create({modelsPath:r}),o=i.getError();if(o)return Response.json({ok:!1,error:o});let s=i.getModel(n.providerName,n.modelId);if(!s)return Response.json({ok:!1,error:`Model not found: ${n.providerName}/${n.modelId}`});let a=await i.getAuth(s);if(!a?.auth.apiKey)return Response.json({ok:!1,error:`No API key found for "${n.providerName}"`});let c=await Tce(s,a.auth.apiKey,a.auth.headers);return Response.json(c.ok?{ok:!0,latencyMs:c.latencyMs,status:c.status,responseText:c.responseText}:{ok:!1,error:c.error,latencyMs:c.latencyMs,status:c.status})}catch(n){return Response.json({ok:!1,error:_ce(n)},{status:500})}finally{if(t)yce(t,{recursive:!0,force:!0})}}var b0={};Z(b0,{GET:()=>$ce});import{getAgentDir as qce}from"@earendil-works/pi-coding-agent";var y0={};Z(y0,{GET:()=>Oce,POST:()=>jce,fixtureDirFrom:()=>ae,readPlugins:()=>lu});import{dirname as Fce}from"node:path";import{DefaultPackageManager as mI,SettingsManager as yI}from"@earendil-works/pi-coding-agent";function tI(e){return/^[!+-].+/.test(e.trim())}import{existsSync as aI,readFileSync as cI,statSync as g0}from"node:fs";import{dirname as uI,join as Cp}from"node:path";import{basename as p0,dirname as nI,extname as Ace,relative as kce}from"node:path";function uu(){return{extensions:0,skills:0,prompts:0,themes:0}}function h0(e){return e==="project"?"project":"global"}function Ns(e,t){return`${t}\x00${e}`}function rI(e,t){e[t]+=1}function Uce(e,t){let n=p0(e),r=Ace(n);if(t==="skill"&&n.toLowerCase()==="skill.md")return p0(nI(e));if((t==="extension"||t==="theme"||t==="prompt")&&r){if(t==="extension"&&/^index\.(ts|js)$/.test(n))return p0(nI(e));return n.slice(0,-r.length)}return n}function Rce(e){let t=e.metadata.baseDir;if(!t)return e.path;let n=kce(t,e.path);return n&&!n.startsWith("..")?n:e.path}function Tp(e,t,n,r,i){if(!e.enabled||e.metadata.origin!=="package")return;let o=e.metadata.source,s=h0(e.metadata.scope),a=Ns(o,s),c=n.get(a)??uu();rI(c,t),rI(i,t),n.set(a,c);let u=r.get(a)??[],d=t==="extensions"?"extension":t==="skills"?"skill":t==="prompts"?"prompt":"theme";u.push({kind:d,name:Uce(e.path,d),path:e.path,relativePath:Rce(e)}),r.set(a,u)}function iI(e){let t=new Map,n=new Map,r=uu();for(let i of e.extensions)Tp(i,"extensions",t,n,r);for(let i of e.skills)Tp(i,"skills",t,n,r);for(let i of e.prompts)Tp(i,"prompts",t,n,r);for(let i of e.themes)Tp(i,"themes",t,n,r);return{countsByPackage:t,resourcesByPackage:n,totals:r}}function Ap(e){return typeof e==="string"?e:e.source}function oI(e){if(typeof e==="string")return!1;return Array.isArray(e.extensions)&&e.extensions.length===0&&Array.isArray(e.skills)&&e.skills.length===0&&Array.isArray(e.prompts)&&e.prompts.length===0&&Array.isArray(e.themes)&&e.themes.length===0}function lI(e){let t=new Map;for(let n of e.getGlobalSettings().packages??[])t.set(Ns(Ap(n),"global"),oI(n));for(let n of e.getProjectSettings().packages??[])t.set(Ns(Ap(n),"project"),oI(n));return t}function dI(e,t,n,r){let i=n==="project"?e.getProjectSettings().packages??[]:e.getGlobalSettings().packages??[],o=!1,s=i.map((a)=>{if(Ap(a)!==t)return a;if(o=!0,r)return{...typeof a==="string"?{source:a}:a,extensions:[],skills:[],prompts:[],themes:[]};return Ap(a)});if(!o)return!1;if(n==="project")e.setProjectPackages(s);else e.setPackages(s);return!0}function fI(e){let t=e.startsWith("npm:")?e.slice(4):void 0;if(t){let n=t.lastIndexOf("@"),r=t.startsWith("@")?t.indexOf("/",1):0;if(n>r)return t.slice(n+1)||void 0;return}if(e.startsWith("git:")||/^[a-z]+:\/\//.test(e)){let n=e.lastIndexOf("@"),r=e.lastIndexOf("/"),i=e.lastIndexOf(":");if(n>Math.max(r,i))return e.slice(n+1)||void 0}return}function pI(e){if(!e)return{};try{let n=g0(e).isDirectory()?Cp(e,"package.json"):Cp(uI(e),"package.json");if(!aI(n))return{};let r=JSON.parse(cI(n,"utf8"));return{packageName:typeof r.name==="string"?r.name:void 0,version:typeof r.version==="string"?r.version:void 0}}catch{return{}}}var sI=500;function hI(e){if(!e)return null;try{let n=g0(e).isDirectory()?Cp(e,"README.md"):Cp(uI(e),"README.md");if(!aI(n)||!g0(n).isFile())return null;let r=cI(n,"utf8"),i=r.slice(0,sI).trim();if(!i)return null;return{path:n,summary:r.length>sI?`${i}…`:i}}catch{return null}}async function lu(e,t){let n=Is(t),r=Oe(e,n),i=yI.create(e,n,{projectTrusted:r.trusted}),o=new mI({cwd:e,agentDir:n,settingsManager:i}),s=[],a=new Map,c=new Map,u=uu(),d=lI(i);try{let p=await o.resolve(async(h)=>(s.push({type:"warning",source:h,message:"Package is configured but not installed yet."}),"skip"));({countsByPackage:a,resourcesByPackage:c,totals:u}=iI(p))}catch(p){s.push({type:"error",message:p instanceof Error?p.message:String(p)})}return{packages:o.listConfiguredPackages().map((p)=>{let h=h0(p.scope),g=Ns(p.source,h),b=d.get(g)??!1,v=a.get(g)??uu(),y=c.get(g)??[],x=v.extensions+v.skills+v.prompts+v.themes,m=pI(p.installedPath),w=hI(p.installedPath);if(w)Dt(Fce(w.path));if(!p.installedPath)s.push({type:"warning",source:p.source,message:"Configured package path was not found."});return{source:p.source,scope:h,filtered:p.filtered,disabled:b,installedPath:p.installedPath,packageName:m.packageName,version:m.version,configuredVersion:fI(p.source),readmePath:w?.path,readmeSummary:w?.summary,counts:v,resources:y,status:b?"disabled":x>0?"loaded":p.installedPath?"installed":"missing"}}),extensionFilters:fO(i),totals:u,diagnostics:s,projectResourcesLoaded:r.trusted}}function Pce(e){return e==="project"?"project":"global"}async function Oce(e){let{searchParams:t}=new URL(e.url),n=t.get("cwd");if(!n)return Response.json({error:"cwd required"},{status:400});try{let r=await oe();if(!ce(n,r))return Response.json({error:"Access denied"},{status:403});let i=await lu(n,ae(e)),o=i.packages.filter((s)=>s.scope==="project");return Response.json({...i,packages:o,extensionFilters:i.extensionFilters.filter((s)=>s.scope==="project"),totals:o.reduce((s,a)=>({extensions:s.extensions+a.counts.extensions,skills:s.skills+a.counts.skills,prompts:s.prompts+a.counts.prompts,themes:s.themes+a.counts.themes}),{extensions:0,skills:0,prompts:0,themes:0})})}catch(r){return Response.json({error:String(r)},{status:500})}}async function m0(e){if(!e.source)return Response.json({error:"source required"},{status:400});return e.source}async function Ice(e){let t=await m0(e);if(typeof t!=="string")return t;await e.packageManager.installAndPersist(t,{local:e.local});return}async function Mce(e){let t=await m0(e);if(typeof t!=="string")return t;await e.packageManager.removeAndPersist(t,{local:e.local});return}async function Nce(e){await e.packageManager.update(e.source);return}async function gI(e,t){let n=await m0(e);if(typeof n!=="string")return n;dI(e.settingsManager,n,e.scope,t),await e.settingsManager.flush();return}async function bI(e){if(!e.source)return Response.json({error:"pattern required"},{status:400});return e.source}async function Lce(e){let t=await bI(e);if(typeof t!=="string")return t;if(!tI(t))return Response.json({error:`Invalid extension filter "${t}": must start with !, +, or - (plain paths have no effect in the extensions field)`},{status:400});let n=qx(e.settingsManager,e.scope);if(n.includes(t))return Response.json({error:`Extension filter already exists: ${t}`},{status:400});jx(e.settingsManager,e.scope,[...n,t]),await e.settingsManager.flush();return}async function Bce(e){let t=await bI(e);if(typeof t!=="string")return t;let n=qx(e.settingsManager,e.scope),r=n.filter((i)=>i!==t);if(r.length===n.length)return Response.json({error:`Extension filter not found: ${t}`},{status:400});jx(e.settingsManager,e.scope,r),await e.settingsManager.flush();return}async function Wce(e,t){if(e==="install")return Ice(t);if(e==="remove")return Mce(t);if(e==="update")return Nce(t);if(e==="disable")return gI(t,!0);if(e==="enable")return gI(t,!1);if(e==="addExtensionFilter")return Lce(t);if(e==="removeExtensionFilter")return Bce(t);return Response.json({error:`Unsupported action: ${e}`},{status:400})}async function jce(e){if(!Ft(e))return Response.json({error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({error:"Content-Type must be application/json"},{status:415});try{let t=await e.json();if(!t.cwd)return Response.json({error:"cwd required"},{status:400});if(!t.action)return Response.json({error:"action required"},{status:400});let n=await oe();if(!ce(t.cwd,n))return Response.json({error:"Access denied"},{status:403});let r=ae(e),i=Is(r),o=Oe(t.cwd,i),s=yI.create(t.cwd,i,{projectTrusted:o.trusted}),a=Pce(t.scope);if(a==="project"&&!o.trusted)return Response.json({error:"Project resources must be trusted before modifying project plugins"},{status:403});let c=new mI({cwd:t.cwd,agentDir:i,settingsManager:s}),u={source:t.source?.trim(),scope:a,local:a==="project",settingsManager:s,packageManager:c},d=await Wce(t.action,u);if(d)return d;return Response.json(await lu(t.cwd,r))}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}async function $ce(e){let t=ae(e);try{return Response.json(await lu(t??qce(),t))}catch(n){return Response.json({error:String(n)},{status:500})}}var v0={};Z(v0,{GET:()=>Hce,PUT:()=>Gce});async function Hce(e){return Response.json(Xn(ae(e)))}async function Gce(e){try{let t=await e.json(),n=ae(e);if(t.firstPaint&&typeof t.firstPaint==="object")Eh(t.firstPaint,n);if(t.preferences&&typeof t.preferences==="object")qu(t.preferences,n);return Response.json(Xn(n))}catch{return Response.json({error:"invalid body"},{status:400})}}var x0={};Z(x0,{GET:()=>Xce,POST:()=>Kce});import{stat as zce}from"node:fs/promises";import{resolve as Vce}from"node:path";import{getAgentDir as vI}from"@earendil-works/pi-coding-agent";async function xI(e){if(typeof e!=="string"||!e.trim())return{response:Response.json({error:"cwd required"},{status:400})};let t=Vce(Xe(e));try{if(!(await zce(t)).isDirectory())return{response:Response.json({error:"cwd must be a directory"},{status:400})}}catch{return{response:Response.json({error:"Directory does not exist"},{status:400})}}let n=await oe();if(!ce(t,n))return{response:Response.json({error:"Access denied"},{status:403})};return{cwd:t}}async function Xce(e){let t=new URL(e.url),n=t.searchParams.get("piE2eTrustCwd");if(n){for(let i of n.split(","))if(i.trim())Dt(i.trim())}let r=await xI(t.searchParams.get("cwd"));if("response"in r)return r.response;return Response.json(Oe(r.cwd,vI()))}async function Kce(e){try{let t=await e.json(),n=await xI(t.cwd);if("response"in n)return n.response;let r=vI();if(!Oe(n.cwd,r).requiresTrust)return Response.json({error:"This project has no resources that require trust"},{status:409});if(fg(n.cwd))return Response.json({error:"Wait for the active session to finish before trusting this project"},{status:409});let o=_2(n.cwd,r);return Ce(),hg(n.cwd),Response.json(o)}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var _0={};Z(_0,{POST:()=>oue});import{Agent as Zce}from"@earendil-works/pi-agent-core";var Yce=90000,wI=80,w0=`Create a concise title for this session based on the conversation above.
|
|
362
362
|
|
|
363
363
|
Requirements:
|
|
364
364
|
- Match the primary language used by the user.
|
|
365
365
|
- Describe the user's concrete goal or the outcome, not the act of chatting.
|
|
366
366
|
- Use 4-12 words for space-separated languages, or 8-24 characters for CJK text when practical.
|
|
367
367
|
- Do not call any tools.
|
|
368
|
-
- Return only the title as plain text, with no quotes, label, markdown, or explanation.`;function
|
|
368
|
+
- Return only the title as plain text, with no quotes, label, markdown, or explanation.`;function Jce(e){return e.map((t)=>({...t,execute:async()=>{throw Error("Tools cannot be executed while generating a session title")}}))}function Qce(e){let t=e.state;return{initialState:{systemPrompt:t.systemPrompt,model:t.model,thinkingLevel:Pu(t.model)??"off",tools:Jce(t.tools),messages:t.messages},convertToLlm:e.convertToLlm,transformContext:e.transformContext,streamFn:e.streamFunction,getApiKey:e.getApiKey,onPayload:e.onPayload,onResponse:e.onResponse,steeringMode:e.steeringMode,followUpMode:e.followUpMode,sessionId:e.sessionId,thinkingBudgets:e.thinkingBudgets,transport:e.transport,maxRetryDelayMs:e.maxRetryDelayMs,toolExecution:e.toolExecution}}function eue(e){let t=e.at(-1);if(t?.role!=="user")return e;let n=typeof t.content==="string"?`${t.content}
|
|
369
369
|
|
|
370
|
-
${w0}`:[...t.content,{type:"text",text:w0}];return[...e.slice(0,-1),{...t,content:n}]}function
|
|
371
|
-
`).trim();if(!o)continue;return{title:
|
|
370
|
+
${w0}`:[...t.content,{type:"text",text:w0}];return[...e.slice(0,-1),{...t,content:n}]}function tue(e){let t=[['"','"'],["'","'"],["`","`"],["“","”"],["「","」"],["『","』"]];for(let[n,r]of t)if(e.startsWith(n)&&e.endsWith(r)&&e.length>n.length+r.length)return e.slice(n.length,-r.length).trim();return e}function nue(e){let t=e.trim(),n=t.match(/^```(?:json|text)?\s*([\s\S]*?)\s*```$/i);if(n)t=n[1].trim();if(t.startsWith("{"))try{let i=JSON.parse(t);if(typeof i.title==="string")t=i.title.trim()}catch{}if(t=t.split(/\r?\n/,1)[0]??"",t=t.replace(/^(?:session\s+title|title|标题)\s*[::-]\s*/i,""),t=tue(t).replace(/\s+/g," ").trim(),t=t.replace(/[。.!]+$/u,"").trim(),!/[\p{L}\p{N}]/u.test(t))throw Error("The model did not return a usable session title");let r=Array.from(t);if(r.length>wI)t=r.slice(0,wI).join("").trim();return t}function rue(e,t){let n=e.state.messages.slice(t);for(let r=n.length-1;r>=0;r--){let i=n[r];if(i.role!=="assistant")continue;if(i.stopReason==="error")throw Error(i.errorMessage||"The title model request failed");let o=i.content.filter((s)=>s.type==="text").map((s)=>s.text).join(`
|
|
371
|
+
`).trim();if(!o)continue;return{title:nue(o),...i.usage?{usage:{input:i.usage.input,output:i.usage.output,cacheRead:i.usage.cacheRead,cacheWrite:i.usage.cacheWrite,total:i.usage.totalTokens}}:{}}}throw Error("The model did not return a session title")}function iue(e){let t=[],n;for(let r=0;r<e.length;r++){let i=e[r];if(i.role==="assistant"){let o=new Set;for(let a=r+1;a<e.length;a++){let c=e[a];if(c.role!=="toolResult")break;o.add(c.toolCallId)}n=new Set;let s=i.content.filter((a)=>{if(a.type!=="toolCall")return!0;if(!o.has(a.id))return!1;return n.add(a.id),!0});if(s.length>0)t.push({...i,content:s});continue}if(i.role==="toolResult"){if(n?.delete(i.toolCallId))t.push(i);continue}n=void 0,t.push(i)}return t}async function _I(e){let t=e.agent;await t.waitForIdle();let n=iue(t.state.messages),r=n.length;if(!n.some((u)=>u.role==="user"))throw Error("The session has no user messages to name");let i=Qce(t);i.initialState.messages=n;let o=n.at(-1)?.role==="user";if(o)i.initialState.messages=eue(n);let s=new Zce(i),a=o?s.continue():s.prompt(w0),c;try{await Promise.race([a,new Promise((u,d)=>{c=setTimeout(()=>{s.abort(),d(Error("Session title generation timed out"))},Yce)})])}catch(u){throw s.abort(),await a.catch(()=>{}),u}finally{if(c)clearTimeout(c)}return rue(s,r)}async function oue(e,{params:t}){let{id:n}=await t;try{let r=await De(n);if(!r)return Response.json({error:"Session not found"},{status:404});let i=Be(n),{session:o}=i?.isAlive()?{session:i}:await kr(n,r,void 0);await o.waitUntilReady?.();let s=await _I(o.inner);if(!o.isAlive())return Response.json({error:"The session was closed while its title was being generated. Please try again."},{status:409});return o.inner.setSessionName(s.title),qe(),Response.json({title:s.title,usage:s.usage??null})}catch(r){return console.error(`[api] ${new URL(e.url).pathname} failed:`,r),Response.json({error:r instanceof Error?r.message:String(r)},{status:500})}}var D0={};Z(D0,{GET:()=>sue});async function sue(e,{params:t}){let{id:n}=await t;try{let r=await De(n);if(!r)return Response.json({error:"Session not found"},{status:404});return Response.json({files:El(r)})}catch(r){return Response.json({error:String(r)},{status:500})}}var E0={};Z(E0,{GET:()=>cue});import{SessionManager as aue}from"@earendil-works/pi-coding-agent";async function cue(e,{params:t}){let{id:n}=await t,r=new URL(e.url),i=r.searchParams.get("leafId")??void 0,o=r.searchParams.has("deferThinking"),s=r.searchParams.has("deferMedia");try{let a=await De(n);if(!a)return Response.json({error:"Session not found"},{status:404});let c=aue.open(a),u=vl(c.getEntries(),i,{deferThinking:o,deferToolResultImages:s});return Response.json({context:u})}catch(a){return console.error(`[api] ${new URL(e.url).pathname} failed:`,a),Response.json({error:String(a)},{status:500})}}var S0={};Z(S0,{GET:()=>uue});async function uue(e,{params:t}){let{id:n,entryId:r}=await t,i=new URL(e.url).searchParams.get("blockIndex"),o=i===null?Number.NaN:Number(i);if(!Number.isSafeInteger(o)||o<0)return Response.json({error:"Valid blockIndex is required"},{status:400});try{let s=await De(n);if(!s)return Response.json({error:"Session not found"},{status:404});let a=bl(s).find((u)=>u.id===r);if(a?.type!=="message"||a.message.role!=="assistant")return Response.json({error:"Assistant message not found"},{status:404});let c=a.message.content[o];if(c?.type!=="thinking")return Response.json({error:"Thinking block not found"},{status:404});return Response.json({thinking:c.thinking})}catch(s){return Response.json({error:String(s)},{status:500})}}var T0={};Z(T0,{GET:()=>kue,runtime:()=>Due});import{execFile as lue}from"node:child_process";import{randomUUID as due}from"node:crypto";import{existsSync as fue,mkdirSync as pue,readFileSync as hue,rmSync as gue}from"node:fs";import{tmpdir as mue}from"node:os";import{basename as yue,dirname as bue,join as Ls}from"node:path";import{fileURLToPath as vue,pathToFileURL as xue}from"node:url";import{promisify as wue}from"node:util";var _ue=wue(lue),Due="nodejs";async function DI(){try{let{getPackageDir:e}=await import("@earendil-works/pi-coding-agent");return e()}catch{return null}}function Eue(e){return encodeURIComponent(e).replace(/[!'()*]/g,(t)=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)}function Sue(e,t){let n=e.replace(/[^\x20-\x7E]|["\\;\r\n]/g,"_")||"session.html";return`${t?"inline":"attachment"}; filename="${n}"; filename*=UTF-8''${Eue(e)}`}async function Tue(){let e=new Set,t=await DI();if(t)e.add(Ls(t,"dist","cli.js"));try{let n=import.meta.resolve;if(typeof n==="function"){let r=await n("@earendil-works/pi-coding-agent");e.add(Ls(bue(vue(r)),"cli.js"))}}catch{}e.add(Ls(process.cwd(),"node_modules","@earendil-works","pi-coding-agent","dist","cli.js"));for(let n of e)if(fue(n))return n;return null}function Cue(e){let t=(r)=>r.replace(/\r\n/g,`
|
|
372
372
|
`);e=t(e);let n=(r,i,o,s)=>{let a=t(o),c=t(s),u=r.split(a).length-1;if(u!==1)throw Error(`Failed to patch exported HTML: ${i} expected 1 match, found ${u}`);return r.replace(a,c)};return e=n(e,"sortChildren",` function sortChildren(node) {
|
|
373
373
|
node.children.sort((a, b) =>
|
|
374
374
|
new Date(a.entry.timestamp).getTime() - new Date(b.entry.timestamp).getTime()
|
|
@@ -422,14 +422,14 @@ ${w0}`:[...t.content,{type:"text",text:w0}];return[...e.slice(0,-1),{...t,conten
|
|
|
422
422
|
}
|
|
423
423
|
containsActive.set(node, has);
|
|
424
424
|
}
|
|
425
|
-
}`),e}async function
|
|
426
|
-
`),o=JSON.parse(i[0]);if(o.type==="session"&&o.parentSession&&Ut(o.parentSession)===n)o.parentSession=t,i[0]=JSON.stringify(o),
|
|
427
|
-
`))}catch{}}async function jue(e,{params:t}){let{id:n}=await t;try{let r=await De(n);if(!r)return Response.json({error:"Session not found"},{status:404});let i=[];try{let s=await e.json();if(Array.isArray(s?.deleteAuxFiles))i=s.deleteAuxFiles.filter((a)=>typeof a==="string");if(s?.deleteAllAuxFiles===!0)i=El(r).map((a)=>a.name)}catch{}let o=(await T1(r))?.parentSession;Bue(r,o),Be(n)?.destroy(),CI(r);try{CI(Rl(r))}catch{}return Q1(r,i),tg(n),qe(),Response.json({ok:!0})}catch(r){return Response.json({error:String(r)},{status:500})}}var k0={};Z(k0,{GET:()=>que});async function que(e,{params:t}){let{id:n}=await t;try{let r=Be(n);if(r?.isAlive()){let i=await r.send({type:"get_state"});return Response.json({running:!0,state:i})}if(!await De(n))return Response.json({error:"Session not found"},{status:404});return Response.json({running:!1})}catch(r){return Response.json({error:String(r)},{status:500})}}var U0={};Z(U0,{POST:()=>$ue});async function $ue(e){let t;try{t=await e.json()}catch{return Response.json({error:"invalid body"},{status:400})}if(!Array.isArray(t.ids)||t.ids.some((i)=>typeof i!=="string"||i.length===0))return Response.json({error:"ids must be an array of session ids"},{status:400});let{restarted:n,skipped:r}=ya(t.ids,{skipRunning:!0});return Response.json({ok:!0,restarted:n.length,skipped:r.length})}var R0={};Z(R0,{GET:()=>Hue});async function Hue(e){try{let t=e.headers.get("cache-control")?.includes("no-store"),n=ae(e),r;if(n)gl(),r=await bi(n),pl(r.map((i)=>i.id),n);else r=await Ar(t?"fresh":void 0);return Response.json({sessions:r,runningSessionIds:gg()})}catch(t){return console.error(`[api] ${new URL(e.url).pathname} failed:`,t),Response.json({error:String(t)},{status:500})}}var M0={};Z(M0,{POST:()=>sle});import{execFile as Gue}from"node:child_process";import{mkdtemp as zue,rm as Vue}from"node:fs/promises";import{tmpdir as Xue}from"node:os";import{join as Kue}from"node:path";import{promisify as Zue}from"node:util";var Yue=15000,F0=30000,Jue=process.env.SKILLS_API_URL||"https://skills.sh",P0=Zue(Gue);class O0 extends Error{status;constructor(e){super(`HTTP ${e}`);this.status=e}}function UI(e){let t=I0(e.skillPath??""),n=t?`${e.source}/${t}`:e.source,r=e.ref?`#${encodeURIComponent(e.ref)}`:"",i=["skills","add",`${n}${r}`,"--skill",RI(e.package),"-y","--agent","pi"];if(e.scope==="global")i.push("-g");return i}function Que(e){return e.toLowerCase().replace(/[\s_]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,"")}function RI(e){let t=e.lastIndexOf("@");return t>=0?e.slice(t+1):e}function I0(e){let t=e.replace(/\\/g,"/");if(t.toLowerCase().endsWith("/skill.md"))t=t.slice(0,-9);else if(t.toLowerCase().endsWith("skill.md"))t=t.slice(0,-8);return t.replace(/\/$/,"")}function Bs(e,t,n,r){return{package:e.package,scope:e.scope,state:t,currentVersion:e.versionHash,latestVersion:n,message:r}}async function FI(e,t,n){let r=await t(e,{cache:"no-store",headers:n,signal:AbortSignal.timeout(Yue)});if(!r.ok)throw new O0(r.status);return r.json()}async function ele(e){let t=`https://github.com/${e.source}.git`,n=e.ref||"HEAD",r=I0(e.skillPath),i=await zue(Kue(Xue(),"pi-web-skill-check-"));try{await P0("git",["init","--bare",i],{timeout:F0}),await P0("git",[`--git-dir=${i}`,"fetch","--depth=1","--filter=blob:none","--no-tags",t,n],{timeout:F0});let o=r?`FETCH_HEAD:${r}`:"FETCH_HEAD^{tree}",{stdout:s}=await P0("git",[`--git-dir=${i}`,"rev-parse",o],{timeout:F0}),a=s.trim();if(!/^[0-9a-f]{40}$/i.test(a))throw Error("Invalid Git tree hash");return a}finally{await Vue(i,{recursive:!0,force:!0})}}async function tle(e,t){let n=e.ref||"HEAD",r=`https://api.github.com/repos/${e.source}/git/trees/${encodeURIComponent(n)}?recursive=1`,i={Accept:"application/vnd.github.v3+json","User-Agent":"pi-web"};if(t.githubToken)i.Authorization=`Bearer ${t.githubToken}`;let o=I0(e.skillPath),s;try{let a=await FI(r,t.fetcher,i);if(s=typeof a.sha==="string"&&!o?a.sha:void 0,o&&Array.isArray(a.tree)){let c=a.tree.find((u)=>u.type==="tree"&&u.path===o);if(c&&typeof c.sha==="string")s=c.sha}}catch(a){if(!(a instanceof O0)||![401,403,429].includes(a.status))throw a;s=await t.resolveGitTreeHash(e)}if(!s)return Bs(e,"error",void 0,"Remote skill path was not found.");return Bs(e,s===e.versionHash?"up-to-date":"update-available",s)}async function nle(e,t){let[n,r]=e.source.split("/"),i=Que(RI(e.package)),o=`${t.skillsApiBase}/api/download/${encodeURIComponent(n)}/${encodeURIComponent(r)}/${encodeURIComponent(i)}`,s=await FI(o,t.fetcher),a=typeof s.hash==="string"?s.hash:void 0;if(!a)return Bs(e,"error",void 0,"skills.sh did not return a version hash.");return Bs(e,a===e.versionHash?"up-to-date":"update-available",a)}async function rle(e,t={}){if(!e.canCheckForUpdates||!e.versionHash||!e.skillPath)return Bs(e,"unsupported",void 0,"This lock entry cannot be checked automatically.");let n={...t,fetcher:t.fetcher??fetch,skillsApiBase:t.skillsApiBase??Jue,resolveGitTreeHash:t.resolveGitTreeHash??ele};try{return e.scope==="global"?await tle(e,n):await nle(e,n)}catch(r){return Bs(e,"error",void 0,r instanceof Error?r.message:String(r))}}async function PI(e,t={}){let n=t.fetcher??fetch,r=new Map,i=async(o,s)=>{let a=r.get(o);if(!a)a=n(o,s),r.set(o,a);return(await a).clone()};return Promise.all(e.map((o)=>rle(o,{...t,fetcher:i})))}function ile(e){let{cwd:t,package:n,scope:r}=e??{},i=typeof t==="string"?t:"";if(!i)return Response.json({error:"cwd required"},{status:400});let o=typeof n==="string"?n:void 0,s=r==="global"||r==="project"?r:void 0;if(o&&!s||!o&&s)return Response.json({error:"package and scope must be provided together"},{status:400});return{cwd:i,pkg:o,scope:s}}function ole(e,t,n){return e.map((r)=>r.install).filter((r)=>Boolean(r)).filter((r)=>!t||r.package===t&&r.scope===n)}async function sle(e){try{let t=ile(await e.json());if(t instanceof Response)return t;let n=await oe();if(!ce(t.cwd,n))return Response.json({error:"Access denied"},{status:403});let{skills:r}=await sn(t.cwd),i=ole(r,t.pkg,t.scope);if(t.pkg&&i.length===0)return Response.json({error:"Installed skill not found"},{status:404});let o=await PI(i,{githubToken:process.env.GITHUB_TOKEN||process.env.GH_TOKEN});return Response.json({updates:o})}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var N0={};Z(N0,{GET:()=>ale});async function ale(e){await vn();try{let t=(e.headers.get("cache-control")??"").includes("no-store");return Response.json(await sn("",{forceFresh:t}))}catch(t){return Response.json({error:String(t)},{status:500})}}var L0={};Z(L0,{POST:()=>ble});import{getAgentDir as hle}from"@earendil-works/pi-coding-agent";import{execFile as cle}from"node:child_process";import{existsSync as ule}from"node:fs";import{dirname as lle,join as OI}from"node:path";import{execPath as II}from"node:process";import{promisify as dle}from"node:util";var fle=dle(cle);function ple(){let e=lle(II),t=[OI(e,"node_modules","npm","bin","npx-cli.js"),OI(e,"..","lib","node_modules","npm","bin","npx-cli.js")];for(let n of t)try{if(ule(n))return n}catch{}return null}async function Ws(e,t={}){let n=ple(),{command:r,commandArgs:i}=n?{command:II,commandArgs:[n,...e]}:{command:"npx",commandArgs:e};return fle(r,i,{timeout:t.timeout,cwd:t.cwd,env:t.env})}var MI=/\x1B\[[0-9;]*m/g;function gle(e){let{package:t,scope:n,cwd:r}=e??{};if(!t?.trim())return Response.json({error:"package required"},{status:400});let i=n!=="project",o=t.trim();if(i)return{isGlobal:i,pkg:o,cwd:r};if(!r)return Response.json({error:"cwd required for project install"},{status:400});return{isGlobal:i,pkg:o,cwd:r}}async function mle(e,t){if(!ce(e,t))return Response.json({error:"Access denied"},{status:403});if(!Oe(e,hle()).trusted)return Response.json({error:"Project resources must be trusted before installing project skills"},{status:403});return null}async function yle(e,t,n){let r=["skills","add",t,"-y","--agent","pi"];if(e)r.push("-g");console.log(`[skills/install] running: npx ${r.join(" ")}`);let{stdout:i,stderr:o}=await Ws(r,{timeout:60000,cwd:!e&&n?n:void 0,env:{...process.env,FORCE_COLOR:"0"}}),s=(i+o).replace(MI,"");if(!/Installation complete|Installed \d+ skill/.test(s))return Response.json({error:s.slice(-300)||"Install failed"},{status:500});return{output:s}}async function ble(e){if(!Ft(e))return Response.json({error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({error:"Content-Type must be application/json"},{status:415});try{let t=gle(await e.json());if(t instanceof Response)return t;let{isGlobal:n,pkg:r,cwd:i}=t;if(!n&&i){let s=await oe(),a=await mle(i,s);if(a)return a}let o=await yle(n,r,i);if(o instanceof Response)return o;return Response.json({success:!0,output:o.output})}catch(t){let n=t,r=((n.stdout??"")+(n.stderr??"")).replace(MI,"");return Response.json({error:r||(n.message??String(t))},{status:500})}}Ul();var B0={};Z(B0,{GET:()=>Ele,PATCH:()=>Sle});import{existsSync as NI,readFileSync as vle}from"node:fs";import{homedir as xle}from"node:os";import wle from"node:path";import{getAgentDir as _le,parseFrontmatter as Dle}from"@earendil-works/pi-coding-agent";async function Ele(e){let{searchParams:t}=new URL(e.url),n=t.get("cwd");if(!n)return Response.json({error:"cwd required"},{status:400});try{let r=await oe();if(!ce(n,r))return Response.json({error:"Access denied"},{status:403});let i=await sn(n,{forceFresh:(e.headers.get("cache-control")??"").includes("no-store")});return Response.json({...i,skills:i.skills.filter((o)=>o.sourceInfo?.scope==="project")})}catch(r){return Response.json({error:String(r)},{status:500})}}async function Sle(e){try{let t=await e.json(),{filePath:n,disableModelInvocation:r,cwd:i}=t;if(!n)return Response.json({error:"filePath required"},{status:400});if(!NI(n))return Response.json({error:"file not found"},{status:404});let o=new Set(await oe());o.add(_le());let s=wle.join(xle(),".agents","skills");if(NI(s))o.add(s);if(!ce(n,o))return Response.json({error:"Access denied"},{status:403});let a=vle(n,"utf8"),c="disable-model-invocation",{frontmatter:u}=Dle(a),d=Boolean(u[c]),f=a;if(r&&!d){if(f=a.replace(/^---\r?\n/,`---
|
|
425
|
+
}`),e}async function Aue(e,t){let n=await Tue();if(n){await _ue(process.execPath,[n,"--export",e,t],{cwd:process.cwd(),timeout:30000,env:{...process.env,PI_OFFLINE:"1",PI_SKIP_VERSION_CHECK:"1"},maxBuffer:1048576});return}let r=await DI();if(!r)throw Error("pi CLI not found");let i=xue(Ls(r,"dist","core","export-html","index.js")).href,{exportFromFile:o}=await import(i);await o(e,t)}async function kue(e,{params:t}){let{id:n}=await t,r=new URL(e.url).searchParams.get("inline")==="1";try{let i=await De(n);if(!i)return Response.json({error:"Session not found"},{status:404});let o=Ls(mue(),"pi-web-export");pue(o,{recursive:!0});let a=`pi-session-${yue(i,".jsonl")}.html`,c=Ls(o,`${due()}.html`);try{await Aue(i,c);let u=hue(c,"utf8"),d=Cue(u);return new Response(d,{headers:{"Content-Type":"text/html; charset=utf-8","Content-Disposition":Sue(a,r),"Cache-Control":"no-cache","Content-Security-Policy":"frame-ancestors 'none'","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY"}})}finally{gue(c,{force:!0})}}catch(i){return Response.json({error:String(i)},{status:500})}}var C0={};Z(C0,{GET:()=>Uue,PUT:()=>Rue});import{existsSync as SI}from"node:fs";async function TI(e){return De(e)}async function Uue(e,{params:t}){let{id:n}=await t;try{let r=await TI(n);if(!r||!SI(r))return Response.json({error:"Session not found"},{status:404});return Response.json({success:!0,data:Fl(r)})}catch(r){return Response.json({error:String(r)},{status:500})}}var EI=500,kp=300;async function Rue(e,{params:t}){let{id:n}=await t;try{let r=await TI(n);if(!r||!SI(r))return Response.json({error:"Session not found"},{status:404});let i=await e.json();if(i.toolPreset!==void 0){if(typeof i.toolPreset!=="string"||i.toolPreset.length===0)return Response.json({error:"toolPreset must be a non-empty string"},{status:400});let{presets:c}=await Eo();if(!c.some((u)=>u.name===i.toolPreset))return Response.json({error:`Unknown tool preset: ${i.toolPreset}`},{status:400})}let o;if(i.ui!==void 0){if(typeof i.ui!=="object"||i.ui===null)return Response.json({error:"ui must be an object"},{status:400});let c=i.ui;if(o={},c.collapsedTurns!==void 0){let u=c.collapsedTurns;if(!Array.isArray(u)||u.length>EI||u.some((d)=>typeof d!=="string"))return Response.json({error:`ui.collapsedTurns must be ≤${EI} strings`},{status:400});o.collapsedTurns=u}if(c.expandedBlocks!==void 0){let u=c.expandedBlocks,d=typeof u==="object"&&u!==null&&!Array.isArray(u)?Object.entries(u):null;if(!d||d.length>kp||d.some(([f,p])=>typeof f!=="string"||typeof p!=="boolean"))return Response.json({error:`ui.expandedBlocks must be ≤${kp} string→boolean`},{status:400});o.expandedBlocks=Object.fromEntries(d)}if(c.expandedTurns!==void 0){let u=c.expandedTurns,d=typeof u==="object"&&u!==null&&!Array.isArray(u)?Object.entries(u):null;if(!d||d.length>kp||d.some(([f,p])=>typeof f!=="string"||typeof p!=="boolean"))return Response.json({error:`ui.expandedTurns must be ≤${kp} string→boolean`},{status:400});o.expandedTurns=Object.fromEntries(d)}}let s=Fl(r),a={...s,version:1,...i.toolPreset!==void 0?{toolPreset:i.toolPreset}:{}};if(o&&Object.keys(o).length>0)a.ui={...s?.ui??{},...o};return F_(r,a),Response.json({success:!0,data:a})}catch(r){return Response.json({error:String(r)},{status:500})}}var A0={};Z(A0,{DELETE:()=>$ue,GET:()=>Bue,PATCH:()=>Wue});import{readdirSync as Fue,readFileSync as Pue,statSync as Oue,unlinkSync as CI,writeFileSync as Iue}from"node:fs";import{dirname as Mue,join as AI}from"node:path";import{SessionManager as kI}from"@earendil-works/pi-coding-agent";var Nue=200;function Lue(e){let t=new Set,n=new Set(e),r=new Set,i=[...e];while(i.length>0){let d=i.pop();if(r.has(d))continue;if(r.add(d),n.has(d)||d.children.length!==1)t.add(d);for(let f of d.children)i.push(f)}let o=(d,f)=>({...d,children:[],...f?.length?{compressedEntryIds:f}:{}}),s=e.map((d)=>o(d)),a=e.map((d,f)=>({source:d,projected:s[f],depth:1})),c=(d,f,p)=>{let h=[{node:d,compressedEntryIds:[]}],g=new Set;while(h.length>0){let{node:b,compressedEntryIds:v}=h.pop();if(g.has(b))continue;if(g.add(b),t.has(b)&&!p.has(b.entry.id))p.add(b.entry.id),f.children.push(o(b,v));for(let y=b.children.length-1;y>=0;y--)h.push({node:b.children[y],compressedEntryIds:t.has(b)?[]:[...v,b.entry.id]})}},u=new Set;while(a.length>0){let{source:d,projected:f,depth:p}=a.pop();u.clear();for(let h of f.children)u.add(h.entry.id);for(let h of d.children){let g=h;if(p>=Nue){c(g,f,u);continue}let b=[];while(!t.has(g)&&g.children.length===1)b.push(g.entry.id),g=g.children[0];if(!t.has(g))continue;if(u.has(g.entry.id))continue;u.add(g.entry.id);let v=o(g,b);f.children.push(v),a.push({source:g,projected:v,depth:p+1})}}return s}async function Bue(e,{params:t}){let{id:n}=await t;try{let r=await De(n);if(!r)return Response.json({error:"Session not found"},{status:404});let i=kI.open(r),o=i.getEntries(),s=i.getLeafId(),a=Lue(i.getTree()),c=new URL(e.url).searchParams,u=c.has("deferThinking"),d=c.has("deferMedia"),f=vl(o,s,{deferThinking:u,deferToolResultImages:d}),p=i.getHeader(),h=p?.timestamp??new Date().toISOString();try{h=Oue(r).mtime.toISOString()}catch{}let g=p?.parentSession?await yl(p.parentSession):void 0,b=p?{path:r,id:p.id,cwd:p.cwd??"",name:i.getSessionName(),created:p.timestamp,modified:h,messageCount:f.messages.length,firstMessage:f.messages.find((v)=>v.role==="user")?(()=>{let y=f.messages.find((x)=>x.role==="user").content;return typeof y==="string"?y:(Array.isArray(y)?y.find((x)=>x.type==="text")?.text??"":"")||"(no messages)"})():"(no messages)",parentSessionId:g}:null;return Response.json({sessionId:n,filePath:r,info:b,leafId:s,tree:a,context:f})}catch(r){return Response.json({error:String(r)},{status:500})}}async function Wue(e,{params:t}){let{id:n}=await t;try{let{name:r}=await e.json();if(typeof r!=="string")return Response.json({error:"name is required"},{status:400});let i=await De(n);if(!i)return Response.json({error:"Session not found"},{status:404});return kI.open(i).appendSessionInfo(r.trim()),qe(),Response.json({ok:!0})}catch(r){return Response.json({error:String(r)},{status:500})}}function jue(e,t){let n=Ut(e),r=Mue(e);try{let i=Fue(r).filter((o)=>o.endsWith(".jsonl")&&Ut(AI(r,o))!==n);for(let o of i)que(AI(r,o),t,n)}catch{}}function que(e,t,n){try{let i=Pue(e,"utf8").split(`
|
|
426
|
+
`),o=JSON.parse(i[0]);if(o.type==="session"&&o.parentSession&&Ut(o.parentSession)===n)o.parentSession=t,i[0]=JSON.stringify(o),Iue(e,i.join(`
|
|
427
|
+
`))}catch{}}async function $ue(e,{params:t}){let{id:n}=await t;try{let r=await De(n);if(!r)return Response.json({error:"Session not found"},{status:404});let i=[];try{let s=await e.json();if(Array.isArray(s?.deleteAuxFiles))i=s.deleteAuxFiles.filter((a)=>typeof a==="string");if(s?.deleteAllAuxFiles===!0)i=El(r).map((a)=>a.name)}catch{}let o=(await T1(r))?.parentSession;jue(r,o),Be(n)?.destroy(),CI(r);try{CI(Rl(r))}catch{}return Q1(r,i),tg(n),qe(),Response.json({ok:!0})}catch(r){return Response.json({error:String(r)},{status:500})}}var k0={};Z(k0,{GET:()=>Hue});async function Hue(e,{params:t}){let{id:n}=await t;try{let r=Be(n);if(r?.isAlive()){let i=await r.send({type:"get_state"});return Response.json({running:!0,state:i})}if(!await De(n))return Response.json({error:"Session not found"},{status:404});return Response.json({running:!1})}catch(r){return Response.json({error:String(r)},{status:500})}}var U0={};Z(U0,{POST:()=>Gue});async function Gue(e){let t;try{t=await e.json()}catch{return Response.json({error:"invalid body"},{status:400})}if(!Array.isArray(t.ids)||t.ids.some((i)=>typeof i!=="string"||i.length===0))return Response.json({error:"ids must be an array of session ids"},{status:400});let{restarted:n,skipped:r}=ya(t.ids,{skipRunning:!0});return Response.json({ok:!0,restarted:n.length,skipped:r.length})}var R0={};Z(R0,{GET:()=>zue});async function zue(e){try{let t=e.headers.get("cache-control")?.includes("no-store"),n=ae(e),r;if(n)gl(),r=await bi(n),pl(r.map((i)=>i.id),n);else r=await Ar(t?"fresh":void 0);return Response.json({sessions:r,runningSessionIds:gg()})}catch(t){return console.error(`[api] ${new URL(e.url).pathname} failed:`,t),Response.json({error:String(t)},{status:500})}}var M0={};Z(M0,{POST:()=>cle});import{execFile as Vue}from"node:child_process";import{mkdtemp as Xue,rm as Kue}from"node:fs/promises";import{tmpdir as Zue}from"node:os";import{join as Yue}from"node:path";import{promisify as Jue}from"node:util";var Que=15000,F0=30000,ele=process.env.SKILLS_API_URL||"https://skills.sh",P0=Jue(Vue);class O0 extends Error{status;constructor(e){super(`HTTP ${e}`);this.status=e}}function UI(e){let t=I0(e.skillPath??""),n=t?`${e.source}/${t}`:e.source,r=e.ref?`#${encodeURIComponent(e.ref)}`:"",i=["skills","add",`${n}${r}`,"--skill",RI(e.package),"-y","--agent","pi"];if(e.scope==="global")i.push("-g");return i}function tle(e){return e.toLowerCase().replace(/[\s_]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,"")}function RI(e){let t=e.lastIndexOf("@");return t>=0?e.slice(t+1):e}function I0(e){let t=e.replace(/\\/g,"/");if(t.toLowerCase().endsWith("/skill.md"))t=t.slice(0,-9);else if(t.toLowerCase().endsWith("skill.md"))t=t.slice(0,-8);return t.replace(/\/$/,"")}function Bs(e,t,n,r){return{package:e.package,scope:e.scope,state:t,currentVersion:e.versionHash,latestVersion:n,message:r}}async function FI(e,t,n){let r=await t(e,{cache:"no-store",headers:n,signal:AbortSignal.timeout(Que)});if(!r.ok)throw new O0(r.status);return r.json()}async function nle(e){let t=`https://github.com/${e.source}.git`,n=e.ref||"HEAD",r=I0(e.skillPath),i=await Xue(Yue(Zue(),"pi-web-skill-check-"));try{await P0("git",["init","--bare",i],{timeout:F0}),await P0("git",[`--git-dir=${i}`,"fetch","--depth=1","--filter=blob:none","--no-tags",t,n],{timeout:F0});let o=r?`FETCH_HEAD:${r}`:"FETCH_HEAD^{tree}",{stdout:s}=await P0("git",[`--git-dir=${i}`,"rev-parse",o],{timeout:F0}),a=s.trim();if(!/^[0-9a-f]{40}$/i.test(a))throw Error("Invalid Git tree hash");return a}finally{await Kue(i,{recursive:!0,force:!0})}}async function rle(e,t){let n=e.ref||"HEAD",r=`https://api.github.com/repos/${e.source}/git/trees/${encodeURIComponent(n)}?recursive=1`,i={Accept:"application/vnd.github.v3+json","User-Agent":"pi-web"};if(t.githubToken)i.Authorization=`Bearer ${t.githubToken}`;let o=I0(e.skillPath),s;try{let a=await FI(r,t.fetcher,i);if(s=typeof a.sha==="string"&&!o?a.sha:void 0,o&&Array.isArray(a.tree)){let c=a.tree.find((u)=>u.type==="tree"&&u.path===o);if(c&&typeof c.sha==="string")s=c.sha}}catch(a){if(!(a instanceof O0)||![401,403,429].includes(a.status))throw a;s=await t.resolveGitTreeHash(e)}if(!s)return Bs(e,"error",void 0,"Remote skill path was not found.");return Bs(e,s===e.versionHash?"up-to-date":"update-available",s)}async function ile(e,t){let[n,r]=e.source.split("/"),i=tle(RI(e.package)),o=`${t.skillsApiBase}/api/download/${encodeURIComponent(n)}/${encodeURIComponent(r)}/${encodeURIComponent(i)}`,s=await FI(o,t.fetcher),a=typeof s.hash==="string"?s.hash:void 0;if(!a)return Bs(e,"error",void 0,"skills.sh did not return a version hash.");return Bs(e,a===e.versionHash?"up-to-date":"update-available",a)}async function ole(e,t={}){if(!e.canCheckForUpdates||!e.versionHash||!e.skillPath)return Bs(e,"unsupported",void 0,"This lock entry cannot be checked automatically.");let n={...t,fetcher:t.fetcher??fetch,skillsApiBase:t.skillsApiBase??ele,resolveGitTreeHash:t.resolveGitTreeHash??nle};try{return e.scope==="global"?await rle(e,n):await ile(e,n)}catch(r){return Bs(e,"error",void 0,r instanceof Error?r.message:String(r))}}async function PI(e,t={}){let n=t.fetcher??fetch,r=new Map,i=async(o,s)=>{let a=r.get(o);if(!a)a=n(o,s),r.set(o,a);return(await a).clone()};return Promise.all(e.map((o)=>ole(o,{...t,fetcher:i})))}function sle(e){let{cwd:t,package:n,scope:r}=e??{},i=typeof t==="string"?t:"";if(!i)return Response.json({error:"cwd required"},{status:400});let o=typeof n==="string"?n:void 0,s=r==="global"||r==="project"?r:void 0;if(o&&!s||!o&&s)return Response.json({error:"package and scope must be provided together"},{status:400});return{cwd:i,pkg:o,scope:s}}function ale(e,t,n){return e.map((r)=>r.install).filter((r)=>Boolean(r)).filter((r)=>!t||r.package===t&&r.scope===n)}async function cle(e){try{let t=sle(await e.json());if(t instanceof Response)return t;let n=await oe();if(!ce(t.cwd,n))return Response.json({error:"Access denied"},{status:403});let{skills:r}=await sn(t.cwd),i=ale(r,t.pkg,t.scope);if(t.pkg&&i.length===0)return Response.json({error:"Installed skill not found"},{status:404});let o=await PI(i,{githubToken:process.env.GITHUB_TOKEN||process.env.GH_TOKEN});return Response.json({updates:o})}catch(t){return Response.json({error:t instanceof Error?t.message:String(t)},{status:500})}}var N0={};Z(N0,{GET:()=>ule});async function ule(e){await vn();try{let t=(e.headers.get("cache-control")??"").includes("no-store");return Response.json(await sn("",{forceFresh:t}))}catch(t){return Response.json({error:String(t)},{status:500})}}var L0={};Z(L0,{POST:()=>xle});import{getAgentDir as mle}from"@earendil-works/pi-coding-agent";import{execFile as lle}from"node:child_process";import{existsSync as dle}from"node:fs";import{dirname as fle,join as OI}from"node:path";import{execPath as II}from"node:process";import{promisify as ple}from"node:util";var hle=ple(lle);function gle(){let e=fle(II),t=[OI(e,"node_modules","npm","bin","npx-cli.js"),OI(e,"..","lib","node_modules","npm","bin","npx-cli.js")];for(let n of t)try{if(dle(n))return n}catch{}return null}async function Ws(e,t={}){let n=gle(),{command:r,commandArgs:i}=n?{command:II,commandArgs:[n,...e]}:{command:"npx",commandArgs:e};return hle(r,i,{timeout:t.timeout,cwd:t.cwd,env:t.env})}var MI=/\x1B\[[0-9;]*m/g;function yle(e){let{package:t,scope:n,cwd:r}=e??{};if(!t?.trim())return Response.json({error:"package required"},{status:400});let i=n!=="project",o=t.trim();if(i)return{isGlobal:i,pkg:o,cwd:r};if(!r)return Response.json({error:"cwd required for project install"},{status:400});return{isGlobal:i,pkg:o,cwd:r}}async function ble(e,t){if(!ce(e,t))return Response.json({error:"Access denied"},{status:403});if(!Oe(e,mle()).trusted)return Response.json({error:"Project resources must be trusted before installing project skills"},{status:403});return null}async function vle(e,t,n){let r=["skills","add",t,"-y","--agent","pi"];if(e)r.push("-g");console.log(`[skills/install] running: npx ${r.join(" ")}`);let{stdout:i,stderr:o}=await Ws(r,{timeout:60000,cwd:!e&&n?n:void 0,env:{...process.env,FORCE_COLOR:"0"}}),s=(i+o).replace(MI,"");if(!/Installation complete|Installed \d+ skill/.test(s))return Response.json({error:s.slice(-300)||"Install failed"},{status:500});return{output:s}}async function xle(e){if(!Ft(e))return Response.json({error:"Untrusted API request"},{status:403});if(!Ur(e))return Response.json({error:"Content-Type must be application/json"},{status:415});try{let t=yle(await e.json());if(t instanceof Response)return t;let{isGlobal:n,pkg:r,cwd:i}=t;if(!n&&i){let s=await oe(),a=await ble(i,s);if(a)return a}let o=await vle(n,r,i);if(o instanceof Response)return o;return Response.json({success:!0,output:o.output})}catch(t){let n=t,r=((n.stdout??"")+(n.stderr??"")).replace(MI,"");return Response.json({error:r||(n.message??String(t))},{status:500})}}Ul();var B0={};Z(B0,{GET:()=>Tle,PATCH:()=>Cle});import{existsSync as NI,readFileSync as wle}from"node:fs";import{homedir as _le}from"node:os";import Dle from"node:path";import{getAgentDir as Ele,parseFrontmatter as Sle}from"@earendil-works/pi-coding-agent";async function Tle(e){let{searchParams:t}=new URL(e.url),n=t.get("cwd");if(!n)return Response.json({error:"cwd required"},{status:400});try{let r=await oe();if(!ce(n,r))return Response.json({error:"Access denied"},{status:403});let i=await sn(n,{forceFresh:(e.headers.get("cache-control")??"").includes("no-store")});return Response.json({...i,skills:i.skills.filter((o)=>o.sourceInfo?.scope==="project")})}catch(r){return Response.json({error:String(r)},{status:500})}}async function Cle(e){try{let t=await e.json(),{filePath:n,disableModelInvocation:r,cwd:i}=t;if(!n)return Response.json({error:"filePath required"},{status:400});if(!NI(n))return Response.json({error:"file not found"},{status:404});let o=new Set(await oe());o.add(Ele());let s=Dle.join(_le(),".agents","skills");if(NI(s))o.add(s);if(!ce(n,o))return Response.json({error:"Access denied"},{status:403});let a=wle(n,"utf8"),c="disable-model-invocation",{frontmatter:u}=Sle(a),d=Boolean(u[c]),f=a;if(r&&!d){if(f=a.replace(/^---\r?\n/,`---
|
|
428
428
|
${c}: true
|
|
429
429
|
`),f===a)f=`---
|
|
430
430
|
${c}: true
|
|
431
431
|
---
|
|
432
|
-
${a}`}else if(!r&&d)f=a.replace(new RegExp(`^${c}\\s*:.*\\r?\\n`,"m"),"");if(wa(n,f),i)k2(i==="global"?"":i,n,{disableModelInvocation:r});return Response.json({success:!0})}catch(t){return Response.json({error:String(t)},{status:500})}}var W0={};Z(W0,{POST:()=>
|
|
433
|
-
`);for(let i=0;i<r.length;i++){let s=r[i].trim().match(/^([\w.-]+\/[\w.\-@:]+)\s+([\d.,]+[KMB]?\s+installs)$/);if(s){let a=r[i+1]?.trim().replace(/^└\s*/,"");n.push({package:s[1],installs:s[2],url:a?.startsWith("https://")?a:""})}}return n}async function
|
|
434
|
-
`)}var jI=["read","bash","edit","write"],Up=new Map;Up.set("global",zn(Vn("defaultTools"))??null);function Ble(e,t){if(!e)return null;let n=Lle(e,".pi","settings.json"),r=Up.get(n);if(r===void 0)r=t,Up.set(n,r);return r}async function Wle(e){let n=new URL(e.url).searchParams.get("cwd")??"",{presets:r,exists:i}=await Eo(),o=null;if(n&&(n.startsWith("/")||Ie(n))){let d=await oe();if(ce(n,d))o=zn(Lu(n,"defaultTools"))??null}let s=zn(Vn("defaultTools"))??null,a=o?"project":s?"global":"sdk",c=Ble(o?n:null,o)??Up.get("global")??jI,u=o??s??jI;return Response.json({presets:r,exists:i,defaultTools:{effective:u,sessionTools:c,source:a,stale:q0(c)!==q0(u)}})}async function jle(e){let t;try{t=await e.json()}catch{return Response.json({error:"invalid body"},{status:400})}let n=Pg(t.presets);if(!n)return Response.json({error:"invalid presets"},{status:400});return await R_(n),Response.json({ok:!0})}Uo();var z0={};Z(z0,{GET:()=>dde});import{readFileSync as Qle}from"node:fs";import{join as ede}from"node:path";import{DefaultPackageManager as tde,getAgentDir as KI,SettingsManager as nde}from"@earendil-works/pi-coding-agent";import{mkdirSync as qle,readFileSync as $le,writeFileSync as Hle}from"node:fs";import{dirname as Gle,join as zle}from"node:path";import{getAgentDir as Vle}from"@earendil-works/pi-coding-agent";var H0=new Map;function qI(e){return zle(e??Vle(),"pi-web","updates.json")}function $I(e){return typeof e==="boolean"?e:void 0}function Xle(e){if(typeof e!=="object"||e===null||Array.isArray(e))return;let t={};for(let[n,r]of Object.entries(e)){if(n.trim()==="")continue;if(typeof r==="string"&&r.trim()!=="")t[n]=r}return Object.keys(t).length>0?t:void 0}function du(e){let t=e??"",n=H0.get(t);if(n!==void 0)return n;let r={enabled:!0,ignored:{}};try{let i=JSON.parse($le(qI(e),"utf8"));r={enabled:$I(i.enabled)??!0,ignored:Xle(i.ignored)??{}}}catch{}return H0.set(t,r),r}function HI(e,t){let n=du(t),r={enabled:e.enabled!==void 0?$I(e.enabled)??n.enabled:n.enabled,ignored:{...n.ignored}};if(e.ignored!==void 0)for(let[i,o]of Object.entries(e.ignored)){if(i.trim()==="")continue;if(o===null||o===void 0||o==="")delete r.ignored[i];else r.ignored[i]=o}try{let i=qI(t);qle(Gle(i),{recursive:!0}),Hle(i,JSON.stringify(r,null,2),"utf8")}catch{}return H0.set(t??"",r),r}function zI(e,t){let n=GI(e),r=GI(t),i=Math.max(n.length,r.length);for(let o=0;o<i;o++){let s=n[o]??0,a=r[o]??0;if(s>a)return 1;if(s<a)return-1}return 0}function GI(e){return e.replace(/^v/i,"").split(/[-+]/)[0].split(".").map((t)=>{let n=Number.parseInt(t,10);return Number.isNaN(n)?0:n})}import{readFileSync as Kle}from"node:fs";import{homedir as Zle}from"node:os";import{join as VI}from"node:path";var Yle="https://registry.npmjs.org";function XI(e,t,n=Zle()){let r=process.env.NPM_CONFIG_REGISTRY?.trim()||process.env.npm_config_registry?.trim();if(r)return r;let i=e.startsWith("@")?e.slice(0,e.indexOf("/")):null,o=[];if(t)o.push(VI(t,".npmrc"));o.push(VI(n,".npmrc"));for(let s of o){let a=Jle(s,i);if(a)return a}return Yle}function Jle(e,t){let n;try{n=Kle(e,"utf8")}catch{return null}let r=t?[`${t}:registry`,"registry"]:["registry"];for(let i of r)for(let o of n.split(/\r?\n/)){let s=o.trim();if(!s||s.startsWith("#")||s.startsWith(";"))continue;let a=s.indexOf("=");if(a<=0)continue;if(s.slice(0,a).trim()!==i)continue;let c=s.slice(a+1).trim().replace(/^["']|["']$/g,"");if(c)return c}return null}var rde="@rainmanhhh/pi-web",ide=1800000,ode=1e4;async function sde(e,t){let n=XI(e,t).replace(/\/+$/,"");try{let r=await fetch(`${n}/${encodeURIComponent(e)}/latest`,{signal:AbortSignal.timeout(ode),headers:{Accept:"application/json"}});if(!r.ok)return null;let i=await r.json();return typeof i.version==="string"?i.version:null}catch{return null}}function ZI(e,t){return{current:e,latest:t}}function ade(e){return e?Vt("settings.json",e)??KI():KI()}function cde(e){try{let t=JSON.parse(Qle(ede(e,"package.json"),"utf8"));if(typeof t.name!=="string"||typeof t.version!=="string")return;return{name:t.name,version:t.version}}catch{return}}async function ude(e,t,n){let r=ade(t),i=Oe(e,r),o=nde.create(e,r,{projectTrusted:i.trusted}),s=new tde({cwd:e,agentDir:r,settingsManager:o});try{let a=new Map;for(let c of s.listConfiguredPackages()){if(!c.installedPath||!c.source.startsWith("npm:"))continue;let u=cde(c.installedPath);if(!u)continue;let d=await JI(u.name,e,n);if(d===null||zI(d,u.version)<=0)continue;a.set(c.source,{source:c.source,displayName:u.name,type:"npm",scope:c.scope,current:u.version,latest:d})}return[...a.values()]}catch{return[]}}var YI=new Map,G0=new Map;function lde(e,t){return`${e}|${t??"<app>"}`}async function JI(e,t,n){let r=lde(e,t),i=YI.get(r);if(!n&&i&&Date.now()-i.checkedAt<ide)return i.latest;let o=G0.get(r);if(!n&&o)return o;let s=sde(e,t??void 0).finally(()=>{G0.delete(r)});G0.set(r,s);let a=await s;return YI.set(r,{latest:a,checkedAt:Date.now()}),a}async function dde(e){let{searchParams:t}=new URL(e.url),n=t.get("cwd"),r=t.get("refresh")==="1";if(n){let c=await oe();if(!ce(n,c))return Response.json({error:"Access denied"},{status:403})}let i=ae(e),o=du(i);if(!o.enabled)return Response.json({checkedAt:0,enabled:!1,ignored:o.ignored,piWeb:ZI(String(na.version),null),plugins:[]});let[s,a]=await Promise.all([JI(rde,n,r),n?ude(n,i,r):Promise.resolve([])]);return Response.json({checkedAt:Date.now(),enabled:!0,ignored:o.ignored,piWeb:ZI(String(na.version),s),plugins:a})}var V0={};Z(V0,{GET:()=>fde,PUT:()=>pde});async function fde(e){return Response.json(du(ae(e)))}async function pde(e){try{let t=await e.json(),n={};if(t.enabled!==void 0&&typeof t.enabled==="boolean")n.enabled=t.enabled;if(t.ignored!==void 0&&typeof t.ignored==="object"&&t.ignored!==null)n.ignored=t.ignored;let r=HI(n,ae(e));return Response.json(r)}catch{return Response.json({error:"invalid body"},{status:400})}}var K0={};Z(K0,{DELETE:()=>mde,GET:()=>hde,POST:()=>gde});import{existsSync as QI}from"node:fs";async function X0(e){let t=await oe();if(!Re(e,t)||!ce(e,t))return Response.json({error:"Access denied"},{status:403});return null}async function hde(e){try{let t=new URL(e.url).searchParams.get("cwd");if(!t)return Response.json({error:"cwd is required"},{status:400});let n=await X0(t);if(n)return n;let r=await fl(t),i=[],o=!0;try{i=await ig(QI(t)?t:r.projectRoot)}catch{o=!1}for(let s of i)Dt(s.path);return Response.json({projectRoot:r.projectRoot,isGit:o,isTopLevel:r.isTopLevel,worktrees:i})}catch(t){return Response.json({error:String(t)},{status:500})}}async function gde(e){try{let t=await e.json();if(!t.cwd||typeof t.cwd!=="string")return Response.json({error:"cwd is required"},{status:400});if(!t.branch||typeof t.branch!=="string")return Response.json({error:"branch is required"},{status:400});let n=await X0(t.cwd);if(n)return n;if(!QI(t.cwd))return Response.json({error:`Directory does not exist: ${t.cwd}`},{status:400});let r=await v1(t.cwd,t.branch);return Response.json(r)}catch(t){let n=t instanceof Error?t.message:String(t);return Response.json({error:n},{status:400})}}async function mde(e){try{let t=await e.json();if(!t.cwd||typeof t.cwd!=="string")return Response.json({error:"cwd is required"},{status:400});if(!t.path||typeof t.path!=="string")return Response.json({error:"path is required"},{status:400});let n=await X0(t.cwd);if(n)return n;return await x1(t.cwd,t.path,t.force===!0),Response.json({success:!0})}catch(t){let n=t instanceof Error?t.message:String(t),r=/contains modified or untracked files|is dirty/i.test(n);return Response.json({error:n,dirty:r},{status:r?409:400})}}import{createReadStream as yde}from"node:fs";import{stat as eM}from"node:fs/promises";import{extname as bde,join as Y0,normalize as vde}from"node:path";import{Readable as xde}from"node:stream";var wde=ze("static"),Z0=Y0(import.meta.dirname,"..","dist","static"),_de={".html":"text/html; charset=utf-8",".css":"text/css; charset=utf-8",".js":"text/javascript; charset=utf-8",".mjs":"text/javascript; charset=utf-8",".json":"application/json; charset=utf-8",".svg":"image/svg+xml",".png":"image/png",".ico":"image/x-icon",".webmanifest":"application/manifest+json",".woff2":"font/woff2",".txt":"text/plain; charset=utf-8"};async function tM(e){let t=performance.now(),n=new URL(e.req.url).pathname;if(n.startsWith("/api/"))return e.json({error:"Not found"},404);let r=n==="/"?"/index.html":decodeURIComponent(n),i=vde(Y0(Z0,r));if(!i.startsWith(Z0))return e.text("Forbidden",403);let o=i;try{if(!(await eM(i)).isFile())return e.text("Not found",404)}catch{o=Y0(Z0,"index.html");try{await eM(o)}catch{return e.text("Not found",404)}}return wde(e.req.path,`${Math.round(performance.now()-t)}ms`),new Response(xde.toWeb(yde(o)),{headers:{"content-type":_de[bde(o).toLowerCase()]??"application/octet-stream"}})}var X=new $h;X.use("/api/*",async(e,t)=>{let n=e.req.raw,r=n.url.includes("/api/");if(!(r?Ft(n):Cg(n))){if(!r)return new Response("Untrusted request",{status:403});return new Response(JSON.stringify({error:"Untrusted API request"}),{status:403,headers:{"content-type":"application/json"}})}let o=process.env.PI_WEB_PASSWORD;if(xa(o)&&!Al(n.headers.get("authorization"),o))return new Response("Authentication required",{status:401,headers:{"Cache-Control":"no-store","WWW-Authenticate":'Basic realm="Pi Web", charset="UTF-8"'}});await t()});Y(X,"/api/agent/running",Wg);Y(X,"/api/attachments",zg);Y(X,"/api/agent/[id]/bash-output",Ug);Y(X,"/api/agent/[id]/debug",Rg);Y(X,"/api/agent/[id]",Bg);Y(X,"/api/auth/all-providers",pm);Y(X,"/api/auth/api-key/[provider]",hm);Y(X,"/api/auth/login/[provider]",gm);Y(X,"/api/auth/logout/[provider]",mm);Y(X,"/api/auth/providers",ym);Y(X,"/api/auth/status/[provider]",bm);Y(X,"/api/cwd/browse",_m);Y(X,"/api/cwd/validate",Dm);Y(X,"/api/default-cwd",Em);Y(X,"/api/echo/chat/completions",Cm);Y(X,"/api/env",Am);Y(X,"/api/default-tools",Sm);Y(X,"/api/tool-presets",$0);Y(X,"/api/file-exclusions",Rm);Y(X,"/api/file-index",Fm);Y(X,"/api/files/[...path]",kx);Y(X,"/api/git/commit",Rx);Y(X,"/api/git/diff",Fx);Y(X,"/api/git/generate-commit",Ix);Y(X,"/api/git/push",Nx);Y(X,"/api/git/pull",Mx);Y(X,"/api/git/autofetch-status",Ux);Y(X,"/api/git/stage",Lx);Y(X,"/api/git/status",Bx);Y(X,"/api/home",Wx);Y(X,"/api/models-config/catalog",Qx);Y(X,"/api/models-config/discover",e0);Y(X,"/api/models-config/effective",t0);Y(X,"/api/models-config/override-suggestion",n0);Y(X,"/api/models-config/remote-models",i0);Y(X,"/api/models-config",u0);Y(X,"/api/models-config/sync-provider-models",d0);Y(X,"/api/models-config/test",f0);Y(X,"/api/model-thinking",zx);Y(X,"/api/mcp",Gx);Y(X,"/api/models",Xx);Y(X,"/api/plugins/global",b0);Y(X,"/api/plugins",y0);Y(X,"/api/preferences",v0);Y(X,"/api/updates",z0);Y(X,"/api/updates-config",V0);Y(X,"/api/project-trust",x0);Y(X,"/api/sessions/[id]/auto-name",_0);Y(X,"/api/sessions/[id]/aux-files",D0);Y(X,"/api/sessions/[id]/context",E0);Y(X,"/api/sessions/[id]/entries/[entryId]/thinking",S0);Y(X,"/api/sessions/[id]/export",T0);Y(X,"/api/sessions/[id]/pi-web-state",C0);Y(X,"/api/sessions/[id]",A0);Y(X,"/api/sessions/[id]/state",k0);Y(X,"/api/sessions",R0);Y(X,"/api/sessions/restart",U0);Y(X,"/api/commands/global",xm);Y(X,"/api/skills/check",M0);Y(X,"/api/skills/install",L0);Y(X,"/api/skills/global",N0);Y(X,"/api/skills",B0);Y(X,"/api/skills/search",W0);Y(X,"/api/skills/update",j0);Y(X,"/api/worktrees",K0);z_(X);p_();if(process.env.PI_WEB_E2E==="1")X.get("/api/__e2e/probe",(e)=>e.json({agentDir:Dde()})),X.post("/api/__e2e/destroy-session",async(e)=>{let{sid:t}=await e.req.json();if(!t)return e.json({error:"sid required"},400);return await Be(t)?.destroy(),e.json({ok:!0})});X.get("*",tM);import{closeSync as Ede,mkdirSync as Sde,openSync as Tde,writeSync as Cde}from"node:fs";import{join as nM}from"node:path";import{inspect as Ade}from"node:util";import{getAgentDir as kde}from"@earendil-works/pi-coding-agent";var js=null,rM=!1;function Rp(e,t){if(js===null)return;let n=`[${new Date().toISOString()}][${e}] ${t.map((r)=>typeof r==="string"?r:Ade(r)).join(" ")}`;try{Cde(js,`${n}
|
|
435
|
-
`)}catch{}}function iM(e=!1){rM=e;try{let n=nM(
|
|
432
|
+
${a}`}else if(!r&&d)f=a.replace(new RegExp(`^${c}\\s*:.*\\r?\\n`,"m"),"");if(wa(n,f),i)k2(i==="global"?"":i,n,{disableModelInvocation:r});return Response.json({success:!0})}catch(t){return Response.json({error:String(t)},{status:500})}}var W0={};Z(W0,{POST:()=>Ile});var Ale=/\x1B\[[0-9;]*m/g,kle=50,Ule=1,Rle=50,LI=process.env.SKILLS_API_URL||"https://skills.sh";function Fle(e){let t=typeof e==="number"?e:Number(e);if(!Number.isFinite(t))return kle;return Math.min(Rle,Math.max(Ule,Math.floor(t)))}function Ple(e){if(!e||e<=0)return"";if(e>=1e6)return`${(e/1e6).toFixed(1).replace(/\.0$/,"")}M installs`;if(e>=1000)return`${(e/1000).toFixed(1).replace(/\.0$/,"")}K installs`;return`${e} install${e===1?"":"s"}`}function BI(e){let t=e.replace(Ale,""),n=[],r=t.split(`
|
|
433
|
+
`);for(let i=0;i<r.length;i++){let s=r[i].trim().match(/^([\w.-]+\/[\w.\-@:]+)\s+([\d.,]+[KMB]?\s+installs)$/);if(s){let a=r[i+1]?.trim().replace(/^└\s*/,"");n.push({package:s[1],installs:s[2],url:a?.startsWith("https://")?a:""})}}return n}async function Ole(e,t){let n=`${LI}/api/search?q=${encodeURIComponent(e)}&limit=${t}`,r=await fetch(n,{cache:"no-store"});if(!r.ok)throw Error(`skills.sh search failed: HTTP ${r.status}`);return((await r.json()).skills??[]).map((o)=>{let s=o.name?.trim(),a=o.source?.trim(),c=o.id?.trim();if(!s||!a&&!c)return null;return{package:`${a||c}@${s}`,installs:Ple(o.installs),url:c?`${LI}/${c}`:""}}).filter((o)=>o!==null).sort((o,s)=>WI(s.installs)-WI(o.installs))}function WI(e){let t=e.match(/^([\d.]+)([KMB])?\s+installs?$/);if(!t)return 0;let n=Number(t[1]);if(!Number.isFinite(n))return 0;let r=t[2]==="B"?1e9:t[2]==="M"?1e6:t[2]==="K"?1000:1;return n*r}async function Ile(e){try{let{query:t,limit:n}=await e.json();if(!t?.trim())return Response.json({error:"query required"},{status:400});let r=Fle(n);try{let i=await Ole(t.trim(),r);return Response.json({results:i})}catch{let{stdout:i,stderr:o}=await Ws(["skills","find",t.trim()],{timeout:20000,env:{...process.env,FORCE_COLOR:"0"}}),s=BI(i+o).slice(0,r);return Response.json({results:s})}}catch(t){let n=t,r=(n.stdout??"")+(n.stderr??""),i=r?BI(r):[];if(i.length>0)return Response.json({results:i});return Response.json({error:n.message??String(t)},{status:500})}}var j0={};Z(j0,{POST:()=>Ble});function Mle(e){let{cwd:t,package:n,scope:r}=e??{},i=typeof t==="string"?t:"",o=typeof n==="string"?n:"",s=r==="global"||r==="project"?r:void 0;if(!i||!o||!s)return Response.json({error:"cwd, package, and scope are required"},{status:400});return{cwd:i,pkg:o,scope:s}}function Nle(e,t,n){return e.find((r)=>r.install?.package===t&&r.install.scope===n)}async function Lle(e,t){let{stdout:n,stderr:r}=await Ws(UI(t),{timeout:60000,cwd:t.scope==="project"?e:void 0,env:{...process.env,FORCE_COLOR:"0"}});return{updatedSkill:(await sn(e)).skills.find((s)=>s.install?.package===t.package&&s.install.scope===t.scope),output:`${n}${r}`.slice(-500)}}async function Ble(e){try{let t=Mle(await e.json());if(t instanceof Response)return t;let{cwd:n,pkg:r,scope:i}=t,o=await oe();if(!ce(n,o))return Response.json({error:"Access denied"},{status:403});let{skills:s}=await sn(n),a=Nle(s,r,i);if(!a?.install)return Response.json({error:"Installed skill not found"},{status:404});if(!a.install.canCheckForUpdates)return Response.json({error:"This skill cannot be updated automatically"},{status:400});let c=await Lle(n,a.install);return Response.json({success:!0,skill:c.updatedSkill,output:c.output})}catch(t){let n=t,r=`${n.stdout??""}${n.stderr??""}`;return Response.json({error:r||n.message||String(t)},{status:500})}}var $0={};Z($0,{GET:()=>qle,PUT:()=>$le});import{join as Wle}from"node:path";function q0(e,t={}){if(e===null||e===void 0)return"∅";let n=t.keyOf??((i)=>String(i));return(t.ordered?e:[...e].sort((i,o)=>{let s=n(i),a=n(o);return s<a?-1:s>a?1:0})).map(n).join(`
|
|
434
|
+
`)}var jI=["read","bash","edit","write"],Up=new Map;Up.set("global",zn(Vn("defaultTools"))??null);function jle(e,t){if(!e)return null;let n=Wle(e,".pi","settings.json"),r=Up.get(n);if(r===void 0)r=t,Up.set(n,r);return r}async function qle(e){let n=new URL(e.url).searchParams.get("cwd")??"",{presets:r,exists:i}=await Eo(),o=null;if(n&&(n.startsWith("/")||Ie(n))){let d=await oe();if(ce(n,d))o=zn(Lu(n,"defaultTools"))??null}let s=zn(Vn("defaultTools"))??null,a=o?"project":s?"global":"sdk",c=jle(o?n:null,o)??Up.get("global")??jI,u=o??s??jI;return Response.json({presets:r,exists:i,defaultTools:{effective:u,sessionTools:c,source:a,stale:q0(c)!==q0(u)}})}async function $le(e){let t;try{t=await e.json()}catch{return Response.json({error:"invalid body"},{status:400})}let n=Pg(t.presets);if(!n)return Response.json({error:"invalid presets"},{status:400});return await R_(n),Response.json({ok:!0})}Uo();var z0={};Z(z0,{GET:()=>pde});import{readFileSync as tde}from"node:fs";import{join as nde}from"node:path";import{DefaultPackageManager as rde,getAgentDir as KI,SettingsManager as ide}from"@earendil-works/pi-coding-agent";import{mkdirSync as Hle,readFileSync as Gle,writeFileSync as zle}from"node:fs";import{dirname as Vle,join as Xle}from"node:path";import{getAgentDir as Kle}from"@earendil-works/pi-coding-agent";var H0=new Map;function qI(e){return Xle(e??Kle(),"pi-web","updates.json")}function $I(e){return typeof e==="boolean"?e:void 0}function Zle(e){if(typeof e!=="object"||e===null||Array.isArray(e))return;let t={};for(let[n,r]of Object.entries(e)){if(n.trim()==="")continue;if(typeof r==="string"&&r.trim()!=="")t[n]=r}return Object.keys(t).length>0?t:void 0}function du(e){let t=e??"",n=H0.get(t);if(n!==void 0)return n;let r={enabled:!0,ignored:{}};try{let i=JSON.parse(Gle(qI(e),"utf8"));r={enabled:$I(i.enabled)??!0,ignored:Zle(i.ignored)??{}}}catch{}return H0.set(t,r),r}function HI(e,t){let n=du(t),r={enabled:e.enabled!==void 0?$I(e.enabled)??n.enabled:n.enabled,ignored:{...n.ignored}};if(e.ignored!==void 0)for(let[i,o]of Object.entries(e.ignored)){if(i.trim()==="")continue;if(o===null||o===void 0||o==="")delete r.ignored[i];else r.ignored[i]=o}try{let i=qI(t);Hle(Vle(i),{recursive:!0}),zle(i,JSON.stringify(r,null,2),"utf8")}catch{}return H0.set(t??"",r),r}function zI(e,t){let n=GI(e),r=GI(t),i=Math.max(n.length,r.length);for(let o=0;o<i;o++){let s=n[o]??0,a=r[o]??0;if(s>a)return 1;if(s<a)return-1}return 0}function GI(e){return e.replace(/^v/i,"").split(/[-+]/)[0].split(".").map((t)=>{let n=Number.parseInt(t,10);return Number.isNaN(n)?0:n})}import{readFileSync as Yle}from"node:fs";import{homedir as Jle}from"node:os";import{join as VI}from"node:path";var Qle="https://registry.npmjs.org";function XI(e,t,n=Jle()){let r=process.env.NPM_CONFIG_REGISTRY?.trim()||process.env.npm_config_registry?.trim();if(r)return r;let i=e.startsWith("@")?e.slice(0,e.indexOf("/")):null,o=[];if(t)o.push(VI(t,".npmrc"));o.push(VI(n,".npmrc"));for(let s of o){let a=ede(s,i);if(a)return a}return Qle}function ede(e,t){let n;try{n=Yle(e,"utf8")}catch{return null}let r=t?[`${t}:registry`,"registry"]:["registry"];for(let i of r)for(let o of n.split(/\r?\n/)){let s=o.trim();if(!s||s.startsWith("#")||s.startsWith(";"))continue;let a=s.indexOf("=");if(a<=0)continue;if(s.slice(0,a).trim()!==i)continue;let c=s.slice(a+1).trim().replace(/^["']|["']$/g,"");if(c)return c}return null}var ode="@rainmanhhh/pi-web",sde=1800000,ade=1e4;async function cde(e,t){let n=XI(e,t).replace(/\/+$/,"");try{let r=await fetch(`${n}/${encodeURIComponent(e)}/latest`,{signal:AbortSignal.timeout(ade),headers:{Accept:"application/json"}});if(!r.ok)return null;let i=await r.json();return typeof i.version==="string"?i.version:null}catch{return null}}function ZI(e,t){return{current:e,latest:t}}function ude(e){return e?Vt("settings.json",e)??KI():KI()}function lde(e){try{let t=JSON.parse(tde(nde(e,"package.json"),"utf8"));if(typeof t.name!=="string"||typeof t.version!=="string")return;return{name:t.name,version:t.version}}catch{return}}async function dde(e,t,n){let r=ude(t),i=Oe(e,r),o=ide.create(e,r,{projectTrusted:i.trusted}),s=new rde({cwd:e,agentDir:r,settingsManager:o});try{let a=new Map;for(let c of s.listConfiguredPackages()){if(!c.installedPath||!c.source.startsWith("npm:"))continue;let u=lde(c.installedPath);if(!u)continue;let d=await JI(u.name,e,n);if(d===null||zI(d,u.version)<=0)continue;a.set(c.source,{source:c.source,displayName:u.name,type:"npm",scope:c.scope,current:u.version,latest:d})}return[...a.values()]}catch{return[]}}var YI=new Map,G0=new Map;function fde(e,t){return`${e}|${t??"<app>"}`}async function JI(e,t,n){let r=fde(e,t),i=YI.get(r);if(!n&&i&&Date.now()-i.checkedAt<sde)return i.latest;let o=G0.get(r);if(!n&&o)return o;let s=cde(e,t??void 0).finally(()=>{G0.delete(r)});G0.set(r,s);let a=await s;return YI.set(r,{latest:a,checkedAt:Date.now()}),a}async function pde(e){let{searchParams:t}=new URL(e.url),n=t.get("cwd"),r=t.get("refresh")==="1";if(n){let c=await oe();if(!ce(n,c))return Response.json({error:"Access denied"},{status:403})}let i=ae(e),o=du(i);if(!o.enabled)return Response.json({checkedAt:0,enabled:!1,ignored:o.ignored,piWeb:ZI(String(na.version),null),plugins:[]});let[s,a]=await Promise.all([JI(ode,n,r),n?dde(n,i,r):Promise.resolve([])]);return Response.json({checkedAt:Date.now(),enabled:!0,ignored:o.ignored,piWeb:ZI(String(na.version),s),plugins:a})}var V0={};Z(V0,{GET:()=>hde,PUT:()=>gde});async function hde(e){return Response.json(du(ae(e)))}async function gde(e){try{let t=await e.json(),n={};if(t.enabled!==void 0&&typeof t.enabled==="boolean")n.enabled=t.enabled;if(t.ignored!==void 0&&typeof t.ignored==="object"&&t.ignored!==null)n.ignored=t.ignored;let r=HI(n,ae(e));return Response.json(r)}catch{return Response.json({error:"invalid body"},{status:400})}}var K0={};Z(K0,{DELETE:()=>bde,GET:()=>mde,POST:()=>yde});import{existsSync as QI}from"node:fs";async function X0(e){let t=await oe();if(!Re(e,t)||!ce(e,t))return Response.json({error:"Access denied"},{status:403});return null}async function mde(e){try{let t=new URL(e.url).searchParams.get("cwd");if(!t)return Response.json({error:"cwd is required"},{status:400});let n=await X0(t);if(n)return n;let r=await fl(t),i=[],o=!0;try{i=await ig(QI(t)?t:r.projectRoot)}catch{o=!1}for(let s of i)Dt(s.path);return Response.json({projectRoot:r.projectRoot,isGit:o,isTopLevel:r.isTopLevel,worktrees:i})}catch(t){return Response.json({error:String(t)},{status:500})}}async function yde(e){try{let t=await e.json();if(!t.cwd||typeof t.cwd!=="string")return Response.json({error:"cwd is required"},{status:400});if(!t.branch||typeof t.branch!=="string")return Response.json({error:"branch is required"},{status:400});let n=await X0(t.cwd);if(n)return n;if(!QI(t.cwd))return Response.json({error:`Directory does not exist: ${t.cwd}`},{status:400});let r=await v1(t.cwd,t.branch);return Response.json(r)}catch(t){let n=t instanceof Error?t.message:String(t);return Response.json({error:n},{status:400})}}async function bde(e){try{let t=await e.json();if(!t.cwd||typeof t.cwd!=="string")return Response.json({error:"cwd is required"},{status:400});if(!t.path||typeof t.path!=="string")return Response.json({error:"path is required"},{status:400});let n=await X0(t.cwd);if(n)return n;return await x1(t.cwd,t.path,t.force===!0),Response.json({success:!0})}catch(t){let n=t instanceof Error?t.message:String(t),r=/contains modified or untracked files|is dirty/i.test(n);return Response.json({error:n,dirty:r},{status:r?409:400})}}import{createReadStream as vde}from"node:fs";import{stat as eM}from"node:fs/promises";import{extname as xde,join as Y0,normalize as wde}from"node:path";import{Readable as _de}from"node:stream";var Dde=ze("static"),Z0=Y0(import.meta.dirname,"..","dist","static"),Ede={".html":"text/html; charset=utf-8",".css":"text/css; charset=utf-8",".js":"text/javascript; charset=utf-8",".mjs":"text/javascript; charset=utf-8",".json":"application/json; charset=utf-8",".svg":"image/svg+xml",".png":"image/png",".ico":"image/x-icon",".webmanifest":"application/manifest+json",".woff2":"font/woff2",".txt":"text/plain; charset=utf-8"};async function tM(e){let t=performance.now(),n=new URL(e.req.url).pathname;if(n.startsWith("/api/"))return e.json({error:"Not found"},404);let r=n==="/"?"/index.html":decodeURIComponent(n),i=wde(Y0(Z0,r));if(!i.startsWith(Z0))return e.text("Forbidden",403);let o=i;try{if(!(await eM(i)).isFile())return e.text("Not found",404)}catch{o=Y0(Z0,"index.html");try{await eM(o)}catch{return e.text("Not found",404)}}return Dde(e.req.path,`${Math.round(performance.now()-t)}ms`),new Response(_de.toWeb(vde(o)),{headers:{"content-type":Ede[xde(o).toLowerCase()]??"application/octet-stream"}})}var X=new $h;X.use("/api/*",async(e,t)=>{let n=e.req.raw,r=n.url.includes("/api/");if(!(r?Ft(n):Cg(n))){if(!r)return new Response("Untrusted request",{status:403});return new Response(JSON.stringify({error:"Untrusted API request"}),{status:403,headers:{"content-type":"application/json"}})}let o=process.env.PI_WEB_PASSWORD;if(xa(o)&&!Al(n.headers.get("authorization"),o))return new Response("Authentication required",{status:401,headers:{"Cache-Control":"no-store","WWW-Authenticate":'Basic realm="Pi Web", charset="UTF-8"'}});await t()});Y(X,"/api/agent/running",Wg);Y(X,"/api/attachments",zg);Y(X,"/api/agent/[id]/bash-output",Ug);Y(X,"/api/agent/[id]/debug",Rg);Y(X,"/api/agent/[id]",Bg);Y(X,"/api/auth/all-providers",pm);Y(X,"/api/auth/api-key/[provider]",hm);Y(X,"/api/auth/login/[provider]",gm);Y(X,"/api/auth/logout/[provider]",mm);Y(X,"/api/auth/providers",ym);Y(X,"/api/auth/status/[provider]",bm);Y(X,"/api/cwd/browse",_m);Y(X,"/api/cwd/validate",Dm);Y(X,"/api/default-cwd",Em);Y(X,"/api/echo/chat/completions",Cm);Y(X,"/api/env",Am);Y(X,"/api/default-tools",Sm);Y(X,"/api/tool-presets",$0);Y(X,"/api/file-exclusions",Rm);Y(X,"/api/file-index",Fm);Y(X,"/api/files/[...path]",kx);Y(X,"/api/git/commit",Rx);Y(X,"/api/git/diff",Fx);Y(X,"/api/git/generate-commit",Ix);Y(X,"/api/git/push",Nx);Y(X,"/api/git/pull",Mx);Y(X,"/api/git/autofetch-status",Ux);Y(X,"/api/git/stage",Lx);Y(X,"/api/git/status",Bx);Y(X,"/api/home",Wx);Y(X,"/api/models-config/catalog",Qx);Y(X,"/api/models-config/discover",e0);Y(X,"/api/models-config/effective",t0);Y(X,"/api/models-config/override-suggestion",n0);Y(X,"/api/models-config/remote-models",i0);Y(X,"/api/models-config",u0);Y(X,"/api/models-config/sync-provider-models",d0);Y(X,"/api/models-config/test",f0);Y(X,"/api/model-thinking",zx);Y(X,"/api/mcp",Gx);Y(X,"/api/models",Xx);Y(X,"/api/plugins/global",b0);Y(X,"/api/plugins",y0);Y(X,"/api/preferences",v0);Y(X,"/api/updates",z0);Y(X,"/api/updates-config",V0);Y(X,"/api/project-trust",x0);Y(X,"/api/sessions/[id]/auto-name",_0);Y(X,"/api/sessions/[id]/aux-files",D0);Y(X,"/api/sessions/[id]/context",E0);Y(X,"/api/sessions/[id]/entries/[entryId]/thinking",S0);Y(X,"/api/sessions/[id]/export",T0);Y(X,"/api/sessions/[id]/pi-web-state",C0);Y(X,"/api/sessions/[id]",A0);Y(X,"/api/sessions/[id]/state",k0);Y(X,"/api/sessions",R0);Y(X,"/api/sessions/restart",U0);Y(X,"/api/commands/global",xm);Y(X,"/api/skills/check",M0);Y(X,"/api/skills/install",L0);Y(X,"/api/skills/global",N0);Y(X,"/api/skills",B0);Y(X,"/api/skills/search",W0);Y(X,"/api/skills/update",j0);Y(X,"/api/worktrees",K0);z_(X);p_();if(process.env.PI_WEB_E2E==="1")X.get("/api/__e2e/probe",(e)=>e.json({agentDir:Sde()})),X.post("/api/__e2e/destroy-session",async(e)=>{let{sid:t}=await e.req.json();if(!t)return e.json({error:"sid required"},400);return await Be(t)?.destroy(),e.json({ok:!0})});X.get("*",tM);import{closeSync as Tde,mkdirSync as Cde,openSync as Ade,writeSync as kde}from"node:fs";import{join as nM}from"node:path";import{inspect as Ude}from"node:util";import{getAgentDir as Rde}from"@earendil-works/pi-coding-agent";var js=null,rM=!1;function Rp(e,t){if(js===null)return;let n=`[${new Date().toISOString()}][${e}] ${t.map((r)=>typeof r==="string"?r:Ude(r)).join(" ")}`;try{kde(js,`${n}
|
|
435
|
+
`)}catch{}}function iM(e=!1){rM=e;try{let n=nM(Rde(),"pi-web");Cde(n,{recursive:!0}),js=Ade(nM(n,"server.log"),"w")}catch{js=null}process.on("exit",()=>{if(js!==null)Tde(js)});let t={debug:console.debug.bind(console),log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)};console.debug=(...n)=>{if(!rM)return t.debug(...n);t.debug(...n),Rp("DEBUG",n)},console.log=(...n)=>{t.log(...n),Rp("INFO",n)},console.warn=(...n)=>{t.warn(...n),Rp("WARN",n)},console.error=(...n)=>{t.error(...n),Rp("ERROR",n)}}var vw=new lo().name("pi-web").description("Local web UI for the pi coding agent (API + static frontend)").version(na.version).option("-p, --port <number>","server port",(e)=>Number.parseInt(e,10),Number(process.env.PORT??R2.port)).option("-H, --hostname <host>","bind address",process.env.HOST??"127.0.0.1").option("--open","open the browser once the server is ready").option("--agent-dir <dir>","pi agent directory (default: $PI_CODING_AGENT_DIR)",process.env.PI_CODING_AGENT_DIR).option("-d, --debug","enable debug logs (all levels) in console and server.log").showHelpAfterError();vw.parse();var li=vw.opts();t2(li.debug??!1);var{port:At,hostname:vu}=li;if(!Number.isInteger(At)||At<=0||At>65535)vw.error(`invalid port: ${At}`);if(li.agentDir)process.env.PI_CODING_AGENT_DIR=li.agentDir;iM(li.debug??!1);function lpe(e){return new Promise((t)=>{let n=upe({port:e,host:"127.0.0.1"});n.once("connect",()=>{n.destroy(),t(!0)}),n.once("error",()=>t(!1))})}function dpe(e){let t=process.platform,n=t==="win32"?["cmd","/c","start","",e]:t==="darwin"?["open",e]:["xdg-open",e];try{cpe(n[0],n.slice(1),{stdio:"ignore"}).unref()}catch{}}async function fpe(e,t){let n=Date.now()+t;while(Date.now()<n){try{if((await fetch(e)).ok)return!0}catch{}await new Promise((r)=>setTimeout(r,250))}return!1}var Zs,C4=!1;function A4(e){if(C4)return;C4=!0,ze("boot")("shutdown",`${e} received`);try{if(Zs&&typeof Zs.stop==="function")Zs.stop();else Zs?.close?.()}catch{}setTimeout(()=>process.exit(0),1500).unref()}process.on("SIGINT",()=>A4("SIGINT"));process.on("SIGTERM",()=>A4("SIGTERM"));async function ppe(){let e=ze("boot");if(e("cli parsed",`port=${At} host=${vu}`),e("port probe",`checking port ${At}`),await lpe(At))console.error(`[server] error: port ${At} is already in use — is another API server running?`),console.error(`[server] stop the process holding ${At} (e.g. bun run e2e:stop) and retry.`),process.exit(1);if(e("port probe",`${At} free`),typeof Bun>"u"){let{WebSocketServer:t}=await Promise.resolve().then(() => (c4(),a4));await Promise.resolve().then(() => sh());Gg(Kw);let r=new t({noServer:!0});Zs=Zw({fetch:X.fetch,port:At,hostname:vu,websocket:{server:r}})}else{await Promise.resolve().then(() => S4());let{upgradeWebSocket:n,websocket:r}=bw();Gg(n),Zs=Bun.serve({port:At,hostname:vu,fetch:X.fetch,idleTimeout:255,websocket:r})}if(e("server listening",`http://${vu}:${At}`),console.log(`[server] api server listening on http://${vu}:${At}`),!li.agentDir)_h(),Sh();if(setTimeout(()=>{U2([async()=>c0(),()=>sn(""),()=>wr(T4(),()=>oi(T4()))])},0),li.open){let t=`http://127.0.0.1:${At}`;if(await fpe(`${t}/api/preferences`,30000))dpe(t);else console.error(`[server] server did not become ready within 30s; open ${t} manually.`)}}ppe();
|