@bigduu/lotus 2026.4.26 → 2026.4.28
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/assets/{App-B7eJis_L.js → App-BhEJNmXl.js} +7 -7
- package/dist/assets/{_basePickBy-BoRDRQo_.js → _basePickBy-CQxbmRut.js} +1 -1
- package/dist/assets/{_baseUniq-DLmpf-qH.js → _baseUniq-AfN8N44G.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-DL0nCgiu.js → architectureDiagram-VXUJARFQ-b5ju5KOn.js} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-ChkGjzwl.js → blockDiagram-VD42YOAC-CJZ9JC7A.js} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-Bpgg3J2e.js → c4Diagram-YG6GDRKO-zPXvbm1r.js} +1 -1
- package/dist/assets/{chunk-4BX2VUAB-CtgUzVu0.js → chunk-4BX2VUAB-BQS5VpDJ.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-Cl-9qoQA.js → chunk-55IACEB6-DDBTvfeq.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-Dw68pDsZ.js → chunk-B4BG7PRW-DIX1hsaN.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-2Dv0YXey.js → chunk-DI55MBZ5-CnR_JcZS.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-CyVaJUCP.js → chunk-FMBD7UC4-DyekHBM9.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-DwJRuQ7n.js → chunk-QN33PNHL-DXRkgd3W.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-B9lmDH34.js → chunk-QZHKN3VN-BxdDkaqA.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-DeV9YXRa.js → chunk-TZMSLE5B-6C2sedz2.js} +1 -1
- package/dist/assets/{classDiagram-2ON5EDUG-CfDYZqFo.js → classDiagram-2ON5EDUG-s0FTHA2r.js} +1 -1
- package/dist/assets/{classDiagram-v2-WZHVMYZB-CfDYZqFo.js → classDiagram-v2-WZHVMYZB-s0FTHA2r.js} +1 -1
- package/dist/assets/clone-D7s6jAMO.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-DKeLIDK4.js → cose-bilkent-S5V4N54A-C_pFTYgk.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-Dl1i4XgQ.js → dagre-6UL2VRFP-CZufvh9X.js} +1 -1
- package/dist/assets/{diagram-PSM6KHXK-77_UbI8j.js → diagram-PSM6KHXK-wHztSVlF.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-Dw6EvHTj.js → diagram-QEK2KX5R-DSPQM_i_.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-BDQ5Fhhv.js → diagram-S2PKOQOG-r4X8riql.js} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-BKdfml-s.js → erDiagram-Q2GNP2WA-Lxy4qP7U.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS-UCdKdiCh.js → flowDiagram-NV44I4VS-Cnln4KZl.js} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-Chtp9zQs.js → ganttDiagram-JELNMOA3-D8EVN47E.js} +1 -1
- package/dist/assets/{gitGraphDiagram-V2S2FVAM-BSSwltoi.js → gitGraphDiagram-V2S2FVAM-D0f-vt5d.js} +1 -1
- package/dist/assets/{graph-Btnl5GXt.js → graph-BHQgv4fY.js} +1 -1
- package/dist/assets/{index-CuTF3JwW.js → index-B3u0XLw6.js} +1 -1
- package/dist/assets/{index-DgyFb0zn.js → index-CUKVUr8s.js} +1 -1
- package/dist/assets/{index-Bt8XDONJ.js → index-DRKTke9V.js} +1 -1
- package/dist/assets/{infoDiagram-HS3SLOUP-B3JmpjKV.js → infoDiagram-HS3SLOUP-DU3h9dF-.js} +1 -1
- package/dist/assets/{journeyDiagram-XKPGCS4Q-DdBIy-2_.js → journeyDiagram-XKPGCS4Q-CBYV7J-a.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-CIWa4eCr.js → kanban-definition-3W4ZIXB7-DaQyoaQ-.js} +1 -1
- package/dist/assets/{layout-B7AjxEMF.js → layout-ChFZNADC.js} +1 -1
- package/dist/assets/{main-B86O3Ay1.js → main-DTO0Nb-V.js} +2 -2
- package/dist/assets/{mindmap-definition-VGOIOE7T-xxWZUcNk.js → mindmap-definition-VGOIOE7T-Dd8rk7Wy.js} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-DMP2EuQ4.js → pieDiagram-ADFJNKIX-DMRijIH2.js} +1 -1
- package/dist/assets/{quadrantDiagram-AYHSOK5B-0cfcxWCB.js → quadrantDiagram-AYHSOK5B-BxLvBNZc.js} +1 -1
- package/dist/assets/{requirementDiagram-UZGBJVZJ-BEYx3nLo.js → requirementDiagram-UZGBJVZJ-DGpPvRmv.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-BLWov06E.js → sankeyDiagram-TZEHDZUN-CDuaBdM7.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-Yplr0OXh.js → sequenceDiagram-WL72ISMW-vmIEcx_8.js} +1 -1
- package/dist/assets/{stateDiagram-FKZM4ZOC-DaBeW0mH.js → stateDiagram-FKZM4ZOC-hx8zwjxY.js} +1 -1
- package/dist/assets/{stateDiagram-v2-4FDKWEC3-E-JH-wcp.js → stateDiagram-v2-4FDKWEC3-D-E3Vh0S.js} +1 -1
- package/dist/assets/{timeline-definition-IT6M3QCI-DVQkxLAQ.js → timeline-definition-IT6M3QCI-DQvTmToF.js} +1 -1
- package/dist/assets/{treemap-GDKQZRPO-Bt6HO4t3.js → treemap-GDKQZRPO-COsTlA-l.js} +1 -1
- package/dist/assets/{vendor-mermaid-yEuK4j2x.js → vendor-mermaid-CQXqUd1Z.js} +3 -3
- package/dist/assets/{vendor-pdf-6xOZjNpy.js → vendor-pdf-CBvfEKBn.js} +2 -2
- package/dist/assets/{xychartDiagram-PRI3JC2R-eJ_9DABA.js → xychartDiagram-PRI3JC2R-BoJPfqrl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/clone-BtItG4tV.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor-mermaid-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor-mermaid-CQXqUd1Z.js","./vendor-markdown-DYfLXXRA.js","./vendor-i18n-BNURlJ23.js","./vendor-antd-DzhFcYgt.js","./vendor-charts-BvOlsian.js","./index.es-DdtT3adr.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var PB=Object.defineProperty;var MB=(t,A,e)=>A in t?PB(t,A,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[A]=e;var be=(t,A,e)=>MB(t,typeof A!="symbol"?A+"":A,e);import{_ as Dc}from"./vendor-markdown-DYfLXXRA.js";import{g as Se,h as zu}from"./vendor-antd-DzhFcYgt.js";/*!
|
|
3
3
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
4
4
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
@@ -150,7 +150,7 @@ T* `):f.join(` Tj
|
|
|
150
150
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
151
151
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
152
152
|
* ====================================================================
|
|
153
|
-
*/function T4(){var t,A=this.internal.__metadata__.metadata,e=unescape(encodeURIComponent(A));t=this.internal.__metadata__.rawXml?e:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+t.length+" >>"),this.internal.write("stream"),this.internal.write(t),this.internal.write("endstream"),this.internal.write("endobj")}function O4(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(t){var A,e,r,n,i,o,s,c,u,h=function(Q){return Q=Q||{},this.isStrokeTransparent=Q.isStrokeTransparent||!1,this.strokeOpacity=Q.strokeOpacity||1,this.strokeStyle=Q.strokeStyle||"#000000",this.fillStyle=Q.fillStyle||"#000000",this.isFillTransparent=Q.isFillTransparent||!1,this.fillOpacity=Q.fillOpacity||1,this.font=Q.font||"10px sans-serif",this.textBaseline=Q.textBaseline||"alphabetic",this.textAlign=Q.textAlign||"left",this.lineWidth=Q.lineWidth||1,this.lineJoin=Q.lineJoin||"miter",this.lineCap=Q.lineCap||"butt",this.path=Q.path||[],this.transform=Q.transform!==void 0?Q.transform.clone():new c,this.globalCompositeOperation=Q.globalCompositeOperation||"normal",this.globalAlpha=Q.globalAlpha||1,this.clip_path=Q.clip_path||[],this.currentPoint=Q.currentPoint||new o,this.miterLimit=Q.miterLimit||10,this.lastPoint=Q.lastPoint||new o,this.lineDashOffset=Q.lineDashOffset||0,this.lineDash=Q.lineDash||[],this.margin=Q.margin||[0,0,0,0],this.prevPageLastElemOffset=Q.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Q.ignoreClearRect!="boolean"||Q.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new p(this),A=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,o=this.internal.Point,s=this.internal.Rectangle,c=this.internal.Matrix,u=new h}]);var p=function(Q){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var O=Q;Object.defineProperty(this,"pdf",{get:function(){return O}});var M=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return M},set:function(H){M=!!H}});var q=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return q},set:function(H){q=!!H}});var X=0;Object.defineProperty(this,"posX",{get:function(){return X},set:function(H){isNaN(H)||(X=H)}});var eA=0;Object.defineProperty(this,"posY",{get:function(){return eA},set:function(H){isNaN(H)||(eA=H)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(H){var bA;typeof H=="number"?bA=[H,H,H,H]:((bA=new Array(4))[0]=H[0],bA[1]=H.length>=2?H[1]:bA[0],bA[2]=H.length>=3?H[2]:bA[0],bA[3]=H.length>=4?H[3]:bA[1]),u.margin=bA}});var lA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return lA},set:function(H){lA=H}});var uA=0;Object.defineProperty(this,"lastBreak",{get:function(){return uA},set:function(H){uA=H}});var gA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return gA},set:function(H){gA=H}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(H){H instanceof h&&(u=H)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(H){u.path=H}});var QA=[];Object.defineProperty(this,"ctxStack",{get:function(){return QA},set:function(H){QA=H}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(H){var bA;bA=w(H),this.ctx.fillStyle=bA.style,this.ctx.isFillTransparent=bA.a===0,this.ctx.fillOpacity=bA.a,this.pdf.setFillColor(bA.r,bA.g,bA.b,{a:bA.a}),this.pdf.setTextColor(bA.r,bA.g,bA.b,{a:bA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(H){var bA=w(H);this.ctx.strokeStyle=bA.style,this.ctx.isStrokeTransparent=bA.a===0,this.ctx.strokeOpacity=bA.a,bA.a===0?this.pdf.setDrawColor(255,255,255):(bA.a,this.pdf.setDrawColor(bA.r,bA.g,bA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(H){["butt","round","square"].indexOf(H)!==-1&&(this.ctx.lineCap=H,this.pdf.setLineCap(H))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(H){isNaN(H)||(this.ctx.lineWidth=H,this.pdf.setLineWidth(H))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(H){["bevel","round","miter"].indexOf(H)!==-1&&(this.ctx.lineJoin=H,this.pdf.setLineJoin(H))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(H){isNaN(H)||(this.ctx.miterLimit=H,this.pdf.setMiterLimit(H))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(H){this.ctx.textBaseline=H}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(H){["right","end","center","left","start"].indexOf(H)!==-1&&(this.ctx.textAlign=H)}});var LA=null,yA=null,KA=null;Object.defineProperty(this,"fontFaces",{get:function(){return KA},set:function(H){LA=null,yA=null,KA=H}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(H){var bA;if(this.ctx.font=H,(bA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(H))!==null){var se=bA[1];bA[2];var VA=bA[3],CA=bA[4];bA[5];var qA=bA[6],HA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(CA)[2];CA=Math.floor(HA==="px"?parseFloat(CA)*this.pdf.internal.scaleFactor:HA==="em"?parseFloat(CA)*this.pdf.getFontSize():parseFloat(CA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(CA);var jA=function(MA){var Ye,we,oe=[],ce=MA.trim();if(ce==="")return ml;if(ce in Wh)return[Wh[ce]];for(;ce!=="";){switch(we=null,Ye=(ce=Jh(ce)).charAt(0)){case'"':case"'":we=I4(ce.substring(1),Ye);break;default:we=S4(ce)}if(we===null||(oe.push(we[0]),(ce=Jh(we[1]))!==""&&ce.charAt(0)!==","))return ml;ce=ce.replace(/^,/,"")}return oe}(qA);if(this.fontFaces){var RA=function(MA,Ye){var we=MA.getFontList(),oe=JSON.stringify(we);if(LA===null||yA!==oe){var ce=function(Me){var GA=[];return Object.keys(Me).forEach(function(He){Me[He].forEach(function(JA){var ee=null;switch(JA){case"bold":ee={family:He,weight:"bold"};break;case"italic":ee={family:He,style:"italic"};break;case"bolditalic":ee={family:He,weight:"bold",style:"italic"};break;case"":case"normal":ee={family:He}}ee!==null&&(ee.ref={name:He,style:JA},GA.push(ee))})}),GA}(we);LA=function(Me){for(var GA={},He=0;He<Me.length;++He){var JA=Cl(Me[He]),ee=JA.family,Ke=JA.stretch,le=JA.style,WA=JA.weight;GA[ee]=GA[ee]||{},GA[ee][Ke]=GA[ee][Ke]||{},GA[ee][Ke][le]=GA[ee][Ke][le]||{},GA[ee][Ke][le][WA]=JA}return GA}(ce.concat(Ye)),yA=oe}return LA}(this.pdf,this.fontFaces),Ce=jA.map(function(MA){return{family:MA,stretch:"normal",weight:VA,style:se}}),ue=function(MA,Ye,we){for(var oe=(we=we||{}).defaultFontFamily||"times",ce=Object.assign({},x4,we.genericFontFamilies||{}),Me=null,GA=null,He=0;He<Ye.length;++He)if(ce[(Me=Cl(Ye[He])).family]&&(Me.family=ce[Me.family]),MA.hasOwnProperty(Me.family)){GA=MA[Me.family];break}if(!(GA=GA||MA[oe]))throw new Error("Could not find a font-family for the rule '"+Xh(Me)+"' and default family '"+oe+"'.");if(GA=function(JA,ee){if(ee[JA])return ee[JA];var Ke=ru[JA],le=Ke<=ru.normal?-1:1,WA=qh(ee,z1,Ke,le);if(!WA)throw new Error("Could not find a matching font-stretch value for "+JA);return WA}(Me.stretch,GA),GA=function(JA,ee){if(ee[JA])return ee[JA];for(var Ke=Y1[JA],le=0;le<Ke.length;++le)if(ee[Ke[le]])return ee[Ke[le]];throw new Error("Could not find a matching font-style for "+JA)}(Me.style,GA),!(GA=function(JA,ee){if(ee[JA])return ee[JA];if(JA===400&&ee[500])return ee[500];if(JA===500&&ee[400])return ee[400];var Ke=L4[JA],le=qh(ee,Z1,Ke,JA<400?-1:1);if(!le)throw new Error("Could not find a matching font-weight for value "+JA);return le}(Me.weight,GA)))throw new Error("Failed to resolve a font for the rule '"+Xh(Me)+"'.");return GA}(RA,Ce);this.pdf.setFont(ue.ref.name,ue.ref.style)}else{var Ae="";(VA==="bold"||parseInt(VA,10)>=700||se==="bold")&&(Ae="bold"),se==="italic"&&(Ae+="italic"),Ae.length===0&&(Ae="normal");for(var Be="",fe={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},OA=0;OA<jA.length;OA++){if(this.pdf.internal.getFont(jA[OA],Ae,{noFallback:!0,disableWarning:!0})!==void 0){Be=jA[OA];break}if(Ae==="bolditalic"&&this.pdf.internal.getFont(jA[OA],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Be=jA[OA],Ae="bold";else if(this.pdf.internal.getFont(jA[OA],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Be=jA[OA],Ae="normal";break}}if(Be===""){for(var ne=0;ne<jA.length;ne++)if(fe[jA[ne]]){Be=fe[jA[ne]];break}}Be=Be===""?"Times":Be,this.pdf.setFont(Be,Ae)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(H){this.ctx.globalCompositeOperation=H}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(H){this.ctx.globalAlpha=H}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(H){this.ctx.lineDashOffset=H,pA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(H){this.ctx.lineDash=H,pA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(H){this.ctx.ignoreClearRect=!!H}})};p.prototype.setLineDash=function(Q){this.lineDash=Q},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){k.call(this,"fill",!1)},p.prototype.stroke=function(){k.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var M=this.ctx.transform.applyToPoint(new o(Q,O));this.path.push({type:"mt",x:M.x,y:M.y}),this.ctx.lastPoint=new o(Q,O)},p.prototype.closePath=function(){var Q=new o(0,0),O=0;for(O=this.path.length-1;O!==-1;O--)if(this.path[O].type==="begin"&&Se(this.path[O+1])==="object"&&typeof this.path[O+1].x=="number"){Q=new o(this.path[O+1].x,this.path[O+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new o(Q.x,Q.y)},p.prototype.lineTo=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var M=this.ctx.transform.applyToPoint(new o(Q,O));this.path.push({type:"lt",x:M.x,y:M.y}),this.ctx.lastPoint=new o(M.x,M.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),k.call(this,null,!0)},p.prototype.quadraticCurveTo=function(Q,O,M,q){if(isNaN(M)||isNaN(q)||isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var X=this.ctx.transform.applyToPoint(new o(M,q)),eA=this.ctx.transform.applyToPoint(new o(Q,O));this.path.push({type:"qct",x1:eA.x,y1:eA.y,x:X.x,y:X.y}),this.ctx.lastPoint=new o(X.x,X.y)},p.prototype.bezierCurveTo=function(Q,O,M,q,X,eA){if(isNaN(X)||isNaN(eA)||isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var lA=this.ctx.transform.applyToPoint(new o(X,eA)),uA=this.ctx.transform.applyToPoint(new o(Q,O)),gA=this.ctx.transform.applyToPoint(new o(M,q));this.path.push({type:"bct",x1:uA.x,y1:uA.y,x2:gA.x,y2:gA.y,x:lA.x,y:lA.y}),this.ctx.lastPoint=new o(lA.x,lA.y)},p.prototype.arc=function(Q,O,M,q,X,eA){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q)||isNaN(X))throw Ie.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(eA=!!eA,!this.ctx.transform.isIdentity){var lA=this.ctx.transform.applyToPoint(new o(Q,O));Q=lA.x,O=lA.y;var uA=this.ctx.transform.applyToPoint(new o(0,M)),gA=this.ctx.transform.applyToPoint(new o(0,0));M=Math.sqrt(Math.pow(uA.x-gA.x,2)+Math.pow(uA.y-gA.y,2))}Math.abs(X-q)>=2*Math.PI&&(q=0,X=2*Math.PI),this.path.push({type:"arc",x:Q,y:O,radius:M,startAngle:q,endAngle:X,counterclockwise:eA})},p.prototype.arcTo=function(Q,O,M,q,X){throw new Error("arcTo not implemented.")},p.prototype.rect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Q,O),this.lineTo(Q+M,O),this.lineTo(Q+M,O+q),this.lineTo(Q,O+q),this.lineTo(Q,O),this.lineTo(Q+M,O),this.lineTo(Q,O)},p.prototype.fillRect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var X={};this.lineCap!=="butt"&&(X.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(X.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Q,O,M,q),this.fill(),X.hasOwnProperty("lineCap")&&(this.lineCap=X.lineCap),X.hasOwnProperty("lineJoin")&&(this.lineJoin=X.lineJoin)}},p.prototype.strokeRect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");b.call(this)||(this.beginPath(),this.rect(Q,O,M,q),this.stroke())},p.prototype.clearRect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Q,O,M,q))},p.prototype.save=function(Q){Q=typeof Q!="boolean"||Q;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("q");if(this.pdf.setPage(O),Q){this.ctx.fontSize=this.pdf.internal.getFontSize();var q=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=q}},p.prototype.restore=function(Q){Q=typeof Q!="boolean"||Q;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("Q");this.pdf.setPage(O),Q&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var w=function(Q){var O,M,q,X;if(Q.isCanvasGradient===!0&&(Q=Q.getColor()),!Q)return{r:0,g:0,b:0,a:0,style:Q};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Q))O=0,M=0,q=0,X=0;else{var eA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Q);if(eA!==null)O=parseInt(eA[1]),M=parseInt(eA[2]),q=parseInt(eA[3]),X=1;else if((eA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Q))!==null)O=parseInt(eA[1]),M=parseInt(eA[2]),q=parseInt(eA[3]),X=parseFloat(eA[4]);else{if(X=1,typeof Q=="string"&&Q.charAt(0)!=="#"){var lA=new G1(Q);Q=lA.ok?lA.toHex():"#000000"}Q.length===4?(O=Q.substring(1,2),O+=O,M=Q.substring(2,3),M+=M,q=Q.substring(3,4),q+=q):(O=Q.substring(1,3),M=Q.substring(3,5),q=Q.substring(5,7)),O=parseInt(O,16),M=parseInt(M,16),q=parseInt(q,16)}}return{r:O,g:M,b:q,a:X,style:Q}},d=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},b=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};p.prototype.fillText=function(Q,O,M,q){if(isNaN(O)||isNaN(M)||typeof Q!="string")throw Ie.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(q=isNaN(q)?void 0:q,!d.call(this)){var X=tA(this.ctx.transform.rotation),eA=this.ctx.transform.scaleX;I.call(this,{text:Q,x:O,y:M,scale:eA,angle:X,align:this.textAlign,maxWidth:q})}},p.prototype.strokeText=function(Q,O,M,q){if(isNaN(O)||isNaN(M)||typeof Q!="string")throw Ie.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!b.call(this)){q=isNaN(q)?void 0:q;var X=tA(this.ctx.transform.rotation),eA=this.ctx.transform.scaleX;I.call(this,{text:Q,x:O,y:M,scale:eA,renderingMode:"stroke",angle:X,align:this.textAlign,maxWidth:q})}},p.prototype.measureText=function(Q){if(typeof Q!="string")throw Ie.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var O=this.pdf,M=this.pdf.internal.scaleFactor,q=O.internal.getFontSize(),X=O.getStringUnitWidth(Q)*q/O.internal.scaleFactor;return new function(eA){var lA=(eA=eA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return lA}}),this}({width:X*=Math.round(96*M/72*1e4)/1e4})},p.prototype.scale=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var M=new c(Q,0,0,O,0,0);this.ctx.transform=this.ctx.transform.multiply(M)},p.prototype.rotate=function(Q){if(isNaN(Q))throw Ie.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var O=new c(Math.cos(Q),Math.sin(Q),-Math.sin(Q),Math.cos(Q),0,0);this.ctx.transform=this.ctx.transform.multiply(O)},p.prototype.translate=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var M=new c(1,0,0,1,Q,O);this.ctx.transform=this.ctx.transform.multiply(M)},p.prototype.transform=function(Q,O,M,q,X,eA){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q)||isNaN(X)||isNaN(eA))throw Ie.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var lA=new c(Q,O,M,q,X,eA);this.ctx.transform=this.ctx.transform.multiply(lA)},p.prototype.setTransform=function(Q,O,M,q,X,eA){Q=isNaN(Q)?1:Q,O=isNaN(O)?0:O,M=isNaN(M)?0:M,q=isNaN(q)?1:q,X=isNaN(X)?0:X,eA=isNaN(eA)?0:eA,this.ctx.transform=new c(Q,O,M,q,X,eA)};var y=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(Q,O,M,q,X,eA,lA,uA,gA){var QA=this.pdf.getImageProperties(Q),LA=1,yA=1,KA=1,H=1;q!==void 0&&uA!==void 0&&(KA=uA/q,H=gA/X,LA=QA.width/q*uA/q,yA=QA.height/X*gA/X),eA===void 0&&(eA=O,lA=M,O=0,M=0),q!==void 0&&uA===void 0&&(uA=q,gA=X),q===void 0&&uA===void 0&&(uA=QA.width,gA=QA.height);var bA=this.ctx.transform.decompose(),se=tA(bA.rotate.shx),VA=new c,CA=(VA=(VA=(VA=VA.multiply(bA.translate)).multiply(bA.skew)).multiply(bA.scale)).applyToRectangle(new s(eA-O*KA,lA-M*H,q*LA,X*yA));if(this.autoPaging){for(var qA,HA=S.call(this,CA),jA=[],RA=0;RA<HA.length;RA+=1)jA.indexOf(HA[RA])===-1&&jA.push(HA[RA]);G(jA);for(var Ce=jA[0],ue=jA[jA.length-1],Ae=Ce;Ae<ue+1;Ae++){this.pdf.setPage(Ae);var Be=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],fe=Ae===1?this.posY+this.margin[0]:this.margin[0],OA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ne=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],MA=Ae===1?0:OA+(Ae-2)*ne;if(this.ctx.clip_path.length!==0){var Ye=this.path;qA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(qA,this.posX+this.margin[3],-MA+fe+this.ctx.prevPageLastElemOffset),Y.call(this,"fill",!0),this.path=Ye}var we=JSON.parse(JSON.stringify(CA));we=P([we],this.posX+this.margin[3],-MA+fe+this.ctx.prevPageLastElemOffset)[0];var oe=(Ae>Ce||Ae<ue)&&y.call(this);oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Be,ne,null).clip().discardPath()),this.pdf.addImage(Q,"JPEG",we.x,we.y,we.w,we.h,null,null,se),oe&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(Q,"JPEG",CA.x,CA.y,CA.w,CA.h,null,null,se)};var S=function(Q,O,M){var q=[];O=O||this.pdf.internal.pageSize.width,M=M||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var X=this.posY+this.ctx.prevPageLastElemOffset;switch(Q.type){default:case"mt":case"lt":q.push(Math.floor((Q.y+X)/M)+1);break;case"arc":q.push(Math.floor((Q.y+X-Q.radius)/M)+1),q.push(Math.floor((Q.y+X+Q.radius)/M)+1);break;case"qct":var eA=cA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Q.x1,Q.y1,Q.x,Q.y);q.push(Math.floor((eA.y+X)/M)+1),q.push(Math.floor((eA.y+eA.h+X)/M)+1);break;case"bct":var lA=FA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Q.x1,Q.y1,Q.x2,Q.y2,Q.x,Q.y);q.push(Math.floor((lA.y+X)/M)+1),q.push(Math.floor((lA.y+lA.h+X)/M)+1);break;case"rect":q.push(Math.floor((Q.y+X)/M)+1),q.push(Math.floor((Q.y+Q.h+X)/M)+1)}for(var uA=0;uA<q.length;uA+=1)for(;this.pdf.internal.getNumberOfPages()<q[uA];)F.call(this);return q},F=function(){var Q=this.fillStyle,O=this.strokeStyle,M=this.font,q=this.lineCap,X=this.lineWidth,eA=this.lineJoin;this.pdf.addPage(),this.fillStyle=Q,this.strokeStyle=O,this.font=M,this.lineCap=q,this.lineWidth=X,this.lineJoin=eA},P=function(Q,O,M){for(var q=0;q<Q.length;q++)switch(Q[q].type){case"bct":Q[q].x2+=O,Q[q].y2+=M;case"qct":Q[q].x1+=O,Q[q].y1+=M;default:Q[q].x+=O,Q[q].y+=M}return Q},G=function(Q){return Q.sort(function(O,M){return O-M})},k=function(Q,O){var M=this.fillStyle,q=this.strokeStyle,X=this.lineCap,eA=this.lineWidth,lA=Math.abs(eA*this.ctx.transform.scaleX),uA=this.lineJoin;if(this.autoPaging){for(var gA,QA,LA=JSON.parse(JSON.stringify(this.path)),yA=JSON.parse(JSON.stringify(this.path)),KA=[],H=0;H<yA.length;H++)if(yA[H].x!==void 0)for(var bA=S.call(this,yA[H]),se=0;se<bA.length;se+=1)KA.indexOf(bA[se])===-1&&KA.push(bA[se]);for(var VA=0;VA<KA.length;VA++)for(;this.pdf.internal.getNumberOfPages()<KA[VA];)F.call(this);G(KA);for(var CA=KA[0],qA=KA[KA.length-1],HA=CA;HA<qA+1;HA++){this.pdf.setPage(HA),this.fillStyle=M,this.strokeStyle=q,this.lineCap=X,this.lineWidth=lA,this.lineJoin=uA;var jA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],RA=HA===1?this.posY+this.margin[0]:this.margin[0],Ce=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ue=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ae=HA===1?0:Ce+(HA-2)*ue;if(this.ctx.clip_path.length!==0){var Be=this.path;gA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(gA,this.posX+this.margin[3],-Ae+RA+this.ctx.prevPageLastElemOffset),Y.call(this,Q,!0),this.path=Be}if(QA=JSON.parse(JSON.stringify(LA)),this.path=P(QA,this.posX+this.margin[3],-Ae+RA+this.ctx.prevPageLastElemOffset),O===!1||HA===0){var fe=(HA>CA||HA<qA)&&y.call(this);fe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],jA,ue,null).clip().discardPath()),Y.call(this,Q,O),fe&&this.pdf.restoreGraphicsState()}this.lineWidth=eA}this.path=LA}else this.lineWidth=lA,Y.call(this,Q,O),this.lineWidth=eA},Y=function(Q,O){if((Q!=="stroke"||O||!b.call(this))&&(Q==="stroke"||O||!d.call(this))){for(var M,q,X=[],eA=this.path,lA=0;lA<eA.length;lA++){var uA=eA[lA];switch(uA.type){case"begin":X.push({begin:!0});break;case"close":X.push({close:!0});break;case"mt":X.push({start:uA,deltas:[],abs:[]});break;case"lt":var gA=X.length;if(eA[lA-1]&&!isNaN(eA[lA-1].x)&&(M=[uA.x-eA[lA-1].x,uA.y-eA[lA-1].y],gA>0)){for(;gA>=0;gA--)if(X[gA-1].close!==!0&&X[gA-1].begin!==!0){X[gA-1].deltas.push(M),X[gA-1].abs.push(uA);break}}break;case"bct":M=[uA.x1-eA[lA-1].x,uA.y1-eA[lA-1].y,uA.x2-eA[lA-1].x,uA.y2-eA[lA-1].y,uA.x-eA[lA-1].x,uA.y-eA[lA-1].y],X[X.length-1].deltas.push(M);break;case"qct":var QA=eA[lA-1].x+2/3*(uA.x1-eA[lA-1].x),LA=eA[lA-1].y+2/3*(uA.y1-eA[lA-1].y),yA=uA.x+2/3*(uA.x1-uA.x),KA=uA.y+2/3*(uA.y1-uA.y),H=uA.x,bA=uA.y;M=[QA-eA[lA-1].x,LA-eA[lA-1].y,yA-eA[lA-1].x,KA-eA[lA-1].y,H-eA[lA-1].x,bA-eA[lA-1].y],X[X.length-1].deltas.push(M);break;case"arc":X.push({deltas:[],abs:[],arc:!0}),Array.isArray(X[X.length-1].abs)&&X[X.length-1].abs.push(uA)}}q=O?null:Q==="stroke"?"stroke":"fill";for(var se=!1,VA=0;VA<X.length;VA++)if(X[VA].arc)for(var CA=X[VA].abs,qA=0;qA<CA.length;qA++){var HA=CA[qA];HA.type==="arc"?V.call(this,HA.x,HA.y,HA.radius,HA.startAngle,HA.endAngle,HA.counterclockwise,void 0,O,!se):K.call(this,HA.x,HA.y),se=!0}else if(X[VA].close===!0)this.pdf.internal.out("h"),se=!1;else if(X[VA].begin!==!0){var jA=X[VA].start.x,RA=X[VA].start.y;R.call(this,X[VA].deltas,jA,RA),se=!0}q&&N.call(this,q),O&&$.call(this)}},Z=function(Q){var O=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,M=O*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Q-M;case"top":return Q+O-M;case"hanging":return Q+O-2*M;case"middle":return Q+O/2-M;default:return Q}},iA=function(Q){return Q+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var Q=function(){};return Q.colorStops=[],Q.addColorStop=function(O,M){this.colorStops.push([O,M])},Q.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Q.isCanvasGradient=!0,Q},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var V=function(Q,O,M,q,X,eA,lA,uA,gA){for(var QA=sA.call(this,M,q,X,eA),LA=0;LA<QA.length;LA++){var yA=QA[LA];LA===0&&(gA?E.call(this,yA.x1+Q,yA.y1+O):K.call(this,yA.x1+Q,yA.y1+O)),aA.call(this,Q,O,yA.x2,yA.y2,yA.x3,yA.y3,yA.x4,yA.y4)}uA?$.call(this):N.call(this,lA)},N=function(Q){switch(Q){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},$=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(Q,O){this.pdf.internal.out(e(Q)+" "+r(O)+" m")},I=function(Q){var O;switch(Q.align){case"right":case"end":O="right";break;case"center":O="center";break;default:O="left"}var M,q,X,eA=this.pdf.getTextDimensions(Q.text),lA=Z.call(this,Q.y),uA=iA.call(this,lA)-eA.h,gA=this.ctx.transform.applyToPoint(new o(Q.x,lA));if(this.autoPaging){var QA=this.ctx.transform.decompose(),LA=new c;LA=(LA=(LA=LA.multiply(QA.translate)).multiply(QA.skew)).multiply(QA.scale);for(var yA=this.ctx.transform.applyToRectangle(new s(Q.x,lA,eA.w,eA.h)),KA=LA.applyToRectangle(new s(Q.x,uA,eA.w,eA.h)),H=S.call(this,KA),bA=[],se=0;se<H.length;se+=1)bA.indexOf(H[se])===-1&&bA.push(H[se]);G(bA);for(var VA=bA[0],CA=bA[bA.length-1],qA=VA;qA<CA+1;qA++){this.pdf.setPage(qA);var HA=qA===1?this.posY+this.margin[0]:this.margin[0],jA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],RA=this.pdf.internal.pageSize.height-this.margin[2],Ce=RA-this.margin[0],ue=this.pdf.internal.pageSize.width-this.margin[1],Ae=ue-this.margin[3],Be=qA===1?0:jA+(qA-2)*Ce;if(this.ctx.clip_path.length!==0){var fe=this.path;M=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(M,this.posX+this.margin[3],-1*Be+HA),Y.call(this,"fill",!0),this.path=fe}var OA=P([JSON.parse(JSON.stringify(KA))],this.posX+this.margin[3],-Be+HA+this.ctx.prevPageLastElemOffset)[0];Q.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*Q.scale),X=this.lineWidth,this.lineWidth=X*Q.scale);var ne=this.autoPaging!=="text";if(ne||OA.y+OA.h<=RA){if(ne||OA.y>=HA&&OA.x<=ue){var MA=ne?Q.text:this.pdf.splitTextToSize(Q.text,Q.maxWidth||ue-OA.x)[0],Ye=P([JSON.parse(JSON.stringify(yA))],this.posX+this.margin[3],-Be+HA+this.ctx.prevPageLastElemOffset)[0],we=ne&&(qA>VA||qA<CA)&&y.call(this);we&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ae,Ce,null).clip().discardPath()),this.pdf.text(MA,Ye.x,Ye.y,{angle:Q.angle,align:O,renderingMode:Q.renderingMode}),we&&this.pdf.restoreGraphicsState()}}else OA.y<RA&&(this.ctx.prevPageLastElemOffset+=RA-OA.y);Q.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=X)}}else Q.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*Q.scale),X=this.lineWidth,this.lineWidth=X*Q.scale),this.pdf.text(Q.text,gA.x+this.posX,gA.y+this.posY,{angle:Q.angle,align:O,renderingMode:Q.renderingMode,maxWidth:Q.maxWidth}),Q.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=X)},K=function(Q,O,M,q){M=M||0,q=q||0,this.pdf.internal.out(e(Q+M)+" "+r(O+q)+" l")},R=function(Q,O,M){return this.pdf.lines(Q,O,M,null,null)},aA=function(Q,O,M,q,X,eA,lA,uA){this.pdf.internal.out([A(n(M+Q)),A(i(q+O)),A(n(X+Q)),A(i(eA+O)),A(n(lA+Q)),A(i(uA+O)),"c"].join(" "))},sA=function(Q,O,M,q){for(var X=2*Math.PI,eA=Math.PI/2;O>M;)O-=X;var lA=Math.abs(M-O);lA<X&&q&&(lA=X-lA);for(var uA=[],gA=q?-1:1,QA=O;lA>1e-5;){var LA=QA+gA*Math.min(lA,eA);uA.push(oA.call(this,Q,QA,LA)),lA-=Math.abs(LA-QA),QA=LA}return uA},oA=function(Q,O,M){var q=(M-O)/2,X=Q*Math.cos(q),eA=Q*Math.sin(q),lA=X,uA=-eA,gA=lA*lA+uA*uA,QA=gA+lA*X+uA*eA,LA=4/3*(Math.sqrt(2*gA*QA)-QA)/(lA*eA-uA*X),yA=lA-LA*uA,KA=uA+LA*lA,H=yA,bA=-KA,se=q+O,VA=Math.cos(se),CA=Math.sin(se);return{x1:Q*Math.cos(O),y1:Q*Math.sin(O),x2:yA*VA-KA*CA,y2:yA*CA+KA*VA,x3:H*VA-bA*CA,y3:H*CA+bA*VA,x4:Q*Math.cos(M),y4:Q*Math.sin(M)}},tA=function(Q){return 180*Q/Math.PI},cA=function(Q,O,M,q,X,eA){var lA=Q+.5*(M-Q),uA=O+.5*(q-O),gA=X+.5*(M-X),QA=eA+.5*(q-eA),LA=Math.min(Q,X,lA,gA),yA=Math.max(Q,X,lA,gA),KA=Math.min(O,eA,uA,QA),H=Math.max(O,eA,uA,QA);return new s(LA,KA,yA-LA,H-KA)},FA=function(Q,O,M,q,X,eA,lA,uA){var gA,QA,LA,yA,KA,H,bA,se,VA,CA,qA,HA,jA,RA,Ce=M-Q,ue=q-O,Ae=X-M,Be=eA-q,fe=lA-X,OA=uA-eA;for(QA=0;QA<41;QA++)VA=(bA=(LA=Q+(gA=QA/40)*Ce)+gA*((KA=M+gA*Ae)-LA))+gA*(KA+gA*(X+gA*fe-KA)-bA),CA=(se=(yA=O+gA*ue)+gA*((H=q+gA*Be)-yA))+gA*(H+gA*(eA+gA*OA-H)-se),QA==0?(qA=VA,HA=CA,jA=VA,RA=CA):(qA=Math.min(qA,VA),HA=Math.min(HA,CA),jA=Math.max(jA,VA),RA=Math.max(RA,CA));return new s(Math.round(qA),Math.round(HA),Math.round(jA-qA),Math.round(RA-HA))},pA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Q,O,M=(Q=this.ctx.lineDash,O=this.ctx.lineDashOffset,JSON.stringify({lineDash:Q,lineDashOffset:O}));this.prevLineDash!==M&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=M)}}})(kA.API),function(t){var A=function(o){var s,c,u,h,p,w,d,b,y,S;for(c=[],u=0,h=(o+=s="\0\0\0\0".slice(o.length%4||4)).length;h>u;u+=4)(p=(o.charCodeAt(u)<<24)+(o.charCodeAt(u+1)<<16)+(o.charCodeAt(u+2)<<8)+o.charCodeAt(u+3))!==0?(w=(p=((p=((p=((p=(p-(S=p%85))/85)-(y=p%85))/85)-(b=p%85))/85)-(d=p%85))/85)%85,c.push(w+33,d+33,b+33,y+33,S+33)):c.push(122);return function(F,P){for(var G=P;G>0;G--)F.pop()}(c,s.length),String.fromCharCode.apply(String,c)+"~>"},e=function(o){var s,c,u,h,p,w=String,d="length",b=255,y="charCodeAt",S="slice",F="replace";for(o[S](-2),o=o[S](0,-2)[F](/\s/g,"")[F]("z","!!!!!"),u=[],h=0,p=(o+=s="uuuuu"[S](o[d]%5||5))[d];p>h;h+=5)c=52200625*(o[y](h)-33)+614125*(o[y](h+1)-33)+7225*(o[y](h+2)-33)+85*(o[y](h+3)-33)+(o[y](h+4)-33),u.push(b&c>>24,b&c>>16,b&c>>8,b&c);return function(P,G){for(var k=G;k>0;k--)P.pop()}(u,s[d]),w.fromCharCode.apply(w,u)},r=function(o){return o.split("").map(function(s){return("0"+s.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(o){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((o=o.replace(/\s/g,"")).indexOf(">")!==-1&&(o=o.substr(0,o.indexOf(">"))),o.length%2&&(o+="0"),s.test(o)===!1)return"";for(var c="",u=0;u<o.length;u+=2)c+=String.fromCharCode("0x"+(o[u]+o[u+1]));return c},i=function(o){for(var s=new Uint8Array(o.length),c=o.length;c--;)s[c]=o.charCodeAt(c);return(s=Yl(s)).reduce(function(u,h){return u+String.fromCharCode(h)},"")};t.processDataByFilters=function(o,s){var c=0,u=o||"",h=[];for(typeof(s=s||[])=="string"&&(s=[s]),c=0;c<s.length;c+=1)switch(s[c]){case"ASCII85Decode":case"/ASCII85Decode":u=e(u),h.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=A(u),h.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=n(u),h.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),h.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=i(u),h.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[c]+'" is not implemented')}return{data:u,reverseChain:h.reverse().join(" ")}}}(kA.API),function(t){t.loadFile=function(A,e,r){return function(n,i,o){i=i!==!1,o=typeof o=="function"?o:function(){};var s=void 0;try{s=function(c,u,h){var p=new XMLHttpRequest,w=0,d=function(b){var y=b.length,S=[],F=String.fromCharCode;for(w=0;w<y;w+=1)S.push(F(255&b.charCodeAt(w)));return S.join("")};if(p.open("GET",c,!u),p.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(p.onload=function(){p.status===200?h(d(this.responseText)):h(void 0)}),p.send(null),u&&p.status===200)return d(p.responseText)}(n,i,o)}catch{}return s}(A,e,r)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile}(kA.API),function(t){function A(){return(zA.html2canvas?Promise.resolve(zA.html2canvas):Dc(()=>Promise.resolve().then(()=>f5),void 0,import.meta.url)).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function e(){return(zA.DOMPurify?Promise.resolve(zA.DOMPurify):Dc(()=>import("./vendor-mermaid-yEuK4j2x.js").then(s=>s.bc),__vite__mapDeps([0,1,2,3,4]),import.meta.url)).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var r=function(s){var c=Se(s);return c==="undefined"?"undefined":c==="string"||s instanceof String?"string":c==="number"||s instanceof Number?"number":c==="function"||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&s.nodeType===1?"element":c==="object"?"object":"unknown"},n=function(s,c){var u=document.createElement(s);for(var h in c.className&&(u.className=c.className),c.innerHTML&&c.dompurify&&(u.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)u.style[h]=c.style[h];return u},i=function s(c,u){for(var h=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),p=c.firstChild;p;p=p.nextSibling)u!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||h.appendChild(s(p,u));return c.nodeType===1&&(c.nodeName==="CANVAS"?(h.width=c.width,h.height=c.height,h.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(h.value=c.value),h.addEventListener("load",function(){h.scrollTop=c.scrollTop,h.scrollLeft=c.scrollLeft},!0)),h},o=function s(c){var u=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),h=s.convert(Promise.resolve(),u);return(h=h.setProgress(1,s,1,[s])).set(c)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(s,c){return s.__proto__=c||o.prototype,s},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},o.prototype.from=function(s,c){return this.then(function(){switch(c=c||function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(s),c){case"string":return this.then(e).then(function(u){return this.set({src:n("div",{innerHTML:s,dompurify:u})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},o.prototype.to=function(s){switch(s){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var s={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},c=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(n("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},o.prototype.toCanvas=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(A).then(function(c){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,c(this.prop.container,u)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},o.prototype.toContext2d=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(A).then(function(c){var u=this.opt.jsPDF,h=this.opt.fontFaces,p=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,w=Object.assign({async:!0,allowTaint:!0,scale:p,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete w.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=h,h)for(var d=0;d<h.length;++d){var b=h[d],y=b.src.find(function(S){return S.format==="truetype"});y&&u.addFont(y.url,b.ref.name,b.ref.style)}return w.windowHeight=w.windowHeight||0,w.windowHeight=w.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):w.windowHeight,u.context2d.save(!0),c(this.prop.container,w)}).then(function(c){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},o.prototype.output=function(s,c,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(s,c):this.outputPdf(s,c)},o.prototype.outputPdf=function(s,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,c)})},o.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+s+'" is not supported.'}})},o.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},o.prototype.set=function(s){if(r(s)!=="object")return this;var c=Object.keys(s||{}).map(function(u){if(u in o.template.prop)return function(){this.prop[u]=s[u]};switch(u){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[u]=s[u]}}},this);return this.then(function(){return this.thenList(c)})},o.prototype.get=function(s,c){return this.then(function(){var u=s in o.template.prop?this.prop[s]:this.opt[s];return c?c(u):u})},o.prototype.setMargin=function(s){return this.then(function(){switch(r(s)){case"number":s=[s,s,s,s];case"array":if(s.length===2&&(s=[s[0],s[1],s[0],s[1]]),s.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},o.prototype.setPageSize=function(s){function c(u,h){return Math.floor(u*h/72*96)}return this.then(function(){(s=s||kA.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:c(s.inner.width,s.k),height:c(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},o.prototype.setProgress=function(s,c,u,h){return s!=null&&(this.progress.val=s),c!=null&&(this.progress.state=c),u!=null&&(this.progress.n=u),h!=null&&(this.progress.stack=h),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(s,c,u,h){return this.setProgress(s?this.progress.val+s:null,c||null,u?this.progress.n+u:null,h?this.progress.stack.concat(h):null)},o.prototype.then=function(s,c){var u=this;return this.thenCore(s,c,function(h,p){return u.updateProgress(null,null,1,[h]),Promise.prototype.then.call(this,function(w){return u.updateProgress(null,h),w}).then(h,p).then(function(w){return u.updateProgress(1),w})})},o.prototype.thenCore=function(s,c,u){u=u||Promise.prototype.then;var h=this;s&&(s=s.bind(h)),c&&(c=c.bind(h));var p=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?h:o.convert(Object.assign({},h),Promise.prototype),w=u.call(p,s,c);return o.convert(w,h.__proto__)},o.prototype.thenExternal=function(s,c){return Promise.prototype.then.call(this,s,c)},o.prototype.thenList=function(s){var c=this;return s.forEach(function(u){c=c.thenCore(u)}),c},o.prototype.catch=function(s){s&&(s=s.bind(this));var c=Promise.prototype.catch.call(this,s);return o.convert(c,this)},o.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},o.prototype.error=function(s){return this.then(function(){throw new Error(s)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,kA.getPageSize=function(s,c,u){if(Se(s)==="object"){var h=s;s=h.orientation,c=h.unit||c,u=h.format||u}c=c||"mm",u=u||"a4",s=(""+(s||"P")).toLowerCase();var p,w=(""+u).toLowerCase(),d={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(c){case"pt":p=1;break;case"mm":p=72/25.4;break;case"cm":p=72/2.54;break;case"in":p=72;break;case"px":p=.75;break;case"pc":case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+c}var b,y=0,S=0;if(d.hasOwnProperty(w))y=d[w][1]/p,S=d[w][0]/p;else try{y=u[1],S=u[0]}catch{throw new Error("Invalid format: "+u)}if(s==="p"||s==="portrait")s="p",S>y&&(b=S,S=y,y=b);else{if(s!=="l"&&s!=="landscape")throw"Invalid orientation: "+s;s="l",y>S&&(b=S,S=y,y=b)}return{width:S,height:y,unit:c,k:p,orientation:s}},t.html=function(s,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(Cl):null;var u=new o(c);return c.worker?u:u.from(s).doCallback()}}(kA.API),kA.API.addJS=function(t){var A,e,r=function(n){for(var i="",o=0;o<n.length;o++){var s=n[o];if(s==="("||s===")"){for(var c=0,u=o-1;u>=0&&n[u]==="\\";u--)c++;i+=c%2==0?"\\"+s:s}else i+=s}return i}(t);return this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(A+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){A!==void 0&&e!==void 0&&this.internal.out("/Names <</JavaScript "+A+" 0 R>>")}),this},function(t){var A;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),i=0;i<n.length;i++){var o=n[i],s=r.exec(o);if(s!=null){var c=s[1];e.internal.newObjectDeferredBegin(c,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,h=[];for(i=0;i<u;i++){var p=e.internal.newObject();h.push(p);var w=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+w.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<h.length;i++)e.internal.write("(page_"+(i+1)+")"+h[i]+" 0 R");e.internal.write(" ] >>","endobj"),A=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+A+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,i){var o={title:n,options:i,children:[]};return r==null&&(r=this.root),r.children.push(o),o},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n<r.children.length;n++)this.genIds_r(r.children[n])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<r.children.length;i++){var o=r.children[i];this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(r)),i>0&&this.line("/Prev "+this.makeRef(r.children[i-1])),i<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[i+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var s=this.count=this.count_r({count:0},o);if(s>0&&this.line("/Count "+s),o.options&&o.options.pageNumber){var c=e.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+`\r
|
|
153
|
+
*/function T4(){var t,A=this.internal.__metadata__.metadata,e=unescape(encodeURIComponent(A));t=this.internal.__metadata__.rawXml?e:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+t.length+" >>"),this.internal.write("stream"),this.internal.write(t),this.internal.write("endstream"),this.internal.write("endobj")}function O4(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(t){var A,e,r,n,i,o,s,c,u,h=function(Q){return Q=Q||{},this.isStrokeTransparent=Q.isStrokeTransparent||!1,this.strokeOpacity=Q.strokeOpacity||1,this.strokeStyle=Q.strokeStyle||"#000000",this.fillStyle=Q.fillStyle||"#000000",this.isFillTransparent=Q.isFillTransparent||!1,this.fillOpacity=Q.fillOpacity||1,this.font=Q.font||"10px sans-serif",this.textBaseline=Q.textBaseline||"alphabetic",this.textAlign=Q.textAlign||"left",this.lineWidth=Q.lineWidth||1,this.lineJoin=Q.lineJoin||"miter",this.lineCap=Q.lineCap||"butt",this.path=Q.path||[],this.transform=Q.transform!==void 0?Q.transform.clone():new c,this.globalCompositeOperation=Q.globalCompositeOperation||"normal",this.globalAlpha=Q.globalAlpha||1,this.clip_path=Q.clip_path||[],this.currentPoint=Q.currentPoint||new o,this.miterLimit=Q.miterLimit||10,this.lastPoint=Q.lastPoint||new o,this.lineDashOffset=Q.lineDashOffset||0,this.lineDash=Q.lineDash||[],this.margin=Q.margin||[0,0,0,0],this.prevPageLastElemOffset=Q.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Q.ignoreClearRect!="boolean"||Q.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new p(this),A=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,o=this.internal.Point,s=this.internal.Rectangle,c=this.internal.Matrix,u=new h}]);var p=function(Q){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var O=Q;Object.defineProperty(this,"pdf",{get:function(){return O}});var M=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return M},set:function(H){M=!!H}});var q=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return q},set:function(H){q=!!H}});var X=0;Object.defineProperty(this,"posX",{get:function(){return X},set:function(H){isNaN(H)||(X=H)}});var eA=0;Object.defineProperty(this,"posY",{get:function(){return eA},set:function(H){isNaN(H)||(eA=H)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(H){var bA;typeof H=="number"?bA=[H,H,H,H]:((bA=new Array(4))[0]=H[0],bA[1]=H.length>=2?H[1]:bA[0],bA[2]=H.length>=3?H[2]:bA[0],bA[3]=H.length>=4?H[3]:bA[1]),u.margin=bA}});var lA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return lA},set:function(H){lA=H}});var uA=0;Object.defineProperty(this,"lastBreak",{get:function(){return uA},set:function(H){uA=H}});var gA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return gA},set:function(H){gA=H}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(H){H instanceof h&&(u=H)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(H){u.path=H}});var QA=[];Object.defineProperty(this,"ctxStack",{get:function(){return QA},set:function(H){QA=H}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(H){var bA;bA=w(H),this.ctx.fillStyle=bA.style,this.ctx.isFillTransparent=bA.a===0,this.ctx.fillOpacity=bA.a,this.pdf.setFillColor(bA.r,bA.g,bA.b,{a:bA.a}),this.pdf.setTextColor(bA.r,bA.g,bA.b,{a:bA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(H){var bA=w(H);this.ctx.strokeStyle=bA.style,this.ctx.isStrokeTransparent=bA.a===0,this.ctx.strokeOpacity=bA.a,bA.a===0?this.pdf.setDrawColor(255,255,255):(bA.a,this.pdf.setDrawColor(bA.r,bA.g,bA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(H){["butt","round","square"].indexOf(H)!==-1&&(this.ctx.lineCap=H,this.pdf.setLineCap(H))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(H){isNaN(H)||(this.ctx.lineWidth=H,this.pdf.setLineWidth(H))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(H){["bevel","round","miter"].indexOf(H)!==-1&&(this.ctx.lineJoin=H,this.pdf.setLineJoin(H))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(H){isNaN(H)||(this.ctx.miterLimit=H,this.pdf.setMiterLimit(H))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(H){this.ctx.textBaseline=H}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(H){["right","end","center","left","start"].indexOf(H)!==-1&&(this.ctx.textAlign=H)}});var LA=null,yA=null,KA=null;Object.defineProperty(this,"fontFaces",{get:function(){return KA},set:function(H){LA=null,yA=null,KA=H}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(H){var bA;if(this.ctx.font=H,(bA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(H))!==null){var se=bA[1];bA[2];var VA=bA[3],CA=bA[4];bA[5];var qA=bA[6],HA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(CA)[2];CA=Math.floor(HA==="px"?parseFloat(CA)*this.pdf.internal.scaleFactor:HA==="em"?parseFloat(CA)*this.pdf.getFontSize():parseFloat(CA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(CA);var jA=function(MA){var Ye,we,oe=[],ce=MA.trim();if(ce==="")return ml;if(ce in Wh)return[Wh[ce]];for(;ce!=="";){switch(we=null,Ye=(ce=Jh(ce)).charAt(0)){case'"':case"'":we=I4(ce.substring(1),Ye);break;default:we=S4(ce)}if(we===null||(oe.push(we[0]),(ce=Jh(we[1]))!==""&&ce.charAt(0)!==","))return ml;ce=ce.replace(/^,/,"")}return oe}(qA);if(this.fontFaces){var RA=function(MA,Ye){var we=MA.getFontList(),oe=JSON.stringify(we);if(LA===null||yA!==oe){var ce=function(Me){var GA=[];return Object.keys(Me).forEach(function(He){Me[He].forEach(function(JA){var ee=null;switch(JA){case"bold":ee={family:He,weight:"bold"};break;case"italic":ee={family:He,style:"italic"};break;case"bolditalic":ee={family:He,weight:"bold",style:"italic"};break;case"":case"normal":ee={family:He}}ee!==null&&(ee.ref={name:He,style:JA},GA.push(ee))})}),GA}(we);LA=function(Me){for(var GA={},He=0;He<Me.length;++He){var JA=Cl(Me[He]),ee=JA.family,Ke=JA.stretch,le=JA.style,WA=JA.weight;GA[ee]=GA[ee]||{},GA[ee][Ke]=GA[ee][Ke]||{},GA[ee][Ke][le]=GA[ee][Ke][le]||{},GA[ee][Ke][le][WA]=JA}return GA}(ce.concat(Ye)),yA=oe}return LA}(this.pdf,this.fontFaces),Ce=jA.map(function(MA){return{family:MA,stretch:"normal",weight:VA,style:se}}),ue=function(MA,Ye,we){for(var oe=(we=we||{}).defaultFontFamily||"times",ce=Object.assign({},x4,we.genericFontFamilies||{}),Me=null,GA=null,He=0;He<Ye.length;++He)if(ce[(Me=Cl(Ye[He])).family]&&(Me.family=ce[Me.family]),MA.hasOwnProperty(Me.family)){GA=MA[Me.family];break}if(!(GA=GA||MA[oe]))throw new Error("Could not find a font-family for the rule '"+Xh(Me)+"' and default family '"+oe+"'.");if(GA=function(JA,ee){if(ee[JA])return ee[JA];var Ke=ru[JA],le=Ke<=ru.normal?-1:1,WA=qh(ee,z1,Ke,le);if(!WA)throw new Error("Could not find a matching font-stretch value for "+JA);return WA}(Me.stretch,GA),GA=function(JA,ee){if(ee[JA])return ee[JA];for(var Ke=Y1[JA],le=0;le<Ke.length;++le)if(ee[Ke[le]])return ee[Ke[le]];throw new Error("Could not find a matching font-style for "+JA)}(Me.style,GA),!(GA=function(JA,ee){if(ee[JA])return ee[JA];if(JA===400&&ee[500])return ee[500];if(JA===500&&ee[400])return ee[400];var Ke=L4[JA],le=qh(ee,Z1,Ke,JA<400?-1:1);if(!le)throw new Error("Could not find a matching font-weight for value "+JA);return le}(Me.weight,GA)))throw new Error("Failed to resolve a font for the rule '"+Xh(Me)+"'.");return GA}(RA,Ce);this.pdf.setFont(ue.ref.name,ue.ref.style)}else{var Ae="";(VA==="bold"||parseInt(VA,10)>=700||se==="bold")&&(Ae="bold"),se==="italic"&&(Ae+="italic"),Ae.length===0&&(Ae="normal");for(var Be="",fe={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},OA=0;OA<jA.length;OA++){if(this.pdf.internal.getFont(jA[OA],Ae,{noFallback:!0,disableWarning:!0})!==void 0){Be=jA[OA];break}if(Ae==="bolditalic"&&this.pdf.internal.getFont(jA[OA],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Be=jA[OA],Ae="bold";else if(this.pdf.internal.getFont(jA[OA],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Be=jA[OA],Ae="normal";break}}if(Be===""){for(var ne=0;ne<jA.length;ne++)if(fe[jA[ne]]){Be=fe[jA[ne]];break}}Be=Be===""?"Times":Be,this.pdf.setFont(Be,Ae)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(H){this.ctx.globalCompositeOperation=H}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(H){this.ctx.globalAlpha=H}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(H){this.ctx.lineDashOffset=H,pA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(H){this.ctx.lineDash=H,pA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(H){this.ctx.ignoreClearRect=!!H}})};p.prototype.setLineDash=function(Q){this.lineDash=Q},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){k.call(this,"fill",!1)},p.prototype.stroke=function(){k.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var M=this.ctx.transform.applyToPoint(new o(Q,O));this.path.push({type:"mt",x:M.x,y:M.y}),this.ctx.lastPoint=new o(Q,O)},p.prototype.closePath=function(){var Q=new o(0,0),O=0;for(O=this.path.length-1;O!==-1;O--)if(this.path[O].type==="begin"&&Se(this.path[O+1])==="object"&&typeof this.path[O+1].x=="number"){Q=new o(this.path[O+1].x,this.path[O+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new o(Q.x,Q.y)},p.prototype.lineTo=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var M=this.ctx.transform.applyToPoint(new o(Q,O));this.path.push({type:"lt",x:M.x,y:M.y}),this.ctx.lastPoint=new o(M.x,M.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),k.call(this,null,!0)},p.prototype.quadraticCurveTo=function(Q,O,M,q){if(isNaN(M)||isNaN(q)||isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var X=this.ctx.transform.applyToPoint(new o(M,q)),eA=this.ctx.transform.applyToPoint(new o(Q,O));this.path.push({type:"qct",x1:eA.x,y1:eA.y,x:X.x,y:X.y}),this.ctx.lastPoint=new o(X.x,X.y)},p.prototype.bezierCurveTo=function(Q,O,M,q,X,eA){if(isNaN(X)||isNaN(eA)||isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var lA=this.ctx.transform.applyToPoint(new o(X,eA)),uA=this.ctx.transform.applyToPoint(new o(Q,O)),gA=this.ctx.transform.applyToPoint(new o(M,q));this.path.push({type:"bct",x1:uA.x,y1:uA.y,x2:gA.x,y2:gA.y,x:lA.x,y:lA.y}),this.ctx.lastPoint=new o(lA.x,lA.y)},p.prototype.arc=function(Q,O,M,q,X,eA){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q)||isNaN(X))throw Ie.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(eA=!!eA,!this.ctx.transform.isIdentity){var lA=this.ctx.transform.applyToPoint(new o(Q,O));Q=lA.x,O=lA.y;var uA=this.ctx.transform.applyToPoint(new o(0,M)),gA=this.ctx.transform.applyToPoint(new o(0,0));M=Math.sqrt(Math.pow(uA.x-gA.x,2)+Math.pow(uA.y-gA.y,2))}Math.abs(X-q)>=2*Math.PI&&(q=0,X=2*Math.PI),this.path.push({type:"arc",x:Q,y:O,radius:M,startAngle:q,endAngle:X,counterclockwise:eA})},p.prototype.arcTo=function(Q,O,M,q,X){throw new Error("arcTo not implemented.")},p.prototype.rect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Q,O),this.lineTo(Q+M,O),this.lineTo(Q+M,O+q),this.lineTo(Q,O+q),this.lineTo(Q,O),this.lineTo(Q+M,O),this.lineTo(Q,O)},p.prototype.fillRect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var X={};this.lineCap!=="butt"&&(X.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(X.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Q,O,M,q),this.fill(),X.hasOwnProperty("lineCap")&&(this.lineCap=X.lineCap),X.hasOwnProperty("lineJoin")&&(this.lineJoin=X.lineJoin)}},p.prototype.strokeRect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");b.call(this)||(this.beginPath(),this.rect(Q,O,M,q),this.stroke())},p.prototype.clearRect=function(Q,O,M,q){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q))throw Ie.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Q,O,M,q))},p.prototype.save=function(Q){Q=typeof Q!="boolean"||Q;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("q");if(this.pdf.setPage(O),Q){this.ctx.fontSize=this.pdf.internal.getFontSize();var q=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=q}},p.prototype.restore=function(Q){Q=typeof Q!="boolean"||Q;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("Q");this.pdf.setPage(O),Q&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var w=function(Q){var O,M,q,X;if(Q.isCanvasGradient===!0&&(Q=Q.getColor()),!Q)return{r:0,g:0,b:0,a:0,style:Q};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Q))O=0,M=0,q=0,X=0;else{var eA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Q);if(eA!==null)O=parseInt(eA[1]),M=parseInt(eA[2]),q=parseInt(eA[3]),X=1;else if((eA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Q))!==null)O=parseInt(eA[1]),M=parseInt(eA[2]),q=parseInt(eA[3]),X=parseFloat(eA[4]);else{if(X=1,typeof Q=="string"&&Q.charAt(0)!=="#"){var lA=new G1(Q);Q=lA.ok?lA.toHex():"#000000"}Q.length===4?(O=Q.substring(1,2),O+=O,M=Q.substring(2,3),M+=M,q=Q.substring(3,4),q+=q):(O=Q.substring(1,3),M=Q.substring(3,5),q=Q.substring(5,7)),O=parseInt(O,16),M=parseInt(M,16),q=parseInt(q,16)}}return{r:O,g:M,b:q,a:X,style:Q}},d=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},b=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};p.prototype.fillText=function(Q,O,M,q){if(isNaN(O)||isNaN(M)||typeof Q!="string")throw Ie.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(q=isNaN(q)?void 0:q,!d.call(this)){var X=tA(this.ctx.transform.rotation),eA=this.ctx.transform.scaleX;I.call(this,{text:Q,x:O,y:M,scale:eA,angle:X,align:this.textAlign,maxWidth:q})}},p.prototype.strokeText=function(Q,O,M,q){if(isNaN(O)||isNaN(M)||typeof Q!="string")throw Ie.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!b.call(this)){q=isNaN(q)?void 0:q;var X=tA(this.ctx.transform.rotation),eA=this.ctx.transform.scaleX;I.call(this,{text:Q,x:O,y:M,scale:eA,renderingMode:"stroke",angle:X,align:this.textAlign,maxWidth:q})}},p.prototype.measureText=function(Q){if(typeof Q!="string")throw Ie.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var O=this.pdf,M=this.pdf.internal.scaleFactor,q=O.internal.getFontSize(),X=O.getStringUnitWidth(Q)*q/O.internal.scaleFactor;return new function(eA){var lA=(eA=eA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return lA}}),this}({width:X*=Math.round(96*M/72*1e4)/1e4})},p.prototype.scale=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var M=new c(Q,0,0,O,0,0);this.ctx.transform=this.ctx.transform.multiply(M)},p.prototype.rotate=function(Q){if(isNaN(Q))throw Ie.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var O=new c(Math.cos(Q),Math.sin(Q),-Math.sin(Q),Math.cos(Q),0,0);this.ctx.transform=this.ctx.transform.multiply(O)},p.prototype.translate=function(Q,O){if(isNaN(Q)||isNaN(O))throw Ie.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var M=new c(1,0,0,1,Q,O);this.ctx.transform=this.ctx.transform.multiply(M)},p.prototype.transform=function(Q,O,M,q,X,eA){if(isNaN(Q)||isNaN(O)||isNaN(M)||isNaN(q)||isNaN(X)||isNaN(eA))throw Ie.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var lA=new c(Q,O,M,q,X,eA);this.ctx.transform=this.ctx.transform.multiply(lA)},p.prototype.setTransform=function(Q,O,M,q,X,eA){Q=isNaN(Q)?1:Q,O=isNaN(O)?0:O,M=isNaN(M)?0:M,q=isNaN(q)?1:q,X=isNaN(X)?0:X,eA=isNaN(eA)?0:eA,this.ctx.transform=new c(Q,O,M,q,X,eA)};var y=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(Q,O,M,q,X,eA,lA,uA,gA){var QA=this.pdf.getImageProperties(Q),LA=1,yA=1,KA=1,H=1;q!==void 0&&uA!==void 0&&(KA=uA/q,H=gA/X,LA=QA.width/q*uA/q,yA=QA.height/X*gA/X),eA===void 0&&(eA=O,lA=M,O=0,M=0),q!==void 0&&uA===void 0&&(uA=q,gA=X),q===void 0&&uA===void 0&&(uA=QA.width,gA=QA.height);var bA=this.ctx.transform.decompose(),se=tA(bA.rotate.shx),VA=new c,CA=(VA=(VA=(VA=VA.multiply(bA.translate)).multiply(bA.skew)).multiply(bA.scale)).applyToRectangle(new s(eA-O*KA,lA-M*H,q*LA,X*yA));if(this.autoPaging){for(var qA,HA=S.call(this,CA),jA=[],RA=0;RA<HA.length;RA+=1)jA.indexOf(HA[RA])===-1&&jA.push(HA[RA]);G(jA);for(var Ce=jA[0],ue=jA[jA.length-1],Ae=Ce;Ae<ue+1;Ae++){this.pdf.setPage(Ae);var Be=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],fe=Ae===1?this.posY+this.margin[0]:this.margin[0],OA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ne=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],MA=Ae===1?0:OA+(Ae-2)*ne;if(this.ctx.clip_path.length!==0){var Ye=this.path;qA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(qA,this.posX+this.margin[3],-MA+fe+this.ctx.prevPageLastElemOffset),Y.call(this,"fill",!0),this.path=Ye}var we=JSON.parse(JSON.stringify(CA));we=P([we],this.posX+this.margin[3],-MA+fe+this.ctx.prevPageLastElemOffset)[0];var oe=(Ae>Ce||Ae<ue)&&y.call(this);oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Be,ne,null).clip().discardPath()),this.pdf.addImage(Q,"JPEG",we.x,we.y,we.w,we.h,null,null,se),oe&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(Q,"JPEG",CA.x,CA.y,CA.w,CA.h,null,null,se)};var S=function(Q,O,M){var q=[];O=O||this.pdf.internal.pageSize.width,M=M||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var X=this.posY+this.ctx.prevPageLastElemOffset;switch(Q.type){default:case"mt":case"lt":q.push(Math.floor((Q.y+X)/M)+1);break;case"arc":q.push(Math.floor((Q.y+X-Q.radius)/M)+1),q.push(Math.floor((Q.y+X+Q.radius)/M)+1);break;case"qct":var eA=cA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Q.x1,Q.y1,Q.x,Q.y);q.push(Math.floor((eA.y+X)/M)+1),q.push(Math.floor((eA.y+eA.h+X)/M)+1);break;case"bct":var lA=FA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Q.x1,Q.y1,Q.x2,Q.y2,Q.x,Q.y);q.push(Math.floor((lA.y+X)/M)+1),q.push(Math.floor((lA.y+lA.h+X)/M)+1);break;case"rect":q.push(Math.floor((Q.y+X)/M)+1),q.push(Math.floor((Q.y+Q.h+X)/M)+1)}for(var uA=0;uA<q.length;uA+=1)for(;this.pdf.internal.getNumberOfPages()<q[uA];)F.call(this);return q},F=function(){var Q=this.fillStyle,O=this.strokeStyle,M=this.font,q=this.lineCap,X=this.lineWidth,eA=this.lineJoin;this.pdf.addPage(),this.fillStyle=Q,this.strokeStyle=O,this.font=M,this.lineCap=q,this.lineWidth=X,this.lineJoin=eA},P=function(Q,O,M){for(var q=0;q<Q.length;q++)switch(Q[q].type){case"bct":Q[q].x2+=O,Q[q].y2+=M;case"qct":Q[q].x1+=O,Q[q].y1+=M;default:Q[q].x+=O,Q[q].y+=M}return Q},G=function(Q){return Q.sort(function(O,M){return O-M})},k=function(Q,O){var M=this.fillStyle,q=this.strokeStyle,X=this.lineCap,eA=this.lineWidth,lA=Math.abs(eA*this.ctx.transform.scaleX),uA=this.lineJoin;if(this.autoPaging){for(var gA,QA,LA=JSON.parse(JSON.stringify(this.path)),yA=JSON.parse(JSON.stringify(this.path)),KA=[],H=0;H<yA.length;H++)if(yA[H].x!==void 0)for(var bA=S.call(this,yA[H]),se=0;se<bA.length;se+=1)KA.indexOf(bA[se])===-1&&KA.push(bA[se]);for(var VA=0;VA<KA.length;VA++)for(;this.pdf.internal.getNumberOfPages()<KA[VA];)F.call(this);G(KA);for(var CA=KA[0],qA=KA[KA.length-1],HA=CA;HA<qA+1;HA++){this.pdf.setPage(HA),this.fillStyle=M,this.strokeStyle=q,this.lineCap=X,this.lineWidth=lA,this.lineJoin=uA;var jA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],RA=HA===1?this.posY+this.margin[0]:this.margin[0],Ce=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ue=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ae=HA===1?0:Ce+(HA-2)*ue;if(this.ctx.clip_path.length!==0){var Be=this.path;gA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(gA,this.posX+this.margin[3],-Ae+RA+this.ctx.prevPageLastElemOffset),Y.call(this,Q,!0),this.path=Be}if(QA=JSON.parse(JSON.stringify(LA)),this.path=P(QA,this.posX+this.margin[3],-Ae+RA+this.ctx.prevPageLastElemOffset),O===!1||HA===0){var fe=(HA>CA||HA<qA)&&y.call(this);fe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],jA,ue,null).clip().discardPath()),Y.call(this,Q,O),fe&&this.pdf.restoreGraphicsState()}this.lineWidth=eA}this.path=LA}else this.lineWidth=lA,Y.call(this,Q,O),this.lineWidth=eA},Y=function(Q,O){if((Q!=="stroke"||O||!b.call(this))&&(Q==="stroke"||O||!d.call(this))){for(var M,q,X=[],eA=this.path,lA=0;lA<eA.length;lA++){var uA=eA[lA];switch(uA.type){case"begin":X.push({begin:!0});break;case"close":X.push({close:!0});break;case"mt":X.push({start:uA,deltas:[],abs:[]});break;case"lt":var gA=X.length;if(eA[lA-1]&&!isNaN(eA[lA-1].x)&&(M=[uA.x-eA[lA-1].x,uA.y-eA[lA-1].y],gA>0)){for(;gA>=0;gA--)if(X[gA-1].close!==!0&&X[gA-1].begin!==!0){X[gA-1].deltas.push(M),X[gA-1].abs.push(uA);break}}break;case"bct":M=[uA.x1-eA[lA-1].x,uA.y1-eA[lA-1].y,uA.x2-eA[lA-1].x,uA.y2-eA[lA-1].y,uA.x-eA[lA-1].x,uA.y-eA[lA-1].y],X[X.length-1].deltas.push(M);break;case"qct":var QA=eA[lA-1].x+2/3*(uA.x1-eA[lA-1].x),LA=eA[lA-1].y+2/3*(uA.y1-eA[lA-1].y),yA=uA.x+2/3*(uA.x1-uA.x),KA=uA.y+2/3*(uA.y1-uA.y),H=uA.x,bA=uA.y;M=[QA-eA[lA-1].x,LA-eA[lA-1].y,yA-eA[lA-1].x,KA-eA[lA-1].y,H-eA[lA-1].x,bA-eA[lA-1].y],X[X.length-1].deltas.push(M);break;case"arc":X.push({deltas:[],abs:[],arc:!0}),Array.isArray(X[X.length-1].abs)&&X[X.length-1].abs.push(uA)}}q=O?null:Q==="stroke"?"stroke":"fill";for(var se=!1,VA=0;VA<X.length;VA++)if(X[VA].arc)for(var CA=X[VA].abs,qA=0;qA<CA.length;qA++){var HA=CA[qA];HA.type==="arc"?V.call(this,HA.x,HA.y,HA.radius,HA.startAngle,HA.endAngle,HA.counterclockwise,void 0,O,!se):K.call(this,HA.x,HA.y),se=!0}else if(X[VA].close===!0)this.pdf.internal.out("h"),se=!1;else if(X[VA].begin!==!0){var jA=X[VA].start.x,RA=X[VA].start.y;R.call(this,X[VA].deltas,jA,RA),se=!0}q&&N.call(this,q),O&&$.call(this)}},Z=function(Q){var O=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,M=O*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Q-M;case"top":return Q+O-M;case"hanging":return Q+O-2*M;case"middle":return Q+O/2-M;default:return Q}},iA=function(Q){return Q+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var Q=function(){};return Q.colorStops=[],Q.addColorStop=function(O,M){this.colorStops.push([O,M])},Q.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Q.isCanvasGradient=!0,Q},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var V=function(Q,O,M,q,X,eA,lA,uA,gA){for(var QA=sA.call(this,M,q,X,eA),LA=0;LA<QA.length;LA++){var yA=QA[LA];LA===0&&(gA?E.call(this,yA.x1+Q,yA.y1+O):K.call(this,yA.x1+Q,yA.y1+O)),aA.call(this,Q,O,yA.x2,yA.y2,yA.x3,yA.y3,yA.x4,yA.y4)}uA?$.call(this):N.call(this,lA)},N=function(Q){switch(Q){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},$=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(Q,O){this.pdf.internal.out(e(Q)+" "+r(O)+" m")},I=function(Q){var O;switch(Q.align){case"right":case"end":O="right";break;case"center":O="center";break;default:O="left"}var M,q,X,eA=this.pdf.getTextDimensions(Q.text),lA=Z.call(this,Q.y),uA=iA.call(this,lA)-eA.h,gA=this.ctx.transform.applyToPoint(new o(Q.x,lA));if(this.autoPaging){var QA=this.ctx.transform.decompose(),LA=new c;LA=(LA=(LA=LA.multiply(QA.translate)).multiply(QA.skew)).multiply(QA.scale);for(var yA=this.ctx.transform.applyToRectangle(new s(Q.x,lA,eA.w,eA.h)),KA=LA.applyToRectangle(new s(Q.x,uA,eA.w,eA.h)),H=S.call(this,KA),bA=[],se=0;se<H.length;se+=1)bA.indexOf(H[se])===-1&&bA.push(H[se]);G(bA);for(var VA=bA[0],CA=bA[bA.length-1],qA=VA;qA<CA+1;qA++){this.pdf.setPage(qA);var HA=qA===1?this.posY+this.margin[0]:this.margin[0],jA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],RA=this.pdf.internal.pageSize.height-this.margin[2],Ce=RA-this.margin[0],ue=this.pdf.internal.pageSize.width-this.margin[1],Ae=ue-this.margin[3],Be=qA===1?0:jA+(qA-2)*Ce;if(this.ctx.clip_path.length!==0){var fe=this.path;M=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=P(M,this.posX+this.margin[3],-1*Be+HA),Y.call(this,"fill",!0),this.path=fe}var OA=P([JSON.parse(JSON.stringify(KA))],this.posX+this.margin[3],-Be+HA+this.ctx.prevPageLastElemOffset)[0];Q.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*Q.scale),X=this.lineWidth,this.lineWidth=X*Q.scale);var ne=this.autoPaging!=="text";if(ne||OA.y+OA.h<=RA){if(ne||OA.y>=HA&&OA.x<=ue){var MA=ne?Q.text:this.pdf.splitTextToSize(Q.text,Q.maxWidth||ue-OA.x)[0],Ye=P([JSON.parse(JSON.stringify(yA))],this.posX+this.margin[3],-Be+HA+this.ctx.prevPageLastElemOffset)[0],we=ne&&(qA>VA||qA<CA)&&y.call(this);we&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ae,Ce,null).clip().discardPath()),this.pdf.text(MA,Ye.x,Ye.y,{angle:Q.angle,align:O,renderingMode:Q.renderingMode}),we&&this.pdf.restoreGraphicsState()}}else OA.y<RA&&(this.ctx.prevPageLastElemOffset+=RA-OA.y);Q.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=X)}}else Q.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*Q.scale),X=this.lineWidth,this.lineWidth=X*Q.scale),this.pdf.text(Q.text,gA.x+this.posX,gA.y+this.posY,{angle:Q.angle,align:O,renderingMode:Q.renderingMode,maxWidth:Q.maxWidth}),Q.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=X)},K=function(Q,O,M,q){M=M||0,q=q||0,this.pdf.internal.out(e(Q+M)+" "+r(O+q)+" l")},R=function(Q,O,M){return this.pdf.lines(Q,O,M,null,null)},aA=function(Q,O,M,q,X,eA,lA,uA){this.pdf.internal.out([A(n(M+Q)),A(i(q+O)),A(n(X+Q)),A(i(eA+O)),A(n(lA+Q)),A(i(uA+O)),"c"].join(" "))},sA=function(Q,O,M,q){for(var X=2*Math.PI,eA=Math.PI/2;O>M;)O-=X;var lA=Math.abs(M-O);lA<X&&q&&(lA=X-lA);for(var uA=[],gA=q?-1:1,QA=O;lA>1e-5;){var LA=QA+gA*Math.min(lA,eA);uA.push(oA.call(this,Q,QA,LA)),lA-=Math.abs(LA-QA),QA=LA}return uA},oA=function(Q,O,M){var q=(M-O)/2,X=Q*Math.cos(q),eA=Q*Math.sin(q),lA=X,uA=-eA,gA=lA*lA+uA*uA,QA=gA+lA*X+uA*eA,LA=4/3*(Math.sqrt(2*gA*QA)-QA)/(lA*eA-uA*X),yA=lA-LA*uA,KA=uA+LA*lA,H=yA,bA=-KA,se=q+O,VA=Math.cos(se),CA=Math.sin(se);return{x1:Q*Math.cos(O),y1:Q*Math.sin(O),x2:yA*VA-KA*CA,y2:yA*CA+KA*VA,x3:H*VA-bA*CA,y3:H*CA+bA*VA,x4:Q*Math.cos(M),y4:Q*Math.sin(M)}},tA=function(Q){return 180*Q/Math.PI},cA=function(Q,O,M,q,X,eA){var lA=Q+.5*(M-Q),uA=O+.5*(q-O),gA=X+.5*(M-X),QA=eA+.5*(q-eA),LA=Math.min(Q,X,lA,gA),yA=Math.max(Q,X,lA,gA),KA=Math.min(O,eA,uA,QA),H=Math.max(O,eA,uA,QA);return new s(LA,KA,yA-LA,H-KA)},FA=function(Q,O,M,q,X,eA,lA,uA){var gA,QA,LA,yA,KA,H,bA,se,VA,CA,qA,HA,jA,RA,Ce=M-Q,ue=q-O,Ae=X-M,Be=eA-q,fe=lA-X,OA=uA-eA;for(QA=0;QA<41;QA++)VA=(bA=(LA=Q+(gA=QA/40)*Ce)+gA*((KA=M+gA*Ae)-LA))+gA*(KA+gA*(X+gA*fe-KA)-bA),CA=(se=(yA=O+gA*ue)+gA*((H=q+gA*Be)-yA))+gA*(H+gA*(eA+gA*OA-H)-se),QA==0?(qA=VA,HA=CA,jA=VA,RA=CA):(qA=Math.min(qA,VA),HA=Math.min(HA,CA),jA=Math.max(jA,VA),RA=Math.max(RA,CA));return new s(Math.round(qA),Math.round(HA),Math.round(jA-qA),Math.round(RA-HA))},pA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Q,O,M=(Q=this.ctx.lineDash,O=this.ctx.lineDashOffset,JSON.stringify({lineDash:Q,lineDashOffset:O}));this.prevLineDash!==M&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=M)}}})(kA.API),function(t){var A=function(o){var s,c,u,h,p,w,d,b,y,S;for(c=[],u=0,h=(o+=s="\0\0\0\0".slice(o.length%4||4)).length;h>u;u+=4)(p=(o.charCodeAt(u)<<24)+(o.charCodeAt(u+1)<<16)+(o.charCodeAt(u+2)<<8)+o.charCodeAt(u+3))!==0?(w=(p=((p=((p=((p=(p-(S=p%85))/85)-(y=p%85))/85)-(b=p%85))/85)-(d=p%85))/85)%85,c.push(w+33,d+33,b+33,y+33,S+33)):c.push(122);return function(F,P){for(var G=P;G>0;G--)F.pop()}(c,s.length),String.fromCharCode.apply(String,c)+"~>"},e=function(o){var s,c,u,h,p,w=String,d="length",b=255,y="charCodeAt",S="slice",F="replace";for(o[S](-2),o=o[S](0,-2)[F](/\s/g,"")[F]("z","!!!!!"),u=[],h=0,p=(o+=s="uuuuu"[S](o[d]%5||5))[d];p>h;h+=5)c=52200625*(o[y](h)-33)+614125*(o[y](h+1)-33)+7225*(o[y](h+2)-33)+85*(o[y](h+3)-33)+(o[y](h+4)-33),u.push(b&c>>24,b&c>>16,b&c>>8,b&c);return function(P,G){for(var k=G;k>0;k--)P.pop()}(u,s[d]),w.fromCharCode.apply(w,u)},r=function(o){return o.split("").map(function(s){return("0"+s.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(o){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((o=o.replace(/\s/g,"")).indexOf(">")!==-1&&(o=o.substr(0,o.indexOf(">"))),o.length%2&&(o+="0"),s.test(o)===!1)return"";for(var c="",u=0;u<o.length;u+=2)c+=String.fromCharCode("0x"+(o[u]+o[u+1]));return c},i=function(o){for(var s=new Uint8Array(o.length),c=o.length;c--;)s[c]=o.charCodeAt(c);return(s=Yl(s)).reduce(function(u,h){return u+String.fromCharCode(h)},"")};t.processDataByFilters=function(o,s){var c=0,u=o||"",h=[];for(typeof(s=s||[])=="string"&&(s=[s]),c=0;c<s.length;c+=1)switch(s[c]){case"ASCII85Decode":case"/ASCII85Decode":u=e(u),h.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=A(u),h.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=n(u),h.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),h.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=i(u),h.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[c]+'" is not implemented')}return{data:u,reverseChain:h.reverse().join(" ")}}}(kA.API),function(t){t.loadFile=function(A,e,r){return function(n,i,o){i=i!==!1,o=typeof o=="function"?o:function(){};var s=void 0;try{s=function(c,u,h){var p=new XMLHttpRequest,w=0,d=function(b){var y=b.length,S=[],F=String.fromCharCode;for(w=0;w<y;w+=1)S.push(F(255&b.charCodeAt(w)));return S.join("")};if(p.open("GET",c,!u),p.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(p.onload=function(){p.status===200?h(d(this.responseText)):h(void 0)}),p.send(null),u&&p.status===200)return d(p.responseText)}(n,i,o)}catch{}return s}(A,e,r)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile}(kA.API),function(t){function A(){return(zA.html2canvas?Promise.resolve(zA.html2canvas):Dc(()=>Promise.resolve().then(()=>f5),void 0,import.meta.url)).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function e(){return(zA.DOMPurify?Promise.resolve(zA.DOMPurify):Dc(()=>import("./vendor-mermaid-CQXqUd1Z.js").then(s=>s.bc),__vite__mapDeps([0,1,2,3,4]),import.meta.url)).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var r=function(s){var c=Se(s);return c==="undefined"?"undefined":c==="string"||s instanceof String?"string":c==="number"||s instanceof Number?"number":c==="function"||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&s.nodeType===1?"element":c==="object"?"object":"unknown"},n=function(s,c){var u=document.createElement(s);for(var h in c.className&&(u.className=c.className),c.innerHTML&&c.dompurify&&(u.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)u.style[h]=c.style[h];return u},i=function s(c,u){for(var h=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),p=c.firstChild;p;p=p.nextSibling)u!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||h.appendChild(s(p,u));return c.nodeType===1&&(c.nodeName==="CANVAS"?(h.width=c.width,h.height=c.height,h.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(h.value=c.value),h.addEventListener("load",function(){h.scrollTop=c.scrollTop,h.scrollLeft=c.scrollLeft},!0)),h},o=function s(c){var u=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),h=s.convert(Promise.resolve(),u);return(h=h.setProgress(1,s,1,[s])).set(c)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(s,c){return s.__proto__=c||o.prototype,s},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},o.prototype.from=function(s,c){return this.then(function(){switch(c=c||function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(s),c){case"string":return this.then(e).then(function(u){return this.set({src:n("div",{innerHTML:s,dompurify:u})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},o.prototype.to=function(s){switch(s){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var s={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},c=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(n("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},o.prototype.toCanvas=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(A).then(function(c){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,c(this.prop.container,u)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},o.prototype.toContext2d=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(A).then(function(c){var u=this.opt.jsPDF,h=this.opt.fontFaces,p=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,w=Object.assign({async:!0,allowTaint:!0,scale:p,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete w.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=h,h)for(var d=0;d<h.length;++d){var b=h[d],y=b.src.find(function(S){return S.format==="truetype"});y&&u.addFont(y.url,b.ref.name,b.ref.style)}return w.windowHeight=w.windowHeight||0,w.windowHeight=w.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):w.windowHeight,u.context2d.save(!0),c(this.prop.container,w)}).then(function(c){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},o.prototype.output=function(s,c,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(s,c):this.outputPdf(s,c)},o.prototype.outputPdf=function(s,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,c)})},o.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+s+'" is not supported.'}})},o.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},o.prototype.set=function(s){if(r(s)!=="object")return this;var c=Object.keys(s||{}).map(function(u){if(u in o.template.prop)return function(){this.prop[u]=s[u]};switch(u){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[u]=s[u]}}},this);return this.then(function(){return this.thenList(c)})},o.prototype.get=function(s,c){return this.then(function(){var u=s in o.template.prop?this.prop[s]:this.opt[s];return c?c(u):u})},o.prototype.setMargin=function(s){return this.then(function(){switch(r(s)){case"number":s=[s,s,s,s];case"array":if(s.length===2&&(s=[s[0],s[1],s[0],s[1]]),s.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},o.prototype.setPageSize=function(s){function c(u,h){return Math.floor(u*h/72*96)}return this.then(function(){(s=s||kA.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:c(s.inner.width,s.k),height:c(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},o.prototype.setProgress=function(s,c,u,h){return s!=null&&(this.progress.val=s),c!=null&&(this.progress.state=c),u!=null&&(this.progress.n=u),h!=null&&(this.progress.stack=h),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(s,c,u,h){return this.setProgress(s?this.progress.val+s:null,c||null,u?this.progress.n+u:null,h?this.progress.stack.concat(h):null)},o.prototype.then=function(s,c){var u=this;return this.thenCore(s,c,function(h,p){return u.updateProgress(null,null,1,[h]),Promise.prototype.then.call(this,function(w){return u.updateProgress(null,h),w}).then(h,p).then(function(w){return u.updateProgress(1),w})})},o.prototype.thenCore=function(s,c,u){u=u||Promise.prototype.then;var h=this;s&&(s=s.bind(h)),c&&(c=c.bind(h));var p=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?h:o.convert(Object.assign({},h),Promise.prototype),w=u.call(p,s,c);return o.convert(w,h.__proto__)},o.prototype.thenExternal=function(s,c){return Promise.prototype.then.call(this,s,c)},o.prototype.thenList=function(s){var c=this;return s.forEach(function(u){c=c.thenCore(u)}),c},o.prototype.catch=function(s){s&&(s=s.bind(this));var c=Promise.prototype.catch.call(this,s);return o.convert(c,this)},o.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},o.prototype.error=function(s){return this.then(function(){throw new Error(s)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,kA.getPageSize=function(s,c,u){if(Se(s)==="object"){var h=s;s=h.orientation,c=h.unit||c,u=h.format||u}c=c||"mm",u=u||"a4",s=(""+(s||"P")).toLowerCase();var p,w=(""+u).toLowerCase(),d={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(c){case"pt":p=1;break;case"mm":p=72/25.4;break;case"cm":p=72/2.54;break;case"in":p=72;break;case"px":p=.75;break;case"pc":case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+c}var b,y=0,S=0;if(d.hasOwnProperty(w))y=d[w][1]/p,S=d[w][0]/p;else try{y=u[1],S=u[0]}catch{throw new Error("Invalid format: "+u)}if(s==="p"||s==="portrait")s="p",S>y&&(b=S,S=y,y=b);else{if(s!=="l"&&s!=="landscape")throw"Invalid orientation: "+s;s="l",y>S&&(b=S,S=y,y=b)}return{width:S,height:y,unit:c,k:p,orientation:s}},t.html=function(s,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(Cl):null;var u=new o(c);return c.worker?u:u.from(s).doCallback()}}(kA.API),kA.API.addJS=function(t){var A,e,r=function(n){for(var i="",o=0;o<n.length;o++){var s=n[o];if(s==="("||s===")"){for(var c=0,u=o-1;u>=0&&n[u]==="\\";u--)c++;i+=c%2==0?"\\"+s:s}else i+=s}return i}(t);return this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(A+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){A!==void 0&&e!==void 0&&this.internal.out("/Names <</JavaScript "+A+" 0 R>>")}),this},function(t){var A;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),i=0;i<n.length;i++){var o=n[i],s=r.exec(o);if(s!=null){var c=s[1];e.internal.newObjectDeferredBegin(c,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,h=[];for(i=0;i<u;i++){var p=e.internal.newObject();h.push(p);var w=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+w.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<h.length;i++)e.internal.write("(page_"+(i+1)+")"+h[i]+" 0 R");e.internal.write(" ] >>","endobj"),A=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+A+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,i){var o={title:n,options:i,children:[]};return r==null&&(r=this.root),r.children.push(o),o},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n<r.children.length;n++)this.genIds_r(r.children[n])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<r.children.length;i++){var o=r.children[i];this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(r)),i>0&&this.line("/Prev "+this.makeRef(r.children[i-1])),i<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[i+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var s=this.count=this.count_r({count:0},o);if(s>0&&this.line("/Count "+s),o.options&&o.options.pageNumber){var c=e.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+`\r
|
|
154
154
|
`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
|
|
155
155
|
`+r.id+` 0 obj\r
|
|
156
156
|
<<\r
|
package/dist/assets/{xychartDiagram-PRI3JC2R-eJ_9DABA.js → xychartDiagram-PRI3JC2R-BoJPfqrl.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as gi,g as xi,q as Xt,p as di,a as pi,b as fi,_ as n,l as Nt,I as yi,e as mi,y as bi,G as Ct,i as Ai,E as Yt,F as wi,M as Ci,N as Si}from"./vendor-mermaid-
|
|
1
|
+
import{s as gi,g as xi,q as Xt,p as di,a as pi,b as fi,_ as n,l as Nt,I as yi,e as mi,y as bi,G as Ct,i as Ai,E as Yt,F as wi,M as Ci,N as Si}from"./vendor-mermaid-CQXqUd1Z.js";import{F as Bt,E as Wt,A as zt}from"./vendor-charts-BvOlsian.js";import"./vendor-markdown-DYfLXXRA.js";import"./vendor-i18n-BNURlJ23.js";import"./vendor-antd-DzhFcYgt.js";var mt=function(){var s=n(function(W,r,u,g){for(u=u||{},g=W.length;g--;u[W[g]]=r);return u},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],e=[1,3],a=[1,5],c=[1,6],d=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],b=[1,25],P=[1,26],I=[1,28],R=[1,29],L=[1,30],z=[1,31],F=[1,32],D=[1,33],V=[1,34],f=[1,35],C=[1,36],l=[1,37],M=[1,43],B=[1,42],U=[1,47],X=[1,50],h=[1,10,12,14,16,18,19,21,23,34,35,36],k=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],w=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],S=[1,64],$={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n(function(r,u,g,x,A,o,nt){var p=o.length-1;switch(A){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:this.$=[Number(o[p-2]),...o[p]];break;case 21:this.$=[Number(o[p])];break;case 22:x.setXAxisTitle(o[p]);break;case 23:x.setXAxisTitle(o[p-1]);break;case 24:x.setXAxisTitle({type:"text",text:""});break;case 25:x.setXAxisBand(o[p]);break;case 26:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 27:this.$=o[p-1];break;case 28:this.$=[o[p-2],...o[p]];break;case 29:this.$=[o[p]];break;case 30:x.setYAxisTitle(o[p]);break;case 31:x.setYAxisTitle(o[p-1]);break;case 32:x.setYAxisTitle({type:"text",text:""});break;case 33:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 37:this.$={text:o[p],type:"text"};break;case 38:this.$={text:o[p],type:"text"};break;case 39:this.$={text:o[p],type:"markdown"};break;case 40:this.$=o[p];break;case 41:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[s(t,i,{3:1,4:2,7:4,5:e,34:a,35:c,36:d}),{1:[3]},s(t,i,{4:2,7:4,3:8,5:e,34:a,35:c,36:d}),s(t,i,{4:2,7:4,6:9,3:10,5:e,8:[1,11],34:a,35:c,36:d}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},s(m,[2,34]),s(m,[2,35]),s(m,[2,36]),{1:[2,1]},s(t,i,{4:2,7:4,3:21,5:e,34:a,35:c,36:d}),{1:[2,3]},s(m,[2,5]),s(t,[2,7],{4:22,34:a,35:c,36:d}),{11:23,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:39,13:38,24:M,27:B,29:40,30:41,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:45,15:44,27:U,33:46,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:49,17:48,24:X,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:52,17:51,24:X,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{20:[1,53]},{22:[1,54]},s(h,[2,18]),{1:[2,2]},s(h,[2,8]),s(h,[2,9]),s(k,[2,37],{40:55,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l}),s(k,[2,38]),s(k,[2,39]),s(w,[2,40]),s(w,[2,42]),s(w,[2,43]),s(w,[2,44]),s(w,[2,45]),s(w,[2,46]),s(w,[2,47]),s(w,[2,48]),s(w,[2,49]),s(w,[2,50]),s(w,[2,51]),s(h,[2,10]),s(h,[2,22],{30:41,29:56,24:M,27:B}),s(h,[2,24]),s(h,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},s(h,[2,11]),s(h,[2,30],{33:60,27:U}),s(h,[2,32]),{31:[1,61]},s(h,[2,12]),{17:62,24:X},{25:63,27:S},s(h,[2,14]),{17:65,24:X},s(h,[2,16]),s(h,[2,17]),s(w,[2,41]),s(h,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},s(h,[2,31]),{27:[1,69]},s(h,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},s(h,[2,15]),s(h,[2,26]),s(h,[2,27]),{11:59,32:72,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},s(h,[2,33]),s(h,[2,19]),{25:73,27:S},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n(function(r,u){if(u.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=u,g}},"parseError"),parse:n(function(r){var u=this,g=[0],x=[],A=[null],o=[],nt=this.table,p="",lt=0,Et=0,hi=2,It=1,li=o.slice.call(arguments,1),_=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);_.setInput(r,Y.yy),Y.yy.lexer=_,Y.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var pt=_.yylloc;o.push(pt);var ci=_.options&&_.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ui(v){g.length=g.length-2*v,A.length=A.length-v,o.length=o.length-v}n(ui,"popStack");function Vt(){var v;return v=x.pop()||_.lex()||It,typeof v!="number"&&(v instanceof Array&&(x=v,v=x.pop()),v=u.symbols_[v]||v),v}n(Vt,"lex");for(var T,H,E,ft,q={},ct,O,Mt,ut;;){if(H=g[g.length-1],this.defaultActions[H]?E=this.defaultActions[H]:((T===null||typeof T>"u")&&(T=Vt()),E=nt[H]&&nt[H][T]),typeof E>"u"||!E.length||!E[0]){var yt="";ut=[];for(ct in nt[H])this.terminals_[ct]&&ct>hi&&ut.push("'"+this.terminals_[ct]+"'");_.showPosition?yt="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[T]||T)+"'":yt="Parse error on line "+(lt+1)+": Unexpected "+(T==It?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(yt,{text:_.match,token:this.terminals_[T]||T,line:_.yylineno,loc:pt,expected:ut})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+T);switch(E[0]){case 1:g.push(T),A.push(_.yytext),o.push(_.yylloc),g.push(E[1]),T=null,Et=_.yyleng,p=_.yytext,lt=_.yylineno,pt=_.yylloc;break;case 2:if(O=this.productions_[E[1]][1],q.$=A[A.length-O],q._$={first_line:o[o.length-(O||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(O||1)].first_column,last_column:o[o.length-1].last_column},ci&&(q._$.range=[o[o.length-(O||1)].range[0],o[o.length-1].range[1]]),ft=this.performAction.apply(q,[p,Et,lt,Y.yy,E[1],A,o].concat(li)),typeof ft<"u")return ft;O&&(g=g.slice(0,-1*O*2),A=A.slice(0,-1*O),o=o.slice(0,-1*O)),g.push(this.productions_[E[1]][0]),A.push(q.$),o.push(q._$),Mt=nt[g[g.length-2]][g[g.length-1]],g.push(Mt);break;case 3:return!0}}return!0},"parse")},Lt=function(){var W={EOF:1,parseError:n(function(u,g){if(this.yy.parser)this.yy.parser.parseError(u,g);else throw new Error(u)},"parseError"),setInput:n(function(r,u){return this.yy=u||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var u=r.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var u=r.length,g=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===x.length?this.yylloc.first_column:0)+x[x.length-g.length].length-g[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),u=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
package/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Bodhi</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/main-
|
|
8
|
+
<script type="module" crossorigin src="./assets/main-DTO0Nb-V.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="./assets/vendor-i18n-BNURlJ23.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="./assets/vendor-antd-DzhFcYgt.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="./assets/vendor-markdown-DYfLXXRA.js">
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./_baseUniq-DLmpf-qH.js";var e=4;function a(o){return r(o,e)}export{a as c};
|