|
|
!(function(){var O1=Object.defineProperty,Q1=Object.defineProperties;var T1=Object.getOwnPropertyDescriptors;var vm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Iv=Object.prototype.propertyIsEnumerable;var bp=(on,Ut,we)=>Ut in on?O1(on,Ut,{enumerable:!0,configurable:!0,writable:!0,value:we}):on[Ut]=we,Nc=(on,Ut)=>{for(var we in Ut||(Ut={}))Lv.call(Ut,we)&&bp(on,we,Ut[we]);if(vm)for(var we of vm(Ut))Iv.call(Ut,we)&&bp(on,we,Ut[we]);return on},Cp=(on,Ut)=>Q1(on,T1(Ut));var Uv=(on,Ut)=>{var we={};for(var Oe in on)Lv.call(on,Oe)&&Ut.indexOf(Oe)<0&&(we[Oe]=on[Oe]);if(on!=null&&vm)for(var Oe of vm(on))Ut.indexOf(Oe)<0&&Iv.call(on,Oe)&&(we[Oe]=on[Oe]);return we};var Mi=(on,Ut,we)=>bp(on,typeof Ut!="symbol"?Ut+"":Ut,we);(self.webpackChunk=self.webpackChunk||[]).push([[5330],{89489:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},59477:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},26227:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},49198:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},87169:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},52671:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},8657:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},56082:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},33853:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},15075:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},43531:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},38819:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},95869:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},32313:function(on,Ut){"use strict";Ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},27346:function(on,Ut){"use strict";Ut.Z={threeBtnSty:"threeBtnSty___TLi14",threeTableSty:"threeTableSty___TPPHp",threeSelectSty:"threeSelectSty___FTtcH",threeCheckboxSty:"threeCheckboxSty___lOX9B",inputStyComm:"inputStyComm___eu0su",threeInputSty:"threeInputSty___mTodi",threeNumberInputSty:"threeNumberInputSty___FdfX9",threeSuffixInputSty:"threeSuffixInputSty___TXvX8",threeRadioSty:"threeRadioSty___d2bpk",threeTreeSty:"threeTreeSty___sYMRj",threeTabsSty:"threeTabsSty___Aq8HO",threeRangePickerSty:"threeRangePickerSty___wy5qD",threeCollapseSty:"threeCollapseSty___EuXSZ",threePaginationSty:"threePaginationSty___qMewa",threeSwitchSty:"threeSwitchSty___vyJb_",threeUploadSty:"threeUploadSty___ze5Tr",threeFormSty:"threeFormSty___OJPML",threecommonSty:"threecommonSty___CbX7M",threeModalSty:"threeModalSty___EyX5Y",threeDrawerSty:"threeDrawerSty___Ei_DC"}},6404:function(){"use strict";function on(ie,y,a,ee){a===void 0&&(a=0),ee===void 0&&(ee=1/0),this._name=ie,this._defaultValue=y,this._minimum=a,this._maximum=ee}Object.defineProperty(on.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(on.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(on.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(on.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,y){var a=go.Shape._FigureParameters[ie];return a?a[y]:null},go.Shape.setFigureParameter=function(ie,y,a){if(!(a instanceof on))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var ee=go.Shape._FigureParameters[ie];ee||(ee=[],go.Shape._FigureParameters[ie]=ee),ee[y]=a};var Ut=[];function we(ie,y){var a=Ut.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function Oe(){var ie=Ut.pop();return ie===void 0?new go.Point:ie}function be(ie){Ut.push(ie)}function ze(ie,y,a,ee,E,te,ne,oe,he){he||(he=new go.Point);var _e=ie-a,Pe=E-ne,Qe=NaN,Ze=NaN;if(_e===0)if(Pe===0)ie===a&&(Qe=ie,Ze=y);else{var Ve=(te-oe)/Pe,nt=te-Ve*E;Qe=ie,Ze=Ve*Qe+nt}else if(Pe===0){var De=(y-ee)/_e,Bt=y-De*ie;Qe=E,Ze=De*Qe+Bt}else{var De=(y-ee)/_e,Ve=(te-oe)/Pe,Bt=y-De*ie,nt=te-Ve*E;Qe=(nt-Bt)/(De-Ve),Ze=De*Qe+Bt}return he.x=Qe,he.y=Ze,he}function at(ie,y,a,ee,E,te,ne,oe,he,_e,Pe,Qe,Ze,Ve){var nt=1-he,De=he,Bt=ie*nt+a*De,ke=y*nt+ee*De,Ot=a*nt+E*De,it=ee*nt+te*De,rt=E*nt+ne*De,wt=te*nt+oe*De,dt=Bt*nt+Ot*De,pt=ke*nt+it*De,st=Ot*nt+rt*De,ft=it*nt+wt*De,rn=dt*nt+st*De,fn=pt*nt+ft*De;_e.x=Bt,_e.y=ke,Pe.x=dt,Pe.y=pt,Qe.x=rn,Qe.y=fn,Ze.x=st,Ze.y=ft,Ve.x=rt,Ve.y=wt}var Ge=new go.Spot(.156,.156),je=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new on("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=5),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*me,te=new go.Geometry().add(new go.PathFigure(ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-ee)).add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,ee,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()));return E>1&&(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,1,-E,-E)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=a/2,ee.endX=y,ee.endY=a/2,ee}),go.Shape.defineFigureGenerator("LineV",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y/2,ee.startY=0,ee.endX=y/2,ee.endY=a,ee}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,y,a){var ee=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ee*y,(1-ee)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,y,a){var ee=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ee,ee,ee,ee).close()));return E.spot1=Ge,E.spot2=je,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Line2",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y,ee.startY=0,ee.endX=0,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Curve1",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,me*y,0,y,(1-me)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,me*a,(1-me)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,me*a,me*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-me)*y,0,0,(1-me)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new on("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=.1:ee<-1?ee=-1:ee>1&&(ee=1);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new on("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=10:ee<-y?ee=-y:ee>y&&(ee=y);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.setFigureParameter("Trapezoid1",0,new on("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=.2:ee<.5?ee=-.5:ee>.5&&(ee=.5);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new on("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=20:ee<-y?ee=-y/2:ee>y&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}}),go.Shape.setFigureParameter("ManualOperation",0,new on("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=10:ee<-y?ee=-y/2:ee>y&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E<y/2&&te.setSpots(E/y,0,(y-E)/y,1),te}});var Be=[];function Le(){var ie=Be.pop();return ie===void 0?[]:ie}function de(ie){ie.length=0,Be.push(ie)}function Ie(ie){for(var y=Le(),a=.5,ee=.5,E=Math.PI*1.5,te=0,ne=0;ne<ie;ne++)te=2*Math.PI/ie*ne+E,y[ne]=new go.Point(ee+a*Math.cos(te),ee+a*Math.sin(te));return y.push(y[0]),y}function Fe(ie){var y=Ce(ie),a=Le();a[0]=y[0];for(var ee=1,E=1;ee<y.length;ee+=2,E+=3)a[E]=y[ee],a[E+1]=y[ee],a[E+2]=y[ee+1];return de(y),a}function Ce(ie){for(var y=Ie(ie),a=Le(),ee=Math.floor(y.length/2),E=y.length-1,te=ie%2===0?2:1,ne=0;ne<E;ne++){var oe=y[ne],he=y[ne+1],_e=y[(ee+ne-1)%E],Pe=y[(ee+ne+te)%E];a[ne*2]=oe,a[ne*2+1]=ze(oe.x,oe.y,_e.x,_e.y,he.x,he.y,Pe.x,Pe.y,new go.Point)}return a[a.length]=a[0],de(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ie,y,a){var ee=Ie(5),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<5;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(ie,y,a){var ee=Ie(6),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<6;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(ie,y,a){var ee=Ie(7),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<7;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(ie,y,a){var ee=Ie(8),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<8;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(ie,y,a){var ee=Ie(9),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<9;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(ie,y,a){var ee=Ie(10),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<10;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(ie,y,a){var ee=Ie(12),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<12;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(ie,y,a){var ee=Ce(5),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<10;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(ie,y,a){var ee=Ce(6),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<12;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ie,y,a){var ee=Ce(7),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<14;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(ie,y,a){var ee=Ce(8),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<16;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(ie,y,a){var ee=Ce(9),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<18;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(ie,y,a){var ee=Ce(10),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<20;ne++)te.add(new go.PathSegment(go.PathSegment.Line,ee[ne].x*y,ee[ne].y*a));return te.add(new go.PathSegment(go.PathSegment.Line,ee[0].x*y,ee[0].y*a).close()),de(ee),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ie,y,a){var ee=Fe(5),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ie,y,a){var ee=Fe(6),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ie,y,a){var ee=Fe(7),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ie,y,a){var ee=Fe(8),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ie,y,a){var ee=Fe(9),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ie,y,a){var ee=Fe(10),E=new go.Geometry,te=new go.PathFigure(ee[0].x*y,ee[0].y*a,!0);E.add(te);for(var ne=1;ne<ee.length;ne+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,ee[ne+2].x*y,ee[ne+2].y*a,ee[ne].x*y,ee[ne].y*a,ee[ne+1].x*y,ee[ne+1].y*a));return te.segments.last().close(),de(ee),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new on("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new on("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ie,y,a){var ee=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=8),isNaN(E)&&(E=8);var te=new go.Geometry,ne=new go.PathFigure(0,0,!0);return te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee<y/2&&E<a/2&&(ne.add(new go.PathSegment(go.PathSegment.Move,ee,E)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,E).close())),te.setSpots(0,0,1,1,ee,E,-ee,-E),te}),go.Shape.setFigureParameter("Ring",0,new on("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=8);var E=y/2,te=new go.Geometry,ne=new go.PathFigure(y,y/2,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var oe=Math.max(E-ee,0);return oe>0&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+oe,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,oe,oe).close())),te.spot1=Ge,te.spot2=je,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,y,a){var ee=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ee*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close())).setSpots(ee/2,ee/2,1-ee/2,1-ee/2)}),go.Shape.setFigureParameter("Pie",0,new on("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new on("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var ee=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=0),isNaN(E)&&(E=315);var te=ee%360;te<0&&(te+=360);var ne=E%360,oe=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,te,ne,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,y,a){var ee=me/Math.SQRT2*.5,E=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,te*a,y,(1-ee)*a,(E+ee)*y,(te+ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new on("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;if((isNaN(ee)||ee<0)&&(ee=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var te=y/2,ne=a/2,oe=Math.atan2(a,y),he=ee-Math.min(Math.cos(oe)*ee/2,te),_e=ee-Math.min(Math.sin(oe)*ee/2,ne),E=new go.Geometry,Pe=new go.PathFigure(he,0,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-he,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,a-_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-he,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,he,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a-_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,_e).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new on("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=new go.Geometry,te=new go.PathFigure(.1*y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new on("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new on("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.5);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-ee)*y,.25*a,Math.abs(1-ee)*y,.75*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,me*y,0,y,(.5-me/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+me/2)*a,me*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var te=.2,ne=.3,oe=0,he=te*me;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+oe)*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne)*y,(.5-he+oe)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne+.05)*y,(.5-he+oe-.02)*a)),te=.2,ne=0,oe=-.3,he=te*me,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+oe)*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne)*y,(.5-he+oe)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+oe)*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne)*y,(.5-he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-he+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),te=.2,ne=-.3,oe=0,he=te*me,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne-.05)*y,(.5-he+oe-.02)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+oe)*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne)*y,(.5-he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a).close()),ee.setSpots(.06,.33,.93,.68),ee}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var te=.1,ne=.5,oe=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ne+te)*y,oe*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*oe,te*y,te*y).close()),E=new go.PathFigure(y*.5,0,!1),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),oe=.75,E=new go.PathFigure((ne+te)*y,oe*a,!0),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*oe,te*y,te*y).close()),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Peace",function(ie,y,a){var ee=.8535533905932737,E=.5*y,te=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,te,E,te)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,ee*y,ee*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=.5,oe=.5,he=new go.PathFigure(ne*y,(oe-te)*a);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),te=.4,E=me*.4;var _e=Oe(),Pe=Oe(),Qe=Oe(),Ze=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.42,_e,Pe,Qe,Ze,Ze);var Ve=Oe(),nt=Oe(),De=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.58,Ze,Ze,De,Ve,nt);var Bt=Oe(),ke=Oe(),Ot=Oe();at(ne,oe+te,ne-E,oe+te,ne-te,oe+E,ne-te,oe,.42,Bt,ke,Ot,Ze,Ze);var it=Oe(),rt=Oe(),wt=Oe();return at(ne,oe+te,ne-E,oe+te,ne-te,oe+E,ne-te,oe,.58,Ze,Ze,wt,it,rt),he.add(new go.PathSegment(go.PathSegment.Move,wt.x*y,wt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,it.x*y,it.y*a,rt.x*y,rt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Qe.x*y,Qe.y*a,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a)),he.add(new go.PathSegment(go.PathSegment.Line,wt.x*y,wt.y*a).close()),he.add(new go.PathSegment(go.PathSegment.Move,Ot.x*y,Ot.y*a)),he.add(new go.PathSegment(go.PathSegment.Line,De.x*y,De.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Ve.x*y,Ve.y*a,nt.x*y,nt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ot.x*y,Ot.y*a,Bt.x*y,Bt.y*a,ke.x*y,ke.y*a).close()),be(_e),be(Pe),be(Qe),be(Ze),be(Ve),be(nt),be(De),be(Bt),be(ke),be(Ot),be(it),be(rt),be(wt),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Fragile",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30),ee>y&&(ee=y);var E=(y-ee)/2,te=E+ee;return new go.Geometry().add(new go.PathFigure(te,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,y,a){var ee=new go.Geometry,E=me*.4,te=.4,ne=.5,oe=.5,he=Oe(),_e=Oe(),Pe=Oe(),Qe=Oe(),Ze=new go.PathFigure((ne-te)*y,oe*a,!1);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.44,Pe,Qe,_e,he,he),Ze.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a));var Ve=we(_e.x,_e.y);at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.56,he,he,_e,Pe,Qe);var nt=we(_e.x,_e.y);Ze.add(new go.PathSegment(go.PathSegment.Line,(Ve.x*.1+.95*.9)*y,Ve.y*.1*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ve.y*.1*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,.15*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,(nt.y*.1+.05*.9)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,nt.x*y,nt.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),te=.35,E=me*.35;var De=new go.PathFigure(ne*y,(oe-te)*a,!1);ee.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a));var Bt=new go.PathFigure((ne-te)*y,oe*a,!1);return ee.add(Bt),be(he),be(_e),be(Pe),be(Qe),be(Ve),be(nt),ee.spot1=new go.Spot(.202,.257),ee.spot2=new go.Spot(.792,.739),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,y,a){var ee=new go.Geometry,E=.375,te=0,ne=-.125,oe=E*me,he=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+oe+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-oe+ne)*a,(.5+oe+te)*y,(.5-E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+oe+ne)*a,(.5-oe+te)*y,(.5+E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,te=0,ne=-.125,oe=E*me;var he=new go.PathFigure((1-.5+E+te)*y,(.5+ne)*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+oe+ne)*a,(.5+oe+te)*y,(.5+E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+oe+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-oe+ne)*a));var he=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);return ee.add(he),ee.spot1=new go.Spot(.232,.136),ee.spot2=new go.Spot(.682,.611),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,y,a){var ee=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new on("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new on("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=.3);var te=(1-ee)*y,ne=(.5-E/2)*a,oe=(.5+E/2)*a,he=new go.Geometry,_e=new go.PathFigure(0,ne,!0);he.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te,ne)),_e.add(new go.PathSegment(go.PathSegment.Line,te,0)),_e.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,oe)),_e.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),he.spot1=new go.Spot(0,ne/a);var Pe=ze(0,oe/a,1,oe/a,te/y,1,1,.5,Oe());return he.spot2=new go.Spot(Pe.x,Pe.y),be(Pe),he}),go.Shape.setFigureParameter("Arrow2",0,new on("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new on("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=30),ee>y&&(ee=y);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var te=y-ee,ne=(a-E)/2,oe=ne+E,he=new go.Geometry,_e=new go.PathFigure(0,ne,!0);he.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te,ne)),_e.add(new go.PathSegment(go.PathSegment.Line,te,0)),_e.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,oe)),_e.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),he.spot1=new go.Spot(0,ne/a);var Pe=ze(0,oe/a,1,oe/a,te/y,1,1,.5,Oe());return he.spot2=new go.Spot(Pe.x,Pe.y),be(Pe),he}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),ee}),go.Shape.setFigureParameter("DoubleEndArrow",0,new on("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var he=ze(0,.5,.3,0,0,E/a,.1,E/a,Oe());return ne.spot1=new go.Spot(he.x,he.y),he=ze(.7,1,1,.5,0,te/a,1,te/a,he),ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new on("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new on("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,oe=(a-E)/2,he=oe+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,oe=0,he=a):(te=0,ne=a,oe=0,he=a));var _e=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);_e.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close());var Qe=ze(0,.5,.3,oe/a,0,te/a,1,te/a,Oe());return _e.spot1=new go.Spot(Qe.x,Qe.y),Qe=ze(.7,he/a,1,.5,0,ne/a,1,ne/a,Qe),_e.spot2=new go.Spot(Qe.x,Qe.y),be(Qe),_e}),go.Shape.setFigureParameter("IBeamArrow",0,new on("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,E/a);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new on("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new on("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,oe=(a-E)/2,he=oe+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,oe=0,he=a):(te=0,ne=a,oe=0,he=a));var _e=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);_e.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close()),_e.spot1=new go.Spot(0,te/a);var Qe=ze(.7,he/a,1,.5,0,ne/a,1,ne/a,Oe());return _e.spot2=new go.Spot(Qe.x,Qe.y),be(Qe),_e}),go.Shape.setFigureParameter("Pointer",0,new on("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.1);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(ee,.35);var ne=ze(.2,.65,1,.65,0,1,1,.5,Oe());return E.spot2=new go.Spot(ne.x,ne.y),be(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new on("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E.spot1=new go.Spot(ee,.35);var ne=ze(0,.65,1,.65,0,1,1,.5,Oe());return E.spot2=new go.Spot(ne.x,ne.y),be(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new on("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.4);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new on("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=50);var E=(a-ee)/2,te=E+ee;ee>a&&(E=0,te=a);var ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,E/a);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("SquareArrow",0,new on("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.7);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(ee,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(0,.9*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a).close()),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.97),ee}),go.Shape.defineFigureGenerator("Cone2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var te=new go.PathFigure(0,.9*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.82),ee}),go.Shape.defineFigureGenerator("Cube1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.5,.85),ee}),go.Shape.defineFigureGenerator("Cube2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var te=new go.PathFigure(0,.3*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.7,1),ee}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(0,ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,me*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,ee,(.5+te)*y,0,1*y,me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-me*ee,(.5+te)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,1*a,0,a-me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee));var oe=new go.PathFigure(y,ee,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*ee,1*y,2*ee-me*ee,(.5+te)*y,2*ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(.5-te)*y,2*ee,0,2*ee-me*ee)),E.spot1=new go.Spot(0,0,0,2*ee),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(0,a-ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,me*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,(.5+te)*y,0,y,me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-me*ee,(.5+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,a,0,a-me*ee));var oe=new go.PathFigure(0,a-ee,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*ee,0,a-ee-me*ee,(.5-te)*y,a-2*ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,a-ee,(.5+te)*y,a-2*ee,y,a-ee-me*ee)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*ee),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-me*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-me*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,me*ee,0));var oe=new go.PathFigure(ee,0,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*ee,.5*a,ee+me*ee,0,2*ee,(.5-te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee,a,2*ee,(.5+te)*a,ee+me*ee,a)),E.spot1=new go.Spot(0,0,2*ee,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(y-ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-me*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-me*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,me*ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0));var oe=new go.PathFigure(y-ee,0,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-2*ee,.5*a,y-ee-me*ee,0,y-2*ee,(.5-te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y-2*ee,(.5+te)*a,y-ee-me*ee,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*ee,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.25*y,.25*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.408,.172),ee.spot2=new go.Spot(.833,.662),ee}),go.Shape.defineFigureGenerator("Prism2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Actor",function(ie,y,a){var ee=new go.Geometry,E=.2,te=.1,ne=me*E,oe=me*te,he=.5,_e=.1,Pe=new go.PathFigure(he*y,(_e+te)*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-E)*y,_e*a,(he-ne)*y,(_e+te)*a,(he-E)*y,(_e+oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-te)*a,(he-E)*y,(_e-oe)*a,(he-ne)*y,(_e-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+E)*y,_e*a,(he+ne)*y,(_e-te)*a,(he+E)*y,(_e-oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+te)*a,(he+E)*y,(_e+oe)*a,(he+ne)*y,(_e+te)*a));var Qe=.05,Ze=me*Qe;he=.05,_e=.25;var Ve=new go.PathFigure(.5*y,.2*a,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),he=.95,_e=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he+Qe)*y,_e*a,(he+Ze)*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Qe=.025,Ze=me*Qe,he=.825,_e=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Qe=.05,Ze=me*Qe,he=.5,_e=.7,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Qe=.025,Ze=me*Qe,he=.175,_e=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Qe=.05,Ze=me*Qe,he=.05,_e=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a,(he-Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),ee.spot1=new go.Spot(.2,.2),ee.spot2=new go.Spot(.8,.65),ee}),go.Shape.setFigureParameter("Card",0,new on("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=new go.Spot(0,ee),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var te=new go.PathFigure(.5*y,.5*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,.25),ee}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var oe=new go.PathFigure(y,.1*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+te)*a,(.5+E)*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+te)*a)),ee.spot1=new go.Spot(0,.4),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("DataStorage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),ee.spot1=new go.Spot(.226,0),ee.spot2=new go.Spot(.81,1),ee}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var oe=new go.PathFigure(y,.1*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("Display",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var te=me*.2,ne=new go.PathFigure(0,.2*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-te)*a,(.2-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+te)*y,0,y,(.2-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+te)*a,(.8+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-te)*y,a,0,(.8+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var oe=new go.PathFigure(0,E*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(.1*y,.4*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("File",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.75*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Interrupt",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var te=new go.PathFigure(y,.5*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.1);var ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var oe=new go.PathFigure(E*y,0,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,te*a)),oe.add(new go.PathSegment(go.PathSegment.Line,y,te*a)),ee}),go.Shape.defineFigureGenerator("Junction",function(ie,y,a){var ee=new go.Geometry,E=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ne=me*.5,oe=.5,he=new go.PathFigure(y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,a,y,(oe+ne)*a,(oe+ne)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*a,(oe-ne)*y,a,0,(oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,0,0,(oe-ne)*a,(oe-ne)*y,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,y,oe*a,(oe+ne)*y,0,y,(oe-ne)*a));var _e=new go.PathFigure((te+E)*y,(te+E)*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te*y,te*a)),_e.add(new go.PathSegment(go.PathSegment.Move,te*y,(te+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Line,(te+E)*y,te*a)),ee}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var te=new go.PathFigure(.1*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),ee.spot1=new go.Spot(.1,0),ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(.5*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*y,.9*a,y,(te+E)*a,(te+E)*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.15,.15),ee.spot2=new go.Spot(.85,.8),ee}),go.Shape.defineFigureGenerator("ManualInput",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.7);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var te=new go.PathFigure(.1*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.8,.77),ee}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var te=new go.PathFigure(.2*y,.1*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),ee.spot1=new go.Spot(0,.2),ee.spot2=new go.Spot(.8,1),ee}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=1-E,ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var oe=new go.PathFigure(.5*E*y,E*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),ee}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("Or",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var oe=new go.PathFigure(y,.5*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee}),go.Shape.defineFigureGenerator("PaperTape",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=new go.Spot(0,.49),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Procedure",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-E)*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(0,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.5),ee}),go.Shape.defineFigureGenerator("Start",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(E*y,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ee.spot1=new go.Spot(E,0),ee.spot2=new go.Spot(1-E,1),ee}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),ee.spot1=new go.Spot(.23,0),ee.spot2=new go.Spot(.77,1),ee}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.55,1),ee}),go.Shape.defineFigureGenerator("Buffer",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Clock",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var oe=new go.PathFigure(y,te*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,te*a));var he=new go.PathFigure(.8*y,.75*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),he.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),he.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),ee}),go.Shape.defineFigureGenerator("Ground",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),ee}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var ee=new go.Geometry,E=me*.1,te=.1,ne=.9,oe=.5,he=new go.PathFigure(.8*y,.5*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,0,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var _e=new go.PathFigure((ne+te)*y,oe*a,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe-te)*a,(ne+te)*y,(oe-E)*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.4,.75),ee}),go.Shape.defineFigureGenerator("NandGate",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.4,ne=me*.1,oe=.1,he=.9,_e=.5,Pe=new go.PathFigure(.8*y,.5*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+te)*a,(.4+E)*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-te)*a));var Qe=new go.PathFigure((he+oe)*y,_e*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y,_e*a,(he-ne)*y,(_e+oe)*a,(he-oe)*y,(_e+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y,_e*a,(he+ne)*y,(_e-oe)*a,(he+oe)*y,(_e-ne)*a)),ee.spot1=new go.Spot(0,.05),ee.spot2=new go.Spot(.55,.95),ee}),go.Shape.defineFigureGenerator("NorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=0,oe=.5,he=new go.PathFigure(.8*y,.5*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(oe-E)*a,.7*y,(oe-te)*a)),E=.1,te=me*.1,ne=.9,oe=.5;var _e=new go.PathFigure((ne-E)*y,oe*a,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.6,.75),ee}),go.Shape.defineFigureGenerator("OrGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=0,oe=.5,he=new go.PathFigure(0,0,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te+te)*y,(oe-E)*a,.8*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(oe+te)*a,(ne+te+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("XnorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=.2,oe=.5,he=new go.PathFigure(.1*y,0,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var _e=new go.PathFigure(.8*y,.5*a,!0);ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(oe-E)*a,.7*y,(oe-te)*a)),E=.1,te=me*.1,ne=.9,oe=.5;var Pe=new go.PathFigure((ne-E)*y,oe*a,!0);return ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.65,.75),ee}),go.Shape.defineFigureGenerator("XorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=.2,oe=.5,he=new go.PathFigure(.1*y,0,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var _e=new go.PathFigure(.2*y,0,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te)*y,(oe-E)*a,.9*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.8,.75),ee}),go.Shape.defineFigureGenerator("Capacitor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Inductor",function(ie,y,a){var ee=new go.Geometry,E=me*.1,te=.1,ne=.1,oe=.5,he=new go.PathFigure((ne-E*.5)*y,a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.3,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.5,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.7,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.9,he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E*.5)*y,a,(ne+te)*y,0,(ne+E)*y,a)),ee}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=.5,oe=.5,he=new go.PathFigure((ne-te)*y,oe*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe-te)*a,(ne+te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Move,(ne-te+.1)*y,oe*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-.1)*y,oe*a,ne*y,(oe-te)*a,ne*y,(oe+te)*a)),ee}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Wifi",function(ie,y,a){var ee=new go.Geometry,E=y,te=a;y=y*.38,a=a*.6;var ne=me*.8,oe=.8,he=0,_e=.5,Pe=(E-y)/2,Qe=(te-a)/2,Ze=new go.PathFigure(he*y+Pe,(_e+oe)*a+Qe,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe+ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e-oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e-ne)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e+ne)*a+Qe,he*y+Pe,(_e+oe)*a+Qe).close()),ne=me*.4,oe=.4,he=.2,_e=.5;var Ve=new go.PathFigure(he*y+Pe,(_e+oe)*a+Qe,!0);ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe+ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e-oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e-ne)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e+ne)*a+Qe,he*y+Pe,(_e+oe)*a+Qe).close()),ne=me*.2,oe=.2,he=.5,_e=.5;var nt=new go.PathFigure((he-oe)*y+Pe,_e*a+Qe,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),ne=me*.4,oe=.4,he=.8,_e=.5;var De=new go.PathFigure(he*y+Pe,(_e-oe)*a+Qe,!0);ee.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe-ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e+oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e+ne)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e-ne)*a+Qe,he*y+Pe,(_e-oe)*a+Qe).close()),ne=me*.8,oe=.8,he=1,_e=.5;var Bt=new go.PathFigure(he*y+Pe,(_e-oe)*a+Qe,!0);return ee.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe-ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e+oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e+ne)*a+Qe)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e-ne)*a+Qe,he*y+Pe,(_e-oe)*a+Qe).close()),ee}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Ethernet",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var te=new go.PathFigure(.1*y,a,!0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ne=new go.PathFigure(.6*y,a,!0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var oe=new go.PathFigure(0,.5*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Power",function(ie,y,a){var ee=new go.Geometry,E=me*.4,te=.4,ne=.5,oe=.5,he=Oe(),_e=Oe(),Pe=Oe(),Qe=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.5,he,he,_e,Pe,Qe);var Ze=we(_e.x,_e.y),Ve=new go.PathFigure(_e.x*y,_e.y*a,!0);ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),at(ne-te,oe,ne-te,oe-E,ne-E,oe-te,ne,oe-te,.5,Pe,Qe,_e,he,he),Ve.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),E=me*.3,te=.3,at(ne-te,oe,ne-te,oe-E,ne-E,oe-te,ne,oe-te,.5,Pe,Qe,_e,he,he),Ve.add(new go.PathSegment(go.PathSegment.Line,_e.x*y,_e.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,Qe.x*y,Qe.y*a,Pe.x*y,Pe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.5,he,he,_e,Pe,Qe),Ve.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Qe.x*y,Qe.y*a,Pe.x*y,Pe.y*a).close());var Ve=new go.PathFigure(.45*y,0,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),be(he),be(_e),be(Pe),be(Qe),be(Ze),ee.spot1=new go.Spot(.25,.45),ee.spot2=new go.Spot(.75,.8),ee}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a/2,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function te(ne,oe,he){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*y,(.8+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*y,(.5+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*y,(.5+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*y,(.8+he)*a).close())}return te(E,0,0),te(E,.4,0),te(E,.2,-.3),ee}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),ee.spot1=new go.Spot(.3,.3),ee.spot2=new go.Spot(.7,.7),ee}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),ee}),go.Shape.defineFigureGenerator("FireHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),ee.spot1=new go.Spot(.07,.445),ee.spot2=new go.Spot(.884,.958),ee}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,y,a){var ee=new go.Geometry,E=.5,te=0,ne=0,oe=E*me,he=.4*Math.SQRT2/2+.5,_e=.5-.5*Math.SQRT2/2,Pe=1,Qe=.5,Ze=.5,Ve=0,nt=new go.PathFigure(he*y,(1-_e)*a,!1);return ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Qe*a,Pe*y,.7*a,Pe*y,Qe*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+te)*y,(Ve+te)*a,(.5+E+te)*y,(.5-oe+te)*a,(.5+oe+te)*y,(.5-E+te)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*y,.9*a,(.5-E+te)*y,(.5+oe+ne)*a,(.5-oe+te)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*y,.8*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*y,.95*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),ee}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var te=new go.PathFigure(.45*y,.73*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),te.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),te.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(.335*y,(1-.555)*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),te.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ne=.5-.285,oe=.5,he=ne,_e=Math.PI/4,Pe=4*(1-Math.cos(_e))/(3*Math.sin(_e)),Qe=Pe*.5,Ze=ne,Ve=ne,nt=Pe*Ze,De=Pe*Ve;te.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Ze)*y,he*a,(oe-(nt+Ze)/2)*y,(he+(Ve+De)/2)*a,(oe-Ze)*y,(he+De)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(he-Ve)*a,(oe-Ze)*y,(he-De)*a,(oe-nt)*y,(he-Ve)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(oe+Ze)*y,he*a,(oe+nt)*y,(he-Ve)*a,(oe+Ze)*y,(he-De)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(oe+Ze)*y,(he+De)*a,(oe+(nt+Ze)/2)*y,(he+(Ve+De)/2)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Bt=new go.PathFigure(.2*y,a,!1);ee.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var ke=new go.PathFigure(.8*y,a,!1);return ee.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.2*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(.1*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Caution",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var te=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,te*y,te*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),ee}),go.Shape.defineFigureGenerator("Recycle",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var te=new go.PathFigure(.475*y,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),te.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ne=new go.PathFigure(.675*y,.575*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=new go.PathFigure(y,E*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+te)*a,(E+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-te)*y,a,0,(E+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-te)*a,(E-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+te)*y,0,y,(E-te)*a));var oe=new go.PathFigure(E*y,0,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Package",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,.15*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),ee.spot1=new go.Spot(0,.1),ee.spot2=new go.Spot(1,1),ee}),go.Shape.defineFigureGenerator("Class",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Component",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var te=new go.PathFigure(0,.2*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),ee}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var te=new go.PathFigure(.15*y,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(y,.8*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ne=.1,oe=me*.1,he=.2,_e=.9,Pe=new go.PathFigure((he-ne)*y,_e*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,_e*a,(he+oe)*y,(_e-ne)*a,(he+ne)*y,(_e-oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,_e*a,(he-oe)*y,(_e+ne)*a,(he-ne)*y,(_e+oe)*a).close()),ne=.1,oe=me*.1,he=.8,_e=.9;var Qe=new go.PathFigure((he-ne)*y,_e*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,_e*a,(he+oe)*y,(_e-ne)*a,(he+ne)*y,(_e-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,_e*a,(he-oe)*y,(_e+ne)*a,(he-ne)*y,(_e+oe)*a).close()),ee}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),ee}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*y,.8*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var oe=new go.PathFigure(.5*y,.7*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var he=.1,_e=me*.1,Pe=.1,Qe=.9,Ze=new go.PathFigure((Pe-he)*y,Qe*a,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe-he)*a,(Pe-he)*y,(Qe-_e)*a,(Pe-_e)*y,(Qe-he)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+he)*y,Qe*a,(Pe+_e)*y,(Qe-he)*a,(Pe+he)*y,(Qe-_e)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe+he)*a,(Pe+he)*y,(Qe+_e)*a,(Pe+_e)*y,(Qe+he)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-he)*y,Qe*a,(Pe-_e)*y,(Qe+he)*a,(Pe-he)*y,(Qe+_e)*a)),he=.1,_e=me*.1,Pe=.4,Qe=.9;var Ve=new go.PathFigure((Pe-he)*y,Qe*a,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe-he)*a,(Pe-he)*y,(Qe-_e)*a,(Pe-_e)*y,(Qe-he)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+he)*y,Qe*a,(Pe+_e)*y,(Qe-he)*a,(Pe+he)*y,(Qe-_e)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe+he)*a,(Pe+he)*y,(Qe+_e)*a,(Pe+_e)*y,(Qe+he)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-he)*y,Qe*a,(Pe-_e)*y,(Qe+he)*a,(Pe-he)*y,(Qe+_e)*a)),ee}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var te=new go.PathFigure(.45*y,.7*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var Pe=.05,Qe=me*.05,Ze=.175,Ve=.95,oe=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.375,Ve=.95,he=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.625,Ve=.95,_e=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.825,Ve=.95,nt=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a).close());var De=new go.PathFigure(0,a,!1);return ee.add(De),De.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Warehouse",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var oe=.05,he=me*.05,_e=.35,Pe=.775,Qe=new go.PathFigure((_e-oe)*y,Pe*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,_e*y,(Pe-oe)*a,(_e-oe)*y,(Pe-he)*a,(_e-he)*y,(Pe-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(_e+oe)*y,Pe*a,(_e+he)*y,(Pe-oe)*a,(_e+oe)*y,(Pe-he)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,_e*y,(Pe+oe)*a,(_e+oe)*y,(Pe+he)*a,(_e+he)*y,(Pe+oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(_e-oe)*y,Pe*a,(_e-he)*y,(Pe+oe)*a,(_e-oe)*y,(Pe+he)*a).close()),ee}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),ee}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Globe",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),ee}),go.Shape.defineFigureGenerator("Wave",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Operator",function(ie,y,a){var ee=new go.Geometry,E=.3,te=me*.3,ne=.5,oe=.7,he=new go.PathFigure((ne-E)*y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a));var _e=new go.PathFigure(0,.7*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),ee}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),ee}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var te=new go.PathFigure(0,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),ee}),go.Shape.defineFigureGenerator("Delete",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=.5,oe=.5,he=new go.PathFigure((ne-E)*y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a));var _e=new go.PathFigure(.15*y,.5*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Flag",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),ee}),go.Shape.defineFigureGenerator("Help",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=.5,oe=.5,he=new go.PathFigure((ne-E)*y,oe*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a).close()),E=.05,te=me*.05,ne=.5,oe=.8;var _e=new go.PathFigure((ne-E)*y,oe*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a).close()),_e.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),_e.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),ee}),go.Shape.defineFigureGenerator("Location",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),ee}),go.Shape.defineFigureGenerator("Unlocked",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),ee}),go.Shape.defineFigureGenerator("Gear",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),ee}),go.Shape.defineFigureGenerator("Map",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),ee}),go.Shape.defineFigureGenerator("Eject",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var te=new go.PathFigure(0,a*.6,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),ee}),go.Shape.defineFigureGenerator("Pencil",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var te=new go.PathFigure(.126*y,.85*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ne=new go.PathFigure(.402*y,.85*a,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var oe=new go.PathFigure(.678*y,.85*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var he=new go.PathFigure(.5*y,.1*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),he.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),ee}),go.Shape.defineFigureGenerator("Staircase",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),ee}),go.Shape.defineFigureGenerator("5Bars",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var te=new go.PathFigure(y*.204,a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ne=new go.PathFigure(y*.408,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var oe=new go.PathFigure(y*.612,a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var he=new go.PathFigure(y*.816,a,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),ee}),go.Shape.defineFigureGenerator("PC",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var te=new go.PathFigure(y*.055,.07*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ne=new go.PathFigure(y*.055,.13*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var oe=new go.PathFigure(y*.055,.18*a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var he=new go.PathFigure(y*1,0,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),he.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),ee}),go.Shape.defineFigureGenerator("Plane",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),ee}),go.Shape.defineFigureGenerator("Key",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),ee}),go.Shape.defineFigureGenerator("FilmTape",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(0,0,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ne=new go.PathFigure(y*.11,a*.1,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var oe=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var he=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),ee}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,y,a){var ee=new go.Geometry,E=8,te=E*me,ne=new go.PathFigure(E,0,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,te,te,0).close());var oe=new go.PathFigure(y*.83,0,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var he=new go.PathFigure(y*.83,a*1,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),he.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),he.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var _e=new go.PathFigure(y*.78,a*.05,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),_e.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),_e.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),ee}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=15),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*me,te=a*.8,ne=new go.Geometry,oe=new go.PathFigure(ee,0,!0);return ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,y,te-ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,te,y,te-E,y-E,te)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,te)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.55,te)),oe.add(new go.PathSegment(go.PathSegment.Line,ee,te)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,te-ee,E,te,0,te-E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()),E>1?(ne.spot1=new go.Spot(0,0,E,E),ne.spot2=new go.Spot(1,.8,-E,-E)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var te=new go.PathFigure(y*1,a*.55,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),ee}),go.Shape.defineFigureGenerator("Windows",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var te=new go.PathFigure(y*.1,a*.2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ne=new go.PathFigure(y*.28,a*.37,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),ee}),go.Shape.defineFigureGenerator("Beaker",function(ie,y,a){var ee=new go.Geometry,E=15,te=E*me,ne=new go.PathFigure(y*.62,a*.475,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),te>1?(ee.spot1=new go.Spot(0,0,te,te),ee.spot2=new go.Spot(1,1,-te,-te)):(ee.spot1=go.Spot.TopLeft,ee.spot2=go.Spot.BottomRight),ee}),go.Shape.defineFigureGenerator("Download",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.4,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),ee}),go.Shape.defineFigureGenerator("Bin",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close()),ee}),go.Shape.defineFigureGenerator("Upload",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.5,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),ee}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),ee}),go.Shape.defineFigureGenerator("Drink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var te=new go.PathFigure(y*.235,a*.28,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),te.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),te.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),ee}),go.Shape.defineFigureGenerator("4Arrows",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),ee}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93127:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var on={},Ut="5.0",we={},Oe=null,be=!1,ze=!1,at=null,Ge=!1,je=null,me=null,Be=0;Be<arguments.length;Be++){var Le=arguments[Be];if(Le!==null)switch(typeof Le){case"number":Ut=Le.toFixed(1);break;case"string":Le.match(new RegExp("^[0-9]\\.[0-9]+$"))?Ut=Le:at=Le;break;case"object":typeof Le.is3D!="undefined"?Oe=Le:we=Le;break;case"boolean":be=Le,ze=!0;break}}Oe===null&&(Oe={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},we.material_id!==void 0&&!ze&&(be=!0)),at!==null&&we.id===void 0&&(we.id=at);var de="",Ie="",Fe=!1,Ce=null,ie=null,y=null,a=!1,ee=null,E=null,te=null,ne=null,oe=null;we.height!==void 0&&(we.height=Math.round(we.height)),we.width!==void 0&&(we.width=Math.round(we.width));var he=function(Et){return parseFloat(Et)>4?parseFloat(Et):5};on.setHTML5Codebase=function(Et,Jt){me=Et,ft(Et,Jt)},on.setJavaCodebase=on.setJavaCodebaseVersion=on.isCompiledInstalled=on.setPreCompiledScriptPath=on.setPreCompiledResourcePath=function(){},on.setHTML5CodebaseVersion=function(Et,Jt){var Ln=parseFloat(Et);if(Ln!==NaN&&Ln<5){console.log("The GeoGebra HTML5 codebase version "+Ln+" is deprecated. Using version latest instead.");return}je=Et,st(Et,Jt)},on.getHTML5CodebaseVersion=function(){return ie},on.getParameters=function(){return we},on.setFontsCSSURL=function(Et){ne=Et},on.setGiacJSURL=function(Et){},on.setJNLPFile=function(Et){de=Et},on.setJNLPBaseDir=function(Et){},on.inject=function(){function Et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Jt="auto",Ln=we.id,Hn,un=!1,Vn=0;Vn<arguments.length;Vn++){var yt=arguments[Vn];typeof yt=="string"?(yt=yt.toLowerCase(),yt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Jt=yt:Ln=arguments[Vn]):typeof yt=="boolean"?un=yt:yt instanceof HTMLElement&&(Hn=yt)}Kn();function Kn(){if(!Ge){setTimeout(Kn,200);return}Jt=dt(Jt);var er=Hn||document.getElementById(Ln);if(!er){console.log("possibly bug on ajax loading? ");return}if(on.removeExistingApplet(er,!1),we.width===void 0&&er.clientWidth&&(we.width=er.clientWidth),we.height===void 0&&er.clientHeight&&(we.height=er.clientHeight),!(we.width&&we.height)&&Jt==="html5"&&(delete we.width,delete we.height),Ce=Jt,Jt==="screenshot")ke(er,we);else{var Re=!1;we.hasOwnProperty("playButton")&&we.playButton||we.hasOwnProperty("clickToLoad")&&we.clickToLoad?Re=!0:we.hasOwnProperty("playButtonAutoDecide")&&we.playButtonAutoDecide&&(Re=(!_e()||Et())&&Pe()),Re?(Ce="screenshot",it(er,we,un,Jt)):Bt(er,we,un)}}};function _e(){try{return window.self!==window.top}catch(Et){return!0}}function Pe(){return we.hasOwnProperty("screenshotGenerator")&&we.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}on.getViews=function(){return Oe},on.isJavaInstalled=function(){return!1};var Qe=function(Et){var Jt=function(Vn){var yt=JSON.parse(Vn),Kn=function(Kt){return Kt.type=="G"||Kt.type=="E"},er=yt.elements?yt.elements.filter(Kn)[0]:yt;if(!er||!er.url){Ln();return}we.fileName=er.url,Ze(er.settings||{}),Oe.is3D=!0;var Re="https://www.geogebra.org/images/";on.setPreviewImage(ee||er.previewUrl,Re+"GeoGebra_loading.png",Re+"applet_play.png"),Et()},Ln=function(){we.onError&&we.onError(),rn("Error: Fetching material (id "+we.material_id+") failed.",we)},Hn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",un="/materials/"+we.material_id+"?scope=basic";Ve("https://"+Hn+"/api/proxy.php?path="+encodeURIComponent(un),Jt,Ln)};function Ze(Et){var Jt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ln){Et[Ln]=!!Et[Ln]}),Jt.forEach(function(Ln){we[Ln]===void 0&&Et[Ln]!==void 0&&(we[Ln]=Et[Ln])}),we.showToolBarHelp===void 0&&(we.showToolBarHelp=we.showToolBar)}function Ve(Et,Jt,Ln){var Hn=new XMLHttpRequest;Hn.open("GET",Et),Hn.onload=function(){Jt(Hn.responseText)},Hn.onerror=Ln,Hn.send()}on.isHTML5Installed=function(){return!0},on.getLoadedAppletType=function(){return Ce},on.setPreviewImage=function(Et,Jt,Ln){ee=Et,E=Jt,te=Ln},on.removeExistingApplet=function(Et,Jt){var Ln;typeof Et=="string"&&(Et=document.getElementById(Et)),Ce=null;var Hn=null;for(Ln=0;Ln<Et.childNodes.length;Ln++){var un=Et.childNodes[Ln],Vn=un.className;Vn==="applet_screenshot"?Jt?(un.style.display="block",Ce="screenshot"):un.style.display="none":Vn!=="applet_scaler prerender"&&(Et.removeChild(un),Hn=Vn&&Vn.indexOf("appletParameters")!=-1?un.id:null,Ln--)}var yt=we.id!==void 0?we.id:Hn,Kn=window[yt];Kn&&typeof Kn.getBase64=="function"&&(Kn.remove(),window[yt]=null)},on.refreshHitPoints=function(){if(he(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Et=on.getAppletObject();return Et&&typeof Et.recalculateEnvironments=="function"?(Et.recalculateEnvironments(),!0):!1},on.startAnimation=function(){var Et=on.getAppletObject();return Et&&typeof Et.startAnimation=="function"?(Et.startAnimation(),!0):!1},on.stopAnimation=function(){var Et=on.getAppletObject();return Et&&typeof Et.stopAnimation=="function"?(Et.stopAnimation(),!0):!1},on.getAppletObject=function(){var Et=we.id!==void 0?we.id:"ggbApplet";return window[Et]},on.resize=function(){};var nt=function(Et,Jt,Ln){var Hn=document.createElement("param");Hn.setAttribute("name",Jt),Hn.setAttribute("value",Ln),Et.appendChild(Hn)},De=function(Et){return Et&&Et!=="false"},Bt=function(Et,Jt,Ln){he(ie)<=4.2&&(Ln=!0);var Hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var un=document.createElement("div");un.classList.add("appletParameters","notranslate");var Vn=Jt.width,yt=Jt.height;if(Jt.disableAutoScale=Jt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Jt.disableAutoScale,Jt.width!==void 0)if(he(ie)<=4.4)De(Jt.showToolBar)&&(Jt.height-=7),De(Jt.showAlgebraInput)&&(Jt.height-=37),Jt.width<605&&De(Jt.showToolBar)&&(Jt.width=605,Vn=605);else{var Kn=100;(De(Jt.showToolBar)||De(Jt.showMenuBar))&&(Jt.hasOwnProperty("customToolBar")&&(Jt.customToolbar=Jt.customToolBar),Kn=De(Jt.showMenuBar)?245:155),Vn<Kn&&(Jt.width=Kn,Vn=Kn)}un.style.border="none",un.style.display="inline-block";for(var er in Jt)Jt.hasOwnProperty(er)&&er!=="appletOnLoad"&&un.setAttribute("data-param-"+er,Jt[er]);ne&&un.setAttribute("data-param-fontscssurl",ne),on.resize=function(){GGBAppletUtils.responsiveResize(Et,Jt)},window.addEventListener("resize",function(ot){on.resize()});var Re=typeof Jt.appletOnLoad=="function"?Jt.appletOnLoad:function(){};if(!Ln&&Jt.width!==void 0){Jt.hasOwnProperty("showSplash")||un.setAttribute("data-param-showSplash","false");var Kt=Et.querySelector(".applet_scaler.prerender"),Te=Kt!==null;if(Te)var pe=Kt.querySelector(".ggb_preview");else{var pe=wt(Vn,yt,Jt.borderColor,!1);Kt=document.createElement("div"),Kt.className="applet_scaler",Kt.style.position="relative",Kt.style.display="block",Kt.style.width=Vn+"px",Kt.style.height=yt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Kt,"66%"),he(ie)>=5?(Jt.appletOnLoad=function(ot){var kt=Et.querySelector(".ggb_preview");kt&&kt.parentNode.removeChild(kt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Kt),window.GGBT_wsf_view&&$(window).trigger("resize"),Re(ot)},Te||Kt.appendChild(pe)):un.appendChild(pe),Kt.appendChild(un),Te||Et.appendChild(Kt),setTimeout(function(){on.resize()},1)}else{var ce=document.createElement("div");ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.appendChild(un),Et.appendChild(ce),Jt.appletOnLoad=function(ot){on.resize(),Re(ot)}}function ye(ot,kt){kt&&typeof kt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ot,kt.appletOnLoad):renderGGBElement(ot),rn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",kt)}function qe(ot,kt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ot,params:kt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(_n){ye(_n.article,_n.params)}),html5AppletsToProcess=null)},he(ie)<5&&(ot.className+=" geogebraweb")):ye(ot,kt)}if(Hn){scriptLoadStarted=!0;for(var gt=0;gt<un.childNodes.length;gt++){var Me=un.childNodes[gt].tagName;Me==="TABLE"&&(un.removeChild(un.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var Xe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Xe!=null&&Xe.parentNode.removeChild(Xe)}var Pt=document.createElement("script"),ct=function(){qe(un,Jt)};Pt.src=Ie+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ie,ggbHTML5LoadedScript=Pt.src,rn("GeoGebra HTML5 codebase loaded: '"+Ie+"'.",Jt),!me&&(!je||je=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ct()):Ie.requirejs?__webpack_require__.e(5455).then(function(){var ot=[__webpack_require__(75455)];ct.apply(null,ot)}.bind(this)).catch(__webpack_require__.oe):(Pt.onload=ct,Et.appendChild(Pt))}else qe(un,Jt);Jt.height=yt,Jt.width=Vn},ke=function(Et,Jt,Ln){var Hn=wt(Jt.width,Jt.height,Jt.borderColor,Ln),un=document.createElement("div");un.style.position="relative",un.style.display="block",un.style.width=Jt.width+"px",un.style.height=Jt.height+"px",un.className="applet_screenshot applet_scaler"+(Ln?" applet_screenshot_play":""),un.appendChild(Hn);var Vn=GGBAppletUtils.getScale(Jt,Et,Ln);Ln?(Et.appendChild(rt()),window.GGBT_wsf_view||(Et.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(un,"66%"),Et.appendChild(un),Vn!==1&&!isNaN(Vn)&&(GGBAppletUtils.scaleElement(un,Vn),un.style.width=Jt.width+"px",un.style.height=Jt.height+"px",un.parentNode.style.width=Jt.width*Vn+"px",un.parentNode.style.height=Jt.height*Vn+"px"),on.resize=function(){Ot(Et,Hn,un,Ln)},window.addEventListener("resize",function(yt){on.resize()}),on.resize()};function Ot(Et,Jt,Ln,Hn){if(Et.contains(Jt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Et.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Et)}var un=GGBAppletUtils.getScale(we,Et,Hn);Ln.parentNode!==null&&(!isNaN(un)&&un!==1?(GGBAppletUtils.scaleElement(Ln,un),Ln.parentNode.style.width=we.width*un+"px",Ln.parentNode.style.height=we.height*un+"px"):(GGBAppletUtils.scaleElement(Ln,1),Ln.parentNode.style.width=we.width+"px",Ln.parentNode.style.height=we.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Et),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}on.onExitFullscreen=function(Et,Jt){Jt.appendChild(Et)};var it=function(Et,Jt,Ln,Hn){ke(Et,Jt,!0);for(var un=function(){var Kn=[];for(yt=0;yt<Et.childNodes.length;yt++)Kn.push(Et.childNodes[yt]);if(window.GGBT_wsf_view){var er=window.GGBT_wsf_view.renderFullScreen(Et,Jt.id),Re=document.getElementById("fullscreencontainer"),Kt=jQuery(Et).find(".fullscreencontent");Kt.length>0?(er.remove(),Kt.attr("id","fullscreencontent").show(),jQuery(Re).append(Kt),window.dispatchEvent(new Event("resize"))):Bt(er,Jt,!1),window.GGBT_wsf_view.launchFullScreen(Re)}else Ce=Hn,Bt(Et,Jt,!1);if(!window.GGBT_wsf_view)for(yt=0;yt<Kn.length;yt++)Et.removeChild(Kn[yt])},Vn=Et.getElementsByClassName("ggb_preview_play"),yt=0;yt<Vn.length;yt++)Vn[yt].addEventListener("click",un,!1),Vn[yt].addEventListener("ontouchstart",un,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Et),Pe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},rt=function(){var Et=document.createElement("div");if(Et.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Jt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Ln=document.createElement("style");Ln.styleSheet?Ln.styleSheet.cssText=Jt:Ln.appendChild(document.createTextNode(Jt)),document.getElementsByTagName("head")[0].appendChild(Ln)}return Et},wt=function(Et,Jt,Ln,Hn){var un=document.createElement("div");un.className="ggb_preview",un.style.position="absolute",un.style.zIndex="90",un.style.width=Et-2+"px",un.style.height=Jt-2+"px",un.style.top="0px",un.style.left="0px",un.style.overflow="hidden",un.style.backgroundColor="white";var Vn="lightgrey";Ln!==void 0&&(Ln==="none"?Vn="transparent":Vn=Ln),un.style.border="1px solid "+Vn;var yt=document.createElement("img");if(yt.style.position="relative",yt.style.zIndex="1000",yt.style.top="-1px",yt.style.left="-1px",ee!==null&&yt.setAttribute("src",ee),yt.style.opacity=.7,E!==null){var Kn,er,Re;if(!Hn){Kn=document.createElement("img"),Kn.style.position="absolute",Kn.style.zIndex="1001",Kn.style.opacity=1,yt.style.opacity=.3,er=360,er>Et/4*3&&(er=Et/4*3),Re=er/5.8,Kn.setAttribute("src",E),Kn.setAttribute("width",er),Kn.setAttribute("height",Re);var Kt=(Et-er)/2,Te=(Jt-Re)/2;Kn.style.left=Kt+"px",Kn.style.top=Te+"px",un.appendChild(Kn)}}return un.appendChild(yt),un},dt=function(Et){return Et=Et.toLowerCase(),Et==="html5"||Et==="screenshot"?Et:"html5"},pt=["web","webSimple","web3d","tablet","tablet3d","phone"],st=function(Et,Jt){if(ie=Et,Jt){ft(ie,!0);return}var Ln=!be;if(Ln){var Hn=he(ie);!isNaN(Hn)&&Hn<4.4&&(Ln=!1)}var un,Vn;window.location.protocol.substr(0,4)==="http"?un=window.location.protocol:un="http:";var yt=ie.indexOf("//");yt>0?Vn=ie:yt===0?Vn=un+ie:Vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Kn in pt)if(ie.slice(pt[Kn].length*-1)===pt[Kn]||ie.slice((pt[Kn].length+1)*-1)===pt[Kn]+"/"){ft(Vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ln&&!Oe.is3D&&!Oe.AV&&!Oe.SV&&!Oe.CV&&!Oe.EV2&&!Oe.CP&&!Oe.PC&&!Oe.DA&&!Oe.FI&&!Oe.PV&&!De(we.showToolBar)&&!De(we.showMenuBar)&&!De(we.showAlgebraInput)&&!De(we.enableRightClick)&&(!we.appName||we.appName=="classic")?Vn+="webSimple/":Vn+="web3d/",ft(Vn,!1)},ft=function(Et,Jt){if(Et.requirejs){Ie=Et;return}Et.slice(-1)!=="/"&&(Et+="/"),Ie=Et,Jt===null&&(Jt=Et.indexOf("http")===-1),Fe=Jt,y="web.nocache.js",a=!1;var Ln=Ie.split("/");Ln.length>1&&(!Jt&&Ln[Ln.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):pt.indexOf(Ln[Ln.length-2])>=0&&(y=Ln[Ln.length-2]+".nocache.js")),Ln=Et.split("/"),ie=Ln[Ln.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var Hn=parseFloat(ie);Hn!==NaN&&Hn<5&&Et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Hn+" is deprecated. Using version latest instead."),st("5.0",Jt))},rn=function(Et,Jt){window.console&&window.console.log&&(!Jt||typeof Jt.showLogging=="undefined"||Jt.showLogging&&Jt.showLogging!=="false")&&console.log(Et)};we.material_id!==void 0?Qe(fn):fn();function fn(){var Et=Ut;je!==null?Et=je:parseFloat(Et)<5&&(Et="5.0"),st(Et,!1),me!==null&&ft(me,Fe),Ge=!0}return on},GGBAppletUtils=function(){"use strict";function on(){return window.GGBT_wsf_edit!==void 0}function Ut(Ge,je){je!=1?(Ge.style.transformOrigin="0% 0% 0px",Ge.style.webkitTransformOrigin="0% 0% 0px",Ge.style.transform="scale("+je+","+je+")",Ge.style.webkitTransform="scale("+je+","+je+")",Ge.style.maxWidth="initial",Ge.querySelector(".ggb_preview")!==null&&(Ge.querySelector(".ggb_preview").style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ge.style.transform="none",Ge.style.webkitTransform="none")}function we(Ge,je,me,Be,Le,de){var Ie=null;if(de!=null&&de!="")for(var Fe=Ge.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+de+" ")>-1){Ie=Fe;break}else Fe=Fe.parentNode;var Ce=0,ie=0,y=0,a=0,ee=0,E=0,te=0;if(Ie)Ce=Ie.offsetWidth,ie=Math.max(Be?Ie.offsetWidth:0,Ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ce):(Ce=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),Ge){var ne=Ge.getBoundingClientRect();ne.left>0&&ne.left<=Ce&&(Le===void 0||!Le)&&(document.dir==="rtl"?(ee=Ce-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,ee=y<=480?10:30),a=E+ee)}if(Ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=Ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,te=40)}}return Ge&&((me===void 0||!me)&&je>0&&je+a<Ce?Ce=je:Ce-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(me===void 0||!me)&&(ie-=te)),{width:Ce,height:ie}}function Oe(Ge,je,me,Be,Le){if(Ge.isScreenshoGenerator)return 1;var de=Be!==void 0&&Be,Ie=Ge.noScaleMargin!=null&&Ge.noScaleMargin,Fe=function(oe){return oe&&oe!=="false"},Ce=Fe(Ge.autoHeight),ie=we(je,Ge.width,me,Ce,de&&window.GGBT_wsf_view||Ie,Le),y=parseInt(ie.width),a=Ge.width,ee=Ge.height;if(a===void 0){var E=je.querySelector(".appletParameters");E&&(a=E.offsetWidth,ee=E.offsetHeight)}var te=y/a,ne=de?1:ie.height/ee;return me!==void 0&&!me&&(te=Math.min(1,te),ne=Math.min(1,ne)),Math.min(te,ne)}function be(Ge,je,me){var Be=1,Le,de=!1;if(Ge.hasOwnProperty("allowUpscale")&&(de=Ge.allowUpscale),Ge.hasOwnProperty("scale")&&(Be=parseFloat(Ge.scale),(isNaN(Be)||Be===null||Be===0)&&(Be=1),Be>1&&(de=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(Ge.hasOwnProperty("disableAutoScale")&&Ge.disableAutoScale))Le=Oe(Ge,je,de,me,Ge.scaleContainerClass);else return Be;return de&&(!Ge.hasOwnProperty("scale")||Be===1)?Le:Math.min(Be,Le)}function ze(Ge){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),Be=Ge.getBoundingClientRect(),Le=(je-Be.width)/2,de=(me-Be.height)/2;de<0&&(de=0),Ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Le<40?Ge.style.left="40px":Ge.style.left=Le+"px",Ge.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?Ge.style.top="40px":Ge.style.top=de+"px",Ge.style.left=Le+"px")}function at(Ge,je){var me=Ge.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ge)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var Be=be(je,Ge);on()&&me.setAttribute("data-param-scale",Be);for(var Le=null,de=0;de<Ge.childNodes.length;de++)if(Ge.childNodes[de].className!==void 0&&Ge.childNodes[de].className.match(/^applet_scaler/)){Le=Ge.childNodes[de];break}if(Le!==null&&Le.querySelector(".noscale")!==null)return;var Ie=je.id!==void 0?je.id:"ggbApplet",Fe=window[Ie];(Fe==null||!Fe.recalculateEnvironments)&&Le!==null&&!Le.className.match(/fullscreen/)&&(Le.parentNode.style.transform="",!isNaN(Be)&&Be!==1?(Le.parentNode.style.width=je.width*Be+"px",Le.parentNode.style.height=je.height*Be+"px",Ut(Le,Be)):(Ut(Le,1),Le.parentNode.style.width=je.width+"px",Le.parentNode.style.height=je.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ze(Ge),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(me).parents(".content-added-content"))}}return{responsiveResize:at,isFlexibleWorksheetEditor:on,positionCenter:ze,getScale:be,scaleElement:Ut}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var on=n.location.search;return on.indexOf(J)!=-1||on.indexOf(K)!=-1}function q(on,Ut){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(on){var Ut=s[L].bindings;s[L].bindings=function(){for(var we=Ut?Ut():{},Oe=on[webModule.__softPermutationId],be=O;be<Oe.length;be++){var ze=Oe[be];we[ze[O]]=ze[P]}return we}};var t;function u(){return v(),t}function v(){if(!t){var on=o.createElement(Q);if(on.id=L,on.style.cssText=R+S,on.tabIndex=-1,o.body.appendChild(on),t=on.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Ut=document.compatMode==U?V:W;t.write(Ut+X),t.close()}}}function w(on){function Ut(Oe){function be(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ze=be();if(ze){Oe();return}function at(){if(!ze){if(!be())return;ze=!0,Oe(),o.removeEventListener&&o.removeEventListener(Z,at,!1),Ge&&clearInterval(Ge)}}o.addEventListener&&o.addEventListener(Z,at,!1);var Ge=setInterval(function(){at()},$)}function we(Oe){var be=u(),ze=be.body,at=be.createElement(_);at.language=ab,at.crossOrigin=W,at.src=Oe,webModule.__errFn&&(at.onerror=function(){webModule.__errFn(L,new Error(bb+Oe))}),ze.appendChild(at)}Ut(function(){we(on)})}webModule.__startLoadingFragment=function(on){return C(on)},webModule.__installRunAsyncCode=function(on){var Ut=u(),we=Ut.body,Oe=Ut.createElement(_);Oe.language=ab,Oe.text=on,we.appendChild(Oe),we.removeChild(Oe)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(on){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(on){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(on){var Ut=c[on];return Ut==null?null:Ut},r=d,webModule.__errFn=e}function B(){function on(Ge){var je=Ge.lastIndexOf(rb);je==-1&&(je=Ge.length);var me=Ge.indexOf(sb);me==-1&&(me=Ge.length);var Be=Ge.lastIndexOf(tb,Math.min(me,je));return Be>=O?Ge.substring(O,Be+P):W}function Ut(Ge){if(!Ge.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=Ge+vb,Ge=on(je.src)}return Ge}function we(){var Ge=__gwt_getMetaProperty(wb);return Ge!=null?Ge:W}function Oe(){for(var Ge=o.getElementsByTagName(_),je=O;je<Ge.length;++je)if(Ge[je].src.indexOf(xb)!=-1)return on(Ge[je].src);return W}function be(){var Ge=o.getElementsByTagName(yb);return Ge.length>O?Ge[Ge.length-P].href:W}function ze(){var Ge=o.location;return Ge.href==Ge.protocol+zb+Ge.host+Ge.pathname+Ge.search+Ge.hash}var at=we();return at==W&&(at=Oe()),at==W&&(at=be()),at==W&&ze()&&(at=on(o.location.href)),at=Ut(at),at}function C(on){return on.match(/^\//)||on.match(/^[a-zA-Z]+:\/\//)?on:webModule.__moduleBase+on}function D(){var on=[],Ut=O,we=[],Oe=[];function be(Ge){var je=Oe[Ge](),me=we[Ge];if(je in me)return je;var Be=[];for(var Le in me)Be[me[Le]]=Le;throw r&&r(Ge,Be,je),null}if(__gwt_isKnownPropertyValue=function(Ge,je){return je in we[Ge]},webModule.__getPropMap=function(){var Ge={};for(var je in we)we.hasOwnProperty(je)&&(Ge[je]=be(je));return Ge},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ze;try{ze=Cb;var at=ze.indexOf(Db);at!=-1&&(Ut=parseInt(ze.substring(at+P),$),ze=ze.substring(O,at))}catch(Ge){}return webModule.__softPermutationId=Ut,C(ze+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8396:function(on,Ut,we){"use strict";we.d(Ut,{Ax:function(){return at},Ds:function(){return Ge},KI:function(){return me},SI:function(){return ze},f1:function(){return be}});var Oe=we(85386);function be(Be){let Le=!0;if(Be.length>0){for(let de=0;de<Be.length;de++)if(Be[de].compile_success==0||!Be[de].compile_success){Le=!1;break}}else Le=!1;return Le}function ze(Be,Le=""){let de=[];for(let Ie=0;Ie<Be.length;Ie++){let Fe=Be[Ie],Ce=Le?`${Le}/${Fe.name}`:`${Fe.name}`;de.push({title:Fe.name,type:Fe.type,isLeaf:Fe.type!=="tree",key:Ce})}return de}function at(Be,Le,de){for(let Ie=0;Ie<Be.length;Ie++){let Fe=Be[Ie];if(Fe.key===Le){Fe.children=de;break}Fe.children&&at(Fe.children,Le,de)}return Be}function Ge(Be,Le,de){let Ie;return function(){let Fe=this,Ce=arguments,ie=function(){Ie=null,de||Be.apply(Fe,Ce)},y=de&&!Ie;clearTimeout(Ie),Ie=setTimeout(ie,Le),y&&Be.apply(Fe,Ce)}}const je=!0,me=Oe.Z.API_SERVER},61328:function(on,Ut,we){"use strict";we.d(Ut,{ij:function(){return te},_s:function(){return E},Uf:function(){return ee},ZP:function(){return oe}});var Oe=we(59301),be={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},ze=we(92310),at=we.n(ze),Ge=we(42441),je=we(6848),me=we(61621),Be=we(71418),Le=we(62556),de=we(85386),Ie=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(he,_e,Pe)=>_e in he?Ie(he,_e,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[_e]=Pe,a=(he,_e)=>{for(var Pe in _e||(_e={}))Ce.call(_e,Pe)&&y(he,Pe,_e[Pe]);if(Fe)for(var Pe of Fe(_e))ie.call(_e,Pe)&&y(he,Pe,_e[Pe]);return he};const ee=(he={})=>{var _e,Pe,Qe,Ze;let Ve=(_e=he==null?void 0:he.emotion)==null?void 0:_e.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),nt=(Pe=he==null?void 0:he.focus)==null?void 0:Pe.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),De=(Qe=he==null?void 0:he.action)==null?void 0:Qe.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),Bt=(Ze=he==null?void 0:he.intention)==null?void 0:Ze.map(ke=>a({value:ke==null?void 0:ke.rate},ke));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ve||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:nt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:De||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Bt||[]}]},E=({className:he,dataSource:_e=[],col:Pe=4,right:Qe,bottom:Ze=23,precision:Ve=0,wrapWidth:nt=1200})=>{const De=(ke="",Ot,it="--")=>ke?(ke==null?void 0:ke.length)>Ot?(ke==null?void 0:ke.slice(0,Ot-1))+"...":ke:it,Bt=Math.floor((nt-(Pe-1)*Qe)/Pe);return Oe.createElement("div",{className:at()(be.list,he)},!!(_e!=null&&_e.length)&&(_e==null?void 0:_e.map((ke,Ot)=>{const{cover_pic:it,created_at:rt,emotion:wt,action:dt,intention:pt,focus:st}=ke;return Oe.createElement("div",{key:Ot,className:be.wrap,style:{width:Bt,marginRight:(1+Ot)%Pe===0?0:Qe+Ve,marginBottom:Ze}},Oe.createElement("div",{className:be.img},Oe.createElement("img",{src:`${de.Z.API_SERVER}${it}`}),Oe.createElement("div",{className:be.tips},Oe.createElement("div",null,Oe.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),Oe.createElement("span",null,rt))),Oe.createElement("div",{className:be.footer},Oe.createElement("ul",null,Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-biaoqing"}),Oe.createElement("span",null,"\u8868\u60C5\uFF1A",Oe.createElement(je.Z,{title:wt},Oe.createElement("span",{className:"c-grey-333"},De(wt,4))))),Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-hangwei"}),Oe.createElement("span",null,"\u884C\u4E3A\uFF1A",Oe.createElement(je.Z,{title:dt},Oe.createElement("span",{className:"c-grey-333"},De(dt,4)))))),Oe.createElement("ul",null,Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-yitu"}),Oe.createElement("span",null,"\u610F\u56FE\uFF1A",Oe.createElement(je.Z,{title:pt},Oe.createElement("span",{className:"c-grey-333"},De(pt,4))))),Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-zhuangtai"}),Oe.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",Oe.createElement(je.Z,{title:st},Oe.createElement("span",{className:"c-grey-333"},De(st,3))))))))})))},te=({className:he,style:_e,title:Pe,hideBar:Qe=!1,children:Ze,customText:Ve="",noDataText:nt="",emptyData:De=[],loading:Bt,actionAnalysis:ke})=>{var Ot,it;const rt=((Ot=De==null?void 0:De[0])==null?void 0:Ot.every(dt=>{var pt;return!((pt=dt==null?void 0:dt.data)!=null&&pt.length)}))&&!((it=De==null?void 0:De[1])!=null&&it.length)||!ke,wt=ke?nt:Ve;return Oe.createElement(me.Z,{loading:Bt,active:!0},rt&&Oe.createElement("div",{className:at()(be.noData,he),style:_e},!!Pe&&Oe.createElement("div",{className:be.title},!Qe&&Oe.createElement("b",null),Oe.createElement("span",null,Pe)),Oe.createElement("div",{className:be.itemWrap},Oe.createElement(Le.Z,{customText:wt}))),!rt&&Ze)};var oe=({className:he,style:_e,data:Pe=[],title:Qe,hideBar:Ze=!1,loading:Ve=!1})=>Oe.createElement("div",{className:at()(be.analysis,he),style:_e},!!Qe&&Oe.createElement("div",{className:be.title},!Ze&&Oe.createElement("b",null),Oe.createElement("span",null,Qe)),Oe.createElement(Be.Z,{spinning:Ve},Oe.createElement("div",{className:be.itemWrap},Pe==null?void 0:Pe.map((nt,De)=>Oe.createElement("div",{className:be.item,key:De},Oe.createElement(Ge.Z,{option:{tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c}%"},title:{left:"center",bottom:15,text:nt==null?void 0:nt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Bt){for(let ke in nt==null?void 0:nt.data)if(Bt==(nt==null?void 0:nt.data[ke].name))return Bt+" "+(nt==null?void 0:nt.data[ke].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:nt==null?void 0:nt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:nt==null?void 0:nt.data}]},style:{height:145}}))))))},40783:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ie}});var Oe=we(59301),be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ze=we(92310),at=we.n(ze),Ge=we(71418),je=we(2859),me=we(43597),Be=we(94601),Le=(Fe,Ce,ie)=>new Promise((y,a)=>{var ee=ne=>{try{te(ie.next(ne))}catch(oe){a(oe)}},E=ne=>{try{te(ie.throw(ne))}catch(oe){a(oe)}},te=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(ee,E);te((ie=ie.apply(Fe,Ce)).next())}),Ie=({data:Fe,className:Ce,fullWidth:ie,style:y={},onClose:a,onOk:ee,showFullTools:E,noAssociationId:te})=>{const ne=(0,Oe.useRef)(null),oe=(0,Oe.useRef)(null),he=(0,Oe.useRef)(null),_e=(0,Oe.useRef)(null),[Pe,Qe]=(0,Oe.useState)(!1),[Ze,Ve]=(0,Oe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Oe.useEffect)(()=>{he.current||(he.current=document.createElement("style"),document.head.appendChild(he.current)),Fe!=null&&Fe.visible?(document.body.setAttribute("data-custom","y-hidden"),he.current.innerHTML=" html { overflow-y: hidden; }",Fe!=null&&Fe.src&&nt()):(document.body.removeAttribute("data-custom"),he.current&&(document.head.removeChild(he.current),he.current=null))},[Fe==null?void 0:Fe.visible]);const nt=()=>Le(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const it=yield(0,Be.ZJ)(Fe==null?void 0:Fe.src);ne.current.src="",ne.current.src=it,ne.current.onload=function(){Ot()},Qe(!1),Ve("")}),De=()=>{document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",a()},Bt=it=>Le(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const rt=yield(0,me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Fe.title,file:it.dataUrl}});rt!=null&&rt.id&&!te?(yield(0,me.ZP)(`/api/attachments/${Fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:rt==null?void 0:rt.id,settings:JSON.stringify(it.state)}})).status===0&&ee():rt!=null&&rt.id&&ee(rt),document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",Qe(!1),Ve("")}),ke=()=>{const it=document.querySelector('a[href="https://markerjs.com/"]');it&&it.parentNode&&(it.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(wt=>{const dt=document.querySelector(wt.name);dt&&dt.setAttribute("title",wt.title)})},Ot=()=>{oe.current=new je.hP(ne.current),oe.current.targetRoot=_e.current,oe.current.addEventListener("render",Bt),oe.current.addEventListener("beforeclose",De),E&&(oe.current.availableMarkerTypes=oe.current.ALL_MARKER_TYPES,oe.current.uiStyleSettings.redoButtonVisible=!0,oe.current.uiStyleSettings.notesButtonVisible=!0,oe.current.uiStyleSettings.zoomButtonVisible=!0,oe.current.uiStyleSettings.zoomOutButtonVisible=!0,oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=oe.current.uiStyleSettings,oe.current.show(),Fe!=null&&Fe.snapshotData&&oe.current.restoreState(Fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ke()},300)};return Oe.createElement(Oe.Fragment,null,(Fe==null?void 0:Fe.visible)&&Oe.createElement(Ge.Z,{spinning:Pe,tip:Ze,style:{position:"absolute"}},Oe.createElement("div",{ref:_e,className:at()(be.imageDimensions,Ce,ie?be.fullWidth:""),style:y},Oe.createElement("img",{className:be.img,ref:ne}))))}},57765:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(95237),ze=we(43604),at=we(99313),Ge=we(3113),je=we(17410),me=we(32313),Be=we(48136),Le=we(59301);const de=(0,Oe.forwardRef)(({callback:Ie,showSaveButton:Fe,value:Ce=""},ie)=>{const y=(0,Oe.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],ee=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
|
y=b + r\\text{sin}\\theta \r
|
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\left\\{\\begin{matrix} \r
|
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
|
\\end{matrix}\\right. \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\perp \\alpha \\ \r
|
|
|
b \\perp \\alpha \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
|
a \\perp m,a \\perp n \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
|
a^{2}+b^{2}=c^{2} \r
|
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R^{+} \\ \r
|
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R \\ \r
|
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
|
P \\left( S \\right) =1 \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
\\forall A \\in S \\\\ \r
|
|
|
P \\left( A \\right) \\ge 0 \r
|
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
P_{n}=n! \\\\ \r
|
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
|
\\end{array}`}]}]}],E=oe=>{y.current.setValue(y.current.getValue()+" "+oe.value+" ")},te=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Le.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},a.map((oe,he)=>Le.createElement(ze.Z,{flex:"110px",className:me.Z.item},Le.createElement("div",null,Le.createElement(je.Z,{value:`$$${oe.value}$$`}),oe.name),Le.createElement("div",{className:me.Z.children},oe.children.map((_e,Pe)=>Le.createElement("div",{key:Pe},Le.createElement("h1",null,_e.name),Le.createElement(be.Z,{gutter:[10,10]},_e.data.map((Qe,Ze)=>Le.createElement(ze.Z,{key:Ze,onClick:()=>E(Qe),className:me.Z.diamond},Le.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Le.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},ee.map((oe,he)=>Le.createElement(ze.Z,{flex:"110px",className:me.Z.item},Le.createElement("div",null,Le.createElement(je.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),Le.createElement("div",{className:me.Z.children},oe.children.map((_e,Pe)=>Le.createElement("div",{key:Pe},_e.name&&Le.createElement("h1",null,_e.name),Le.createElement(be.Z,{gutter:[10,10]},_e.data.map((Qe,Ze)=>Le.createElement(ze.Z,{key:Ze,onClick:()=>E(Qe),className:me.Z.diamond},Le.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))}],ne=()=>{var oe=document.createElement("div");oe.innerHTML=y.current.getValue();var he=oe.innerText;return Ie&&Ie(he),he};return(0,Oe.useImperativeHandle)(ie,()=>({getData:ne})),Le.createElement("div",{className:me.Z.mathWrap},Le.createElement(at.default,{defaultActiveKey:"1",items:te}),Le.createElement("math-field",{locale:"zh_cn",className:me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ce||""),Fe&&Le.createElement("div",{className:me.Z.button},Le.createElement(Ge.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ut.Z=de},4646:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ge}});var Oe=we(59301),be=we(92123),ze={goBack:"goBack___HgvTW"};const at=({globalSetting:je,dispatch:me,url:Be=null})=>{const Le=()=>{Be?be.history.push(`${Be}`):localStorage.getItem("sourceUrl")?(window.location.href=localStorage.getItem("sourceUrl"),localStorage.removeItem("sourceUrl")):be.history.back()};return Oe.createElement("div",{className:ze.goBack,onClick:Le},Oe.createElement("img",{src:we(12192),width:20,height:17,style:{marginRight:4}}),"\u8FD4\u56DE")};var Ge=(0,be.connect)(({globalSetting:je,user:me})=>({globalSetting:je,user:me}))(at)},4034:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ke}});var Oe=we(59301),be=we(92123),ze=we(43418),at=we(78241),Ge=we(8591),je=we(71418),me=we(17574),Be=we(95237),Le=we(43604),de=we(6848),Ie=we(3113),Fe=we(92832),Ce={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},ie=we(18581),y=we(86914),a=we(62556),ee=we(27346),E=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Pe=(Ot,it,rt)=>it in Ot?E(Ot,it,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ot[it]=rt,Qe=(Ot,it)=>{for(var rt in it||(it={}))he.call(it,rt)&&Pe(Ot,rt,it[rt]);if(oe)for(var rt of oe(it))_e.call(it,rt)&&Pe(Ot,rt,it[rt]);return Ot},Ze=(Ot,it)=>te(Ot,ne(it)),Ve=(Ot,it)=>{var rt={};for(var wt in Ot)he.call(Ot,wt)&&it.indexOf(wt)<0&&(rt[wt]=Ot[wt]);if(Ot!=null&&oe)for(var wt of oe(Ot))it.indexOf(wt)<0&&_e.call(Ot,wt)&&(rt[wt]=Ot[wt]);return rt},nt=(Ot,it,rt)=>new Promise((wt,dt)=>{var pt=rn=>{try{ft(rt.next(rn))}catch(fn){dt(fn)}},st=rn=>{try{ft(rt.throw(rn))}catch(fn){dt(fn)}},ft=rn=>rn.done?wt(rn.value):Promise.resolve(rn.value).then(pt,st);ft((rt=rt.apply(Ot,it)).next())});const De=(Ot=[])=>Ot==null?void 0:Ot.map(it=>Ze(Qe({},it),{title:(it==null?void 0:it.value)||"",key:it==null?void 0:it.id,isLeaf:!0})),Bt=Ot=>{var it=Ot,{user:rt,children:wt,isShowComponent:dt=!0,ModalProps:pt={},onDataSelect:st}=it,ft=Ve(it,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[rn,fn]=ze.default.useModal(),[Et]=at.default.useForm(),[Jt,Ln]=(0,Oe.useState)([]),[Hn,un]=(0,Oe.useState)(!1),[Vn,yt]=(0,Oe.useState)(!1),[,Kn,er,Re]=(0,ie.U)(y.qE,{page:1,limit:9999}),[,,Kt]=(0,ie.U)(y.V8,{}),[,,Te]=(0,ie.U)(y.B$,{}),[,,pe]=(0,ie.U)(y.DH,{}),[,,ce]=(0,ie.U)(y.bJ,{}),ye=()=>{un(!1),Et.resetFields(),yt(!1)},qe=Me=>nt(void 0,null,function*(){const{node:Xe,dragNode:Pt,event:ct}=Me,ot=Me.node.pos.split("-"),kt=Me.dropPosition-Number(ot[ot.length-1]);if(kt==0){Ge.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(kt==1&&(Pt==null?void 0:Pt.item_index)==(Xe==null?void 0:Xe.item_index)+1){Ge.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const _n=yield ce({id:Pt==null?void 0:Pt.key,position:kt==-1?1:(Pt==null?void 0:Pt.item_index)>(Xe==null?void 0:Xe.item_index)?(Xe==null?void 0:Xe.item_index)+1:Xe==null?void 0:Xe.item_index});(_n==null?void 0:_n.status)===0&&(Ge.ZP.success("\u79FB\u52A8\u6210\u529F"),er({},!0))}),gt=Me=>nt(void 0,null,function*(){let Xe={};Vn?Xe=yield Te(Qe({},Me)):Xe=yield pe(Qe({},Me)),(Xe==null?void 0:Xe.status)==0&&(Ge.ZP.success((Xe==null?void 0:Xe.message)||(Vn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),er({},!0),ye())});return(0,Oe.useEffect)(()=>{pt!=null&&pt.open&&er({},!0)},[pt==null?void 0:pt.open]),(0,Oe.useEffect)(()=>{var Me;Ln(De((Me=Re==null?void 0:Re.data)==null?void 0:Me.list))},[Re]),dt?Oe.createElement(Oe.Fragment,null,fn,wt,Oe.createElement(ze.default,Ze(Qe({},Qe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},pt)),{className:`${ee.Z.threeModalSty}`}),Oe.createElement(je.Z,{spinning:Kn},(Jt==null?void 0:Jt.length)>0?Oe.createElement(Oe.Fragment,null,Oe.createElement(me.default.DirectoryTree,{height:500,className:Ce.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:st,treeData:Jt,onDrop:qe,titleRender:Me=>Oe.createElement(Oe.Fragment,null,Oe.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Me==null?void 0:Me.title),Oe.createElement("div",{className:`${Ce.EditDom}`},Oe.createElement(Be.Z,{wrap:!1,align:"middle",gutter:16},Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},Oe.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Ce.currentPrimary}`}))),Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u7F16\u8F91"},Oe.createElement("i",{className:`iconfont icon-bianji11 font12 ${Ce.currentPrimary}`,onClick:Xe=>{Xe.stopPropagation(),Et.setFieldsValue(Qe({},Me)),un(!0)}}))),Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u5220\u9664"},Oe.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Ce.currentDelete}`,onClick:Xe=>{Xe.stopPropagation(),rn.confirm({className:`${ee.Z.threeModalSty}`,icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>nt(void 0,null,function*(){const Pt=yield Kt({id:Me==null?void 0:Me.key});(Pt==null?void 0:Pt.status)==0&&(Ge.ZP.success((Pt==null?void 0:Pt.message)||"\u5220\u9664\u6210\u529F"),er({},!0))})})}}))))))}),Oe.createElement(Ie.ZP,{className:"ml20 mt20",icon:Oe.createElement("i",{className:"iconfont icon-xiaojiahao"}),onClick:()=>{yt(!0),un(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):Oe.createElement(a.Z,{styles:{margin:"30px auto"},customText:Oe.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",Oe.createElement("a",{onClick:()=>{yt(!0),un(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),Oe.createElement(ze.default,{title:Vn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Hn,className:`${ee.Z.threeModalSty}`,okText:Vn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{ye()},onOk:()=>{Et.submit()}},Oe.createElement(at.default,{form:Et,onFinish:gt},Vn&&Oe.createElement("span",{className:"font14 mt20",style:{color:"#fff"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),Oe.createElement(at.default.Item,{hidden:!0,name:"id"}),Oe.createElement(at.default.Item,{className:"mt10",name:"value"},Oe.createElement(Fe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var ke=(0,be.connect)(({loading:Ot,user:it})=>({user:it,loading:Ot.effects}))(Bt)},57560:function(on,Ut,we){"use strict";we.d(Ut,{h:function(){return oe}});var Oe=we(59301),be=we(57809),ze=we(78241),at=we(3113),Ge=we(89780),je=we.n(Ge),me=we(78318),Be=we(44084),Le=Object.defineProperty,de=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(he,_e,Pe)=>_e in he?Le(he,_e,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[_e]=Pe,a=(he,_e)=>{for(var Pe in _e||(_e={}))Ce.call(_e,Pe)&&y(he,Pe,_e[Pe]);if(Fe)for(var Pe of Fe(_e))ie.call(_e,Pe)&&y(he,Pe,_e[Pe]);return he},ee=(he,_e)=>de(he,Ie(_e));const E=be.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},ne={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ut.Z=({callback:he,onCancel:_e})=>{const[Pe,Qe]=(0,Oe.useState)("python");function Ze(nt){Qe(ne[nt][1])}function Ve(nt){he(nt)}return Oe.createElement(ze.default,ee(a({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ve,style:{width:500}}),Oe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Oe.createElement(be.default,{getPopupContainer:nt=>nt.parentNode,onChange:Ze},Object.keys(ne).map(nt=>Oe.createElement(E,{key:nt,value:nt},ne[nt][0])))),Oe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Oe.createElement(oe,{mode:Pe})),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(at.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(at.ZP,{type:"ghost",onClick:_e},"\u53D6\u6D88")))};function oe({value:he,onChange:_e,mode:Pe,options:Qe={}}){const Ze=(0,Oe.useRef)(),[Ve,nt]=(0,Oe.useState)();return(0,Oe.useEffect)(()=>{if(Ve){let De=function(Bt){const ke=Bt.getValue();_e&&_e(ke)};return Ve.on("change",De),()=>{Ve.off("change",De)}}},[Ve,_e]),(0,Oe.useEffect)(()=>{Ve&&Ve.setOption("mode",Pe)},[Ve,Pe]),(0,Oe.useEffect)(()=>{Ve&&(he!==Ve.getValue()||he==="")&&setTimeout(()=>{Ve.setValue(he||"")},300)},[Ve,he]),(0,Oe.useEffect)(()=>{if(Ze.current&&!Ve){const De=je().fromTextArea(Ze.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Qe));nt(De)}},[Ze.current,Ve]),Oe.createElement("div",{className:"my-codemirror-container"},Oe.createElement("textarea",{ref:Ze}))}},55659:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ji}});var Oe=we(59301),be=we(89780),ze=we.n(be),at=we(76374),Ge=we(78318),je=we(6313),me=we(25717),Be=we(99498),Le=we(25419),de=we(67549),Ie=we(17410),Fe=({value:En="",className:Dn,showTextOnly:vn,showLines:kr,style:Ea={}})=>{const Zr=(0,Oe.useMemo)(()=>"",[En]);return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{dangerouslySetInnerHTML:{__html:Zr}}))},Ce=we(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(En,Dn,vn)=>Dn in En?ie(En,Dn,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[Dn]=vn,oe=(En,Dn)=>{for(var vn in Dn||(Dn={}))E.call(Dn,vn)&&ne(En,vn,Dn[vn]);if(ee)for(var vn of ee(Dn))te.call(Dn,vn)&&ne(En,vn,Dn[vn]);return En},he=(En,Dn)=>y(En,a(Dn));let _e=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Pe({onActionCallback:En,title:Dn,icon:vn,actionName:kr,className:Ea="",children:Zr}){function si(){En(kr)}return Ce.createElement("a",{title:Dn,className:Ea,onClick:si},Ce.createElement("i",{className:`${vn}`}),Zr)}var Qe=({watch:En,showNullButton:Dn,showNullProgramButton:vn,onActionCallback:kr,fullScreen:Ea,insertTemp:Zr,hidetoolBar:si,extraUse:vo})=>{const Ko=[..._e,{title:`${En?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${En?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ce.createElement("ul",{className:"markdown-toolbar-container"},!si&&Ko.map((_o,yA)=>Ce.createElement("li",{key:yA},_o.actionName?Ce.createElement(Pe,he(oe({},_o),{onActionCallback:kr})):Ce.createElement("span",{className:"v-line"}))),Dn?Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,vn?Ce.createElement(Ce.Fragment,null,Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Zr&&Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Zr}`,onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),vo&&Ce.createElement("li",null,vo),Ce.createElement("li",{className:"btn-full-screen"},Ce.createElement(Pe,{icon:`${Ea?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ea?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kr})))},Ze=we(74254),Ve=we(78241),nt=we(92832),De=we(3113),Bt=Object.defineProperty,ke=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,dt=(En,Dn,vn)=>Dn in En?Bt(En,Dn,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[Dn]=vn,pt=(En,Dn)=>{for(var vn in Dn||(Dn={}))rt.call(Dn,vn)&&dt(En,vn,Dn[vn]);if(it)for(var vn of it(Dn))wt.call(Dn,vn)&&dt(En,vn,Dn[vn]);return En},st=(En,Dn)=>ke(En,Ot(Dn));const ft={labelCol:{span:4},wrapperCol:{span:20}};var rn=({callback:En,onCancel:Dn})=>{function vn(kr){En(kr)}return Oe.createElement(Ve.default,st(pt({},ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:vn,style:{width:500}}),Oe.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Oe.createElement(nt.default,null)),Oe.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Oe.createElement(nt.default,null)),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(De.ZP,{type:"ghost",onClick:Dn},"\u53D6\u6D88")))},fn=we(57560),Et=we(42307),Jt=we(43418),Ln=we(95237),Hn=we(40783),un=we(59301),Vn=({callback:En,onCancel:Dn})=>{const vn=document.createElement("canvas"),kr=vn.getContext("2d");vn.width=1e3,vn.height=800,kr.fillStyle="#ffffff",kr.fillRect(0,0,vn.width,vn.height);const Ea=vn.toDataURL("image/png");return un.createElement(Jt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},un.createElement(Ln.Z,{style:{height:"100vh"}},un.createElement(Hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ea,visible:!0,title:String(Date.now())},onOk:Zr=>{En({src:Zr.url})},onClose:Dn})))},yt=we(12378);function Kn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Kn,go.CommandHandler),Kn.prototype.canAlignSelection=function(){var En=this.diagram;return!(En===null||En.isReadOnly||En.isModelReadOnly||En.selection.count<2)},Kn.prototype.alignLeft=function(){var En=this.diagram;En.startTransaction("aligning left");var Dn=1/0;En.selection.each(function(vn){vn instanceof go.Link||(Dn=Math.min(vn.position.x,Dn))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(Dn,vn.position.y))}),En.commitTransaction("aligning left")},Kn.prototype.alignRight=function(){var En=this.diagram;En.startTransaction("aligning right");var Dn=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var kr=vn.actualBounds.x+vn.actualBounds.width;Dn=Math.max(kr,Dn)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(Dn-vn.actualBounds.width,vn.position.y))}),En.commitTransaction("aligning right")},Kn.prototype.alignTop=function(){var En=this.diagram;En.startTransaction("alignTop");var Dn=1/0;En.selection.each(function(vn){vn instanceof go.Link||(Dn=Math.min(vn.position.y,Dn))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.position.x,Dn))}),En.commitTransaction("alignTop")},Kn.prototype.alignBottom=function(){var En=this.diagram;En.startTransaction("aligning bottom");var Dn=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var kr=vn.actualBounds.y+vn.actualBounds.height;Dn=Math.max(kr,Dn)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.actualBounds.x,Dn-vn.actualBounds.height))}),En.commitTransaction("aligning bottom")},Kn.prototype.alignCenterX=function(){var En=this.diagram,Dn=En.selection.first();if(Dn){En.startTransaction("aligning Center X");var vn=Dn.actualBounds.x+Dn.actualBounds.width/2;En.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(vn-kr.actualBounds.width/2,kr.actualBounds.y))}),En.commitTransaction("aligning Center X")}},Kn.prototype.alignCenterY=function(){var En=this.diagram,Dn=En.selection.first();if(Dn){En.startTransaction("aligning Center Y");var vn=Dn.actualBounds.y+Dn.actualBounds.height/2;En.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(kr.actualBounds.x,vn-kr.actualBounds.height/2))}),En.commitTransaction("aligning Center Y")}},Kn.prototype.alignColumn=function(En){var Dn=this.diagram;Dn.startTransaction("align Column"),En===void 0&&(En=0),En=parseFloat(En);var vn=new Array;Dn.selection.each(function(vo){vo instanceof go.Link||vn.push(vo)});for(var kr=0;kr<vn.length-1;kr++){var Ea=vn[kr],Zr=Ea.actualBounds.y+Ea.actualBounds.height+En,si=vn[kr+1];si.move(new go.Point(Ea.actualBounds.x,Zr))}Dn.commitTransaction("align Column")},Kn.prototype.alignRow=function(En){En===void 0&&(En=0),En=parseFloat(En);var Dn=this.diagram;Dn.startTransaction("align Row");var vn=new Array;Dn.selection.each(function(vo){vo instanceof go.Link||vn.push(vo)});for(var kr=0;kr<vn.length-1;kr++){var Ea=vn[kr],Zr=Ea.actualBounds.x+Ea.actualBounds.width+En,si=vn[kr+1];si.move(new go.Point(Zr,Ea.actualBounds.y))}Dn.commitTransaction("align Row")},Kn.prototype.canRotate=function(En){var Dn=this.diagram;return!(Dn===null||Dn.isReadOnly||Dn.isModelReadOnly||Dn.selection.count<1)},Kn.prototype.rotate=function(En){En===void 0&&(En=90);var Dn=this.diagram;Dn.startTransaction("rotate "+En.toString());var Dn=this.diagram;Dn.selection.each(function(vn){vn instanceof go.Link||vn instanceof go.Group||(vn.angle+=En)}),Dn.commitTransaction("rotate "+En.toString())},Kn.prototype.pullToFront=function(){var En=this.diagram;En.startTransaction("pullToFront");var Dn=new go.Map;En.selection.each(function(vn){Dn.set(vn.layer,0)}),Dn.iteratorKeys.each(function(vn){var kr=0;vn.parts.each(function(Ea){if(!Ea.isSelected){var Zr=Ea.zOrder;isNaN(Zr)?Ea.zOrder=0:kr=Math.max(kr,Zr)}}),Dn.set(vn,kr)}),En.selection.each(function(vn){Kn._assignZOrder(vn,Dn.get(vn.layer)+1)}),En.commitTransaction("pullToFront")},Kn.prototype.pushToBack=function(){var En=this.diagram;En.startTransaction("pushToBack");var Dn=new go.Map;En.selection.each(function(vn){Dn.set(vn.layer,0)}),Dn.iteratorKeys.each(function(vn){var kr=0;vn.parts.each(function(Ea){if(!Ea.isSelected){var Zr=Ea.zOrder;isNaN(Zr)?Ea.zOrder=0:kr=Math.min(kr,Zr)}}),Dn.set(vn,kr)}),En.selection.each(function(vn){Kn._assignZOrder(vn,Dn.get(vn.layer)-1-Kn._findGroupDepth(vn))}),En.commitTransaction("pushToBack")},Kn._assignZOrder=function(En,Dn,vn){vn===void 0&&(vn=En),En.layer===vn.layer&&(En.zOrder=Dn),En instanceof go.Group&&En.memberParts.each(function(kr){Kn._assignZOrder(kr,Dn+1,vn)})},Kn._findGroupDepth=function(En){if(En instanceof go.Group){var Dn=0;return En.memberParts.each(function(vn){Dn=Math.max(Dn,Kn._findGroupDepth(vn))}),Dn+1}else return 0},Kn.prototype.doKeyDown=function(){var En=this.diagram;if(En!==null){var Dn=En.lastInput;if(Dn.key==="Up"||Dn.key==="Down"||Dn.key==="Left"||Dn.key==="Right"){var vn=this.arrowKeyBehavior;if(vn==="none")return;if(vn==="select"){this._arrowKeySelect();return}else if(vn==="move"){this._arrowKeyMove();return}else if(vn==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Kn.prototype._getAllParts=function(){var En=new Array;return this.diagram.nodes.each(function(Dn){En.push(Dn)}),this.diagram.parts.each(function(Dn){En.push(Dn)}),En},Kn.prototype._arrowKeyMove=function(){var En=this.diagram,Dn=En.lastInput,vn=0,kr=0;if(Dn.control||Dn.meta)vn=1,kr=1;else if(En.grid!==null){var Ea=En.grid.gridCellSize;kr=Ea.width,vn=Ea.height}En.startTransaction("arrowKeyMove"),En.selection.each(function(Zr){Dn.key==="Up"?Zr.move(new go.Point(Zr.actualBounds.x,Zr.actualBounds.y-vn)):Dn.key==="Down"?Zr.move(new go.Point(Zr.actualBounds.x,Zr.actualBounds.y+vn)):Dn.key==="Left"?Zr.move(new go.Point(Zr.actualBounds.x-kr,Zr.actualBounds.y)):Dn.key==="Right"&&Zr.move(new go.Point(Zr.actualBounds.x+kr,Zr.actualBounds.y))}),En.commitTransaction("arrowKeyMove")},Kn.prototype._arrowKeySelect=function(){var En=this.diagram,Dn=En.lastInput,vn=null;Dn.key==="Up"?vn=this._findNearestPartTowards(270):Dn.key==="Down"?vn=this._findNearestPartTowards(90):Dn.key==="Left"?vn=this._findNearestPartTowards(180):Dn.key==="Right"&&(vn=this._findNearestPartTowards(0)),vn!==null&&(Dn.shift?vn.isSelected=!0:Dn.control||Dn.meta?vn.isSelected=!vn.isSelected:En.select(vn))},Kn.prototype._findNearestPartTowards=function(En){var Dn=this.diagram.selection.first();if(Dn===null)return null;for(var vn=Dn.actualBounds.center,kr=this._getAllParts(),Ea=1/0,Zr=Dn,si=0;si<kr.length;si++){var vo=kr[si];if(vo!==Dn&&vo.canSelect()){var Ko=vo.actualBounds.center,_o=vn.directionPoint(Ko),yA=this._angleCloseness(_o,En);if(yA<=45){var gr=vn.distanceSquaredPoint(Ko);gr*=1+Math.sin(yA*Math.PI/180),gr<Ea&&(Ea=gr,Zr=vo)}}}return Zr},Kn.prototype._angleCloseness=function(En,Dn){return Math.min(Math.abs(Dn-En),Math.min(Math.abs(Dn+360-En),Math.abs(Dn-360-En)))},Kn.prototype._arrowKeyTree=function(){var En=this.diagram,Dn=En.selection.first();if(Dn instanceof go.Node){var vn=En.lastInput;if(vn.key==="Right"){if(!Dn.isTreeLeaf)if(!Dn.isTreeExpanded)En.commandHandler.canExpandTree(Dn)&&En.commandHandler.expandTree(Dn);else{var kr=this._sortTreeChildrenByY(Dn).first();kr!==null&&En.select(kr)}}else if(vn.key==="Left")if(!Dn.isTreeLeaf&&Dn.isTreeExpanded)En.commandHandler.canCollapseTree(Dn)&&En.commandHandler.collapseTree(Dn);else{var Ea=Dn.findTreeParentNode();Ea!==null&&En.select(Ea)}else if(vn.key==="Up"){var Ea=Dn.findTreeParentNode();if(Ea!==null){var Zr=this._sortTreeChildrenByY(Ea),si=Zr.indexOf(Dn);if(si>0){for(var vo=Zr.elt(si-1);vo!==null&&vo.isTreeExpanded&&!vo.isTreeLeaf;){var Ko=this._sortTreeChildrenByY(vo);vo=Ko.last()}vo!==null&&En.select(vo)}else En.select(Ea)}}else if(vn.key==="Down")if(Dn.isTreeExpanded&&!Dn.isTreeLeaf){var kr=this._sortTreeChildrenByY(Dn).first();kr!==null&&En.select(kr)}else for(;Dn!==null;){var Ea=Dn.findTreeParentNode();if(Ea===null)break;var Zr=this._sortTreeChildrenByY(Ea),si=Zr.indexOf(Dn);if(si<Zr.length-1){En.select(Zr.elt(si+1));break}else Dn=Ea}var _o=En.selection.first();_o!==null&&En.scrollToRect(_o.actualBounds)}},Kn.prototype._sortTreeChildrenByY=function(En){var Dn=new go.List().addAll(En.findTreeChildrenNodes());return Dn.sort(function(vn,kr){var Ea=vn.location,Zr=kr.location;return Ea.y<Zr.y?-1:Ea.y>Zr.y?1:Ea.x<Zr.x?-1:Ea.x>Zr.x?1:0}),Dn},Kn.prototype.copyToClipboard=function(En){go.CommandHandler.prototype.copyToClipboard.call(this,En),this._lastPasteOffset.set(this.pasteOffset)},Kn.prototype.pasteFromClipboard=function(){var En=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(En,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),En},Object.defineProperty(Kn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(En){if(En!=="move"&&En!=="select"&&En!=="scroll"&&En!=="tree"&&En!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+En);this._arrowKeyBehavior=En}}),Object.defineProperty(Kn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(En){if(!(En instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+En);this._pasteOffset.set(En)}});var er=Kn,Re=we(6404),Kt=we(43604),Te=we(43597),pe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=we(59301),ye=(En,Dn,vn)=>new Promise((kr,Ea)=>{var Zr=Ko=>{try{vo(vn.next(Ko))}catch(_o){Ea(_o)}},si=Ko=>{try{vo(vn.throw(Ko))}catch(_o){Ea(_o)}},vo=Ko=>Ko.done?kr(Ko.value):Promise.resolve(Ko.value).then(Zr,si);vo((vn=vn.apply(En,Dn)).next())});function qe({onCancel:En,callback:Dn}){let vn=(0,Oe.useRef)(),kr=(0,Oe.useRef)(),Ea=(0,Oe.useRef)(),Zr=(0,Oe.useRef)(!1);const si=(0,Oe.useRef)(!1),[vo,Ko]=(0,Oe.useState)(0);function _o(){const gr=yt.bx.make,No={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};vn.current=new yt.S0(kr.current,{padding:20,grid:gr(yt.s_,"Grid",gr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Rr=>{var Na=Rr.diagram.commandHandler.addTopLevelParts(Rr.diagram.selection,!0);Na||Rr.diagram.currentTool.doCancel()},commandHandler:gr(er),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Rr=>{var Na=Rr.subject;Na.location=Na.location.copy().snapToGridPoint(Rr.diagram.grid.gridOrigin,Rr.diagram.grid.gridCellSize),setTimeout(()=>{Rr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Rr=>{var Na=Rr.subject;setTimeout(()=>{Rr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Rr=>{var Na=Rr.parameter.part;Na.invalidateConnectedLinks();var Po=Rr.subject;Rr.diagram.toolManager.linkingTool.isForwards?Po.toNode.invalidateConnectedLinks():Po.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),vn.current.nodeTemplate=gr(yt.NB,"Auto",{locationSpot:yt.z6.Center,locationObjectName:"SHAPE",desiredSize:new yt.$u(120,60),minSize:new yt.$u(40,40),resizable:!0,resizeCellSize:new yt.$u(10,10),rotatable:!0},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),new yt.KX("desiredSize","size",yt.$u.parse).makeTwoWay(yt.$u.stringify),gr(yt.bn,{name:"SHAPE",fill:No.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("figure"),new yt.KX("fill"),new yt.KX("stroke","borderColor"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gr(yt.al,{margin:1,textAlign:"center",overflow:yt.al.OverflowEllipsis,editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),vn.current.nodeTemplate.toolTip=gr("ToolTip",gr(yt.s_,"Vertical",{maxSize:new yt.$u(200,NaN)},gr(yt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new yt.KX("text")),gr(yt.al,{font:"10pt sans-serif",textAlign:"center"},new yt.KX("text","details"))));function Di(Rr,Na){var Po=(Fa,Ga)=>{Fa.handled=!0,Fa.diagram.model.commit(vi=>{var va=Ga.part.adornedPart,ts=new yt.E9().setRectSpot(va.actualBounds,Rr);ts.subtract(va.location),ts.scale(2,2),ts.x+=Math.sign(ts.x)*130,ts.y+=Math.sign(ts.y)*130,ts.add(va.location),ts.snapToGridPoint(Fa.diagram.grid.gridOrigin,Fa.diagram.grid.gridCellSize);var ns=vi.copyNodeData(va.data);vi.setGroupKeyForNodeData(ns,vi.getGroupKeyForNodeData(va.data)),vi.addNodeData(ns);var yu={from:va.key,to:vi.getKeyForNodeData(ns)};vi.addLinkData(yu);var Os=Fa.diagram.findNodeForData(ns);Os.location=ts,Fa.diagram.select(Os),setTimeout(()=>{Fa.diagram.commandHandler.editTextBlock()},20)})};return gr(yt.bn,{figure:Na,alignment:Rr,alignmentFocus:Rr.opposite(),width:Rr.equals(yt.z6.Top)||Rr.equals(yt.z6.Bottom)?25:18,height:Rr.equals(yt.z6.Top)||Rr.equals(yt.z6.Bottom)?18:25,fill:"orange",stroke:No.white,strokeWidth:4,mouseEnter:(Fa,Ga)=>Ga.fill="dodgerblue",mouseLeave:(Fa,Ga)=>Ga.fill="orange",isActionable:!0,click:Po,contextClick:Po})}function fi(Rr){return gr(yt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Na,Po)=>Po.fill="dodgerblue",mouseLeave:(Na,Po)=>Po.fill="orange",click:(Na,Po)=>{Na.diagram.commandHandler.showContextMenu(Po.part.adornedPart)}},Rr||{})}vn.current.nodeTemplate.selectionAdornmentTemplate=gr(yt.uz,"Spot",gr(yt.Vm,{padding:10}),Di(yt.z6.Top,"TriangleUp"),Di(yt.z6.Left,"TriangleLeft"),Di(yt.z6.Right,"TriangleRight"),Di(yt.z6.Bottom,"TriangleDown"),fi({alignment:new yt.z6(.75,0)}));function Si(Rr,Na){return(Po,Fa)=>{Po.handled=!0,Po.diagram.model.commit(Ga=>{Ga.set(Fa.part.adornedPart.data,Rr,Na)})}}function Do(Rr,Na){return Na||(Na="color"),gr(yt.bn,{width:16,height:16,stroke:"lightgray",fill:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.stroke="dodgerblue",mouseLeave:(Po,Fa)=>Fa.stroke="lightgray",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}function hA(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.white,"fill"),Do(No.beige,"fill"),Do(No.extralightblue,"fill"),Do(No.extralightred,"fill"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.lightgray,"fill"),Do(No.lightgreen,"fill"),Do(No.lightblue,"fill"),Do(No.lightred,"fill")))]}function MA(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.black),Do(No.green),Do(No.blue),Do(No.red))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.white),Do(No.magenta),Do(No.purple),Do(No.orange)))]}function GA(Rr,Na){return Na||(Na="thickness"),gr(yt.bn,"LineH",{width:16,height:16,strokeWidth:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}function Ds(Rr,Na){return Na||(Na="dash"),gr(yt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}function $A(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",GA(1),GA(2),GA(3),GA(4))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Ds(null),Ds([2,4]),Ds([4,4])))]}function yi(Rr,Na){return Na||(Na="figure"),gr(yt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.fill="dodgerblue",mouseLeave:(Po,Fa)=>Fa.fill="lightgray",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}vn.current.nodeTemplate.contextMenu=gr("ContextMenu",gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Rectangle"),yi("RoundedRectangle"),yi("Ellipse"),yi("Diamond"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Parallelogram2"),yi("ManualOperation"),yi("Procedure"),yi("Cylinder1"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Terminator"),yi("CreateRequest"),yi("Document"),yi("TriangleDown"))),hA(),MA(),$A()),vn.current.groupTemplate=gr(yt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:yt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Rr,Na)=>{var Po=Na.addMembers(Na.diagram.selection,!0);Po||Na.diagram.currentTool.doCancel()},avoidable:!1},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),gr(yt.s_,"Auto",{name:"BODY"},gr(yt.bn,{parameter1:10,fill:No.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("fill"),new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.Vm,{background:"transparent",margin:20})),gr(yt.al,{alignment:yt.z6.Top,alignmentFocus:yt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new yt.KX("text"),new yt.KX("stroke","color"))),vn.current.groupTemplate.selectionAdornmentTemplate=gr(yt.uz,"Spot",gr(yt.s_,"Auto",gr(yt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gr(yt.Vm,{margin:1.5})),fi({alignment:yt.z6.TopRight,alignmentFocus:yt.z6.BottomRight})),vn.current.groupTemplate.contextMenu=gr("ContextMenu",hA(),MA(),$A()),vn.current.linkTemplate=gr(yt.rU,{layerName:"Foreground",routing:yt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new yt.KX("fromSpot","fromSpot",yt.z6.parse),new yt.KX("toSpot","toSpot",yt.z6.parse),new yt.KX("fromShortLength","dir",Rr=>Rr>=1?10:0),new yt.KX("toShortLength","dir",Rr=>Rr>=1?10:0),new yt.KX("points").makeTwoWay(),gr(yt.bn,{strokeWidth:2},new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,0),segmentOrientation:yt.rU.OrientAlong,alignmentFocus:yt.z6.Right,figure:"circle",width:10,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Rr=>Rr===1)),gr(yt.bn,{segmentIndex:-1,segmentOffset:new yt.E9(-10,6),segmentOrientation:yt.rU.OrientPlus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Rr=>Rr>=1),new yt.KX("width","thickness",Rr=>7+3*Rr),new yt.KX("height","thickness",Rr=>7+3*Rr),new yt.KX("segmentOffset","thickness",Rr=>new yt.E9(-15,4+1.5*Rr))),gr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,-6),segmentOrientation:yt.rU.OrientMinus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Rr=>Rr===2),new yt.KX("width","thickness",Rr=>7+3*Rr),new yt.KX("height","thickness",Rr=>7+3*Rr),new yt.KX("segmentOffset","thickness",Rr=>new yt.E9(-15,4+1.5*Rr))),gr(yt.al,{alignmentFocus:new yt.z6(0,1,-4,0),editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),vn.current.linkTemplate.selectionAdornmentTemplate=gr(yt.uz,gr(yt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:gs(2)},new yt.KX("pathPattern","thickness",gs)),fi({alignmentFocus:new yt.z6(0,0,-6,-4)}));function gs(Rr){return gr(yt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Rr+4).toString()+" H3"})}function Fl(Rr){var Na="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Rr===0?Na="M0 0 M16 16 M0 8 L16 8":Rr===2&&(Na="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gr(yt.bn,{geometryString:Na,margin:2,background:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Si("dir",Rr),contextClick:Si("dir",Rr)})}function ZA(Rr){var Na=(Po,Fa)=>{Po.handled=!0,Po.diagram.model.commit(Ga=>{var vi=Fa.part.adornedPart;Ga.set(vi.data,Rr?"toSpot":"fromSpot",yt.z6.stringify(yt.z6.AllSides)),(Rr?vi.toNode:vi.fromNode).invalidateConnectedLinks()})};return gr(yt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Na,contextClick:Na})}function Pr(Rr,Na){var Po=0,Fa=yt.z6.RightSide;Rr.equals(yt.z6.Top)?(Po=270,Fa=yt.z6.TopSide):Rr.equals(yt.z6.Left)?(Po=180,Fa=yt.z6.LeftSide):Rr.equals(yt.z6.Bottom)&&(Po=90,Fa=yt.z6.BottomSide),Na||(Po-=180);var Ga=(vi,va)=>{vi.handled=!0,vi.diagram.model.commit(ts=>{var ns=va.part.adornedPart;ts.set(ns.data,Na?"toSpot":"fromSpot",yt.z6.stringify(Fa)),(Na?ns.toNode:ns.fromNode).invalidateConnectedLinks()})};return gr(yt.bn,{alignment:Rr,alignmentFocus:Rr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Po,background:"transparent",mouseEnter:(vi,va)=>va.background="dodgerblue",mouseLeave:(vi,va)=>va.background="transparent",click:Ga,contextClick:Ga})}vn.current.linkTemplate.contextMenu=gr("ContextMenu",MA(),$A(),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Fl(0),Fl(1),Fl(2))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",gr(yt.s_,"Spot",ZA(!1),Pr(yt.z6.Top,!1),Pr(yt.z6.Left,!1),Pr(yt.z6.Right,!1),Pr(yt.z6.Bottom,!1)),gr(yt.s_,"Spot",{margin:new yt.Zt(0,0,0,2)},ZA(!0),Pr(yt.z6.Top,!0),Pr(yt.z6.Left,!0),Pr(yt.z6.Right,!0),Pr(yt.z6.Bottom,!0)))));const Dc=`{ "class": "GraphLinksModel",
|
|
|
"nodeDataArray": [
|
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
|
],
|
|
|
"linkDataArray": [
|
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
|
]}`;var Su=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Qu(Rr){return console.log("shapeName:",Rr),Su.indexOf(Rr)>=0}var tl=new yt.YI(Ea.current,{maxSelectionCount:1,linkTemplate:gr(yt.rU,{locationSpot:yt.z6.Center,selectionAdornmentTemplate:gr(yt.uz,"Link",{locationSpot:yt.z6.Center},gr(yt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),gr(yt.bn,{toArrow:"Standard",stroke:null}))},{routing:yt.rU.AvoidsNodes,curve:yt.rU.JumpOver,corner:5,toShortLength:4},new yt.KX("points"),gr(yt.bn,{isPanelMain:!0,strokeWidth:2}),gr(yt.bn,{toArrow:"Standard",stroke:null})),model:new yt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...yt.bn.getFigureGenerators().toArray().map(Rr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Rr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return vn.current.addDiagramListener("TextEdited",function(Rr){var Na;const Po=Rr.subject.part;var Fa=(Na=document.activeElement)==null?void 0:Na.value;typeof Fa=="string"&&Fa.trim()===""&&vn.current.model.commit(function(Ga){Ga.set(Po.data,"text","\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}),tl.nodeTemplate=gr(yt.NB,"Auto",{locationSpot:yt.z6.Center},new yt.KX("location","location",yt.E9.parse).makeTwoWay(yt.E9.stringify),gr(yt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new yt.KX("stroke").makeTwoWay(),new yt.KX("fill").makeTwoWay(),new yt.KX("figure")),gr(yt.al,{margin:new yt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new yt.$u(16,16),maxSize:new yt.$u(10,NaN),textAlign:"center",editable:!0},new yt.KX("key").makeTwoWay())),setTimeout(()=>{vn.current.grid=gr(yt.s_,"Grid",gr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),vn.current.grid.visible=!0,vn.current.grid.gridCellStroke="darkgray",vn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=vn.current,vn.current}const yA=()=>ye(this,null,function*(){var gr=vn.current.makeImage();const No=yield(0,Te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:gr.src}});Dn({src:No.url})});return(0,Oe.useEffect)(()=>(setTimeout(()=>{_o()},500),Ko(vo+1),()=>{vn.current=null}),[]),ce.createElement("div",{ref:si,className:Zr.current?`${pe.maxH60} body-overflow-initial`:"body-overflow-initial"},ce.createElement(Jt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!vo,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ce.createElement(Ln.Z,null,ce.createElement(Kt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(Kt.Z,{onClick:()=>{var gr,No,Di=vn.current.selection.first();if(Zr.current=!Zr.current,document.activeElement&&Di){let fi=(No=(gr=document.activeElement)==null?void 0:gr.value)==null?void 0:No.trim();typeof fi=="string"&&vn.current.model.commit(function(Si){Si.set(Di.data,"text",fi||"\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}Ko(vo+1)}},ce.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:En},ce.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:pe.flowChartWrp},ce.createElement("div",{style:{display:"flex",height:"100%"}},ce.createElement("div",{style:{width:"300px",height:"100%"}},ce.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ce.createElement("div",{style:{height:"calc(100% - 50px)"},className:pe.myPaletteDiv,ref:Ea})),ce.createElement("div",{style:{flex:1,position:"relative"}},ce.createElement("div",{ref:kr,style:{height:"80vh"}}))),ce.createElement("div",{className:"tr"},ce.createElement(De.ZP,{size:"large",onClick:yA,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=qe,Me=we(5112),Xe=we(5871);const Pt=Me.ZP.Group,ct={margin:"0 8px"};var ot=({callback:En,onCancel:Dn})=>{function vn(kr){En(kr)}return Oe.createElement(Ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:vn},Oe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Oe.createElement("span",{style:ct},"\u5355\u5143\u683C\u6570\uFF1A"),Oe.createElement("span",{style:ct},"\u884C\u6570"),Oe.createElement(Ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Oe.createElement(Xe.Z,null)),Oe.createElement("span",{style:ct},"\u5217\u6570"),Oe.createElement(Ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Oe.createElement(Xe.Z,null))),Oe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Oe.createElement("span",{style:ct},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Oe.createElement(Ve.default.Item,{name:"align"},Oe.createElement(Pt,null,Oe.createElement(Me.ZP,{value:"default"},Oe.createElement("i",{className:"fa fa-align-justify"})),Oe.createElement(Me.ZP,{value:"left"},Oe.createElement("i",{className:"fa fa-align-left"})),Oe.createElement(Me.ZP,{value:"center"},Oe.createElement("i",{className:"fa fa-align-center"})),Oe.createElement(Me.ZP,{value:"right"},Oe.createElement("i",{className:"fa fa-align-right"}))))),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(De.ZP,{type:"ghost",onClick:Dn},"\u53D6\u6D88")))},kt=we(78673),_n=we(93127),_t=we.n(_n),Nt=(0,Oe.forwardRef)(({use3d:En,width:Dn,height:vn,callback:kr,showSaveButton:Ea},Zr)=>{const si=(0,Oe.useRef)(),vo=(0,Oe.useRef)(),[Ko,_o]=(0,Oe.useState)(!1),yA=(0,Oe.useRef)({id:si,appName:"graphing",width:Dn||1e3,height:vn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Oe.useEffect)(()=>{vo.current=new(_t())(yA.current,!0),window.onload=function(){vo.current.inject("applet_container")}},[]);const gr=()=>{var No=window.ggbApplet.getPNGBase64(1,!0,72);return kr&&kr(No),No};return(0,Oe.useEffect)(()=>{yA.current.appName=Ko?"3D":"graphing",vo.current.inject("applet_container")},[Ko]),(0,Oe.useEffect)(()=>{_o(En)},[En]),(0,Oe.useImperativeHandle)(Zr,()=>({getImgData:gr})),Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:si}),Oe.createElement(Ln.Z,{align:"middle"},Oe.createElement(Kt.Z,{flex:1},Oe.createElement(kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ko,onChange:No=>_o(No)})),Oe.createElement(Kt.Z,null,Oe.createElement(De.ZP,{size:"large",onClick:gr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=we(57765),Xt=we(1012),Jn=we(8591);const hr="link",tr="upload-image",Dr="add-flowchart",Or="draw-image",la="add-flowchart",sa="code-block",Hr="add-table",br="------------",Tr={default:br,left:`:${br}`,center:`:${br}:`,right:`${br}:`};var ta=we(61346),_a=(En,Dn,vn)=>new Promise((kr,Ea)=>{var Zr=Ko=>{try{vo(vn.next(Ko))}catch(_o){Ea(_o)}},si=Ko=>{try{vo(vn.throw(Ko))}catch(_o){Ea(_o)}},vo=Ko=>Ko.done?kr(Ko.value):Promise.resolve(Ko.value).then(Zr,si);vo((vn=vn.apply(En,Dn)).next())});function fo(){}let ea=0;const pi=1e4,_i="\u2581",na="@\u2581\u2581@",ln="@\u2581@",zA=`
|
|
|
**\u6A21\u677F\u6807\u9898**
|
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,fA=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function UA(En){return/^\d+$/.test(En)?`${En}px`:En}const wi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Gs={[wi+"-B"]:"bold",[wi+"-I"]:"italic"},SA={[hr]:"\u6DFB\u52A0\u94FE\u63A5",[sa]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[tr]:"\u6DFB\u52A0\u56FE\u7247",[Or]:"\u6DFB\u52A0\u753B\u56FE",[Dr]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Hr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ji=({defaultValue:En="",onChange:Dn,width:vn="100%",height:kr=400,miniToolbar:Ea=!1,isFocus:Zr=!1,watch:si,insertTemp:vo,mode:Ko="markdown",id:_o="markdown-editor-id",showResizeBar:yA=!1,noStorage:gr=!1,showNullButton:No=!1,showNullProgramButton:Di=!1,hidetoolBar:fi=!1,fullScreen:Si=!1,onBlur:Do,onCMBeforeChange:hA,onFullScreen:MA,className:GA="",disablePaste:Ds=!1,disabled:$A=!1,disabledFill:yi=!1,placeholder:gs="",values:Fl="",extraUse:ZA})=>{const[Pr,Dc]=(0,Oe.useState)(null),[Su,Qu]=(0,Oe.useState)(En),[tl,Rr]=(0,Oe.useState)(si),[Na,Po]=(0,Oe.useState)(Si),[Fa,Ga]=(0,Oe.useState)(""),[vi,va]=(0,Oe.useState)(0),[ts,ns]=(0,Oe.useState)(kr),[yu,Os]=(0,Oe.useState)(!1),Oc=(0,Oe.useRef)((0,Xt.Z)()),Qc=(0,Oe.useRef)(!1),xl=(0,Oe.useRef)(),[_l,Tc]=(0,Oe.useState)(0),[Tu,ku]=(0,Oe.useState)(0),Au=(0,Oe.useRef)(),fl=(0,Oe.useRef)(),Ru=(0,Oe.useRef)(),An=(0,Oe.useRef)(),kc=()=>_a(void 0,null,function*(){var Dt;const en=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Oc.current}});(Dt=en==null?void 0:en.attachments)!=null&&Dt.length&&(console.log("cm:",Pr,Au),en.attachments.map(On=>{On.content_type.indexOf("image")>-1?Pr.replaceSelection(``):On.content_type.indexOf("video")>-1?Pr.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):On.content_type.indexOf("pdf")>-1?Pr.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${On.id}?type=${On.content_type}&disposition=inline" target="_blank">${On.name}</a>`):Pr.replaceSelection(`[${On.name}](${ENV.API_SERVER}/api/attachments/${On.id}?type=${On.content_type})`)}))});(0,Oe.useEffect)(()=>{const Dt=window.scrollY||window.pageYOffset;Qu(Fl),Pr==null||Pr.setValue(Fl),window.scrollTo(0,Dt)},[Fl]),(0,Oe.useEffect)(()=>{MA==null||MA(Na)},[Na]),(0,Oe.useEffect)(()=>{if(Au.current){let Dt=function(On,sr){var Xr;if(Ds){sr.preventDefault();return}const Ir=sr.clipboardData;if(Ir){const mr=Ir.types.toString(),xr=Ir.items;if(mr==="Files"||Ir.types.indexOf("Files")>-1){if(sr.preventDefault(),Ko=="stex")return;try{let da=xr[1];((Xr=xr[0])==null?void 0:Xr.kind)==="file"&&(da=xr[0]);const Ha=da.getAsFile(),To=Ha.name.split(".").pop();(0,Et.I)(Ha,ua=>{var zi,li,Bi;ua.id?((zi=Ha==null?void 0:Ha.type)==null?void 0:zi.indexOf("image"))>-1?en.replaceSelection(`<img width="100%" src="/api/attachments/${ua.id}?type=${ua.content_type})" alt="" />`):((li=Ha==null?void 0:Ha.type)==null?void 0:li.indexOf("video"))>-1?en.replaceSelection(`<video width="100%" controls src="/api/attachments/${ua.id}"></video>`):((Bi=Ha==null?void 0:Ha.type)==null?void 0:Bi.indexOf("pdf"))>-1?en.replaceSelection(`<a href="/api/attachments/${ua.id}?type=${Ha.type}&disposition=inline" target="_blank">${Ha.name}</a>`):fA.includes(To)?en.replaceSelection(`<a href="/api/attachments/${ua.id}?type=office&disposition=inline" target="_blank">${Ha.name}</a>`):en.replaceSelection(`[${Ha.name}](/api/attachments/${ua.id}?type=${ua.content_type})`):(ua==null?void 0:ua.status)===401&&(Jn.ZP.warning((ua==null?void 0:ua.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(da){Jn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const en=ze().fromTextArea(Au.current,{mode:Ko,lineNumbers:!Ea,lineWrapping:!0,value:En,autoCloseTags:!Di,autoCloseBrackets:!0});return en.on("keyup",function(On,sr){sr.keyCode===8&&(On.getValue()==""?en.setOption("placeholder",gs):en.setOption("placeholder",null))}),en.on("keydown",function(On,sr){if(sr.keyCode===8){var Xr=cd(On);Xr&&sr.preventDefault()}}),Zr&&en.focus(),en.on("paste",Dt),en.on("dragleave",function(On,sr){fl.current.classList.remove("mouse-hover-md")}),$A&&en.on("beforeChange",function(On,sr){(sr.origin==="paste"||sr.origin==="+input")&&sr.cancel()}),Dc(en),()=>{en.off("paste",Dt)}}},[]);const ju=(0,Oe.useCallback)(()=>{if(fl.current)try{}catch(Dt){console.log(Dt,"---- to set md editor body height")}},[ts,fl,Na]);(0,Oe.useEffect)(()=>{function Dt(){let en=new at.Z(On=>{for(let sr of On)(sr.target.offsetHeight>0||sr.target.offsetWidth>0)&&(ju(),Pr.setSize("100%","100%"),Pr.refresh())});return en.observe(Au.current.parentElement),en}if(Pr){const en=Dt();return()=>{var On,sr;(On=Au.current)!=null&&On.parentElement&&en.unobserve((sr=Au.current)==null?void 0:sr.parentElement)}}},[Pr,ju]),(0,Oe.useEffect)(()=>{if(Pr){let Dt=[];for(const[en,On]of Object.entries(Gs)){let sr={[en]:()=>{su(On)}};Dt.push(sr),Pr.addKeyMap(sr)}return xl.current=setInterval(()=>{Qc.current&&kc()},4e3),()=>{clearInterval(xl.current);for(let en of Dt)Pr.removeKeyMap(en)}}},[Pr]),(0,Oe.useEffect)(()=>{Si!==Na&&Po(Si)},[Si]),(0,ta.Z)(()=>{if(!gr&&vi>0){let Dt=new Date().getTime(),en=window.sessionStorage.getItem(_o);Dt>=vi+pi&&(!en||en!==Su)&&(window.sessionStorage.setItem(_o,Su),Os(!0))}},pi),(0,Oe.useEffect)(()=>{Rr(si)},[Pr,si]),(0,Oe.useEffect)(()=>{Pr&&Zr&&Pr.focus()},[Pr,Zr]),(0,Oe.useEffect)(()=>{if(tl&&Pr){let Dt=function(On){let sr=On.target;if(An.current){let Xr=sr.scrollTop/sr.scrollHeight;An.current.scrollTop=An.current.scrollHeight*Xr}};const en=Pr.getScrollerElement();return en.addEventListener("scroll",Dt),()=>{en.removeEventListener("scroll",Dt)}}},[Pr,tl]),(0,Oe.useEffect)(()=>{if(Pr&&hA){let Dt=function(en,On){hA(en,On)};return Pr.on("beforeChange",Dt),()=>{Pr.off("beforeChange",Dt)}}},[Pr,hA]),(0,Oe.useEffect)(()=>{if(Pr&&Do){let Dt=function(){Do(Pr.getValue())};return Pr.on("blur",Dt),()=>{Pr.off("blur",Dt)}}},[Pr,Do]);function cd(Dt,en){var On=Dt.getDoc(),sr=On.getCursor(),Xr=On.getLine(sr.line),Ir=Xr.charAt(sr.ch-1),mr=Xr.lastIndexOf("@\u2581@",sr.ch),xr=Xr.lastIndexOf("@\u2581\u2581@",sr.ch),da=mr>xr?mr:xr,Ha=mr>xr?3:4;if(na.indexOf(Ir)===-1)return null;if(console.log("change1:",en,Dt,Xr,sr,da,mr,xr,Ir),da>=0&&sr.ch-da<5){var To=da+Ha;return On.replaceRange("",{line:sr.line,ch:da},{line:sr.line,ch:To}),{line:sr.line,ch:To}}return null}(0,Oe.useEffect)(()=>{if(Pr){let Dt=function(en,On){const sr=en.getValue();Qu(sr),va(new Date().getTime()),en.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Dn&&(Di?Dn(sr,WA(sr)):Dn(sr))};return Pr.on("change",Dt),()=>{Pr.off("change",Dt)}}},[Pr,Dn]),(0,Oe.useEffect)(()=>{if(Pr)if(En==null)Pr.setValue(""),Qu("");else{const Dt=window.scrollY||window.pageYOffset;En!==Pr.getValue()&&(Pr.setValue(En),Qu(En),Pr.setCursor($A?1:Pr.lineCount(),0),window.scrollTo(0,Dt))}},[Pr,En]);const su=(0,Oe.useCallback)(Dt=>{const en=Pr.getCursor(),On=Pr.getSelection();let sr=On.split(`
|
|
|
`);switch(Dt){case"bold":return Pr.replaceSelection("**"+On+"**"),On===""&&Pr.setCursor(en.line,en.ch+2),Pr.focus();case"italic":return Pr.replaceSelection("*"+On+"*"),On===""&&Pr.setCursor(en.line,en.ch+1),Pr.focus();case"code":return Pr.replaceSelection("`"+On+"`"),On===""&&Pr.setCursor(en.line,en.ch+1),Pr.focus();case"inline-latex":return Ga("inline-latex"),Pr.focus();case"latex":return Pr.replaceSelection("```latex\n"+On+"\n```"),Pr.setCursor(en.line+1,On.length+1),Pr.focus();case"line-break":return Pr.replaceSelection(`<br/>
|
|
|
`),Pr.focus();case"list-ul":return On===""?Pr.replaceSelection("- "+On):Pr.replaceSelection(sr.map(Xr=>Xr===""?"":`- ${Xr}`).join(`
|
|
|
`)),Pr.focus();case"list-ol":return On===""?Pr.replaceSelection("1. "+On):Pr.replaceSelection(sr.map((Xr,Ir)=>Xr===""?"":`${Ir+1}. ${Xr}`).join(`
|
|
|
`)),Pr.focus();case"add-null-ch":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(_i),Pr.focus();case"add-signal":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(ln),Pr.focus();case"add-multiple":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(na),Pr.focus();case"inster-template-1":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(zA),Pr.focus();case"eraser":return Pr.setValue(""),Pr.focus();case"trigger-watch":return Rr(!tl),Pr.focus();case"trigger-full-screen":return Po(!Na),Pr.focus();case hr:Ga(hr);return;case sa:Ga(sa);return;case tr:Ga(tr);return;case Or:Ga(Or);return;case"maths-latex":Ga("maths-latex");return;case Dr:Ga(Dr);return;case Hr:Ga(Hr);return;default:throw new Error}},[Pr,tl,Na]),fs=(0,Oe.useCallback)((Dt,en)=>{var On,sr,Xr,Ir,mr,xr;switch(Ga(""),Fa){case hr:const{title:zi,link:li}=Dt;return Pr.replaceSelection(`[${zi}](${li})`),Pr.focus();case sa:const{language:Bi,content:ma}=Dt;return Pr.replaceSelection(["```"+Bi,ma,"```"].join(`
|
|
|
`)),Pr.focus();case"maths-latex":for(var da=atob(Dt),Ha=new Uint8Array(da.length),To=0;To<da.length;To++)Ha[To]=da.charCodeAt(To);var ua=new Blob([Ha],{type:"image/png"});(0,Et.I)(ua,XA=>{XA.id?Pr.replaceSelection(``):(XA==null?void 0:XA.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Pr.replaceSelection("`$$"+Dt+"$$`");break;case tr:case Or:case la:const{src:Da,alt:Ma}=Dt,La=en,Eo=(Xr=(sr=(On=La==null?void 0:La.name)==null?void 0:On.split("."))==null?void 0:sr.pop)==null?void 0:Xr.call(sr);return((Ir=La==null?void 0:La.type)==null?void 0:Ir.indexOf("image"))>-1||!(La!=null&&La.type)?La.align||La.width?Pr.replaceSelection(`<p style="text-align:${La.align||"initial"}"><img width="${La.width?La.width+"%":"initial"}" src="${Da}" alt="${Ma||""}" /></p>`):Pr.replaceSelection(`<img width="100%" src="${Da}" alt="${Ma||""}" />`):((mr=La==null?void 0:La.type)==null?void 0:mr.indexOf("video"))>-1?Pr.replaceSelection(`<video width="100%" controls src="${Da}"></video>`):((xr=La==null?void 0:La.type)==null?void 0:xr.indexOf("pdf"))>-1?Pr.replaceSelection(`<a href="${Da}?type=${La.type}&disposition=inline" target="_blank">${La.name}</a>`):fA.includes(Eo)?Pr.replaceSelection(`<a href="${Da}?type=office&disposition=inline" target="_blank">${La.name}</a>`):Pr.replaceSelection(`[${La.name}](${Da})`),Pr.focus();case Hr:const{row:Bo,col:VA,align:hl}=Dt;let iA=`
|
|
|
`;for(let XA=0;XA<Bo;XA++){let nl=[],rl=[];for(let al=0;al<VA;al++)XA===1&&rl.push(Tr[hl]),nl.push(" ");XA===1&&(iA+=`| ${rl.join(" | ")} |
|
|
|
`),iA+=`| ${nl.join(VA===1?"":" | ")} |
|
|
|
`}return Pr.replaceSelection(iA+`
|
|
|
`),Pr.focus();default:throw new Error}},[Pr,Fa]),lu=(0,Oe.useMemo)(()=>{switch(Fa){case hr:return Oe.createElement(rn,{callback:fs,onCancel:rs});case sa:return Oe.createElement(fn.Z,{callback:fs,onCancel:rs});case tr:return Oe.createElement(Et.Z,{callback:fs,onCancel:rs});case Dr:return Oe.createElement(gt,{callback:fs,onCancel:rs});case Hr:return Oe.createElement(ot,{callback:fs,onCancel:rs});case"maths-latex":return Oe.createElement(Nt,{showSaveButton:!0,callback:fs});case"inline-latex":return Oe.createElement(yn.Z,{showSaveButton:!0,callback:fs});default:return null}},[Fa]);function rs(){Ga("")}(0,Oe.useEffect)(()=>{if(Ru.current){let Dt=function(mr){Xr=!0,Ir=mr.pageY},en=function(){Xr=!1},On=function(mr){if(Xr){let xr=mr.pageY-Ir;xr<0&&(xr=0),xr>300&&(xr=300);let da=kr+xr+"px";ns(da)}},sr=Ru.current,Xr=!1,Ir=0;return sr.addEventListener("mousedown",Dt),document.addEventListener("mousemove",On),document.addEventListener("mouseup",en),()=>{sr.removeEventListener("mousedown",Dt),document.removeEventListener("mousemove",On),document.removeEventListener("mouseup",en)}}},[Pr,Ru]),(0,Oe.useEffect)(()=>{ns(kr)},[kr]);const NA=UA(vn),Ac=UA(ts),Gl={width:NA,height:Ac},wA=(0,Oe.useMemo)(()=>{if(vi){let Dt=new Date(vi),en=Dt.getHours(),On=Dt.getMinutes(),sr=Dt.getSeconds();return en=en<10?"0"+en:en,On=On<10?"0"+On:On,sr=sr<10?"0"+sr:sr,`${en}:${On}:${sr}`}return 0},[vi]),WA=Dt=>{const en=[];if(Di){let On=-1;Dt=Dt.replace(/(@▁▁@|@▁@)/g,function(sr,Xr,Ir){en.push({multiLine:sr!==ln})})}return en};function Rc(){window.sessionStorage.removeItem(_o),Os(!1),va(0)}function uu(){Os(!1),va(0),Pr.setValue(window.sessionStorage.getItem(_o))}(0,Oe.useEffect)(()=>{SA[Fa]&&Fa!==Or&&Fa!==Dr&&setTimeout(()=>{const Dt=document.getElementsByClassName("markdown-popup-form")[0],en=window.innerWidth/2-Dt.offsetWidth/2,On=window.innerHeight/2-Dt.offsetHeight/2;Tc(en),ku(On)},0)},[Fa]);const jc=Dt=>{Dt.preventDefault();const en=Dt.clientX-_l,On=Dt.clientY-Tu;document.body.onmousemove=sr=>{let Xr=sr.clientX-en,Ir=sr.clientY-On;const mr=document.getElementsByClassName("markdown-popup-form")[0],xr=window.innerWidth-mr.offsetWidth,da=window.innerHeight-mr.offsetHeight;Xr=Math.max(0,Math.min(Xr,xr)),Ir=Math.max(0,Math.min(Ir,da)),wn(sr.clientX,sr.clientY,en,On)&&(Tc(Xr),ku(Ir))},document.body.onmouseup=function(){document.body.onmousemove=null}},wn=(Dt,en,On,sr)=>{const Xr=document.body.clientHeight,Ir=document.body.clientWidth;return Dt<20&&On>Dt||Dt>Ir-20&&On<Dt||en<20&&sr>en||en>Xr-20&&sr<en?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{className:"markdown-editor-wrapper",ref:fl},Oe.createElement("div",{className:`markdown-editor-container ${GA} ${tl?"on-preview":""} ${Ea?"mini":""} ${Na?"full-screen":""}`,style:Gl},Oe.createElement(Qe,{insertTemp:vo,watch:tl,fullScreen:Na,showNullButton:No,showNullProgramButton:Di,onActionCallback:su,hidetoolBar:fi,extraUse:ZA}),Oe.createElement("div",{className:"markdown-editor-body"},Oe.createElement("div",{className:"codemirror-container"},Oe.createElement("textarea",{ref:Au,placeholder:gs})),tl?Oe.createElement("div",{ref:An,className:"preview-container"},Ko==="stex"&&Oe.createElement(Fe,{value:Su,style:{color:"#ddd"}}),Ko!=="stex"&&Oe.createElement(Ie.Z,{style:{color:"#ddd"},disabledFill:yi,showProgramFill:Di,value:Su})):null))),yA?Oe.createElement("a",{ref:Ru,className:"editor-resize"}):null,Fa===Or&&Oe.createElement(Vn,{callback:fs,onCancel:rs}),Fa===Dr&&Oe.createElement(gt,{callback:fs,onCancel:rs}),Oe.createElement(Ze.Z,null,SA[Fa]&&Fa!==Or&&Fa!==Dr?Oe.createElement(Jt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:_l,top:Tu},title:Oe.createElement("div",{style:{cursor:"move"},onMouseDown:jc},SA[Fa]),open:!0,onCancel:rs,footer:null,destroyOnClose:!0,width:Fa===Dr?"1200px":null,height:Fa===Dr?"80vh":null,className:"markdown-popup-form"},lu):null))}},42307:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Pe},I:function(){return Ze}});var Oe=we(78241),be=we(8591),ze=we(92832),at=we(81327),Ge=we(5871),je=we(5112),me=we(3113),Be=we(8396),Le=we(59301),de=we(47141),Ie=we(59301),Fe=Object.defineProperty,Ce=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,E=(Ve,nt,De)=>nt in Ve?Fe(Ve,nt,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ve[nt]=De,te=(Ve,nt)=>{for(var De in nt||(nt={}))a.call(nt,De)&&E(Ve,De,nt[De]);if(y)for(var De of y(nt))ee.call(nt,De)&&E(Ve,De,nt[De]);return Ve},ne=(Ve,nt)=>Ce(Ve,ie(nt));const{useForm:oe}=Oe.default,he={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ve,onCancel:nt})=>{const[De]=oe();let Bt=(0,Le.useRef)();function ke(rt){Bt.current.width=De.getFieldValue("width"),Bt.current.align=De.getFieldValue("align"),Ve(rt,Bt.current)}function Ot(rt,wt){if(rt.status===-1){be.ZP.error(rt.message);return}De.setFieldsValue({src:`/api/attachments/${rt.id}`,type:wt.type})}function it(rt){let wt=rt.target.files[0];Bt.current=wt,Ze(wt,Ot)}return Ie.createElement(Oe.default,ne(te({form:De},_e),{className:"upload-image-panel",onFinish:ke,style:{width:470,overflow:"hidden"}}),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ie.createElement("div",{className:"flex-container"},Ie.createElement(Oe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ie.createElement(ze.default,{style:he})),Ie.createElement(Qe,{onFileChange:it}))),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ie.createElement(ze.default,{style:{width:264}})),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ie.createElement(at.Z,null,Ie.createElement(Oe.default.Item,{name:"width",style:{margin:0}},Ie.createElement(Ge.Z,{style:{width:264}})),Ie.createElement("span",{className:"ml8"},"%"))),Ie.createElement(Oe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ie.createElement(je.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ie.createElement("aside",null,Ie.createElement(Oe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ie.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(me.ZP,{type:"default",onClick:nt},"\u53D6\u6D88"))))};function Qe({onFileChange:Ve}){return Ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ie.createElement("input",{type:"file",onChange:Ve}))}function Ze(Ve,nt){if(!Ve)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,de.bg)())throw be.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let De=new FormData;De.append("editormd-image-file",Ve),De.append("file_param_name","editormd-image-file"),De.append("byxhr","true");var Bt=new window.XMLHttpRequest;Bt.withCredentials=!0,Bt.addEventListener("load",function(ke){nt(JSON.parse(ke.target.responseText),Ve)},!1),Bt.addEventListener("error",function(ke){console.error(ke)},!1),Bt.open("POST",`${Be.KI}/api/attachments.json`),Bt.send(De)}},74254:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ze}});var Oe=we(59301),be=we(4676);class ze extends Oe.Component{constructor(Ge){super(Ge);const je=window.document;this.node=je.createElement("div"),je.body.appendChild(this.node)}render(){const{children:Ge}=this.props;return(0,be.createPortal)(Ge,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61346:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(59301);function be(ze,at){const Ge=(0,Oe.useRef)();(0,Oe.useEffect)(()=>{Ge.current=ze}),(0,Oe.useEffect)(()=>{function je(){Ge.current()}if(at!==null){let me=setInterval(je,at);return()=>clearInterval(me)}},[at])}},82644:function(on,Ut,we){"use strict";var Oe=we(43418),be=we(8591),ze=we(43597),at=we(92123),Ge=we(47141),je=we(59301),me=(Le,de,Ie)=>new Promise((Fe,Ce)=>{var ie=ee=>{try{a(Ie.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(Ie.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ie=Ie.apply(Le,de)).next())});const Be=({shixunHomeworks:Le,classroomList:de,dispatch:Ie})=>{const Fe=(0,at.useParams)();return je.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){var Ce,ie,y,a;if((0,Ge.Rm)()&&!((Ce=de.AssistantObject.practice)!=null&&Ce.can_redo)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,ze.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Fe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(ee.shixun_identifier){be.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===Fe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=de.AssistantObject.practice)!=null&&a.can_view))return;at.history.replace(`/classrooms/${Fe.coursesId}/shixun_homework/${Fe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,at.connect)(({shixunHomeworks:Le,classroomList:de})=>({shixunHomeworks:Le,classroomList:de}))(Be)},21613:function(on,Ut,we){"use strict";we.r(Ut),we.d(Ut,{default:function(){return jc}});var Oe=we(21585),be=we(59301),ze=we(92123),at=we(56656),Ge=we.n(at),je=we(86129),me=we.n(je),Be=we(43597),Le=we(43418),de=we(8591),Ie=we(61621),Fe=we(66104),Ce=we(3113),ie=we(6848),y=we(92832),a=we(28103),ee=we(95237),E=we(43604),te=we(1710),ne=we(57809),oe=we(58421),he=we(95869),_e=we(87169),Pe=we(26227),Qe=we(85386),Ze=we(47141),Ve=we(94601),nt=we(42441),De={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},Bt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const ke=({shixunHomeworks:wn,data:Dt,globalSetting:en,loading:On,dispatch:sr})=>{var Xr;const{shixunWorkReport:Ir}=wn;let mr=((Xr=Dt==null?void 0:Dt.efficiency_list)==null?void 0:Xr.length)-parseInt(Dt==null?void 0:Dt.myself_eff[0]);const xr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ha){return Ha.name===Ir.username?"\u59D3\u540D\uFF1A"+Ir.username+"<br/>\u5B66\u53F7\uFF1A "+Ir.user_id+"<br/>\u6548\u7387\uFF1A"+(Dt==null?void 0:Dt.myself_eff[1]):Ha.name+":"+Ha.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Dt==null?void 0:Dt.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Ir.username,xAxis:mr,yAxis:Dt==null?void 0:Dt.myself_eff[1],value:Dt==null?void 0:Dt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ha){var To=Ha.value;if(Ha.name===Ir.username)return"\u59D3\u540D\uFF1A"+Ir.username+"<br/>\u5B66\u53F7\uFF1A "+Ir.user_id+"<br/>\u5F97\u5206\uFF1A"+(Dt==null?void 0:Dt.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Bt,data:Dt==null?void 0:Dt.consume_list,symbolSize:function(Ha){return Math.round(Ha[2])},markPoint:{data:[{name:Ir.username,xAxis:Dt==null?void 0:Dt.myself_object[0],yAxis:Dt==null?void 0:Dt.myself_object[1],value:Dt==null?void 0:Dt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return be.createElement(be.Fragment,null,be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:xr()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:De.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[1])),be.createElement("li",null,be.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[0]))),be.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",be.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",be.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:da()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:De.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u80FD\u529B")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_object[1]))),be.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",be.createElement("br",null)))))))};var Ot=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects}))(ke),it=we(71775),rt=we(5871),wt=({defaultValue:wn,onBlur:Dt,max:en,className:On="game-score"})=>{const[sr,Xr]=(0,be.useState)(wn);(0,be.useEffect)(()=>{Xr(wn)},[wn]);function Ir(xr){Xr(xr)}function mr(){sr!==wn&&Dt(sr>en?en:sr)}return be.createElement(rt.Z,{max:en,min:0,className:On,value:sr,onChange:Ir,onBlur:mr})},dt=we(55659),pt={md:"md___GIQyK"},st=we(59301),ft=Object.defineProperty,rn=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Hn=(wn,Dt,en)=>Dt in wn?ft(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,un=(wn,Dt)=>{for(var en in Dt||(Dt={}))Jt.call(Dt,en)&&Hn(wn,en,Dt[en]);if(Et)for(var en of Et(Dt))Ln.call(Dt,en)&&Hn(wn,en,Dt[en]);return wn},Vn=(wn,Dt)=>rn(wn,fn(Dt));const yt=ne.default.Option,Kn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var er=(wn=>(wn[wn.SET_PATH=0]="SET_PATH",wn[wn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",wn))(er||{});function Re(wn,Dt){switch(Dt.type){case 0:return Vn(un({},wn),{selectedPath:Dt.payload});case 1:return Vn(un({},wn),{passedContent:Dt.payload});default:throw new Error}}var Kt=({path:wn,game_id:Dt,onPathChange:en,autoHeight:On,diff_code_count:sr,data:Xr,game_codes_cn:Ir})=>{var mr,xr,da,Ha;const To=wn.split("\uFF1B").filter(Ma=>!!Ma),[ua,zi]=(0,be.useReducer)(Re,{selectedPath:To[0],passedContent:{language:"python",content:""}}),{selectedPath:li,passedContent:Bi}=ua;function ma(Ma){zi({type:0,payload:Ma})}const Da={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return st.createElement(st.Fragment,null,st.createElement("h2",null," ",st.createElement("span",null,Ir,st.createElement(ie.Z,{title:st.createElement("div",null,st.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),st.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),st.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),st.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},st.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),sr&&st.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",sr),st.createElement("span",null,st.createElement(ne.default,{style:{width:200},value:li,onChange:ma}," ",To.map(Ma=>st.createElement(yt,{key:Ma,value:Ma},Ma))," "))," "),(li==null?void 0:li.split(".")[1])==="md"&&st.createElement(dt.Z,{height:300,autoHeight:On,defaultValue:((xr=(mr=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:mr[0])==null?void 0:xr.content)||"",className:pt.md}),(li==null?void 0:li.split(".")[1])!=="md"&&st.createElement(it.ZP,{height:300,language:Bi.language,value:((Ha=(da=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:da[0])==null?void 0:Ha.content)||"",autoHeight:On,theme:"default",isCopy:!0,options:Kn}))},Te=we(19284),pe=we(96249),ce=we.n(pe),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Xe=(wn,Dt,en)=>Dt in wn?ye(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Pt=(wn,Dt)=>{for(var en in Dt||(Dt={}))gt.call(Dt,en)&&Xe(wn,en,Dt[en]);if(qe)for(var en of qe(Dt))Me.call(Dt,en)&&Xe(wn,en,Dt[en]);return wn},ct=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const ot=({shixunHomeworks:wn,autoHeight:Dt,classroomList:en,dispatch:On})=>{var sr,Xr,Ir,mr,xr,da,Ha;const{shixunWorkReport:To}=wn,{stage_list:ua,work_id:zi}=To,[li,Bi]=(0,be.useState)(!1),[ma,Da]=(0,be.useState)(!0),[Ma,La]=(0,be.useState)({left:0,top:0,bottom:0,right:0}),Eo=(0,be.useRef)(null),[Bo,VA]=(0,be.useState)(!1),hl=(Wr,xa)=>{var Lo;const{clientWidth:Pi,clientHeight:eo}=window.document.documentElement,qi=(Lo=Eo.current)==null?void 0:Lo.getBoundingClientRect();qi&&La({left:-qi.left+xa.x,right:Pi-(qi.right-xa.x),top:-qi.top+xa.y,bottom:eo-(qi.bottom-xa.y)})},iA=(0,ze.useParams)(),XA=(0,Ze.GJ)(),nl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,be.useEffect)(()=>{console.log(iA)},[]);const rl=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,xa,Lo)=>be.createElement("div",null,Wr,xa.is_work_end_evaluate&&be.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Wr=>Ge()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,xa)=>be.createElement("span",{className:"c-blue current",onClick:()=>ct(void 0,null,function*(){var Lo,Pi;const eo=yield(0,Te.Lk)(xa.game_identifier,{path:(Pi=(Lo=xa.path)==null?void 0:Lo.replace(/\;/g,";"))==null?void 0:Pi.split(";")[0],query_index:xa.query_index,homework_common_id:iA.categoryId});(eo==null?void 0:eo.status)===0&&(VA(eo),Bi(!0))})},xa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],al=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,xa)=>{var Lo;return be.createElement("span",null,be.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((Lo=xa==null?void 0:xa.user)==null?void 0:Lo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Ge()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function Pn(Wr,xa){return ct(this,null,function*(){const{challenge_id:Lo}=ua[Wr],Pi=yield On({type:"shixunHomeworks/changeScore",payload:{categoryId:iA.homeworkId,type:"report",score:xa,challenge_id:Lo}});yield On({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},iA)}),Pi.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(Wr,xa){return(0,Be.U2)(`student_works/${zi}/rep_passed_content.json`,{path:xa,game_id:Wr})}const ol=To.shixun_detail;return be.createElement(be.Fragment,null,ol==null?void 0:ol.map(function(Wr,xa){var Lo,Pi;return be.createElement("div",{key:xa},be.createElement("aside",{className:"pl30 pr30",key:xa},be.createElement("div",{className:`${De.shixunTitle} mt10`},be.createElement("div",null,be.createElement("span",{className:"fa fa-code "}),be.createElement("strong",{className:"c-black"},"\u7B2C",xa+1,"\u5173 ",be.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${iA.coursesId}/${iA.categoryId}/${Wr.game_identifier}`},Wr.subject))),XA?be.createElement("span",null,"\u8C03\u5206\uFF1A",be.createElement(wt,{className:"game-score",max:ua[xa].game_score_full,defaultValue:ua[xa].game_score,onBlur:eo=>{var qi;if((0,Ze.Rm)()&&!((qi=en.AssistantObject.practice)!=null&&qi.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(xa,eo)}})):null),be.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?be.createElement("aside",{className:De.shixunWrp},be.createElement(Kt,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:Dt,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:In})):be.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Wr.st===1&&(Wr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),be.createElement("aside",{className:"mt10 font16"},(Lo=Wr.outputs)!=null&&Lo.length?be.createElement(te.default,{columns:rl,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(eo=>Pt(Pt({},Wr),eo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),be.createElement("aside",{className:"mt10 font16"},((Pi=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Pi.length)>0&&(0,Ze.GJ)()&&be.createElement("div",null,be.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),be.createElement(te.default,{columns:al,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),be.createElement(Le.default,{open:li,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{VA({}),Bi(!1)},onCancel:()=>{VA({}),Bi(!1)},title:be.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ma&&Da(!1)},onMouseOut:()=>{Da(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>be.createElement(ce(),{disabled:ma,bounds:Ma,nodeRef:Eo,onStart:(xa,Lo)=>hl(xa,Lo)},be.createElement("div",{ref:Eo},Wr))},be.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},be.createElement("div",{style:{display:"flex",alignItems:"center"}},((sr=Bo==null?void 0:Bo.data)==null?void 0:sr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?be.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):be.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),be.createElement("div",{style:{color:((Xr=Bo==null?void 0:Bo.data)==null?void 0:Xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Ir=Bo==null?void 0:Bo.data)==null?void 0:Ir.output_detail)),be.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((mr=Bo==null?void 0:Bo.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(xr=Bo==null?void 0:Bo.data)==null?void 0:xr.ts_time,"s")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(da=Bo==null?void 0:Bo.data)==null?void 0:da.ts_mem,"mb")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ha=Bo==null?void 0:Bo.data)==null?void 0:Ha.test_set_passed_rate)*100,"%")))),be.createElement(it.ZP,{height:500,autoHeight:Dt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Bo==null?void 0:Bo.content)||""))),options:nl})))};var kt=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en,classroomList:On})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects,classroomList:On}))(ot),_n=we(78241),_t={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},nn=we(4034),Nt=we(59301),yn=Object.defineProperty,Xt=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,tr=(wn,Dt,en)=>Dt in wn?yn(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Dr=(wn,Dt)=>{for(var en in Dt||(Dt={}))Jn.call(Dt,en)&&tr(wn,en,Dt[en]);if(Xt)for(var en of Xt(Dt))hr.call(Dt,en)&&tr(wn,en,Dt[en]);return wn},Or=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const la=({shixunHomeworks:wn,dispatch:Dt,classroomList:en})=>{const{shixunWorkReport:On}=wn,sr=(0,ze.useParams)(),[Xr,Ir]=(0,be.useState)(!1),[mr]=_n.default.useForm(),[xr,da]=Le.default.useModal(),[Ha,To]=(0,be.useState)(!1),[ua,zi]=(0,be.useState)(!1);(0,be.useEffect)(()=>{var ma,Da,Ma,La;wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(Da=(ma=wn.actionTabs.selectArrs)==null?void 0:ma.data)==null?void 0:Da.work_comment,hidden_comment:(La=(Ma=wn.actionTabs.selectArrs)==null?void 0:Ma.data)==null?void 0:La.work_comment_hidden})},[wn.actionTabs.key]);const li=()=>Or(void 0,null,function*(){const ma=mr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${sr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ma.hidden_comment,comment:ma.comment}})).status===0&&(de.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Dr({},sr)}))}),Bi=[{title:"\u5173\u5361",dataIndex:"name",render:(ma,Da,Ma)=>Ma+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ma,Da,Ma)=>Nt.createElement("div",null,ma,Da.complete_status===4&&Nt.createElement(Ve.vA,{status:Da.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ma=>ma?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ma,Da)=>Nt.createElement("div",null,Nt.createElement("span",{style:{color:parseFloat(Da.game_score_full)!==parseFloat(ma)?"#E30000":"#53C41B"}},ma),"/",Da.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ma,Da)=>(0,Ze.GJ)()?Nt.createElement(wt,{max:Da.game_score_full,defaultValue:parseFloat(ma),onBlur:Ma=>Or(void 0,null,function*(){var La,Eo;if((0,Ze.Rm)()&&!((La=en.AssistantObject.practice)!=null&&La.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Bo=yield Dt({type:"shixunHomeworks/changeScore",payload:{categoryId:sr.homeworkId,type:"report",score:Ma,challenge_id:Da.challenge_id}});(Eo=wn==null?void 0:wn.actionTabs)==null||Eo.fn(),yield Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Dr({},sr)}),Bo.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ma}];return Nt.createElement(Nt.Fragment,null,da,Nt.createElement(Le.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Or(void 0,null,function*(){var ma;if((0,Ze.Rm)()&&!((ma=en.AssistantObject.practice)!=null&&ma.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Da=mr.getFieldsValue();JSON.stringify(Da)==="{}"||Da.hidden_comment===""&&Da.comment===""?Ir(!0):li()}),onCancel:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Nt.createElement(ee.Z,{justify:"space-between",className:_t.info},Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u59D3\u540D"),Nt.createElement("span",{className:_t.blackContent},On==null?void 0:On.username)),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u5B66\u53F7"),Nt.createElement("span",{className:_t.blackContent},(On==null?void 0:On.student_id)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u73ED\u7EA7"),Nt.createElement("span",{className:_t.blackContent},(On==null?void 0:On.group_name)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u5173\u5361\u5F97\u5206"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.challenge_score)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u6548\u7387\u5206"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.eff_score)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u8865\u4EA4\u6263\u5206"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.late_penalty)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.work_score)||"--"))),Nt.createElement(_n.default,{form:mr,onChange:()=>{Xr&&Ir(!1)}},Nt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Nt.createElement(E.Z,null,Nt.createElement("div",{className:`${_t.inputLabel} ${_t.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Nt.createElement(E.Z,null,Nt.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:Ha,onCancel:()=>{To(!1)}},onDataSelect:(ma,Da)=>Or(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({comment:La==null?void 0:La.value}),To(!1)};if(mr.getFieldValue("comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},Nt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Nt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{To(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Nt.createElement(_n.default.Item,{name:"comment"},Nt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Nt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Nt.createElement(E.Z,null,Nt.createElement("div",{className:`${_t.inputLabel} ${_t.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Nt.createElement(E.Z,null,Nt.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:ua,onCancel:()=>{zi(!1)}},onDataSelect:(ma,Da)=>Or(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({hidden_comment:La==null?void 0:La.value}),zi(!1)};if(mr.getFieldValue("hidden_comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},Nt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Nt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{zi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Nt.createElement(_n.default.Item,{name:"hidden_comment"},Nt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Xr&&Nt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Nt.createElement("div",{className:_t.tableTitle},"\u5173\u5361\u6210\u7EE9"),Nt.createElement(te.default,{className:_t.scoreTable,dataSource:On.stage_list,rowKey:"challenge_id",pagination:!1,columns:Bi,scroll:{x:"max-content"}})))};var sa=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt})=>({shixunHomeworks:wn,classroomList:Dt}))(la),Hr=we(79702),br=we(17410),Tr=we(4604),ta=we(44164),_a=we.n(ta),fo={wrap:"wrap___rFTBy",line:"line___kZzhh"},ea=we(61328),_i=({detailData:wn})=>{var Dt;return be.createElement("div",{className:fo.wrap},be.createElement(ea.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,ea.Uf)(wn),(wn==null?void 0:wn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},be.createElement(ea.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,ea.Uf)(wn)}),!!((Dt=wn==null?void 0:wn.photos)!=null&&Dt.length)&&be.createElement(be.Fragment,null,be.createElement("div",{className:fo.line}),be.createElement(ea._s,{dataSource:wn==null?void 0:wn.photos,right:21,col:4,wrapWidth:1140}))))},na=we(18167),ln=we(59301),zA=Object.defineProperty,fA=Object.defineProperties,UA=Object.getOwnPropertyDescriptors,ds=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,SA=(wn,Dt,en)=>Dt in wn?zA(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Ji=(wn,Dt)=>{for(var en in Dt||(Dt={}))wi.call(Dt,en)&&SA(wn,en,Dt[en]);if(ds)for(var en of ds(Dt))Gs.call(Dt,en)&&SA(wn,en,Dt[en]);return wn},En=(wn,Dt)=>fA(wn,UA(Dt)),Dn=(wn,Dt)=>{var en={};for(var On in wn)wi.call(wn,On)&&Dt.indexOf(On)<0&&(en[On]=wn[On]);if(wn!=null&&ds)for(var On of ds(wn))Dt.indexOf(On)<0&&Gs.call(wn,On)&&(en[On]=wn[On]);return en},vn=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const kr=wn=>{var Dt=wn,{shixunHomeworks:en,classroomList:On,globalSetting:sr,loading:Xr,user:Ir,dispatch:mr}=Dt,xr=Dn(Dt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),da,Ha,To;const[ua,zi]=(0,be.useState)(Ji({},(0,ze.useParams)())),li=(0,ze.useParams)(),[Bi,ma]=(0,be.useState)({page:1,page_size:10}),Da=(0,ze.useLocation)(),[]=(0,be.useState)([]),[Ma,La]=(0,be.useState)(),Eo=(0,be.useRef)(),[Bo,VA]=(0,be.useState)(!1),[hl,iA]=(0,be.useState)(!0),[XA,nl]=(0,be.useState)(!1),[rl,al]=(0,be.useState)(!1),{shixunWorkReport:Pn}=en,[In,ol]=(0,be.useState)(),[Wr,xa]=(0,be.useState)([]),[Lo,Pi]=(0,be.useState)(),[eo,qi]=(0,be.useState)("all"),Mu=(0,Ze.GJ)(),[cu,Ll]=(0,be.useState)(new(me())),[il,Rd]=(0,be.useState)(0),[Il,AA]=(0,be.useState)(!1),[sc,DA]=(0,be.useState)(!1),[Hu,ml]=(0,be.useState)(!1),[Ul,ti]=(0,be.useState)(""),[wu,lc]=(0,be.useState)(!1),[dd,mA]=(0,be.useState)(!0),[Qs,Nl]=(0,be.useState)(0),$l=(0,be.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),bi=(0,be.useRef)(),Cs=()=>vn(void 0,null,function*(){(Ir.userInfo.is_teacher||Ir.userInfo.admin)&&(lc(!0),mA(!1))});(0,be.useEffect)(()=>{var Er;(0,Ze.Rm)()&&On.AssistantObject.practice&&!((Er=On.AssistantObject.practice)!=null&&Er.can_view)&&ze.history.replace("/403")},[(da=On.AssistantObject.practice)==null?void 0:da.can_view]),(0,be.useEffect)(()=>{Cs(),console.log("\u6253\u5370\u7684------",Pn),bi.current=Pn==null?void 0:Pn.next_student_work_id,ti(Pn.repeat_minus_score)},[Pn,Ir]),(0,be.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Pn.work_score),Nl(Pn.work_score)},[Pn.work_score,Ul]),(0,be.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,be.useEffect)(()=>{var Er;if(Pn){let Ia=[];(Er=Pn==null?void 0:Pn.target_test_sets)==null||Er.map((lr,$a)=>{var wo;(wo=lr==null?void 0:lr.targets)==null||wo.map((uA,Ts)=>{var JA;uA.name=lr==null?void 0:lr.name,uA.total_target_score=lr==null?void 0:lr.total_target_score,uA.actual_target_score=lr==null?void 0:lr.actual_target_score,uA.rowSpan=Ts===0?(JA=lr==null?void 0:lr.targets)==null?void 0:JA.length:0,uA.order=$a+1,Ia.push(uA)})}),ol(Ia),(0,Ze.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:ua.coursesId}})}},[Pn]),(0,be.useEffect)(()=>{en.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Pn==null?void 0:Pn.students_count)>0&&!hl&&setTimeout(()=>{Ku("all")},800)},[Pn==null?void 0:Pn.homework_common_id,hl]),(0,be.useEffect)(()=>{zi(Ji({},li))},[Da.pathname]);const OA=()=>{document.body.scrollIntoView()},sA=Er=>{Bi.page=Er,ma(Ji({},Bi)),lA(Bi,eo)},lA=(Er,Ia)=>vn(void 0,null,function*(){nl(!0);const lr=yield(0,Be.ZP)(`/api/student_works/${ua==null?void 0:ua.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:En(Ji({},Er),{challenge_id:Ia=="all"?null:Ia})});(lr==null?void 0:lr.status)===0&&(xa(lr==null?void 0:lr.list),Pi(lr==null?void 0:lr.count)),nl(!1)});function Dl(){return vn(this,null,function*(){$l.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Mc=()=>{document.querySelectorAll("canvas").forEach(Er=>{(!Er.clientWidth||!Er.clientHeight)&&Er.remove()})},YA=Er=>vn(void 0,null,function*(){const Ia=yield(0,Tr.t1)({homeworkId:Er||ua.homeworkId});La(Ia==null?void 0:Ia.data)}),Ku=Er=>vn(void 0,null,function*(){var Ia,lr,$a,wo;let uA=0,Ts;Ts=Le.default.info({width:460,title:ln.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",ln.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:ln.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ln.createElement("span",{className:"c-blue"},uA+1),"/",Er!=="all"?1:Pn==null?void 0:Pn.students_count,ln.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:De.modal,onOk:()=>{}});const JA={margin:[0,0],filename:`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?Pn==null?void 0:Pn.student_id:""}${Pn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Wl=cu.folder(Pn==null?void 0:Pn.shixun_name);function Al(Ps){return vn(this,null,function*(){yield YA(Ps||bi.current);const ui=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji({homeworkId:Ps||bi.current},$l.current||{})});bi.current=ui==null?void 0:ui.next_student_work_id,OA(),uA++,setTimeout(()=>vn(this,null,function*(){var pl,Wo,as,Ya;Mc();const Oi=Wl.folder(`${ui==null?void 0:ui.group_name}`).folder(`${ui!=null&&ui.student_id&&(ui==null?void 0:ui.student_id)!="--"?ui.student_id+"+":""}${ui==null?void 0:ui.username}`),Vl=document.querySelector("#export-all").children;let os=_a()();for(let CA=0;CA<Vl.length;CA++)yield os.set(JA).from(Vl[CA]).toContainer().toCanvas().toPdf().get("pdf").then(HA=>vn(this,null,function*(){CA<Vl.length-1&&(yield HA.addPage())}));if(Oi.file(`${ui!=null&&ui.student_id&&(ui==null?void 0:ui.student_id)!="--"?ui.student_id+"+":""}${ui==null?void 0:ui.username}.pdf`,os.output("blob")),((pl=ui==null?void 0:ui.shixun_detail)==null?void 0:pl.length)>0&&((as=(Wo=ui==null?void 0:ui.shixun_detail)==null?void 0:Wo.filter(CA=>{var HA;return((HA=CA==null?void 0:CA.game_codes)==null?void 0:HA.length)>0}))==null?void 0:as.length)>0){const CA=Oi.folder("\u4EE3\u7801\u6587\u4EF6");(Ya=ui==null?void 0:ui.shixun_detail)==null||Ya.map((HA,hs)=>{var ms,cc;if(((ms=HA==null?void 0:HA.game_codes)==null?void 0:ms.length)>0){const Ql=CA.folder(`\u7B2C${hs+1}\u5173-${HA.subject}-${HA.id}`);(cc=HA==null?void 0:HA.game_codes)==null||cc.map(Xl=>{Ql.file(`${Xl.filename}.txt`,Xl==null?void 0:Xl.content)})}})}Ts.update({content:ln.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ln.createElement("span",{className:"c-blue"},uA),"/",ui==null?void 0:ui.students_count,ln.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),uA==(ui==null?void 0:ui.students_count)?(Ts.destroy(),bA()):Al()}),2200)})}if(Er!=="all"||(Pn==null?void 0:Pn.students_count)<2){Mc(),OA();const Ps=Eo.current.children;let ui=_a()();const Wo=Wl.folder(`${Pn==null?void 0:Pn.group_name}`).folder(`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?(Pn==null?void 0:Pn.student_id)+"+":""}${Pn==null?void 0:Pn.username}`);for(let as=0;as<Ps.length;as++)yield ui.set(JA).from(Ps[as]).toContainer().toCanvas().toPdf().get("pdf").then(Ya=>vn(void 0,null,function*(){as<Ps.length-1&&(yield Ya.addPage())}));if(VA(!1),Wo.file(`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?(Pn==null?void 0:Pn.student_id)+"+":""}${Pn.username}.pdf`,ui.output("blob"),{base64:!1}),((Ia=Pn==null?void 0:Pn.shixun_detail)==null?void 0:Ia.length)>0&&(($a=(lr=Pn==null?void 0:Pn.shixun_detail)==null?void 0:lr.filter(as=>{var Ya;return((Ya=as==null?void 0:as.game_codes)==null?void 0:Ya.length)>0}))==null?void 0:$a.length)>0){const as=Wo.folder("\u4EE3\u7801\u6587\u4EF6");(wo=Pn==null?void 0:Pn.shixun_detail)==null||wo.map((Ya,Gi)=>{var Oi,Vl;if(((Oi=Ya==null?void 0:Ya.game_codes)==null?void 0:Oi.length)>0){const os=as.folder(`\u7B2C${Gi+1}\u5173-${Ya.subject}-${Ya.id}`);(Vl=Ya==null?void 0:Ya.game_codes)==null||Vl.map(CA=>{os.file(`${CA.filename}.txt`,CA==null?void 0:CA.content)})}})}Ts.destroy(),bA();return}else Al(Pn==null?void 0:Pn.first_student_work_id)}),bA=()=>{cu.generateAsync({type:"blob"}).then(function(Er){console.log(Pn,"shixunWorkReport");const Ia=document.createElement("a");Ia.href=window.URL.createObjectURL(Er),Ia.download=(Pn==null?void 0:Pn.shixun_name)+".zip",document.body.appendChild(Ia);const lr=document.createEvent("MouseEvents");lr.initEvent("click",!1,!1),Ia.dispatchEvent(lr),document.body.removeChild(Ia),Ll(new(me()))}),al(!1)};(0,be.useEffect)(()=>{Ol()},[ua.homeworkId]);const Ol=()=>vn(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}),YA(),(0,Ze.GJ)()&&Dl(),iA(!1)}),eA=[{title:"\u5173\u5361",dataIndex:"name",render:(Er,Ia,lr)=>lr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Er,Ia,lr)=>ln.createElement("div",null,Er,Ia.complete_status===4&&ln.createElement(Ve.vA,{status:Ia.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Er,Ia,lr)=>Er||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Er=>Er?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Er,Ia)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.myself_experience)!==parseFloat(Er)?"red":"green"}},Ia.myself_experience),"/",Er)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Er,Ia)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.game_score_full)!==parseFloat(Er)?"red":"green"}},Er),"/",Ia.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Er,Ia)=>Mu?ln.createElement(wt,{max:Ia.game_score_full,defaultValue:parseFloat(Er),onBlur:lr=>vn(void 0,null,function*(){var $a;if((0,Ze.Rm)()&&!(($a=On.AssistantObject.practice)!=null&&$a.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const wo=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:ua.homeworkId,type:"report",score:lr,challenge_id:Ia.challenge_id}});lA({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}),wo.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Er}];let uc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Er,Ia,lr)=>({children:Er,props:{rowSpan:Ia.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Er,Ia,lr)=>({children:Er,props:{rowSpan:Ia.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Er,Ia,lr)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.actual_test_score)!==parseFloat(Er)?"red":"green"}},Ia.actual_test_score),"/",Er)},{title:"\u6307\u6807\u603B\u5206",render:(Er,Ia,lr)=>({children:ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.actual_target_score)!==parseFloat(Er)?"red":"green"}},Ia.actual_target_score),"/",Er),props:{rowSpan:Ia.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const du=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Er=>ln.createElement("span",null,Er?Ge()(Er).format("YYYY-MM-DD HH:mm"):"--")}],gu=Er=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Er==="next"?ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${Pn==null?void 0:Pn.next_student_work_id}/comment`):ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${Pn==null?void 0:Pn.pre_student_work_id}/comment`)},200)},Hc=Er=>{ti(""),Er.target.value&&(console.log("\u8FDB\u6765",Pn),Er.target.value=Er.target.value>Pn.repeat_setting_score?Pn.repeat_setting_score:Er.target.value,ti(Er.target.value))},Zl=()=>vn(void 0,null,function*(){const Er=yield(0,Be.ZP)(`/api/student_works/${Pn==null?void 0:Pn.work_id}/update_repeat_score`,{method:"put",body:{score:Ul}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}),Er.status===0&&de.ZP.info("\u64CD\u4F5C\u6210\u529F")});return ln.createElement("section",{style:{minHeight:"100vh",background:`url(${we(26528)}) center / cover no-repeat`}},ln.createElement("div",{className:"edu-container pb-60px"},ln.createElement(Ie.Z,{loading:Xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Pn.course_id&&ln.createElement("section",{className:"animated fadeIn pt-10px"},Pn.category&&ln.createElement(Fe.Z,{separator:">",items:[{title:ln.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework`}," ",Pn.course_name)},{title:ln.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.category.main?"":Pn.category.category_id}`}," ",Pn.category.category_name)},{title:ln.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Pn.username}]}),ln.createElement("div",{className:"mt20 flex item-center gap-10px"},ln.createElement("strong",{className:"font20"}," ",Pn==null?void 0:Pn.homework_name," "),ln.createElement(Ve.VV,{temporary:!0,status:Pn.homework_status}),ln.createElement("div",{className:"ml-auto flex item-center gap-10px"},Pn.view_tpi&&ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Er,Ia;(0,Ve.xg)(`/tasks/${Pn==null?void 0:Pn.course_id}/${Pn==null?void 0:Pn.homework_common_id}/${(Ia=(Er=Pn==null?void 0:Pn.shixun_detail)==null?void 0:Er[0])==null?void 0:Ia.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ze.GJ)()&&Pn.homework_end===!1&&!!Pn.myshixun_id&&ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>vn(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Pn.myshixun_identifier},homework_common_id:li.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Er;if((0,Ze.Rm)()&&!((Er=On.AssistantObject.practice)!=null&&Er.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ku("")},loading:Bo},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ze.GJ)()&&(Pn==null?void 0:Pn.students_count)>1&&ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Er;if((0,Ze.Rm)()&&!((Er=On.AssistantObject.practice)!=null&&Er.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:ln.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:ln.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Ku("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,na.jj)({categoryId:ua.categoryId,coursesId:ua.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),ln.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},ln.createElement("div",{id:"export-all",ref:Eo},ln.createElement("div",{id:"export-all-1"},ln.createElement("div",{className:"flex item-center"},ln.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ze.GJ)()&&ln.createElement(Ce.ZP,{className:`ml-auto rounded-4px ${De.NewButtonStyle}`,type:"primary",icon:ln.createElement(he.Z,{rev:void 0}),onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:Ji({},Pn)},fn:()=>lA({page:1,page_size:10},"all")}})}}," ",Pn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),ln.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},ln.createElement("div",{className:"flex flex-col justify-center item-center"},ln.createElement("div",{className:"flex flex-col item-center"},ln.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Qe.Z.IMG_SERVER}/images/${Pn.image_url}`,alt:Pn.username}),ln.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},ln.createElement(Ve.vA,{status:Pn.compelete_status}))),ln.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Pn.username),ln.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",ln.createElement("span",{className:"ml10 c-grey-333"},Pn.student_id||"--")),ln.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",ln.createElement("span",{className:"ml10 c-grey-333"},Pn.group_name||"--"))),ln.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},ln.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-red"},Pn.complete_count||"--"),"/",ln.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-red"},Pn.current_complete_count||"--"),"/",ln.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.efficiency===null?"--":Pn&&Pn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.max_efficiency===null?"--":Pn&&Pn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},Pn.challenge_score),"/",ln.createElement("span",{className:"c-light-black"},Pn.challenge_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)},{title:"\u6548\u7387\u5206",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},Pn.eff_score),"/",ln.createElement("span",{className:"c-light-black"},Pn.eff_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)}].map((Er,Ia)=>!(Er!=null&&Er.hidden)&&ln.createElement("div",{key:Ia,className:"flex flex-col item-center gap-10px"},ln.createElement("div",{className:"text-16px"},Er==null?void 0:Er.children),ln.createElement("div",{style:{color:"#8E8E8E"}},Er==null?void 0:Er.title)))),ln.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:ln.createElement(ln.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",ln.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Er=>{AA(!0)}})),children:Pn==null?void 0:Pn.human_training_time_rules},{title:ln.createElement(ln.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",ln.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Er=>{DA(!0)}})),children:Pn==null?void 0:Pn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Pn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:ln.createElement(ln.Fragment,null," \u67E5\u91CD\u6263\u5206",Pn!=null&&Pn.review_rate?ln.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Pn!=null&&Pn.review_id&&wu&&(localStorage.setItem("studentDetial",window.location.pathname),ze.history.push(`/classrooms/:coursesId/shixun_homework/${ua.categoryId}/review_detail/${Pn==null?void 0:Pn.review_id}`))}}," ",Pn.review_rate.toFixed(1),"% "):ln.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:ln.createElement(ln.Fragment,null,(Pn==null?void 0:Pn.repeat_minus_score)!==0?"- -":ln.createElement(ln.Fragment,null,wu?ln.createElement(ln.Fragment,null,ln.createElement(y.default,{style:{width:"45px",height:"22px"},value:Ul,onChange:Er=>{Hc(Er)},onBlur:Zl,disabled:dd})," / ",Pn==null?void 0:Pn.repeat_setting_score):ln.createElement(ln.Fragment,null," ",Pn==null?void 0:Pn.repeat_minus_score," / ",Pn==null?void 0:Pn.repeat_setting_score," "))),hidden:!(Pn!=null&&Pn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Pn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},Qs),"/",ln.createElement("span",{className:"c-light-black"},Pn.all_work_score))}].map((Er,Ia)=>!(Er!=null&&Er.hidden)&&ln.createElement("div",{key:Ia,className:"flex flex-col item-center gap-10px"},ln.createElement("div",{className:"text-16px"},Er==null?void 0:Er.children),ln.createElement("div",{style:{color:"#8E8E8E"}},Er==null?void 0:Er.title))))),ln.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${we(55541)}) center / cover no-repeat`}},Pn.overall_appraisal)),ln.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Pn.work_comment_hidden||Pn.work_comment)&&ln.createElement("div",null,ln.createElement(ee.Z,{align:"middle"},ln.createElement(E.Z,{flex:1},ln.createElement("h1",{className:De.title},"\u70B9\u8BC4\u5185\u5BB9")),ln.createElement(E.Z,{className:"pr30"},(0,Ze.GJ)()&&ln.createElement(Ce.ZP,{onClick:()=>vn(void 0,null,function*(){Le.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ln.createElement(_e.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return vn(this,null,function*(){(yield(0,Tr.gZ)({comment_id:Pn.comment_id,homeworkId:ua.homeworkId})).status===0&&(de.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}))})}})})},ln.createElement(Pe.Z,null),"\u5220\u9664"))),ln.createElement(a.Z,{style:{margin:0}}),Pn.work_comment&&ln.createElement("aside",{className:"pl30 pr30 mt20"},ln.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ln.createElement("br",null),ln.createElement(br.Z,{value:Pn.work_comment})),Pn.work_comment_hidden&&ln.createElement("aside",{className:"pl30 pr30 mt20"},ln.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ln.createElement("br",null),ln.createElement(br.Z,{value:Pn.work_comment_hidden}))),(Pn==null?void 0:Pn.action_analysis)&&ln.createElement(_i,{detailData:Pn}),ln.createElement("div",{className:De.score},ln.createElement("h1",{className:De.title},"\u9636\u6BB5\u6210\u7EE9"),(Pn==null?void 0:Pn.adjust_review_score_count)>0&&(0,Ze.GJ)()&&ln.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ml(!0),lA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Pn==null?void 0:Pn.adjust_review_score_count,"\u6B21\uFF09")),ln.createElement(te.default,{className:De.TableStyle,dataSource:Pn.stage_list,rowKey:Er=>Er==null?void 0:Er.challenge_id,pagination:!1,columns:eA}),((Ha=Pn==null?void 0:Pn.target_test_sets)==null?void 0:Ha.length)>0&&ln.createElement("div",null,ln.createElement("h1",{className:De.title},"\u6307\u6807\u6210\u7EE9"),ln.createElement(te.default,{className:De.TableStyle,dataSource:In,rowKey:Er=>Er==null?void 0:Er.challenge_id,pagination:!1,bordered:!0,columns:uc})),(Pn==null?void 0:Pn.work_description)&&ln.createElement(ln.Fragment,null,ln.createElement("h1",{className:De.title},"\u4E2A\u4EBA\u603B\u7ED3"),ln.createElement(br.Z,{value:Pn==null?void 0:Pn.work_description})),ln.createElement("h1",{className:De.title},"\u56FE\u5F62\u7EDF\u8BA1"),ln.createElement(Ot,{data:Ma}),ln.createElement("h1",{className:De.title},"\u5B9E\u8BAD\u8BE6\u60C5")),ln.createElement(kt,{autoHeight:rl}))))),(0,Ze.GJ)()&&ln.createElement("aside",{className:`sticky ${De.footerBar}`},ln.createElement("aside",{className:"edu-container flex item-center"},ln.createElement(ze.Link,{className:De.exitComment,to:`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),ln.createElement("div",{className:"ml-auto flex item-center gap-20px"},ln.createElement(Ce.ZP,{disabled:!(Pn!=null&&Pn.pre_student_work_id),onClick:()=>gu()},"\u4E0A\u4E00\u4E2A"),ln.createElement(Ce.ZP,{disabled:!(Pn!=null&&Pn.next_student_work_id),onClick:()=>gu("next")},"\u4E0B\u4E00\u4E2A"),(0,Ze.GJ)()&&ln.createElement(Ce.ZP,{className:De.NewButtonStyle,type:"primary",onClick:()=>vn(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:Ji({},Pn)},fn:()=>lA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),ln.createElement(sa,null),ln.createElement(Hr.Z,null),ln.createElement(Le.default,{open:Il,width:860,centered:!0,onCancel:()=>{AA(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},ln.createElement("div",{style:{color:"#333333",fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),ln.createElement("br",null),ln.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ln.createElement("br",null),ln.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ln.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ln.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),ln.createElement("br",null),ln.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),ln.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ln.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),ln.createElement("br",null),ln.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),ln.createElement(Le.default,{open:sc,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{DA(!1)},width:600},ln.createElement("div",{style:{fontWeight:400,color:"#333333"}},ln.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ln.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ln.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),ln.createElement(Le.default,{open:Hu,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{qi("all"),ml(!1)},destroyOnClose:!0,width:900},ln.createElement("div",{style:{fontWeight:400,color:"#333333"}},ln.createElement("div",null,ln.createElement("span",null,"\u5173\u5361\uFF1A"),ln.createElement(ne.default,{style:{width:300},value:eo,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Er=>vn(void 0,null,function*(){qi(Er),lA({page:1,page_size:10},Er)})},ln.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(To=Pn==null?void 0:Pn.stage_list)==null?void 0:To.map((Er,Ia)=>ln.createElement(ne.default.Option,{key:Ia,value:Er==null?void 0:Er.challenge_id},"\u7B2C",(0,Ve.EM)(Ia+1),"\u5173")))),ln.createElement("div",{className:"mt20"},ln.createElement(te.default,{dataSource:Wr,rowKey:Er=>Er==null?void 0:Er.id,pagination:!1,columns:du,loading:XA})),ln.createElement("div",{className:De.footer},ln.createElement("div",null,ln.createElement("span",{style:{color:"#656F87"}},"\u5171",ln.createElement("span",{className:"c-light-primary"},Lo),"\u6761\u6570\u636E")),ln.createElement(oe.Z,{defaultCurrent:1,defaultPageSize:10,current:(Bi==null?void 0:Bi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Lo,onChange:sA})))))};var Ea=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt,loading:en,globalSetting:On,user:sr})=>({shixunHomeworks:wn,classroomList:Dt,globalSetting:On,loading:en.effects,user:sr}))(kr),Zr={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt"},si={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#01A89A"}};const vo=({shixunHomeworks:wn,data:Dt,globalSetting:en,loading:On,dispatch:sr})=>{var Xr;const{shixunWorkReport:Ir}=wn;let mr=((Xr=Dt==null?void 0:Dt.efficiency_list)==null?void 0:Xr.length)-parseInt(Dt==null?void 0:Dt.myself_eff[0]);const xr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)",textStyle:{color:"#fff",fontSize:18},subtextStyle:{color:"#fff",fontSize:12},padding:[20,0,20,20]},backgroundColor:"rgba(19, 68, 71, 0.4)",color:["#dd4444","#fec42c","#80F1BE"],grid:{top:"15%",left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ha){return Ha.name===Ir.username?"\u59D3\u540D\uFF1A"+Ir.username+"<br/>\u5B66\u53F7\uFF1A "+Ir.user_id+"<br/>\u6548\u7387\uFF1A"+(Dt==null?void 0:Dt.myself_eff[1]):Ha.name+":"+Ha.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#fff",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#fff",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Dt==null?void 0:Dt.efficiency_list,itemStyle:{normal:{color:"#01A89A"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Ir.username,xAxis:mr,yAxis:Dt==null?void 0:Dt.myself_eff[1],value:Dt==null?void 0:Dt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09",textStyle:{color:"#fff",fontSize:18},subtextStyle:{color:"#fff",fontSize:12},padding:[20,0,0,20]},backgroundColor:"rgba(19, 68, 71, 0.4)",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ha){var To=Ha.value;if(Ha.name===Ir.username)return"\u59D3\u540D\uFF1A"+Ir.username+"<br/>\u5B66\u53F7\uFF1A "+Ir.user_id+"<br/>\u5F97\u5206\uFF1A"+(Dt==null?void 0:Dt.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#fff",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#fff"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#fff",fontSize:12},axisLine:{lineStyle:{color:"#fff"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:si,data:Dt==null?void 0:Dt.consume_list,symbolSize:function(Ha){return Math.round(Ha[2])},markPoint:{data:[{name:Ir.username,xAxis:Dt==null?void 0:Dt.myself_object[0],yAxis:Dt==null?void 0:Dt.myself_object[1],value:Dt==null?void 0:Dt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return be.createElement(be.Fragment,null,be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:xr()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:Zr.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[1])),be.createElement("li",null,be.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[0]))),be.createElement("p",{style:{color:"#fff"}},"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",be.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",be.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:da()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:Zr.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u80FD\u529B")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_object[1]))),be.createElement("p",{style:{color:"#fff"}},"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",be.createElement("br",null)))))))};var Ko=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects}))(vo),_o=({defaultValue:wn,onBlur:Dt,max:en,className:On="game-score"})=>{const[sr,Xr]=(0,be.useState)(wn);(0,be.useEffect)(()=>{Xr(wn)},[wn]);function Ir(xr){Xr(xr)}function mr(){sr!==wn&&Dt(sr>en?en:sr)}return be.createElement(rt.Z,{max:en,min:0,className:On,value:sr,onChange:Ir,onBlur:mr})},yA={md:"md___TEmcT"},gr=we(59301),No=Object.defineProperty,Di=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,Si=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,hA=Object.prototype.propertyIsEnumerable,MA=(wn,Dt,en)=>Dt in wn?No(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,GA=(wn,Dt)=>{for(var en in Dt||(Dt={}))Do.call(Dt,en)&&MA(wn,en,Dt[en]);if(Si)for(var en of Si(Dt))hA.call(Dt,en)&&MA(wn,en,Dt[en]);return wn},Ds=(wn,Dt)=>Di(wn,fi(Dt));const $A=ne.default.Option,yi={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var gs=(wn=>(wn[wn.SET_PATH=0]="SET_PATH",wn[wn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",wn))(gs||{});function Fl(wn,Dt){switch(Dt.type){case 0:return Ds(GA({},wn),{selectedPath:Dt.payload});case 1:return Ds(GA({},wn),{passedContent:Dt.payload});default:throw new Error}}var ZA=({path:wn,game_id:Dt,onPathChange:en,autoHeight:On,diff_code_count:sr,data:Xr,game_codes_cn:Ir})=>{var mr,xr,da,Ha;const To=wn.split("\uFF1B").filter(Ma=>!!Ma),[ua,zi]=(0,be.useReducer)(Fl,{selectedPath:To[0],passedContent:{language:"python",content:""}}),{selectedPath:li,passedContent:Bi}=ua;function ma(Ma){zi({type:0,payload:Ma})}const Da={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return gr.createElement(gr.Fragment,null,gr.createElement("h2",null," ",gr.createElement("span",null,Ir,gr.createElement(ie.Z,{title:gr.createElement("div",null,gr.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),gr.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),gr.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),gr.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},gr.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),sr&&gr.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",sr),gr.createElement("span",null,gr.createElement(ne.default,{style:{width:200},value:li,onChange:ma}," ",To.map(Ma=>gr.createElement($A,{key:Ma,value:Ma},Ma))," "))," "),(li==null?void 0:li.split(".")[1])==="md"&&gr.createElement(dt.Z,{height:300,autoHeight:On,defaultValue:((xr=(mr=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:mr[0])==null?void 0:xr.content)||"",className:yA.md}),(li==null?void 0:li.split(".")[1])!=="md"&&gr.createElement(it.ZP,{height:300,language:Bi.language,value:((Ha=(da=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:da[0])==null?void 0:Ha.content)||"",autoHeight:On,theme:"default",isCopy:!0,options:yi}))},Pr=Object.defineProperty,Dc=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,tl=(wn,Dt,en)=>Dt in wn?Pr(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Rr=(wn,Dt)=>{for(var en in Dt||(Dt={}))Su.call(Dt,en)&&tl(wn,en,Dt[en]);if(Dc)for(var en of Dc(Dt))Qu.call(Dt,en)&&tl(wn,en,Dt[en]);return wn},Na=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const Po=({shixunHomeworks:wn,autoHeight:Dt,classroomList:en,dispatch:On})=>{var sr,Xr,Ir,mr,xr,da,Ha;const{shixunWorkReport:To}=wn,{stage_list:ua,work_id:zi}=To,[li,Bi]=(0,be.useState)(!1),[ma,Da]=(0,be.useState)(!0),[Ma,La]=(0,be.useState)({left:0,top:0,bottom:0,right:0}),Eo=(0,be.useRef)(null),[Bo,VA]=(0,be.useState)(!1),hl=(Wr,xa)=>{var Lo;const{clientWidth:Pi,clientHeight:eo}=window.document.documentElement,qi=(Lo=Eo.current)==null?void 0:Lo.getBoundingClientRect();qi&&La({left:-qi.left+xa.x,right:Pi-(qi.right-xa.x),top:-qi.top+xa.y,bottom:eo-(qi.bottom-xa.y)})},iA=(0,ze.useParams)(),XA=(0,Ze.GJ)(),nl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,be.useEffect)(()=>{console.log(iA)},[]);const rl=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,xa,Lo)=>be.createElement("div",null,Wr,xa.is_work_end_evaluate&&be.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Wr=>Ge()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,xa)=>be.createElement("span",{className:"c-blue current",onClick:()=>Na(void 0,null,function*(){var Lo,Pi;const eo=yield(0,Te.Lk)(xa.game_identifier,{path:(Pi=(Lo=xa.path)==null?void 0:Lo.replace(/\;/g,";"))==null?void 0:Pi.split(";")[0],query_index:xa.query_index,homework_common_id:iA.categoryId});(eo==null?void 0:eo.status)===0&&(VA(eo),Bi(!0))})},xa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],al=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,xa)=>{var Lo;return be.createElement("span",null,be.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((Lo=xa==null?void 0:xa.user)==null?void 0:Lo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Ge()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function Pn(Wr,xa){return Na(this,null,function*(){const{challenge_id:Lo}=ua[Wr],Pi=yield On({type:"shixunHomeworks/changeScore",payload:{categoryId:iA.homeworkId,type:"report",score:xa,challenge_id:Lo}});yield On({type:"shixunHomeworks/getShixunWorkReport",payload:Rr({},iA)}),Pi.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(Wr,xa){return(0,Be.U2)(`student_works/${zi}/rep_passed_content.json`,{path:xa,game_id:Wr})}const ol=To.shixun_detail;return be.createElement(be.Fragment,null,ol==null?void 0:ol.map(function(Wr,xa){var Lo,Pi;return be.createElement("div",{key:xa},be.createElement("aside",{className:"pl30 pr30",key:xa},be.createElement("div",{className:`${Zr.shixunTitle} mt10`},be.createElement("div",null,be.createElement("span",{className:"fa fa-code "}),be.createElement("strong",{className:"c-black"},"\u7B2C",xa+1,"\u5173 ",be.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${iA.coursesId}/${iA.categoryId}/${Wr.game_identifier}`},Wr.subject))),XA?be.createElement("span",null,"\u8C03\u5206\uFF1A",be.createElement(_o,{className:"game-score",max:ua[xa].game_score_full,defaultValue:ua[xa].game_score,onBlur:eo=>{var qi;if((0,Ze.Rm)()&&!((qi=en.AssistantObject.practice)!=null&&qi.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(xa,eo)}})):null),be.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?be.createElement("aside",{className:Zr.shixunWrp},be.createElement(ZA,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:Dt,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:In})):be.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Wr.st===1&&(Wr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),be.createElement("aside",{className:"mt10 font16"},(Lo=Wr.outputs)!=null&&Lo.length?be.createElement(te.default,{columns:rl,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(eo=>Rr(Rr({},Wr),eo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),be.createElement("aside",{className:"mt10 font16"},((Pi=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Pi.length)>0&&(0,Ze.GJ)()&&be.createElement("div",null,be.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),be.createElement(te.default,{columns:al,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),be.createElement(Le.default,{open:li,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{VA({}),Bi(!1)},onCancel:()=>{VA({}),Bi(!1)},title:be.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ma&&Da(!1)},onMouseOut:()=>{Da(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>be.createElement(ce(),{disabled:ma,bounds:Ma,nodeRef:Eo,onStart:(xa,Lo)=>hl(xa,Lo)},be.createElement("div",{ref:Eo},Wr))},be.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},be.createElement("div",{style:{display:"flex",alignItems:"center"}},((sr=Bo==null?void 0:Bo.data)==null?void 0:sr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?be.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):be.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),be.createElement("div",{style:{color:((Xr=Bo==null?void 0:Bo.data)==null?void 0:Xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Ir=Bo==null?void 0:Bo.data)==null?void 0:Ir.output_detail)),be.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((mr=Bo==null?void 0:Bo.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(xr=Bo==null?void 0:Bo.data)==null?void 0:xr.ts_time,"s")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(da=Bo==null?void 0:Bo.data)==null?void 0:da.ts_mem,"mb")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ha=Bo==null?void 0:Bo.data)==null?void 0:Ha.test_set_passed_rate)*100,"%")))),be.createElement(it.ZP,{height:500,autoHeight:Dt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Bo==null?void 0:Bo.content)||""))),options:nl})))};var Fa=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en,classroomList:On})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects,classroomList:On}))(Po),Ga={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},vi=we(27346),va=we(59301),ts=Object.defineProperty,ns=Object.getOwnPropertySymbols,yu=Object.prototype.hasOwnProperty,Os=Object.prototype.propertyIsEnumerable,Oc=(wn,Dt,en)=>Dt in wn?ts(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Qc=(wn,Dt)=>{for(var en in Dt||(Dt={}))yu.call(Dt,en)&&Oc(wn,en,Dt[en]);if(ns)for(var en of ns(Dt))Os.call(Dt,en)&&Oc(wn,en,Dt[en]);return wn},xl=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const _l=({shixunHomeworks:wn,dispatch:Dt,classroomList:en})=>{const{shixunWorkReport:On}=wn,sr=(0,ze.useParams)(),[Xr,Ir]=(0,be.useState)(!1),[mr]=_n.default.useForm(),[xr,da]=Le.default.useModal(),[Ha,To]=(0,be.useState)(!1),[ua,zi]=(0,be.useState)(!1);(0,be.useEffect)(()=>{var ma,Da,Ma,La;wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(Da=(ma=wn.actionTabs.selectArrs)==null?void 0:ma.data)==null?void 0:Da.work_comment,hidden_comment:(La=(Ma=wn.actionTabs.selectArrs)==null?void 0:Ma.data)==null?void 0:La.work_comment_hidden})},[wn.actionTabs.key]);const li=()=>xl(void 0,null,function*(){const ma=mr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${sr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ma.hidden_comment,comment:ma.comment}})).status===0&&(de.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Qc({},sr)}))}),Bi=[{title:"\u5173\u5361",dataIndex:"name",render:(ma,Da,Ma)=>Ma+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ma,Da,Ma)=>va.createElement("div",null,ma,Da.complete_status===4&&va.createElement(Ve.vA,{status:Da.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ma=>ma?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ma,Da)=>va.createElement("div",null,va.createElement("span",{style:{color:parseFloat(Da.game_score_full)!==parseFloat(ma)?"#E30000":"#53C41B"}},ma),"/",Da.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ma,Da)=>(0,Ze.GJ)()?va.createElement(_o,{max:Da.game_score_full,defaultValue:parseFloat(ma),onBlur:Ma=>xl(void 0,null,function*(){var La,Eo;if((0,Ze.Rm)()&&!((La=en.AssistantObject.practice)!=null&&La.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Bo=yield Dt({type:"shixunHomeworks/changeScore",payload:{categoryId:sr.homeworkId,type:"report",score:Ma,challenge_id:Da.challenge_id}});(Eo=wn==null?void 0:wn.actionTabs)==null||Eo.fn(),yield Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Qc({},sr)}),Bo.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ma}];return va.createElement(va.Fragment,null,da,va.createElement(Le.default,{className:`${vi.Z.threeModalSty}`,centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>xl(void 0,null,function*(){var ma;if((0,Ze.Rm)()&&!((ma=en.AssistantObject.practice)!=null&&ma.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Da=mr.getFieldsValue();JSON.stringify(Da)==="{}"||Da.hidden_comment===""&&Da.comment===""?Ir(!0):li()}),onCancel:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},va.createElement(ee.Z,{justify:"space-between",className:Ga.info},va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u59D3\u540D"),va.createElement("span",{className:Ga.blackContent},On==null?void 0:On.username)),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u5B66\u53F7"),va.createElement("span",{className:Ga.blackContent},(On==null?void 0:On.student_id)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u73ED\u7EA7"),va.createElement("span",{className:Ga.blackContent},(On==null?void 0:On.group_name)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u5173\u5361\u5F97\u5206"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.challenge_score)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u6548\u7387\u5206"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.eff_score)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u8865\u4EA4\u6263\u5206"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.late_penalty)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.work_score)||"--"))),va.createElement(_n.default,{form:mr,onChange:()=>{Xr&&Ir(!1)}},va.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},va.createElement(E.Z,null,va.createElement("div",{className:`${Ga.inputLabel} ${Ga.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),va.createElement(E.Z,null,va.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:Ha,onCancel:()=>{To(!1)}},onDataSelect:(ma,Da)=>xl(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({comment:La==null?void 0:La.value}),To(!1)};if(mr.getFieldValue("comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},va.createElement(Ce.ZP,{style:{padding:0,height:"auto",color:"#00DDC7"},icon:va.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{To(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),va.createElement(_n.default.Item,{name:"comment"},va.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),va.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},va.createElement(E.Z,null,va.createElement("div",{className:`${Ga.inputLabel} ${Ga.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),va.createElement(E.Z,null,va.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:ua,onCancel:()=>{zi(!1)}},onDataSelect:(ma,Da)=>xl(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({hidden_comment:La==null?void 0:La.value}),zi(!1)};if(mr.getFieldValue("hidden_comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},va.createElement(Ce.ZP,{style:{padding:0,height:"auto",color:"#00DDC7"},icon:va.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{zi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),va.createElement(_n.default.Item,{name:"hidden_comment"},va.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Xr&&va.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),va.createElement("div",{className:Ga.tableTitle},"\u5173\u5361\u6210\u7EE9"),va.createElement(te.default,{className:Ga.scoreTable,dataSource:On.stage_list,rowKey:"challenge_id",pagination:!1,columns:Bi,scroll:{x:"max-content"}})))};var Tc=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt})=>({shixunHomeworks:wn,classroomList:Dt}))(_l),Tu=we(82644),ku={wrap:"wrap___LZOi9",line:"line___oju0L"},fl=({detailData:wn})=>{var Dt;return be.createElement("div",{className:ku.wrap},be.createElement(ea.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,ea.Uf)(wn),(wn==null?void 0:wn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},be.createElement(ea.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,ea.Uf)(wn)}),!!((Dt=wn==null?void 0:wn.photos)!=null&&Dt.length)&&be.createElement(be.Fragment,null,be.createElement("div",{className:ku.line}),be.createElement(ea._s,{dataSource:wn==null?void 0:wn.photos,right:21,col:4,wrapWidth:1140}))))},Ru=we(4646),An=we(59301),kc=Object.defineProperty,ju=Object.defineProperties,cd=Object.getOwnPropertyDescriptors,su=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,rs=(wn,Dt,en)=>Dt in wn?kc(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,NA=(wn,Dt)=>{for(var en in Dt||(Dt={}))fs.call(Dt,en)&&rs(wn,en,Dt[en]);if(su)for(var en of su(Dt))lu.call(Dt,en)&&rs(wn,en,Dt[en]);return wn},Ac=(wn,Dt)=>ju(wn,cd(Dt)),Gl=(wn,Dt)=>{var en={};for(var On in wn)fs.call(wn,On)&&Dt.indexOf(On)<0&&(en[On]=wn[On]);if(wn!=null&&su)for(var On of su(wn))Dt.indexOf(On)<0&&lu.call(wn,On)&&(en[On]=wn[On]);return en},wA=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const WA=wn=>{var Dt=wn,{shixunHomeworks:en,classroomList:On,globalSetting:sr,loading:Xr,user:Ir,dispatch:mr}=Dt,xr=Gl(Dt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),da,Ha,To;const[ua,zi]=(0,be.useState)(NA({},(0,ze.useParams)())),li=(0,ze.useParams)(),[Bi,ma]=(0,be.useState)({page:1,page_size:10}),Da=(0,ze.useLocation)(),[]=(0,be.useState)([]),[Ma,La]=(0,be.useState)(),Eo=(0,be.useRef)(),Bo=(0,be.useRef)(),[VA,hl]=(0,be.useState)(!1),[iA,XA]=(0,be.useState)(!0),[nl,rl]=(0,be.useState)(!1),[al,Pn]=(0,be.useState)(!1),{shixunWorkReport:In}=en,[ol,Wr]=(0,be.useState)(),[xa,Lo]=(0,be.useState)([]),[Pi,eo]=(0,be.useState)(),[qi,Mu]=(0,be.useState)("all"),cu=(0,Ze.GJ)(),[Ll,il]=(0,be.useState)(new(me())),[Rd,Il]=(0,be.useState)(0),[AA,sc]=(0,be.useState)(!1),[DA,Hu]=(0,be.useState)(!1),[ml,Ul]=(0,be.useState)(!1),[ti,wu]=(0,be.useState)(""),[lc,dd]=(0,be.useState)(!1),[mA,Qs]=(0,be.useState)(!0),[Nl,$l]=(0,be.useState)(0),bi=(0,be.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Cs=(0,be.useRef)(),OA=()=>wA(void 0,null,function*(){(Ir.userInfo.is_teacher||Ir.userInfo.admin)&&(dd(!0),Qs(!1))});(0,be.useEffect)(()=>{var lr;(0,Ze.Rm)()&&On.AssistantObject.practice&&!((lr=On.AssistantObject.practice)!=null&&lr.can_view)&&ze.history.replace("/403")},[(da=On.AssistantObject.practice)==null?void 0:da.can_view]),(0,be.useEffect)(()=>{OA(),console.log("\u6253\u5370\u7684------",In),Cs.current=In==null?void 0:In.next_student_work_id,wu(In.repeat_minus_score)},[In,Ir]),(0,be.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",In.work_score),$l(In.work_score)},[In.work_score,ti]),(0,be.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,be.useEffect)(()=>{var lr;if(In){let $a=[];(lr=In==null?void 0:In.target_test_sets)==null||lr.map((wo,uA)=>{var Ts;(Ts=wo==null?void 0:wo.targets)==null||Ts.map((JA,Wl)=>{var Al;JA.name=wo==null?void 0:wo.name,JA.total_target_score=wo==null?void 0:wo.total_target_score,JA.actual_target_score=wo==null?void 0:wo.actual_target_score,JA.rowSpan=Wl===0?(Al=wo==null?void 0:wo.targets)==null?void 0:Al.length:0,JA.order=uA+1,$a.push(JA)})}),Wr($a),(0,Ze.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:ua.coursesId}})}},[In]),(0,be.useEffect)(()=>{en.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(In==null?void 0:In.students_count)>0&&!iA&&setTimeout(()=>{Ol("all")},800)},[In==null?void 0:In.homework_common_id,iA]),(0,be.useEffect)(()=>{zi(NA({},li))},[Da.pathname]);const sA=()=>{document.body.scrollIntoView()},lA=lr=>{Bi.page=lr,ma(NA({},Bi)),Dl(Bi,qi)},Dl=(lr,$a)=>wA(void 0,null,function*(){rl(!0);const wo=yield(0,Be.ZP)(`/api/student_works/${ua==null?void 0:ua.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Ac(NA({},lr),{challenge_id:$a=="all"?null:$a})});(wo==null?void 0:wo.status)===0&&(Lo(wo==null?void 0:wo.list),eo(wo==null?void 0:wo.count)),rl(!1)});function Mc(){return wA(this,null,function*(){bi.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const YA=()=>{document.querySelectorAll("canvas").forEach(lr=>{(!lr.clientWidth||!lr.clientHeight)&&lr.remove()})},Ku=()=>{Eo.current.offsetHeight>62e3?Pn(!1):Pn(!0)},bA=lr=>wA(void 0,null,function*(){const $a=yield(0,Tr.t1)({homeworkId:lr||ua.homeworkId});La($a==null?void 0:$a.data)}),Ol=lr=>wA(void 0,null,function*(){var $a,wo,uA,Ts;let JA=0,Wl;Wl=Le.default.info({width:460,className:vi.Z.threeModalSty,title:An.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",An.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:An.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",An.createElement("span",{className:"c-blue"},JA+1),"/",lr!=="all"?1:In==null?void 0:In.students_count,An.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,onOk:()=>{}});const Al={margin:[0,0],filename:`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?In==null?void 0:In.student_id:""}${In.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Ps=Ll.folder(In==null?void 0:In.shixun_name);function ui(pl){return wA(this,null,function*(){yield bA(pl||Cs.current);const Wo=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA({homeworkId:pl||Cs.current},bi.current||{})});Cs.current=Wo==null?void 0:Wo.next_student_work_id,sA(),JA++,setTimeout(()=>wA(this,null,function*(){var as,Ya,Gi,Oi;YA();const os=Ps.folder(`${Wo==null?void 0:Wo.group_name}`).folder(`${Wo!=null&&Wo.student_id&&(Wo==null?void 0:Wo.student_id)!="--"?Wo.student_id+"+":""}${Wo==null?void 0:Wo.username}`),CA=document.querySelector("#export-all").children;let HA=_a()();for(let hs=0;hs<CA.length;hs++)yield HA.set(Al).from(CA[hs]).toContainer().toCanvas().toPdf().get("pdf").then(ms=>wA(this,null,function*(){hs<CA.length-1&&(yield ms.addPage())}));if(os.file(`${Wo!=null&&Wo.student_id&&(Wo==null?void 0:Wo.student_id)!="--"?Wo.student_id+"+":""}${Wo==null?void 0:Wo.username}.pdf`,HA.output("blob")),((as=Wo==null?void 0:Wo.shixun_detail)==null?void 0:as.length)>0&&((Gi=(Ya=Wo==null?void 0:Wo.shixun_detail)==null?void 0:Ya.filter(hs=>{var ms;return((ms=hs==null?void 0:hs.game_codes)==null?void 0:ms.length)>0}))==null?void 0:Gi.length)>0){const hs=os.folder("\u4EE3\u7801\u6587\u4EF6");(Oi=Wo==null?void 0:Wo.shixun_detail)==null||Oi.map((ms,cc)=>{var Ql,Xl;if(((Ql=ms==null?void 0:ms.game_codes)==null?void 0:Ql.length)>0){const QA=hs.folder(`\u7B2C${cc+1}\u5173-${ms.subject}-${ms.id}`);(Xl=ms==null?void 0:ms.game_codes)==null||Xl.map(bu=>{QA.file(`${bu.filename}.txt`,bu==null?void 0:bu.content)})}})}Wl.update({content:An.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",An.createElement("span",{className:"c-blue"},JA),"/",Wo==null?void 0:Wo.students_count,An.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),JA==(Wo==null?void 0:Wo.students_count)?(Wl.destroy(),eA()):ui()}),2200)})}if(lr!=="all"||(In==null?void 0:In.students_count)<2){YA(),sA();const pl=Bo.current.children;let Wo=_a()();const Ya=Ps.folder(`${In==null?void 0:In.group_name}`).folder(`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?(In==null?void 0:In.student_id)+"+":""}${In==null?void 0:In.username}`);for(let Gi=0;Gi<pl.length;Gi++)yield Wo.set(Al).from(pl[Gi]).toContainer().toCanvas().toPdf().get("pdf").then(Oi=>wA(void 0,null,function*(){Gi<pl.length-1&&(yield Oi.addPage())}));if(hl(!1),Ya.file(`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?(In==null?void 0:In.student_id)+"+":""}${In.username}.pdf`,Wo.output("blob"),{base64:!1}),(($a=In==null?void 0:In.shixun_detail)==null?void 0:$a.length)>0&&((uA=(wo=In==null?void 0:In.shixun_detail)==null?void 0:wo.filter(Gi=>{var Oi;return((Oi=Gi==null?void 0:Gi.game_codes)==null?void 0:Oi.length)>0}))==null?void 0:uA.length)>0){const Gi=Ya.folder("\u4EE3\u7801\u6587\u4EF6");(Ts=In==null?void 0:In.shixun_detail)==null||Ts.map((Oi,Vl)=>{var os,CA;if(((os=Oi==null?void 0:Oi.game_codes)==null?void 0:os.length)>0){const HA=Gi.folder(`\u7B2C${Vl+1}\u5173-${Oi.subject}-${Oi.id}`);(CA=Oi==null?void 0:Oi.game_codes)==null||CA.map(hs=>{HA.file(`${hs.filename}.txt`,hs==null?void 0:hs.content)})}})}Wl.destroy(),eA();return}else ui(In==null?void 0:In.first_student_work_id)}),eA=()=>{Ll.generateAsync({type:"blob"}).then(function(lr){console.log(In,"shixunWorkReport");const $a=document.createElement("a");$a.href=window.URL.createObjectURL(lr),$a.download=(In==null?void 0:In.shixun_name)+".zip",document.body.appendChild($a);const wo=document.createEvent("MouseEvents");wo.initEvent("click",!1,!1),$a.dispatchEvent(wo),document.body.removeChild($a),il(new(me()))}),Pn(!1)};(0,be.useEffect)(()=>{uc()},[ua.homeworkId]);const uc=()=>wA(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}),bA(),(0,Ze.GJ)()&&Mc(),XA(!1)}),du=[{title:"\u5173\u5361",dataIndex:"name",render:(lr,$a,wo)=>wo+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(lr,$a,wo)=>An.createElement("div",null,lr,$a.complete_status===4&&An.createElement(Ve.vA,{status:$a.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(lr,$a,wo)=>lr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:lr=>lr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(lr,$a)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.myself_experience)!==parseFloat(lr)?"red":"green"}},$a.myself_experience),"/",lr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(lr,$a)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.game_score_full)!==parseFloat(lr)?"red":"green"}},lr),"/",$a.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(lr,$a)=>cu?An.createElement(_o,{max:$a.game_score_full,defaultValue:parseFloat(lr),onBlur:wo=>wA(void 0,null,function*(){var uA;if((0,Ze.Rm)()&&!((uA=On.AssistantObject.practice)!=null&&uA.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ts=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:ua.homeworkId,type:"report",score:wo,challenge_id:$a.challenge_id}});Dl({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}),Ts.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):lr}];let gu=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(lr,$a,wo)=>({children:lr,props:{rowSpan:$a.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(lr,$a,wo)=>({children:lr,props:{rowSpan:$a.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(lr,$a,wo)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.actual_test_score)!==parseFloat(lr)?"red":"green"}},$a.actual_test_score),"/",lr)},{title:"\u6307\u6807\u603B\u5206",render:(lr,$a,wo)=>({children:An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.actual_target_score)!==parseFloat(lr)?"red":"green"}},$a.actual_target_score),"/",lr),props:{rowSpan:$a.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Hc=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:lr=>An.createElement("span",null,lr?Ge()(lr).format("YYYY-MM-DD HH:mm"):"--")}],Zl=lr=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{lr==="next"?ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${In==null?void 0:In.next_student_work_id}/comment`):ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${In==null?void 0:In.pre_student_work_id}/comment`)},200)},Er=lr=>{wu(""),lr.target.value&&(console.log("\u8FDB\u6765",In),lr.target.value=lr.target.value>In.repeat_setting_score?In.repeat_setting_score:lr.target.value,wu(lr.target.value))},Ia=()=>wA(void 0,null,function*(){const lr=yield(0,Be.ZP)(`/api/student_works/${In==null?void 0:In.work_id}/update_repeat_score`,{method:"put",body:{score:ti}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}),lr.status===0&&de.ZP.info("\u64CD\u4F5C\u6210\u529F")});return An.createElement("section",{style:{minHeight:"100vh",padding:"20px 10px",background:"rgb(2, 28, 33)"},className:`${vi.Z.threecommonSty}`},An.createElement("div",{style:{paddingBottom:100}},An.createElement(Ie.Z,{loading:Xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},An.createElement("div",null,In.course_id&&An.createElement("section",{className:"animated fadeIn c-white"},An.createElement("aside",{className:[Zr.title1].join(" ")},An.createElement(ee.Z,{align:"middle"},An.createElement(E.Z,{flex:1},An.createElement("div",{className:"flex item-center"},An.createElement(Ru.Z,{url:`/classrooms/${In.course_id}/shixun_homework/${In.homework_common_id}/detail`}),An.createElement("strong",{className:"font20 ml20"},In==null?void 0:In.homework_name)),An.createElement(Ve.VV,{temporary:!0,status:In.homework_status})),An.createElement(E.Z,{className:Zr.title1_right},In.view_tpi&&An.createElement(Ce.ZP,{onClick:()=>{var lr,$a;(0,Ve.xg)(`/tasks/${In==null?void 0:In.course_id}/${In==null?void 0:In.homework_common_id}/${($a=(lr=In==null?void 0:In.shixun_detail)==null?void 0:lr[0])==null?void 0:$a.game_identifier}`)}},An.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ze.GJ)()&&In.homework_end===!1&&!!In.myshixun_id&&An.createElement(Ce.ZP,{className:"ml10",onClick:()=>wA(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:In.myshixun_identifier},homework_common_id:li.categoryId}})})},An.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),An.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var lr;if((0,Ze.Rm)()&&!((lr=On.AssistantObject.practice)!=null&&lr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ol("")},loading:VA},An.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ze.GJ)()&&(In==null?void 0:In.students_count)>1&&An.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var lr;if((0,Ze.Rm)()&&!((lr=On.AssistantObject.practice)!=null&&lr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,className:vi.Z.threeModalSty,centered:!0,okText:An.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:An.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Ol("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,na.jj)({categoryId:ua.categoryId,coursesId:ua.coursesId},"shixun_report")}}})}},An.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),An.createElement("aside",{className:"mt30 relative"})),An.createElement("aside",{className:"c-white",ref:Eo,style:{background:"#082930"}},An.createElement("div",{id:"export-all",ref:Bo},An.createElement("div",{id:"export-all-1"},An.createElement("div",{className:Zr.title},An.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),An.createElement("div",null,(0,Ze.GJ)()&&An.createElement(Ce.ZP,{className:"mr20",type:"primary",onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:NA({},In)},fn:()=>Dl({page:1,page_size:10},"all")}})}},An.createElement(he.Z,null),In.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),An.createElement(a.Z,{style:{marginTop:0}}),An.createElement(ee.Z,{className:"pl30 pr30"},An.createElement(E.Z,null,An.createElement("span",{className:"font16 "},In.username),An.createElement(Ve.vA,{status:In.compelete_status}),An.createElement("ul",{className:Zr.userInfo},An.createElement("li",null,"\u5B66\u53F7\uFF1A",In.student_id||"--"),An.createElement("li",null,"\u5206\u73ED\uFF1A",In.group_name||"--"),An.createElement("br",null),An.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",An.createElement("span",{className:"c-red"},In.complete_count),"/",An.createElement("span",{className:"c-red"},In.challenges_count)),An.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",An.createElement("span",{className:"c-red"},In.current_complete_count||"-"),"/",An.createElement("span",{className:"c-red"},In.challenges_count)),An.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.efficiency===null?"--":In&&In.efficiency),An.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.max_efficiency===null?"--":In&&In.max_efficiency))),An.createElement("ul",{className:[Zr.listItem,"mt10"].join(" ")},An.createElement("li",null,An.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),An.createElement("div",{className:"mt20"},In&&In.passed_time===null||In&&In.passed_time==="--"?"--":Ge()(In&&In.passed_time).format("YYYY-MM-DD HH:mm"))),An.createElement("li",null,An.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",An.createElement("i",{onClick:lr=>{lr.stopPropagation(),lr.preventDefault(),sc(!0)},style:{marginLeft:4,color:"#00DDC7",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),An.createElement("div",{className:"mt20"},In==null?void 0:In.human_training_time_rules)),An.createElement("li",null,An.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",An.createElement("i",{onClick:lr=>{lr.stopPropagation(),lr.preventDefault(),Hu(!0)},style:{marginLeft:4,color:"#00DDC7",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),An.createElement("div",{className:"mt20"},In.time_consuming)),An.createElement("li",null,An.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),An.createElement("div",{className:"mt20"},In.evaluate_count)),(In==null?void 0:In.eff_score_full)&&An.createElement(An.Fragment,null,An.createElement("li",null,An.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.challenge_score),"/",An.createElement("span",{className:"c-light-black"},In.challenge_score_full))),An.createElement("li",null,An.createElement("strong",null,"\u6548\u7387\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.eff_score),"/",An.createElement("span",{className:"c-light-black"},In.eff_score_full)))),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)!==0&&An.createElement("li",{style:{position:"relative"}},An.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},In!=null&&In.review_rate?An.createElement("span",{style:{background:"#00DDC7",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(In!=null&&In.review_id&&lc)localStorage.setItem("studentDetial",window.location.pathname),ze.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${ua.categoryId}/review_detail/${In==null?void 0:In.review_id}`});else return}},In.review_rate.toFixed(1),"%"):An.createElement("span",{style:{background:"#00DDC7",borderRadius:"6px 6px 6px 0"}},"- -"))),lc?An.createElement("div",{className:"mt20"},An.createElement(y.default,{style:{width:"45px",height:"22px"},value:ti,onChange:lr=>{Er(lr)},onBlur:Ia,disabled:mA})," / ",In==null?void 0:In.repeat_setting_score):An.createElement("div",{className:"mt20"},In==null?void 0:In.repeat_minus_score," / ",In==null?void 0:In.repeat_setting_score)),console.log("sssssssssssssssssssssss",In==null?void 0:In.have_repeat,In==null?void 0:In.repeat_minus_score),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)===0&&An.createElement("li",null,An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{className:"mt20"}," - -")),!(In!=null&&In.have_repeat)&&An.createElement("li",null,An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{className:"mt20"}," - -")),An.createElement("li",null,An.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",null,In.late_penalty||"- -"))),An.createElement("li",null,An.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},Nl),"/",An.createElement("span",{className:"c-light-black"},In.all_work_score))),An.createElement("li",null,An.createElement("strong",null,"\u603B\u8BC4"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.overall_appraisal))))),An.createElement(a.Z,{style:{margin:0}}),(In.work_comment_hidden||In.work_comment)&&An.createElement("div",null,An.createElement(ee.Z,{align:"middle"},An.createElement(E.Z,{flex:1},An.createElement("h1",{className:Zr.title},"\u70B9\u8BC4\u5185\u5BB9")),An.createElement(E.Z,{className:"pr30"},(0,Ze.GJ)()&&An.createElement(Ce.ZP,{onClick:()=>wA(void 0,null,function*(){Le.default.confirm({centered:!0,className:vi.Z.threeModalSty,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:An.createElement(_e.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return wA(this,null,function*(){(yield(0,Tr.gZ)({comment_id:In.comment_id,homeworkId:ua.homeworkId})).status===0&&(de.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}))})}})})},An.createElement(Pe.Z,null),"\u5220\u9664"))),An.createElement(a.Z,{style:{margin:0}}),In.work_comment&&An.createElement("aside",{className:"pl30 pr30 mt20"},An.createElement("span",{className:"font12",style:{color:"#B6BFC2"}},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),An.createElement("br",null),An.createElement(br.Z,{style:{color:"#fff"},value:In.work_comment})),In.work_comment_hidden&&An.createElement("aside",{className:"pl30 pr30 mt20"},An.createElement("span",{className:"font12",style:{color:"#B6BFC2"}},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),An.createElement("br",null),An.createElement(br.Z,{style:{color:"#fff"},value:In.work_comment_hidden}))),(In==null?void 0:In.action_analysis)&&An.createElement(fl,{detailData:In}),An.createElement("div",{className:Zr.score},An.createElement("h1",{className:Zr.title},"\u9636\u6BB5\u6210\u7EE9"),(In==null?void 0:In.adjust_review_score_count)>0&&(0,Ze.GJ)()&&An.createElement("div",{style:{color:"#00DDC7",cursor:"pointer"},onClick:()=>{Ul(!0),Dl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",In==null?void 0:In.adjust_review_score_count,"\u6B21\uFF09")),An.createElement("aside",{className:"pl30 pr30"},An.createElement(te.default,{dataSource:In.stage_list,rowKey:lr=>lr==null?void 0:lr.challenge_id,pagination:!1,columns:du})),((Ha=In==null?void 0:In.target_test_sets)==null?void 0:Ha.length)>0&&An.createElement("div",null,An.createElement("h1",{className:Zr.title},"\u6307\u6807\u6210\u7EE9"),An.createElement("aside",{className:"pl30 pr30"},An.createElement(te.default,{dataSource:ol,rowKey:lr=>lr==null?void 0:lr.challenge_id,pagination:!1,bordered:!0,columns:gu}))),(In==null?void 0:In.work_description)&&An.createElement(An.Fragment,null,An.createElement("h1",{className:Zr.title},"\u4E2A\u4EBA\u603B\u7ED3"),An.createElement("aside",{className:"pl30 pr30"},An.createElement(br.Z,{value:In==null?void 0:In.work_description}))),An.createElement("h1",{className:Zr.title},"\u56FE\u5F62\u7EDF\u8BA1"),An.createElement(Ko,{data:Ma}),An.createElement("h1",{className:Zr.title},"\u5B9E\u8BAD\u8BE6\u60C5")),An.createElement(Fa,{autoHeight:al}))),(0,Ze.GJ)()&&An.createElement("aside",{className:`${Zr.footerBar} ${VA?Zr.footerBarStatic:""}`},An.createElement(ee.Z,{align:"middle",style:{width:"100%"}},An.createElement(Ce.ZP,{type:"default",onClick:()=>{ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/detail`)}},"\u8FD4\u56DE\u5217\u8868"),An.createElement(E.Z,{flex:"1",className:"tr"},An.createElement(Ce.ZP,{type:"default",disabled:!(In!=null&&In.pre_student_work_id),onClick:()=>Zl()},"\u4E0A\u4E00\u4E2A"),An.createElement(Ce.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(In!=null&&In.next_student_work_id),onClick:()=>Zl("next")},"\u4E0B\u4E00\u4E2A"),(0,Ze.GJ)()&&An.createElement(Ce.ZP,{type:"primary",onClick:()=>wA(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:NA({},In)},fn:()=>Dl({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A")))))),An.createElement(Tc,null),An.createElement(Tu.Z,null),An.createElement(Le.default,{open:AA,width:860,centered:!0,onCancel:()=>{sc(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},An.createElement("div",{style:{color:"#fff",fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),An.createElement("br",null),An.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),An.createElement("br",null),An.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),An.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),An.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),An.createElement("br",null),An.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),An.createElement("br",null),An.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),An.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),An.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),An.createElement("br",null),An.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),An.createElement("br",null),An.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),An.createElement("br",null),An.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),An.createElement(Le.default,{open:DA,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Hu(!1)},width:600},An.createElement("div",{style:{fontWeight:400,color:"#fff"}},An.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),An.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),An.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),An.createElement(Le.default,{className:vi.Z.threeModalSty,open:ml,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Mu("all"),Ul(!1)},destroyOnClose:!0,width:900},An.createElement("div",{style:{fontWeight:400,color:"#fff"}},An.createElement("div",null,An.createElement("span",null,"\u5173\u5361\uFF1A"),An.createElement(ne.default,{style:{width:300},value:qi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:lr=>wA(void 0,null,function*(){Mu(lr),Dl({page:1,page_size:10},lr)})},An.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(To=In==null?void 0:In.stage_list)==null?void 0:To.map((lr,$a)=>An.createElement(ne.default.Option,{key:$a,value:lr==null?void 0:lr.challenge_id},"\u7B2C",(0,Ve.EM)($a+1),"\u5173")))),An.createElement("div",{className:"mt20"},An.createElement(te.default,{dataSource:xa,rowKey:lr=>lr==null?void 0:lr.id,pagination:!1,columns:Hc,loading:nl})),An.createElement("div",{className:Zr.footer},An.createElement("div",null,An.createElement("span",{style:{color:"#656F87"}},"\u5171",An.createElement("span",{style:{color:"#fff",margin:"0 5px"}},Pi),"\u6761\u6570\u636E")),An.createElement(oe.Z,{defaultCurrent:1,defaultPageSize:10,current:(Bi==null?void 0:Bi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Pi,onChange:lA})))))};var Rc=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt,loading:en,globalSetting:On,user:sr})=>({shixunHomeworks:wn,classroomList:Dt,globalSetting:On,loading:en.effects,user:sr}))(WA);const uu=({globalSetting:wn})=>{var Dt;switch(Number((Dt=wn==null?void 0:wn.setting)==null?void 0:Dt.theme)){case Oe.Fy.THEMEONE:return be.createElement(Ea,null);case Oe.Fy.DEFAULT:default:return be.createElement(Rc,null)}};var jc=(0,ze.connect)(({globalSetting:wn})=>({globalSetting:wn}))(uu)},79702:function(on,Ut,we){"use strict";var Oe=we(43418),be=we(8591),ze=we(43597),at=we(92123),Ge=we(47141),je=we(59301),me=(Le,de,Ie)=>new Promise((Fe,Ce)=>{var ie=ee=>{try{a(Ie.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(Ie.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ie=Ie.apply(Le,de)).next())});const Be=({shixunHomeworks:Le,classroomList:de,dispatch:Ie})=>{const Fe=(0,at.useParams)();return je.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){var Ce,ie,y,a;if((0,Ge.Rm)()&&!((Ce=de.AssistantObject.practice)!=null&&Ce.can_redo)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,ze.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Fe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(ee.shixun_identifier){be.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===Fe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=de.AssistantObject.practice)!=null&&a.can_view))return;at.history.replace(`/classrooms/${Fe.coursesId}/shixun_homework/${Fe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,at.connect)(({shixunHomeworks:Le,classroomList:de})=>({shixunHomeworks:Le,classroomList:de}))(Be)},18167:function(on,Ut,we){"use strict";we.d(Ut,{AD:function(){return Ot},D9:function(){return st},Hp:function(){return _e},IM:function(){return rn},Iy:function(){return Pe},KM:function(){return er},MJ:function(){return Qe},Ne:function(){return ft},ON:function(){return Hn},Uj:function(){return yt},VY:function(){return Jt},YO:function(){return Vn},YX:function(){return un},Zn:function(){return y},_g:function(){return ne},_k:function(){return dt},c6:function(){return Bt},cr:function(){return a},eV:function(){return ke},fi:function(){return ee},gh:function(){return nt},hS:function(){return fn},iA:function(){return E},j6:function(){return oe},je:function(){return wt},jj:function(){return he},kS:function(){return Ln},o6:function(){return De},pO:function(){return Kn},rQ:function(){return it},sA:function(){return Ve},xm:function(){return pt},xo:function(){return Et},y8:function(){return rt},yd:function(){return te}});var Oe=we(19284),be=we(92123),ze=we(94601),at=we(8591),Ge=we(85386),je=Object.defineProperty,me=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,de=(Re,Kt,Te)=>Kt in Re?je(Re,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Re[Kt]=Te,Ie=(Re,Kt)=>{for(var Te in Kt||(Kt={}))Be.call(Kt,Te)&&de(Re,Te,Kt[Te]);if(me)for(var Te of me(Kt))Le.call(Kt,Te)&&de(Re,Te,Kt[Te]);return Re},Fe=(Re,Kt,Te)=>new Promise((pe,ce)=>{var ye=Me=>{try{gt(Te.next(Me))}catch(Xe){ce(Xe)}},qe=Me=>{try{gt(Te.throw(Me))}catch(Xe){ce(Xe)}},gt=Me=>Me.done?pe(Me.value):Promise.resolve(Me.value).then(ye,qe);gt((Te=Te.apply(Re,Kt)).next())});const Ce=()=>{(0,be.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,be.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Re=>Fe(void 0,null,function*(){Ce(),(yield(0,Oe.YR)(Ie({},Re))).status===0&&(yield(0,ze.QH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_couser_info.json`,query:Re}))),ie()}),a=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.yS)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`);else{if(Kt.status===-2)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`))}}),ee=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.W0)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`))}}),E=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.Nl)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.IU)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`))}}),ne=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.td)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-2)return Kt;if(Kt.status===-3)(0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else if(Kt.status===-4)return Kt}}),oe=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.QX)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`))}}),he=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.o_)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),_e=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.ZL)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Pe=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.aP)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Qe=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.vV)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Ze=Re=>Fe(void 0,null,function*(){Ce(),(yield exportCourseWorkListAppendix(Ie({},Re))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Re.categoryId}/works_list.zip`,query:Re}))),ie()}),Ve=Re=>Fe(void 0,null,function*(){Ce(),yield(0,ze.QH)("",Ge.Z.API_SERVER+`/api/polls/${Re.categoryId}/commit_result.xlsx`),ie()}),nt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/attendances/export_xlsx_data.xlsx`,query:Re}))}),De=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/video_study_statics.xlsx`,query:Re}))}),Bt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_video_study.xlsx`,query:Re}))}),ke=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_course_students_info.xlsx`,query:Re}))}),Ot=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Re}))}),it=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Re}))}),rt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Re}))}),wt=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.Uy)(Ie({},Re));Kt.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`)):Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`))}),dt=Re=>Fe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/export_records/${Re.id}.xlsx`,query:Re}))}),pt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Re}))}),st=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/${Re.menuKey}_statistic.xlsx?${Re.checkedList.map(Kt=>`course_group_id[]=${Kt}`).join("&")}`,query:Re}))}),ft=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_training_objectives.xlsx`,query:Re}))}),rn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)(Re==null?void 0:Re.name,(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Re}))}),fn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_courses.xlsx`,query:Re}))}),Et=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_graduation_requirements.xlsx`,query:Re}))}),Jt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Re}))}),Ln=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Re}))}),Hn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/examination_banks/${Re.id}.json`,query:Re}))}),un=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Re.categoryId}.json`,query:Re}))}),Vn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/polls/${Re==null?void 0:Re.id}/commit_result.json`,query:Re}))}),yt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Re}))}),Kn=(Re,Kt)=>Fe(void 0,null,function*(){yield(0,ze.FH)(Kt||"",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Re==null?void 0:Re.exercise_id}/consult_exercise.json`,query:Re}))}),er=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/competitions/${Re==null?void 0:Re.identifier}/competition_commit_records/member_works.xlsx`,query:Re}))})},18581:function(on,Ut,we){"use strict";we.d(Ut,{U:function(){return Le}});var Oe=we(59301),be=Object.defineProperty,ze=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,je=(de,Ie,Fe)=>Ie in de?be(de,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):de[Ie]=Fe,me=(de,Ie)=>{for(var Fe in Ie||(Ie={}))at.call(Ie,Fe)&&je(de,Fe,Ie[Fe]);if(ze)for(var Fe of ze(Ie))Ge.call(Ie,Fe)&&je(de,Fe,Ie[Fe]);return de},Be=(de,Ie,Fe)=>new Promise((Ce,ie)=>{var y=E=>{try{ee(Fe.next(E))}catch(te){ie(te)}},a=E=>{try{ee(Fe.throw(E))}catch(te){ie(te)}},ee=E=>E.done?Ce(E.value):Promise.resolve(E.value).then(y,a);ee((Fe=Fe.apply(de,Ie)).next())});function Le(de,Ie){const[Fe,Ce]=(0,Oe.useState)(Ie),[ie,y]=(0,Oe.useState)(!1),[a,ee]=(0,Oe.useState)();return[Fe,ie,(te,ne=!1)=>Be(this,null,function*(){const oe=ne?Ie:me(me({},Fe),te);y(!0),Ce(oe);const he=yield de(oe);return y(!1),ee(he),he}),a]}},50371:function(on,Ut){"use strict";function we(){const Oe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let be=1;be<arguments.length;be++){const ze=be<0||arguments.length<=be?void 0:arguments[be];ze&&Object.keys(ze).forEach(at=>{const Ge=ze[at];Ge!==void 0&&(Oe[at]=Ge)})}return Oe}Ut.Z=we},13845:function(on,Ut,we){"use strict";we.d(Ut,{F:function(){return Oe},Z:function(){return be}});function Oe(ze){return ze!=null&&ze===ze.window}function be(ze,at){var Ge,je;if(typeof window=="undefined")return 0;const me=at?"scrollTop":"scrollLeft";let Be=0;return Oe(ze)?Be=ze[at?"pageYOffset":"pageXOffset"]:ze instanceof Document?Be=ze.documentElement[me]:(ze instanceof HTMLElement||ze)&&(Be=ze[me]),ze&&!Oe(ze)&&typeof Be!="number"&&(Be=(je=((Ge=ze.ownerDocument)!==null&&Ge!==void 0?Ge:ze).documentElement)===null||je===void 0?void 0:je[me]),Be}},56762:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(59301);function be(){const[,ze]=Oe.useReducer(at=>at+1,0);return ze}},68031:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return at}});var Oe=we(16089);function be(Ge,je,me,Be){const Le=me-je;return Ge/=Be/2,Ge<1?Le/2*Ge*Ge*Ge+je:Le/2*((Ge-=2)*Ge*Ge+2)+je}var ze=we(13845);function at(Ge){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:me=()=>window,callback:Be,duration:Le=450}=je,de=me(),Ie=(0,ze.Z)(de,!0),Fe=Date.now(),Ce=()=>{const y=Date.now()-Fe,a=be(y>Le?Le:y,Ie,Ge,Le);(0,ze.F)(de)?de.scrollTo(window.pageXOffset,a):de instanceof Document||de.constructor.name==="HTMLDocument"?de.documentElement.scrollTop=a:de.scrollTop=a,y<Le?(0,Oe.Z)(Ce):typeof Be=="function"&&Be()};(0,Oe.Z)(Ce)}},66104:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ot}});var Oe=we(92310),be=we.n(Oe),ze=we(11592),at=we(26112),Ge=we(59301),je=we(92343),me=we(36355),Be=we(84105),Le=we(91857);const de=it=>{let{children:rt}=it;const{getPrefixCls:wt}=Ge.useContext(me.E_),dt=wt("breadcrumb");return Ge.createElement("li",{className:`${dt}-separator`,"aria-hidden":"true"},rt===""?rt:rt||"/")};de.__ANT_BREADCRUMB_SEPARATOR=!0;var Ie=de,Fe=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};function Ce(it,rt){if(it.title===void 0||it.title===null)return null;const wt=Object.keys(rt).join("|");return typeof it.title=="object"?it.title:String(it.title).replace(new RegExp(`:(${wt})`,"g"),(dt,pt)=>rt[pt]||dt)}function ie(it,rt,wt,dt){if(wt==null)return null;const{className:pt,onClick:st}=rt,ft=Fe(rt,["className","onClick"]),rn=Object.assign(Object.assign({},(0,at.Z)(ft,{data:!0,aria:!0})),{onClick:st});return dt!==void 0?Ge.createElement("a",Object.assign({},rn,{className:be()(`${it}-link`,pt),href:dt}),wt):Ge.createElement("span",Object.assign({},rn,{className:be()(`${it}-link`,pt)}),wt)}function y(it,rt){return(dt,pt,st,ft,rn)=>{if(rt)return rt(dt,pt,st,ft);const fn=Ce(dt,pt);return ie(it,dt,fn,rn)}}var a=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};const ee=it=>{const{prefixCls:rt,separator:wt="/",children:dt,menu:pt,overlay:st,dropdownProps:ft,href:rn}=it,Et=(Jt=>{if(pt||st){const Ln=Object.assign({},ft);if(pt){const Hn=pt||{},{items:un}=Hn,Vn=a(Hn,["items"]);Ln.menu=Object.assign(Object.assign({},Vn),{items:un==null?void 0:un.map((yt,Kn)=>{var{key:er,title:Re,label:Kt,path:Te}=yt,pe=a(yt,["key","title","label","path"]);let ce=Kt!=null?Kt:Re;return Te&&(ce=Ge.createElement("a",{href:`${rn}${Te}`},ce)),Object.assign(Object.assign({},pe),{key:er!=null?er:Kn,label:ce})})})}else st&&(Ln.overlay=st);return Ge.createElement(Le.Z,Object.assign({placement:"bottom"},Ln),Ge.createElement("span",{className:`${rt}-overlay-link`},Jt,Ge.createElement(Be.Z,null)))}return Jt})(dt);return Et!=null?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Et),wt&&Ge.createElement(Ie,null,wt)):null},E=it=>{const{prefixCls:rt,children:wt,href:dt}=it,pt=a(it,["prefixCls","children","href"]),{getPrefixCls:st}=Ge.useContext(me.E_),ft=st("breadcrumb",rt);return Ge.createElement(ee,Object.assign({},pt,{prefixCls:ft}),ie(ft,pt,wt,dt))};E.__ANT_BREADCRUMB_ITEM=!0;var te=E,ne=we(17313),oe=we(83116),he=we(37613);const _e=it=>{const{componentCls:rt,iconCls:wt}=it;return{[rt]:Object.assign(Object.assign({},(0,ne.Wf)(it)),{color:it.itemColor,fontSize:it.fontSize,[wt]:{fontSize:it.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:it.linkColor,transition:`color ${it.motionDurationMid}`,padding:`0 ${it.paddingXXS}px`,borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",marginInline:-it.marginXXS,"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover}},(0,ne.Qy)(it)),"li:last-child":{color:it.lastItemColor},[`${rt}-separator`]:{marginInline:it.separatorMargin,color:it.separatorColor},[`${rt}-link`]:{[`
|
|
|
> ${wt} + span,
|
|
|
> ${wt} + a
|
|
|
`]:{marginInlineStart:it.marginXXS}},[`${rt}-overlay-link`]:{borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",padding:`0 ${it.paddingXXS}px`,marginInline:-it.marginXXS,[`> ${wt}`]:{marginInlineStart:it.marginXXS,fontSize:it.fontSizeIcon},"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover,a:{color:it.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${it.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,oe.Z)("Breadcrumb",it=>{const rt=(0,he.TS)(it,{});return[_e(rt)]},it=>({itemColor:it.colorTextDescription,lastItemColor:it.colorText,iconFontSize:it.fontSize,linkColor:it.colorTextDescription,linkHoverColor:it.colorText,separatorColor:it.colorTextDescription,separatorMargin:it.marginXS})),Qe=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};function Ze(it){const{breadcrumbName:rt,children:wt}=it,dt=Qe(it,["breadcrumbName","children"]),pt=Object.assign({title:rt},dt);return wt&&(pt.menu={items:wt.map(st=>{var{breadcrumbName:ft}=st,rn=Qe(st,["breadcrumbName"]);return Object.assign(Object.assign({},rn),{title:ft})})}),pt}function Ve(it,rt){return(0,Ge.useMemo)(()=>it||(rt?rt.map(Ze):null),[it,rt])}var nt=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt<dt.length;pt++)rt.indexOf(dt[pt])<0&&Object.prototype.propertyIsEnumerable.call(it,dt[pt])&&(wt[dt[pt]]=it[dt[pt]]);return wt};const De=(it,rt)=>{if(rt===void 0)return rt;let wt=(rt||"").replace(/^\//,"");return Object.keys(it).forEach(dt=>{wt=wt.replace(`:${dt}`,it[dt])}),wt},Bt=it=>{const{prefixCls:rt,separator:wt="/",style:dt,className:pt,rootClassName:st,routes:ft,items:rn,children:fn,itemRender:Et,params:Jt={}}=it,Ln=nt(it,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Hn,direction:un,breadcrumb:Vn}=Ge.useContext(me.E_);let yt;const Kn=Hn("breadcrumb",rt),[er,Re]=Pe(Kn),Kt=Ve(rn,ft),Te=y(Kn,Et);if(Kt&&Kt.length>0){const ye=[],qe=rn||ft;yt=Kt.map((gt,Me)=>{const{path:Xe,key:Pt,type:ct,menu:ot,overlay:kt,onClick:_n,className:_t,separator:nn,dropdownProps:Nt}=gt,yn=De(Jt,Xe);yn!==void 0&&ye.push(yn);const Xt=Pt!=null?Pt:Me;if(ct==="separator")return Ge.createElement(Ie,{key:Xt},nn);const Jn={},hr=Me===Kt.length-1;ot?Jn.menu=ot:kt&&(Jn.overlay=kt);let{href:tr}=gt;return ye.length&&yn!==void 0&&(tr=`#/${ye.join("/")}`),Ge.createElement(ee,Object.assign({key:Xt},Jn,(0,at.Z)(gt,{data:!0,aria:!0}),{className:_t,dropdownProps:Nt,href:tr,separator:hr?"":wt,onClick:_n,prefixCls:Kn}),Te(gt,Jt,qe,ye,tr))})}else if(fn){const ye=(0,ze.Z)(fn).length;yt=(0,ze.Z)(fn).map((qe,gt)=>{if(!qe)return qe;const Me=gt===ye-1;return(0,je.Tm)(qe,{separator:Me?"":wt,key:gt})})}const pe=be()(Kn,Vn==null?void 0:Vn.className,{[`${Kn}-rtl`]:un==="rtl"},pt,st,Re),ce=Object.assign(Object.assign({},Vn==null?void 0:Vn.style),dt);return er(Ge.createElement("nav",Object.assign({className:pe,style:ce},Ln),Ge.createElement("ol",null,yt)))};Bt.Item=te,Bt.Separator=Ie;var ke=Bt,Ot=ke},24905:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return Pe}});var Oe=we(92310),be=we.n(Oe),ze=we(5630),at=we(59301),Ge=we(36355),je=we(1684),me=we(32441),Le=at.createContext(null),de=we(98447),Ie=we(14088),Fe=we(4572),Ce=function(Qe,Ze){var Ve={};for(var nt in Qe)Object.prototype.hasOwnProperty.call(Qe,nt)&&Ze.indexOf(nt)<0&&(Ve[nt]=Qe[nt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,nt=Object.getOwnPropertySymbols(Qe);De<nt.length;De++)Ze.indexOf(nt[De])<0&&Object.prototype.propertyIsEnumerable.call(Qe,nt[De])&&(Ve[nt[De]]=Qe[nt[De]]);return Ve};const ie=(Qe,Ze)=>{var Ve;const{prefixCls:nt,className:De,rootClassName:Bt,children:ke,indeterminate:Ot=!1,style:it,onMouseEnter:rt,onMouseLeave:wt,skipGroup:dt=!1,disabled:pt}=Qe,st=Ce(Qe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ft,direction:rn,checkbox:fn}=at.useContext(Ge.E_),Et=at.useContext(Le),{isFormItemInput:Jt}=at.useContext(me.aM),Ln=at.useContext(je.Z),Hn=(Ve=(Et==null?void 0:Et.disabled)||pt)!==null&&Ve!==void 0?Ve:Ln,un=at.useRef(st.value);at.useEffect(()=>{Et==null||Et.registerValue(st.value)},[]),at.useEffect(()=>{if(!dt)return st.value!==un.current&&(Et==null||Et.cancelValue(un.current),Et==null||Et.registerValue(st.value),un.current=st.value),()=>Et==null?void 0:Et.cancelValue(st.value)},[st.value]);const Vn=ft("checkbox",nt),[yt,Kn]=(0,de.ZP)(Vn),er=Object.assign({},st);Et&&!dt&&(er.onChange=function(){st.onChange&&st.onChange.apply(st,arguments),Et.toggleOption&&Et.toggleOption({label:ke,value:st.value})},er.name=Et.name,er.checked=Et.value.includes(st.value));const Re=be()(`${Vn}-wrapper`,{[`${Vn}-rtl`]:rn==="rtl",[`${Vn}-wrapper-checked`]:er.checked,[`${Vn}-wrapper-disabled`]:Hn,[`${Vn}-wrapper-in-form-item`]:Jt},fn==null?void 0:fn.className,De,Bt,Kn),Kt=be()({[`${Vn}-indeterminate`]:Ot},Fe.A,Kn),Te=Ot?"mixed":void 0;return yt(at.createElement(Ie.Z,{component:"Checkbox",disabled:Hn},at.createElement("label",{className:Re,style:Object.assign(Object.assign({},fn==null?void 0:fn.style),it),onMouseEnter:rt,onMouseLeave:wt},at.createElement(ze.Z,Object.assign({"aria-checked":Te},er,{prefixCls:Vn,className:Kt,disabled:Hn,ref:Ze})),ke!==void 0&&at.createElement("span",null,ke))))};var a=at.forwardRef(ie),ee=we(94480),E=we(2738),te=function(Qe,Ze){var Ve={};for(var nt in Qe)Object.prototype.hasOwnProperty.call(Qe,nt)&&Ze.indexOf(nt)<0&&(Ve[nt]=Qe[nt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,nt=Object.getOwnPropertySymbols(Qe);De<nt.length;De++)Ze.indexOf(nt[De])<0&&Object.prototype.propertyIsEnumerable.call(Qe,nt[De])&&(Ve[nt[De]]=Qe[nt[De]]);return Ve};const ne=(Qe,Ze)=>{const{defaultValue:Ve,children:nt,options:De=[],prefixCls:Bt,className:ke,rootClassName:Ot,style:it,onChange:rt}=Qe,wt=te(Qe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:dt,direction:pt}=at.useContext(Ge.E_),[st,ft]=at.useState(wt.value||Ve||[]),[rn,fn]=at.useState([]);at.useEffect(()=>{"value"in wt&&ft(wt.value||[])},[wt.value]);const Et=at.useMemo(()=>De.map(pe=>typeof pe=="string"||typeof pe=="number"?{label:pe,value:pe}:pe),[De]),Jt=pe=>{fn(ce=>ce.filter(ye=>ye!==pe))},Ln=pe=>{fn(ce=>[].concat((0,ee.Z)(ce),[pe]))},Hn=pe=>{const ce=st.indexOf(pe.value),ye=(0,ee.Z)(st);ce===-1?ye.push(pe.value):ye.splice(ce,1),"value"in wt||ft(ye),rt==null||rt(ye.filter(qe=>rn.includes(qe)).sort((qe,gt)=>{const Me=Et.findIndex(Pt=>Pt.value===qe),Xe=Et.findIndex(Pt=>Pt.value===gt);return Me-Xe}))},un=dt("checkbox",Bt),Vn=`${un}-group`,[yt,Kn]=(0,de.ZP)(un),er=(0,E.Z)(wt,["value","disabled"]),Re=De.length?Et.map(pe=>at.createElement(a,{prefixCls:un,key:pe.value.toString(),disabled:"disabled"in pe?pe.disabled:wt.disabled,value:pe.value,checked:st.includes(pe.value),onChange:pe.onChange,className:`${Vn}-item`,style:pe.style,title:pe.title},pe.label)):nt,Kt={toggleOption:Hn,value:st,disabled:wt.disabled,name:wt.name,registerValue:Ln,cancelValue:Jt},Te=be()(Vn,{[`${Vn}-rtl`]:pt==="rtl"},ke,Ot,Kn);return yt(at.createElement("div",Object.assign({className:Te,style:it},er,{ref:Ze}),at.createElement(Le.Provider,{value:Kt},Re)))},oe=at.forwardRef(ne);var he=at.memo(oe);const _e=a;_e.Group=he,_e.__ANT_CHECKBOX=!0;var Pe=_e},98447:function(on,Ut,we){"use strict";we.d(Ut,{C2:function(){return Ge}});var Oe=we(17313),be=we(37613),ze=we(83116);const at=je=>{const{checkboxCls:me}=je,Be=`${me}-wrapper`;return[{[`${me}-group`]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[Be]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Be}`]:{marginInlineStart:0},[`&${Be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[me]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.borderRadiusSM,alignSelf:"center",[`${me}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${me}-inner`]:Object.assign({},(0,Oe.oN)(je))},[`${me}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:je.checkboxSize,height:je.checkboxSize,direction:"ltr",backgroundColor:je.colorBgContainer,border:`${je.lineWidth}px ${je.lineType} ${je.colorBorder}`,borderRadius:je.borderRadiusSM,borderCollapse:"separate",transition:`all ${je.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:je.checkboxSize/14*5,height:je.checkboxSize/14*8,border:`${je.lineWidthBold}px solid ${je.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${je.motionDurationFast} ${je.motionEaseInBack}, opacity ${je.motionDurationFast}`}},"& + span":{paddingInlineStart:je.paddingXS,paddingInlineEnd:je.paddingXS}})},{[`
|
|
|
${Be}:not(${Be}-disabled),
|
|
|
${me}:not(${me}-disabled)
|
|
|
`]:{[`&:hover ${me}-inner`]:{borderColor:je.colorPrimary}},[`${Be}:not(${Be}-disabled)`]:{[`&:hover ${me}-checked:not(${me}-disabled) ${me}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${me}-checked:not(${me}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${me}-checked`]:{[`${me}-inner`]:{backgroundColor:je.colorPrimary,borderColor:je.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${je.motionDurationMid} ${je.motionEaseOutBack} ${je.motionDurationFast}`}}},[`
|
|
|
${Be}-checked:not(${Be}-disabled),
|
|
|
${me}-checked:not(${me}-disabled)
|
|
|
`]:{[`&:hover ${me}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[me]:{"&-indeterminate":{[`${me}-inner`]:{backgroundColor:je.colorBgContainer,borderColor:je.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:je.fontSizeLG/2,height:je.fontSizeLG/2,backgroundColor:je.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Be}-disabled`]:{cursor:"not-allowed"},[`${me}-disabled`]:{[`&, ${me}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${me}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${me}-indeterminate ${me}-inner::after`]:{background:je.colorTextDisabled}}}]};function Ge(je,me){const Be=(0,be.TS)(me,{checkboxCls:`.${je}`,checkboxSize:me.controlInteractiveSize});return[at(Be)]}Ut.ZP=(0,ze.Z)("Checkbox",(je,me)=>{let{prefixCls:Be}=me;return[Ge(Be,je)]})},28103:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Fe}});var Oe=we(92310),be=we.n(Oe),ze=we(59301),at=we(36355),Ge=we(17313),je=we(83116),me=we(37613);const Be=Ce=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:ee,textPaddingInline:E,orientationMargin:te,verticalMarginInline:ne}=Ce;return{[ie]:Object.assign(Object.assign({},(0,Ge.Wf)(Ce)),{borderBlockStart:`${ee}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ee}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ce.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ce.dividerHorizontalWithTextGutterMargin}px 0`,color:Ce.colorTextHeading,fontWeight:500,fontSize:Ce.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ee}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ie}-with-text-left`]:{"&::before":{width:`${te*100}%`},"&::after":{width:`${100-te*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-te*100}%`},"&::after":{width:`${te*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${ee}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:ee,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:Ce.colorText,fontWeight:"normal",fontSize:Ce.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:y}}})}};var Le=(0,je.Z)("Divider",Ce=>{const ie=(0,me.TS)(Ce,{dividerHorizontalWithTextGutterMargin:Ce.margin,dividerHorizontalGutterMargin:Ce.marginLG,sizePaddingEdgeHorizontal:0});return[Be(ie)]},Ce=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ce.marginXS})),de=function(Ce,ie){var y={};for(var a in Ce)Object.prototype.hasOwnProperty.call(Ce,a)&&ie.indexOf(a)<0&&(y[a]=Ce[a]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,a=Object.getOwnPropertySymbols(Ce);ee<a.length;ee++)ie.indexOf(a[ee])<0&&Object.prototype.propertyIsEnumerable.call(Ce,a[ee])&&(y[a[ee]]=Ce[a[ee]]);return y},Fe=Ce=>{const{getPrefixCls:ie,direction:y,divider:a}=ze.useContext(at.E_),{prefixCls:ee,type:E="horizontal",orientation:te="center",orientationMargin:ne,className:oe,rootClassName:he,children:_e,dashed:Pe,plain:Qe,style:Ze}=Ce,Ve=de(Ce,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),nt=ie("divider",ee),[De,Bt]=Le(nt),ke=te.length>0?`-${te}`:te,Ot=!!_e,it=te==="left"&&ne!=null,rt=te==="right"&&ne!=null,wt=be()(nt,a==null?void 0:a.className,Bt,`${nt}-${E}`,{[`${nt}-with-text`]:Ot,[`${nt}-with-text${ke}`]:Ot,[`${nt}-dashed`]:!!Pe,[`${nt}-plain`]:!!Qe,[`${nt}-rtl`]:y==="rtl",[`${nt}-no-default-orientation-margin-left`]:it,[`${nt}-no-default-orientation-margin-right`]:rt},oe,he),dt=ze.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),pt=Object.assign(Object.assign({},it&&{marginLeft:dt}),rt&&{marginRight:dt});return De(ze.createElement("div",Object.assign({className:wt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ze)},Ve,{role:"separator"}),_e&&E!=="vertical"&&ze.createElement("span",{className:`${nt}-inner-text`,style:pt},_e)))}},91857:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(38819),ze=we(92310),at=we.n(ze),Ge=we(31561),je=we(70425),me=we(18929),Be=we(2738),Le=we(79676),de=we(53487),Ie=we(92343),Fe=we(36355),Ce=we(20834),ie=we(40875),y=we(88088),a=we(47211);const ee=null,E=he=>{const{menu:_e,arrow:Pe,prefixCls:Qe,children:Ze,trigger:Ve,disabled:nt,dropdownRender:De,getPopupContainer:Bt,overlayClassName:ke,rootClassName:Ot,open:it,onOpenChange:rt,visible:wt,onVisibleChange:dt,mouseEnterDelay:pt=.15,mouseLeaveDelay:st=.1,autoAdjustOverflow:ft=!0,placement:rn="",overlay:fn,transitionName:Et}=he,{getPopupContainer:Jt,getPrefixCls:Ln,direction:Hn}=Oe.useContext(Fe.E_),un=Oe.useMemo(()=>{const ot=Ln();return Et!==void 0?Et:rn.includes("top")?`${ot}-slide-down`:`${ot}-slide-up`},[Ln,rn,Et]),Vn=Oe.useMemo(()=>rn?rn.includes("Center")?rn.slice(0,rn.indexOf("Center")):rn:Hn==="rtl"?"bottomRight":"bottomLeft",[rn,Hn]),yt=Ln("dropdown",Qe),[Kn,er]=(0,a.Z)(yt),[,Re]=(0,y.Z)(),Kt=Oe.Children.only(Ze),Te=(0,Ie.Tm)(Kt,{className:at()(`${yt}-trigger`,{[`${yt}-rtl`]:Hn==="rtl"},Kt.props.className),disabled:nt}),pe=nt?[]:Ve;let ce;pe&&pe.includes("contextMenu")&&(ce=!0);const[ye,qe]=(0,me.Z)(!1,{value:it!=null?it:wt}),gt=(0,je.useEvent)(ot=>{rt==null||rt(ot),dt==null||dt(ot),qe(ot)}),Me=at()(ke,Ot,er,{[`${yt}-rtl`]:Hn==="rtl"}),Xe=(0,Le.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:ft,offset:Re.marginXXS,arrowWidth:Pe?Re.sizePopupArrow:0,borderRadius:Re.borderRadius}),Pt=Oe.useCallback(()=>{qe(!1)},[]),ct=()=>{let ot;return _e!=null&&_e.items?ot=Oe.createElement(Ce.default,Object.assign({},_e)):typeof fn=="function"?ot=fn():ot=fn,De&&(ot=De(ot)),ot=Oe.Children.only(typeof ot=="string"?Oe.createElement("span",null,ot):ot),Oe.createElement(ie.J,{prefixCls:`${yt}-menu`,expandIcon:Oe.createElement("span",{className:`${yt}-menu-submenu-arrow`},Oe.createElement(be.Z,{className:`${yt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:kt=>{let{mode:_n}=kt}},ot)};return Kn(Oe.createElement(Ge.Z,Object.assign({alignPoint:ce},(0,Be.Z)(he,["rootClassName"]),{mouseEnterDelay:pt,mouseLeaveDelay:st,visible:ye,builtinPlacements:Xe,arrow:!!Pe,overlayClassName:Me,prefixCls:yt,getPopupContainer:Bt||Jt,transitionName:un,trigger:pe,overlay:ct,placement:Vn,onVisibleChange:gt}),Te))};function te(he){return Object.assign(Object.assign({},he),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,de.Z)(E,"dropdown",he=>he,te),oe=he=>Oe.createElement(ne,Object.assign({},he),Oe.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=oe,Ut.Z=E},38854:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return y}});var Oe=we(91857),be=we(92310),ze=we.n(be),at=we(59301),Ge=we(18785),je=we(3113),me=we(36355),Be=we(81327),Le=we(33234),de=we(47211),Ie=function(a,ee){var E={};for(var te in a)Object.prototype.hasOwnProperty.call(a,te)&&ee.indexOf(te)<0&&(E[te]=a[te]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(a);ne<te.length;ne++)ee.indexOf(te[ne])<0&&Object.prototype.propertyIsEnumerable.call(a,te[ne])&&(E[te[ne]]=a[te[ne]]);return E};const Fe=a=>{const{getPopupContainer:ee,getPrefixCls:E,direction:te}=at.useContext(me.E_),{prefixCls:ne,type:oe="default",danger:he,disabled:_e,loading:Pe,onClick:Qe,htmlType:Ze,children:Ve,className:nt,menu:De,arrow:Bt,autoFocus:ke,overlay:Ot,trigger:it,align:rt,open:wt,onOpenChange:dt,placement:pt,getPopupContainer:st,href:ft,icon:rn=at.createElement(Ge.Z,null),title:fn,buttonsRender:Et=ct=>ct,mouseEnterDelay:Jt,mouseLeaveDelay:Ln,overlayClassName:Hn,overlayStyle:un,destroyPopupOnHide:Vn,dropdownRender:yt}=a,Kn=Ie(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),er=E("dropdown",ne),Re=`${er}-button`,[Kt,Te]=(0,de.Z)(er),pe={menu:De,arrow:Bt,autoFocus:ke,align:rt,disabled:_e,trigger:_e?[]:it,onOpenChange:dt,getPopupContainer:st||ee,mouseEnterDelay:Jt,mouseLeaveDelay:Ln,overlayClassName:Hn,overlayStyle:un,destroyPopupOnHide:Vn,dropdownRender:yt},{compactSize:ce,compactItemClassnames:ye}=(0,Le.ri)(er,te),qe=ze()(Re,ye,nt,Te);"overlay"in a&&(pe.overlay=Ot),"open"in a&&(pe.open=wt),"placement"in a?pe.placement=pt:pe.placement=te==="rtl"?"bottomLeft":"bottomRight";const gt=at.createElement(je.ZP,{type:oe,danger:he,disabled:_e,loading:Pe,onClick:Qe,htmlType:Ze,href:ft,title:fn},Ve),Me=at.createElement(je.ZP,{type:oe,danger:he,icon:rn}),[Xe,Pt]=Et([gt,Me]);return Kt(at.createElement(Be.Z.Compact,Object.assign({className:qe,size:ce,block:!0},Kn),Xe,at.createElement(Oe.Z,Object.assign({},pe),Pt)))};Fe.__ANT_BUTTON=!0;var Ce=Fe;const ie=Oe.Z;ie.Button=Ce;var y=ie},47211:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ie}});var Oe=we(17313),be=we(13826),ze=we(92899),at=we(29878),Ge=we(19447),je=we(83116),me=we(37613),Le=Fe=>{const{componentCls:Ce,menuCls:ie,colorError:y,colorTextLightSolid:a}=Fe,ee=`${ie}-item`;return{[`${Ce}, ${Ce}-menu-submenu`]:{[`${ie} ${ee}`]:{[`&${ee}-danger:not(${ee}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const de=Fe=>{const{componentCls:Ce,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:ee,antCls:E,iconCls:te,motionDurationMid:ne,dropdownPaddingVertical:oe,fontSize:he,dropdownEdgeChildPadding:_e,colorTextDisabled:Pe,fontSizeIcon:Qe,controlPaddingHorizontal:Ze,colorBgElevated:Ve}=Fe;return[{[Ce]:Object.assign(Object.assign({},(0,Oe.Wf)(Fe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+ee/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${te}-down, & > ${E}-btn-icon > ${te}-down`]:{fontSize:Qe}},[`${Ce}-wrap`]:{position:"relative",[`${E}-btn > ${te}-down`]:{fontSize:Qe},[`${te}-down::before`]:{transition:`transform ${ne}`}},[`${Ce}-wrap-open`]:{[`${te}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomLeft,
|
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomLeft,
|
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottom,
|
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottom,
|
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomRight,
|
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomRight`]:{animationName:be.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topLeft,
|
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topLeft,
|
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-top,
|
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-top,
|
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topRight,
|
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topRight`]:{animationName:be.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomLeft,
|
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottom,
|
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomRight`]:{animationName:be.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topLeft,
|
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-top,
|
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topRight`]:{animationName:be.ly}})},(0,Ge.ZP)(Fe,{colorBg:Ve,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ce} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ce}, ${Ce}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:_e,listStyleType:"none",backgroundColor:Ve,backgroundClip:"padding-box",borderRadius:Fe.borderRadiusLG,outline:"none",boxShadow:Fe.boxShadowSecondary},(0,Oe.Qy)(Fe)),{[`${ie}-item-group-title`]:{padding:`${oe}px ${Ze}px`,color:Fe.colorTextDescription,transition:`all ${ne}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:he,marginInlineEnd:Fe.marginXS,fontSize:Fe.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${oe}px ${Ze}px`,color:Fe.colorText,fontWeight:"normal",fontSize:he,lineHeight:Fe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Fe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Fe.controlItemBgHover}},(0,Oe.Qy)(Fe)),{"&-selected":{color:Fe.colorPrimary,backgroundColor:Fe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Fe.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ve,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Fe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Fe.colorSplit},[`${Ce}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Fe.paddingXS,[`${Ce}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Fe.colorTextDescription,fontSize:Qe,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${Fe.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:Ze+Fe.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${Ce}-menu-submenu-title`]:{[`&, ${Ce}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ve,cursor:"not-allowed"}},[`${ie}-submenu-selected ${Ce}-menu-submenu-title`]:{color:Fe.colorPrimary}})}},[(0,be.oN)(Fe,"slide-up"),(0,be.oN)(Fe,"slide-down"),(0,ze.Fm)(Fe,"move-up"),(0,ze.Fm)(Fe,"move-down"),(0,at._y)(Fe,"zoom-big")]]};var Ie=(0,je.Z)("Dropdown",(Fe,Ce)=>{let{rootPrefixCls:ie}=Ce;const{marginXXS:y,sizePopupArrow:a,controlHeight:ee,fontSize:E,lineHeight:te,paddingXXS:ne,componentCls:oe,borderRadiusLG:he}=Fe,_e=(ee-E*te)/2,{dropdownArrowOffset:Pe}=(0,Ge.fS)({contentRadius:he}),Qe=(0,me.TS)(Fe,{menuCls:`${oe}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:_e,dropdownEdgeChildPadding:ne});return[de(Qe),Le(Qe)]},Fe=>({zIndexPopup:Fe.zIndexPopupBase+50}))},8628:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(34280),ze=we(56762),at=we(69507);function Ge(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const me=(0,Oe.useRef)({}),Be=(0,ze.Z)(),Le=(0,at.ZP)();return(0,be.Z)(()=>{const de=Le.subscribe(Ie=>{me.current=Ie,je&&Be()});return()=>Le.unsubscribe(de)},[]),me.current}Ut.Z=Ge},45818:function(on,Ut,we){"use strict";we.d(Ut,{D:function(){return ne},Z:function(){return _e}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},at=ze,Ge=we(7657),je=function(Qe,Ze){return be.createElement(Ge.Z,(0,Oe.Z)({},Qe,{ref:Ze,icon:at}))},me=be.forwardRef(je),Be=me,Le=we(33853),de=we(38819),Ie=we(92310),Fe=we.n(Ie),Ce=we(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=we(36355),ee=we(84966),E=function(Pe,Qe){var Ze={};for(var Ve in Pe)Object.prototype.hasOwnProperty.call(Pe,Ve)&&Qe.indexOf(Ve)<0&&(Ze[Ve]=Pe[Ve]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ve=Object.getOwnPropertySymbols(Pe);nt<Ve.length;nt++)Qe.indexOf(Ve[nt])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ve[nt])&&(Ze[Ve[nt]]=Pe[Ve[nt]]);return Ze};const te={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=be.createContext({}),oe=(()=>{let Pe=0;return function(){let Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pe+=1,`${Qe}${Pe}`}})();var _e=be.forwardRef((Pe,Qe)=>{const{prefixCls:Ze,className:Ve,trigger:nt,children:De,defaultCollapsed:Bt=!1,theme:ke="dark",style:Ot={},collapsible:it=!1,reverseArrow:rt=!1,width:wt=200,collapsedWidth:dt=80,zeroWidthTriggerStyle:pt,breakpoint:st,onCollapse:ft,onBreakpoint:rn}=Pe,fn=E(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Et}=(0,be.useContext)(ee.Gs),[Jt,Ln]=(0,be.useState)("collapsed"in Pe?Pe.collapsed:Bt),[Hn,un]=(0,be.useState)(!1);(0,be.useEffect)(()=>{"collapsed"in Pe&&Ln(Pe.collapsed)},[Pe.collapsed]);const Vn=(Te,pe)=>{"collapsed"in Pe||Ln(Te),ft==null||ft(Te,pe)},yt=(0,be.useRef)();yt.current=Te=>{un(Te.matches),rn==null||rn(Te.matches),Jt!==Te.matches&&Vn(Te.matches,"responsive")},(0,be.useEffect)(()=>{function Te(ce){return yt.current(ce)}let pe;if(typeof window!="undefined"){const{matchMedia:ce}=window;if(ce&&st&&st in te){pe=ce(`(max-width: ${te[st]})`);try{pe.addEventListener("change",Te)}catch(ye){pe.addListener(Te)}Te(pe)}}return()=>{try{pe==null||pe.removeEventListener("change",Te)}catch(ce){pe==null||pe.removeListener(Te)}}},[st]),(0,be.useEffect)(()=>{const Te=oe("ant-sider-");return Et.addSider(Te),()=>Et.removeSider(Te)},[]);const Kn=()=>{Vn(!Jt,"clickTrigger")},{getPrefixCls:er}=(0,be.useContext)(a.E_),Re=()=>{const Te=er("layout-sider",Ze),pe=(0,Ce.Z)(fn,["collapsed"]),ce=Jt?dt:wt,ye=y(ce)?`${ce}px`:String(ce),qe=parseFloat(String(dt||0))===0?be.createElement("span",{onClick:Kn,className:Fe()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${rt?"right":"left"}`),style:pt},nt||be.createElement(Be,null)):null,Xe={expanded:rt?be.createElement(de.Z,null):be.createElement(Le.Z,null),collapsed:rt?be.createElement(Le.Z,null):be.createElement(de.Z,null)}[Jt?"collapsed":"expanded"],Pt=nt!==null?qe||be.createElement("div",{className:`${Te}-trigger`,onClick:Kn,style:{width:ye}},nt||Xe):null,ct=Object.assign(Object.assign({},Ot),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),ot=Fe()(Te,`${Te}-${ke}`,{[`${Te}-collapsed`]:!!Jt,[`${Te}-has-trigger`]:it&&nt!==null&&!qe,[`${Te}-below`]:!!Hn,[`${Te}-zero-width`]:parseFloat(ye)===0},Ve);return be.createElement("aside",Object.assign({className:ot},pe,{style:ct,ref:Qe}),be.createElement("div",{className:`${Te}-children`},De),it||Hn&&qe?Pt:null)},Kt=be.useMemo(()=>({siderCollapsed:Jt}),[Jt]);return be.createElement(ne.Provider,{value:Kt},Re())})},84966:function(on,Ut,we){"use strict";we.d(Ut,{VY:function(){return ne},$_:function(){return te},h4:function(){return E},Gs:function(){return Ce},ZP:function(){return oe}});var Oe=we(94480),be=we(92310),ze=we.n(be),at=we(2738),Ge=we(59301),je=we(36355),me=we(83116),Le=he=>{const{componentCls:_e,bodyBg:Pe,lightSiderBg:Qe,lightTriggerBg:Ze,lightTriggerColor:Ve}=he;return{[`${_e}-sider-light`]:{background:Qe,[`${_e}-sider-trigger`]:{color:Ve,background:Ze},[`${_e}-sider-zero-width-trigger`]:{color:Ve,background:Ze,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const de=he=>{const{antCls:_e,componentCls:Pe,colorText:Qe,triggerColor:Ze,footerBg:Ve,triggerBg:nt,headerHeight:De,headerPadding:Bt,headerColor:ke,footerPadding:Ot,triggerHeight:it,zeroTriggerHeight:rt,zeroTriggerWidth:wt,motionDurationMid:dt,motionDurationSlow:pt,fontSize:st,borderRadius:ft,bodyBg:rn,headerBg:fn,siderBg:Et}=he;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:rn,"&, *":{boxSizing:"border-box"},[`&${Pe}-has-sider`]:{flexDirection:"row",[`> ${Pe}, > ${Pe}-content`]:{width:0}},[`${Pe}-header, &${Pe}-footer`]:{flex:"0 0 auto"},[`${Pe}-sider`]:{position:"relative",minWidth:0,background:Et,transition:`all ${dt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${_e}-menu${_e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:it},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:it,color:Ze,lineHeight:`${it}px`,textAlign:"center",background:nt,cursor:"pointer",transition:`all ${dt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:De,insetInlineEnd:-wt,zIndex:1,width:wt,height:rt,color:Ze,fontSize:he.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Et,borderStartStartRadius:0,borderStartEndRadius:ft,borderEndEndRadius:ft,borderEndStartRadius:0,cursor:"pointer",transition:`background ${pt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${pt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-wt,borderStartStartRadius:ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ft}}}}},Le(he)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:De,padding:Bt,color:ke,lineHeight:`${De}px`,background:fn,[`${_e}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Ot,color:Qe,fontSize:st,background:Ve},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var Ie=(0,me.Z)("Layout",he=>[de(he)],he=>{const{colorBgLayout:_e,controlHeight:Pe,controlHeightLG:Qe,colorText:Ze,controlHeightSM:Ve,marginXXS:nt,colorTextLightSolid:De,colorBgContainer:Bt}=he,ke=Qe*1.25;return{colorBgHeader:"#001529",colorBgBody:_e,colorBgTrigger:"#002140",bodyBg:_e,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${ke}px`,headerColor:Ze,footerPadding:`${Ve}px ${ke}px`,footerBg:_e,siderBg:"#001529",triggerHeight:Qe+nt*2,triggerBg:"#002140",triggerColor:De,zeroTriggerWidth:Qe,zeroTriggerHeight:Qe,lightSiderBg:Bt,lightTriggerBg:Bt,lightTriggerColor:Ze}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Fe=function(he,_e){var Pe={};for(var Qe in he)Object.prototype.hasOwnProperty.call(he,Qe)&&_e.indexOf(Qe)<0&&(Pe[Qe]=he[Qe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qe=Object.getOwnPropertySymbols(he);Ze<Qe.length;Ze++)_e.indexOf(Qe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(he,Qe[Ze])&&(Pe[Qe[Ze]]=he[Qe[Ze]]);return Pe};const Ce=Ge.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ie(he){let{suffixCls:_e,tagName:Pe,displayName:Qe}=he;return Ze=>Ge.forwardRef((nt,De)=>Ge.createElement(Ze,Object.assign({ref:De,suffixCls:_e,tagName:Pe},nt)))}const y=Ge.forwardRef((he,_e)=>{const{prefixCls:Pe,suffixCls:Qe,className:Ze,tagName:Ve}=he,nt=Fe(he,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:De}=Ge.useContext(je.E_),Bt=De("layout",Pe),[ke,Ot]=Ie(Bt),it=Qe?`${Bt}-${Qe}`:Bt;return ke(Ge.createElement(Ve,Object.assign({className:ze()(Pe||it,Ze,Ot),ref:_e},nt)))}),a=Ge.forwardRef((he,_e)=>{const{direction:Pe}=Ge.useContext(je.E_),[Qe,Ze]=Ge.useState([]),{prefixCls:Ve,className:nt,rootClassName:De,children:Bt,hasSider:ke,tagName:Ot,style:it}=he,rt=Fe(he,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),wt=(0,at.Z)(rt,["suffixCls"]),{getPrefixCls:dt,layout:pt}=Ge.useContext(je.E_),st=dt("layout",Ve),[ft,rn]=Ie(st),fn=ze()(st,{[`${st}-has-sider`]:typeof ke=="boolean"?ke:Qe.length>0,[`${st}-rtl`]:Pe==="rtl"},pt==null?void 0:pt.className,nt,De,rn),Et=Ge.useMemo(()=>({siderHook:{addSider:Jt=>{Ze(Ln=>[].concat((0,Oe.Z)(Ln),[Jt]))},removeSider:Jt=>{Ze(Ln=>Ln.filter(Hn=>Hn!==Jt))}}}),[]);return ft(Ge.createElement(Ce.Provider,{value:Et},Ge.createElement(Ot,Object.assign({ref:_e,className:fn,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),it)},wt),Bt)))}),ee=ie({tagName:"div",displayName:"Layout"})(a),E=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(y),te=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ne=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var oe=ee},40875:function(on,Ut,we){"use strict";we.d(Ut,{J:function(){return je}});var Oe=we(59301),be=we(33234),ze=we(70425),at=function(me,Be){var Le={};for(var de in me)Object.prototype.hasOwnProperty.call(me,de)&&Be.indexOf(de)<0&&(Le[de]=me[de]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,de=Object.getOwnPropertySymbols(me);Ie<de.length;Ie++)Be.indexOf(de[Ie])<0&&Object.prototype.propertyIsEnumerable.call(me,de[Ie])&&(Le[de[Ie]]=me[de[Ie]]);return Le};const Ge=Oe.createContext(null),je=Oe.forwardRef((me,Be)=>{const{children:Le}=me,de=at(me,["children"]),Ie=Oe.useContext(Ge),Fe=Oe.useMemo(()=>Object.assign(Object.assign({},Ie),de),[Ie,de.prefixCls,de.mode,de.selectable]);return Oe.createElement(Ge.Provider,{value:Fe},Oe.createElement(be.BR,null,(0,ze.supportNodeRef)(Le)?Oe.cloneElement(Le,{ref:Be}):Le))});Ut.Z=Ge},20834:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return Kt}});var Oe=we(15285),be=we(59301),ze=we(45818),at=we(92310),Ge=we.n(at),je=we(36355),me=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe<ye.length;qe++)pe.indexOf(ye[qe])<0&&Object.prototype.propertyIsEnumerable.call(Te,ye[qe])&&(ce[ye[qe]]=Te[ye[qe]]);return ce},Le=Te=>{const{prefixCls:pe,className:ce,dashed:ye}=Te,qe=me(Te,["prefixCls","className","dashed"]),{getPrefixCls:gt}=be.useContext(je.E_),Me=gt("menu",pe),Xe=Ge()({[`${Me}-item-divider-dashed`]:!!ye},ce);return be.createElement(Oe.iz,Object.assign({className:Xe},qe))},de=we(11592),Ie=we(2738),Fe=we(6848),Ce=we(92343),y=(0,be.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Te=>{var pe;const{className:ce,children:ye,icon:qe,title:gt,danger:Me}=Te,{prefixCls:Xe,firstLevel:Pt,direction:ct,disableMenuItemTitleTooltip:ot,inlineCollapsed:kt}=be.useContext(y),_n=Jn=>{const hr=be.createElement("span",{className:`${Xe}-title-content`},ye);return(!qe||(0,Ce.l$)(ye)&&ye.type==="span")&&ye&&Jn&&Pt&&typeof ye=="string"?be.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},ye.charAt(0)):hr},{siderCollapsed:_t}=be.useContext(ze.D);let nn=gt;typeof gt=="undefined"?nn=Pt?ye:"":gt===!1&&(nn="");const Nt={title:nn};!_t&&!kt&&(Nt.title=null,Nt.open=!1);const yn=(0,de.Z)(ye).length;let Xt=be.createElement(Oe.ck,Object.assign({},(0,Ie.Z)(Te,["title","icon","danger"]),{className:Ge()({[`${Xe}-item-danger`]:Me,[`${Xe}-item-only-child`]:(qe?yn+1:yn)===1},ce),title:typeof gt=="string"?gt:void 0}),(0,Ce.Tm)(qe,{className:Ge()((0,Ce.l$)(qe)?(pe=qe.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),_n(kt));return ot||(Xt=be.createElement(Fe.Z,Object.assign({},Nt,{placement:ct==="rtl"?"left":"right",overlayClassName:`${Xe}-inline-collapsed-tooltip`}),Xt)),Xt},te=Te=>{var pe;const{popupClassName:ce,icon:ye,title:qe,theme:gt}=Te,Me=be.useContext(y),{prefixCls:Xe,inlineCollapsed:Pt,theme:ct}=Me,ot=(0,Oe.Xl)();let kt;if(!ye)kt=Pt&&!ot.length&&qe&&typeof qe=="string"?be.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},qe.charAt(0)):be.createElement("span",{className:`${Xe}-title-content`},qe);else{const _t=(0,Ce.l$)(qe)&&qe.type==="span";kt=be.createElement(be.Fragment,null,(0,Ce.Tm)(ye,{className:Ge()((0,Ce.l$)(ye)?(pe=ye.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),_t?qe:be.createElement("span",{className:`${Xe}-title-content`},qe))}const _n=be.useMemo(()=>Object.assign(Object.assign({},Me),{firstLevel:!1}),[Me]);return be.createElement(y.Provider,{value:_n},be.createElement(Oe.Wd,Object.assign({},(0,Ie.Z)(Te,["icon"]),{title:kt,popupClassName:Ge()(Xe,ce,`${Xe}-${gt||ct}`)})))},ne=we(18785),oe=we(70425),he=we(62892),_e=we(40875),Pe=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe<ye.length;qe++)pe.indexOf(ye[qe])<0&&Object.prototype.propertyIsEnumerable.call(Te,ye[qe])&&(ce[ye[qe]]=Te[ye[qe]]);return ce};function Qe(Te){return(Te||[]).map((pe,ce)=>{if(pe&&typeof pe=="object"){const ye=pe,{label:qe,children:gt,key:Me,type:Xe}=ye,Pt=Pe(ye,["label","children","key","type"]),ct=Me!=null?Me:`tmp-${ce}`;return gt||Xe==="group"?Xe==="group"?be.createElement(Oe.BW,Object.assign({key:ct},Pt,{title:qe}),Qe(gt)):be.createElement(te,Object.assign({key:ct},Pt,{title:qe}),Qe(gt)):Xe==="divider"?be.createElement(Le,Object.assign({key:ct},Pt)):be.createElement(ee,Object.assign({key:ct},Pt),qe)}return null}).filter(pe=>pe)}function Ze(Te){return be.useMemo(()=>Te&&Qe(Te),[Te])}var Ve=we(64993),nt=we(17313),De=we(8378),Bt=we(13826),ke=we(29878),Ot=we(83116),it=we(37613),wt=Te=>{const{componentCls:pe,motionDurationSlow:ce,horizontalLineHeight:ye,colorSplit:qe,lineWidth:gt,lineType:Me,itemPaddingInline:Xe}=Te;return{[`${pe}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${gt}px ${Me} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xe},[`> ${pe}-item:hover,
|
|
|
> ${pe}-item-active,
|
|
|
> ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${ce}`,`background ${ce}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},pt=Te=>{let{componentCls:pe,menuArrowOffset:ce}=Te;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical,
|
|
|
${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ce})`},"&::after":{transform:`rotate(45deg) translateY(${ce})`}}}}};const st=Te=>Object.assign({},(0,nt.oN)(Te));var rn=(Te,pe)=>{const{componentCls:ce,itemColor:ye,itemSelectedColor:qe,groupTitleColor:gt,itemBg:Me,subMenuItemBg:Xe,itemSelectedBg:Pt,activeBarHeight:ct,activeBarWidth:ot,activeBarBorderWidth:kt,motionDurationSlow:_n,motionEaseInOut:_t,motionEaseOut:nn,itemPaddingInline:Nt,motionDurationMid:yn,itemHoverColor:Xt,lineType:Jn,colorSplit:hr,itemDisabledColor:tr,dangerItemColor:Dr,dangerItemHoverColor:Or,dangerItemSelectedColor:la,dangerItemActiveBg:sa,dangerItemSelectedBg:Hr,itemHoverBg:br,itemActiveBg:Tr,menuSubMenuBg:ta,horizontalItemSelectedColor:_a,horizontalItemSelectedBg:fo,horizontalItemBorderRadius:ea,horizontalItemHoverBg:pi,popupBg:_i}=Te;return{[`${ce}-${pe}, ${ce}-${pe} > ${ce}`]:{color:ye,background:Me,[`&${ce}-root:focus-visible`]:Object.assign({},st(Te)),[`${ce}-item-group-title`]:{color:gt},[`${ce}-submenu-selected`]:{[`> ${ce}-submenu-title`]:{color:qe}},[`${ce}-item-disabled, ${ce}-submenu-disabled`]:{color:`${tr} !important`},[`${ce}-item:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{[`&:hover, > ${ce}-submenu-title:hover`]:{color:Xt}},[`&:not(${ce}-horizontal)`]:{[`${ce}-item:not(${ce}-item-selected)`]:{"&:hover":{backgroundColor:br},"&:active":{backgroundColor:Tr}},[`${ce}-submenu-title`]:{"&:hover":{backgroundColor:br},"&:active":{backgroundColor:Tr}}},[`${ce}-item-danger`]:{color:Dr,[`&${ce}-item:hover`]:{[`&:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{color:Or}},[`&${ce}-item:active`]:{background:sa}},[`${ce}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ce}-item-selected`]:{color:qe,[`&${ce}-item-danger`]:{color:la},"a, a:hover":{color:"inherit"}},[`& ${ce}-item-selected`]:{backgroundColor:Pt,[`&${ce}-item-danger`]:{backgroundColor:Hr}},[`${ce}-item, ${ce}-submenu-title`]:{[`&:not(${ce}-item-disabled):focus-visible`]:Object.assign({},st(Te))},[`&${ce}-submenu > ${ce}`]:{backgroundColor:ta},[`&${ce}-popup > ${ce}`]:{backgroundColor:_i},[`&${ce}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${ce}-item, > ${ce}-submenu`]:{top:kt,marginTop:-kt,marginBottom:0,borderRadius:ea,"&::after":{position:"absolute",insetInline:Nt,bottom:0,borderBottom:`${ct}px solid transparent`,transition:`border-color ${_n} ${_t}`,content:'""'},"&:hover, &-active, &-open":{background:pi,"&::after":{borderBottomWidth:ct,borderBottomColor:_a}},"&-selected":{color:_a,backgroundColor:fo,"&:hover":{backgroundColor:fo},"&::after":{borderBottomWidth:ct,borderBottomColor:_a}}}}),[`&${ce}-root`]:{[`&${ce}-inline, &${ce}-vertical`]:{borderInlineEnd:`${kt}px ${Jn} ${hr}`}},[`&${ce}-inline`]:{[`${ce}-sub${ce}-inline`]:{background:Xe},[`${ce}-item, ${ce}-submenu-title`]:kt&&ot?{width:`calc(100% + ${kt}px)`}:{},[`${ce}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ot}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${nn}`,`opacity ${yn} ${nn}`].join(","),content:'""'},[`&${ce}-item-danger`]:{"&::after":{borderInlineEndColor:la}}},[`${ce}-selected, ${ce}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${_t}`,`opacity ${yn} ${_t}`].join(",")}}}}}};const fn=Te=>{const{componentCls:pe,itemHeight:ce,itemMarginInline:ye,padding:qe,menuArrowSize:gt,marginXS:Me,itemMarginBlock:Xe}=Te,Pt=qe+gt+Me;return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Xe,width:`calc(100% - ${ye*2}px)`},[`> ${pe}-item,
|
|
|
> ${pe}-submenu > ${pe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`},[`${pe}-item-group-list ${pe}-submenu-title,
|
|
|
${pe}-submenu-title`]:{paddingInlineEnd:Pt}}};var Jt=Te=>{const{componentCls:pe,iconCls:ce,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:gt,controlHeightLG:Me,motionDurationMid:Xe,motionEaseOut:Pt,paddingXL:ct,itemMarginInline:ot,fontSizeLG:kt,motionDurationSlow:_n,paddingXS:_t,boxShadowSecondary:nn,collapsedWidth:Nt,collapsedIconSize:yn}=Te,Xt={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},fn(Te))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},fn(Te)),{boxShadow:nn})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Me*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${_n}`,`background ${_n}`,`padding ${Xe} ${Pt}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:Xt,[`& ${pe}-item-group-title`]:{paddingInlineStart:ct}},[`${pe}-item`]:Xt}},{[`${pe}-inline-collapsed`]:{width:Nt,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:kt,textAlign:"center"}}},[`> ${pe}-item,
|
|
|
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-item,
|
|
|
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title,
|
|
|
> ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${kt/2}px - ${ot}px)`,textOverflow:"clip",[`
|
|
|
${pe}-submenu-arrow,
|
|
|
${pe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${pe}-item-icon, ${ce}`]:{margin:0,fontSize:yn,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${ce}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${ce}`]:{display:"none"},"a, a:hover":{color:qe}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},nt.vS),{paddingInline:_t})}}]};const Ln=Te=>{const{componentCls:pe,motionDurationSlow:ce,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:gt,iconCls:Me,iconSize:Xe,iconMarginInlineEnd:Pt}=Te;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ce}`,`background ${ce}`,`padding ${ce} ${qe}`].join(","),[`${pe}-item-icon, ${Me}`]:{minWidth:Xe,fontSize:Xe,transition:[`font-size ${ye} ${gt}`,`margin ${ce} ${qe}`,`color ${ce}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${ce} ${qe}`,`margin ${ce}`,`color ${ce}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Me}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Hn=Te=>{const{componentCls:pe,motionDurationSlow:ce,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:gt,menuArrowOffset:Me}=Te;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Te.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ce} ${ye}, opacity ${ce}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${ce} ${ye}`,`transform ${ce} ${ye}`,`top ${ce} ${ye}`,`color ${ce} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Me})`},"&::after":{transform:`rotate(-45deg) translateY(${Me})`}}}}},un=Te=>{const{antCls:pe,componentCls:ce,fontSize:ye,motionDurationSlow:qe,motionDurationMid:gt,motionEaseInOut:Me,paddingXS:Xe,padding:Pt,colorSplit:ct,lineWidth:ot,zIndexPopup:kt,borderRadiusLG:_n,subMenuItemBorderRadius:_t,menuArrowSize:nn,menuArrowOffset:Nt,lineType:yn,menuPanelMaskInset:Xt,groupTitleLineHeight:Jn,groupTitleFontSize:hr}=Te;return[{"":{[`${ce}`]:Object.assign(Object.assign({},(0,nt.dF)()),{"&-hidden":{display:"none"}})},[`${ce}-submenu-hidden`]:{display:"none"}},{[ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(Te)),(0,nt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ye,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ce}-item`]:{flex:"none"}},[`${ce}-item, ${ce}-submenu, ${ce}-submenu-title`]:{borderRadius:Te.itemBorderRadius},[`${ce}-item-group-title`]:{padding:`${Xe}px ${Pt}px`,fontSize:hr,lineHeight:Jn,transition:`all ${qe}`},[`&-horizontal ${ce}-submenu`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`].join(",")},[`${ce}-submenu, ${ce}-submenu-inline`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`,`padding ${gt} ${Me}`].join(",")},[`${ce}-submenu ${ce}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Me}`,`padding ${qe} ${Me}`].join(",")},[`${ce}-title-content`]:{transition:`color ${qe}`},[`${ce}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ce}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ct,borderStyle:yn,borderWidth:0,borderTopWidth:ot,marginBlock:ot,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ln(Te)),{[`${ce}-item-group`]:{[`${ce}-item-group-list`]:{margin:0,padding:0,[`${ce}-item, ${ce}-submenu-title`]:{paddingInline:`${ye*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:kt,borderRadius:_n,boxShadow:"none",transformOrigin:"0 0",[`&${ce}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Xt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Xt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Te.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Te.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Te.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Te.paddingXS},[`> ${ce}`]:Object.assign(Object.assign(Object.assign({borderRadius:_n},Ln(Te)),Hn(Te)),{[`${ce}-item, ${ce}-submenu > ${ce}-submenu-title`]:{borderRadius:_t},[`${ce}-submenu-title::after`]:{transition:`transform ${qe} ${Me}`}})}}),Hn(Te)),{[`&-inline-collapsed ${ce}-submenu-arrow,
|
|
|
&-inline ${ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Nt})`},"&::after":{transform:`rotate(45deg) translateX(-${Nt})`}},[`${ce}-submenu-open${ce}-submenu-inline > ${ce}-submenu-title > ${ce}-submenu-arrow`]:{transform:`translateY(-${nn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Nt})`},"&::before":{transform:`rotate(45deg) translateX(${Nt})`}}})},{[`${pe}-layout-header`]:{[ce]:{lineHeight:"inherit"}}}]};var Vn=(Te,pe)=>(0,Ot.Z)("Menu",ye=>{if(pe===!1)return[];const{colorBgElevated:qe,colorPrimary:gt,colorTextLightSolid:Me,controlHeightLG:Xe,fontSize:Pt,darkItemColor:ct,darkDangerItemColor:ot,darkItemBg:kt,darkSubMenuItemBg:_n,darkItemSelectedColor:_t,darkItemSelectedBg:nn,darkDangerItemSelectedBg:Nt,darkItemHoverBg:yn,darkGroupTitleColor:Xt,darkItemHoverColor:Jn,darkItemDisabledColor:hr,darkDangerItemHoverColor:tr,darkDangerItemSelectedColor:Dr,darkDangerItemActiveBg:Or}=ye,la=Pt/7*5,sa=(0,it.TS)(ye,{menuArrowSize:la,menuHorizontalHeight:Xe*1.15,menuArrowOffset:`${la*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),Hr=(0,it.TS)(sa,{itemColor:ct,itemHoverColor:Jn,groupTitleColor:Xt,itemSelectedColor:_t,itemBg:kt,popupBg:kt,subMenuItemBg:_n,itemActiveBg:"transparent",itemSelectedBg:nn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:hr,dangerItemColor:ot,dangerItemHoverColor:tr,dangerItemSelectedColor:Dr,dangerItemActiveBg:Or,dangerItemSelectedBg:Nt,menuSubMenuBg:_n,horizontalItemSelectedColor:Me,horizontalItemSelectedBg:gt});return[un(sa),wt(sa),Jt(sa),rn(sa,"light"),rn(Hr,"dark"),pt(sa),(0,De.Z)(sa),(0,Bt.oN)(sa,"slide-up"),(0,Bt.oN)(sa,"slide-down"),(0,ke._y)(sa,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:gt,colorTextDisabled:Me,colorErrorBg:Xe,colorText:Pt,colorTextDescription:ct,colorBgContainer:ot,colorFillAlter:kt,colorFillContent:_n,lineWidth:_t,lineWidthBold:nn,controlItemBgActive:Nt,colorBgTextHover:yn,controlHeightLG:Xt,lineHeight:Jn,colorBgElevated:hr,marginXXS:tr,padding:Dr,fontSize:Or,controlHeightSM:la,fontSizeLG:sa,colorTextLightSolid:Hr,colorErrorHover:br}=ye,Tr=new Ve.C(Hr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:ct,groupTitleColor:ct,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:ot,itemBg:ot,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:_n,itemActiveBg:Nt,colorSubItemBg:kt,subMenuItemBg:kt,colorItemBgSelected:Nt,itemSelectedBg:Nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:nn,activeBarHeight:nn,colorActiveBarBorderSize:_t,activeBarBorderWidth:_t,colorItemTextDisabled:Me,itemDisabledColor:Me,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:Xe,dangerItemActiveBg:Xe,colorDangerItemBgSelected:Xe,dangerItemSelectedBg:Xe,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Xt,groupTitleLineHeight:Jn,collapsedWidth:Xt*2,popupBg:hr,itemMarginBlock:tr,itemPaddingInline:Dr,horizontalLineHeight:`${Xt*1.15}px`,iconSize:Or,iconMarginInlineEnd:la-Or,collapsedIconSize:sa,groupTitleFontSize:Or,darkItemDisabledColor:new Ve.C(Hr).setAlpha(.25).toRgbString(),darkItemColor:Tr,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Hr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Tr,darkItemHoverColor:Hr,darkDangerItemHoverColor:br,darkDangerItemSelectedColor:Hr,darkDangerItemActiveBg:gt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Te),yt=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe<ye.length;qe++)pe.indexOf(ye[qe])<0&&Object.prototype.propertyIsEnumerable.call(Te,ye[qe])&&(ce[ye[qe]]=Te[ye[qe]]);return ce},er=(0,be.forwardRef)((Te,pe)=>{var ce,ye;const qe=be.useContext(_e.Z),gt=qe||{},{getPrefixCls:Me,getPopupContainer:Xe,direction:Pt,menu:ct}=be.useContext(je.E_),ot=Me(),{prefixCls:kt,className:_n,style:_t,theme:nn="light",expandIcon:Nt,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Xt,siderCollapsed:Jn,items:hr,children:tr,rootClassName:Dr,mode:Or,selectable:la,onClick:sa,overflowedIndicatorPopupClassName:Hr}=Te,br=yt(Te,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Tr=(0,Ie.Z)(br,["collapsedWidth"]),ta=Ze(hr)||tr;(ce=gt.validator)===null||ce===void 0||ce.call(gt,{mode:Or});const _a=(0,oe.useEvent)(function(){var wi;sa==null||sa.apply(void 0,arguments),(wi=gt.onClick)===null||wi===void 0||wi.call(gt)}),fo=gt.mode||Or,ea=la!=null?la:gt.selectable,pi=be.useMemo(()=>Jn!==void 0?Jn:Xt,[Xt,Jn]),_i={horizontal:{motionName:`${ot}-slide-up`},inline:(0,he.Z)(ot),other:{motionName:`${ot}-zoom-big`}},na=Me("menu",kt||gt.prefixCls),[ln,zA]=Vn(na,!qe),fA=Ge()(`${na}-${nn}`,ct==null?void 0:ct.className,_n);let UA;if(typeof Nt=="function")UA=Nt;else if(Nt===null||Nt===!1)UA=null;else if(gt.expandIcon===null||gt.expandIcon===!1)UA=null;else{const wi=Nt!=null?Nt:gt.expandIcon;UA=(0,Ce.Tm)(wi,{className:Ge()(`${na}-submenu-expand-icon`,(0,Ce.l$)(wi)?(ye=wi.props)===null||ye===void 0?void 0:ye.className:"")})}const ds=be.useMemo(()=>({prefixCls:na,inlineCollapsed:pi||!1,direction:Pt,firstLevel:!0,theme:nn,mode:fo,disableMenuItemTitleTooltip:yn}),[na,pi,Pt,yn,nn]);return ln(be.createElement(_e.Z.Provider,{value:null},be.createElement(y.Provider,{value:ds},be.createElement(Oe.ZP,Object.assign({getPopupContainer:Xe,overflowedIndicator:be.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ge()(na,`${na}-${nn}`,Hr),mode:fo,selectable:ea,onClick:_a},Tr,{inlineCollapsed:pi,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),_t),className:fA,prefixCls:na,direction:Pt,defaultMotions:_i,expandIcon:UA,ref:pe,rootClassName:Ge()(Dr,zA)}),ta))))});const Re=(0,be.forwardRef)((Te,pe)=>{const ce=(0,be.useRef)(null),ye=be.useContext(ze.D);return(0,be.useImperativeHandle)(pe,()=>({menu:ce.current,focus:qe=>{var gt;(gt=ce.current)===null||gt===void 0||gt.focus(qe)}})),be.createElement(er,Object.assign({ref:ce},Te,ye))});Re.Item=ee,Re.SubMenu=te,Re.Divider=Le,Re.ItemGroup=Oe.BW;var Kt=Re},58421:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return gt}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},at=ze,Ge=we(7657),je=function(Xe,Pt){return be.createElement(Ge.Z,(0,Oe.Z)({},Xe,{ref:Pt,icon:at}))},me=be.forwardRef(je),Be=me,Le=we(49198),de=we(33853),Ie=we(38819),Fe=we(92310),Ce=we.n(Fe),ie=we(20068),y=we(33885),a=we(67732),ee=we(83652),E=we(42403),te=we(158),ne=we(26112),oe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},he=oe,_e=we(91735),Pe=function(Me){(0,E.Z)(Pt,Me);var Xe=(0,te.Z)(Pt);function Pt(){var ct;(0,a.Z)(this,Pt);for(var ot=arguments.length,kt=new Array(ot),_n=0;_n<ot;_n++)kt[_n]=arguments[_n];return ct=Xe.call.apply(Xe,[this].concat(kt)),ct.state={goInputText:""},ct.getValidValue=function(){var _t=ct.state.goInputText;return!_t||Number.isNaN(_t)?void 0:Number(_t)},ct.buildOptionText=function(_t){return"".concat(_t," ").concat(ct.props.locale.items_per_page)},ct.changeSize=function(_t){ct.props.changeSize(Number(_t))},ct.handleChange=function(_t){ct.setState({goInputText:_t.target.value})},ct.handleBlur=function(_t){var nn=ct.props,Nt=nn.goButton,yn=nn.quickGo,Xt=nn.rootPrefixCls,Jn=ct.state.goInputText;Nt||Jn===""||(ct.setState({goInputText:""}),!(_t.relatedTarget&&(_t.relatedTarget.className.indexOf("".concat(Xt,"-item-link"))>=0||_t.relatedTarget.className.indexOf("".concat(Xt,"-item"))>=0))&&yn(ct.getValidValue()))},ct.go=function(_t){var nn=ct.state.goInputText;nn!==""&&(_t.keyCode===he.ENTER||_t.type==="click")&&(ct.setState({goInputText:""}),ct.props.quickGo(ct.getValidValue()))},ct}return(0,ee.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var ot=this.props,kt=ot.pageSize,_n=ot.pageSizeOptions;return _n.some(function(_t){return _t.toString()===kt.toString()})?_n:_n.concat([kt.toString()]).sort(function(_t,nn){var Nt=Number.isNaN(Number(_t))?0:Number(_t),yn=Number.isNaN(Number(nn))?0:Number(nn);return Nt-yn})}},{key:"render",value:function(){var ot=this,kt=this.props,_n=kt.pageSize,_t=kt.locale,nn=kt.rootPrefixCls,Nt=kt.changeSize,yn=kt.quickGo,Xt=kt.goButton,Jn=kt.selectComponentClass,hr=kt.buildOptionText,tr=kt.selectPrefixCls,Dr=kt.disabled,Or=this.state.goInputText,la="".concat(nn,"-options"),sa=Jn,Hr=null,br=null,Tr=null;if(!Nt&&!yn)return null;var ta=this.getPageSizeOptions();if(Nt&&sa){var _a=ta.map(function(fo,ea){return be.createElement(sa.Option,{key:ea,value:fo.toString()},(hr||ot.buildOptionText)(fo))});Hr=be.createElement(sa,{disabled:Dr,prefixCls:tr,showSearch:!1,className:"".concat(la,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(_n||ta[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ea){return ea.parentNode},"aria-label":_t.page_size,defaultOpen:!1},_a)}return yn&&(Xt&&(Tr=typeof Xt=="boolean"?be.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Dr,className:"".concat(la,"-quick-jumper-button")},_t.jump_to_confirm):be.createElement("span",{onClick:this.go,onKeyUp:this.go},Xt)),br=be.createElement("div",{className:"".concat(la,"-quick-jumper")},_t.jump_to,be.createElement("input",{disabled:Dr,type:"text",value:Or,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":_t.page}),_t.page,Tr)),be.createElement("li",{className:"".concat(la)},Hr,br)}}]),Pt}(be.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Qe=Pe,Ze=function(Xe){var Pt,ct=Xe.rootPrefixCls,ot=Xe.page,kt=Xe.active,_n=Xe.className,_t=Xe.showTitle,nn=Xe.onClick,Nt=Xe.onKeyPress,yn=Xe.itemRender,Xt="".concat(ct,"-item"),Jn=Ce()(Xt,"".concat(Xt,"-").concat(ot),(Pt={},(0,ie.Z)(Pt,"".concat(Xt,"-active"),kt),(0,ie.Z)(Pt,"".concat(Xt,"-disabled"),!ot),(0,ie.Z)(Pt,Xe.className,_n),Pt)),hr=function(){nn(ot)},tr=function(la){Nt(la,nn,ot)},Dr=yn(ot,"page",be.createElement("a",{rel:"nofollow"},ot));return Dr?be.createElement("li",{title:_t?ot.toString():null,className:Jn,onClick:hr,onKeyPress:tr,tabIndex:0},Dr):null},Ve=Ze;function nt(){}function De(Me){var Xe=Number(Me);return typeof Xe=="number"&&!Number.isNaN(Xe)&&isFinite(Xe)&&Math.floor(Xe)===Xe}var Bt=function(Xe,Pt,ct){return ct};function ke(Me,Xe,Pt){var ct=typeof Me=="undefined"?Xe.pageSize:Me;return Math.floor((Pt.total-1)/ct)+1}var Ot=function(Me){(0,E.Z)(Pt,Me);var Xe=(0,te.Z)(Pt);function Pt(ct){var ot;(0,a.Z)(this,Pt),ot=Xe.call(this,ct),ot.paginationNode=be.createRef(),ot.getJumpPrevPage=function(){return Math.max(1,ot.state.current-(ot.props.showLessItems?3:5))},ot.getJumpNextPage=function(){return Math.min(ke(void 0,ot.state,ot.props),ot.state.current+(ot.props.showLessItems?3:5))},ot.getItemIcon=function(Nt,yn){var Xt=ot.props.prefixCls,Jn=Nt||be.createElement("button",{type:"button","aria-label":yn,className:"".concat(Xt,"-item-link")});return typeof Nt=="function"&&(Jn=be.createElement(Nt,(0,y.Z)({},ot.props))),Jn},ot.isValid=function(Nt){var yn=ot.props.total;return De(Nt)&&Nt!==ot.state.current&&De(yn)&&yn>0},ot.shouldDisplayQuickJumper=function(){var Nt=ot.props,yn=Nt.showQuickJumper,Xt=Nt.total,Jn=ot.state.pageSize;return Xt<=Jn?!1:yn},ot.handleKeyDown=function(Nt){(Nt.keyCode===he.ARROW_UP||Nt.keyCode===he.ARROW_DOWN)&&Nt.preventDefault()},ot.handleKeyUp=function(Nt){var yn=ot.getValidValue(Nt),Xt=ot.state.currentInputValue;yn!==Xt&&ot.setState({currentInputValue:yn}),Nt.keyCode===he.ENTER?ot.handleChange(yn):Nt.keyCode===he.ARROW_UP?ot.handleChange(yn-1):Nt.keyCode===he.ARROW_DOWN&&ot.handleChange(yn+1)},ot.handleBlur=function(Nt){var yn=ot.getValidValue(Nt);ot.handleChange(yn)},ot.changePageSize=function(Nt){var yn=ot.state.current,Xt=ke(Nt,ot.state,ot.props);yn=yn>Xt?Xt:yn,Xt===0&&(yn=ot.state.current),typeof Nt=="number"&&("pageSize"in ot.props||ot.setState({pageSize:Nt}),"current"in ot.props||ot.setState({current:yn,currentInputValue:yn})),ot.props.onShowSizeChange(yn,Nt),"onChange"in ot.props&&ot.props.onChange&&ot.props.onChange(yn,Nt)},ot.handleChange=function(Nt){var yn=ot.props,Xt=yn.disabled,Jn=yn.onChange,hr=ot.state,tr=hr.pageSize,Dr=hr.current,Or=hr.currentInputValue;if(ot.isValid(Nt)&&!Xt){var la=ke(void 0,ot.state,ot.props),sa=Nt;return Nt>la?sa=la:Nt<1&&(sa=1),"current"in ot.props||ot.setState({current:sa}),sa!==Or&&ot.setState({currentInputValue:sa}),Jn(sa,tr),sa}return Dr},ot.prev=function(){ot.hasPrev()&&ot.handleChange(ot.state.current-1)},ot.next=function(){ot.hasNext()&&ot.handleChange(ot.state.current+1)},ot.jumpPrev=function(){ot.handleChange(ot.getJumpPrevPage())},ot.jumpNext=function(){ot.handleChange(ot.getJumpNextPage())},ot.hasPrev=function(){return ot.state.current>1},ot.hasNext=function(){return ot.state.current<ke(void 0,ot.state,ot.props)},ot.runIfEnter=function(Nt,yn){if(Nt.key==="Enter"||Nt.charCode===13){for(var Xt=arguments.length,Jn=new Array(Xt>2?Xt-2:0),hr=2;hr<Xt;hr++)Jn[hr-2]=arguments[hr];yn.apply(void 0,Jn)}},ot.runIfEnterPrev=function(Nt){ot.runIfEnter(Nt,ot.prev)},ot.runIfEnterNext=function(Nt){ot.runIfEnter(Nt,ot.next)},ot.runIfEnterJumpPrev=function(Nt){ot.runIfEnter(Nt,ot.jumpPrev)},ot.runIfEnterJumpNext=function(Nt){ot.runIfEnter(Nt,ot.jumpNext)},ot.handleGoTO=function(Nt){(Nt.keyCode===he.ENTER||Nt.type==="click")&&ot.handleChange(ot.state.currentInputValue)},ot.renderPrev=function(Nt){var yn=ot.props,Xt=yn.prevIcon,Jn=yn.itemRender,hr=Jn(Nt,"prev",ot.getItemIcon(Xt,"prev page")),tr=!ot.hasPrev();return(0,be.isValidElement)(hr)?(0,be.cloneElement)(hr,{disabled:tr}):hr},ot.renderNext=function(Nt){var yn=ot.props,Xt=yn.nextIcon,Jn=yn.itemRender,hr=Jn(Nt,"next",ot.getItemIcon(Xt,"next page")),tr=!ot.hasNext();return(0,be.isValidElement)(hr)?(0,be.cloneElement)(hr,{disabled:tr}):hr};var kt=ct.onChange!==nt,_n="current"in ct;_n&&!kt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var _t=ct.defaultCurrent;"current"in ct&&(_t=ct.current);var nn=ct.defaultPageSize;return"pageSize"in ct&&(nn=ct.pageSize),_t=Math.min(_t,ke(nn,void 0,ct)),ot.state={current:_t,currentInputValue:_t,pageSize:nn},ot}return(0,ee.Z)(Pt,[{key:"componentDidUpdate",value:function(ot,kt){var _n=this.props.prefixCls;if(kt.current!==this.state.current&&this.paginationNode.current){var _t=this.paginationNode.current.querySelector(".".concat(_n,"-item-").concat(kt.current));if(_t&&document.activeElement===_t){var nn;_t==null||(nn=_t.blur)===null||nn===void 0||nn.call(_t)}}}},{key:"getValidValue",value:function(ot){var kt=ot.target.value,_n=ke(void 0,this.state,this.props),_t=this.state.currentInputValue,nn;return kt===""?nn=kt:Number.isNaN(Number(kt))?nn=_t:kt>=_n?nn=_n:nn=Number(kt),nn}},{key:"getShowSizeChanger",value:function(){var ot=this.props,kt=ot.showSizeChanger,_n=ot.total,_t=ot.totalBoundaryShowSizeChanger;return typeof kt!="undefined"?kt:_n>_t}},{key:"render",value:function(){var ot=this.props,kt=ot.prefixCls,_n=ot.className,_t=ot.style,nn=ot.disabled,Nt=ot.hideOnSinglePage,yn=ot.total,Xt=ot.locale,Jn=ot.showQuickJumper,hr=ot.showLessItems,tr=ot.showTitle,Dr=ot.showTotal,Or=ot.simple,la=ot.itemRender,sa=ot.showPrevNextJumpers,Hr=ot.jumpPrevIcon,br=ot.jumpNextIcon,Tr=ot.selectComponentClass,ta=ot.selectPrefixCls,_a=ot.pageSizeOptions,fo=this.state,ea=fo.current,pi=fo.pageSize,_i=fo.currentInputValue;if(Nt===!0&&yn<=pi)return null;var na=ke(void 0,this.state,this.props),ln=[],zA=null,fA=null,UA=null,ds=null,wi=null,Gs=Jn&&Jn.goButton,SA=hr?1:2,Ji=ea-1>0?ea-1:0,En=ea+1<na?ea+1:na,Dn=(0,ne.Z)(this.props,{aria:!0,data:!0}),vn=Dr&&be.createElement("li",{className:"".concat(kt,"-total-text")},Dr(yn,[yn===0?0:(ea-1)*pi+1,ea*pi>yn?yn:ea*pi]));if(Or){Gs&&(typeof Gs=="boolean"?wi=be.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Xt.jump_to_confirm):wi=be.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Gs),wi=be.createElement("li",{title:tr?"".concat(Xt.jump_to).concat(ea,"/").concat(na):null,className:"".concat(kt,"-simple-pager")},wi));var kr=this.renderPrev(Ji);return be.createElement("ul",(0,Oe.Z)({className:Ce()(kt,"".concat(kt,"-simple"),(0,ie.Z)({},"".concat(kt,"-disabled"),nn),_n),style:_t,ref:this.paginationNode},Dn),vn,kr?be.createElement("li",{title:tr?Xt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kr):null,be.createElement("li",{title:tr?"".concat(ea,"/").concat(na):null,className:"".concat(kt,"-simple-pager")},be.createElement("input",{type:"text",value:_i,disabled:nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),be.createElement("span",{className:"".concat(kt,"-slash")},"/"),na),be.createElement("li",{title:tr?Xt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(En)),wi)}if(na<=3+SA*2){var Ea={locale:Xt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:tr,itemRender:la};na||ln.push(be.createElement(Ve,(0,Oe.Z)({},Ea,{key:"noPager",page:1,className:"".concat(kt,"-item-disabled")})));for(var Zr=1;Zr<=na;Zr+=1){var si=ea===Zr;ln.push(be.createElement(Ve,(0,Oe.Z)({},Ea,{key:Zr,page:Zr,active:si})))}}else{var vo=hr?Xt.prev_3:Xt.prev_5,Ko=hr?Xt.next_3:Xt.next_5,_o=la(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Hr,"prev page")),yA=la(this.getJumpNextPage(),"jump-next",this.getItemIcon(br,"next page"));sa&&(zA=_o?be.createElement("li",{title:tr?vo:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ce()("".concat(kt,"-jump-prev"),(0,ie.Z)({},"".concat(kt,"-jump-prev-custom-icon"),!!Hr))},_o):null,fA=yA?be.createElement("li",{title:tr?Ko:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ce()("".concat(kt,"-jump-next"),(0,ie.Z)({},"".concat(kt,"-jump-next-custom-icon"),!!br))},yA):null),ds=be.createElement(Ve,{locale:Xt,last:!0,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:na,page:na,active:!1,showTitle:tr,itemRender:la}),UA=be.createElement(Ve,{locale:Xt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:tr,itemRender:la});var gr=Math.max(1,ea-SA),No=Math.min(ea+SA,na);ea-1<=SA&&(No=1+SA*2),na-ea<=SA&&(gr=na-SA*2);for(var Di=gr;Di<=No;Di+=1){var fi=ea===Di;ln.push(be.createElement(Ve,{locale:Xt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Di,page:Di,active:fi,showTitle:tr,itemRender:la}))}ea-1>=SA*2&&ea!==3&&(ln[0]=(0,be.cloneElement)(ln[0],{className:"".concat(kt,"-item-after-jump-prev")}),ln.unshift(zA)),na-ea>=SA*2&&ea!==na-2&&(ln[ln.length-1]=(0,be.cloneElement)(ln[ln.length-1],{className:"".concat(kt,"-item-before-jump-next")}),ln.push(fA)),gr!==1&&ln.unshift(UA),No!==na&&ln.push(ds)}var Si=!this.hasPrev()||!na,Do=!this.hasNext()||!na,hA=this.renderPrev(Ji),MA=this.renderNext(En);return be.createElement("ul",(0,Oe.Z)({className:Ce()(kt,_n,(0,ie.Z)({},"".concat(kt,"-disabled"),nn)),style:_t,ref:this.paginationNode},Dn),vn,hA?be.createElement("li",{title:tr?Xt.prev_page:null,onClick:this.prev,tabIndex:Si?null:0,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),Si)),"aria-disabled":Si},hA):null,ln,MA?be.createElement("li",{title:tr?Xt.next_page:null,onClick:this.next,tabIndex:Do?null:0,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),Do)),"aria-disabled":Do},MA):null,be.createElement(Qe,{disabled:nn,locale:Xt,rootPrefixCls:kt,selectComponentClass:Tr,selectPrefixCls:ta,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ea,pageSize:pi,pageSizeOptions:_a,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Gs}))}}],[{key:"getDerivedStateFromProps",value:function(ot,kt){var _n={};if("current"in ot&&(_n.current=ot.current,ot.current!==kt.current&&(_n.currentInputValue=_n.current)),"pageSize"in ot&&ot.pageSize!==kt.pageSize){var _t=kt.current,nn=ke(ot.pageSize,kt,ot);_t=_t>nn?nn:_t,"current"in ot||(_n.current=_t,_n.currentInputValue=_t),_n.pageSize=ot.pageSize}return _n}}]),Pt}(be.Component);Ot.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:nt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:nt,locale:_e.Z,style:{},itemRender:Bt,totalBoundaryShowSizeChanger:50};var it=Ot,rt=we(22075),wt=we(36355),dt=we(19716),pt=we(8628),st=we(9763),ft=we(57809);const rn=Me=>be.createElement(ft.default,Object.assign({},Me,{showSearch:!0,size:"small"})),fn=Me=>be.createElement(ft.default,Object.assign({},Me,{showSearch:!0,size:"middle"}));rn.Option=ft.default.Option,fn.Option=ft.default.Option;var Et=we(9937),Jt=we(17313),Ln=we(83116),Hn=we(37613);const un=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}}},[`&${Xe}-disabled`]:{cursor:"not-allowed",[`${Xe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Me.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Me.colorBorder,backgroundColor:Me.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Me.itemActiveBgDisabled},a:{color:Me.itemActiveColorDisabled}}},[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Xe}-simple-pager`]:{color:Me.colorTextDisabled},[`${Xe}-jump-prev, ${Xe}-jump-next`]:{[`${Xe}-item-link-icon`]:{opacity:0},[`${Xe}-item-ellipsis`]:{opacity:1}}},[`&${Xe}-simple`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&${Xe}-disabled ${Xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Vn=Me=>{const{componentCls:Xe}=Me;return{[`&${Xe}-mini ${Xe}-total-text, &${Xe}-mini ${Xe}-simple-pager`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-item`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM-2}px`},[`&${Xe}-mini:not(${Xe}-disabled) ${Xe}-item:not(${Xe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},[`&${Xe}-mini ${Xe}-prev, &${Xe}-mini ${Xe}-next`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini:not(${Xe}-disabled)`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&:hover ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover ${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Xe}-mini ${Xe}-prev ${Xe}-item-link,
|
|
|
&${Xe}-mini ${Xe}-next ${Xe}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}},[`&${Xe}-mini ${Xe}-jump-prev, &${Xe}-mini ${Xe}-jump-next`]:{height:Me.itemSizeSM,marginInlineEnd:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-options`]:{marginInlineStart:Me.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Me.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Et.x0)(Me)),{width:Me.paginationMiniQuickJumperInputWidth,height:Me.controlHeightSM})}}}},yt=Me=>{const{componentCls:Xe}=Me;return{[`
|
|
|
&${Xe}-simple ${Xe}-prev,
|
|
|
&${Xe}-simple ${Xe}-next
|
|
|
`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,verticalAlign:"top",[`${Xe}-item-link`]:{height:Me.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive},"&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}}},[`&${Xe}-simple ${Xe}-simple-pager`]:{display:"inline-block",height:Me.itemSizeSM,marginInlineEnd:Me.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Me.marginXS,padding:`0 ${Me.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Me.itemInputBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,borderRadius:Me.borderRadius,outline:"none",transition:`border-color ${Me.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Me.colorPrimary},"&:focus":{borderColor:Me.colorPrimaryHover,boxShadow:`${Me.inputOutlineOffset}px 0 ${Me.controlOutlineWidth}px ${Me.controlOutline}`},"&[disabled]":{color:Me.colorTextDisabled,backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,cursor:"not-allowed"}}}}},Kn=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-jump-prev, ${Xe}-jump-next`]:{outline:0,[`${Xe}-item-container`]:{position:"relative",[`${Xe}-item-link-icon`]:{color:Me.colorPrimary,fontSize:Me.fontSizeSM,opacity:0,transition:`all ${Me.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Xe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Me.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Me.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Me.paginationEllipsisTextIndent,opacity:1,transition:`all ${Me.motionDurationMid}`}},"&:hover":{[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Xe}-prev,
|
|
|
${Xe}-jump-prev,
|
|
|
${Xe}-jump-next
|
|
|
`]:{marginInlineEnd:Me.marginXS},[`
|
|
|
${Xe}-prev,
|
|
|
${Xe}-next,
|
|
|
${Xe}-jump-prev,
|
|
|
${Xe}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,color:Me.colorText,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Me.borderRadius,cursor:"pointer",transition:`all ${Me.motionDurationMid}`},[`${Xe}-prev, ${Xe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Me.colorText,cursor:"pointer",userSelect:"none"},[`${Xe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Me.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:"none",transition:`all ${Me.motionDurationMid}`},[`&:hover ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover`]:{[`${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`${Xe}-slash`]:{marginInlineEnd:Me.paginationSlashMarginInlineEnd,marginInlineStart:Me.paginationSlashMarginInlineStart},[`${Xe}-options`]:{display:"inline-block",marginInlineStart:Me.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Me.controlHeight,marginInlineStart:Me.marginXS,lineHeight:`${Me.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Et.ik)(Me)),{width:Me.controlHeightLG*1.25,height:Me.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Me.marginXS,marginInlineEnd:Me.marginXS})}}}},er=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-item`]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,marginInlineEnd:Me.marginXS,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Me.paginationItemPaddingInline}px`,color:Me.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Xe}-item-active)`]:{"&:hover":{transition:`all ${Me.motionDurationMid}`,backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},"&-active":{fontWeight:Me.fontWeightStrong,backgroundColor:Me.itemActiveBg,borderColor:Me.colorPrimary,a:{color:Me.colorPrimary},"&:hover":{borderColor:Me.colorPrimaryHover},"&:hover a":{color:Me.colorPrimaryHover}}}}},Re=Me=>{const{componentCls:Xe}=Me;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Jt.Wf)(Me)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Xe}-total-text`]:{display:"inline-block",height:Me.itemSize,marginInlineEnd:Me.marginXS,lineHeight:`${Me.itemSize-2}px`,verticalAlign:"middle"}}),er(Me)),Kn(Me)),yt(Me)),Vn(Me)),un(Me)),{[`@media only screen and (max-width: ${Me.screenLG}px)`]:{[`${Xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Me.screenSM}px)`]:{[`${Xe}-options`]:{display:"none"}}}),[`&${Me.componentCls}-rtl`]:{direction:"rtl"}}},Kt=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}${Xe}-disabled:not(${Xe}-mini)`]:{"&, &:hover":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},"&:focus-visible":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},[`${Xe}-item, ${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,[`&:hover:not(${Xe}-item-active)`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,a:{color:Me.colorTextDisabled}},[`&${Xe}-item-active`]:{backgroundColor:Me.itemActiveBgDisabled}},[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,color:Me.colorTextDisabled},[`${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder}}},[`${Xe}:not(${Xe}-mini)`]:{[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{borderColor:Me.colorPrimaryHover,backgroundColor:Me.itemBg},[`${Xe}-item-link`]:{backgroundColor:Me.itemLinkBg,borderColor:Me.colorBorder},[`&:hover ${Xe}-item-link`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,color:Me.colorPrimary},[`&${Xe}-disabled`]:{[`${Xe}-item-link`]:{borderColor:Me.colorBorder,color:Me.colorTextDisabled}}},[`${Xe}-item`]:{backgroundColor:Me.itemBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,[`&:hover:not(${Xe}-item-active)`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,a:{color:Me.colorPrimary}},"&-active":{borderColor:Me.colorPrimary}}}}},Te=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}:not(${Xe}-disabled)`]:{[`${Xe}-item`]:Object.assign({},(0,Jt.Qy)(Me)),[`${Xe}-jump-prev, ${Xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}},(0,Jt.oN)(Me))},[`${Xe}-prev, ${Xe}-next`]:{[`&:focus-visible ${Xe}-item-link`]:Object.assign({},(0,Jt.oN)(Me))}}}};var pe=(0,Ln.Z)("Pagination",Me=>{const Xe=(0,Hn.TS)(Me,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Me.marginXXS/2,paginationMiniQuickJumperInputWidth:Me.controlHeightLG*1.1,paginationItemPaddingInline:Me.marginXXS*1.5,paginationEllipsisLetterSpacing:Me.marginXXS/2,paginationSlashMarginInlineStart:Me.marginXXS,paginationSlashMarginInlineEnd:Me.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Et.e5)(Me),(0,Et.TM)(Me));return[Re(Xe),Te(Xe),Me.wireframe&&Kt(Xe)]},Me=>({itemBg:Me.colorBgContainer,itemSize:Me.controlHeight,itemSizeSM:Me.controlHeightSM,itemActiveBg:Me.colorBgContainer,itemLinkBg:Me.colorBgContainer,itemActiveColorDisabled:Me.colorTextDisabled,itemActiveBgDisabled:Me.controlItemBgActiveDisabled,itemInputBg:Me.colorBgContainer,miniOptionsSizeChangerTop:0})),ce=function(Me,Xe){var Pt={};for(var ct in Me)Object.prototype.hasOwnProperty.call(Me,ct)&&Xe.indexOf(ct)<0&&(Pt[ct]=Me[ct]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,ct=Object.getOwnPropertySymbols(Me);ot<ct.length;ot++)Xe.indexOf(ct[ot])<0&&Object.prototype.propertyIsEnumerable.call(Me,ct[ot])&&(Pt[ct[ot]]=Me[ct[ot]]);return Pt},qe=Me=>{const{prefixCls:Xe,selectPrefixCls:Pt,className:ct,rootClassName:ot,style:kt,size:_n,locale:_t,selectComponentClass:nn,responsive:Nt,showSizeChanger:yn}=Me,Xt=ce(Me,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Jn}=(0,pt.Z)(Nt),{getPrefixCls:hr,direction:tr,pagination:Dr={}}=be.useContext(wt.E_),Or=hr("pagination",Xe),[la,sa]=pe(Or),Hr=yn!=null?yn:Dr.showSizeChanger,br=be.useMemo(()=>{const na=be.createElement("span",{className:`${Or}-item-ellipsis`},"\u2022\u2022\u2022"),ln=be.createElement("button",{className:`${Or}-item-link`,type:"button",tabIndex:-1},tr==="rtl"?be.createElement(Ie.Z,null):be.createElement(de.Z,null)),zA=be.createElement("button",{className:`${Or}-item-link`,type:"button",tabIndex:-1},tr==="rtl"?be.createElement(de.Z,null):be.createElement(Ie.Z,null)),fA=be.createElement("a",{className:`${Or}-item-link`},be.createElement("div",{className:`${Or}-item-container`},tr==="rtl"?be.createElement(Le.Z,{className:`${Or}-item-link-icon`}):be.createElement(Be,{className:`${Or}-item-link-icon`}),na)),UA=be.createElement("a",{className:`${Or}-item-link`},be.createElement("div",{className:`${Or}-item-container`},tr==="rtl"?be.createElement(Be,{className:`${Or}-item-link-icon`}):be.createElement(Le.Z,{className:`${Or}-item-link-icon`}),na));return{prevIcon:ln,nextIcon:zA,jumpPrevIcon:fA,jumpNextIcon:UA}},[tr,Or]),[Tr]=(0,st.Z)("Pagination",rt.Z),ta=Object.assign(Object.assign({},Tr),_t),_a=(0,dt.Z)(_n),fo=_a==="small"||!!(Jn&&!_a&&Nt),ea=hr("select",Pt),pi=Ce()({[`${Or}-mini`]:fo,[`${Or}-rtl`]:tr==="rtl"},Dr==null?void 0:Dr.className,ct,ot,sa),_i=Object.assign(Object.assign({},Dr==null?void 0:Dr.style),kt);return la(be.createElement(it,Object.assign({},br,Xt,{style:_i,prefixCls:Or,selectPrefixCls:ea,className:pi,selectComponentClass:nn||(fo?rn:fn),locale:ta,showSizeChanger:Hr})))},gt=qe},61621:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return pe}});var Oe=we(92310),be=we.n(Oe),ze=we(59301),at=we(36355),Ge=we(2738),me=ce=>{const{prefixCls:ye,className:qe,style:gt,size:Me,shape:Xe}=ce,Pt=be()({[`${ye}-lg`]:Me==="large",[`${ye}-sm`]:Me==="small"}),ct=be()({[`${ye}-circle`]:Xe==="circle",[`${ye}-square`]:Xe==="square",[`${ye}-round`]:Xe==="round"}),ot=ze.useMemo(()=>typeof Me=="number"?{width:Me,height:Me,lineHeight:`${Me}px`}:{},[Me]);return ze.createElement("span",{className:be()(ye,Pt,ct,qe),style:Object.assign(Object.assign({},ot),gt)})},Be=we(36237),Le=we(83116),de=we(37613);const Ie=new Be.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Fe=ce=>({height:ce,lineHeight:`${ce}px`}),Ce=ce=>Object.assign({width:ce},Fe(ce)),ie=ce=>({background:ce.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ie,animationDuration:ce.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ce=>Object.assign({width:ce*5,minWidth:ce*5},Fe(ce)),a=ce=>{const{skeletonAvatarCls:ye,gradientFromColor:qe,controlHeight:gt,controlHeightLG:Me,controlHeightSM:Xe}=ce;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ce(gt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},Ce(Me)),[`${ye}${ye}-sm`]:Object.assign({},Ce(Xe))}},ee=ce=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:gt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Pt}=ce;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:qe},y(ye)),[`${gt}-lg`]:Object.assign({},y(Me)),[`${gt}-sm`]:Object.assign({},y(Xe))}},E=ce=>Object.assign({width:ce},Fe(ce)),te=ce=>{const{skeletonImageCls:ye,imageSizeBase:qe,gradientFromColor:gt,borderRadiusSM:Me}=ce;return{[`${ye}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:Me},E(qe*2)),{[`${ye}-path`]:{fill:"#bfbfbf"},[`${ye}-svg`]:Object.assign(Object.assign({},E(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${ye}-svg${ye}-svg-circle`]:{borderRadius:"50%"}}),[`${ye}${ye}-circle`]:{borderRadius:"50%"}}},ne=(ce,ye,qe)=>{const{skeletonButtonCls:gt}=ce;return{[`${qe}${gt}-circle`]:{width:ye,minWidth:ye,borderRadius:"50%"},[`${qe}${gt}-round`]:{borderRadius:ye}}},oe=ce=>Object.assign({width:ce*2,minWidth:ce*2},Fe(ce)),he=ce=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:gt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Pt}=ce;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:ye,width:gt*2,minWidth:gt*2},oe(gt))},ne(ce,gt,qe)),{[`${qe}-lg`]:Object.assign({},oe(Me))}),ne(ce,Me,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},oe(Xe))}),ne(ce,Xe,`${qe}-sm`))},_e=ce=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:gt,skeletonParagraphCls:Me,skeletonButtonCls:Xe,skeletonInputCls:Pt,skeletonImageCls:ct,controlHeight:ot,controlHeightLG:kt,controlHeightSM:_n,gradientFromColor:_t,padding:nn,marginSM:Nt,borderRadius:yn,titleHeight:Xt,blockRadius:Jn,paragraphLiHeight:hr,controlHeightXS:tr,paragraphMarginTop:Dr}=ce;return{[`${ye}`]:{display:"table",width:"100%",[`${ye}-header`]:{display:"table-cell",paddingInlineEnd:nn,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_t},Ce(ot)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ce(kt)),[`${qe}-sm`]:Object.assign({},Ce(_n))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:Xt,background:_t,borderRadius:Jn,[`+ ${Me}`]:{marginBlockStart:_n}},[`${Me}`]:{padding:0,"> li":{width:"100%",height:hr,listStyle:"none",background:_t,borderRadius:Jn,"+ li":{marginBlockStart:tr}}},[`${Me}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${gt}, ${Me} > li`]:{borderRadius:yn}}},[`${ye}-with-avatar ${ye}-content`]:{[`${gt}`]:{marginBlockStart:Nt,[`+ ${Me}`]:{marginBlockStart:Dr}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},he(ce)),a(ce)),ee(ce)),te(ce)),[`${ye}${ye}-block`]:{width:"100%",[`${Xe}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[`
|
|
|
${gt},
|
|
|
${Me} > li,
|
|
|
${qe},
|
|
|
${Xe},
|
|
|
${Pt},
|
|
|
${ct}
|
|
|
`]:Object.assign({},ie(ce))}}};var Pe=(0,Le.Z)("Skeleton",ce=>{const{componentCls:ye}=ce,qe=(0,de.TS)(ce,{skeletonAvatarCls:`${ye}-avatar`,skeletonTitleCls:`${ye}-title`,skeletonParagraphCls:`${ye}-paragraph`,skeletonButtonCls:`${ye}-button`,skeletonInputCls:`${ye}-input`,skeletonImageCls:`${ye}-image`,imageSizeBase:ce.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ce.gradientFromColor} 25%, ${ce.gradientToColor} 37%, ${ce.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[_e(qe)]},ce=>{const{colorFillContent:ye,colorFill:qe}=ce,gt=ye,Me=qe;return{color:gt,colorGradientEnd:Me,gradientFromColor:gt,gradientToColor:Me,titleHeight:ce.controlHeight/2,blockRadius:ce.borderRadiusSM,paragraphMarginTop:ce.marginLG+ce.marginXXS,paragraphLiHeight:ce.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ze=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,shape:Xe="circle",size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls","className"]),nn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me},qe,gt,_n);return kt(ze.createElement("div",{className:nn},ze.createElement(me,Object.assign({prefixCls:`${ot}-avatar`,shape:Xe,size:Pt},_t))))},nt=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,block:Xe=!1,size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls"]),nn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me,[`${ot}-block`]:Xe},qe,gt,_n);return kt(ze.createElement("div",{className:nn},ze.createElement(me,Object.assign({prefixCls:`${ot}-button`,size:Pt},_t))))};const De="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var ke=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,style:Me,active:Xe}=ce,{getPrefixCls:Pt}=ze.useContext(at.E_),ct=Pt("skeleton",ye),[ot,kt]=Pe(ct),_n=be()(ct,`${ct}-element`,{[`${ct}-active`]:Xe},qe,gt,kt);return ot(ze.createElement("div",{className:_n},ze.createElement("div",{className:be()(`${ct}-image`,qe),style:Me},ze.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ct}-image-svg`},ze.createElement("path",{d:De,className:`${ct}-image-path`})))))},it=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,block:Xe,size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls"]),nn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me,[`${ot}-block`]:Xe},qe,gt,_n);return kt(ze.createElement("div",{className:nn},ze.createElement(me,Object.assign({prefixCls:`${ot}-input`,size:Pt},_t))))},rt=we(54476),wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},dt=wt,pt=we(7657),st=function(ye,qe){return ze.createElement(pt.Z,(0,rt.Z)({},ye,{ref:qe,icon:dt}))},ft=ze.forwardRef(st),rn=ft,Et=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,style:Me,active:Xe,children:Pt}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=be()(ot,`${ot}-element`,{[`${ot}-active`]:Xe},_n,qe,gt),nn=Pt!=null?Pt:ze.createElement(rn,null);return kt(ze.createElement("div",{className:_t},ze.createElement("div",{className:be()(`${ot}-image`,qe),style:Me},nn)))},Jt=we(94480),Hn=ce=>{const ye=ct=>{const{width:ot,rows:kt=2}=ce;if(Array.isArray(ot))return ot[ct];if(kt-1===ct)return ot},{prefixCls:qe,className:gt,style:Me,rows:Xe}=ce,Pt=(0,Jt.Z)(Array(Xe)).map((ct,ot)=>ze.createElement("li",{key:ot,style:{width:ye(ot)}}));return ze.createElement("ul",{className:be()(qe,gt),style:Me},Pt)},Vn=ce=>{let{prefixCls:ye,className:qe,width:gt,style:Me}=ce;return ze.createElement("h3",{className:be()(ye,qe),style:Object.assign({width:gt},Me)})};function yt(ce){return ce&&typeof ce=="object"?ce:{}}function Kn(ce,ye){return ce&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function er(ce,ye){return!ce&&ye?{width:"38%"}:ce&&ye?{width:"50%"}:{}}function Re(ce,ye){const qe={};return(!ce||!ye)&&(qe.width="61%"),!ce&&ye?qe.rows=3:qe.rows=2,qe}const Kt=ce=>{const{prefixCls:ye,loading:qe,className:gt,rootClassName:Me,style:Xe,children:Pt,avatar:ct=!1,title:ot=!0,paragraph:kt=!0,active:_n,round:_t}=ce,{getPrefixCls:nn,direction:Nt,skeleton:yn}=ze.useContext(at.E_),Xt=nn("skeleton",ye),[Jn,hr]=Pe(Xt);if(qe||!("loading"in ce)){const tr=!!ct,Dr=!!ot,Or=!!kt;let la;if(tr){const br=Object.assign(Object.assign({prefixCls:`${Xt}-avatar`},Kn(Dr,Or)),yt(ct));la=ze.createElement("div",{className:`${Xt}-header`},ze.createElement(me,Object.assign({},br)))}let sa;if(Dr||Or){let br;if(Dr){const ta=Object.assign(Object.assign({prefixCls:`${Xt}-title`},er(tr,Or)),yt(ot));br=ze.createElement(Vn,Object.assign({},ta))}let Tr;if(Or){const ta=Object.assign(Object.assign({prefixCls:`${Xt}-paragraph`},Re(tr,Dr)),yt(kt));Tr=ze.createElement(Hn,Object.assign({},ta))}sa=ze.createElement("div",{className:`${Xt}-content`},br,Tr)}const Hr=be()(Xt,{[`${Xt}-with-avatar`]:tr,[`${Xt}-active`]:_n,[`${Xt}-rtl`]:Nt==="rtl",[`${Xt}-round`]:_t},yn==null?void 0:yn.className,gt,Me,hr);return Jn(ze.createElement("div",{className:Hr,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Xe)},la,sa))}return typeof Pt!="undefined"?Pt:null};Kt.Button=nt,Kt.Avatar=Ze,Kt.Input=it,Kt.Image=ke,Kt.Node=Et;var Te=Kt,pe=Te},15969:function(on,Ut,we){"use strict";we.d(Ut,{N:function(){return Oe}});const Oe=be=>({color:be.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${be.motionDurationSlow}`,"&:focus, &:hover":{color:be.colorLinkHover},"&:active":{color:be.colorLinkActive}})},1710:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return ah}});var Oe={},be="rc-table-internal-hook",ze=we(42978),at=we(6089),Ge=we(34280),je=we(13697),me=we(59301),Be=we(4676);function Le(Ye){var et=me.createContext(void 0),St=function(Gt){var $t=Gt.value,mn=Gt.children,Bn=me.useRef($t);Bn.current=$t;var dn=me.useState(function(){return{getValue:function(){return Bn.current},listeners:new Set}}),Qn=(0,ze.Z)(dn,1),Gn=Qn[0];return(0,Ge.Z)(function(){(0,Be.unstable_batchedUpdates)(function(){Gn.listeners.forEach(function(kn){kn($t)})})},[$t]),me.createElement(et.Provider,{value:Gn},mn)};return{Context:et,Provider:St,defaultValue:Ye}}function de(Ye,et){var St=(0,at.Z)(typeof et=="function"?et:function(kn){if(et===void 0)return kn;if(!Array.isArray(et))return kn[et];var fr={};return et.forEach(function(or){fr[or]=kn[or]}),fr}),It=me.useContext(Ye==null?void 0:Ye.Context),Gt=It||{},$t=Gt.listeners,mn=Gt.getValue,Bn=me.useRef();Bn.current=St(It?mn():Ye==null?void 0:Ye.defaultValue);var dn=me.useState({}),Qn=(0,ze.Z)(dn,2),Gn=Qn[1];return(0,Ge.Z)(function(){if(!It)return;function kn(fr){var or=St(fr);(0,je.Z)(Bn.current,or,!0)||Gn({})}return $t.add(kn),function(){$t.delete(kn)}},[It]),Bn.current}var Ie=we(54476),Fe=we(8654);function Ce(){var Ye=me.createContext(null);function et(){return me.useContext(Ye)}function St(Gt,$t){var mn=(0,Fe.Yr)(Gt),Bn=function(Qn,Gn){var kn=mn?{ref:Gn}:{},fr=me.useRef(0),or=me.useRef(Qn),ur=et();return ur!==null?me.createElement(Gt,(0,Ie.Z)({},Qn,kn)):((!$t||$t(or.current,Qn))&&(fr.current+=1),or.current=Qn,me.createElement(Ye.Provider,{value:fr.current},me.createElement(Gt,(0,Ie.Z)({},Qn,kn))))};return mn?me.forwardRef(Bn):Bn}function It(Gt,$t){var mn=(0,Fe.Yr)(Gt),Bn=function(Qn,Gn){var kn=mn?{ref:Gn}:{};return et(),me.createElement(Gt,(0,Ie.Z)({},Qn,kn))};return mn?me.memo(me.forwardRef(Bn),$t):me.memo(Bn,$t)}return{makeImmutable:St,responseImmutable:It,useImmutableMark:et}}var ie=Ce(),y=ie.makeImmutable,a=ie.responseImmutable,ee=ie.useImmutableMark,E=Ce(),te=E.makeImmutable,ne=E.responseImmutable,oe=E.useImmutableMark,he=Le(),_e=he;function Pe(Ye,et){var St=me.useRef(0);St.current+=1;var It=me.useRef(Ye),Gt=[];Object.keys(Ye||{}).map(function(mn){var Bn;(Ye==null?void 0:Ye[mn])!==((Bn=It.current)===null||Bn===void 0?void 0:Bn[mn])&&Gt.push(mn)}),It.current=Ye;var $t=me.useRef([]);return Gt.length&&($t.current=Gt),me.useDebugValue(St.current),me.useDebugValue($t.current.join(", ")),et&&console.log("".concat(et,":"),St.current,$t.current),St.current}var Qe=null,Ze=me.memo(function(){var Ye=Pe();return me.createElement("h1",null,"Render Times: ",Ye)});Ze.displayName="RenderBlock";var Ve=we(76190),nt=we(33885),De=we(20068),Bt=we(92310),ke=we.n(Bt),Ot=we(80547),it=we(97938),rt=we(48736),wt=me.createContext({renderWithProps:!1}),dt=wt,pt="RC_TABLE_KEY";function st(Ye){return Ye==null?[]:Array.isArray(Ye)?Ye:[Ye]}function ft(Ye){var et=[],St={};return Ye.forEach(function(It){for(var Gt=It||{},$t=Gt.key,mn=Gt.dataIndex,Bn=$t||st(mn).join("-")||pt;St[Bn];)Bn="".concat(Bn,"_next");St[Bn]=!0,et.push(Bn)}),et}function rn(Ye){return Ye!=null}function fn(Ye){return Ye&&(0,Ve.Z)(Ye)==="object"&&!Array.isArray(Ye)&&!me.isValidElement(Ye)}function Et(Ye,et,St,It,Gt,$t){var mn=me.useContext(dt),Bn=oe(),dn=(0,Ot.Z)(function(){if(rn(It))return[It];var Qn=et==null||et===""?[]:Array.isArray(et)?et:[et],Gn=(0,it.Z)(Ye,Qn),kn=Gn,fr=void 0;if(Gt){var or=Gt(Gn,Ye,St);fn(or)?(kn=or.children,fr=or.props,mn.renderWithProps=!0):kn=or}return[kn,fr]},[Bn,Ye,It,et,Gt,St],function(Qn,Gn){if($t){var kn=(0,ze.Z)(Qn,2),fr=kn[1],or=(0,ze.Z)(Gn,2),ur=or[1];return $t(ur,fr)}return mn.renderWithProps?!0:!(0,je.Z)(Qn,Gn,!0)});return dn}function Jt(Ye,et,St,It){var Gt=Ye+et-1;return Ye<=It&&Gt>=St}function Ln(Ye,et){return de(_e,function(St){var It=Jt(Ye,et||1,St.hoverStartRow,St.hoverEndRow);return[It,St.onHover]})}var Hn=function(et){var St=et.ellipsis,It=et.rowType,Gt=et.children,$t,mn=St===!0?{showTitle:!0}:St;return mn&&(mn.showTitle||It==="header")&&(typeof Gt=="string"||typeof Gt=="number"?$t=Gt.toString():me.isValidElement(Gt)&&typeof Gt.props.children=="string"&&($t=Gt.props.children)),$t};function un(Ye){var et,St,It,Gt,$t,mn,Bn,dn,Qn=Ye.component,Gn=Ye.children,kn=Ye.ellipsis,fr=Ye.scope,or=Ye.prefixCls,ur=Ye.className,jr=Ye.align,Fr=Ye.record,Qr=Ye.render,_r=Ye.dataIndex,Vr=Ye.renderIndex,wa=Ye.shouldCellUpdate,Ua=Ye.index,ca=Ye.rowType,Ka=Ye.colSpan,ao=Ye.rowSpan,Jr=Ye.fixLeft,ga=Ye.fixRight,ra=Ye.firstFixLeft,$r=Ye.lastFixLeft,Aa=Ye.firstFixRight,Ta=Ye.lastFixRight,So=Ye.appendNode,to=Ye.additionalProps,Oa=to===void 0?{}:to,uo=Ye.isSticky,Io="".concat(or,"-cell"),Ei=de(_e,["supportSticky","allColumnsFixedLeft"]),$o=Ei.supportSticky,Ri=Ei.allColumnsFixedLeft,tA=Et(Fr,_r,Vr,Gn,Qr,wa),oo=(0,ze.Z)(tA,2),PA=oo[0],ni=oo[1],Fi={},Li=typeof Jr=="number"&&$o,$s=typeof ga=="number"&&$o;Li&&(Fi.position="sticky",Fi.left=Jr),$s&&(Fi.position="sticky",Fi.right=ga);var oa=(et=(St=(It=ni==null?void 0:ni.colSpan)!==null&&It!==void 0?It:Oa.colSpan)!==null&&St!==void 0?St:Ka)!==null&&et!==void 0?et:1,ja=(Gt=($t=(mn=ni==null?void 0:ni.rowSpan)!==null&&mn!==void 0?mn:Oa.rowSpan)!==null&&$t!==void 0?$t:ao)!==null&&Gt!==void 0?Gt:1,ka=Ln(Ua,ja),Ba=(0,ze.Z)(ka,2),ri=Ba[0],Sa=Ba[1],Ja=function(Kr){var ks;Fr&&Sa(Ua,Ua+ja-1),Oa==null||(ks=Oa.onMouseEnter)===null||ks===void 0||ks.call(Oa,Kr)},Oo=function(Kr){var ks;Fr&&Sa(-1,-1),Oa==null||(ks=Oa.onMouseLeave)===null||ks===void 0||ks.call(Oa,Kr)};if(oa===0||ja===0)return null;var ko=(Bn=Oa.title)!==null&&Bn!==void 0?Bn:Hn({rowType:ca,ellipsis:kn,children:PA}),Es=ke()(Io,ur,(dn={},(0,De.Z)(dn,"".concat(Io,"-fix-left"),Li&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-left-first"),ra&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-left-last"),$r&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-left-all"),$r&&Ri&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-right"),$s&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-right-first"),Aa&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-right-last"),Ta&&$o),(0,De.Z)(dn,"".concat(Io,"-ellipsis"),kn),(0,De.Z)(dn,"".concat(Io,"-with-append"),So),(0,De.Z)(dn,"".concat(Io,"-fix-sticky"),(Li||$s)&&uo&&$o),(0,De.Z)(dn,"".concat(Io,"-row-hover"),!ni&&ri),dn),Oa.className,ni==null?void 0:ni.className),pA={};jr&&(pA.textAlign=jr);var kl=(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},Fi),Oa.style),pA),ni==null?void 0:ni.style),vA=PA;return(0,Ve.Z)(vA)==="object"&&!Array.isArray(vA)&&!me.isValidElement(vA)&&(vA=null),kn&&($r||Aa)&&(vA=me.createElement("span",{className:"".concat(Io,"-content")},vA)),me.createElement(Qn,(0,Ie.Z)({},ni,Oa,{className:Es,style:kl,title:ko,scope:fr,onMouseEnter:Ja,onMouseLeave:Oo,colSpan:oa!==1?oa:null,rowSpan:ja!==1?ja:null}),So,vA)}var Vn=me.memo(un);function yt(Ye,et,St,It,Gt,$t){var mn=St[Ye]||{},Bn=St[et]||{},dn,Qn;mn.fixed==="left"?dn=It.left[Gt==="rtl"?et:Ye]:Bn.fixed==="right"&&(Qn=It.right[Gt==="rtl"?Ye:et]);var Gn=!1,kn=!1,fr=!1,or=!1,ur=St[et+1],jr=St[Ye-1],Fr=!($t!=null&&$t.children);if(Gt==="rtl"){if(dn!==void 0){var Qr=jr&&jr.fixed==="left";or=!Qr&&Fr}else if(Qn!==void 0){var _r=ur&&ur.fixed==="right";fr=!_r&&Fr}}else if(dn!==void 0){var Vr=ur&&ur.fixed==="left";Gn=!Vr&&Fr}else if(Qn!==void 0){var wa=jr&&jr.fixed==="right";kn=!wa&&Fr}return{fixLeft:dn,fixRight:Qn,lastFixLeft:Gn,firstFixRight:kn,lastFixRight:fr,firstFixLeft:or,isSticky:It.isSticky}}var Kn=me.createContext({}),er=Kn;function Re(Ye){var et=Ye.className,St=Ye.index,It=Ye.children,Gt=Ye.colSpan,$t=Gt===void 0?1:Gt,mn=Ye.rowSpan,Bn=Ye.align,dn=de(_e,["prefixCls","direction"]),Qn=dn.prefixCls,Gn=dn.direction,kn=me.useContext(er),fr=kn.scrollColumnIndex,or=kn.stickyOffsets,ur=kn.flattenColumns,jr=kn.columns,Fr=St+$t-1,Qr=Fr+1===fr?$t+1:$t,_r=yt(St,St+Qr-1,ur,or,Gn,jr==null?void 0:jr[St]);return me.createElement(Vn,(0,Ie.Z)({className:et,index:St,component:"td",prefixCls:Qn,record:null,dataIndex:null,align:Bn,colSpan:Qr,rowSpan:mn,render:function(){return It}},_r))}var Kt=we(75931),Te=["children"];function pe(Ye){var et=Ye.children,St=(0,Kt.Z)(Ye,Te);return me.createElement("tr",St,et)}function ce(Ye){var et=Ye.children;return et}ce.Row=pe,ce.Cell=Re;var ye=ce;function qe(Ye){var et=Ye.children,St=Ye.stickyOffsets,It=Ye.flattenColumns,Gt=Ye.columns,$t=de(_e,"prefixCls"),mn=It.length-1,Bn=It[mn],dn=me.useMemo(function(){return{stickyOffsets:St,flattenColumns:It,scrollColumnIndex:Bn!=null&&Bn.scrollbar?mn:null,columns:Gt}},[Bn,It,mn,St,Gt]);return me.createElement(er.Provider,{value:dn},me.createElement("tfoot",{className:"".concat($t,"-summary")},et))}var gt=ne(qe),Me=ye,Xe=we(70425),Pt=we(29301),ct=we(29194),ot=we(24514),kt=we(75152),_n=we(26112);function _t(Ye,et,St,It,Gt,$t,mn){Ye.push({record:et,indent:St,index:mn});var Bn=$t(et),dn=Gt==null?void 0:Gt.has(Bn);if(et&&Array.isArray(et[It])&&dn)for(var Qn=0;Qn<et[It].length;Qn+=1)_t(Ye,et[It][Qn],St+1,It,Gt,$t,Qn)}function nn(Ye,et,St,It){var Gt=me.useMemo(function(){if(St!=null&&St.size){for(var $t=[],mn=0;mn<(Ye==null?void 0:Ye.length);mn+=1){var Bn=Ye[mn];_t($t,Bn,0,et,St,It,mn)}return $t}return Ye==null?void 0:Ye.map(function(dn,Qn){return{record:dn,indent:0,index:Qn}})},[Ye,et,St,It]);return Gt}function Nt(Ye){var et=Ye.prefixCls,St=Ye.children,It=Ye.component,Gt=Ye.cellComponent,$t=Ye.className,mn=Ye.expanded,Bn=Ye.colSpan,dn=Ye.isEmpty,Qn=de(_e,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Gn=Qn.scrollbarSize,kn=Qn.fixHeader,fr=Qn.fixColumn,or=Qn.componentWidth,ur=Qn.horizonScroll,jr=St;return(dn?ur&&or:fr)&&(jr=me.createElement("div",{style:{width:or-(kn?Gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(et,"-expanded-row-fixed")},jr)),me.createElement(It,{className:$t,style:{display:mn?null:"none"}},me.createElement(Vn,{component:Gt,prefixCls:et,colSpan:Bn},jr))}var yn=Nt;function Xt(Ye,et,St,It){var Gt=de(_e,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),$t=Gt.flattenColumns,mn=Gt.expandableType,Bn=Gt.expandedKeys,dn=Gt.childrenColumnName,Qn=Gt.onTriggerExpand,Gn=Gt.rowExpandable,kn=Gt.onRow,fr=Gt.expandRowByClick,or=Gt.rowClassName,ur=mn==="nest",jr=mn==="row"&&(!Gn||Gn(Ye)),Fr=jr||ur,Qr=Bn&&Bn.has(et),_r=dn&&Ye&&Ye[dn],Vr=(0,Xe.useEvent)(Qn),wa=kn==null?void 0:kn(Ye,St),Ua=wa==null?void 0:wa.onClick,ca=function(ga){fr&&Fr&&Qn(Ye,ga);for(var ra=arguments.length,$r=new Array(ra>1?ra-1:0),Aa=1;Aa<ra;Aa++)$r[Aa-1]=arguments[Aa];Ua==null||Ua.apply(void 0,[ga].concat($r))},Ka;typeof or=="string"?Ka=or:typeof or=="function"&&(Ka=or(Ye,St,It));var ao=ft($t);return(0,nt.Z)((0,nt.Z)({},Gt),{},{columnsKey:ao,nestExpandable:ur,expanded:Qr,hasNestChildren:_r,record:Ye,onTriggerExpand:Vr,rowSupportExpand:jr,expandable:Fr,rowProps:(0,nt.Z)((0,nt.Z)({},wa),{},{className:ke()(Ka,wa==null?void 0:wa.className),onClick:ca})})}function Jn(Ye,et,St,It,Gt){var $t=Ye.record,mn=Ye.prefixCls,Bn=Ye.columnsKey,dn=Ye.fixedInfoList,Qn=Ye.expandIconColumnIndex,Gn=Ye.nestExpandable,kn=Ye.indentSize,fr=Ye.expandIcon,or=Ye.expanded,ur=Ye.hasNestChildren,jr=Ye.onTriggerExpand,Fr=Bn[St],Qr=dn[St],_r;St===(Qn||0)&&Gn&&(_r=me.createElement(me.Fragment,null,me.createElement("span",{style:{paddingLeft:"".concat(kn*It,"px")},className:"".concat(mn,"-row-indent indent-level-").concat(It)}),fr({prefixCls:mn,expanded:or,expandable:ur,record:$t,onExpand:jr})));var Vr;return et.onCell&&(Vr=et.onCell($t,Gt)),{key:Fr,fixedInfo:Qr,appendCellNode:_r,additionalCellProps:Vr||{}}}function hr(Ye){var et=Ye.className,St=Ye.style,It=Ye.record,Gt=Ye.index,$t=Ye.renderIndex,mn=Ye.rowKey,Bn=Ye.indent,dn=Bn===void 0?0:Bn,Qn=Ye.rowComponent,Gn=Ye.cellComponent,kn=Ye.scopeCellComponent,fr=Xt(It,mn,Gt,dn),or=fr.prefixCls,ur=fr.flattenColumns,jr=fr.expandedRowClassName,Fr=fr.expandedRowRender,Qr=fr.rowProps,_r=fr.expanded,Vr=fr.rowSupportExpand,wa=me.useState(!1),Ua=(0,ze.Z)(wa,2),ca=Ua[0],Ka=Ua[1];me.useEffect(function(){_r&&Ka(!0)},[_r]);var ao=me.createElement(Qn,(0,Ie.Z)({},Qr,{"data-row-key":mn,className:ke()(et,"".concat(or,"-row"),"".concat(or,"-row-level-").concat(dn),Qr==null?void 0:Qr.className),style:(0,nt.Z)((0,nt.Z)({},St),Qr==null?void 0:Qr.style)}),ur.map(function($r,Aa){var Ta=$r.render,So=$r.dataIndex,to=$r.className,Oa=Jn(fr,$r,Aa,dn,Gt),uo=Oa.key,Io=Oa.fixedInfo,Ei=Oa.appendCellNode,$o=Oa.additionalCellProps;return me.createElement(Vn,(0,Ie.Z)({className:to,ellipsis:$r.ellipsis,align:$r.align,scope:$r.rowScope,component:$r.rowScope?kn:Gn,prefixCls:or,key:uo,record:It,index:Gt,renderIndex:$t,dataIndex:So,render:Ta,shouldCellUpdate:$r.shouldCellUpdate},Io,{appendNode:Ei,additionalProps:$o}))})),Jr;if(Vr&&(ca||_r)){var ga=Fr(It,Gt,dn+1,_r),ra=jr&&jr(It,Gt,dn);Jr=me.createElement(yn,{expanded:_r,className:ke()("".concat(or,"-expanded-row"),"".concat(or,"-expanded-row-level-").concat(dn+1),ra),prefixCls:or,component:Qn,cellComponent:Gn,colSpan:ur.length,isEmpty:!1},ga)}return me.createElement(me.Fragment,null,ao,Jr)}hr.displayName="BodyRow";var tr=ne(hr);function Dr(Ye){var et=Ye.columnKey,St=Ye.onColumnResize,It=me.useRef();return me.useEffect(function(){It.current&&St(et,It.current.offsetWidth)},[]),me.createElement(Pt.Z,{data:et},me.createElement("td",{ref:It,style:{padding:0,border:0,height:0}},me.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Or(Ye){var et=Ye.prefixCls,St=Ye.columnsKey,It=Ye.onColumnResize;return me.createElement("tr",{"aria-hidden":"true",className:"".concat(et,"-measure-row"),style:{height:0,fontSize:0}},me.createElement(Pt.Z.Collection,{onBatchResize:function($t){$t.forEach(function(mn){var Bn=mn.data,dn=mn.size;It(Bn,dn.offsetWidth)})}},St.map(function(Gt){return me.createElement(Dr,{key:Gt,columnKey:Gt,onColumnResize:It})})))}function la(Ye){var et=Ye.data,St=Ye.measureColumnWidth,It=de(_e,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Gt=It.prefixCls,$t=It.getComponent,mn=It.onColumnResize,Bn=It.flattenColumns,dn=It.getRowKey,Qn=It.expandedKeys,Gn=It.childrenColumnName,kn=It.emptyNode,fr=nn(et,Gn,Qn,dn),or=me.useRef({renderWithProps:!1}),ur=$t(["body","wrapper"],"tbody"),jr=$t(["body","row"],"tr"),Fr=$t(["body","cell"],"td"),Qr=$t(["body","cell"],"th"),_r;et.length?_r=fr.map(function(wa,Ua){var ca=wa.record,Ka=wa.indent,ao=wa.index,Jr=dn(ca,Ua);return me.createElement(tr,{key:Jr,rowKey:Jr,record:ca,index:Ua,renderIndex:ao,rowComponent:jr,cellComponent:Fr,scopeCellComponent:Qr,getRowKey:dn,indent:Ka})}):_r=me.createElement(yn,{expanded:!0,className:"".concat(Gt,"-placeholder"),prefixCls:Gt,component:jr,cellComponent:Fr,colSpan:Bn.length,isEmpty:!0},kn);var Vr=ft(Bn);return me.createElement(dt.Provider,{value:or.current},me.createElement(ur,{className:"".concat(Gt,"-tbody")},St&&me.createElement(Or,{prefixCls:Gt,columnsKey:Vr,onColumnResize:mn}),_r))}la.displayName="Body";var sa=ne(la),Hr=["expandable"],br="RC_TABLE_INTERNAL_COL_DEFINE";function Tr(Ye){var et=Ye.expandable,St=(0,Kt.Z)(Ye,Hr),It;return"expandable"in Ye?It=(0,nt.Z)((0,nt.Z)({},St),et):It=St,It.showExpandColumn===!1&&(It.expandIconColumnIndex=-1),It}var ta=["columnType"];function _a(Ye){for(var et=Ye.colWidths,St=Ye.columns,It=Ye.columCount,Gt=[],$t=It||St.length,mn=!1,Bn=$t-1;Bn>=0;Bn-=1){var dn=et[Bn],Qn=St&&St[Bn],Gn=Qn&&Qn[br];if(dn||Gn||mn){var kn=Gn||{},fr=kn.columnType,or=(0,Kt.Z)(kn,ta);Gt.unshift(me.createElement("col",(0,Ie.Z)({key:Bn,style:{width:dn}},or))),mn=!0}}return me.createElement("colgroup",null,Gt)}var fo=_a,ea=we(94480),pi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _i(Ye,et){return(0,me.useMemo)(function(){for(var St=[],It=0;It<et;It+=1){var Gt=Ye[It];if(Gt!==void 0)St[It]=Gt;else return null}return St},[Ye.join("_"),et])}var na=me.forwardRef(function(Ye,et){var St=Ye.className,It=Ye.noData,Gt=Ye.columns,$t=Ye.flattenColumns,mn=Ye.colWidths,Bn=Ye.columCount,dn=Ye.stickyOffsets,Qn=Ye.direction,Gn=Ye.fixHeader,kn=Ye.stickyTopOffset,fr=Ye.stickyBottomOffset,or=Ye.stickyClassName,ur=Ye.onScroll,jr=Ye.maxContentScroll,Fr=Ye.children,Qr=(0,Kt.Z)(Ye,pi),_r=de(_e,["prefixCls","scrollbarSize","isSticky"]),Vr=_r.prefixCls,wa=_r.scrollbarSize,Ua=_r.isSticky,ca=Ua&&!Gn?0:wa,Ka=me.useRef(null),ao=me.useCallback(function(to){(0,Fe.mH)(et,to),(0,Fe.mH)(Ka,to)},[]);me.useEffect(function(){var to;function Oa(uo){var Io=uo,Ei=Io.currentTarget,$o=Io.deltaX;$o&&(ur({currentTarget:Ei,scrollLeft:Ei.scrollLeft+$o}),uo.preventDefault())}return(to=Ka.current)===null||to===void 0||to.addEventListener("wheel",Oa),function(){var uo;(uo=Ka.current)===null||uo===void 0||uo.removeEventListener("wheel",Oa)}},[]);var Jr=me.useMemo(function(){return $t.every(function(to){return to.width})},[$t]),ga=$t[$t.length-1],ra={fixed:ga?ga.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Vr,"-cell-scrollbar")}}},$r=(0,me.useMemo)(function(){return ca?[].concat((0,ea.Z)(Gt),[ra]):Gt},[ca,Gt]),Aa=(0,me.useMemo)(function(){return ca?[].concat((0,ea.Z)($t),[ra]):$t},[ca,$t]),Ta=(0,me.useMemo)(function(){var to=dn.right,Oa=dn.left;return(0,nt.Z)((0,nt.Z)({},dn),{},{left:Qn==="rtl"?[].concat((0,ea.Z)(Oa.map(function(uo){return uo+ca})),[0]):Oa,right:Qn==="rtl"?to:[].concat((0,ea.Z)(to.map(function(uo){return uo+ca})),[0]),isSticky:Ua})},[ca,dn,Ua]),So=_i(mn,Bn);return me.createElement("div",{style:(0,nt.Z)({overflow:"hidden"},Ua?{top:kn,bottom:fr}:{}),ref:ao,className:ke()(St,(0,De.Z)({},or,!!or))},me.createElement("table",{style:{tableLayout:"fixed",visibility:It||So?null:"hidden"}},(!It||!jr||Jr)&&me.createElement(fo,{colWidths:So?[].concat((0,ea.Z)(So),[ca]):[],columCount:Bn+1,columns:Aa}),Fr((0,nt.Z)((0,nt.Z)({},Qr),{},{stickyOffsets:Ta,columns:$r,flattenColumns:Aa}))))});na.displayName="FixedHolder";var ln=me.memo(na);function zA(Ye){var et=Ye.cells,St=Ye.stickyOffsets,It=Ye.flattenColumns,Gt=Ye.rowComponent,$t=Ye.cellComponent,mn=Ye.tdCellComponent,Bn=Ye.onHeaderRow,dn=Ye.index,Qn=de(_e,["prefixCls","direction"]),Gn=Qn.prefixCls,kn=Qn.direction,fr;Bn&&(fr=Bn(et.map(function(ur){return ur.column}),dn));var or=ft(et.map(function(ur){return ur.column}));return me.createElement(Gt,fr,et.map(function(ur,jr){var Fr=ur.column,Qr=yt(ur.colStart,ur.colEnd,It,St,kn,Fr),_r;return Fr&&Fr.onHeaderCell&&(_r=ur.column.onHeaderCell(Fr)),me.createElement(Vn,(0,Ie.Z)({},ur,{scope:Fr.title?ur.colSpan>1?"colgroup":"col":null,ellipsis:Fr.ellipsis,align:Fr.align,component:Fr.title?$t:mn,prefixCls:Gn,key:or[jr]},Qr,{additionalProps:_r,rowType:"header"}))}))}zA.displayName="HeaderRow";var fA=zA;function UA(Ye){var et=[];function St(mn,Bn){var dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[dn]=et[dn]||[];var Qn=Bn,Gn=mn.filter(Boolean).map(function(kn){var fr={key:kn.key,className:kn.className||"",children:kn.title,column:kn,colStart:Qn},or=1,ur=kn.children;return ur&&ur.length>0&&(or=St(ur,Qn,dn+1).reduce(function(jr,Fr){return jr+Fr},0),fr.hasSubColumns=!0),"colSpan"in kn&&(or=kn.colSpan),"rowSpan"in kn&&(fr.rowSpan=kn.rowSpan),fr.colSpan=or,fr.colEnd=fr.colStart+or-1,et[dn].push(fr),Qn+=or,or});return Gn}St(Ye,0);for(var It=et.length,Gt=function(Bn){et[Bn].forEach(function(dn){!("rowSpan"in dn)&&!dn.hasSubColumns&&(dn.rowSpan=It-Bn)})},$t=0;$t<It;$t+=1)Gt($t);return et}function ds(Ye){var et=Ye.stickyOffsets,St=Ye.columns,It=Ye.flattenColumns,Gt=Ye.onHeaderRow,$t=de(_e,["prefixCls","getComponent"]),mn=$t.prefixCls,Bn=$t.getComponent,dn=me.useMemo(function(){return UA(St)},[St]),Qn=Bn(["header","wrapper"],"thead"),Gn=Bn(["header","row"],"tr"),kn=Bn(["header","cell"],"th"),fr=Bn(["header","cell"],"td");return me.createElement(Qn,{className:"".concat(mn,"-thead")},dn.map(function(or,ur){var jr=me.createElement(fA,{key:ur,flattenColumns:It,cells:or,stickyOffsets:et,rowComponent:Gn,cellComponent:kn,tdCellComponent:fr,onHeaderRow:Gt,index:ur});return jr}))}var wi=ne(ds),Gs=we(11592);function SA(Ye){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Ye*parseFloat(et)/100:null}function Ji(Ye,et){return me.useMemo(function(){if(et&&et>0){var St=0,It=0;Ye.forEach(function(Qn){var Gn=SA(et,Qn.width);Gn?St+=Gn:It+=1});var Gt=et-St,$t=It,mn=Gt/It,Bn=0,dn=Ye.map(function(Qn){var Gn=(0,nt.Z)({},Qn),kn=SA(et,Gn.width);if(kn)Gn.width=kn;else{var fr=Math.floor(mn);Gn.width=$t===1?Gt:fr,Gt-=fr,$t-=1}return Bn+=Gn.width,Gn});return[dn,Bn]}return[Ye,et]},[Ye,et])}var En=["children"],Dn=["fixed"];function vn(Ye){return(0,Gs.Z)(Ye).filter(function(et){return me.isValidElement(et)}).map(function(et){var St=et.key,It=et.props,Gt=It.children,$t=(0,Kt.Z)(It,En),mn=(0,nt.Z)({key:St},$t);return Gt&&(mn.children=vn(Gt)),mn})}function kr(Ye){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ye.filter(function(St){return St&&(0,Ve.Z)(St)==="object"}).reduce(function(St,It,Gt){var $t=It.fixed,mn=$t===!0?"left":$t,Bn="".concat(et,"-").concat(Gt),dn=It.children;return dn&&dn.length>0?[].concat((0,ea.Z)(St),(0,ea.Z)(kr(dn,Bn).map(function(Qn){return(0,nt.Z)({fixed:mn},Qn)}))):[].concat((0,ea.Z)(St),[(0,nt.Z)((0,nt.Z)({key:Bn},It),{},{fixed:mn})])},[])}function Ea(Ye){for(var et=!0,St=0;St<Ye.length;St+=1){var It=Ye[St];if(et&&It.fixed!=="left")et=!1;else if(!et&&It.fixed==="left"){warning(!1,"Index ".concat(St-1," of `columns` missing `fixed='left'` prop."));break}}for(var Gt=!0,$t=Ye.length-1;$t>=0;$t-=1){var mn=Ye[$t];if(Gt&&mn.fixed!=="right")Gt=!1;else if(!Gt&&mn.fixed==="right"){warning(!1,"Index ".concat($t+1," of `columns` missing `fixed='right'` prop."));break}}}function Zr(Ye){return Ye.map(function(et){var St=et.fixed,It=(0,Kt.Z)(et,Dn),Gt=St;return St==="left"?Gt="right":St==="right"&&(Gt="left"),(0,nt.Z)({fixed:Gt},It)})}function si(Ye,et){var St=Ye.prefixCls,It=Ye.columns,Gt=Ye.children,$t=Ye.expandable,mn=Ye.expandedKeys,Bn=Ye.columnTitle,dn=Ye.getRowKey,Qn=Ye.onTriggerExpand,Gn=Ye.expandIcon,kn=Ye.rowExpandable,fr=Ye.expandIconColumnIndex,or=Ye.direction,ur=Ye.expandRowByClick,jr=Ye.columnWidth,Fr=Ye.fixed,Qr=Ye.scrollWidth,_r=me.useMemo(function(){return It||vn(Gt)},[It,Gt]),Vr=me.useMemo(function(){if($t){var ga,ra=_r.slice();if(!ra.includes(Oe)){var $r=fr||0;$r>=0&&ra.splice($r,0,Oe)}var Aa=ra.indexOf(Oe);ra=ra.filter(function(Oa,uo){return Oa!==Oe||uo===Aa});var Ta=_r[Aa],So;(Fr==="left"||Fr)&&!fr?So="left":(Fr==="right"||Fr)&&fr===_r.length?So="right":So=Ta?Ta.fixed:null;var to=(ga={},(0,De.Z)(ga,br,{className:"".concat(St,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,De.Z)(ga,"title",Bn),(0,De.Z)(ga,"fixed",So),(0,De.Z)(ga,"className","".concat(St,"-row-expand-icon-cell")),(0,De.Z)(ga,"width",jr),(0,De.Z)(ga,"render",function(uo,Io,Ei){var $o=dn(Io,Ei),Ri=mn.has($o),tA=kn?kn(Io):!0,oo=Gn({prefixCls:St,expanded:Ri,expandable:tA,record:Io,onExpand:Qn});return ur?me.createElement("span",{onClick:function(ni){return ni.stopPropagation()}},oo):oo}),ga);return ra.map(function(Oa){return Oa===Oe?to:Oa})}return _r.filter(function(Oa){return Oa!==Oe})},[$t,_r,dn,mn,Gn,or]),wa=me.useMemo(function(){var ga=Vr;return et&&(ga=et(ga)),ga.length||(ga=[{render:function(){return null}}]),ga},[et,Vr,or]),Ua=me.useMemo(function(){return or==="rtl"?Zr(kr(wa)):kr(wa)},[wa,or,Qr]),ca=Ji(Ua,Qr),Ka=(0,ze.Z)(ca,2),ao=Ka[0],Jr=Ka[1];return[wa,ao,Jr]}var vo=si;function Ko(Ye){var et,St=Ye.prefixCls,It=Ye.record,Gt=Ye.onExpand,$t=Ye.expanded,mn=Ye.expandable,Bn="".concat(St,"-row-expand-icon");if(!mn)return me.createElement("span",{className:ke()(Bn,"".concat(St,"-row-spaced"))});var dn=function(Gn){Gt(It,Gn),Gn.stopPropagation()};return me.createElement("span",{className:ke()(Bn,(et={},(0,De.Z)(et,"".concat(St,"-row-expanded"),$t),(0,De.Z)(et,"".concat(St,"-row-collapsed"),!$t),et)),onClick:dn})}function _o(Ye,et,St){var It=[];function Gt($t){($t||[]).forEach(function(mn,Bn){It.push(et(mn,Bn)),Gt(mn[St])})}return Gt(Ye),It}function yA(Ye,et,St){var It=Tr(Ye),Gt=It.expandIcon,$t=It.expandedRowKeys,mn=It.defaultExpandedRowKeys,Bn=It.defaultExpandAllRows,dn=It.expandedRowRender,Qn=It.onExpand,Gn=It.onExpandedRowsChange,kn=It.childrenColumnName,fr=Gt||Ko,or=kn||"children",ur=me.useMemo(function(){return dn?"row":Ye.expandable&&Ye.internalHooks===be&&Ye.expandable.__PARENT_RENDER_ICON__||et.some(function(Ua){return Ua&&(0,Ve.Z)(Ua)==="object"&&Ua[or]})?"nest":!1},[!!dn,et]),jr=me.useState(function(){return mn||(Bn?_o(et,St,or):[])}),Fr=(0,ze.Z)(jr,2),Qr=Fr[0],_r=Fr[1],Vr=me.useMemo(function(){return new Set($t||Qr||[])},[$t,Qr]),wa=me.useCallback(function(Ua){var ca=St(Ua,et.indexOf(Ua)),Ka,ao=Vr.has(ca);ao?(Vr.delete(ca),Ka=(0,ea.Z)(Vr)):Ka=[].concat((0,ea.Z)(Vr),[ca]),_r(Ka),Qn&&Qn(!ao,Ua),Gn&&Gn(Ka)},[St,Vr,et,Qn,Gn]);return[It,ur,Vr,fr,or,wa]}function gr(Ye,et,St,It){var Gt=Ye.map(function($t,mn){return yt(mn,mn,Ye,et,St,It==null?void 0:It[mn])});return(0,Ot.Z)(function(){return Gt},[Gt],function($t,mn){return!(0,je.Z)($t,mn)})}function No(Ye){var et=(0,me.useRef)(Ye),St=(0,me.useState)({}),It=(0,ze.Z)(St,2),Gt=It[1],$t=(0,me.useRef)(null),mn=(0,me.useRef)([]);function Bn(dn){mn.current.push(dn);var Qn=Promise.resolve();$t.current=Qn,Qn.then(function(){if($t.current===Qn){var Gn=mn.current,kn=et.current;mn.current=[],Gn.forEach(function(fr){et.current=fr(et.current)}),$t.current=null,kn!==et.current&&Gt({})}})}return(0,me.useEffect)(function(){return function(){$t.current=null}},[]),[et.current,Bn]}function Di(Ye){var et=(0,me.useRef)(Ye||null),St=(0,me.useRef)();function It(){window.clearTimeout(St.current)}function Gt(mn){et.current=mn,It(),St.current=window.setTimeout(function(){et.current=null,St.current=void 0},100)}function $t(){return et.current}return(0,me.useEffect)(function(){return It},[]),[Gt,$t]}function fi(){var Ye=me.useState(-1),et=(0,ze.Z)(Ye,2),St=et[0],It=et[1],Gt=me.useState(-1),$t=(0,ze.Z)(Gt,2),mn=$t[0],Bn=$t[1],dn=me.useCallback(function(Qn,Gn){It(Qn),Bn(Gn)},[]);return[St,mn,dn]}var Si=we(47273),Do=(0,Si.Z)()?window:null;function hA(Ye,et){var St=(0,Ve.Z)(Ye)==="object"?Ye:{},It=St.offsetHeader,Gt=It===void 0?0:It,$t=St.offsetSummary,mn=$t===void 0?0:$t,Bn=St.offsetScroll,dn=Bn===void 0?0:Bn,Qn=St.getContainer,Gn=Qn===void 0?function(){return Do}:Qn,kn=Gn()||Do;return me.useMemo(function(){var fr=!!Ye;return{isSticky:fr,stickyClassName:fr?"".concat(et,"-sticky-holder"):"",offsetHeader:Gt,offsetSummary:mn,offsetScroll:dn,container:kn}},[dn,Gt,mn,et,kn])}function MA(Ye,et,St){var It=(0,me.useMemo)(function(){for(var Gt=[],$t=[],mn=0,Bn=0,dn=0;dn<et;dn+=1)if(St==="rtl"){$t[dn]=Bn,Bn+=Ye[dn]||0;var Qn=et-dn-1;Gt[Qn]=mn,mn+=Ye[Qn]||0}else{Gt[dn]=mn,mn+=Ye[dn]||0;var Gn=et-dn-1;$t[Gn]=Bn,Bn+=Ye[Gn]||0}return{left:Gt,right:$t}},[Ye,et,St]);return It}var GA=MA;function Ds(Ye){var et=Ye.className,St=Ye.children;return me.createElement("div",{className:et},St)}var $A=Ds,yi=we(8224),gs=we(55468),Fl=function(et,St){var It,Gt,$t=et.scrollBodyRef,mn=et.onScroll,Bn=et.offsetScroll,dn=et.container,Qn=de(_e,"prefixCls"),Gn=((It=$t.current)===null||It===void 0?void 0:It.scrollWidth)||0,kn=((Gt=$t.current)===null||Gt===void 0?void 0:Gt.clientWidth)||0,fr=Gn&&kn*(kn/Gn),or=me.useRef(),ur=No({scrollLeft:0,isHiddenScrollBar:!1}),jr=(0,ze.Z)(ur,2),Fr=jr[0],Qr=jr[1],_r=me.useRef({delta:0,x:0}),Vr=me.useState(!1),wa=(0,ze.Z)(Vr,2),Ua=wa[0],ca=wa[1],Ka=function(){ca(!1)},ao=function(Aa){Aa.persist(),_r.current.delta=Aa.pageX-Fr.scrollLeft,_r.current.x=0,ca(!0),Aa.preventDefault()},Jr=function(Aa){var Ta,So=Aa||((Ta=window)===null||Ta===void 0?void 0:Ta.event),to=So.buttons;if(!Ua||to===0){Ua&&ca(!1);return}var Oa=_r.current.x+Aa.pageX-_r.current.x-_r.current.delta;Oa<=0&&(Oa=0),Oa+fr>=kn&&(Oa=kn-fr),mn({scrollLeft:Oa/kn*(Gn+2)}),_r.current.x=Aa.pageX},ga=function(){if($t.current){var Aa=(0,gs.os)($t.current).top,Ta=Aa+$t.current.offsetHeight,So=dn===window?document.documentElement.scrollTop+window.innerHeight:(0,gs.os)(dn).top+dn.clientHeight;Ta-(0,kt.Z)()<=So||Aa>=So-Bn?Qr(function(to){return(0,nt.Z)((0,nt.Z)({},to),{},{isHiddenScrollBar:!0})}):Qr(function(to){return(0,nt.Z)((0,nt.Z)({},to),{},{isHiddenScrollBar:!1})})}},ra=function(Aa){Qr(function(Ta){return(0,nt.Z)((0,nt.Z)({},Ta),{},{scrollLeft:Aa/Gn*kn||0})})};return me.useImperativeHandle(St,function(){return{setScrollLeft:ra}}),me.useEffect(function(){var $r=(0,yi.Z)(document.body,"mouseup",Ka,!1),Aa=(0,yi.Z)(document.body,"mousemove",Jr,!1);return ga(),function(){$r.remove(),Aa.remove()}},[fr,Ua]),me.useEffect(function(){var $r=(0,yi.Z)(dn,"scroll",ga,!1),Aa=(0,yi.Z)(window,"resize",ga,!1);return function(){$r.remove(),Aa.remove()}},[dn]),me.useEffect(function(){Fr.isHiddenScrollBar||Qr(function($r){var Aa=$t.current;return Aa?(0,nt.Z)((0,nt.Z)({},$r),{},{scrollLeft:Aa.scrollLeft/Aa.scrollWidth*Aa.clientWidth}):$r})},[Fr.isHiddenScrollBar]),Gn<=kn||!fr||Fr.isHiddenScrollBar?null:me.createElement("div",{style:{height:(0,kt.Z)(),width:kn,bottom:Bn},className:"".concat(Qn,"-sticky-scroll")},me.createElement("div",{onMouseDown:ao,ref:or,className:ke()("".concat(Qn,"-sticky-scroll-bar"),(0,De.Z)({},"".concat(Qn,"-sticky-scroll-bar-active"),Ua)),style:{width:"".concat(fr,"px"),transform:"translate3d(".concat(Fr.scrollLeft,"px, 0, 0)")}}))},ZA=me.forwardRef(Fl);function Pr(Ye){return null}var Dc=Pr;function Su(Ye){return null}var Qu=Su,tl="rc-table",Rr=[],Na={};function Po(){return"No Data"}function Fa(Ye){var et,St=(0,nt.Z)({rowKey:"key",prefixCls:tl,emptyText:Po},Ye),It=St.prefixCls,Gt=St.className,$t=St.rowClassName,mn=St.style,Bn=St.data,dn=St.rowKey,Qn=St.scroll,Gn=St.tableLayout,kn=St.direction,fr=St.title,or=St.footer,ur=St.summary,jr=St.caption,Fr=St.id,Qr=St.showHeader,_r=St.components,Vr=St.emptyText,wa=St.onRow,Ua=St.onHeaderRow,ca=St.internalHooks,Ka=St.transformColumns,ao=St.internalRefs,Jr=St.tailor,ga=St.sticky,ra=Bn||Rr,$r=!!ra.length,Aa=ca===be,Ta=me.useCallback(function(ci,Ti){return(0,it.Z)(_r,ci)||Ti},[_r]),So=me.useMemo(function(){return typeof dn=="function"?dn:function(ci){var Ti=ci&&ci[dn];return Ti}},[dn]),to=Ta(["body"]),Oa=fi(),uo=(0,ze.Z)(Oa,3),Io=uo[0],Ei=uo[1],$o=uo[2],Ri=yA(St,ra,So),tA=(0,ze.Z)(Ri,6),oo=tA[0],PA=tA[1],ni=tA[2],Fi=tA[3],Li=tA[4],$s=tA[5],oa=Qn==null?void 0:Qn.x,ja=me.useState(0),ka=(0,ze.Z)(ja,2),Ba=ka[0],ri=ka[1],Sa=vo((0,nt.Z)((0,nt.Z)((0,nt.Z)({},St),oo),{},{expandable:!!oo.expandedRowRender,columnTitle:oo.columnTitle,expandedKeys:ni,getRowKey:So,onTriggerExpand:$s,expandIcon:Fi,expandIconColumnIndex:oo.expandIconColumnIndex,direction:kn,scrollWidth:Aa&&Jr&&typeof oa=="number"?oa:null}),Aa?Ka:null),Ja=(0,ze.Z)(Sa,3),Oo=Ja[0],ko=Ja[1],Es=Ja[2],pA=Es!=null?Es:oa,kl=me.useMemo(function(){return{columns:Oo,flattenColumns:ko}},[Oo,ko]),vA=me.useRef(),sl=me.useRef(),Kr=me.useRef(),ks=me.useRef(),fc=me.useRef(),ai=me.useState(!1),Uo=(0,ze.Z)(ai,2),$i=Uo[0],TA=Uo[1],Qi=me.useState(!1),yo=(0,ze.Z)(Qi,2),Fs=yo[0],vs=yo[1],Zs=No(new Map),Rs=(0,ze.Z)(Zs,2),js=Rs[0],Bl=Rs[1],Cu=ft(ko),Sl=Cu.map(function(ci){return js.get(ci)}),nA=me.useMemo(function(){return Sl},[Sl.join("_")]),is=GA(nA,ko.length,kn),EA=Qn&&rn(Qn.y),Zi=Qn&&rn(pA)||!!oo.fixed,Yl=Zi&&ko.some(function(ci){var Ti=ci.fixed;return Ti}),fu=me.useRef(),Pu=hA(ga,It),Jl=Pu.isSticky,hd=Pu.offsetHeader,Md=Pu.offsetSummary,Ro=Pu.offsetScroll,Ii=Pu.stickyClassName,As=Pu.container,Hi=me.useMemo(function(){return ur==null?void 0:ur(ra)},[ur,ra]),ss=(EA||Jl)&&me.isValidElement(Hi)&&Hi.type===ye&&Hi.props.fixed,Bs,rA,ql;EA&&(rA={overflowY:"scroll",maxHeight:Qn.y}),Zi&&(Bs={overflowX:"auto"},EA||(rA={overflowY:"hidden"}),ql={width:pA===!0?"auto":pA,minWidth:"100%"});var md=me.useCallback(function(ci,Ti){(0,ct.Z)(vA.current)&&Bl(function(Rl){if(Rl.get(ci)!==Ti){var Zu=new Map(Rl);return Zu.set(ci,Ti),Zu}return Rl})},[]),pd=Di(null),Hd=(0,ze.Z)(pd,2),wg=Hd[0],bg=Hd[1];function Zc(ci,Ti){Ti&&(typeof Ti=="function"?Ti(ci):Ti.scrollLeft!==ci&&(Ti.scrollLeft=ci,Ti.scrollLeft!==ci&&setTimeout(function(){Ti.scrollLeft=ci},0)))}var eu=(0,at.Z)(function(ci){var Ti=ci.currentTarget,Rl=ci.scrollLeft,Zu=kn==="rtl",Wu=typeof Rl=="number"?Rl:Ti.scrollLeft,Ff=Ti||Na;if(!bg()||bg()===Ff){var Lg;wg(Ff),Zc(Wu,sl.current),Zc(Wu,Kr.current),Zc(Wu,fc.current),Zc(Wu,(Lg=fu.current)===null||Lg===void 0?void 0:Lg.setScrollLeft)}var Ig=Ti||sl.current;if(Ig){var Ug=Ig.scrollWidth,Ng=Ig.clientWidth;if(Ug===Ng){TA(!1),vs(!1);return}Zu?(TA(-Wu<Ug-Ng),vs(-Wu>0)):(TA(Wu>0),vs(Wu<Ug-Ng))}}),hc=function(){Zi&&Kr.current?eu({currentTarget:Kr.current}):(TA(!1),vs(!1))},Cg=function(Ti){var Rl=Ti.width;Rl!==Ba&&(hc(),ri(vA.current?vA.current.offsetWidth:Rl))},Kd=me.useRef(!1);me.useEffect(function(){Kd.current&&hc()},[Zi,Bn,Oo.length]),me.useEffect(function(){Kd.current=!0},[]);var Pg=me.useState(0),zd=(0,ze.Z)(Pg,2),mc=zd[0],Gd=zd[1],wf=me.useState(!0),Eg=(0,ze.Z)(wf,2),hi=Eg[0],$d=Eg[1];me.useEffect(function(){(!Jr||!Aa)&&(Kr.current instanceof Element?Gd((0,kt.o)(Kr.current).width):Gd((0,kt.o)(ks.current).width)),$d((0,ot.G)("position","sticky"))},[]),me.useEffect(function(){Aa&&ao&&(ao.body.current=Kr.current)});var bf=me.useCallback(function(ci){return me.createElement(me.Fragment,null,me.createElement(wi,ci),ss==="top"&&me.createElement(gt,ci,Hi))},[ss,Hi]),oh=me.useCallback(function(ci){return me.createElement(gt,ci,Hi)},[Hi]),Cf=Ta(["table"],"table"),Fg=me.useMemo(function(){return Gn||(Yl?pA==="max-content"?"auto":"fixed":EA||Jl||ko.some(function(ci){var Ti=ci.ellipsis;return Ti})?"fixed":"auto")},[EA,Yl,ko,Gn,Jl]),xg,Zd={colWidths:nA,columCount:ko.length,stickyOffsets:is,onHeaderRow:Ua,fixHeader:EA,scroll:Qn},Pf=me.useMemo(function(){return $r?null:typeof Vr=="function"?Vr():Vr},[$r,Vr]),$u=me.createElement(sa,{data:ra,measureColumnWidth:EA||Zi||Jl}),_g=me.createElement(fo,{colWidths:ko.map(function(ci){var Ti=ci.width;return Ti}),columns:ko}),Wd=jr!=null?me.createElement("caption",{className:"".concat(It,"-caption")},jr):void 0,Ef=(0,_n.Z)(St,{data:!0}),vd=(0,_n.Z)(St,{aria:!0});if(EA||Jl){var Vd;typeof to=="function"?(Vd=to(ra,{scrollbarSize:mc,ref:Kr,onScroll:eu}),Zd.colWidths=ko.map(function(ci,Ti){var Rl=ci.width,Zu=Ti===ko.length-1?Rl-mc:Rl;return typeof Zu=="number"&&!Number.isNaN(Zu)?Zu:0})):Vd=me.createElement("div",{style:(0,nt.Z)((0,nt.Z)({},Bs),rA),onScroll:eu,ref:Kr,className:ke()("".concat(It,"-body"))},me.createElement(Cf,(0,Ie.Z)({style:(0,nt.Z)((0,nt.Z)({},ql),{},{tableLayout:Fg})},vd),Wd,_g,$u,!ss&&Hi&&me.createElement(gt,{stickyOffsets:is,flattenColumns:ko,columns:Oo},Hi)));var ls=(0,nt.Z)((0,nt.Z)((0,nt.Z)({noData:!ra.length,maxContentScroll:Zi&&pA==="max-content"},Zd),kl),{},{direction:kn,stickyClassName:Ii,onScroll:eu});xg=me.createElement(me.Fragment,null,Qr!==!1&&me.createElement(ln,(0,Ie.Z)({},ls,{stickyTopOffset:hd,className:"".concat(It,"-header"),ref:sl}),bf),Vd,ss&&ss!=="top"&&me.createElement(ln,(0,Ie.Z)({},ls,{stickyBottomOffset:Md,className:"".concat(It,"-summary"),ref:fc}),oh),Jl&&me.createElement(ZA,{ref:fu,offsetScroll:Ro,scrollBodyRef:Kr,onScroll:eu,container:As}))}else xg=me.createElement("div",{style:(0,nt.Z)((0,nt.Z)({},Bs),rA),className:ke()("".concat(It,"-content")),onScroll:eu,ref:Kr},me.createElement(Cf,(0,Ie.Z)({style:(0,nt.Z)((0,nt.Z)({},ql),{},{tableLayout:Fg})},vd),Wd,_g,Qr!==!1&&me.createElement(wi,(0,Ie.Z)({},Zd,kl)),$u,Hi&&me.createElement(gt,{stickyOffsets:is,flattenColumns:ko,columns:Oo},Hi)));var Eu=me.createElement("div",(0,Ie.Z)({className:ke()(It,Gt,(et={},(0,De.Z)(et,"".concat(It,"-rtl"),kn==="rtl"),(0,De.Z)(et,"".concat(It,"-ping-left"),$i),(0,De.Z)(et,"".concat(It,"-ping-right"),Fs),(0,De.Z)(et,"".concat(It,"-layout-fixed"),Gn==="fixed"),(0,De.Z)(et,"".concat(It,"-fixed-header"),EA),(0,De.Z)(et,"".concat(It,"-fixed-column"),Yl),(0,De.Z)(et,"".concat(It,"-scroll-horizontal"),Zi),(0,De.Z)(et,"".concat(It,"-has-fix-left"),ko[0]&&ko[0].fixed),(0,De.Z)(et,"".concat(It,"-has-fix-right"),ko[ko.length-1]&&ko[ko.length-1].fixed==="right"),et)),style:mn,id:Fr,ref:vA},Ef),fr&&me.createElement($A,{className:"".concat(It,"-title")},fr(ra)),me.createElement("div",{ref:ks,className:"".concat(It,"-container")},xg),or&&me.createElement($A,{className:"".concat(It,"-footer")},or(ra)));Zi&&(Eu=me.createElement(Pt.Z,{onResize:Cg},Eu));var Xd=gr(ko,is,kn,Oo),ih=me.useMemo(function(){return{scrollX:pA,prefixCls:It,getComponent:Ta,scrollbarSize:mc,direction:kn,fixedInfoList:Xd,isSticky:Jl,supportSticky:hi,componentWidth:Ba,fixHeader:EA,fixColumn:Yl,horizonScroll:Zi,tableLayout:Fg,rowClassName:$t,expandedRowClassName:oo.expandedRowClassName,expandIcon:Fi,expandableType:PA,expandRowByClick:oo.expandRowByClick,expandedRowRender:oo.expandedRowRender,onTriggerExpand:$s,expandIconColumnIndex:oo.expandIconColumnIndex,indentSize:oo.indentSize,allColumnsFixedLeft:ko.every(function(ci){return ci.fixed==="left"}),emptyNode:Pf,columns:Oo,flattenColumns:ko,onColumnResize:md,hoverStartRow:Io,hoverEndRow:Ei,onHover:$o,rowExpandable:oo.rowExpandable,onRow:wa,getRowKey:So,expandedKeys:ni,childrenColumnName:Li}},[pA,It,Ta,mc,kn,Xd,Jl,hi,Ba,EA,Yl,Zi,Fg,$t,oo.expandedRowClassName,Fi,PA,oo.expandRowByClick,oo.expandedRowRender,$s,oo.expandIconColumnIndex,oo.indentSize,Pf,Oo,ko,md,Io,Ei,$o,oo.rowExpandable,wa,So,ni,Li]);return me.createElement(_e.Provider,{value:ih},Eu)}function Ga(Ye){return te(Fa,Ye)}var vi=Ga();vi.EXPAND_COLUMN=Oe,vi.INTERNAL_HOOKS=be,vi.Column=Dc,vi.ColumnGroup=Qu,vi.Summary=Me;var va=vi,ts=we(48911),ns=Le(null),yu=Le(null);function Os(Ye,et,St){var It=et||1;return St[Ye+It]-(St[Ye]||0)}function Oc(Ye){var et=Ye.rowInfo,St=Ye.column,It=Ye.colIndex,Gt=Ye.indent,$t=Ye.index,mn=Ye.renderIndex,Bn=Ye.record,dn=Ye.style,Qn=Ye.className,Gn=Ye.inverse,kn=Ye.getHeight,fr=St.render,or=St.dataIndex,ur=St.className,jr=St.width,Fr=de(yu,["columnsOffset"]),Qr=Fr.columnsOffset,_r=Jn(et,St,It,Gt,$t),Vr=_r.key,wa=_r.fixedInfo,Ua=_r.appendCellNode,ca=_r.additionalCellProps,Ka=ca.style,ao=ca.colSpan,Jr=ao===void 0?1:ao,ga=ca.rowSpan,ra=ga===void 0?1:ga,$r=It-1,Aa=Os($r,Jr,Qr),Ta=Jr>1?jr-Aa:0,So=(0,nt.Z)((0,nt.Z)((0,nt.Z)({},Ka),dn),{},{flex:"0 0 ".concat(Aa,"px"),width:"".concat(Aa,"px"),marginRight:Ta,pointerEvents:"auto"}),to=me.useMemo(function(){return Gn?ra<=1:Jr===0||ra===0||ra>1},[ra,Jr,Gn]);to?So.visibility="hidden":Gn&&(So.height=kn==null?void 0:kn(ra));var Oa=to?function(){return null}:fr,uo={};return(ra===0||Jr===0)&&(uo.rowSpan=1,uo.colSpan=1),me.createElement(Vn,(0,Ie.Z)({className:ke()(ur,Qn),ellipsis:St.ellipsis,align:St.align,scope:St.rowScope,component:"div",prefixCls:et.prefixCls,key:Vr,record:Bn,index:$t,renderIndex:mn,dataIndex:or,render:Oa,shouldCellUpdate:St.shouldCellUpdate},wa,{appendNode:Ua,additionalProps:(0,nt.Z)((0,nt.Z)({},ca),{},{style:So},uo)}))}var Qc=Oc,xl=["data","index","className","rowKey","style","extra","getHeight"],_l=me.forwardRef(function(Ye,et){var St=Ye.data,It=Ye.index,Gt=Ye.className,$t=Ye.rowKey,mn=Ye.style,Bn=Ye.extra,dn=Ye.getHeight,Qn=(0,Kt.Z)(Ye,xl),Gn=St.record,kn=St.indent,fr=St.index,or=de(_e,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ur=or.scrollX,jr=or.flattenColumns,Fr=or.prefixCls,Qr=or.fixColumn,_r=or.componentWidth,Vr=Xt(Gn,$t,It,kn),wa=Vr.rowSupportExpand,Ua=Vr.expanded,ca=Vr.rowProps,Ka=Vr.expandedRowRender,ao=Vr.expandedRowClassName,Jr;if(wa&&Ua){var ga=Ka(Gn,It,kn+1,Ua),ra=ao==null?void 0:ao(Gn,It,kn),$r={};Qr&&($r={style:(0,De.Z)({},"--virtual-width","".concat(_r,"px"))});var Aa="".concat(Fr,"-expanded-row-cell");Jr=me.createElement("div",{className:ke()("".concat(Fr,"-expanded-row"),"".concat(Fr,"-expanded-row-level-").concat(kn+1),ra)},me.createElement(Vn,{component:"div",prefixCls:Fr,className:ke()(Aa,(0,De.Z)({},"".concat(Aa,"-fixed"),Qr)),additionalProps:$r},ga))}var Ta=(0,nt.Z)((0,nt.Z)({},mn),{},{width:ur});Bn&&(Ta.position="absolute",Ta.pointerEvents="none");var So=me.createElement("div",(0,Ie.Z)({},ca,Qn,{ref:wa?null:et,className:ke()(Gt,"".concat(Fr,"-row"),ca==null?void 0:ca.className,(0,De.Z)({},"".concat(Fr,"-row-extra"),Bn)),style:(0,nt.Z)((0,nt.Z)({},Ta),ca==null?void 0:ca.style)}),jr.map(function(to,Oa){return me.createElement(Qc,{key:Oa,rowInfo:Vr,column:to,colIndex:Oa,indent:kn,index:It,renderIndex:fr,record:Gn,inverse:Bn,getHeight:dn})}));return wa?me.createElement("div",{ref:et},So,Jr):So}),Tc=ne(_l),Tu=Tc,ku=me.forwardRef(function(Ye,et){var St=Ye.data,It=Ye.onScroll,Gt=de(_e,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),$t=Gt.flattenColumns,mn=Gt.onColumnResize,Bn=Gt.getRowKey,dn=Gt.expandedKeys,Qn=Gt.prefixCls,Gn=Gt.childrenColumnName,kn=Gt.emptyNode,fr=Gt.scrollX,or=de(ns),ur=or.scrollY,jr=or.listItemHeight,Fr=me.useRef(),Qr=nn(St,Gn,dn,Bn),_r=me.useMemo(function(){var Jr=0;return $t.map(function(ga){var ra=ga.width,$r=ga.key;return Jr+=ra,[$r,ra,Jr]})},[$t]),Vr=me.useMemo(function(){return _r.map(function(Jr){return Jr[2]})},[_r]);me.useEffect(function(){_r.forEach(function(Jr){var ga=(0,ze.Z)(Jr,2),ra=ga[0],$r=ga[1];mn(ra,$r)})},[_r]),me.useImperativeHandle(et,function(){var Jr={};return Object.defineProperty(Jr,"scrollLeft",{get:function(){var ra;return((ra=Fr.current)===null||ra===void 0?void 0:ra.getScrollInfo().x)||0},set:function(ra){var $r;($r=Fr.current)===null||$r===void 0||$r.scrollTo({left:ra})}}),Jr});var wa=function(ga,ra){var $r,Aa=($r=Qr[ra])===null||$r===void 0?void 0:$r.record,Ta=ga.onCell;if(Ta){var So,to=Ta(Aa,ra);return(So=to==null?void 0:to.rowSpan)!==null&&So!==void 0?So:1}return 1},Ua=function(ga){var ra=ga.start,$r=ga.end,Aa=ga.getSize,Ta=ga.offsetY;if($r<0)return null;for(var So=$t.filter(function(oa){return wa(oa,ra)===0}),to=ra,Oa=function(ja){if(So=So.filter(function(ka){return wa(ka,ja)===0}),!So.length)return to=ja,"break"},uo=ra;uo>=0;uo-=1){var Io=Oa(uo);if(Io==="break")break}for(var Ei=$t.filter(function(oa){return wa(oa,$r)!==1}),$o=$r,Ri=function(ja){if(Ei=Ei.filter(function(ka){return wa(ka,ja)!==1}),!Ei.length)return $o=Math.max(ja-1,$r),"break"},tA=$r;tA<Qr.length;tA+=1){var oo=Ri(tA);if(oo==="break")break}for(var PA=[],ni=function(ja){var ka=Qr[ja];if(!ka)return"continue";$t.some(function(Ba){return wa(Ba,ja)>1})&&PA.push(ja)},Fi=to;Fi<=$o;Fi+=1)var Li=ni(Fi);var $s=PA.map(function(oa){var ja=Qr[oa],ka=Bn(ja.record,oa),Ba=function(Ja){var Oo=oa+Ja-1,ko=Bn(Qr[Oo].record,Oo),Es=Aa(ka,ko);return Es.bottom-Es.top},ri=Aa(ka);return me.createElement(Tu,{key:oa,data:ja,rowKey:ka,index:oa,style:{top:-Ta+ri.top},extra:!0,getHeight:Ba})});return $s},ca=me.useMemo(function(){return{columnsOffset:Vr}},[Vr]),Ka="".concat(Qn,"-tbody"),ao;return Qr.length?ao=me.createElement(ts.Z,{fullHeight:!1,ref:Fr,className:ke()(Ka,"".concat(Ka,"-virtual")),height:ur,itemHeight:jr||24,data:Qr,itemKey:function(ga){return Bn(ga.record)},scrollWidth:fr,onVirtualScroll:function(ga){var ra=ga.x;It({scrollLeft:ra})},extraRender:Ua},function(Jr,ga,ra){var $r=Bn(Jr.record,ga);return me.createElement(Tu,(0,Ie.Z)({data:Jr,rowKey:$r,index:ga},ra))}):ao=me.createElement("div",{className:ke()("".concat(Qn,"-placeholder"))},me.createElement(Vn,{component:"div",prefixCls:Qn},kn)),me.createElement(yu.Provider,{value:ca},ao)}),Au=ne(ku),fl=Au,Ru=function(et,St){var It=St.ref,Gt=St.onScroll;return me.createElement(fl,{ref:It,data:et,onScroll:Gt})},An=100;function kc(Ye){var et=Ye.columns,St=Ye.scroll,It=Ye.prefixCls,Gt=It===void 0?tl:It,$t=Ye.className,mn=Ye.listItemHeight,Bn=St||{},dn=Bn.x,Qn=Bn.y;typeof dn!="number"&&(dn=((et||[]).length+1)*An),typeof Qn!="number"&&(Qn=500);var Gn=me.useMemo(function(){return{scrollY:Qn,listItemHeight:mn}},[Qn,mn]);return me.createElement(ns.Provider,{value:Gn},me.createElement(va,(0,Ie.Z)({},Ye,{className:ke()($t,"".concat(Gt,"-virtual")),scroll:(0,nt.Z)((0,nt.Z)({},St),{},{x:dn}),components:{body:Ru},columns:et,internalHooks:be,tailor:!0})))}function ju(Ye){return te(kc,Ye)}var cd=ju(),su=null;function fs(Ye){return null}var lu=fs;function rs(Ye){return null}var NA=rs,Ac=we(2738),Gl=we(68031),wA=we(36355),WA=we(93891),Rc=we(19716),uu=we(8628),jc=we(31724),wn=we(58421),Dt=we(71418),en=we(88088);function On(Ye){return function(St){let{prefixCls:It,onExpand:Gt,record:$t,expanded:mn,expandable:Bn}=St;const dn=`${It}-row-expand-icon`;return me.createElement("button",{type:"button",onClick:Qn=>{Gt($t,Qn),Qn.stopPropagation()},className:ke()(dn,{[`${dn}-spaced`]:!Bn,[`${dn}-expanded`]:Bn&&mn,[`${dn}-collapsed`]:Bn&&!mn}),"aria-label":mn?Ye.collapse:Ye.expand,"aria-expanded":mn})}}var sr=On;function Xr(Ye,et){return"key"in Ye&&Ye.key!==void 0&&Ye.key!==null?Ye.key:Ye.dataIndex?Array.isArray(Ye.dataIndex)?Ye.dataIndex.join("."):Ye.dataIndex:et}function Ir(Ye,et){return et?`${et}-${Ye}`:`${Ye}`}function mr(Ye,et){return typeof Ye=="function"?Ye(et):Ye}function xr(Ye,et){const St=mr(Ye,et);return Object.prototype.toString.call(St)==="[object Object]"?"":St}var da={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Ha=da,To=we(7657),ua=function(et,St){return me.createElement(To.Z,(0,Ie.Z)({},et,{ref:St,icon:Ha}))},zi=me.forwardRef(ua),li=zi,Bi=we(56762);function ma(Ye){const et=me.useRef(Ye),St=(0,Bi.Z)();return[()=>et.current,It=>{et.current=It,St()}]}var Da=we(3113),Ma=we(24905),La=we(38854),Eo=we(64165),Bo=we(20834),VA=we(40875),hl=we(5112),iA=we(17574),XA=we(47472),nl=we(92832);function rl(Ye){let{value:et,onChange:St,filterSearch:It,tablePrefixCls:Gt,locale:$t}=Ye;return It?me.createElement("div",{className:`${Gt}-filter-dropdown-search`},me.createElement(nl.default,{prefix:me.createElement(XA.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:St,value:et,htmlSize:1,className:`${Gt}-filter-dropdown-search-input`})):null}var al=rl,Pn=we(10228);const In=Ye=>{const{keyCode:et}=Ye;et===Pn.Z.ENTER&&Ye.stopPropagation()};var Wr=me.forwardRef((Ye,et)=>me.createElement("div",{className:Ye.className,onClick:St=>St.stopPropagation(),onKeyDown:In,ref:et},Ye.children));function xa(Ye){let et=[];return(Ye||[]).forEach(St=>{let{value:It,children:Gt}=St;et.push(It),Gt&&(et=[].concat((0,ea.Z)(et),(0,ea.Z)(xa(Gt))))}),et}function Lo(Ye){return Ye.some(et=>{let{children:St}=et;return St})}function Pi(Ye,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Ye.trim().toLowerCase()):!1}function eo(Ye){let{filters:et,prefixCls:St,filteredKeys:It,filterMultiple:Gt,searchValue:$t,filterSearch:mn}=Ye;return et.map((Bn,dn)=>{const Qn=String(Bn.value);if(Bn.children)return{key:Qn||dn,label:Bn.text,popupClassName:`${St}-dropdown-submenu`,children:eo({filters:Bn.children,prefixCls:St,filteredKeys:It,filterMultiple:Gt,searchValue:$t,filterSearch:mn})};const Gn=Gt?Ma.default:hl.ZP,kn={key:Bn.value!==void 0?Qn:dn,label:me.createElement(me.Fragment,null,me.createElement(Gn,{checked:It.includes(Qn)}),me.createElement("span",null,Bn.text))};return $t.trim()?typeof mn=="function"?mn($t,Bn)?kn:null:Pi($t,Bn.text)?kn:null:kn})}function qi(Ye){var et,St;const{tablePrefixCls:It,prefixCls:Gt,column:$t,dropdownPrefixCls:mn,columnKey:Bn,filterMultiple:dn,filterMode:Qn="menu",filterSearch:Gn=!1,filterState:kn,triggerFilter:fr,locale:or,children:ur,getPopupContainer:jr}=Ye,{filterDropdownOpen:Fr,onFilterDropdownOpenChange:Qr,filterResetToDefaultFilteredValue:_r,defaultFilteredValue:Vr,filterDropdownVisible:wa,onFilterDropdownVisibleChange:Ua}=$t,[ca,Ka]=me.useState(!1),ao=!!(kn&&(!((et=kn.filteredKeys)===null||et===void 0)&&et.length||kn.forceFiltered)),Jr=Sa=>{Ka(Sa),Qr==null||Qr(Sa),Ua==null||Ua(Sa)},ga=(St=Fr!=null?Fr:wa)!==null&&St!==void 0?St:ca,ra=kn==null?void 0:kn.filteredKeys,[$r,Aa]=ma(ra||[]),Ta=Sa=>{let{selectedKeys:Ja}=Sa;Aa(Ja)},So=(Sa,Ja)=>{let{node:Oo,checked:ko}=Ja;Ta(dn?{selectedKeys:Sa}:{selectedKeys:ko&&Oo.key?[Oo.key]:[]})};me.useEffect(()=>{ca&&Ta({selectedKeys:ra||[]})},[ra]);const[to,Oa]=me.useState([]),uo=Sa=>{Oa(Sa)},[Io,Ei]=me.useState(""),$o=Sa=>{const{value:Ja}=Sa.target;Ei(Ja)};me.useEffect(()=>{ca||Ei("")},[ca]);const Ri=Sa=>{const Ja=Sa&&Sa.length?Sa:null;if(Ja===null&&(!kn||!kn.filteredKeys)||(0,je.Z)(Ja,kn==null?void 0:kn.filteredKeys,!0))return null;fr({column:$t,key:Bn,filteredKeys:Ja})},tA=()=>{Jr(!1),Ri($r())},oo=function(){let{confirm:Sa,closeDropdown:Ja}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Sa&&Ri([]),Ja&&Jr(!1),Ei(""),Aa(_r?(Vr||[]).map(Oo=>String(Oo)):[])},PA=function(){let{closeDropdown:Sa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Sa&&Jr(!1),Ri($r())},ni=Sa=>{Sa&&ra!==void 0&&Aa(ra||[]),Jr(Sa),!Sa&&!$t.filterDropdown&&tA()},Fi=ke()({[`${mn}-menu-without-submenu`]:!Lo($t.filters||[])}),Li=Sa=>{if(Sa.target.checked){const Ja=xa($t==null?void 0:$t.filters).map(Oo=>String(Oo));Aa(Ja)}else Aa([])},$s=Sa=>{let{filters:Ja}=Sa;return(Ja||[]).map((Oo,ko)=>{const Es=String(Oo.value),pA={title:Oo.text,key:Oo.value!==void 0?Es:ko};return Oo.children&&(pA.children=$s({filters:Oo.children})),pA})},oa=Sa=>{var Ja;return Object.assign(Object.assign({},Sa),{text:Sa.title,value:Sa.key,children:((Ja=Sa.children)===null||Ja===void 0?void 0:Ja.map(Oo=>oa(Oo)))||[]})};let ja;if(typeof $t.filterDropdown=="function")ja=$t.filterDropdown({prefixCls:`${mn}-custom`,setSelectedKeys:Sa=>Ta({selectedKeys:Sa}),selectedKeys:$r(),confirm:PA,clearFilters:oo,filters:$t.filters,visible:ga,close:()=>{Jr(!1)}});else if($t.filterDropdown)ja=$t.filterDropdown;else{const Sa=$r()||[],Ja=()=>($t.filters||[]).length===0?me.createElement(Eo.Z,{image:Eo.Z.PRESENTED_IMAGE_SIMPLE,description:or.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Qn==="tree"?me.createElement(me.Fragment,null,me.createElement(al,{filterSearch:Gn,value:Io,onChange:$o,tablePrefixCls:It,locale:or}),me.createElement("div",{className:`${It}-filter-dropdown-tree`},dn?me.createElement(Ma.default,{checked:Sa.length===xa($t.filters).length,indeterminate:Sa.length>0&&Sa.length<xa($t.filters).length,className:`${It}-filter-dropdown-checkall`,onChange:Li},or.filterCheckall):null,me.createElement(iA.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:dn,checkStrictly:!dn,className:`${mn}-menu`,onCheck:So,checkedKeys:Sa,selectedKeys:Sa,showIcon:!1,treeData:$s({filters:$t.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Io.trim()?ko=>typeof Gn=="function"?Gn(Io,oa(ko)):Pi(Io,ko.title):void 0}))):me.createElement(me.Fragment,null,me.createElement(al,{filterSearch:Gn,value:Io,onChange:$o,tablePrefixCls:It,locale:or}),me.createElement(Bo.default,{selectable:!0,multiple:dn,prefixCls:`${mn}-menu`,className:Fi,onSelect:Ta,onDeselect:Ta,selectedKeys:Sa,getPopupContainer:jr,openKeys:to,onOpenChange:uo,items:eo({filters:$t.filters||[],filterSearch:Gn,prefixCls:Gt,filteredKeys:$r(),filterMultiple:dn,searchValue:Io})})),Oo=()=>_r?(0,je.Z)((Vr||[]).map(ko=>String(ko)),Sa,!0):Sa.length===0;ja=me.createElement(me.Fragment,null,Ja(),me.createElement("div",{className:`${Gt}-dropdown-btns`},me.createElement(Da.ZP,{type:"link",size:"small",disabled:Oo(),onClick:()=>oo()},or.filterReset),me.createElement(Da.ZP,{type:"primary",size:"small",onClick:tA},or.filterConfirm)))}$t.filterDropdown&&(ja=me.createElement(VA.J,{selectable:void 0},ja));const ka=()=>me.createElement(Wr,{className:`${Gt}-dropdown`},ja);let Ba;typeof $t.filterIcon=="function"?Ba=$t.filterIcon(ao):$t.filterIcon?Ba=$t.filterIcon:Ba=me.createElement(li,null);const{direction:ri}=me.useContext(wA.E_);return me.createElement("div",{className:`${Gt}-column`},me.createElement("span",{className:`${It}-column-title`},ur),me.createElement(La.Z,{dropdownRender:ka,trigger:["click"],open:ga,onOpenChange:ni,getPopupContainer:jr,placement:ri==="rtl"?"bottomLeft":"bottomRight"},me.createElement("span",{role:"button",tabIndex:-1,className:ke()(`${Gt}-trigger`,{active:ao}),onClick:Sa=>{Sa.stopPropagation()}},Ba)))}var Mu=qi;function cu(Ye,et,St){let It=[];return(Ye||[]).forEach((Gt,$t)=>{var mn;const Bn=Ir($t,St);if(Gt.filters||"filterDropdown"in Gt||"onFilter"in Gt)if("filteredValue"in Gt){let dn=Gt.filteredValue;"filterDropdown"in Gt||(dn=(mn=dn==null?void 0:dn.map(String))!==null&&mn!==void 0?mn:dn),It.push({column:Gt,key:Xr(Gt,Bn),filteredKeys:dn,forceFiltered:Gt.filtered})}else It.push({column:Gt,key:Xr(Gt,Bn),filteredKeys:et&&Gt.defaultFilteredValue?Gt.defaultFilteredValue:void 0,forceFiltered:Gt.filtered});"children"in Gt&&(It=[].concat((0,ea.Z)(It),(0,ea.Z)(cu(Gt.children,et,Bn))))}),It}function Ll(Ye,et,St,It,Gt,$t,mn,Bn){return St.map((dn,Qn)=>{const Gn=Ir(Qn,Bn),{filterMultiple:kn=!0,filterMode:fr,filterSearch:or}=dn;let ur=dn;if(ur.filters||ur.filterDropdown){const jr=Xr(ur,Gn),Fr=It.find(Qr=>{let{key:_r}=Qr;return jr===_r});ur=Object.assign(Object.assign({},ur),{title:Qr=>me.createElement(Mu,{tablePrefixCls:Ye,prefixCls:`${Ye}-filter`,dropdownPrefixCls:et,column:ur,columnKey:jr,filterState:Fr,filterMultiple:kn,filterMode:fr,filterSearch:or,triggerFilter:$t,locale:Gt,getPopupContainer:mn},mr(dn.title,Qr))})}return"children"in ur&&(ur=Object.assign(Object.assign({},ur),{children:Ll(Ye,et,ur.children,It,Gt,$t,mn,Gn)})),ur})}function il(Ye){const et={};return Ye.forEach(St=>{let{key:It,filteredKeys:Gt,column:$t}=St;const{filters:mn,filterDropdown:Bn}=$t;if(Bn)et[It]=Gt||null;else if(Array.isArray(Gt)){const dn=xa(mn);et[It]=dn.filter(Qn=>Gt.includes(String(Qn)))}else et[It]=null}),et}function Rd(Ye,et){return et.reduce((St,It)=>{const{column:{onFilter:Gt,filters:$t},filteredKeys:mn}=It;return Gt&&mn&&mn.length?St.filter(Bn=>mn.some(dn=>{const Qn=xa($t),Gn=Qn.findIndex(fr=>String(fr)===String(dn)),kn=Gn!==-1?Qn[Gn]:dn;return Gt(kn,Bn)})):St},Ye)}const Il=Ye=>Ye.flatMap(et=>"children"in et?[et].concat((0,ea.Z)(Il(et.children||[]))):[et]);function AA(Ye){let{prefixCls:et,dropdownPrefixCls:St,mergedColumns:It,onFilterChange:Gt,getPopupContainer:$t,locale:mn}=Ye;const Bn=me.useMemo(()=>Il(It||[]),[It]),[dn,Qn]=me.useState(()=>cu(Bn,!0)),Gn=me.useMemo(()=>{const ur=cu(Bn,!1);if(ur.length===0)return ur;let jr=!0,Fr=!0;if(ur.forEach(Qr=>{let{filteredKeys:_r}=Qr;_r!==void 0?jr=!1:Fr=!1}),jr){const Qr=(Bn||[]).map((_r,Vr)=>Xr(_r,Ir(Vr)));return dn.filter(_r=>{let{key:Vr}=_r;return Qr.includes(Vr)}).map(_r=>{const Vr=Bn[Qr.findIndex(wa=>wa===_r.key)];return Object.assign(Object.assign({},_r),{column:Object.assign(Object.assign({},_r.column),Vr),forceFiltered:Vr.filtered})})}return ur},[Bn,dn]),kn=me.useMemo(()=>il(Gn),[Gn]),fr=ur=>{const jr=Gn.filter(Fr=>{let{key:Qr}=Fr;return Qr!==ur.key});jr.push(ur),Qn(jr),Gt(il(jr),jr)};return[ur=>Ll(et,St,ur,Gn,mn,fr,$t),Gn,kn]}var sc=AA;function DA(Ye,et,St){const It=me.useRef({});function Gt($t){if(!It.current||It.current.data!==Ye||It.current.childrenColumnName!==et||It.current.getRowKey!==St){let Bn=function(dn){dn.forEach((Qn,Gn)=>{const kn=St(Qn,Gn);mn.set(kn,Qn),Qn&&typeof Qn=="object"&&et in Qn&&Bn(Qn[et]||[])})};const mn=new Map;Bn(Ye),It.current={data:Ye,childrenColumnName:et,kvMap:mn,getRowKey:St}}return It.current.kvMap.get($t)}return[Gt]}var Hu=we(50371),ml=function(Ye,et){var St={};for(var It in Ye)Object.prototype.hasOwnProperty.call(Ye,It)&&et.indexOf(It)<0&&(St[It]=Ye[It]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,It=Object.getOwnPropertySymbols(Ye);Gt<It.length;Gt++)et.indexOf(It[Gt])<0&&Object.prototype.propertyIsEnumerable.call(Ye,It[Gt])&&(St[It[Gt]]=Ye[It[Gt]]);return St};const Ul=10;function ti(Ye,et){const St={current:Ye.current,pageSize:Ye.pageSize};return Object.keys(et&&typeof et=="object"?et:{}).forEach(Gt=>{const $t=Ye[Gt];typeof $t!="function"&&(St[Gt]=$t)}),St}function wu(Ye,et,St){const It=St&&typeof St=="object"?St:{},{total:Gt=0}=It,$t=ml(It,["total"]),[mn,Bn]=(0,me.useState)(()=>({current:"defaultCurrent"in $t?$t.defaultCurrent:1,pageSize:"defaultPageSize"in $t?$t.defaultPageSize:Ul})),dn=(0,Hu.Z)(mn,$t,{total:Gt>0?Gt:Ye}),Qn=Math.ceil((Gt||Ye)/dn.pageSize);dn.current>Qn&&(dn.current=Qn||1);const Gn=(fr,or)=>{Bn({current:fr!=null?fr:1,pageSize:or||dn.pageSize})},kn=(fr,or)=>{var ur;St&&((ur=St.onChange)===null||ur===void 0||ur.call(St,fr,or)),Gn(fr,or),et(fr,or||(dn==null?void 0:dn.pageSize))};return St===!1?[{},()=>{}]:[Object.assign(Object.assign({},dn),{onChange:kn}),Gn]}var lc=wu,dd=we(84105),mA=we(35654),Qs=we(90782),Nl=we(71430),$l=we(18929);const bi={},Cs="SELECT_ALL",OA="SELECT_INVERT",sA="SELECT_NONE",lA=[],Dl=(Ye,et)=>{let St=[];return(et||[]).forEach(It=>{St.push(It),It&&typeof It=="object"&&Ye in It&&(St=[].concat((0,ea.Z)(St),(0,ea.Z)(Dl(Ye,It[Ye]))))}),St};var YA=(Ye,et)=>{const{preserveSelectedRowKeys:St,selectedRowKeys:It,defaultSelectedRowKeys:Gt,getCheckboxProps:$t,onChange:mn,onSelect:Bn,onSelectAll:dn,onSelectInvert:Qn,onSelectNone:Gn,onSelectMultiple:kn,columnWidth:fr,type:or,selections:ur,fixed:jr,renderCell:Fr,hideSelectAll:Qr,checkStrictly:_r=!0}=et||{},{prefixCls:Vr,data:wa,pageData:Ua,getRecordByKey:ca,getRowKey:Ka,expandType:ao,childrenColumnName:Jr,locale:ga,getPopupContainer:ra}=Ye,[$r,Aa]=(0,$l.Z)(It||Gt||lA,{value:It}),Ta=me.useRef(new Map),So=(0,me.useCallback)(oa=>{if(St){const ja=new Map;oa.forEach(ka=>{let Ba=ca(ka);!Ba&&Ta.current.has(ka)&&(Ba=Ta.current.get(ka)),ja.set(ka,Ba)}),Ta.current=ja}},[ca,St]);me.useEffect(()=>{So($r)},[$r]);const{keyEntities:to}=(0,me.useMemo)(()=>{if(_r)return{keyEntities:null};let oa=wa;if(St){const ja=new Set(wa.map((Ba,ri)=>Ka(Ba,ri))),ka=Array.from(Ta.current).reduce((Ba,ri)=>{let[Sa,Ja]=ri;return ja.has(Sa)?Ba:Ba.concat(Ja)},[]);oa=[].concat((0,ea.Z)(oa),(0,ea.Z)(ka))}return(0,Nl.I8)(oa,{externalGetKey:Ka,childrenPropName:Jr})},[wa,Ka,_r,Jr,St]),Oa=(0,me.useMemo)(()=>Dl(Jr,Ua),[Jr,Ua]),uo=(0,me.useMemo)(()=>{const oa=new Map;return Oa.forEach((ja,ka)=>{const Ba=Ka(ja,ka),ri=($t?$t(ja):null)||{};oa.set(Ba,ri)}),oa},[Oa,Ka,$t]),Io=(0,me.useCallback)(oa=>{var ja;return!!(!((ja=uo.get(Ka(oa)))===null||ja===void 0)&&ja.disabled)},[uo,Ka]),[Ei,$o]=(0,me.useMemo)(()=>{if(_r)return[$r||[],[]];const{checkedKeys:oa,halfCheckedKeys:ja}=(0,Qs.S)($r,!0,to,Io);return[oa||[],ja]},[$r,_r,to,Io]),Ri=(0,me.useMemo)(()=>{const oa=or==="radio"?Ei.slice(0,1):Ei;return new Set(oa)},[Ei,or]),tA=(0,me.useMemo)(()=>or==="radio"?new Set:new Set($o),[$o,or]),[oo,PA]=(0,me.useState)(null);me.useEffect(()=>{et||Aa(lA)},[!!et]);const ni=(0,me.useCallback)((oa,ja)=>{let ka,Ba;So(oa),St?(ka=oa,Ba=oa.map(ri=>Ta.current.get(ri))):(ka=[],Ba=[],oa.forEach(ri=>{const Sa=ca(ri);Sa!==void 0&&(ka.push(ri),Ba.push(Sa))})),Aa(ka),mn==null||mn(ka,Ba,{type:ja})},[Aa,ca,mn,St]),Fi=(0,me.useCallback)((oa,ja,ka,Ba)=>{if(Bn){const ri=ka.map(Sa=>ca(Sa));Bn(ca(oa),ja,ri,Ba)}ni(ka,"single")},[Bn,ca,ni]),Li=(0,me.useMemo)(()=>!ur||Qr?null:(ur===!0?[Cs,OA,sA]:ur).map(ja=>ja===Cs?{key:"all",text:ga.selectionAll,onSelect(){ni(wa.map((ka,Ba)=>Ka(ka,Ba)).filter(ka=>{const Ba=uo.get(ka);return!(Ba!=null&&Ba.disabled)||Ri.has(ka)}),"all")}}:ja===OA?{key:"invert",text:ga.selectInvert,onSelect(){const ka=new Set(Ri);Ua.forEach((ri,Sa)=>{const Ja=Ka(ri,Sa),Oo=uo.get(Ja);Oo!=null&&Oo.disabled||(ka.has(Ja)?ka.delete(Ja):ka.add(Ja))});const Ba=Array.from(ka);Qn&&Qn(Ba),ni(Ba,"invert")}}:ja===sA?{key:"none",text:ga.selectNone,onSelect(){Gn==null||Gn(),ni(Array.from(Ri).filter(ka=>{const Ba=uo.get(ka);return Ba==null?void 0:Ba.disabled}),"none")}}:ja).map(ja=>Object.assign(Object.assign({},ja),{onSelect:function(){for(var ka,Ba,ri=arguments.length,Sa=new Array(ri),Ja=0;Ja<ri;Ja++)Sa[Ja]=arguments[Ja];(Ba=ja.onSelect)===null||Ba===void 0||(ka=Ba).call.apply(ka,[ja].concat(Sa)),PA(null)}})),[ur,Ri,Ua,Ka,Qn,ni]);return[(0,me.useCallback)(oa=>{var ja;if(!et)return oa.filter(ai=>ai!==bi);let ka=(0,ea.Z)(oa);const Ba=new Set(Ri),ri=Oa.map(Ka).filter(ai=>!uo.get(ai).disabled),Sa=ri.every(ai=>Ba.has(ai)),Ja=ri.some(ai=>Ba.has(ai)),Oo=()=>{const ai=[];Sa?ri.forEach($i=>{Ba.delete($i),ai.push($i)}):ri.forEach($i=>{Ba.has($i)||(Ba.add($i),ai.push($i))});const Uo=Array.from(Ba);dn==null||dn(!Sa,Uo.map($i=>ca($i)),ai.map($i=>ca($i))),ni(Uo,"all"),PA(null)};let ko;if(or!=="radio"){let ai;if(Li){const yo={getPopupContainer:ra,items:Li.map((Fs,vs)=>{const{key:Zs,text:Rs,onSelect:js}=Fs;return{key:Zs!=null?Zs:vs,onClick:()=>{js==null||js(ri)},label:Rs}})};ai=me.createElement("div",{className:`${Vr}-selection-extra`},me.createElement(La.Z,{menu:yo,getPopupContainer:ra},me.createElement("span",null,me.createElement(dd.Z,null))))}const Uo=Oa.map((yo,Fs)=>{const vs=Ka(yo,Fs),Zs=uo.get(vs)||{};return Object.assign({checked:Ba.has(vs)},Zs)}).filter(yo=>{let{disabled:Fs}=yo;return Fs}),$i=!!Uo.length&&Uo.length===Oa.length,TA=$i&&Uo.every(yo=>{let{checked:Fs}=yo;return Fs}),Qi=$i&&Uo.some(yo=>{let{checked:Fs}=yo;return Fs});ko=!Qr&&me.createElement("div",{className:`${Vr}-selection`},me.createElement(Ma.default,{checked:$i?TA:!!Oa.length&&Sa,indeterminate:$i?!TA&&Qi:!Sa&&Ja,onChange:Oo,disabled:Oa.length===0||$i,"aria-label":ai?"Custom selection":"Select all",skipGroup:!0}),ai)}let Es;or==="radio"?Es=(ai,Uo,$i)=>{const TA=Ka(Uo,$i),Qi=Ba.has(TA);return{node:me.createElement(hl.ZP,Object.assign({},uo.get(TA),{checked:Qi,onClick:yo=>yo.stopPropagation(),onChange:yo=>{Ba.has(TA)||Fi(TA,!0,[TA],yo.nativeEvent)}})),checked:Qi}}:Es=(ai,Uo,$i)=>{var TA;const Qi=Ka(Uo,$i),yo=Ba.has(Qi),Fs=tA.has(Qi),vs=uo.get(Qi);let Zs;return ao==="nest"?Zs=Fs:Zs=(TA=vs==null?void 0:vs.indeterminate)!==null&&TA!==void 0?TA:Fs,{node:me.createElement(Ma.default,Object.assign({},vs,{indeterminate:Zs,checked:yo,skipGroup:!0,onClick:Rs=>Rs.stopPropagation(),onChange:Rs=>{let{nativeEvent:js}=Rs;const{shiftKey:Bl}=js;let Cu=-1,Sl=-1;if(Bl&&_r){const nA=new Set([oo,Qi]);ri.some((is,EA)=>{if(nA.has(is))if(Cu===-1)Cu=EA;else return Sl=EA,!0;return!1})}if(Sl!==-1&&Cu!==Sl&&_r){const nA=ri.slice(Cu,Sl+1),is=[];yo?nA.forEach(Zi=>{Ba.has(Zi)&&(is.push(Zi),Ba.delete(Zi))}):nA.forEach(Zi=>{Ba.has(Zi)||(is.push(Zi),Ba.add(Zi))});const EA=Array.from(Ba);kn==null||kn(!yo,EA.map(Zi=>ca(Zi)),is.map(Zi=>ca(Zi))),ni(EA,"multiple")}else{const nA=Ei;if(_r){const is=yo?(0,mA._5)(nA,Qi):(0,mA.L0)(nA,Qi);Fi(Qi,!yo,is,js)}else{const is=(0,Qs.S)([].concat((0,ea.Z)(nA),[Qi]),!0,to,Io),{checkedKeys:EA,halfCheckedKeys:Zi}=is;let Yl=EA;if(yo){const fu=new Set(EA);fu.delete(Qi),Yl=(0,Qs.S)(Array.from(fu),{checked:!1,halfCheckedKeys:Zi},to,Io).checkedKeys}Fi(Qi,!yo,Yl,js)}}PA(yo?null:Qi)}})),checked:yo}};const pA=(ai,Uo,$i)=>{const{node:TA,checked:Qi}=Es(ai,Uo,$i);return Fr?Fr(Qi,Uo,$i,TA):TA};if(!ka.includes(bi))if(ka.findIndex(ai=>{var Uo;return((Uo=ai[br])===null||Uo===void 0?void 0:Uo.columnType)==="EXPAND_COLUMN"})===0){const[ai,...Uo]=ka;ka=[ai,bi].concat((0,ea.Z)(Uo))}else ka=[bi].concat((0,ea.Z)(ka));const kl=ka.indexOf(bi);ka=ka.filter((ai,Uo)=>ai!==bi||Uo===kl);const vA=ka[kl-1],sl=ka[kl+1];let Kr=jr;Kr===void 0&&((sl==null?void 0:sl.fixed)!==void 0?Kr=sl.fixed:(vA==null?void 0:vA.fixed)!==void 0&&(Kr=vA.fixed)),Kr&&vA&&((ja=vA[br])===null||ja===void 0?void 0:ja.columnType)==="EXPAND_COLUMN"&&vA.fixed===void 0&&(vA.fixed=Kr);const ks=ke()(`${Vr}-selection-col`,{[`${Vr}-selection-col-with-dropdown`]:ur&&or==="checkbox"}),fc={fixed:Kr,width:fr,className:`${Vr}-selection-column`,title:et.columnTitle||ko,render:pA,onCell:et.onCell,[br]:{className:ks}};return ka.map(ai=>ai===bi?fc:ai)},[Ka,Oa,et,Ei,Ri,tA,fr,Li,ao,oo,uo,kn,Fi,Io]),Ri]},Ku=we(89489),bA=we(59477),Ol=we(6848);const eA="ascend",uc="descend";function du(Ye){return typeof Ye.sorter=="object"&&typeof Ye.sorter.multiple=="number"?Ye.sorter.multiple:!1}function gu(Ye){return typeof Ye=="function"?Ye:Ye&&typeof Ye=="object"&&Ye.compare?Ye.compare:!1}function Hc(Ye,et){return et?Ye[Ye.indexOf(et)+1]:Ye[0]}function Zl(Ye,et,St){let It=[];function Gt($t,mn){It.push({column:$t,key:Xr($t,mn),multiplePriority:du($t),sortOrder:$t.sortOrder})}return(Ye||[]).forEach(($t,mn)=>{const Bn=Ir(mn,St);$t.children?("sortOrder"in $t&&Gt($t,Bn),It=[].concat((0,ea.Z)(It),(0,ea.Z)(Zl($t.children,et,Bn)))):$t.sorter&&("sortOrder"in $t?Gt($t,Bn):et&&$t.defaultSortOrder&&It.push({column:$t,key:Xr($t,Bn),multiplePriority:du($t),sortOrder:$t.defaultSortOrder}))}),It}function Er(Ye,et,St,It,Gt,$t,mn,Bn){return(et||[]).map((dn,Qn)=>{const Gn=Ir(Qn,Bn);let kn=dn;if(kn.sorter){const fr=kn.sortDirections||Gt,or=kn.showSorterTooltip===void 0?mn:kn.showSorterTooltip,ur=Xr(kn,Gn),jr=St.find(ao=>{let{key:Jr}=ao;return Jr===ur}),Fr=jr?jr.sortOrder:null,Qr=Hc(fr,Fr);let _r;if(dn.sortIcon)_r=dn.sortIcon({sortOrder:Fr});else{const ao=fr.includes(eA)&&me.createElement(bA.Z,{className:ke()(`${Ye}-column-sorter-up`,{active:Fr===eA})}),Jr=fr.includes(uc)&&me.createElement(Ku.Z,{className:ke()(`${Ye}-column-sorter-down`,{active:Fr===uc})});_r=me.createElement("span",{className:ke()(`${Ye}-column-sorter`,{[`${Ye}-column-sorter-full`]:!!(ao&&Jr)})},me.createElement("span",{className:`${Ye}-column-sorter-inner`,"aria-hidden":"true"},ao,Jr))}const{cancelSort:Vr,triggerAsc:wa,triggerDesc:Ua}=$t||{};let ca=Vr;Qr===uc?ca=Ua:Qr===eA&&(ca=wa);const Ka=typeof or=="object"?or:{title:ca};kn=Object.assign(Object.assign({},kn),{className:ke()(kn.className,{[`${Ye}-column-sort`]:Fr}),title:ao=>{const Jr=me.createElement("div",{className:`${Ye}-column-sorters`},me.createElement("span",{className:`${Ye}-column-title`},mr(dn.title,ao)),_r);return or?me.createElement(Ol.Z,Object.assign({},Ka),Jr):Jr},onHeaderCell:ao=>{const Jr=dn.onHeaderCell&&dn.onHeaderCell(ao)||{},ga=Jr.onClick,ra=Jr.onKeyDown;Jr.onClick=Ta=>{It({column:dn,key:ur,sortOrder:Qr,multiplePriority:du(dn)}),ga==null||ga(Ta)},Jr.onKeyDown=Ta=>{Ta.keyCode===Pn.Z.ENTER&&(It({column:dn,key:ur,sortOrder:Qr,multiplePriority:du(dn)}),ra==null||ra(Ta))};const $r=xr(dn.title,{}),Aa=$r==null?void 0:$r.toString();return Fr?Jr["aria-sort"]=Fr==="ascend"?"ascending":"descending":Jr["aria-label"]=Aa||"",Jr.className=ke()(Jr.className,`${Ye}-column-has-sorters`),Jr.tabIndex=0,dn.ellipsis&&(Jr.title=($r!=null?$r:"").toString()),Jr}})}return"children"in kn&&(kn=Object.assign(Object.assign({},kn),{children:Er(Ye,kn.children,St,It,Gt,$t,mn,Gn)})),kn})}function Ia(Ye){const{column:et,sortOrder:St}=Ye;return{column:et,order:St,field:et.dataIndex,columnKey:et.key}}function lr(Ye){const et=Ye.filter(St=>{let{sortOrder:It}=St;return It}).map(Ia);return et.length===0&&Ye.length?Object.assign(Object.assign({},Ia(Ye[Ye.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function $a(Ye,et,St){const It=et.slice().sort((mn,Bn)=>Bn.multiplePriority-mn.multiplePriority),Gt=Ye.slice(),$t=It.filter(mn=>{let{column:{sorter:Bn},sortOrder:dn}=mn;return gu(Bn)&&dn});return $t.length?Gt.sort((mn,Bn)=>{for(let dn=0;dn<$t.length;dn+=1){const Qn=$t[dn],{column:{sorter:Gn},sortOrder:kn}=Qn,fr=gu(Gn);if(fr&&kn){const or=fr(mn,Bn,kn);if(or!==0)return kn===eA?or:-or}}return 0}).map(mn=>{const Bn=mn[St];return Bn?Object.assign(Object.assign({},mn),{[St]:$a(Bn,et,St)}):mn}):Gt}function wo(Ye){let{prefixCls:et,mergedColumns:St,onSorterChange:It,sortDirections:Gt,tableLocale:$t,showSorterTooltip:mn}=Ye;const[Bn,dn]=me.useState(Zl(St,!0)),Qn=me.useMemo(()=>{let ur=!0;const jr=Zl(St,!1);if(!jr.length)return Bn;const Fr=[];function Qr(Vr){ur?Fr.push(Vr):Fr.push(Object.assign(Object.assign({},Vr),{sortOrder:null}))}let _r=null;return jr.forEach(Vr=>{_r===null?(Qr(Vr),Vr.sortOrder&&(Vr.multiplePriority===!1?ur=!1:_r=!0)):(_r&&Vr.multiplePriority!==!1||(ur=!1),Qr(Vr))}),Fr},[St,Bn]),Gn=me.useMemo(()=>{const ur=Qn.map(jr=>{let{column:Fr,sortOrder:Qr}=jr;return{column:Fr,order:Qr}});return{sortColumns:ur,sortColumn:ur[0]&&ur[0].column,sortOrder:ur[0]&&ur[0].order}},[Qn]);function kn(ur){let jr;ur.multiplePriority===!1||!Qn.length||Qn[0].multiplePriority===!1?jr=[ur]:jr=[].concat((0,ea.Z)(Qn.filter(Fr=>{let{key:Qr}=Fr;return Qr!==ur.key})),[ur]),dn(jr),It(lr(jr),jr)}return[ur=>Er(et,ur,Qn,kn,Gt,$t,mn),Qn,Gn,()=>lr(Qn)]}function uA(Ye,et){return Ye.map(St=>{const It=Object.assign({},St);return It.title=mr(St.title,et),"children"in It&&(It.children=uA(It.children,et)),It})}function Ts(Ye){return[me.useCallback(St=>uA(St,Ye),[Ye])]}var JA=Ga((Ye,et)=>{const{_renderTimes:St}=Ye,{_renderTimes:It}=et;return St!==It}),Wl=ju((Ye,et)=>{const{_renderTimes:St}=Ye,{_renderTimes:It}=et;return St!==It}),Al=we(64993),Ps=we(17313),ui=we(83116),pl=we(37613),as=Ye=>{const{componentCls:et}=Ye,St=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,It=(Gt,$t,mn)=>({[`&${et}-${Gt}`]:{[`> ${et}-container`]:{[`> ${et}-content, > ${et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${$t}px -${mn+Ye.lineWidth}px`}}}}}});return{[`${et}-wrapper`]:{[`${et}${et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${et}-title`]:{border:St,borderBottom:0},[`> ${et}-container`]:{borderInlineStart:St,borderTop:St,[`
|
|
|
> ${et}-content,
|
|
|
> ${et}-header,
|
|
|
> ${et}-body,
|
|
|
> ${et}-summary
|
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:St},"> thead":{"> tr:not(:last-child) > th":{borderBottom:St},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${et}-cell-fix-right-first::after`]:{borderInlineEnd:St}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${Ye.tablePaddingVertical}px -${Ye.tablePaddingHorizontal+Ye.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ye.lineWidth,bottom:0,borderInlineEnd:St,content:'""'}}}}}},[`&${et}-scroll-horizontal`]:{[`> ${et}-container > ${et}-body`]:{"> table > tbody":{[`
|
|
|
> tr${et}-expanded-row,
|
|
|
> tr${et}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},It("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle)),It("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:St,borderTop:0}}),[`${et}-cell`]:{[`${et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ye.lineWidth}px 0 ${Ye.lineWidth}px ${Ye.tableHeaderBg}`}},[`${et}-bordered ${et}-cell-scrollbar`]:{borderInlineEnd:St}}}},Gi=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},Ps.vS),{wordBreak:"keep-all",[`
|
|
|
&${et}-cell-fix-left-last,
|
|
|
&${et}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Vl=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-tbody > tr${et}-placeholder`]:{textAlign:"center",color:Ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ye.colorBgContainer}}}}},os=we(15969),HA=Ye=>{const{componentCls:et,antCls:St,controlInteractiveSize:It,motionDurationSlow:Gt,lineWidth:$t,paddingXS:mn,lineType:Bn,tableBorderColor:dn,tableExpandIconBg:Qn,tableExpandColumnWidth:Gn,borderRadius:kn,fontSize:fr,fontSizeSM:or,lineHeight:ur,tablePaddingVertical:jr,tablePaddingHorizontal:Fr,tableExpandedRowBg:Qr,paddingXXS:_r}=Ye,Vr=It/2-$t,wa=Vr*2+$t*3,Ua=`${$t}px ${Bn} ${dn}`,ca=_r-$t;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:Gn},[`${et}-row-expand-icon-cell`]:{textAlign:"center",[`${et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${et}-row-indent`]:{height:1,float:"left"},[`${et}-row-expand-icon`]:Object.assign(Object.assign({},(0,os.N)(Ye)),{position:"relative",float:"left",boxSizing:"border-box",width:wa,height:wa,padding:0,color:"inherit",lineHeight:`${wa}px`,background:Qn,border:Ua,borderRadius:kn,transform:`scale(${It/wa})`,transition:`all ${Gt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Gt} ease-out`,content:'""'},"&::before":{top:Vr,insetInlineEnd:ca,insetInlineStart:ca,height:$t},"&::after":{top:ca,bottom:ca,insetInlineStart:Vr,width:$t,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${et}-row-indent + ${et}-row-expand-icon`]:{marginTop:(fr*ur-$t*3)/2-Math.ceil((or*1.4-$t*3)/2),marginInlineEnd:mn},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Qr}},[`${St}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${jr}px -${Fr}px`,padding:`${jr}px ${Fr}px`}}}},ms=Ye=>{const{componentCls:et,antCls:St,iconCls:It,tableFilterDropdownWidth:Gt,tableFilterDropdownSearchWidth:$t,paddingXXS:mn,paddingXS:Bn,colorText:dn,lineWidth:Qn,lineType:Gn,tableBorderColor:kn,tableHeaderIconColor:fr,fontSizeSM:or,tablePaddingHorizontal:ur,borderRadius:jr,motionDurationSlow:Fr,colorTextDescription:Qr,colorPrimary:_r,tableHeaderFilterActiveBg:Vr,colorTextDisabled:wa,tableFilterDropdownBg:Ua,tableFilterDropdownHeight:ca,controlItemBgHover:Ka,controlItemBgActive:ao,boxShadowSecondary:Jr,filterDropdownMenuBg:ga}=Ye,ra=`${St}-dropdown`,$r=`${et}-filter-dropdown`,Aa=`${St}-tree`,Ta=`${Qn}px ${Gn} ${kn}`;return[{[`${et}-wrapper`]:{[`${et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-mn,marginInline:`${mn}px ${-ur/2}px`,padding:`0 ${mn}px`,color:fr,fontSize:or,borderRadius:jr,cursor:"pointer",transition:`all ${Fr}`,"&:hover":{color:Qr,background:Vr},"&.active":{color:_r}}}},{[`${St}-dropdown`]:{[$r]:Object.assign(Object.assign({},(0,Ps.Wf)(Ye)),{minWidth:Gt,backgroundColor:Ua,borderRadius:jr,boxShadow:Jr,overflow:"hidden",[`${ra}-menu`]:{maxHeight:ca,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ga,"&:empty::after":{display:"block",padding:`${Bn}px 0`,color:wa,fontSize:or,textAlign:"center",content:'"Not Found"'}},[`${$r}-tree`]:{paddingBlock:`${Bn}px 0`,paddingInline:Bn,[Aa]:{padding:0},[`${Aa}-treenode ${Aa}-node-content-wrapper:hover`]:{backgroundColor:Ka},[`${Aa}-treenode-checkbox-checked ${Aa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ao}}},[`${$r}-search`]:{padding:Bn,borderBottom:Ta,"&-input":{input:{minWidth:$t},[It]:{color:wa}}},[`${$r}-checkall`]:{width:"100%",marginBottom:mn,marginInlineStart:mn},[`${$r}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Bn-Qn}px ${Bn}px`,overflow:"hidden",borderTop:Ta}})}},{[`${St}-dropdown ${$r}, ${$r}-submenu`]:{[`${St}-checkbox-wrapper + span`]:{paddingInlineStart:Bn,color:dn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ql=Ye=>{const{componentCls:et,lineWidth:St,colorSplit:It,motionDurationSlow:Gt,zIndexTableFixed:$t,tableBg:mn,zIndexTableSticky:Bn}=Ye,dn=It;return{[`${et}-wrapper`]:{[`
|
|
|
${et}-cell-fix-left,
|
|
|
${et}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:$t,background:mn},[`
|
|
|
${et}-cell-fix-left-first::after,
|
|
|
${et}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-St,width:30,transform:"translateX(100%)",transition:`box-shadow ${Gt}`,content:'""',pointerEvents:"none"},[`${et}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${et}-cell-fix-right-first::after,
|
|
|
${et}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-St,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Gt}`,content:'""',pointerEvents:"none"},[`${et}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Bn+1,width:30,transition:`box-shadow ${Gt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${et}-ping-left`]:{[`&:not(${et}-has-fix-left) ${et}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${dn}`}},[`
|
|
|
${et}-cell-fix-left-first::after,
|
|
|
${et}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${dn}`},[`${et}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${et}-ping-right`]:{[`&:not(${et}-has-fix-right) ${et}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${dn}`}},[`
|
|
|
${et}-cell-fix-right-first::after,
|
|
|
${et}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${dn}`}}}}},QA=Ye=>{const{componentCls:et,antCls:St}=Ye;return{[`${et}-wrapper`]:{[`${et}-pagination${St}-pagination`]:{margin:`${Ye.margin}px 0`},[`${et}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},dc=Ye=>{const{componentCls:et,tableRadius:St}=Ye;return{[`${et}-wrapper`]:{[et]:{[`${et}-title, ${et}-header`]:{borderRadius:`${St}px ${St}px 0 0`},[`${et}-title + ${et}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${et}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:St,borderStartEndRadius:St,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:St},"> *:last-child":{borderStartEndRadius:St}}},"&-footer":{borderRadius:`0 0 ${St}px ${St}px`}}}}},th=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${et}-pagination-left`]:{justifyContent:"flex-end"},[`${et}-pagination-right`]:{justifyContent:"flex-start"},[`${et}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${et}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${et}-row-indent`]:{float:"right"}}}}},Bf=Ye=>{const{componentCls:et,antCls:St,iconCls:It,fontSizeIcon:Gt,padding:$t,paddingXS:mn,tableHeaderIconColor:Bn,tableHeaderIconColorHover:dn,tableSelectionColumnWidth:Qn}=Ye;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:Qn,[`&${et}-selection-col-with-dropdown`]:{width:Qn+Gt+$t/4}},[`${et}-bordered ${et}-selection-col`]:{width:Qn+mn*2,[`&${et}-selection-col-with-dropdown`]:{width:Qn+Gt+$t/4+mn*2}},[`
|
|
|
table tr th${et}-selection-column,
|
|
|
table tr td${et}-selection-column
|
|
|
`]:{paddingInlineEnd:Ye.paddingXS,paddingInlineStart:Ye.paddingXS,textAlign:"center",[`${St}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${et}-selection-column${et}-cell-fix-left`]:{zIndex:Ye.zIndexTableFixed+1},[`table tr th${et}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${et}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${et}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ye.tablePaddingHorizontal/4}px`,[It]:{color:Bn,fontSize:Gt,verticalAlign:"baseline","&:hover":{color:dn}}}}}},jd=Ye=>{const{componentCls:et}=Ye,St=(It,Gt,$t,mn)=>({[`${et}${et}-${It}`]:{fontSize:mn,[`
|
|
|
${et}-title,
|
|
|
${et}-footer,
|
|
|
${et}-cell,
|
|
|
${et}-thead > tr > th,
|
|
|
${et}-tbody > tr > th,
|
|
|
${et}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${Gt}px ${$t}px`},[`${et}-filter-trigger`]:{marginInlineEnd:`-${$t/2}px`},[`${et}-expanded-row-fixed`]:{margin:`-${Gt}px -${$t}px`},[`${et}-tbody`]:{[`${et}-wrapper:only-child ${et}`]:{marginBlock:`-${Gt}px`,marginInline:`${Ye.tableExpandColumnWidth-$t}px -${$t}px`}},[`${et}-selection-column`]:{paddingInlineStart:`${$t/4}px`}}});return{[`${et}-wrapper`]:Object.assign(Object.assign({},St("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle,Ye.tableFontSizeMiddle)),St("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall,Ye.tableFontSizeSmall))}},Gu=Ye=>{const{componentCls:et,marginXXS:St,fontSizeIcon:It,tableHeaderIconColor:Gt,tableHeaderIconColorHover:$t}=Ye;return{[`${et}-wrapper`]:{[`${et}-thead th${et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,"&:hover":{background:Ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ye.colorPrimary},[`
|
|
|
&${et}-cell-fix-left:hover,
|
|
|
&${et}-cell-fix-right:hover
|
|
|
`]:{background:Ye.tableFixedHeaderSortActiveBg}},[`${et}-thead th${et}-column-sort`]:{background:Ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${et}-column-sort`]:{background:Ye.tableBodySortBg},[`${et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${et}-column-sorter`]:{marginInlineStart:St,color:Gt,fontSize:0,transition:`color ${Ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:It,"&.active":{color:Ye.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:$t}}}},vl=Ye=>{const{componentCls:et,opacityLoading:St,tableScrollThumbBg:It,tableScrollThumbBgHover:Gt,tableScrollThumbSize:$t,tableScrollBg:mn,zIndexTableSticky:Bn,stickyScrollBarBorderRadius:dn}=Ye,Qn=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:Bn,background:Ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${$t}px !important`,zIndex:Bn,display:"flex",alignItems:"center",background:mn,borderTop:Qn,opacity:St,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:$t,backgroundColor:It,borderRadius:dn,transition:`all ${Ye.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Gt}}}}}}},zc=Ye=>{const{componentCls:et,lineWidth:St,tableBorderColor:It}=Ye,Gt=`${St}px ${Ye.lineType} ${It}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Ye.zIndexTableFixed,background:Ye.tableBg,"> tr":{"> th, > td":{borderBottom:Gt}}},[`div${et}-summary`]:{boxShadow:`0 -${St}px 0 ${It}`}}}},yf=Ye=>{const{componentCls:et}=Ye,St=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,It=`${et}-expanded-row-cell`;return{[`${et}-wrapper`]:{[`${et}-tbody-virtual`]:{[`${et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${et}-cell`]:{borderBottom:St},[`${et}-expanded-row`]:{[`${It}${It}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ye.lineWidth}px)`,borderInlineEnd:"none"}}},[`${et}-bordered`]:{[`${et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:St,position:"absolute"},[`${et}-cell`]:{borderInlineEnd:St,[`&${et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ye.lineWidth,borderInlineStart:St}}}}}}};const Gc=Ye=>{const{componentCls:et,fontWeightStrong:St,tablePaddingVertical:It,tablePaddingHorizontal:Gt,lineWidth:$t,lineType:mn,tableBorderColor:Bn,tableFontSize:dn,tableBg:Qn,tableRadius:Gn,tableHeaderTextColor:kn,motionDurationMid:fr,tableHeaderBg:or,tableHeaderCellSplitColor:ur,tableRowHoverBg:jr,tableSelectedRowBg:Fr,tableSelectedRowHoverBg:Qr,tableFooterTextColor:_r,tableFooterBg:Vr,paddingContentVerticalLG:wa}=Ye,Ua=`${$t}px ${mn} ${Bn}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ps.dF)()),{[et]:Object.assign(Object.assign({},(0,Ps.Wf)(Ye)),{fontSize:dn,background:Qn,borderRadius:`${Gn}px ${Gn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Gn}px ${Gn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${et}-cell,
|
|
|
${et}-thead > tr > th,
|
|
|
${et}-tbody > tr > th,
|
|
|
${et}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${wa}px ${Gt}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${It}px ${Gt}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:kn,fontWeight:St,textAlign:"start",background:or,borderBottom:Ua,transition:`background ${fr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${et}-selection-column):not(${et}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ur,transform:"translateY(-50%)",transition:`background-color ${fr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${fr}, border-color ${fr}`,borderBottom:Ua,[`
|
|
|
> ${et}-wrapper:only-child,
|
|
|
> ${et}-expanded-row-fixed > ${et}-wrapper:only-child
|
|
|
`]:{[et]:{marginBlock:`-${It}px`,marginInline:`${Ye.tableExpandColumnWidth-Gt}px -${Gt}px`,[`${et}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:kn,fontWeight:St,textAlign:"start",background:or,borderBottom:Ua,transition:`background ${fr} ease`},[`
|
|
|
&${et}-row:hover > th,
|
|
|
&${et}-row:hover > td,
|
|
|
> th${et}-cell-row-hover,
|
|
|
> td${et}-cell-row-hover
|
|
|
`]:{background:jr},[`&${et}-row-selected`]:{"> th, > td":{background:Fr},"&:hover > th, &:hover > td":{background:Qr}}}},[`${et}-footer`]:{padding:`${It}px ${Gt}px`,color:_r,background:Vr}})}};var gd=(0,ui.Z)("Table",Ye=>{const{colorTextHeading:et,colorSplit:St,colorIcon:It,colorIconHover:Gt,opacityLoading:$t,colorBgContainer:mn,controlInteractiveSize:Bn,headerBg:dn,headerColor:Qn,headerSortActiveBg:Gn,headerSortHoverBg:kn,bodySortBg:fr,rowHoverBg:or,rowSelectedBg:ur,rowSelectedHoverBg:jr,rowExpandedBg:Fr,cellPaddingBlock:Qr,cellPaddingInline:_r,cellPaddingBlockMD:Vr,cellPaddingInlineMD:wa,cellPaddingBlockSM:Ua,cellPaddingInlineSM:ca,borderColor:Ka,footerBg:ao,footerColor:Jr,headerBorderRadius:ga,cellFontSize:ra,cellFontSizeMD:$r,cellFontSizeSM:Aa,headerSplitColor:Ta,fixedHeaderSortActiveBg:So,headerFilterHoverBg:to,filterDropdownBg:Oa,expandIconBg:uo,selectionColumnWidth:Io,stickyScrollBarBg:Ei}=Ye,$o=new Al.C(It),Ri=new Al.C(Gt),tA=2,oo=(0,pl.TS)(Ye,{tableFontSize:ra,tableBg:mn,tableRadius:ga,tablePaddingVertical:Qr,tablePaddingHorizontal:_r,tablePaddingVerticalMiddle:Vr,tablePaddingHorizontalMiddle:wa,tablePaddingVerticalSmall:Ua,tablePaddingHorizontalSmall:ca,tableBorderColor:Ka,tableHeaderTextColor:Qn,tableHeaderBg:dn,tableFooterTextColor:Jr,tableFooterBg:ao,tableHeaderCellSplitColor:Ta,tableHeaderSortBg:Gn,tableHeaderSortHoverBg:kn,tableHeaderIconColor:$o.clone().setAlpha($o.getAlpha()*$t).toRgbString(),tableHeaderIconColorHover:Ri.clone().setAlpha(Ri.getAlpha()*$t).toRgbString(),tableBodySortBg:fr,tableFixedHeaderSortActiveBg:So,tableHeaderFilterActiveBg:to,tableFilterDropdownBg:Oa,tableRowHoverBg:or,tableSelectedRowBg:ur,tableSelectedRowHoverBg:jr,zIndexTableFixed:tA,zIndexTableSticky:tA+1,tableFontSizeMiddle:$r,tableFontSizeSmall:Aa,tableSelectionColumnWidth:Io,tableExpandIconBg:uo,tableExpandColumnWidth:Bn+2*Ye.padding,tableExpandedRowBg:Fr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ei,tableScrollThumbBgHover:et,tableScrollBg:St});return[Gc(oo),QA(oo),zc(oo),Gu(oo),ms(oo),as(oo),dc(oo),HA(oo),zc(oo),Vl(oo),Bf(oo),Ql(oo),vl(oo),Gi(oo),jd(oo),th(oo),yf(oo)]},Ye=>{const{colorFillAlter:et,colorBgContainer:St,colorTextHeading:It,colorFillSecondary:Gt,colorFillContent:$t,controlItemBgActive:mn,controlItemBgActiveHover:Bn,padding:dn,paddingSM:Qn,paddingXS:Gn,colorBorderSecondary:kn,borderRadiusLG:fr,fontSize:or,controlHeight:ur,colorTextPlaceholder:jr}=Ye,Fr=new Al.C(Gt).onBackground(St).toHexShortString(),Qr=new Al.C($t).onBackground(St).toHexShortString(),_r=new Al.C(et).onBackground(St).toHexShortString();return{headerBg:_r,headerColor:It,headerSortActiveBg:Fr,headerSortHoverBg:Qr,bodySortBg:_r,rowHoverBg:_r,rowSelectedBg:mn,rowSelectedHoverBg:Bn,rowExpandedBg:et,cellPaddingBlock:dn,cellPaddingInline:dn,cellPaddingBlockMD:Qn,cellPaddingInlineMD:Gn,cellPaddingBlockSM:Gn,cellPaddingInlineSM:Gn,borderColor:kn,headerBorderRadius:fr,footerBg:_r,footerColor:It,cellFontSize:or,cellFontSizeMD:or,cellFontSizeSM:or,headerSplitColor:kn,fixedHeaderSortActiveBg:Fr,headerFilterHoverBg:$t,filterDropdownMenuBg:St,filterDropdownBg:St,expandIconBg:St,selectionColumnWidth:ur,stickyScrollBarBg:jr,stickyScrollBarBorderRadius:100}});const yg=[],$c=(Ye,et)=>{const{prefixCls:St,className:It,rootClassName:Gt,style:$t,size:mn,bordered:Bn,dropdownPrefixCls:dn,dataSource:Qn,pagination:Gn,rowSelection:kn,rowKey:fr="key",rowClassName:or,columns:ur,children:jr,childrenColumnName:Fr,onChange:Qr,getPopupContainer:_r,loading:Vr,expandIcon:wa,expandable:Ua,expandedRowRender:ca,expandIconColumnIndex:Ka,indentSize:ao,scroll:Jr,sortDirections:ga,locale:ra,showSorterTooltip:$r=!0,virtual:Aa}=Ye,Ta=me.useMemo(()=>ur||vn(jr),[ur,jr]),So=me.useMemo(()=>Ta.some(Ro=>Ro.responsive),[Ta]),to=(0,uu.Z)(So),Oa=me.useMemo(()=>{const Ro=new Set(Object.keys(to).filter(Ii=>to[Ii]));return Ta.filter(Ii=>!Ii.responsive||Ii.responsive.some(As=>Ro.has(As)))},[Ta,to]),uo=(0,Ac.Z)(Ye,["className","style","columns"]),{locale:Io=jc.Z,direction:Ei,table:$o,renderEmpty:Ri,getPrefixCls:tA,getPopupContainer:oo}=me.useContext(wA.E_),PA=(0,Rc.Z)(mn),ni=Object.assign(Object.assign({},Io.Table),ra),Fi=Qn||yg,Li=tA("table",St),$s=tA("dropdown",dn),oa=Object.assign({childrenColumnName:Fr,expandIconColumnIndex:Ka},Ua),{childrenColumnName:ja="children"}=oa,ka=me.useMemo(()=>Fi.some(Ro=>Ro==null?void 0:Ro[ja])?"nest":ca||Ua&&Ua.expandedRowRender?"row":null,[Fi]),Ba={body:me.useRef()},ri=me.useMemo(()=>typeof fr=="function"?fr:Ro=>Ro==null?void 0:Ro[fr],[fr]),[Sa]=DA(Fi,ja,ri),Ja={},Oo=function(Ro,Ii){let As=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Hi,ss,Bs;const rA=Object.assign(Object.assign({},Ja),Ro);As&&((Hi=Ja.resetPagination)===null||Hi===void 0||Hi.call(Ja),!((ss=rA.pagination)===null||ss===void 0)&&ss.current&&(rA.pagination.current=1),Gn&&Gn.onChange&&Gn.onChange(1,(Bs=rA.pagination)===null||Bs===void 0?void 0:Bs.pageSize)),Jr&&Jr.scrollToFirstRowOnChange!==!1&&Ba.body.current&&(0,Gl.Z)(0,{getContainer:()=>Ba.body.current}),Qr==null||Qr(rA.pagination,rA.filters,rA.sorter,{currentDataSource:Rd($a(Fi,rA.sorterStates,ja),rA.filterStates),action:Ii})},ko=(Ro,Ii)=>{Oo({sorter:Ro,sorterStates:Ii},"sort",!1)},[Es,pA,kl,vA]=wo({prefixCls:Li,mergedColumns:Oa,onSorterChange:ko,sortDirections:ga||["ascend","descend"],tableLocale:ni,showSorterTooltip:$r}),sl=me.useMemo(()=>$a(Fi,pA,ja),[Fi,pA]);Ja.sorter=vA(),Ja.sorterStates=pA;const Kr=(Ro,Ii)=>{Oo({filters:Ro,filterStates:Ii},"filter",!0)},[ks,fc,ai]=sc({prefixCls:Li,locale:ni,dropdownPrefixCls:$s,mergedColumns:Oa,onFilterChange:Kr,getPopupContainer:_r||oo}),Uo=Rd(sl,fc);Ja.filters=ai,Ja.filterStates=fc;const $i=me.useMemo(()=>{const Ro={};return Object.keys(ai).forEach(Ii=>{ai[Ii]!==null&&(Ro[Ii]=ai[Ii])}),Object.assign(Object.assign({},kl),{filters:Ro})},[kl,ai]),[TA]=Ts($i),Qi=(Ro,Ii)=>{Oo({pagination:Object.assign(Object.assign({},Ja.pagination),{current:Ro,pageSize:Ii})},"paginate")},[yo,Fs]=lc(Uo.length,Qi,Gn);Ja.pagination=Gn===!1?{}:ti(yo,Gn),Ja.resetPagination=Fs;const vs=me.useMemo(()=>{if(Gn===!1||!yo.pageSize)return Uo;const{current:Ro=1,total:Ii,pageSize:As=Ul}=yo;return Uo.length<Ii?Uo.length>As?Uo.slice((Ro-1)*As,Ro*As):Uo:Uo.slice((Ro-1)*As,Ro*As)},[!!Gn,Uo,yo&&yo.current,yo&&yo.pageSize,yo&&yo.total]),[Zs,Rs]=YA({prefixCls:Li,data:Uo,pageData:vs,getRowKey:ri,getRecordByKey:Sa,expandType:ka,childrenColumnName:ja,locale:ni,getPopupContainer:_r||oo},kn),js=(Ro,Ii,As)=>{let Hi;return typeof or=="function"?Hi=ke()(or(Ro,Ii,As)):Hi=ke()(or),ke()({[`${Li}-row-selected`]:Rs.has(ri(Ro,Ii))},Hi)};oa.__PARENT_RENDER_ICON__=oa.expandIcon,oa.expandIcon=oa.expandIcon||wa||sr(ni),ka==="nest"&&oa.expandIconColumnIndex===void 0?oa.expandIconColumnIndex=kn?1:0:oa.expandIconColumnIndex>0&&kn&&(oa.expandIconColumnIndex-=1),typeof oa.indentSize!="number"&&(oa.indentSize=typeof ao=="number"?ao:15);const Bl=me.useCallback(Ro=>TA(Zs(ks(Es(Ro)))),[Es,ks,Zs]);let Cu,Sl;if(Gn!==!1&&(yo!=null&&yo.total)){let Ro;yo.size?Ro=yo.size:Ro=PA==="small"||PA==="middle"?"small":void 0;const Ii=ss=>me.createElement(wn.Z,Object.assign({},yo,{className:ke()(`${Li}-pagination ${Li}-pagination-${ss}`,yo.className),size:Ro})),As=Ei==="rtl"?"left":"right",{position:Hi}=yo;if(Hi!==null&&Array.isArray(Hi)){const ss=Hi.find(ql=>ql.includes("top")),Bs=Hi.find(ql=>ql.includes("bottom")),rA=Hi.every(ql=>`${ql}`=="none");!ss&&!Bs&&!rA&&(Sl=Ii(As)),ss&&(Cu=Ii(ss.toLowerCase().replace("top",""))),Bs&&(Sl=Ii(Bs.toLowerCase().replace("bottom","")))}else Sl=Ii(As)}let nA;typeof Vr=="boolean"?nA={spinning:Vr}:typeof Vr=="object"&&(nA=Object.assign({spinning:!0},Vr));const[is,EA]=gd(Li),[,Zi]=(0,en.Z)(),Yl=ke()(`${Li}-wrapper`,$o==null?void 0:$o.className,{[`${Li}-wrapper-rtl`]:Ei==="rtl"},It,Gt,EA),fu=Object.assign(Object.assign({},$o==null?void 0:$o.style),$t),Pu=ra&&ra.emptyText||(Ri==null?void 0:Ri("Table"))||me.createElement(WA.Z,{componentName:"Table"}),Jl=Aa?Wl:JA,hd={},Md=me.useMemo(()=>{const{fontSize:Ro,lineHeight:Ii,padding:As,paddingXS:Hi,paddingSM:ss}=Zi,Bs=Math.floor(Ro*Ii);switch(PA){case"large":return As*2+Bs;case"small":return Hi*2+Bs;default:return ss*2+Bs}},[Zi,PA]);return Aa&&(hd.listItemHeight=Md),is(me.createElement("div",{ref:et,className:Yl,style:fu},me.createElement(Dt.Z,Object.assign({spinning:!1},nA),Cu,me.createElement(Jl,Object.assign({},hd,uo,{columns:Oa,direction:Ei,expandable:oa,prefixCls:Li,className:ke()({[`${Li}-middle`]:PA==="middle",[`${Li}-small`]:PA==="small",[`${Li}-bordered`]:Bn,[`${Li}-empty`]:Fi.length===0}),data:vs,rowKey:ri,rowClassName:js,emptyText:Pu,internalHooks:be,internalRefs:Ba,transformColumns:Bl})),Sl)))};var nh=me.forwardRef($c);const rh=(Ye,et)=>{const St=me.useRef(0);return St.current+=1,me.createElement(nh,Object.assign({},Ye,{ref:et,_renderTimes:St.current}))},ps=me.forwardRef(rh);ps.SELECTION_COLUMN=bi,ps.EXPAND_COLUMN=Oe,ps.SELECTION_ALL=Cs,ps.SELECTION_INVERT=OA,ps.SELECTION_NONE=sA,ps.Column=lu,ps.ColumnGroup=NA,ps.Summary=Me;var fd=ps,ah=fd},17574:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return pt}});var Oe=we(60091),be=we(94480),ze=we(52671),at=we(8657),Ge=we(54476),je=we(59301),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Be=me,Le=we(7657),de=function(ft,rn){return je.createElement(Le.Z,(0,Ge.Z)({},ft,{ref:rn,icon:Be}))},Ie=je.forwardRef(de),Fe=Ie,Ce=we(92310),ie=we.n(Ce),y=we(35654),a=we(71430),ee=we(36355),E=we(56082),te=we(62892),ne=we(20648);const oe=4;function he(st){const{dropPosition:ft,dropLevelOffset:rn,prefixCls:fn,indent:Et,direction:Jt="ltr"}=st,Ln=Jt==="ltr"?"left":"right",Hn=Jt==="ltr"?"right":"left",un={[Ln]:-rn*Et+oe,[Hn]:0};switch(ft){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[Ln]=Et+oe;break}return je.createElement("div",{style:un,className:`${fn}-drop-indicator`})}var _e=we(71997),Qe=je.forwardRef((st,ft)=>{const{getPrefixCls:rn,direction:fn,virtual:Et,tree:Jt}=je.useContext(ee.E_),{prefixCls:Ln,className:Hn,showIcon:un=!1,showLine:Vn,switcherIcon:yt,blockNode:Kn=!1,children:er,checkable:Re=!1,selectable:Kt=!0,draggable:Te,motion:pe,style:ce}=st,ye=rn("tree",Ln),qe=rn(),gt=pe!=null?pe:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),Me=Object.assign(Object.assign({},st),{checkable:Re,selectable:Kt,showIcon:un,motion:gt,blockNode:Kn,showLine:!!Vn,dropIndicatorRender:he}),[Xe,Pt]=(0,ne.ZP)(ye),ct=je.useMemo(()=>{if(!Te)return!1;let kt={};switch(typeof Te){case"function":kt.nodeDraggable=Te;break;case"object":kt=Object.assign({},Te);break;default:break}return kt.icon!==!1&&(kt.icon=kt.icon||je.createElement(E.Z,null)),kt},[Te]),ot=kt=>je.createElement(_e.Z,{prefixCls:ye,switcherIcon:yt,treeNodeProps:kt,showLine:Vn});return Xe(je.createElement(Oe.Z,Object.assign({itemHeight:20,ref:ft,virtual:Et},Me,{style:Object.assign(Object.assign({},Jt==null?void 0:Jt.style),ce),prefixCls:ye,className:ie()({[`${ye}-icon-hide`]:!un,[`${ye}-block-node`]:Kn,[`${ye}-unselectable`]:!Kt,[`${ye}-rtl`]:fn==="rtl"},Jt==null?void 0:Jt.className,Hn,Pt),direction:fn,checkable:Re&&je.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:Kt,switcherIcon:ot,draggable:ct}),er))}),Ze;(function(st){st[st.None=0]="None",st[st.Start=1]="Start",st[st.End=2]="End"})(Ze||(Ze={}));function Ve(st,ft){function rn(fn){const{key:Et,children:Jt}=fn;ft(Et,fn)!==!1&&Ve(Jt||[],ft)}st.forEach(rn)}function nt(st){let{treeData:ft,expandedKeys:rn,startKey:fn,endKey:Et}=st;const Jt=[];let Ln=Ze.None;if(fn&&fn===Et)return[fn];if(!fn||!Et)return[];function Hn(un){return un===fn||un===Et}return Ve(ft,un=>{if(Ln===Ze.End)return!1;if(Hn(un)){if(Jt.push(un),Ln===Ze.None)Ln=Ze.Start;else if(Ln===Ze.Start)return Ln=Ze.End,!1}else Ln===Ze.Start&&Jt.push(un);return rn.includes(un)}),Jt}function De(st,ft){const rn=(0,be.Z)(ft),fn=[];return Ve(st,(Et,Jt)=>{const Ln=rn.indexOf(Et);return Ln!==-1&&(fn.push(Jt),rn.splice(Ln,1)),!!rn.length}),fn}var Bt=function(st,ft){var rn={};for(var fn in st)Object.prototype.hasOwnProperty.call(st,fn)&&ft.indexOf(fn)<0&&(rn[fn]=st[fn]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,fn=Object.getOwnPropertySymbols(st);Et<fn.length;Et++)ft.indexOf(fn[Et])<0&&Object.prototype.propertyIsEnumerable.call(st,fn[Et])&&(rn[fn[Et]]=st[fn[Et]]);return rn};function ke(st){const{isLeaf:ft,expanded:rn}=st;return ft?je.createElement(ze.Z,null):rn?je.createElement(at.Z,null):je.createElement(Fe,null)}function Ot(st){let{treeData:ft,children:rn}=st;return ft||(0,a.zn)(rn)}const it=(st,ft)=>{var{defaultExpandAll:rn,defaultExpandParent:fn,defaultExpandedKeys:Et}=st,Jt=Bt(st,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ln=je.useRef(),Hn=je.useRef(),un=()=>{const{keyEntities:ct}=(0,a.I8)(Ot(Jt));let ot;return rn?ot=Object.keys(ct):fn?ot=(0,y.r7)(Jt.expandedKeys||Et||[],ct):ot=Jt.expandedKeys||Et,ot},[Vn,yt]=je.useState(Jt.selectedKeys||Jt.defaultSelectedKeys||[]),[Kn,er]=je.useState(()=>un());je.useEffect(()=>{"selectedKeys"in Jt&&yt(Jt.selectedKeys)},[Jt.selectedKeys]),je.useEffect(()=>{"expandedKeys"in Jt&&er(Jt.expandedKeys)},[Jt.expandedKeys]);const Re=(ct,ot)=>{var kt;return"expandedKeys"in Jt||er(ct),(kt=Jt.onExpand)===null||kt===void 0?void 0:kt.call(Jt,ct,ot)},Kt=(ct,ot)=>{var kt;const{multiple:_n}=Jt,{node:_t,nativeEvent:nn}=ot,{key:Nt=""}=_t,yn=Ot(Jt),Xt=Object.assign(Object.assign({},ot),{selected:!0}),Jn=(nn==null?void 0:nn.ctrlKey)||(nn==null?void 0:nn.metaKey),hr=nn==null?void 0:nn.shiftKey;let tr;_n&&Jn?(tr=ct,Ln.current=Nt,Hn.current=tr,Xt.selectedNodes=De(yn,tr)):_n&&hr?(tr=Array.from(new Set([].concat((0,be.Z)(Hn.current||[]),(0,be.Z)(nt({treeData:yn,expandedKeys:Kn,startKey:Nt,endKey:Ln.current}))))),Xt.selectedNodes=De(yn,tr)):(tr=[Nt],Ln.current=Nt,Hn.current=tr,Xt.selectedNodes=De(yn,tr)),(kt=Jt.onSelect)===null||kt===void 0||kt.call(Jt,tr,Xt),"selectedKeys"in Jt||yt(tr)},{getPrefixCls:Te,direction:pe}=je.useContext(ee.E_),{prefixCls:ce,className:ye,showIcon:qe=!0,expandAction:gt="click"}=Jt,Me=Bt(Jt,["prefixCls","className","showIcon","expandAction"]),Xe=Te("tree",ce),Pt=ie()(`${Xe}-directory`,{[`${Xe}-directory-rtl`]:pe==="rtl"},ye);return je.createElement(Qe,Object.assign({icon:ke,ref:ft,blockNode:!0},Me,{showIcon:qe,expandAction:gt,prefixCls:Xe,className:Pt,expandedKeys:Kn,selectedKeys:Vn,onSelect:Kt,onExpand:Re}))};var wt=je.forwardRef(it);const dt=Qe;dt.DirectoryTree=wt,dt.TreeNode=Oe.O;var pt=dt},20648:function(on,Ut,we){"use strict";we.d(Ut,{TM:function(){return Ce},Yk:function(){return Fe}});var Oe=we(36237),be=we(98447),ze=we(17313),at=we(8378),Ge=we(37613),je=we(83116);const me=new Oe.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Be=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Le=(ie,y)=>({[`.${ie}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),de=(ie,y)=>{const{treeCls:a,treeNodeCls:ee,treeNodePadding:E,titleHeight:te,nodeSelectedBg:ne,nodeHoverBg:oe}=y,he=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,ze.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,ze.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${ee}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:me,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,ze.oN)(y)),[`&:not(${ee}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:te,lineHeight:`${te}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${ee}:hover &`]:{opacity:.45}},[`&${ee}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Be(ie,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:te,margin:0,lineHeight:`${te}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:te/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:te/2*.8,height:te/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:he},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:te,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${te}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:oe},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:te,height:te,lineHeight:`${te}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${te}px`,userSelect:"none"},Le(ie,y)),[`${ee}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:te/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ee}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${te/2}px !important`}}}}})}},Ie=ie=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:ee,directoryNodeSelectedBg:E,directoryNodeSelectedColor:te}=ie;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ee,insetInlineStart:0,transition:`background-color ${ie.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ie.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ie.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:te,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:te},[`${y}-node-content-wrapper`]:{color:te,background:"transparent"}}}}}},Fe=(ie,y)=>{const a=`.${ie}`,ee=`${a}-treenode`,E=y.paddingXS/2,te=(0,Ge.TS)(y,{treeCls:a,treeNodeCls:ee,treeNodePadding:E});return[de(ie,te),Ie(te)]},Ce=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};Ut.ZP=(0,je.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,be.C2)(`${a}-checkbox`,ie)},Fe(a,ie),(0,at.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},Ce(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ee}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},at=ze,Ge=we(7657),je=function(te,ne){return be.createElement(Ge.Z,(0,Oe.Z)({},te,{ref:ne,icon:at}))},me=be.forwardRef(je),Be=me,Le=we(52671),de=we(58617),Ie=we(15075),Fe=we(43531),Ce=we(92310),ie=we.n(Ce),y=we(92343),ee=E=>{const{prefixCls:te,switcherIcon:ne,treeNodeProps:oe,showLine:he}=E,{isLeaf:_e,expanded:Pe,loading:Qe}=oe;if(Qe)return be.createElement(de.Z,{className:`${te}-switcher-loading-icon`});let Ze;if(he&&typeof he=="object"&&(Ze=he.showLeafIcon),_e){if(!he)return null;if(typeof Ze!="boolean"&&Ze){const De=typeof Ze=="function"?Ze(oe):Ze,Bt=`${te}-switcher-line-custom-icon`;return(0,y.l$)(De)?(0,y.Tm)(De,{className:ie()(De.props.className||"",Bt)}):De}return Ze?be.createElement(Le.Z,{className:`${te}-switcher-line-icon`}):be.createElement("span",{className:`${te}-switcher-leaf-line`})}const Ve=`${te}-switcher-icon`,nt=typeof ne=="function"?ne(oe):ne;return(0,y.l$)(nt)?(0,y.Tm)(nt,{className:ie()(nt.props.className||"",Ve)}):nt!==void 0?nt:he?Pe?be.createElement(Ie.Z,{className:`${te}-switcher-line-icon`}):be.createElement(Fe.Z,{className:`${te}-switcher-line-icon`}):be.createElement(Be,{className:Ve})}},86251:function(on,Ut){"use strict";Ut.byteLength=me,Ut.toByteArray=Le,Ut.fromByteArray=Fe;for(var we=[],Oe=[],be=typeof Uint8Array!="undefined"?Uint8Array:Array,ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",at=0,Ge=ze.length;at<Ge;++at)we[at]=ze[at],Oe[ze.charCodeAt(at)]=at;Oe[45]=62,Oe[95]=63;function je(Ce){var ie=Ce.length;if(ie%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=Ce.indexOf("=");y===-1&&(y=ie);var a=y===ie?0:4-y%4;return[y,a]}function me(Ce){var ie=je(Ce),y=ie[0],a=ie[1];return(y+a)*3/4-a}function Be(Ce,ie,y){return(ie+y)*3/4-y}function Le(Ce){var ie,y=je(Ce),a=y[0],ee=y[1],E=new be(Be(Ce,a,ee)),te=0,ne=ee>0?a-4:a,oe;for(oe=0;oe<ne;oe+=4)ie=Oe[Ce.charCodeAt(oe)]<<18|Oe[Ce.charCodeAt(oe+1)]<<12|Oe[Ce.charCodeAt(oe+2)]<<6|Oe[Ce.charCodeAt(oe+3)],E[te++]=ie>>16&255,E[te++]=ie>>8&255,E[te++]=ie&255;return ee===2&&(ie=Oe[Ce.charCodeAt(oe)]<<2|Oe[Ce.charCodeAt(oe+1)]>>4,E[te++]=ie&255),ee===1&&(ie=Oe[Ce.charCodeAt(oe)]<<10|Oe[Ce.charCodeAt(oe+1)]<<4|Oe[Ce.charCodeAt(oe+2)]>>2,E[te++]=ie>>8&255,E[te++]=ie&255),E}function de(Ce){return we[Ce>>18&63]+we[Ce>>12&63]+we[Ce>>6&63]+we[Ce&63]}function Ie(Ce,ie,y){for(var a,ee=[],E=ie;E<y;E+=3)a=(Ce[E]<<16&16711680)+(Ce[E+1]<<8&65280)+(Ce[E+2]&255),ee.push(de(a));return ee.join("")}function Fe(Ce){for(var ie,y=Ce.length,a=y%3,ee=[],E=16383,te=0,ne=y-a;te<ne;te+=E)ee.push(Ie(Ce,te,te+E>ne?ne:te+E));return a===1?(ie=Ce[y-1],ee.push(we[ie>>2]+we[ie<<4&63]+"==")):a===2&&(ie=(Ce[y-2]<<8)+Ce[y-1],ee.push(we[ie>>10]+we[ie>>4&63]+we[ie<<2&63]+"=")),ee.join("")}},19208:function(on,Ut,we){"use strict";var Oe;var be=we(86251),ze=we(67467),at=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ut.lW=Be,Oe=te,Ut.h2=50;var Ge=2147483647;Oe=Ge,Be.TYPED_ARRAY_SUPPORT=je(),!Be.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function je(){try{var Te=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(Te,pe),Te.foo()===42}catch(ce){return!1}}Object.defineProperty(Be.prototype,"parent",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.buffer}}),Object.defineProperty(Be.prototype,"offset",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.byteOffset}});function me(Te){if(Te>Ge)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var pe=new Uint8Array(Te);return Object.setPrototypeOf(pe,Be.prototype),pe}function Be(Te,pe,ce){if(typeof Te=="number"){if(typeof pe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Fe(Te)}return Le(Te,pe,ce)}Be.poolSize=8192;function Le(Te,pe,ce){if(typeof Te=="string")return Ce(Te,pe);if(ArrayBuffer.isView(Te))return y(Te);if(Te==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te);if(er(Te,ArrayBuffer)||Te&&er(Te.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(er(Te,SharedArrayBuffer)||Te&&er(Te.buffer,SharedArrayBuffer)))return a(Te,pe,ce);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=Te.valueOf&&Te.valueOf();if(ye!=null&&ye!==Te)return Be.from(ye,pe,ce);var qe=ee(Te);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return Be.from(Te[Symbol.toPrimitive]("string"),pe,ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te)}Be.from=function(Te,pe,ce){return Le(Te,pe,ce)},Object.setPrototypeOf(Be.prototype,Uint8Array.prototype),Object.setPrototypeOf(Be,Uint8Array);function de(Te){if(typeof Te!="number")throw new TypeError('"size" argument must be of type number');if(Te<0)throw new RangeError('The value "'+Te+'" is invalid for option "size"')}function Ie(Te,pe,ce){return de(Te),Te<=0?me(Te):pe!==void 0?typeof ce=="string"?me(Te).fill(pe,ce):me(Te).fill(pe):me(Te)}Be.alloc=function(Te,pe,ce){return Ie(Te,pe,ce)};function Fe(Te){return de(Te),me(Te<0?0:E(Te)|0)}Be.allocUnsafe=function(Te){return Fe(Te)},Be.allocUnsafeSlow=function(Te){return Fe(Te)};function Ce(Te,pe){if((typeof pe!="string"||pe==="")&&(pe="utf8"),!Be.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);var ce=ne(Te,pe)|0,ye=me(ce),qe=ye.write(Te,pe);return qe!==ce&&(ye=ye.slice(0,qe)),ye}function ie(Te){for(var pe=Te.length<0?0:E(Te.length)|0,ce=me(pe),ye=0;ye<pe;ye+=1)ce[ye]=Te[ye]&255;return ce}function y(Te){if(er(Te,Uint8Array)){var pe=new Uint8Array(Te);return a(pe.buffer,pe.byteOffset,pe.byteLength)}return ie(Te)}function a(Te,pe,ce){if(pe<0||Te.byteLength<pe)throw new RangeError('"offset" is outside of buffer bounds');if(Te.byteLength<pe+(ce||0))throw new RangeError('"length" is outside of buffer bounds');var ye;return pe===void 0&&ce===void 0?ye=new Uint8Array(Te):ce===void 0?ye=new Uint8Array(Te,pe):ye=new Uint8Array(Te,pe,ce),Object.setPrototypeOf(ye,Be.prototype),ye}function ee(Te){if(Be.isBuffer(Te)){var pe=E(Te.length)|0,ce=me(pe);return ce.length===0||Te.copy(ce,0,0,pe),ce}if(Te.length!==void 0)return typeof Te.length!="number"||Re(Te.length)?me(0):ie(Te);if(Te.type==="Buffer"&&Array.isArray(Te.data))return ie(Te.data)}function E(Te){if(Te>=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return Te|0}function te(Te){return+Te!=Te&&(Te=0),Be.alloc(+Te)}Be.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==Be.prototype},Be.compare=function(pe,ce){if(er(pe,Uint8Array)&&(pe=Be.from(pe,pe.offset,pe.byteLength)),er(ce,Uint8Array)&&(ce=Be.from(ce,ce.offset,ce.byteLength)),!Be.isBuffer(pe)||!Be.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(pe===ce)return 0;for(var ye=pe.length,qe=ce.length,gt=0,Me=Math.min(ye,qe);gt<Me;++gt)if(pe[gt]!==ce[gt]){ye=pe[gt],qe=ce[gt];break}return ye<qe?-1:qe<ye?1:0},Be.isEncoding=function(pe){switch(String(pe).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Be.concat=function(pe,ce){if(!Array.isArray(pe))throw new TypeError('"list" argument must be an Array of Buffers');if(pe.length===0)return Be.alloc(0);var ye;if(ce===void 0)for(ce=0,ye=0;ye<pe.length;++ye)ce+=pe[ye].length;var qe=Be.allocUnsafe(ce),gt=0;for(ye=0;ye<pe.length;++ye){var Me=pe[ye];if(er(Me,Uint8Array))gt+Me.length>qe.length?Be.from(Me).copy(qe,gt):Uint8Array.prototype.set.call(qe,Me,gt);else if(Be.isBuffer(Me))Me.copy(qe,gt);else throw new TypeError('"list" argument must be an Array of Buffers');gt+=Me.length}return qe};function ne(Te,pe){if(Be.isBuffer(Te))return Te.length;if(ArrayBuffer.isView(Te)||er(Te,ArrayBuffer))return Te.byteLength;if(typeof Te!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Te);var ce=Te.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&ce===0)return 0;for(var qe=!1;;)switch(pe){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return Hn(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce*2;case"hex":return ce>>>1;case"base64":return yt(Te).length;default:if(qe)return ye?-1:Hn(Te).length;pe=(""+pe).toLowerCase(),qe=!0}}Be.byteLength=ne;function oe(Te,pe,ce){var ye=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((ce===void 0||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0,pe>>>=0,ce<=pe))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return dt(this,pe,ce);case"utf8":case"utf-8":return ke(this,pe,ce);case"ascii":return rt(this,pe,ce);case"latin1":case"binary":return wt(this,pe,ce);case"base64":return Bt(this,pe,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,pe,ce);default:if(ye)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),ye=!0}}Be.prototype._isBuffer=!0;function he(Te,pe,ce){var ye=Te[pe];Te[pe]=Te[ce],Te[ce]=ye}Be.prototype.swap16=function(){var pe=this.length;if(pe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;ce<pe;ce+=2)he(this,ce,ce+1);return this},Be.prototype.swap32=function(){var pe=this.length;if(pe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ce=0;ce<pe;ce+=4)he(this,ce,ce+3),he(this,ce+1,ce+2);return this},Be.prototype.swap64=function(){var pe=this.length;if(pe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ce=0;ce<pe;ce+=8)he(this,ce,ce+7),he(this,ce+1,ce+6),he(this,ce+2,ce+5),he(this,ce+3,ce+4);return this},Be.prototype.toString=function(){var pe=this.length;return pe===0?"":arguments.length===0?ke(this,0,pe):oe.apply(this,arguments)},Be.prototype.toLocaleString=Be.prototype.toString,Be.prototype.equals=function(pe){if(!Be.isBuffer(pe))throw new TypeError("Argument must be a Buffer");return this===pe?!0:Be.compare(this,pe)===0},Be.prototype.inspect=function(){var pe="",ce=Ut.h2;return pe=this.toString("hex",0,ce).replace(/(.{2})/g,"$1 ").trim(),this.length>ce&&(pe+=" ... "),"<Buffer "+pe+">"},at&&(Be.prototype[at]=Be.prototype.inspect),Be.prototype.compare=function(pe,ce,ye,qe,gt){if(er(pe,Uint8Array)&&(pe=Be.from(pe,pe.offset,pe.byteLength)),!Be.isBuffer(pe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(ce===void 0&&(ce=0),ye===void 0&&(ye=pe?pe.length:0),qe===void 0&&(qe=0),gt===void 0&&(gt=this.length),ce<0||ye>pe.length||qe<0||gt>this.length)throw new RangeError("out of range index");if(qe>=gt&&ce>=ye)return 0;if(qe>=gt)return-1;if(ce>=ye)return 1;if(ce>>>=0,ye>>>=0,qe>>>=0,gt>>>=0,this===pe)return 0;for(var Me=gt-qe,Xe=ye-ce,Pt=Math.min(Me,Xe),ct=this.slice(qe,gt),ot=pe.slice(ce,ye),kt=0;kt<Pt;++kt)if(ct[kt]!==ot[kt]){Me=ct[kt],Xe=ot[kt];break}return Me<Xe?-1:Xe<Me?1:0};function _e(Te,pe,ce,ye,qe){if(Te.length===0)return-1;if(typeof ce=="string"?(ye=ce,ce=0):ce>2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ce=+ce,Re(ce)&&(ce=qe?0:Te.length-1),ce<0&&(ce=Te.length+ce),ce>=Te.length){if(qe)return-1;ce=Te.length-1}else if(ce<0)if(qe)ce=0;else return-1;if(typeof pe=="string"&&(pe=Be.from(pe,ye)),Be.isBuffer(pe))return pe.length===0?-1:Pe(Te,pe,ce,ye,qe);if(typeof pe=="number")return pe=pe&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Te,pe,ce):Uint8Array.prototype.lastIndexOf.call(Te,pe,ce):Pe(Te,[pe],ce,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Te,pe,ce,ye,qe){var gt=1,Me=Te.length,Xe=pe.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(Te.length<2||pe.length<2)return-1;gt=2,Me/=2,Xe/=2,ce/=2}function Pt(_t,nn){return gt===1?_t[nn]:_t.readUInt16BE(nn*gt)}var ct;if(qe){var ot=-1;for(ct=ce;ct<Me;ct++)if(Pt(Te,ct)===Pt(pe,ot===-1?0:ct-ot)){if(ot===-1&&(ot=ct),ct-ot+1===Xe)return ot*gt}else ot!==-1&&(ct-=ct-ot),ot=-1}else for(ce+Xe>Me&&(ce=Me-Xe),ct=ce;ct>=0;ct--){for(var kt=!0,_n=0;_n<Xe;_n++)if(Pt(Te,ct+_n)!==Pt(pe,_n)){kt=!1;break}if(kt)return ct}return-1}Be.prototype.includes=function(pe,ce,ye){return this.indexOf(pe,ce,ye)!==-1},Be.prototype.indexOf=function(pe,ce,ye){return _e(this,pe,ce,ye,!0)},Be.prototype.lastIndexOf=function(pe,ce,ye){return _e(this,pe,ce,ye,!1)};function Qe(Te,pe,ce,ye){ce=Number(ce)||0;var qe=Te.length-ce;ye?(ye=Number(ye),ye>qe&&(ye=qe)):ye=qe;var gt=pe.length;ye>gt/2&&(ye=gt/2);for(var Me=0;Me<ye;++Me){var Xe=parseInt(pe.substr(Me*2,2),16);if(Re(Xe))return Me;Te[ce+Me]=Xe}return Me}function Ze(Te,pe,ce,ye){return Kn(Hn(pe,Te.length-ce),Te,ce,ye)}function Ve(Te,pe,ce,ye){return Kn(un(pe),Te,ce,ye)}function nt(Te,pe,ce,ye){return Kn(yt(pe),Te,ce,ye)}function De(Te,pe,ce,ye){return Kn(Vn(pe,Te.length-ce),Te,ce,ye)}Be.prototype.write=function(pe,ce,ye,qe){if(ce===void 0)qe="utf8",ye=this.length,ce=0;else if(ye===void 0&&typeof ce=="string")qe=ce,ye=this.length,ce=0;else if(isFinite(ce))ce=ce>>>0,isFinite(ye)?(ye=ye>>>0,qe===void 0&&(qe="utf8")):(qe=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var gt=this.length-ce;if((ye===void 0||ye>gt)&&(ye=gt),pe.length>0&&(ye<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Me=!1;;)switch(qe){case"hex":return Qe(this,pe,ce,ye);case"utf8":case"utf-8":return Ze(this,pe,ce,ye);case"ascii":case"latin1":case"binary":return Ve(this,pe,ce,ye);case"base64":return nt(this,pe,ce,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return De(this,pe,ce,ye);default:if(Me)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Me=!0}},Be.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Bt(Te,pe,ce){return pe===0&&ce===Te.length?be.fromByteArray(Te):be.fromByteArray(Te.slice(pe,ce))}function ke(Te,pe,ce){ce=Math.min(Te.length,ce);for(var ye=[],qe=pe;qe<ce;){var gt=Te[qe],Me=null,Xe=gt>239?4:gt>223?3:gt>191?2:1;if(qe+Xe<=ce){var Pt,ct,ot,kt;switch(Xe){case 1:gt<128&&(Me=gt);break;case 2:Pt=Te[qe+1],(Pt&192)===128&&(kt=(gt&31)<<6|Pt&63,kt>127&&(Me=kt));break;case 3:Pt=Te[qe+1],ct=Te[qe+2],(Pt&192)===128&&(ct&192)===128&&(kt=(gt&15)<<12|(Pt&63)<<6|ct&63,kt>2047&&(kt<55296||kt>57343)&&(Me=kt));break;case 4:Pt=Te[qe+1],ct=Te[qe+2],ot=Te[qe+3],(Pt&192)===128&&(ct&192)===128&&(ot&192)===128&&(kt=(gt&15)<<18|(Pt&63)<<12|(ct&63)<<6|ot&63,kt>65535&&kt<1114112&&(Me=kt))}}Me===null?(Me=65533,Xe=1):Me>65535&&(Me-=65536,ye.push(Me>>>10&1023|55296),Me=56320|Me&1023),ye.push(Me),qe+=Xe}return it(ye)}var Ot=4096;function it(Te){var pe=Te.length;if(pe<=Ot)return String.fromCharCode.apply(String,Te);for(var ce="",ye=0;ye<pe;)ce+=String.fromCharCode.apply(String,Te.slice(ye,ye+=Ot));return ce}function rt(Te,pe,ce){var ye="";ce=Math.min(Te.length,ce);for(var qe=pe;qe<ce;++qe)ye+=String.fromCharCode(Te[qe]&127);return ye}function wt(Te,pe,ce){var ye="";ce=Math.min(Te.length,ce);for(var qe=pe;qe<ce;++qe)ye+=String.fromCharCode(Te[qe]);return ye}function dt(Te,pe,ce){var ye=Te.length;(!pe||pe<0)&&(pe=0),(!ce||ce<0||ce>ye)&&(ce=ye);for(var qe="",gt=pe;gt<ce;++gt)qe+=Kt[Te[gt]];return qe}function pt(Te,pe,ce){for(var ye=Te.slice(pe,ce),qe="",gt=0;gt<ye.length-1;gt+=2)qe+=String.fromCharCode(ye[gt]+ye[gt+1]*256);return qe}Be.prototype.slice=function(pe,ce){var ye=this.length;pe=~~pe,ce=ce===void 0?ye:~~ce,pe<0?(pe+=ye,pe<0&&(pe=0)):pe>ye&&(pe=ye),ce<0?(ce+=ye,ce<0&&(ce=0)):ce>ye&&(ce=ye),ce<pe&&(ce=pe);var qe=this.subarray(pe,ce);return Object.setPrototypeOf(qe,Be.prototype),qe};function st(Te,pe,ce){if(Te%1!==0||Te<0)throw new RangeError("offset is not uint");if(Te+pe>ce)throw new RangeError("Trying to access beyond buffer length")}Be.prototype.readUintLE=Be.prototype.readUIntLE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe],gt=1,Me=0;++Me<ce&&(gt*=256);)qe+=this[pe+Me]*gt;return qe},Be.prototype.readUintBE=Be.prototype.readUIntBE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe+--ce],gt=1;ce>0&&(gt*=256);)qe+=this[pe+--ce]*gt;return qe},Be.prototype.readUint8=Be.prototype.readUInt8=function(pe,ce){return pe=pe>>>0,ce||st(pe,1,this.length),this[pe]},Be.prototype.readUint16LE=Be.prototype.readUInt16LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,2,this.length),this[pe]|this[pe+1]<<8},Be.prototype.readUint16BE=Be.prototype.readUInt16BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,2,this.length),this[pe]<<8|this[pe+1]},Be.prototype.readUint32LE=Be.prototype.readUInt32LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},Be.prototype.readUint32BE=Be.prototype.readUInt32BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},Be.prototype.readIntLE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe],gt=1,Me=0;++Me<ce&&(gt*=256);)qe+=this[pe+Me]*gt;return gt*=128,qe>=gt&&(qe-=Math.pow(2,8*ce)),qe},Be.prototype.readIntBE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=ce,gt=1,Me=this[pe+--qe];qe>0&&(gt*=256);)Me+=this[pe+--qe]*gt;return gt*=128,Me>=gt&&(Me-=Math.pow(2,8*ce)),Me},Be.prototype.readInt8=function(pe,ce){return pe=pe>>>0,ce||st(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},Be.prototype.readInt16LE=function(pe,ce){pe=pe>>>0,ce||st(pe,2,this.length);var ye=this[pe]|this[pe+1]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt16BE=function(pe,ce){pe=pe>>>0,ce||st(pe,2,this.length);var ye=this[pe+1]|this[pe]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt32LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},Be.prototype.readInt32BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},Be.prototype.readFloatLE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),ze.read(this,pe,!0,23,4)},Be.prototype.readFloatBE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),ze.read(this,pe,!1,23,4)},Be.prototype.readDoubleLE=function(pe,ce){return pe=pe>>>0,ce||st(pe,8,this.length),ze.read(this,pe,!0,52,8)},Be.prototype.readDoubleBE=function(pe,ce){return pe=pe>>>0,ce||st(pe,8,this.length),ze.read(this,pe,!1,52,8)};function ft(Te,pe,ce,ye,qe,gt){if(!Be.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>qe||pe<gt)throw new RangeError('"value" argument is out of bounds');if(ce+ye>Te.length)throw new RangeError("Index out of range")}Be.prototype.writeUintLE=Be.prototype.writeUIntLE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,ye=ye>>>0,!qe){var gt=Math.pow(2,8*ye)-1;ft(this,pe,ce,ye,gt,0)}var Me=1,Xe=0;for(this[ce]=pe&255;++Xe<ye&&(Me*=256);)this[ce+Xe]=pe/Me&255;return ce+ye},Be.prototype.writeUintBE=Be.prototype.writeUIntBE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,ye=ye>>>0,!qe){var gt=Math.pow(2,8*ye)-1;ft(this,pe,ce,ye,gt,0)}var Me=ye-1,Xe=1;for(this[ce+Me]=pe&255;--Me>=0&&(Xe*=256);)this[ce+Me]=pe/Xe&255;return ce+ye},Be.prototype.writeUint8=Be.prototype.writeUInt8=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,1,255,0),this[ce]=pe&255,ce+1},Be.prototype.writeUint16LE=Be.prototype.writeUInt16LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,65535,0),this[ce]=pe&255,this[ce+1]=pe>>>8,ce+2},Be.prototype.writeUint16BE=Be.prototype.writeUInt16BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,65535,0),this[ce]=pe>>>8,this[ce+1]=pe&255,ce+2},Be.prototype.writeUint32LE=Be.prototype.writeUInt32LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,4294967295,0),this[ce+3]=pe>>>24,this[ce+2]=pe>>>16,this[ce+1]=pe>>>8,this[ce]=pe&255,ce+4},Be.prototype.writeUint32BE=Be.prototype.writeUInt32BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,4294967295,0),this[ce]=pe>>>24,this[ce+1]=pe>>>16,this[ce+2]=pe>>>8,this[ce+3]=pe&255,ce+4},Be.prototype.writeIntLE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,!qe){var gt=Math.pow(2,8*ye-1);ft(this,pe,ce,ye,gt-1,-gt)}var Me=0,Xe=1,Pt=0;for(this[ce]=pe&255;++Me<ye&&(Xe*=256);)pe<0&&Pt===0&&this[ce+Me-1]!==0&&(Pt=1),this[ce+Me]=(pe/Xe>>0)-Pt&255;return ce+ye},Be.prototype.writeIntBE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,!qe){var gt=Math.pow(2,8*ye-1);ft(this,pe,ce,ye,gt-1,-gt)}var Me=ye-1,Xe=1,Pt=0;for(this[ce+Me]=pe&255;--Me>=0&&(Xe*=256);)pe<0&&Pt===0&&this[ce+Me+1]!==0&&(Pt=1),this[ce+Me]=(pe/Xe>>0)-Pt&255;return ce+ye},Be.prototype.writeInt8=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,1,127,-128),pe<0&&(pe=255+pe+1),this[ce]=pe&255,ce+1},Be.prototype.writeInt16LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,32767,-32768),this[ce]=pe&255,this[ce+1]=pe>>>8,ce+2},Be.prototype.writeInt16BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,32767,-32768),this[ce]=pe>>>8,this[ce+1]=pe&255,ce+2},Be.prototype.writeInt32LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,2147483647,-2147483648),this[ce]=pe&255,this[ce+1]=pe>>>8,this[ce+2]=pe>>>16,this[ce+3]=pe>>>24,ce+4},Be.prototype.writeInt32BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[ce]=pe>>>24,this[ce+1]=pe>>>16,this[ce+2]=pe>>>8,this[ce+3]=pe&255,ce+4};function rn(Te,pe,ce,ye,qe,gt){if(ce+ye>Te.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function fn(Te,pe,ce,ye,qe){return pe=+pe,ce=ce>>>0,qe||rn(Te,pe,ce,4,34028234663852886e22,-34028234663852886e22),ze.write(Te,pe,ce,ye,23,4),ce+4}Be.prototype.writeFloatLE=function(pe,ce,ye){return fn(this,pe,ce,!0,ye)},Be.prototype.writeFloatBE=function(pe,ce,ye){return fn(this,pe,ce,!1,ye)};function Et(Te,pe,ce,ye,qe){return pe=+pe,ce=ce>>>0,qe||rn(Te,pe,ce,8,17976931348623157e292,-17976931348623157e292),ze.write(Te,pe,ce,ye,52,8),ce+8}Be.prototype.writeDoubleLE=function(pe,ce,ye){return Et(this,pe,ce,!0,ye)},Be.prototype.writeDoubleBE=function(pe,ce,ye){return Et(this,pe,ce,!1,ye)},Be.prototype.copy=function(pe,ce,ye,qe){if(!Be.isBuffer(pe))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),ce>=pe.length&&(ce=pe.length),ce||(ce=0),qe>0&&qe<ye&&(qe=ye),qe===ye||pe.length===0||this.length===0)return 0;if(ce<0)throw new RangeError("targetStart out of bounds");if(ye<0||ye>=this.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("sourceEnd out of bounds");qe>this.length&&(qe=this.length),pe.length-ce<qe-ye&&(qe=pe.length-ce+ye);var gt=qe-ye;return this===pe&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(ce,ye,qe):Uint8Array.prototype.set.call(pe,this.subarray(ye,qe),ce),gt},Be.prototype.fill=function(pe,ce,ye,qe){if(typeof pe=="string"){if(typeof ce=="string"?(qe=ce,ce=0,ye=this.length):typeof ye=="string"&&(qe=ye,ye=this.length),qe!==void 0&&typeof qe!="string")throw new TypeError("encoding must be a string");if(typeof qe=="string"&&!Be.isEncoding(qe))throw new TypeError("Unknown encoding: "+qe);if(pe.length===1){var gt=pe.charCodeAt(0);(qe==="utf8"&><128||qe==="latin1")&&(pe=gt)}}else typeof pe=="number"?pe=pe&255:typeof pe=="boolean"&&(pe=Number(pe));if(ce<0||this.length<ce||this.length<ye)throw new RangeError("Out of range index");if(ye<=ce)return this;ce=ce>>>0,ye=ye===void 0?this.length:ye>>>0,pe||(pe=0);var Me;if(typeof pe=="number")for(Me=ce;Me<ye;++Me)this[Me]=pe;else{var Xe=Be.isBuffer(pe)?pe:Be.from(pe,qe),Pt=Xe.length;if(Pt===0)throw new TypeError('The value "'+pe+'" is invalid for argument "value"');for(Me=0;Me<ye-ce;++Me)this[Me+ce]=Xe[Me%Pt]}return this};var Jt=/[^+/0-9A-Za-z-_]/g;function Ln(Te){if(Te=Te.split("=")[0],Te=Te.trim().replace(Jt,""),Te.length<2)return"";for(;Te.length%4!==0;)Te=Te+"=";return Te}function Hn(Te,pe){pe=pe||1/0;for(var ce,ye=Te.length,qe=null,gt=[],Me=0;Me<ye;++Me){if(ce=Te.charCodeAt(Me),ce>55295&&ce<57344){if(!qe){if(ce>56319){(pe-=3)>-1&>.push(239,191,189);continue}else if(Me+1===ye){(pe-=3)>-1&>.push(239,191,189);continue}qe=ce;continue}if(ce<56320){(pe-=3)>-1&>.push(239,191,189),qe=ce;continue}ce=(qe-55296<<10|ce-56320)+65536}else qe&&(pe-=3)>-1&>.push(239,191,189);if(qe=null,ce<128){if((pe-=1)<0)break;gt.push(ce)}else if(ce<2048){if((pe-=2)<0)break;gt.push(ce>>6|192,ce&63|128)}else if(ce<65536){if((pe-=3)<0)break;gt.push(ce>>12|224,ce>>6&63|128,ce&63|128)}else if(ce<1114112){if((pe-=4)<0)break;gt.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,ce&63|128)}else throw new Error("Invalid code point")}return gt}function un(Te){for(var pe=[],ce=0;ce<Te.length;++ce)pe.push(Te.charCodeAt(ce)&255);return pe}function Vn(Te,pe){for(var ce,ye,qe,gt=[],Me=0;Me<Te.length&&!((pe-=2)<0);++Me)ce=Te.charCodeAt(Me),ye=ce>>8,qe=ce%256,gt.push(qe),gt.push(ye);return gt}function yt(Te){return be.toByteArray(Ln(Te))}function Kn(Te,pe,ce,ye){for(var qe=0;qe<ye&&!(qe+ce>=pe.length||qe>=Te.length);++qe)pe[qe+ce]=Te[qe];return qe}function er(Te,pe){return Te instanceof pe||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===pe.name}function Re(Te){return Te!==Te}var Kt=function(){for(var Te="0123456789abcdef",pe=new Array(256),ce=0;ce<16;++ce)for(var ye=ce*16,qe=0;qe<16;++qe)pe[ye+qe]=Te[ce]+Te[qe];return pe}()},14625:function(on){function Ut(Oe){var be,ze,at="";if(typeof Oe=="string"||typeof Oe=="number")at+=Oe;else if(typeof Oe=="object")if(Array.isArray(Oe)){var Ge=Oe.length;for(be=0;be<Ge;be++)Oe[be]&&(ze=Ut(Oe[be]))&&(at&&(at+=" "),at+=ze)}else for(ze in Oe)Oe[ze]&&(at&&(at+=" "),at+=ze);return at}function we(){for(var Oe,be,ze=0,at="",Ge=arguments.length;ze<Ge;ze++)(Oe=arguments[ze])&&(be=Ut(Oe))&&(at&&(at+=" "),at+=be);return at}on.exports=we,on.exports.clsx=we},97774:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var Oe=Object.assign||function(a){for(var ee=1;ee<arguments.length;ee++){var E=arguments[ee];for(var te in E)Object.prototype.hasOwnProperty.call(E,te)&&(a[te]=E[te])}return a},be=function(){function a(ee,E){for(var te=0;te<E.length;te++){var ne=E[te];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ee,ne.key,ne)}}return function(ee,E,te){return E&&a(ee.prototype,E),te&&a(ee,te),ee}}(),ze=we(59301),at=Ie(ze),Ge=we(12708),je=Ie(Ge),me=we(53291),Be=Ie(me),Le=we(47242),de=we(65429);function Ie(a){return a&&a.__esModule?a:{default:a}}function Fe(a,ee){if(!(a instanceof ee))throw new TypeError("Cannot call a class as a function")}function Ce(a,ee){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee&&(typeof ee=="object"||typeof ee=="function")?ee:a}function ie(a,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ee);a.prototype=Object.create(ee&&ee.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ee&&(Object.setPrototypeOf?Object.setPrototypeOf(a,ee):a.__proto__=ee)}var y=function(a){ie(ee,a);function ee(E){Fe(this,ee);var te=Ce(this,(ee.__proto__||Object.getPrototypeOf(ee)).call(this,E));return te.getEchartsInstance=function(){return te.echartsLib.getInstanceByDom(te.echartsElement)||te.echartsLib.init(te.echartsElement,te.props.theme,te.props.opts)},te.dispose=function(){if(te.echartsElement){try{(0,Le.clear)(te.echartsElement)}catch(ne){console.warn(ne)}te.echartsLib.dispose(te.echartsElement)}},te.rerender=function(){var ne=te.props,oe=ne.onEvents,he=ne.onChartReady,_e=te.renderEchartDom();te.bindEvents(_e,oe||{}),typeof he=="function"&&te.props.onChartReady(_e),te.echartsElement&&(0,Le.bind)(te.echartsElement,function(){try{_e.resize()}catch(Pe){console.warn(Pe)}})},te.bindEvents=function(ne,oe){var he=function(Qe,Ze){typeof Qe=="string"&&typeof Ze=="function"&&ne.on(Qe,function(Ve){Ze(Ve,ne)})};for(var _e in oe)Object.prototype.hasOwnProperty.call(oe,_e)&&he(_e,oe[_e])},te.renderEchartDom=function(){var ne=te.getEchartsInstance();return ne.setOption(te.props.option,te.props.notMerge||!1,te.props.lazyUpdate||!1),te.props.showLoading?ne.showLoading(te.props.loadingOption||null):ne.hideLoading(),ne},te.echartsLib=E.echarts,te.echartsElement=null,te}return be(ee,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(te){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(te,this.props))){if(!(0,Be.default)(te.theme,this.props.theme)||!(0,Be.default)(te.opts,this.props.opts)||!(0,Be.default)(te.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var ne=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,Be.default)((0,de.pick)(this.props,ne),(0,de.pick)(te,ne))){var oe=this.renderEchartDom();if(!(0,Be.default)(te.style,this.props.style)||!(0,Be.default)(te.className,this.props.className))try{oe.resize()}catch(he){console.warn(he)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var te=this,ne=this.props,oe=ne.style,he=ne.className,_e=Oe({height:300},oe);return at.default.createElement("div",{ref:function(Qe){te.echartsElement=Qe},style:_e,className:"echarts-for-react "+he})}}]),ee}(ze.Component);Ut.default=y,y.propTypes={option:je.default.object.isRequired,echarts:je.default.object,notMerge:je.default.bool,lazyUpdate:je.default.bool,style:je.default.object,className:je.default.string,theme:je.default.oneOfType([je.default.string,je.default.object]),onChartReady:je.default.func,showLoading:je.default.bool,loadingOption:je.default.object,onEvents:je.default.object,opts:je.default.shape({devicePixelRatio:je.default.number,renderer:je.default.oneOf(["canvas","svg"]),width:je.default.oneOfType([je.default.number,je.default.oneOf([null,void 0,"auto"])]),height:je.default.oneOfType([je.default.number,je.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:je.default.func},y.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(on,Ut,we){"use strict";var Oe;Oe={value:!0},Ut.Z=void 0;var be=we(76411),ze=je(be),at=we(97774),Ge=je(at);function je(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}function me(Ie,Fe){if(!(Ie instanceof Fe))throw new TypeError("Cannot call a class as a function")}function Be(Ie,Fe){if(!Ie)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Fe&&(typeof Fe=="object"||typeof Fe=="function")?Fe:Ie}function Le(Ie,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Fe);Ie.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:Ie,enumerable:!1,writable:!0,configurable:!0}}),Fe&&(Object.setPrototypeOf?Object.setPrototypeOf(Ie,Fe):Ie.__proto__=Fe)}var de=function(Ie){Le(Fe,Ie);function Fe(Ce){me(this,Fe);var ie=Be(this,(Fe.__proto__||Object.getPrototypeOf(Fe)).call(this,Ce));return ie.echartsLib=ze.default,ie}return Fe}(Ge.default);Ut.Z=de},65429:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});var we=Ut.pick=function(be,ze){var at={};return ze.forEach(function(Ge){at[Ge]=be[Ge]}),at}},53291:function(on){"use strict";var Ut=Array.isArray,we=Object.keys,Oe=Object.prototype.hasOwnProperty;on.exports=function be(ze,at){if(ze===at)return!0;if(ze&&at&&typeof ze=="object"&&typeof at=="object"){var Ge=Ut(ze),je=Ut(at),me,Be,Le;if(Ge&&je){if(Be=ze.length,Be!=at.length)return!1;for(me=Be;me--!==0;)if(!be(ze[me],at[me]))return!1;return!0}if(Ge!=je)return!1;var de=ze instanceof Date,Ie=at instanceof Date;if(de!=Ie)return!1;if(de&&Ie)return ze.getTime()==at.getTime();var Fe=ze instanceof RegExp,Ce=at instanceof RegExp;if(Fe!=Ce)return!1;if(Fe&&Ce)return ze.toString()==at.toString();var ie=we(ze);if(Be=ie.length,Be!==we(at).length)return!1;for(me=Be;me--!==0;)if(!Oe.call(at,ie[me]))return!1;for(me=Be;me--!==0;)if(Le=ie[me],!be(ze[Le],at[Le]))return!1;return!0}return ze!==ze&&at!==at}},64270:function(on){(function(Ut,we){on.exports=we()})(this,function(){"use strict";var Ut=function(ue,Ae){return Ut=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ge){fe.__proto__=ge}||function(fe,ge){for(var He in ge)Object.prototype.hasOwnProperty.call(ge,He)&&(fe[He]=ge[He])},Ut(ue,Ae)};function we(ue,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Class extends value "+String(Ae)+" is not a constructor or null");Ut(ue,Ae);function fe(){this.constructor=ue}ue.prototype=Ae===null?Object.create(Ae):(fe.prototype=Ae.prototype,new fe)}var Oe=function(){return Oe=Object.assign||function(Ae){for(var fe,ge=1,He=arguments.length;ge<He;ge++){fe=arguments[ge];for(var tt in fe)Object.prototype.hasOwnProperty.call(fe,tt)&&(Ae[tt]=fe[tt])}return Ae},Oe.apply(this,arguments)};function be(ue,Ae,fe,ge){function He(tt){return tt instanceof fe?tt:new fe(function(ht){ht(tt)})}return new(fe||(fe=Promise))(function(tt,ht){function jt(Un){try{bn(ge.next(Un))}catch(Rn){ht(Rn)}}function Rt(Un){try{bn(ge.throw(Un))}catch(Rn){ht(Rn)}}function bn(Un){Un.done?tt(Un.value):He(Un.value).then(jt,Rt)}bn((ge=ge.apply(ue,Ae||[])).next())})}function ze(ue,Ae){var fe={label:0,sent:function(){if(tt[0]&1)throw tt[1];return tt[1]},trys:[],ops:[]},ge,He,tt,ht;return ht={next:jt(0),throw:jt(1),return:jt(2)},typeof Symbol=="function"&&(ht[Symbol.iterator]=function(){return this}),ht;function jt(bn){return function(Un){return Rt([bn,Un])}}function Rt(bn){if(ge)throw new TypeError("Generator is already executing.");for(;fe;)try{if(ge=1,He&&(tt=bn[0]&2?He.return:bn[0]?He.throw||((tt=He.return)&&tt.call(He),0):He.next)&&!(tt=tt.call(He,bn[1])).done)return tt;switch(He=0,tt&&(bn=[bn[0]&2,tt.value]),bn[0]){case 0:case 1:tt=bn;break;case 4:return fe.label++,{value:bn[1],done:!1};case 5:fe.label++,He=bn[1],bn=[0];continue;case 7:bn=fe.ops.pop(),fe.trys.pop();continue;default:if(tt=fe.trys,!(tt=tt.length>0&&tt[tt.length-1])&&(bn[0]===6||bn[0]===2)){fe=0;continue}if(bn[0]===3&&(!tt||bn[1]>tt[0]&&bn[1]<tt[3])){fe.label=bn[1];break}if(bn[0]===6&&fe.label<tt[1]){fe.label=tt[1],tt=bn;break}if(tt&&fe.label<tt[2]){fe.label=tt[2],fe.ops.push(bn);break}tt[2]&&fe.ops.pop(),fe.trys.pop();continue}bn=Ae.call(ue,fe)}catch(Un){bn=[6,Un],He=0}finally{ge=tt=0}if(bn[0]&5)throw bn[1];return{value:bn[0]?bn[1]:void 0,done:!0}}}function at(ue,Ae,fe){if(fe||arguments.length===2)for(var ge=0,He=Ae.length,tt;ge<He;ge++)(tt||!(ge in Ae))&&(tt||(tt=Array.prototype.slice.call(Ae,0,ge)),tt[ge]=Ae[ge]);return ue.concat(tt||Ae)}for(var Ge=function(){function ue(Ae,fe,ge,He){this.left=Ae,this.top=fe,this.width=ge,this.height=He}return ue.prototype.add=function(Ae,fe,ge,He){return new ue(this.left+Ae,this.top+fe,this.width+ge,this.height+He)},ue.fromClientRect=function(Ae,fe){return new ue(fe.left+Ae.windowBounds.left,fe.top+Ae.windowBounds.top,fe.width,fe.height)},ue.fromDOMRectList=function(Ae,fe){var ge=Array.from(fe).find(function(He){return He.width!==0});return ge?new ue(ge.left+Ae.windowBounds.left,ge.top+Ae.windowBounds.top,ge.width,ge.height):ue.EMPTY},ue.EMPTY=new ue(0,0,0,0),ue}(),je=function(ue,Ae){return Ge.fromClientRect(ue,Ae.getBoundingClientRect())},me=function(ue){var Ae=ue.body,fe=ue.documentElement;if(!Ae||!fe)throw new Error("Unable to get document size");var ge=Math.max(Math.max(Ae.scrollWidth,fe.scrollWidth),Math.max(Ae.offsetWidth,fe.offsetWidth),Math.max(Ae.clientWidth,fe.clientWidth)),He=Math.max(Math.max(Ae.scrollHeight,fe.scrollHeight),Math.max(Ae.offsetHeight,fe.offsetHeight),Math.max(Ae.clientHeight,fe.clientHeight));return new Ge(0,0,ge,He)},Be=function(ue){for(var Ae=[],fe=0,ge=ue.length;fe<ge;){var He=ue.charCodeAt(fe++);if(He>=55296&&He<=56319&&fe<ge){var tt=ue.charCodeAt(fe++);(tt&64512)===56320?Ae.push(((He&1023)<<10)+(tt&1023)+65536):(Ae.push(He),fe--)}else Ae.push(He)}return Ae},Le=function(){for(var ue=[],Ae=0;Ae<arguments.length;Ae++)ue[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ue);var fe=ue.length;if(!fe)return"";for(var ge=[],He=-1,tt="";++He<fe;){var ht=ue[He];ht<=65535?ge.push(ht):(ht-=65536,ge.push((ht>>10)+55296,ht%1024+56320)),(He+1===fe||ge.length>16384)&&(tt+=String.fromCharCode.apply(String,ge),ge.length=0)}return tt},de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ie=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Fe=0;Fe<de.length;Fe++)Ie[de.charCodeAt(Fe)]=Fe;for(var Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),y=0;y<Ce.length;y++)ie[Ce.charCodeAt(y)]=y;for(var a=function(ue){var Ae=ue.length*.75,fe=ue.length,ge,He=0,tt,ht,jt,Rt;ue[ue.length-1]==="="&&(Ae--,ue[ue.length-2]==="="&&Ae--);var bn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Un=Array.isArray(bn)?bn:new Uint8Array(bn);for(ge=0;ge<fe;ge+=4)tt=ie[ue.charCodeAt(ge)],ht=ie[ue.charCodeAt(ge+1)],jt=ie[ue.charCodeAt(ge+2)],Rt=ie[ue.charCodeAt(ge+3)],Un[He++]=tt<<2|ht>>4,Un[He++]=(ht&15)<<4|jt>>2,Un[He++]=(jt&3)<<6|Rt&63;return bn},ee=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=2)fe.push(ue[ge+1]<<8|ue[ge]);return fe},E=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=4)fe.push(ue[ge+3]<<24|ue[ge+2]<<16|ue[ge+1]<<8|ue[ge]);return fe},te=5,ne=11,oe=2,he=ne-te,_e=65536>>te,Pe=1<<te,Qe=Pe-1,Ze=1024>>te,Ve=_e+Ze,nt=Ve,De=32,Bt=nt+De,ke=65536>>ne,Ot=1<<he,it=Ot-1,rt=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint16Array(Array.prototype.slice.call(ue,Ae,fe))},wt=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint32Array(Array.prototype.slice.call(ue,Ae,fe))},dt=function(ue,Ae){var fe=a(ue),ge=Array.isArray(fe)?E(fe):new Uint32Array(fe),He=Array.isArray(fe)?ee(fe):new Uint16Array(fe),tt=24,ht=rt(He,tt/2,ge[4]/2),jt=ge[5]===2?rt(He,(tt+ge[4])/2):wt(ge,Math.ceil((tt+ge[4])/4));return new pt(ge[0],ge[1],ge[2],ge[3],ht,jt)},pt=function(){function ue(Ae,fe,ge,He,tt,ht){this.initialValue=Ae,this.errorValue=fe,this.highStart=ge,this.highValueIndex=He,this.index=tt,this.data=ht}return ue.prototype.get=function(Ae){var fe;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return fe=this.index[Ae>>te],fe=(fe<<oe)+(Ae&Qe),this.data[fe];if(Ae<=65535)return fe=this.index[_e+(Ae-55296>>te)],fe=(fe<<oe)+(Ae&Qe),this.data[fe];if(Ae<this.highStart)return fe=Bt-ke+(Ae>>ne),fe=this.index[fe],fe+=Ae>>te&it,fe=this.index[fe],fe=(fe<<oe)+(Ae&Qe),this.data[fe];if(Ae<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ue}(),st="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ft=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),rn=0;rn<st.length;rn++)ft[st.charCodeAt(rn)]=rn;var fn="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Et=50,Jt=1,Ln=2,Hn=3,un=4,Vn=5,yt=7,Kn=8,er=9,Re=10,Kt=11,Te=12,pe=13,ce=14,ye=15,qe=16,gt=17,Me=18,Xe=19,Pt=20,ct=21,ot=22,kt=23,_n=24,_t=25,nn=26,Nt=27,yn=28,Xt=29,Jn=30,hr=31,tr=32,Dr=33,Or=34,la=35,sa=36,Hr=37,br=38,Tr=39,ta=40,_a=41,fo=42,ea=43,pi=[9001,65288],_i="!",na="\xD7",ln="\xF7",zA=dt(fn),fA=[Jn,sa],UA=[Jt,Ln,Hn,Vn],ds=[Re,Kn],wi=[Nt,nn],Gs=UA.concat(ds),SA=[br,Tr,ta,Or,la],Ji=[ye,pe],En=function(ue,Ae){Ae===void 0&&(Ae="strict");var fe=[],ge=[],He=[];return ue.forEach(function(tt,ht){var jt=zA.get(tt);if(jt>Et?(He.push(!0),jt-=Et):He.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(tt)!==-1)return ge.push(ht),fe.push(qe);if(jt===un||jt===Kt){if(ht===0)return ge.push(ht),fe.push(Jn);var Rt=fe[ht-1];return Gs.indexOf(Rt)===-1?(ge.push(ge[ht-1]),fe.push(Rt)):(ge.push(ht),fe.push(Jn))}if(ge.push(ht),jt===hr)return fe.push(Ae==="strict"?ct:Hr);if(jt===fo||jt===Xt)return fe.push(Jn);if(jt===ea)return tt>=131072&&tt<=196605||tt>=196608&&tt<=262141?fe.push(Hr):fe.push(Jn);fe.push(jt)}),[ge,fe,He]},Dn=function(ue,Ae,fe,ge){var He=ge[fe];if(Array.isArray(ue)?ue.indexOf(He)!==-1:ue===He)for(var tt=fe;tt<=ge.length;){tt++;var ht=ge[tt];if(ht===Ae)return!0;if(ht!==Re)break}if(He===Re)for(var tt=fe;tt>0;){tt--;var jt=ge[tt];if(Array.isArray(ue)?ue.indexOf(jt)!==-1:ue===jt)for(var Rt=fe;Rt<=ge.length;){Rt++;var ht=ge[Rt];if(ht===Ae)return!0;if(ht!==Re)break}if(jt!==Re)break}return!1},vn=function(ue,Ae){for(var fe=ue;fe>=0;){var ge=Ae[fe];if(ge===Re)fe--;else return ge}return 0},kr=function(ue,Ae,fe,ge,He){if(fe[ge]===0)return na;var tt=ge-1;if(Array.isArray(He)&&He[tt]===!0)return na;var ht=tt-1,jt=tt+1,Rt=Ae[tt],bn=ht>=0?Ae[ht]:0,Un=Ae[jt];if(Rt===Ln&&Un===Hn)return na;if(UA.indexOf(Rt)!==-1)return _i;if(UA.indexOf(Un)!==-1||ds.indexOf(Un)!==-1)return na;if(vn(tt,Ae)===Kn)return ln;if(zA.get(ue[tt])===Kt||(Rt===tr||Rt===Dr)&&zA.get(ue[jt])===Kt||Rt===yt||Un===yt||Rt===er||[Re,pe,ye].indexOf(Rt)===-1&&Un===er||[gt,Me,Xe,_n,yn].indexOf(Un)!==-1||vn(tt,Ae)===ot||Dn(kt,ot,tt,Ae)||Dn([gt,Me],ct,tt,Ae)||Dn(Te,Te,tt,Ae))return na;if(Rt===Re)return ln;if(Rt===kt||Un===kt)return na;if(Un===qe||Rt===qe)return ln;if([pe,ye,ct].indexOf(Un)!==-1||Rt===ce||bn===sa&&Ji.indexOf(Rt)!==-1||Rt===yn&&Un===sa||Un===Pt||fA.indexOf(Un)!==-1&&Rt===_t||fA.indexOf(Rt)!==-1&&Un===_t||Rt===Nt&&[Hr,tr,Dr].indexOf(Un)!==-1||[Hr,tr,Dr].indexOf(Rt)!==-1&&Un===nn||fA.indexOf(Rt)!==-1&&wi.indexOf(Un)!==-1||wi.indexOf(Rt)!==-1&&fA.indexOf(Un)!==-1||[Nt,nn].indexOf(Rt)!==-1&&(Un===_t||[ot,ye].indexOf(Un)!==-1&&Ae[jt+1]===_t)||[ot,ye].indexOf(Rt)!==-1&&Un===_t||Rt===_t&&[_t,yn,_n].indexOf(Un)!==-1)return na;if([_t,yn,_n,gt,Me].indexOf(Un)!==-1)for(var Rn=tt;Rn>=0;){var dr=Ae[Rn];if(dr===_t)return na;if([yn,_n].indexOf(dr)!==-1)Rn--;else break}if([Nt,nn].indexOf(Un)!==-1)for(var Rn=[gt,Me].indexOf(Rt)!==-1?ht:tt;Rn>=0;){var dr=Ae[Rn];if(dr===_t)return na;if([yn,_n].indexOf(dr)!==-1)Rn--;else break}if(br===Rt&&[br,Tr,Or,la].indexOf(Un)!==-1||[Tr,Or].indexOf(Rt)!==-1&&[Tr,ta].indexOf(Un)!==-1||[ta,la].indexOf(Rt)!==-1&&Un===ta||SA.indexOf(Rt)!==-1&&[Pt,nn].indexOf(Un)!==-1||SA.indexOf(Un)!==-1&&Rt===Nt||fA.indexOf(Rt)!==-1&&fA.indexOf(Un)!==-1||Rt===_n&&fA.indexOf(Un)!==-1||fA.concat(_t).indexOf(Rt)!==-1&&Un===ot&&pi.indexOf(ue[jt])===-1||fA.concat(_t).indexOf(Un)!==-1&&Rt===Me)return na;if(Rt===_a&&Un===_a){for(var Ca=fe[tt],Mr=1;Ca>0&&(Ca--,Ae[Ca]===_a);)Mr++;if(Mr%2!==0)return na}return Rt===tr&&Un===Dr?na:ln},Ea=function(ue,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var fe=En(ue,Ae.lineBreak),ge=fe[0],He=fe[1],tt=fe[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(He=He.map(function(jt){return[_t,Jn,fo].indexOf(jt)!==-1?Hr:jt}));var ht=Ae.wordBreak==="keep-all"?tt.map(function(jt,Rt){return jt&&ue[Rt]>=19968&&ue[Rt]<=40959}):void 0;return[ge,He,ht]},Zr=function(){function ue(Ae,fe,ge,He){this.codePoints=Ae,this.required=fe===_i,this.start=ge,this.end=He}return ue.prototype.slice=function(){return Le.apply(void 0,this.codePoints.slice(this.start,this.end))},ue}(),si=function(ue,Ae){var fe=Be(ue),ge=Ea(fe,Ae),He=ge[0],tt=ge[1],ht=ge[2],jt=fe.length,Rt=0,bn=0;return{next:function(){if(bn>=jt)return{done:!0,value:null};for(var Un=na;bn<jt&&(Un=kr(fe,tt,He,++bn,ht))===na;);if(Un!==na||bn===jt){var Rn=new Zr(fe,Un,Rt,bn);return Rt=bn,{value:Rn,done:!1}}return{done:!0,value:null}}}},vo=1,Ko=2,_o=4,yA=8,gr=10,No=47,Di=92,fi=9,Si=32,Do=34,hA=61,MA=35,GA=36,Ds=37,$A=39,yi=40,gs=41,Fl=95,ZA=45,Pr=33,Dc=60,Su=62,Qu=64,tl=91,Rr=93,Na=61,Po=123,Fa=63,Ga=125,vi=124,va=126,ts=128,ns=65533,yu=42,Os=43,Oc=44,Qc=58,xl=59,_l=46,Tc=0,Tu=8,ku=11,Au=14,fl=31,Ru=127,An=-1,kc=48,ju=97,cd=101,su=102,fs=117,lu=122,rs=65,NA=69,Ac=70,Gl=85,wA=90,WA=function(ue){return ue>=kc&&ue<=57},Rc=function(ue){return ue>=55296&&ue<=57343},uu=function(ue){return WA(ue)||ue>=rs&&ue<=Ac||ue>=ju&&ue<=su},jc=function(ue){return ue>=ju&&ue<=lu},wn=function(ue){return ue>=rs&&ue<=wA},Dt=function(ue){return jc(ue)||wn(ue)},en=function(ue){return ue>=ts},On=function(ue){return ue===gr||ue===fi||ue===Si},sr=function(ue){return Dt(ue)||en(ue)||ue===Fl},Xr=function(ue){return sr(ue)||WA(ue)||ue===ZA},Ir=function(ue){return ue>=Tc&&ue<=Tu||ue===ku||ue>=Au&&ue<=fl||ue===Ru},mr=function(ue,Ae){return ue!==Di?!1:Ae!==gr},xr=function(ue,Ae,fe){return ue===ZA?sr(Ae)||mr(Ae,fe):sr(ue)?!0:!!(ue===Di&&mr(ue,Ae))},da=function(ue,Ae,fe){return ue===Os||ue===ZA?WA(Ae)?!0:Ae===_l&&WA(fe):WA(ue===_l?Ae:ue)},Ha=function(ue){var Ae=0,fe=1;(ue[Ae]===Os||ue[Ae]===ZA)&&(ue[Ae]===ZA&&(fe=-1),Ae++);for(var ge=[];WA(ue[Ae]);)ge.push(ue[Ae++]);var He=ge.length?parseInt(Le.apply(void 0,ge),10):0;ue[Ae]===_l&&Ae++;for(var tt=[];WA(ue[Ae]);)tt.push(ue[Ae++]);var ht=tt.length,jt=ht?parseInt(Le.apply(void 0,tt),10):0;(ue[Ae]===NA||ue[Ae]===cd)&&Ae++;var Rt=1;(ue[Ae]===Os||ue[Ae]===ZA)&&(ue[Ae]===ZA&&(Rt=-1),Ae++);for(var bn=[];WA(ue[Ae]);)bn.push(ue[Ae++]);var Un=bn.length?parseInt(Le.apply(void 0,bn),10):0;return fe*(He+jt*Math.pow(10,-ht))*Math.pow(10,Rt*Un)},To={type:2},ua={type:3},zi={type:4},li={type:13},Bi={type:8},ma={type:21},Da={type:9},Ma={type:10},La={type:11},Eo={type:12},Bo={type:14},VA={type:23},hl={type:1},iA={type:25},XA={type:24},nl={type:26},rl={type:27},al={type:28},Pn={type:29},In={type:31},ol={type:32},Wr=function(){function ue(){this._value=[]}return ue.prototype.write=function(Ae){this._value=this._value.concat(Be(Ae))},ue.prototype.read=function(){for(var Ae=[],fe=this.consumeToken();fe!==ol;)Ae.push(fe),fe=this.consumeToken();return Ae},ue.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case Do:return this.consumeStringToken(Do);case MA:var fe=this.peekCodePoint(0),ge=this.peekCodePoint(1),He=this.peekCodePoint(2);if(Xr(fe)||mr(ge,He)){var tt=xr(fe,ge,He)?Ko:vo,ht=this.consumeName();return{type:5,value:ht,flags:tt}}break;case GA:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),li;break;case $A:return this.consumeStringToken($A);case yi:return To;case gs:return ua;case yu:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Bo;break;case Os:if(da(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Oc:return zi;case ZA:var jt=Ae,Rt=this.peekCodePoint(0),bn=this.peekCodePoint(1);if(da(jt,Rt,bn))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if(xr(jt,Rt,bn))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(Rt===ZA&&bn===Su)return this.consumeCodePoint(),this.consumeCodePoint(),XA;break;case _l:if(da(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case No:if(this.peekCodePoint(0)===yu)for(this.consumeCodePoint();;){var Un=this.consumeCodePoint();if(Un===yu&&(Un=this.consumeCodePoint(),Un===No))return this.consumeToken();if(Un===An)return this.consumeToken()}break;case Qc:return nl;case xl:return rl;case Dc:if(this.peekCodePoint(0)===Pr&&this.peekCodePoint(1)===ZA&&this.peekCodePoint(2)===ZA)return this.consumeCodePoint(),this.consumeCodePoint(),iA;break;case Qu:var Rn=this.peekCodePoint(0),dr=this.peekCodePoint(1),Ca=this.peekCodePoint(2);if(xr(Rn,dr,Ca)){var ht=this.consumeName();return{type:7,value:ht}}break;case tl:return al;case Di:if(mr(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case Rr:return Pn;case Na:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Bi;break;case Po:return La;case Ga:return Eo;case fs:case Gl:var Mr=this.peekCodePoint(0),ia=this.peekCodePoint(1);return Mr===Os&&(uu(ia)||ia===Fa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case vi:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Da;if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),ma;break;case va:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Ma;break;case An:return ol}return On(Ae)?(this.consumeWhiteSpace(),In):WA(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):sr(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:Le(Ae)}},ue.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},ue.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},ue.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},ue.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],fe=this.consumeCodePoint();uu(fe)&&Ae.length<6;)Ae.push(fe),fe=this.consumeCodePoint();for(var ge=!1;fe===Fa&&Ae.length<6;)Ae.push(fe),fe=this.consumeCodePoint(),ge=!0;if(ge){var He=parseInt(Le.apply(void 0,Ae.map(function(Rt){return Rt===Fa?kc:Rt})),16),tt=parseInt(Le.apply(void 0,Ae.map(function(Rt){return Rt===Fa?Ac:Rt})),16);return{type:30,start:He,end:tt}}var ht=parseInt(Le.apply(void 0,Ae),16);if(this.peekCodePoint(0)===ZA&&uu(this.peekCodePoint(1))){this.consumeCodePoint(),fe=this.consumeCodePoint();for(var jt=[];uu(fe)&&jt.length<6;)jt.push(fe),fe=this.consumeCodePoint();var tt=parseInt(Le.apply(void 0,jt),16);return{type:30,start:ht,end:tt}}else return{type:30,start:ht,end:ht}},ue.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===yi?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===yi?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},ue.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===An)return{type:22,value:""};var fe=this.peekCodePoint(0);if(fe===$A||fe===Do){var ge=this.consumeStringToken(this.consumeCodePoint());return ge.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===An||this.peekCodePoint(0)===gs)?(this.consumeCodePoint(),{type:22,value:ge.value}):(this.consumeBadUrlRemnants(),VA)}for(;;){var He=this.consumeCodePoint();if(He===An||He===gs)return{type:22,value:Le.apply(void 0,Ae)};if(On(He))return this.consumeWhiteSpace(),this.peekCodePoint(0)===An||this.peekCodePoint(0)===gs?(this.consumeCodePoint(),{type:22,value:Le.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),VA);if(He===Do||He===$A||He===yi||Ir(He))return this.consumeBadUrlRemnants(),VA;if(He===Di)if(mr(He,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),VA;else Ae.push(He)}},ue.prototype.consumeWhiteSpace=function(){for(;On(this.peekCodePoint(0));)this.consumeCodePoint()},ue.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===gs||Ae===An)return;mr(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ue.prototype.consumeStringSlice=function(Ae){for(var fe=5e4,ge="";Ae>0;){var He=Math.min(fe,Ae);ge+=Le.apply(void 0,this._value.splice(0,He)),Ae-=He}return this._value.shift(),ge},ue.prototype.consumeStringToken=function(Ae){var fe="",ge=0;do{var He=this._value[ge];if(He===An||He===void 0||He===Ae)return fe+=this.consumeStringSlice(ge),{type:0,value:fe};if(He===gr)return this._value.splice(0,ge),hl;if(He===Di){var tt=this._value[ge+1];tt!==An&&tt!==void 0&&(tt===gr?(fe+=this.consumeStringSlice(ge),ge=-1,this._value.shift()):mr(He,tt)&&(fe+=this.consumeStringSlice(ge),fe+=Le(this.consumeEscapedCodePoint()),ge=-1))}ge++}while(!0)},ue.prototype.consumeNumber=function(){var Ae=[],fe=_o,ge=this.peekCodePoint(0);for((ge===Os||ge===ZA)&&Ae.push(this.consumeCodePoint());WA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ge=this.peekCodePoint(0);var He=this.peekCodePoint(1);if(ge===_l&&WA(He))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=yA;WA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ge=this.peekCodePoint(0),He=this.peekCodePoint(1);var tt=this.peekCodePoint(2);if((ge===NA||ge===cd)&&((He===Os||He===ZA)&&WA(tt)||WA(He)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=yA;WA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Ha(Ae),fe]},ue.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),fe=Ae[0],ge=Ae[1],He=this.peekCodePoint(0),tt=this.peekCodePoint(1),ht=this.peekCodePoint(2);if(xr(He,tt,ht)){var jt=this.consumeName();return{type:15,number:fe,flags:ge,unit:jt}}return He===Ds?(this.consumeCodePoint(),{type:16,number:fe,flags:ge}):{type:17,number:fe,flags:ge}},ue.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(uu(Ae)){for(var fe=Le(Ae);uu(this.peekCodePoint(0))&&fe.length<6;)fe+=Le(this.consumeCodePoint());On(this.peekCodePoint(0))&&this.consumeCodePoint();var ge=parseInt(fe,16);return ge===0||Rc(ge)||ge>1114111?ns:ge}return Ae===An?ns:Ae},ue.prototype.consumeName=function(){for(var Ae="";;){var fe=this.consumeCodePoint();if(Xr(fe))Ae+=Le(fe);else if(mr(fe,this.peekCodePoint(0)))Ae+=Le(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(fe),Ae}},ue}(),xa=function(){function ue(Ae){this._tokens=Ae}return ue.create=function(Ae){var fe=new Wr;return fe.write(Ae),new ue(fe.read())},ue.parseValue=function(Ae){return ue.create(Ae).parseComponentValue()},ue.parseValues=function(Ae){return ue.create(Ae).parseComponentValues()},ue.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var fe=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return fe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ue.prototype.parseComponentValues=function(){for(var Ae=[];;){var fe=this.consumeComponentValue();if(fe.type===32)return Ae;Ae.push(fe),Ae.push()}},ue.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},ue.prototype.consumeSimpleBlock=function(Ae){for(var fe={type:Ae,values:[]},ge=this.consumeToken();;){if(ge.type===32||Rd(ge,Ae))return fe;this.reconsumeToken(ge),fe.values.push(this.consumeComponentValue()),ge=this.consumeToken()}},ue.prototype.consumeFunction=function(Ae){for(var fe={name:Ae.value,values:[],type:18};;){var ge=this.consumeToken();if(ge.type===32||ge.type===3)return fe;this.reconsumeToken(ge),fe.values.push(this.consumeComponentValue())}},ue.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?ol:Ae},ue.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},ue}(),Lo=function(ue){return ue.type===15},Pi=function(ue){return ue.type===17},eo=function(ue){return ue.type===20},qi=function(ue){return ue.type===0},Mu=function(ue,Ae){return eo(ue)&&ue.value===Ae},cu=function(ue){return ue.type!==31},Ll=function(ue){return ue.type!==31&&ue.type!==4},il=function(ue){var Ae=[],fe=[];return ue.forEach(function(ge){if(ge.type===4){if(fe.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(fe),fe=[];return}ge.type!==31&&fe.push(ge)}),fe.length&&Ae.push(fe),Ae},Rd=function(ue,Ae){return Ae===11&&ue.type===12||Ae===28&&ue.type===29?!0:Ae===2&&ue.type===3},Il=function(ue){return ue.type===17||ue.type===15},AA=function(ue){return ue.type===16||Il(ue)},sc=function(ue){return ue.length>1?[ue[0],ue[1]]:[ue[0]]},DA={type:17,number:0,flags:_o},Hu={type:16,number:50,flags:_o},ml={type:16,number:100,flags:_o},Ul=function(ue,Ae,fe){var ge=ue[0],He=ue[1];return[ti(ge,Ae),ti(typeof He!="undefined"?He:ge,fe)]},ti=function(ue,Ae){if(ue.type===16)return ue.number/100*Ae;if(Lo(ue))switch(ue.unit){case"rem":case"em":return 16*ue.number;case"px":default:return ue.number}return ue.number},wu="deg",lc="grad",dd="rad",mA="turn",Qs={name:"angle",parse:function(ue,Ae){if(Ae.type===15)switch(Ae.unit){case wu:return Math.PI*Ae.number/180;case lc:return Math.PI/200*Ae.number;case dd:return Ae.number;case mA:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},Nl=function(ue){return ue.type===15&&(ue.unit===wu||ue.unit===lc||ue.unit===dd||ue.unit===mA)},$l=function(ue){var Ae=ue.filter(eo).map(function(fe){return fe.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[DA,DA];case"to top":case"bottom":return bi(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[DA,ml];case"to right":case"left":return bi(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ml,ml];case"to bottom":case"top":return bi(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ml,DA];case"to left":case"right":return bi(270)}return 0},bi=function(ue){return Math.PI*ue/180},Cs={name:"color",parse:function(ue,Ae){if(Ae.type===18){var fe=bA[Ae.name];if(typeof fe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return fe(ue,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var ge=Ae.value.substring(0,1),He=Ae.value.substring(1,2),tt=Ae.value.substring(2,3);return lA(parseInt(ge+ge,16),parseInt(He+He,16),parseInt(tt+tt,16),1)}if(Ae.value.length===4){var ge=Ae.value.substring(0,1),He=Ae.value.substring(1,2),tt=Ae.value.substring(2,3),ht=Ae.value.substring(3,4);return lA(parseInt(ge+ge,16),parseInt(He+He,16),parseInt(tt+tt,16),parseInt(ht+ht,16)/255)}if(Ae.value.length===6){var ge=Ae.value.substring(0,2),He=Ae.value.substring(2,4),tt=Ae.value.substring(4,6);return lA(parseInt(ge,16),parseInt(He,16),parseInt(tt,16),1)}if(Ae.value.length===8){var ge=Ae.value.substring(0,2),He=Ae.value.substring(2,4),tt=Ae.value.substring(4,6),ht=Ae.value.substring(6,8);return lA(parseInt(ge,16),parseInt(He,16),parseInt(tt,16),parseInt(ht,16)/255)}}if(Ae.type===20){var jt=eA[Ae.value.toUpperCase()];if(typeof jt!="undefined")return jt}return eA.TRANSPARENT}},OA=function(ue){return(255&ue)===0},sA=function(ue){var Ae=255&ue,fe=255&ue>>8,ge=255&ue>>16,He=255&ue>>24;return Ae<255?"rgba("+He+","+ge+","+fe+","+Ae/255+")":"rgb("+He+","+ge+","+fe+")"},lA=function(ue,Ae,fe,ge){return(ue<<24|Ae<<16|fe<<8|Math.round(ge*255)<<0)>>>0},Dl=function(ue,Ae){if(ue.type===17)return ue.number;if(ue.type===16){var fe=Ae===3?1:255;return Ae===3?ue.number/100*fe:Math.round(ue.number/100*fe)}return 0},Mc=function(ue,Ae){var fe=Ae.filter(Ll);if(fe.length===3){var ge=fe.map(Dl),He=ge[0],tt=ge[1],ht=ge[2];return lA(He,tt,ht,1)}if(fe.length===4){var jt=fe.map(Dl),He=jt[0],tt=jt[1],ht=jt[2],Rt=jt[3];return lA(He,tt,ht,Rt)}return 0};function YA(ue,Ae,fe){return fe<0&&(fe+=1),fe>=1&&(fe-=1),fe<1/6?(Ae-ue)*fe*6+ue:fe<1/2?Ae:fe<2/3?(Ae-ue)*6*(2/3-fe)+ue:ue}var Ku=function(ue,Ae){var fe=Ae.filter(Ll),ge=fe[0],He=fe[1],tt=fe[2],ht=fe[3],jt=(ge.type===17?bi(ge.number):Qs.parse(ue,ge))/(Math.PI*2),Rt=AA(He)?He.number/100:0,bn=AA(tt)?tt.number/100:0,Un=typeof ht!="undefined"&&AA(ht)?ti(ht,1):1;if(Rt===0)return lA(bn*255,bn*255,bn*255,1);var Rn=bn<=.5?bn*(Rt+1):bn+Rt-bn*Rt,dr=bn*2-Rn,Ca=YA(dr,Rn,jt+1/3),Mr=YA(dr,Rn,jt),ia=YA(dr,Rn,jt-1/3);return lA(Ca*255,Mr*255,ia*255,Un)},bA={hsl:Ku,hsla:Ku,rgb:Mc,rgba:Mc},Ol=function(ue,Ae){return Cs.parse(ue,xa.create(Ae).parseComponentValue())},eA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},uc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ae){return Ae.map(function(fe){if(eo(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},du={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gu=function(ue,Ae){var fe=Cs.parse(ue,Ae[0]),ge=Ae[1];return ge&&AA(ge)?{color:fe,stop:ge}:{color:fe,stop:null}},Hc=function(ue,Ae){var fe=ue[0],ge=ue[ue.length-1];fe.stop===null&&(fe.stop=DA),ge.stop===null&&(ge.stop=ml);for(var He=[],tt=0,ht=0;ht<ue.length;ht++){var jt=ue[ht].stop;if(jt!==null){var Rt=ti(jt,Ae);Rt>tt?He.push(Rt):He.push(tt),tt=Rt}else He.push(null)}for(var bn=null,ht=0;ht<He.length;ht++){var Un=He[ht];if(Un===null)bn===null&&(bn=ht);else if(bn!==null){for(var Rn=ht-bn,dr=He[bn-1],Ca=(Un-dr)/(Rn+1),Mr=1;Mr<=Rn;Mr++)He[bn+Mr-1]=Ca*Mr;bn=null}}return ue.map(function(ia,xo){var Ra=ia.color;return{color:Ra,stop:Math.max(Math.min(1,He[xo]/Ae),0)}})},Zl=function(ue,Ae,fe){var ge=Ae/2,He=fe/2,tt=ti(ue[0],Ae)-ge,ht=He-ti(ue[1],fe);return(Math.atan2(ht,tt)+Math.PI*2)%(Math.PI*2)},Er=function(ue,Ae,fe){var ge=typeof ue=="number"?ue:Zl(ue,Ae,fe),He=Math.abs(Ae*Math.sin(ge))+Math.abs(fe*Math.cos(ge)),tt=Ae/2,ht=fe/2,jt=He/2,Rt=Math.sin(ge-Math.PI/2)*jt,bn=Math.cos(ge-Math.PI/2)*jt;return[He,tt-bn,tt+bn,ht-Rt,ht+Rt]},Ia=function(ue,Ae){return Math.sqrt(ue*ue+Ae*Ae)},lr=function(ue,Ae,fe,ge,He){var tt=[[0,0],[0,Ae],[ue,0],[ue,Ae]];return tt.reduce(function(ht,jt){var Rt=jt[0],bn=jt[1],Un=Ia(fe-Rt,ge-bn);return(He?Un<ht.optimumDistance:Un>ht.optimumDistance)?{optimumCorner:jt,optimumDistance:Un}:ht},{optimumDistance:He?1/0:-1/0,optimumCorner:null}).optimumCorner},$a=function(ue,Ae,fe,ge,He){var tt=0,ht=0;switch(ue.size){case 0:ue.shape===0?tt=ht=Math.min(Math.abs(Ae),Math.abs(Ae-ge),Math.abs(fe),Math.abs(fe-He)):ue.shape===1&&(tt=Math.min(Math.abs(Ae),Math.abs(Ae-ge)),ht=Math.min(Math.abs(fe),Math.abs(fe-He)));break;case 2:if(ue.shape===0)tt=ht=Math.min(Ia(Ae,fe),Ia(Ae,fe-He),Ia(Ae-ge,fe),Ia(Ae-ge,fe-He));else if(ue.shape===1){var jt=Math.min(Math.abs(fe),Math.abs(fe-He))/Math.min(Math.abs(Ae),Math.abs(Ae-ge)),Rt=lr(ge,He,Ae,fe,!0),bn=Rt[0],Un=Rt[1];tt=Ia(bn-Ae,(Un-fe)/jt),ht=jt*tt}break;case 1:ue.shape===0?tt=ht=Math.max(Math.abs(Ae),Math.abs(Ae-ge),Math.abs(fe),Math.abs(fe-He)):ue.shape===1&&(tt=Math.max(Math.abs(Ae),Math.abs(Ae-ge)),ht=Math.max(Math.abs(fe),Math.abs(fe-He)));break;case 3:if(ue.shape===0)tt=ht=Math.max(Ia(Ae,fe),Ia(Ae,fe-He),Ia(Ae-ge,fe),Ia(Ae-ge,fe-He));else if(ue.shape===1){var jt=Math.max(Math.abs(fe),Math.abs(fe-He))/Math.max(Math.abs(Ae),Math.abs(Ae-ge)),Rn=lr(ge,He,Ae,fe,!1),bn=Rn[0],Un=Rn[1];tt=Ia(bn-Ae,(Un-fe)/jt),ht=jt*tt}break}return Array.isArray(ue.size)&&(tt=ti(ue.size[0],ge),ht=ue.size.length===2?ti(ue.size[1],He):tt),[tt,ht]},wo=function(ue,Ae){var fe=bi(180),ge=[];return il(Ae).forEach(function(He,tt){if(tt===0){var ht=He[0];if(ht.type===20&&ht.value==="to"){fe=$l(He);return}else if(Nl(ht)){fe=Qs.parse(ue,ht);return}}var jt=gu(ue,He);ge.push(jt)}),{angle:fe,stops:ge,type:1}},uA=function(ue,Ae){var fe=bi(180),ge=[];return il(Ae).forEach(function(He,tt){if(tt===0){var ht=He[0];if(ht.type===20&&["top","left","right","bottom"].indexOf(ht.value)!==-1){fe=$l(He);return}else if(Nl(ht)){fe=(Qs.parse(ue,ht)+bi(270))%bi(360);return}}var jt=gu(ue,He);ge.push(jt)}),{angle:fe,stops:ge,type:1}},Ts=function(ue,Ae){var fe=bi(180),ge=[],He=1,tt=0,ht=3,jt=[];return il(Ae).forEach(function(Rt,bn){var Un=Rt[0];if(bn===0){if(eo(Un)&&Un.value==="linear"){He=1;return}else if(eo(Un)&&Un.value==="radial"){He=2;return}}if(Un.type===18){if(Un.name==="from"){var Rn=Cs.parse(ue,Un.values[0]);ge.push({stop:DA,color:Rn})}else if(Un.name==="to"){var Rn=Cs.parse(ue,Un.values[0]);ge.push({stop:ml,color:Rn})}else if(Un.name==="color-stop"){var dr=Un.values.filter(Ll);if(dr.length===2){var Rn=Cs.parse(ue,dr[1]),Ca=dr[0];Pi(Ca)&&ge.push({stop:{type:16,number:Ca.number*100,flags:Ca.flags},color:Rn})}}}}),He===1?{angle:(fe+bi(180))%bi(360),stops:ge,type:He}:{size:ht,shape:tt,stops:ge,position:jt,type:He}},JA="closest-side",Wl="farthest-side",Al="closest-corner",Ps="farthest-corner",ui="circle",pl="ellipse",Wo="cover",as="contain",Ya=function(ue,Ae){var fe=0,ge=3,He=[],tt=[];return il(Ae).forEach(function(ht,jt){var Rt=!0;if(jt===0){var bn=!1;Rt=ht.reduce(function(Rn,dr){if(bn)if(eo(dr))switch(dr.value){case"center":return tt.push(Hu),Rn;case"top":case"left":return tt.push(DA),Rn;case"right":case"bottom":return tt.push(ml),Rn}else(AA(dr)||Il(dr))&&tt.push(dr);else if(eo(dr))switch(dr.value){case ui:return fe=0,!1;case pl:return fe=1,!1;case"at":return bn=!0,!1;case JA:return ge=0,!1;case Wo:case Wl:return ge=1,!1;case as:case Al:return ge=2,!1;case Ps:return ge=3,!1}else if(Il(dr)||AA(dr))return Array.isArray(ge)||(ge=[]),ge.push(dr),!1;return Rn},Rt)}if(Rt){var Un=gu(ue,ht);He.push(Un)}}),{size:ge,shape:fe,stops:He,position:tt,type:2}},Gi=function(ue,Ae){var fe=0,ge=3,He=[],tt=[];return il(Ae).forEach(function(ht,jt){var Rt=!0;if(jt===0?Rt=ht.reduce(function(Un,Rn){if(eo(Rn))switch(Rn.value){case"center":return tt.push(Hu),!1;case"top":case"left":return tt.push(DA),!1;case"right":case"bottom":return tt.push(ml),!1}else if(AA(Rn)||Il(Rn))return tt.push(Rn),!1;return Un},Rt):jt===1&&(Rt=ht.reduce(function(Un,Rn){if(eo(Rn))switch(Rn.value){case ui:return fe=0,!1;case pl:return fe=1,!1;case as:case JA:return ge=0,!1;case Wl:return ge=1,!1;case Al:return ge=2,!1;case Wo:case Ps:return ge=3,!1}else if(Il(Rn)||AA(Rn))return Array.isArray(ge)||(ge=[]),ge.push(Rn),!1;return Un},Rt)),Rt){var bn=gu(ue,ht);He.push(bn)}}),{size:ge,shape:fe,stops:He,position:tt,type:2}},Oi=function(ue){return ue.type===1},Vl=function(ue){return ue.type===2},os={name:"image",parse:function(ue,Ae){if(Ae.type===22){var fe={url:Ae.value,type:0};return ue.cache.addImage(Ae.value),fe}if(Ae.type===18){var ge=HA[Ae.name];if(typeof ge=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return ge(ue,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function CA(ue){return!(ue.type===20&&ue.value==="none")&&(ue.type!==18||!!HA[ue.name])}var HA={"linear-gradient":wo,"-moz-linear-gradient":uA,"-ms-linear-gradient":uA,"-o-linear-gradient":uA,"-webkit-linear-gradient":uA,"radial-gradient":Ya,"-moz-radial-gradient":Gi,"-ms-radial-gradient":Gi,"-o-radial-gradient":Gi,"-webkit-radial-gradient":Gi,"-webkit-gradient":Ts},hs={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){if(Ae.length===0)return[];var fe=Ae[0];return fe.type===20&&fe.value==="none"?[]:Ae.filter(function(ge){return Ll(ge)&&CA(ge)}).map(function(ge){return os.parse(ue,ge)})}},ms={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ae){return Ae.map(function(fe){if(eo(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},cc={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ue,Ae){return il(Ae).map(function(fe){return fe.filter(AA)}).map(sc)}},Ql={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ue,Ae){return il(Ae).map(function(fe){return fe.filter(eo).map(function(ge){return ge.value}).join(" ")}).map(Xl)}},Xl=function(ue){switch(ue){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},QA;(function(ue){ue.AUTO="auto",ue.CONTAIN="contain",ue.COVER="cover"})(QA||(QA={}));var bu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ue,Ae){return il(Ae).map(function(fe){return fe.filter(dc)})}},dc=function(ue){return eo(ue)||AA(ue)},zu=function(ue){return{name:"border-"+ue+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},th=zu("top"),Kc=zu("right"),Bf=zu("bottom"),gc=zu("left"),jd=function(ue){return{name:"border-radius-"+ue,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,fe){return sc(fe.filter(AA))}}},Bm=jd("top-left"),Gu=jd("top-right"),Tl=jd("bottom-right"),vl=jd("bottom-left"),Ci=function(ue){return{name:"border-"+ue+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,fe){switch(fe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},zc=Ci("top"),Sf=Ci("right"),yf=Ci("bottom"),Gc=Ci("left"),gd=function(ue){return{name:"border-"+ue+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,fe){return Lo(fe)?fe.number:0}}},yg=gd("top"),$c=gd("right"),nh=gd("bottom"),rh=gd("left"),ps={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},fd={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},ah={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(eo).reduce(function(fe,ge){return fe|Ye(ge.value)},0)}},Ye=function(ue){switch(ue){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},et={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},St={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ue,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},It;(function(ue){ue.NORMAL="normal",ue.STRICT="strict"})(It||(It={}));var Gt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"strict":return It.STRICT;case"normal":default:return It.NORMAL}}},$t={name:"line-height",initialValue:"normal",prefix:!1,type:4},mn=function(ue,Ae){return eo(ue)&&ue.value==="normal"?1.2*Ae:ue.type===17?Ae*ue.number:AA(ue)?ti(ue,Ae):Ae},Bn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ue,Ae){return Ae.type===20&&Ae.value==="none"?null:os.parse(ue,Ae)}},dn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},Qn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Gn=function(ue){return{name:"margin-"+ue,initialValue:"0",prefix:!1,type:4}},kn=Gn("top"),fr=Gn("right"),or=Gn("bottom"),ur=Gn("left"),jr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(eo).map(function(fe){switch(fe.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Fr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Qr=function(ue){return{name:"padding-"+ue,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},_r=Qr("top"),Vr=Qr("right"),wa=Qr("bottom"),Ua=Qr("left"),ca={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ka={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ao={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){return Ae.length===1&&Mu(Ae[0],"none")?[]:il(Ae).map(function(fe){for(var ge={color:eA.TRANSPARENT,offsetX:DA,offsetY:DA,blur:DA},He=0,tt=0;tt<fe.length;tt++){var ht=fe[tt];Il(ht)?(He===0?ge.offsetX=ht:He===1?ge.offsetY=ht:ge.blur=ht,He++):ge.color=Cs.parse(ue,ht)}return ge})}},Jr={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},ga={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(ue,Ae){if(Ae.type===20&&Ae.value==="none")return null;if(Ae.type===18){var fe=Aa[Ae.name];if(typeof fe=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ae.name+'"');return fe(Ae.values)}return null}},ra=function(ue){var Ae=ue.filter(function(fe){return fe.type===17}).map(function(fe){return fe.number});return Ae.length===6?Ae:null},$r=function(ue){var Ae=ue.filter(function(Rt){return Rt.type===17}).map(function(Rt){return Rt.number}),fe=Ae[0],ge=Ae[1];Ae[2],Ae[3];var He=Ae[4],tt=Ae[5];Ae[6],Ae[7],Ae[8],Ae[9],Ae[10],Ae[11];var ht=Ae[12],jt=Ae[13];return Ae[14],Ae[15],Ae.length===16?[fe,ge,He,tt,ht,jt]:null},Aa={matrix:ra,matrix3d:$r},Ta={type:16,number:50,flags:_o},So=[Ta,Ta],to={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(ue,Ae){var fe=Ae.filter(AA);return fe.length!==2?So:[fe[0],fe[1]]}},Oa={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},uo;(function(ue){ue.NORMAL="normal",ue.BREAK_ALL="break-all",ue.KEEP_ALL="keep-all"})(uo||(uo={}));for(var Io={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"break-all":return uo.BREAK_ALL;case"keep-all":return uo.KEEP_ALL;case"normal":default:return uo.NORMAL}}},Ei={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(ue,Ae){if(Ae.type===20)return{auto:!0,order:0};if(Pi(Ae))return{auto:!1,order:Ae.number};throw new Error("Invalid z-index number parsed")}},$o={name:"time",parse:function(ue,Ae){if(Ae.type===15)switch(Ae.unit.toLowerCase()){case"s":return 1e3*Ae.number;case"ms":return Ae.number}throw new Error("Unsupported time type")}},Ri={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(ue,Ae){return Pi(Ae)?Ae.number:1}},tA={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},oo={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(eo).map(function(fe){switch(fe.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(fe){return fe!==0})}},PA={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(ue,Ae){var fe=[],ge=[];return Ae.forEach(function(He){switch(He.type){case 20:case 0:fe.push(He.value);break;case 17:fe.push(He.number.toString());break;case 4:ge.push(fe.join(" ")),fe.length=0;break}}),fe.length&&ge.push(fe.join(" ")),ge.map(function(He){return He.indexOf(" ")===-1?He:"'"+He+"'"})}},ni={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Fi={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(ue,Ae){if(Pi(Ae))return Ae.number;if(eo(Ae))switch(Ae.value){case"bold":return 700;case"normal":default:return 400}return 400}},Li={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){return Ae.filter(eo).map(function(fe){return fe.value})}},$s={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},oa=function(ue,Ae){return(ue&Ae)!==0},ja={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){if(Ae.length===0)return[];var fe=Ae[0];return fe.type===20&&fe.value==="none"?[]:Ae}},ka={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ae){if(Ae.length===0)return null;var fe=Ae[0];if(fe.type===20&&fe.value==="none")return null;for(var ge=[],He=Ae.filter(cu),tt=0;tt<He.length;tt++){var ht=He[tt],jt=He[tt+1];if(ht.type===20){var Rt=jt&&Pi(jt)?jt.number:1;ge.push({counter:ht.value,increment:Rt})}}return ge}},Ba={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ae){if(Ae.length===0)return[];for(var fe=[],ge=Ae.filter(cu),He=0;He<ge.length;He++){var tt=ge[He],ht=ge[He+1];if(eo(tt)&&tt.value!=="none"){var jt=ht&&Pi(ht)?ht.number:0;fe.push({counter:tt.value,reset:jt})}}return fe}},ri={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(Lo).map(function(fe){return $o.parse(ue,fe)})}},Sa={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ae){if(Ae.length===0)return null;var fe=Ae[0];if(fe.type===20&&fe.value==="none")return null;var ge=[],He=Ae.filter(qi);if(He.length%2!==0)return null;for(var tt=0;tt<He.length;tt+=2){var ht=He[tt].value,jt=He[tt+1].value;ge.push({open:ht,close:jt})}return ge}},Ja=function(ue,Ae,fe){if(!ue)return"";var ge=ue[Math.min(Ae,ue.length-1)];return ge?fe?ge.open:ge.close:""},Oo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){return Ae.length===1&&Mu(Ae[0],"none")?[]:il(Ae).map(function(fe){for(var ge={color:255,offsetX:DA,offsetY:DA,blur:DA,spread:DA,inset:!1},He=0,tt=0;tt<fe.length;tt++){var ht=fe[tt];Mu(ht,"inset")?ge.inset=!0:Il(ht)?(He===0?ge.offsetX=ht:He===1?ge.offsetY=ht:He===2?ge.blur=ht:ge.spread=ht,He++):ge.color=Cs.parse(ue,ht)}return ge})}},ko={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(ue,Ae){var fe=[0,1,2],ge=[];return Ae.filter(eo).forEach(function(He){switch(He.value){case"stroke":ge.push(1);break;case"fill":ge.push(0);break;case"markers":ge.push(2);break}}),fe.forEach(function(He){ge.indexOf(He)===-1&&ge.push(He)}),ge}},Es={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},pA={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(ue,Ae){return Lo(Ae)?Ae.number:0}},kl=function(){function ue(Ae,fe){var ge,He;this.animationDuration=Kr(Ae,ri,fe.animationDuration),this.backgroundClip=Kr(Ae,uc,fe.backgroundClip),this.backgroundColor=Kr(Ae,du,fe.backgroundColor),this.backgroundImage=Kr(Ae,hs,fe.backgroundImage),this.backgroundOrigin=Kr(Ae,ms,fe.backgroundOrigin),this.backgroundPosition=Kr(Ae,cc,fe.backgroundPosition),this.backgroundRepeat=Kr(Ae,Ql,fe.backgroundRepeat),this.backgroundSize=Kr(Ae,bu,fe.backgroundSize),this.borderTopColor=Kr(Ae,th,fe.borderTopColor),this.borderRightColor=Kr(Ae,Kc,fe.borderRightColor),this.borderBottomColor=Kr(Ae,Bf,fe.borderBottomColor),this.borderLeftColor=Kr(Ae,gc,fe.borderLeftColor),this.borderTopLeftRadius=Kr(Ae,Bm,fe.borderTopLeftRadius),this.borderTopRightRadius=Kr(Ae,Gu,fe.borderTopRightRadius),this.borderBottomRightRadius=Kr(Ae,Tl,fe.borderBottomRightRadius),this.borderBottomLeftRadius=Kr(Ae,vl,fe.borderBottomLeftRadius),this.borderTopStyle=Kr(Ae,zc,fe.borderTopStyle),this.borderRightStyle=Kr(Ae,Sf,fe.borderRightStyle),this.borderBottomStyle=Kr(Ae,yf,fe.borderBottomStyle),this.borderLeftStyle=Kr(Ae,Gc,fe.borderLeftStyle),this.borderTopWidth=Kr(Ae,yg,fe.borderTopWidth),this.borderRightWidth=Kr(Ae,$c,fe.borderRightWidth),this.borderBottomWidth=Kr(Ae,nh,fe.borderBottomWidth),this.borderLeftWidth=Kr(Ae,rh,fe.borderLeftWidth),this.boxShadow=Kr(Ae,Oo,fe.boxShadow),this.color=Kr(Ae,ps,fe.color),this.direction=Kr(Ae,fd,fe.direction),this.display=Kr(Ae,ah,fe.display),this.float=Kr(Ae,et,fe.cssFloat),this.fontFamily=Kr(Ae,PA,fe.fontFamily),this.fontSize=Kr(Ae,ni,fe.fontSize),this.fontStyle=Kr(Ae,$s,fe.fontStyle),this.fontVariant=Kr(Ae,Li,fe.fontVariant),this.fontWeight=Kr(Ae,Fi,fe.fontWeight),this.letterSpacing=Kr(Ae,St,fe.letterSpacing),this.lineBreak=Kr(Ae,Gt,fe.lineBreak),this.lineHeight=Kr(Ae,$t,fe.lineHeight),this.listStyleImage=Kr(Ae,Bn,fe.listStyleImage),this.listStylePosition=Kr(Ae,dn,fe.listStylePosition),this.listStyleType=Kr(Ae,Qn,fe.listStyleType),this.marginTop=Kr(Ae,kn,fe.marginTop),this.marginRight=Kr(Ae,fr,fe.marginRight),this.marginBottom=Kr(Ae,or,fe.marginBottom),this.marginLeft=Kr(Ae,ur,fe.marginLeft),this.opacity=Kr(Ae,Ri,fe.opacity);var tt=Kr(Ae,jr,fe.overflow);this.overflowX=tt[0],this.overflowY=tt[tt.length>1?1:0],this.overflowWrap=Kr(Ae,Fr,fe.overflowWrap),this.paddingTop=Kr(Ae,_r,fe.paddingTop),this.paddingRight=Kr(Ae,Vr,fe.paddingRight),this.paddingBottom=Kr(Ae,wa,fe.paddingBottom),this.paddingLeft=Kr(Ae,Ua,fe.paddingLeft),this.paintOrder=Kr(Ae,ko,fe.paintOrder),this.position=Kr(Ae,Ka,fe.position),this.textAlign=Kr(Ae,ca,fe.textAlign),this.textDecorationColor=Kr(Ae,tA,(ge=fe.textDecorationColor)!==null&&ge!==void 0?ge:fe.color),this.textDecorationLine=Kr(Ae,oo,(He=fe.textDecorationLine)!==null&&He!==void 0?He:fe.textDecoration),this.textShadow=Kr(Ae,ao,fe.textShadow),this.textTransform=Kr(Ae,Jr,fe.textTransform),this.transform=Kr(Ae,ga,fe.transform),this.transformOrigin=Kr(Ae,to,fe.transformOrigin),this.visibility=Kr(Ae,Oa,fe.visibility),this.webkitTextStrokeColor=Kr(Ae,Es,fe.webkitTextStrokeColor),this.webkitTextStrokeWidth=Kr(Ae,pA,fe.webkitTextStrokeWidth),this.wordBreak=Kr(Ae,Io,fe.wordBreak),this.zIndex=Kr(Ae,Ei,fe.zIndex)}return ue.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ue.prototype.isTransparent=function(){return OA(this.backgroundColor)},ue.prototype.isTransformed=function(){return this.transform!==null},ue.prototype.isPositioned=function(){return this.position!==0},ue.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ue.prototype.isFloating=function(){return this.float!==0},ue.prototype.isInlineLevel=function(){return oa(this.display,4)||oa(this.display,33554432)||oa(this.display,268435456)||oa(this.display,536870912)||oa(this.display,67108864)||oa(this.display,134217728)},ue}(),vA=function(){function ue(Ae,fe){this.content=Kr(Ae,ja,fe.content),this.quotes=Kr(Ae,Sa,fe.quotes)}return ue}(),sl=function(){function ue(Ae,fe){this.counterIncrement=Kr(Ae,ka,fe.counterIncrement),this.counterReset=Kr(Ae,Ba,fe.counterReset)}return ue}(),Kr=function(ue,Ae,fe){var ge=new Wr,He=fe!==null&&typeof fe!="undefined"?fe.toString():Ae.initialValue;ge.write(He);var tt=new xa(ge.read());switch(Ae.type){case 2:var ht=tt.parseComponentValue();return Ae.parse(ue,eo(ht)?ht.value:Ae.initialValue);case 0:return Ae.parse(ue,tt.parseComponentValue());case 1:return Ae.parse(ue,tt.parseComponentValues());case 4:return tt.parseComponentValue();case 3:switch(Ae.format){case"angle":return Qs.parse(ue,tt.parseComponentValue());case"color":return Cs.parse(ue,tt.parseComponentValue());case"image":return os.parse(ue,tt.parseComponentValue());case"length":var jt=tt.parseComponentValue();return Il(jt)?jt:DA;case"length-percentage":var Rt=tt.parseComponentValue();return AA(Rt)?Rt:DA;case"time":return $o.parse(ue,tt.parseComponentValue())}break}},ks="data-html2canvas-debug",fc=function(ue){var Ae=ue.getAttribute(ks);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ai=function(ue,Ae){var fe=fc(ue);return fe===1||Ae===fe},Uo=function(){function ue(Ae,fe){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,ai(fe,3))debugger;this.styles=new kl(Ae,window.getComputedStyle(fe,null)),lh(fe)&&(this.styles.animationDuration.some(function(ge){return ge>0})&&(fe.style.animationDuration="0s"),this.styles.transform!==null&&(fe.style.transform="none")),this.bounds=je(this.context,fe),ai(fe,4)&&(this.flags|=16)}return ue}(),$i="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",TA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qi=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),yo=0;yo<TA.length;yo++)Qi[TA.charCodeAt(yo)]=yo;for(var Fs=function(ue){var Ae=ue.length*.75,fe=ue.length,ge,He=0,tt,ht,jt,Rt;ue[ue.length-1]==="="&&(Ae--,ue[ue.length-2]==="="&&Ae--);var bn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Un=Array.isArray(bn)?bn:new Uint8Array(bn);for(ge=0;ge<fe;ge+=4)tt=Qi[ue.charCodeAt(ge)],ht=Qi[ue.charCodeAt(ge+1)],jt=Qi[ue.charCodeAt(ge+2)],Rt=Qi[ue.charCodeAt(ge+3)],Un[He++]=tt<<2|ht>>4,Un[He++]=(ht&15)<<4|jt>>2,Un[He++]=(jt&3)<<6|Rt&63;return bn},vs=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=2)fe.push(ue[ge+1]<<8|ue[ge]);return fe},Zs=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge<Ae;ge+=4)fe.push(ue[ge+3]<<24|ue[ge+2]<<16|ue[ge+1]<<8|ue[ge]);return fe},Rs=5,js=11,Bl=2,Cu=js-Rs,Sl=65536>>Rs,nA=1<<Rs,is=nA-1,EA=1024>>Rs,Zi=Sl+EA,Yl=Zi,fu=32,Pu=Yl+fu,Jl=65536>>js,hd=1<<Cu,Md=hd-1,Ro=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint16Array(Array.prototype.slice.call(ue,Ae,fe))},Ii=function(ue,Ae,fe){return ue.slice?ue.slice(Ae,fe):new Uint32Array(Array.prototype.slice.call(ue,Ae,fe))},As=function(ue,Ae){var fe=Fs(ue),ge=Array.isArray(fe)?Zs(fe):new Uint32Array(fe),He=Array.isArray(fe)?vs(fe):new Uint16Array(fe),tt=24,ht=Ro(He,tt/2,ge[4]/2),jt=ge[5]===2?Ro(He,(tt+ge[4])/2):Ii(ge,Math.ceil((tt+ge[4])/4));return new Hi(ge[0],ge[1],ge[2],ge[3],ht,jt)},Hi=function(){function ue(Ae,fe,ge,He,tt,ht){this.initialValue=Ae,this.errorValue=fe,this.highStart=ge,this.highValueIndex=He,this.index=tt,this.data=ht}return ue.prototype.get=function(Ae){var fe;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return fe=this.index[Ae>>Rs],fe=(fe<<Bl)+(Ae&is),this.data[fe];if(Ae<=65535)return fe=this.index[Sl+(Ae-55296>>Rs)],fe=(fe<<Bl)+(Ae&is),this.data[fe];if(Ae<this.highStart)return fe=Pu-Jl+(Ae>>js),fe=this.index[fe],fe+=Ae>>Rs&Md,fe=this.index[fe],fe=(fe<<Bl)+(Ae&is),this.data[fe];if(Ae<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ue}(),ss="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),rA=0;rA<ss.length;rA++)Bs[ss.charCodeAt(rA)]=rA;var ql=1,md=2,pd=3,Hd=4,wg=5,bg=7,Zc=8,eu=9,hc=10,Cg=11,Kd=12,Pg=13,zd=14,mc=15,Gd=function(ue){for(var Ae=[],fe=0,ge=ue.length;fe<ge;){var He=ue.charCodeAt(fe++);if(He>=55296&&He<=56319&&fe<ge){var tt=ue.charCodeAt(fe++);(tt&64512)===56320?Ae.push(((He&1023)<<10)+(tt&1023)+65536):(Ae.push(He),fe--)}else Ae.push(He)}return Ae},wf=function(){for(var ue=[],Ae=0;Ae<arguments.length;Ae++)ue[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ue);var fe=ue.length;if(!fe)return"";for(var ge=[],He=-1,tt="";++He<fe;){var ht=ue[He];ht<=65535?ge.push(ht):(ht-=65536,ge.push((ht>>10)+55296,ht%1024+56320)),(He+1===fe||ge.length>16384)&&(tt+=String.fromCharCode.apply(String,ge),ge.length=0)}return tt},Eg=As($i),hi="\xD7",$d="\xF7",bf=function(ue){return Eg.get(ue)},oh=function(ue,Ae,fe){var ge=fe-2,He=Ae[ge],tt=Ae[fe-1],ht=Ae[fe];if(tt===md&&ht===pd)return hi;if(tt===md||tt===pd||tt===Hd||ht===md||ht===pd||ht===Hd)return $d;if(tt===Zc&&[Zc,eu,Cg,Kd].indexOf(ht)!==-1||(tt===Cg||tt===eu)&&(ht===eu||ht===hc)||(tt===Kd||tt===hc)&&ht===hc||ht===Pg||ht===wg||ht===bg||tt===ql)return hi;if(tt===Pg&&ht===zd){for(;He===wg;)He=Ae[--ge];if(He===zd)return hi}if(tt===mc&&ht===mc){for(var jt=0;He===mc;)jt++,He=Ae[--ge];if(jt%2===0)return hi}return $d},Cf=function(ue){var Ae=Gd(ue),fe=Ae.length,ge=0,He=0,tt=Ae.map(bf);return{next:function(){if(ge>=fe)return{done:!0,value:null};for(var ht=hi;ge<fe&&(ht=oh(Ae,tt,++ge))===hi;);if(ht!==hi||ge===fe){var jt=wf.apply(null,Ae.slice(He,ge));return He=ge,{value:jt,done:!1}}return{done:!0,value:null}}}},Fg=function(ue){for(var Ae=Cf(ue),fe=[],ge;!(ge=Ae.next()).done;)ge.value&&fe.push(ge.value.slice());return fe},xg=function(ue){var Ae=123;if(ue.createRange){var fe=ue.createRange();if(fe.getBoundingClientRect){var ge=ue.createElement("boundtest");ge.style.height=Ae+"px",ge.style.display="block",ue.body.appendChild(ge),fe.selectNode(ge);var He=fe.getBoundingClientRect(),tt=Math.round(He.height);if(ue.body.removeChild(ge),tt===Ae)return!0}}return!1},Zd=function(ue){var Ae=ue.createElement("boundtest");Ae.style.width="50px",Ae.style.display="block",Ae.style.fontSize="12px",Ae.style.letterSpacing="0px",Ae.style.wordSpacing="0px",ue.body.appendChild(Ae);var fe=ue.createRange();Ae.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var ge=Ae.firstChild,He=Be(ge.data).map(function(Rt){return Le(Rt)}),tt=0,ht={},jt=He.every(function(Rt,bn){fe.setStart(ge,tt),fe.setEnd(ge,tt+Rt.length);var Un=fe.getBoundingClientRect();tt+=Rt.length;var Rn=Un.x>ht.x||Un.y>ht.y;return ht=Un,bn===0?!0:Rn});return ue.body.removeChild(Ae),jt},Pf=function(){return typeof new Image().crossOrigin!="undefined"},$u=function(){return typeof new XMLHttpRequest().responseType=="string"},_g=function(ue){var Ae=new Image,fe=ue.createElement("canvas"),ge=fe.getContext("2d");if(!ge)return!1;Ae.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{ge.drawImage(Ae,0,0),fe.toDataURL()}catch(He){return!1}return!0},Wd=function(ue){return ue[0]===0&&ue[1]===255&&ue[2]===0&&ue[3]===255},Ef=function(ue){var Ae=ue.createElement("canvas"),fe=100;Ae.width=fe,Ae.height=fe;var ge=Ae.getContext("2d");if(!ge)return Promise.reject(!1);ge.fillStyle="rgb(0, 255, 0)",ge.fillRect(0,0,fe,fe);var He=new Image,tt=Ae.toDataURL();He.src=tt;var ht=vd(fe,fe,0,0,He);return ge.fillStyle="red",ge.fillRect(0,0,fe,fe),Vd(ht).then(function(jt){ge.drawImage(jt,0,0);var Rt=ge.getImageData(0,0,fe,fe).data;ge.fillStyle="red",ge.fillRect(0,0,fe,fe);var bn=ue.createElement("div");return bn.style.backgroundImage="url("+tt+")",bn.style.height=fe+"px",Wd(Rt)?Vd(vd(fe,fe,0,0,bn)):Promise.reject(!1)}).then(function(jt){return ge.drawImage(jt,0,0),Wd(ge.getImageData(0,0,fe,fe).data)}).catch(function(){return!1})},vd=function(ue,Ae,fe,ge,He){var tt="http://www.w3.org/2000/svg",ht=document.createElementNS(tt,"svg"),jt=document.createElementNS(tt,"foreignObject");return ht.setAttributeNS(null,"width",ue.toString()),ht.setAttributeNS(null,"height",Ae.toString()),jt.setAttributeNS(null,"width","100%"),jt.setAttributeNS(null,"height","100%"),jt.setAttributeNS(null,"x",fe.toString()),jt.setAttributeNS(null,"y",ge.toString()),jt.setAttributeNS(null,"externalResourcesRequired","true"),ht.appendChild(jt),jt.appendChild(He),ht},Vd=function(ue){return new Promise(function(Ae,fe){var ge=new Image;ge.onload=function(){return Ae(ge)},ge.onerror=fe,ge.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},ls={get SUPPORT_RANGE_BOUNDS(){var ue=xg(document);return Object.defineProperty(ls,"SUPPORT_RANGE_BOUNDS",{value:ue}),ue},get SUPPORT_WORD_BREAKING(){var ue=ls.SUPPORT_RANGE_BOUNDS&&Zd(document);return Object.defineProperty(ls,"SUPPORT_WORD_BREAKING",{value:ue}),ue},get SUPPORT_SVG_DRAWING(){var ue=_g(document);return Object.defineProperty(ls,"SUPPORT_SVG_DRAWING",{value:ue}),ue},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ue=typeof Array.from=="function"&&typeof window.fetch=="function"?Ef(document):Promise.resolve(!1);return Object.defineProperty(ls,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ue}),ue},get SUPPORT_CORS_IMAGES(){var ue=Pf();return Object.defineProperty(ls,"SUPPORT_CORS_IMAGES",{value:ue}),ue},get SUPPORT_RESPONSE_TYPE(){var ue=$u();return Object.defineProperty(ls,"SUPPORT_RESPONSE_TYPE",{value:ue}),ue},get SUPPORT_CORS_XHR(){var ue="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ls,"SUPPORT_CORS_XHR",{value:ue}),ue},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ue=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(ls,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ue}),ue}},Eu=function(){function ue(Ae,fe){this.text=Ae,this.bounds=fe}return ue}(),Xd=function(ue,Ae,fe,ge){var He=Zu(Ae,fe),tt=[],ht=0;return He.forEach(function(jt){if(fe.textDecorationLine.length||jt.trim().length>0)if(ls.SUPPORT_RANGE_BOUNDS){var Rt=ci(ge,ht,jt.length).getClientRects();if(Rt.length>1){var bn=Ti(jt),Un=0;bn.forEach(function(dr){tt.push(new Eu(dr,Ge.fromDOMRectList(ue,ci(ge,Un+ht,dr.length).getClientRects()))),Un+=dr.length})}else tt.push(new Eu(jt,Ge.fromDOMRectList(ue,Rt)))}else{var Rn=ge.splitText(jt.length);tt.push(new Eu(jt,ih(ue,ge))),ge=Rn}else ls.SUPPORT_RANGE_BOUNDS||(ge=ge.splitText(jt.length));ht+=jt.length}),tt},ih=function(ue,Ae){var fe=Ae.ownerDocument;if(fe){var ge=fe.createElement("html2canvaswrapper");ge.appendChild(Ae.cloneNode(!0));var He=Ae.parentNode;if(He){He.replaceChild(ge,Ae);var tt=je(ue,ge);return ge.firstChild&&He.replaceChild(ge.firstChild,ge),tt}}return Ge.EMPTY},ci=function(ue,Ae,fe){var ge=ue.ownerDocument;if(!ge)throw new Error("Node has no owner document");var He=ge.createRange();return He.setStart(ue,Ae),He.setEnd(ue,Ae+fe),He},Ti=function(ue){if(ls.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(ue)).map(function(fe){return fe.segment})}return Fg(ue)},Rl=function(ue,Ae){if(ls.SUPPORT_NATIVE_TEXT_SEGMENTATION){var fe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(fe.segment(ue)).map(function(ge){return ge.segment})}return Ff(ue,Ae)},Zu=function(ue,Ae){return Ae.letterSpacing!==0?Ti(ue):Rl(ue,Ae)},Wu=[32,160,4961,65792,65793,4153,4241],Ff=function(ue,Ae){for(var fe=si(ue,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),ge=[],He,tt=function(){if(He.value){var ht=He.value.slice(),jt=Be(ht),Rt="";jt.forEach(function(bn){Wu.indexOf(bn)===-1?Rt+=Le(bn):(Rt.length&&ge.push(Rt),ge.push(Le(bn)),Rt="")}),Rt.length&&ge.push(Rt)}};!(He=fe.next()).done;)tt();return ge},Lg=function(){function ue(Ae,fe,ge){this.text=Ig(fe.data,ge.textTransform),this.textBounds=Xd(Ae,this.text,ge,fe)}return ue}(),Ig=function(ue,Ae){switch(Ae){case 1:return ue.toLowerCase();case 3:return ue.replace(Ug,Ng);case 2:return ue.toUpperCase();default:return ue}},Ug=/(^|\s|:|-|\(|\))([a-z])/g,Ng=function(ue,Ae,fe){return ue.length>0?Ae+fe.toUpperCase():ue},t0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.src=ge.currentSrc||ge.src,He.intrinsicWidth=ge.naturalWidth,He.intrinsicHeight=ge.naturalHeight,He.context.cache.addImage(He.src),He}return Ae}(Uo),n0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.canvas=ge,He.intrinsicWidth=ge.width,He.intrinsicHeight=ge.height,He}return Ae}(Uo),r0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this,tt=new XMLSerializer,ht=je(fe,ge);return ge.setAttribute("width",ht.width+"px"),ge.setAttribute("height",ht.height+"px"),He.svg="data:image/svg+xml,"+encodeURIComponent(tt.serializeToString(ge)),He.intrinsicWidth=ge.width.baseVal.value,He.intrinsicHeight=ge.height.baseVal.value,He.context.cache.addImage(He.svg),He}return Ae}(Uo),a0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.value=ge.value,He}return Ae}(Uo),Ah=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.start=ge.start,He.reversed=typeof ge.reversed=="boolean"&&ge.reversed===!0,He}return Ae}(Uo),pc=[{type:15,flags:0,unit:"px",number:3}],Sm=[{type:16,flags:0,number:50}],ym=function(ue){return ue.width>ue.height?new Ge(ue.left+(ue.width-ue.height)/2,ue.top,ue.height,ue.height):ue.width<ue.height?new Ge(ue.left,ue.top+(ue.height-ue.width)/2,ue.width,ue.width):ue},o0=function(ue){var Ae=ue.type===Dg?new Array(ue.value.length+1).join("\u2022"):ue.value;return Ae.length===0?ue.placeholder||"":Ae},xf="checkbox",_f="radio",Dg="password",Lf=707406591,Og=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;switch(He.type=ge.type.toLowerCase(),He.checked=ge.checked,He.value=o0(ge),(He.type===xf||He.type===_f)&&(He.styles.backgroundColor=3739148031,He.styles.borderTopColor=He.styles.borderRightColor=He.styles.borderBottomColor=He.styles.borderLeftColor=2779096575,He.styles.borderTopWidth=He.styles.borderRightWidth=He.styles.borderBottomWidth=He.styles.borderLeftWidth=1,He.styles.borderTopStyle=He.styles.borderRightStyle=He.styles.borderBottomStyle=He.styles.borderLeftStyle=1,He.styles.backgroundClip=[0],He.styles.backgroundOrigin=[0],He.bounds=ym(He.bounds)),He.type){case xf:He.styles.borderTopRightRadius=He.styles.borderTopLeftRadius=He.styles.borderBottomRightRadius=He.styles.borderBottomLeftRadius=pc;break;case _f:He.styles.borderTopRightRadius=He.styles.borderTopLeftRadius=He.styles.borderBottomRightRadius=He.styles.borderBottomLeftRadius=Sm;break}return He}return Ae}(Uo),i0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this,tt=ge.options[ge.selectedIndex||0];return He.value=tt&&tt.text||"",He}return Ae}(Uo),sh=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.value=ge.value,He}return Ae}(Uo),A0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;He.src=ge.src,He.width=parseInt(ge.width,10)||0,He.height=parseInt(ge.height,10)||0,He.backgroundColor=He.styles.backgroundColor;try{if(ge.contentWindow&&ge.contentWindow.document&&ge.contentWindow.document.documentElement){He.tree=l0(fe,ge.contentWindow.document.documentElement);var tt=ge.contentWindow.document.documentElement?Ol(fe,getComputedStyle(ge.contentWindow.document.documentElement).backgroundColor):eA.TRANSPARENT,ht=ge.contentWindow.document.body?Ol(fe,getComputedStyle(ge.contentWindow.document.body).backgroundColor):eA.TRANSPARENT;He.backgroundColor=OA(tt)?OA(ht)?He.styles.backgroundColor:ht:tt}}catch(jt){}return He}return Ae}(Uo),Qg=["OL","UL","MENU"],Yd=function(ue,Ae,fe,ge){for(var He=Ae.firstChild,tt=void 0;He;He=tt)if(tt=He.nextSibling,u0(He)&&He.data.trim().length>0)fe.textNodes.push(new Lg(ue,He,fe.styles));else if(Jd(He))if(m0(He)&&He.assignedNodes)He.assignedNodes().forEach(function(jt){return Yd(ue,jt,fe,ge)});else{var ht=s0(ue,He);ht.styles.isVisible()&&(wm(He,ht,ge)?ht.flags|=4:bm(ht.styles)&&(ht.flags|=2),Qg.indexOf(He.tagName)!==-1&&(ht.flags|=8),fe.elements.push(ht),He.slot,He.shadowRoot?Yd(ue,He.shadowRoot,ht,ge):!Tg(He)&&!c0(He)&&!Uf(He)&&Yd(ue,He,ht,ge))}},s0=function(ue,Ae){return ch(Ae)?new t0(ue,Ae):d0(Ae)?new n0(ue,Ae):c0(Ae)?new r0(ue,Ae):Cm(Ae)?new a0(ue,Ae):Pm(Ae)?new Ah(ue,Ae):Em(Ae)?new Og(ue,Ae):Uf(Ae)?new i0(ue,Ae):Tg(Ae)?new sh(ue,Ae):f0(Ae)?new A0(ue,Ae):new Uo(ue,Ae)},l0=function(ue,Ae){var fe=s0(ue,Ae);return fe.flags|=4,Yd(ue,Ae,fe,fe),fe},wm=function(ue,Ae,fe){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||uh(ue)&&fe.styles.isTransparent()},bm=function(ue){return ue.isPositioned()||ue.isFloating()},u0=function(ue){return ue.nodeType===Node.TEXT_NODE},Jd=function(ue){return ue.nodeType===Node.ELEMENT_NODE},lh=function(ue){return Jd(ue)&&typeof ue.style!="undefined"&&!If(ue)},If=function(ue){return typeof ue.className=="object"},Cm=function(ue){return ue.tagName==="LI"},Pm=function(ue){return ue.tagName==="OL"},Em=function(ue){return ue.tagName==="INPUT"},Fm=function(ue){return ue.tagName==="HTML"},c0=function(ue){return ue.tagName==="svg"},uh=function(ue){return ue.tagName==="BODY"},d0=function(ue){return ue.tagName==="CANVAS"},g0=function(ue){return ue.tagName==="VIDEO"},ch=function(ue){return ue.tagName==="IMG"},f0=function(ue){return ue.tagName==="IFRAME"},h0=function(ue){return ue.tagName==="STYLE"},dh=function(ue){return ue.tagName==="SCRIPT"},Tg=function(ue){return ue.tagName==="TEXTAREA"},Uf=function(ue){return ue.tagName==="SELECT"},m0=function(ue){return ue.tagName==="SLOT"},p0=function(ue){return ue.tagName.indexOf("-")>0},Pp=function(){function ue(){this.counters={}}return ue.prototype.getCounterValue=function(Ae){var fe=this.counters[Ae];return fe&&fe.length?fe[fe.length-1]:1},ue.prototype.getCounterValues=function(Ae){var fe=this.counters[Ae];return fe||[]},ue.prototype.pop=function(Ae){var fe=this;Ae.forEach(function(ge){return fe.counters[ge].pop()})},ue.prototype.parse=function(Ae){var fe=this,ge=Ae.counterIncrement,He=Ae.counterReset,tt=!0;ge!==null&&ge.forEach(function(jt){var Rt=fe.counters[jt.counter];Rt&&jt.increment!==0&&(tt=!1,Rt.length||Rt.push(1),Rt[Math.max(0,Rt.length-1)]+=jt.increment)});var ht=[];return tt&&He.forEach(function(jt){var Rt=fe.counters[jt.counter];ht.push(jt.counter),Rt||(Rt=fe.counters[jt.counter]=[]),Rt.push(jt.reset)}),ht},ue}(),gh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},fh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},xm={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},v0={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Bd=function(ue,Ae,fe,ge,He,tt){return ue<Ae||ue>fe?Rg(ue,He,tt.length>0):ge.integers.reduce(function(ht,jt,Rt){for(;ue>=jt;)ue-=jt,ht+=ge.values[Rt];return ht},"")+tt},_m=function(ue,Ae,fe,ge){var He="";do fe||ue--,He=ge(ue)+He,ue/=Ae;while(ue*Ae>=Ae);return He},qA=function(ue,Ae,fe,ge,He){var tt=fe-Ae+1;return(ue<0?"-":"")+(_m(Math.abs(ue),tt,ge,function(ht){return Le(Math.floor(ht%tt)+Ae)})+He)},Wc=function(ue,Ae,fe){fe===void 0&&(fe=". ");var ge=Ae.length;return _m(Math.abs(ue),ge,!1,function(He){return Ae[Math.floor(He%ge)]})+fe},Sd=1,vc=2,Bc=4,kg=8,Sc=function(ue,Ae,fe,ge,He,tt){if(ue<-9999||ue>9999)return Rg(ue,4,He.length>0);var ht=Math.abs(ue),jt=He;if(ht===0)return Ae[0]+jt;for(var Rt=0;ht>0&&Rt<=4;Rt++){var bn=ht%10;bn===0&&oa(tt,Sd)&&jt!==""?jt=Ae[bn]+jt:bn>1||bn===1&&Rt===0||bn===1&&Rt===1&&oa(tt,vc)||bn===1&&Rt===1&&oa(tt,Bc)&&ue>100||bn===1&&Rt>1&&oa(tt,kg)?jt=Ae[bn]+(Rt>0?fe[Rt-1]:"")+jt:bn===1&&Rt>0&&(jt=fe[Rt-1]+jt),ht=Math.floor(ht/10)}return(ue<0?ge:"")+jt},B0="\u5341\u767E\u5343\u842C",Lm="\u62FE\u4F70\u4EDF\u842C",S0="\u30DE\u30A4\u30CA\u30B9",hh="\uB9C8\uC774\uB108\uC2A4",Rg=function(ue,Ae,fe){var ge=fe?". ":"",He=fe?"\u3001":"",tt=fe?", ":"",ht=fe?" ":"";switch(Ae){case 0:return"\u2022"+ht;case 1:return"\u25E6"+ht;case 2:return"\u25FE"+ht;case 5:var jt=qA(ue,48,57,!0,ge);return jt.length<4?"0"+jt:jt;case 4:return Wc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",He);case 6:return Bd(ue,1,3999,gh,3,ge).toLowerCase();case 7:return Bd(ue,1,3999,gh,3,ge);case 8:return qA(ue,945,969,!1,ge);case 9:return qA(ue,97,122,!1,ge);case 10:return qA(ue,65,90,!1,ge);case 11:return qA(ue,1632,1641,!0,ge);case 12:case 49:return Bd(ue,1,9999,fh,3,ge);case 35:return Bd(ue,1,9999,fh,3,ge).toLowerCase();case 13:return qA(ue,2534,2543,!0,ge);case 14:case 30:return qA(ue,6112,6121,!0,ge);case 15:return Wc(ue,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",He);case 16:return Wc(ue,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",He);case 17:case 48:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B0,"\u8CA0",He,vc|Bc|kg);case 47:return Sc(ue,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Lm,"\u8CA0",He,Sd|vc|Bc|kg);case 42:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B0,"\u8D1F",He,vc|Bc|kg);case 41:return Sc(ue,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Lm,"\u8D1F",He,Sd|vc|Bc|kg);case 26:return Sc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",S0,He,0);case 25:return Sc(ue,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",S0,He,Sd|vc|Bc);case 31:return Sc(ue,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",hh,tt,Sd|vc|Bc);case 33:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",hh,tt,0);case 32:return Sc(ue,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",hh,tt,Sd|vc|Bc);case 18:return qA(ue,2406,2415,!0,ge);case 20:return Bd(ue,1,19999,v0,3,ge);case 21:return qA(ue,2790,2799,!0,ge);case 22:return qA(ue,2662,2671,!0,ge);case 22:return Bd(ue,1,10999,xm,3,ge);case 23:return Wc(ue,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Wc(ue,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return qA(ue,3302,3311,!0,ge);case 28:return Wc(ue,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",He);case 29:return Wc(ue,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",He);case 34:return qA(ue,3792,3801,!0,ge);case 37:return qA(ue,6160,6169,!0,ge);case 38:return qA(ue,4160,4169,!0,ge);case 39:return qA(ue,2918,2927,!0,ge);case 40:return qA(ue,1776,1785,!0,ge);case 43:return qA(ue,3046,3055,!0,ge);case 44:return qA(ue,3174,3183,!0,ge);case 45:return qA(ue,3664,3673,!0,ge);case 46:return qA(ue,3872,3881,!0,ge);case 3:default:return qA(ue,48,57,!0,ge)}},y0="data-html2canvas-ignore",Im=function(){function ue(Ae,fe,ge){if(this.context=Ae,this.options=ge,this.scrolledElements=[],this.referenceElement=fe,this.counters=new Pp,this.quoteDepth=0,!fe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(fe.ownerDocument.documentElement,!1)}return ue.prototype.toIFrame=function(Ae,fe){var ge=this,He=Um(Ae,fe);if(!He.contentWindow)return Promise.reject("Unable to find iframe window");var tt=Ae.defaultView.pageXOffset,ht=Ae.defaultView.pageYOffset,jt=He.contentWindow,Rt=jt.document,bn=Mg(He).then(function(){return be(ge,void 0,void 0,function(){var Un,Rn;return ze(this,function(dr){switch(dr.label){case 0:return this.scrolledElements.forEach(C0),jt&&(jt.scrollTo(fe.left,fe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(jt.scrollY!==fe.top||jt.scrollX!==fe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(jt.scrollX-fe.left,jt.scrollY-fe.top,0,0))),Un=this.options.onclone,Rn=this.clonedReferenceElement,typeof Rn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Rt.fonts&&Rt.fonts.ready?[4,Rt.fonts.ready]:[3,2];case 1:dr.sent(),dr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Nm(Rt)]:[3,4];case 3:dr.sent(),dr.label=4;case 4:return typeof Un=="function"?[2,Promise.resolve().then(function(){return Un(Rt,Rn)}).then(function(){return He})]:[2,He]}})})});return Rt.open(),Rt.write(Dm(document.doctype)+"<html></html>"),b0(this.referenceElement.ownerDocument,tt,ht),Rt.replaceChild(Rt.adoptNode(this.documentElement),Rt.documentElement),Rt.close(),bn},ue.prototype.createElementClone=function(Ae){if(ai(Ae,2))debugger;if(d0(Ae))return this.createCanvasClone(Ae);if(g0(Ae))return this.createVideoClone(Ae);if(h0(Ae))return this.createStyleClone(Ae);var fe=Ae.cloneNode(!1);return ch(fe)&&(ch(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(fe.src=Ae.currentSrc,fe.srcset=""),fe.loading==="lazy"&&(fe.loading="eager")),p0(fe)?this.createCustomElementClone(fe):fe},ue.prototype.createCustomElementClone=function(Ae){var fe=document.createElement("html2canvascustomelement");return Nf(Ae.style,fe),fe},ue.prototype.createStyleClone=function(Ae){try{var fe=Ae.sheet;if(fe&&fe.cssRules){var ge=[].slice.call(fe.cssRules,0).reduce(function(tt,ht){return ht&&typeof ht.cssText=="string"?tt+ht.cssText:tt},""),He=Ae.cloneNode(!1);return He.textContent=ge,He}}catch(tt){if(this.context.logger.error("Unable to access cssRules property",tt),tt.name!=="SecurityError")throw tt}return Ae.cloneNode(!1)},ue.prototype.createCanvasClone=function(Ae){var fe;if(this.options.inlineImages&&Ae.ownerDocument){var ge=Ae.ownerDocument.createElement("img");try{return ge.src=Ae.toDataURL(),ge}catch(bn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var He=Ae.cloneNode(!1);try{He.width=Ae.width,He.height=Ae.height;var tt=Ae.getContext("2d"),ht=He.getContext("2d");if(ht)if(!this.options.allowTaint&&tt)ht.putImageData(tt.getImageData(0,0,Ae.width,Ae.height),0,0);else{var jt=(fe=Ae.getContext("webgl2"))!==null&&fe!==void 0?fe:Ae.getContext("webgl");if(jt){var Rt=jt.getContextAttributes();(Rt==null?void 0:Rt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}ht.drawImage(Ae,0,0)}return He}catch(bn){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return He},ue.prototype.createVideoClone=function(Ae){var fe=Ae.ownerDocument.createElement("canvas");fe.width=Ae.offsetWidth,fe.height=Ae.offsetHeight;var ge=fe.getContext("2d");try{return ge&&(ge.drawImage(Ae,0,0,fe.width,fe.height),this.options.allowTaint||ge.getImageData(0,0,fe.width,fe.height)),fe}catch(tt){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var He=Ae.ownerDocument.createElement("canvas");return He.width=Ae.offsetWidth,He.height=Ae.offsetHeight,He},ue.prototype.appendChildNode=function(Ae,fe,ge){(!Jd(fe)||!dh(fe)&&!fe.hasAttribute(y0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(fe)))&&(!this.options.copyStyles||!Jd(fe)||!h0(fe))&&Ae.appendChild(this.cloneNode(fe,ge))},ue.prototype.cloneChildNodes=function(Ae,fe,ge){for(var He=this,tt=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;tt;tt=tt.nextSibling)if(Jd(tt)&&m0(tt)&&typeof tt.assignedNodes=="function"){var ht=tt.assignedNodes();ht.length&&ht.forEach(function(jt){return He.appendChildNode(fe,jt,ge)})}else this.appendChildNode(fe,tt,ge)},ue.prototype.cloneNode=function(Ae,fe){if(u0(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var ge=Ae.ownerDocument.defaultView;if(ge&&Jd(Ae)&&(lh(Ae)||If(Ae))){var He=this.createElementClone(Ae);He.style.transitionProperty="none";var tt=ge.getComputedStyle(Ae),ht=ge.getComputedStyle(Ae,":before"),jt=ge.getComputedStyle(Ae,":after");this.referenceElement===Ae&&lh(He)&&(this.clonedReferenceElement=He),uh(He)&&Fp(He);var Rt=this.counters.parse(new sl(this.context,tt)),bn=this.resolvePseudoContent(Ae,He,ht,jg.BEFORE);p0(Ae)&&(fe=!0),g0(Ae)||this.cloneChildNodes(Ae,He,fe),bn&&He.insertBefore(bn,He.firstChild);var Un=this.resolvePseudoContent(Ae,He,jt,jg.AFTER);return Un&&He.appendChild(Un),this.counters.pop(Rt),(tt&&(this.options.copyStyles||If(Ae))&&!f0(Ae)||fe)&&Nf(tt,He),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([He,Ae.scrollLeft,Ae.scrollTop]),(Tg(Ae)||Uf(Ae))&&(Tg(He)||Uf(He))&&(He.value=Ae.value),He}return Ae.cloneNode(!1)},ue.prototype.resolvePseudoContent=function(Ae,fe,ge,He){var tt=this;if(ge){var ht=ge.content,jt=fe.ownerDocument;if(!(!jt||!ht||ht==="none"||ht==="-moz-alt-content"||ge.display==="none")){this.counters.parse(new sl(this.context,ge));var Rt=new vA(this.context,ge),bn=jt.createElement("html2canvaspseudoelement");Nf(ge,bn),Rt.content.forEach(function(Rn){if(Rn.type===0)bn.appendChild(jt.createTextNode(Rn.value));else if(Rn.type===22){var dr=jt.createElement("img");dr.src=Rn.value,dr.style.opacity="1",bn.appendChild(dr)}else if(Rn.type===18){if(Rn.name==="attr"){var Ca=Rn.values.filter(eo);Ca.length&&bn.appendChild(jt.createTextNode(Ae.getAttribute(Ca[0].value)||""))}else if(Rn.name==="counter"){var Mr=Rn.values.filter(Ll),ia=Mr[0],xo=Mr[1];if(ia&&eo(ia)){var Ra=tt.counters.getCounterValue(ia.value),Qa=xo&&eo(xo)?Qn.parse(tt.context,xo.value):3;bn.appendChild(jt.createTextNode(Rg(Ra,Qa,!1)))}}else if(Rn.name==="counters"){var ho=Rn.values.filter(Ll),ia=ho[0],Mo=ho[1],xo=ho[2];if(ia&&eo(ia)){var Ao=tt.counters.getCounterValues(ia.value),ha=xo&&eo(xo)?Qn.parse(tt.context,xo.value):3,mi=Mo&&Mo.type===0?Mo.value:"",Vo=Ao.map(function(Ml){return Rg(Ml,ha,!1)}).join(mi);bn.appendChild(jt.createTextNode(Vo))}}}else if(Rn.type===20)switch(Rn.value){case"open-quote":bn.appendChild(jt.createTextNode(Ja(Rt.quotes,tt.quoteDepth++,!0)));break;case"close-quote":bn.appendChild(jt.createTextNode(Ja(Rt.quotes,--tt.quoteDepth,!1)));break;default:bn.appendChild(jt.createTextNode(Rn.value))}}),bn.className=mh+" "+Df;var Un=He===jg.BEFORE?" "+mh:" "+Df;return If(fe)?fe.className.baseValue+=Un:fe.className+=Un,bn}}},ue.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},ue}(),jg;(function(ue){ue[ue.BEFORE=0]="BEFORE",ue[ue.AFTER=1]="AFTER"})(jg||(jg={}));var Um=function(ue,Ae){var fe=ue.createElement("iframe");return fe.className="html2canvas-container",fe.style.visibility="hidden",fe.style.position="fixed",fe.style.left="-10000px",fe.style.top="0px",fe.style.border="0",fe.width=Ae.width.toString(),fe.height=Ae.height.toString(),fe.scrolling="no",fe.setAttribute(y0,"true"),ue.body.appendChild(fe),fe},w0=function(ue){return new Promise(function(Ae){if(ue.complete){Ae();return}if(!ue.src){Ae();return}ue.onload=Ae,ue.onerror=Ae})},Nm=function(ue){return Promise.all([].slice.call(ue.images,0).map(w0))},Mg=function(ue){return new Promise(function(Ae,fe){var ge=ue.contentWindow;if(!ge)return fe("No window assigned for iframe");var He=ge.document;ge.onload=ue.onload=function(){ge.onload=ue.onload=null;var tt=setInterval(function(){He.body.childNodes.length>0&&He.readyState==="complete"&&(clearInterval(tt),Ae(ue))},50)}})},Ep=["all","d","content"],Nf=function(ue,Ae){for(var fe=ue.length-1;fe>=0;fe--){var ge=ue.item(fe);Ep.indexOf(ge)===-1&&Ae.style.setProperty(ge,ue.getPropertyValue(ge))}return Ae},Dm=function(ue){var Ae="";return ue&&(Ae+="<!DOCTYPE ",ue.name&&(Ae+=ue.name),ue.internalSubset&&(Ae+=ue.internalSubset),ue.publicId&&(Ae+='"'+ue.publicId+'"'),ue.systemId&&(Ae+='"'+ue.systemId+'"'),Ae+=">"),Ae},b0=function(ue,Ae,fe){ue&&ue.defaultView&&(Ae!==ue.defaultView.pageXOffset||fe!==ue.defaultView.pageYOffset)&&ue.defaultView.scrollTo(Ae,fe)},C0=function(ue){var Ae=ue[0],fe=ue[1],ge=ue[2];Ae.scrollLeft=fe,Ae.scrollTop=ge},P0=":before",E0=":after",mh="___html2canvas___pseudoelement_before",Df="___html2canvas___pseudoelement_after",F0=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,Fp=function(ue){x0(ue,"."+mh+P0+F0+`
|
|
|
.`+Df+E0+F0)},x0=function(ue,Ae){var fe=ue.ownerDocument;if(fe){var ge=fe.createElement("style");ge.textContent=Ae,ue.appendChild(ge)}},_0=function(){function ue(){}return ue.getOrigin=function(Ae){var fe=ue._link;return fe?(fe.href=Ae,fe.href=fe.href,fe.protocol+fe.hostname+fe.port):"about:blank"},ue.isSameOrigin=function(Ae){return ue.getOrigin(Ae)===ue._origin},ue.setContext=function(Ae){ue._link=Ae.document.createElement("a"),ue._origin=ue.getOrigin(Ae.location.href)},ue._origin="about:blank",ue}(),tu=function(){function ue(Ae,fe){this.context=Ae,this._options=fe,this._cache={}}return ue.prototype.addImage=function(Ae){var fe=Promise.resolve();return this.has(Ae)||(Bh(Ae)||Of(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),fe},ue.prototype.match=function(Ae){return this._cache[Ae]},ue.prototype.loadImage=function(Ae){return be(this,void 0,void 0,function(){var fe,ge,He,tt,ht=this;return ze(this,function(jt){switch(jt.label){case 0:return fe=_0.isSameOrigin(Ae),ge=!Hg(Ae)&&this._options.useCORS===!0&&ls.SUPPORT_CORS_IMAGES&&!fe,He=!Hg(Ae)&&!fe&&!Bh(Ae)&&typeof this._options.proxy=="string"&&ls.SUPPORT_CORS_XHR&&!ge,!fe&&this._options.allowTaint===!1&&!Hg(Ae)&&!Bh(Ae)&&!He&&!ge?[2]:(tt=Ae,He?[4,this.proxy(tt)]:[3,2]);case 1:tt=jt.sent(),jt.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(Rt,bn){var Un=new Image;Un.onload=function(){return Rt(Un)},Un.onerror=bn,(Om(tt)||ge)&&(Un.crossOrigin="anonymous"),Un.src=tt,Un.complete===!0&&setTimeout(function(){return Rt(Un)},500),ht._options.imageTimeout>0&&setTimeout(function(){return bn("Timed out ("+ht._options.imageTimeout+"ms) loading image")},ht._options.imageTimeout)})];case 3:return[2,jt.sent()]}})})},ue.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},ue.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ue.prototype.proxy=function(Ae){var fe=this,ge=this._options.proxy;if(!ge)throw new Error("No proxy defined");var He=Ae.substring(0,256);return new Promise(function(tt,ht){var jt=ls.SUPPORT_RESPONSE_TYPE?"blob":"text",Rt=new XMLHttpRequest;Rt.onload=function(){if(Rt.status===200)if(jt==="text")tt(Rt.response);else{var Rn=new FileReader;Rn.addEventListener("load",function(){return tt(Rn.result)},!1),Rn.addEventListener("error",function(dr){return ht(dr)},!1),Rn.readAsDataURL(Rt.response)}else ht("Failed to proxy resource "+He+" with status code "+Rt.status)},Rt.onerror=ht;var bn=ge.indexOf("?")>-1?"&":"?";if(Rt.open("GET",""+ge+bn+"url="+encodeURIComponent(Ae)+"&responseType="+jt),jt!=="text"&&Rt instanceof XMLHttpRequest&&(Rt.responseType=jt),fe._options.imageTimeout){var Un=fe._options.imageTimeout;Rt.timeout=Un,Rt.ontimeout=function(){return ht("Timed out ("+Un+"ms) proxying "+He)}}Rt.send()})},ue}(),ph=/^data:image\/svg\+xml/i,L0=/^data:image\/.*;base64,/i,vh=/^data:image\/.*/i,Of=function(ue){return ls.SUPPORT_SVG_DRAWING||!Qm(ue)},Hg=function(ue){return vh.test(ue)},Om=function(ue){return L0.test(ue)},Bh=function(ue){return ue.substr(0,4)==="blob"},Qm=function(ue){return ue.substr(-3).toLowerCase()==="svg"||ph.test(ue)},ba=function(){function ue(Ae,fe){this.type=0,this.x=Ae,this.y=fe}return ue.prototype.add=function(Ae,fe){return new ue(this.x+Ae,this.y+fe)},ue}(),yd=function(ue,Ae,fe){return new ba(ue.x+(Ae.x-ue.x)*fe,ue.y+(Ae.y-ue.y)*fe)},Qf=function(){function ue(Ae,fe,ge,He){this.type=1,this.start=Ae,this.startControl=fe,this.endControl=ge,this.end=He}return ue.prototype.subdivide=function(Ae,fe){var ge=yd(this.start,this.startControl,Ae),He=yd(this.startControl,this.endControl,Ae),tt=yd(this.endControl,this.end,Ae),ht=yd(ge,He,Ae),jt=yd(He,tt,Ae),Rt=yd(ht,jt,Ae);return fe?new ue(this.start,ge,ht,Rt):new ue(Rt,jt,tt,this.end)},ue.prototype.add=function(Ae,fe){return new ue(this.start.add(Ae,fe),this.startControl.add(Ae,fe),this.endControl.add(Ae,fe),this.end.add(Ae,fe))},ue.prototype.reverse=function(){return new ue(this.end,this.endControl,this.startControl,this.start)},ue}(),hu=function(ue){return ue.type===1},Tm=function(){function ue(Ae){var fe=Ae.styles,ge=Ae.bounds,He=Ul(fe.borderTopLeftRadius,ge.width,ge.height),tt=He[0],ht=He[1],jt=Ul(fe.borderTopRightRadius,ge.width,ge.height),Rt=jt[0],bn=jt[1],Un=Ul(fe.borderBottomRightRadius,ge.width,ge.height),Rn=Un[0],dr=Un[1],Ca=Ul(fe.borderBottomLeftRadius,ge.width,ge.height),Mr=Ca[0],ia=Ca[1],xo=[];xo.push((tt+Rt)/ge.width),xo.push((Mr+Rn)/ge.width),xo.push((ht+ia)/ge.height),xo.push((bn+dr)/ge.height);var Ra=Math.max.apply(Math,xo);Ra>1&&(tt/=Ra,ht/=Ra,Rt/=Ra,bn/=Ra,Rn/=Ra,dr/=Ra,Mr/=Ra,ia/=Ra);var Qa=ge.width-Rt,ho=ge.height-dr,Mo=ge.width-Rn,Ao=ge.height-ia,ha=fe.borderTopWidth,mi=fe.borderRightWidth,Vo=fe.borderBottomWidth,mo=fe.borderLeftWidth,aa=ti(fe.paddingTop,Ae.bounds.width),Ml=ti(fe.paddingRight,Ae.bounds.width),ru=ti(fe.paddingBottom,Ae.bounds.width),Wi=ti(fe.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=tt>0||ht>0?FA(ge.left+mo/3,ge.top+ha/3,tt-mo/3,ht-ha/3,Ki.TOP_LEFT):new ba(ge.left+mo/3,ge.top+ha/3),this.topRightBorderDoubleOuterBox=tt>0||ht>0?FA(ge.left+Qa,ge.top+ha/3,Rt-mi/3,bn-ha/3,Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi/3,ge.top+ha/3),this.bottomRightBorderDoubleOuterBox=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn-mi/3,dr-Vo/3,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi/3,ge.top+ge.height-Vo/3),this.bottomLeftBorderDoubleOuterBox=Mr>0||ia>0?FA(ge.left+mo/3,ge.top+Ao,Mr-mo/3,ia-Vo/3,Ki.BOTTOM_LEFT):new ba(ge.left+mo/3,ge.top+ge.height-Vo/3),this.topLeftBorderDoubleInnerBox=tt>0||ht>0?FA(ge.left+mo*2/3,ge.top+ha*2/3,tt-mo*2/3,ht-ha*2/3,Ki.TOP_LEFT):new ba(ge.left+mo*2/3,ge.top+ha*2/3),this.topRightBorderDoubleInnerBox=tt>0||ht>0?FA(ge.left+Qa,ge.top+ha*2/3,Rt-mi*2/3,bn-ha*2/3,Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi*2/3,ge.top+ha*2/3),this.bottomRightBorderDoubleInnerBox=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn-mi*2/3,dr-Vo*2/3,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi*2/3,ge.top+ge.height-Vo*2/3),this.bottomLeftBorderDoubleInnerBox=Mr>0||ia>0?FA(ge.left+mo*2/3,ge.top+Ao,Mr-mo*2/3,ia-Vo*2/3,Ki.BOTTOM_LEFT):new ba(ge.left+mo*2/3,ge.top+ge.height-Vo*2/3),this.topLeftBorderStroke=tt>0||ht>0?FA(ge.left+mo/2,ge.top+ha/2,tt-mo/2,ht-ha/2,Ki.TOP_LEFT):new ba(ge.left+mo/2,ge.top+ha/2),this.topRightBorderStroke=tt>0||ht>0?FA(ge.left+Qa,ge.top+ha/2,Rt-mi/2,bn-ha/2,Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi/2,ge.top+ha/2),this.bottomRightBorderStroke=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn-mi/2,dr-Vo/2,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi/2,ge.top+ge.height-Vo/2),this.bottomLeftBorderStroke=Mr>0||ia>0?FA(ge.left+mo/2,ge.top+Ao,Mr-mo/2,ia-Vo/2,Ki.BOTTOM_LEFT):new ba(ge.left+mo/2,ge.top+ge.height-Vo/2),this.topLeftBorderBox=tt>0||ht>0?FA(ge.left,ge.top,tt,ht,Ki.TOP_LEFT):new ba(ge.left,ge.top),this.topRightBorderBox=Rt>0||bn>0?FA(ge.left+Qa,ge.top,Rt,bn,Ki.TOP_RIGHT):new ba(ge.left+ge.width,ge.top),this.bottomRightBorderBox=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn,dr,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width,ge.top+ge.height),this.bottomLeftBorderBox=Mr>0||ia>0?FA(ge.left,ge.top+Ao,Mr,ia,Ki.BOTTOM_LEFT):new ba(ge.left,ge.top+ge.height),this.topLeftPaddingBox=tt>0||ht>0?FA(ge.left+mo,ge.top+ha,Math.max(0,tt-mo),Math.max(0,ht-ha),Ki.TOP_LEFT):new ba(ge.left+mo,ge.top+ha),this.topRightPaddingBox=Rt>0||bn>0?FA(ge.left+Math.min(Qa,ge.width-mi),ge.top+ha,Qa>ge.width+mi?0:Math.max(0,Rt-mi),Math.max(0,bn-ha),Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi,ge.top+ha),this.bottomRightPaddingBox=Rn>0||dr>0?FA(ge.left+Math.min(Mo,ge.width-mo),ge.top+Math.min(ho,ge.height-Vo),Math.max(0,Rn-mi),Math.max(0,dr-Vo),Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi,ge.top+ge.height-Vo),this.bottomLeftPaddingBox=Mr>0||ia>0?FA(ge.left+mo,ge.top+Math.min(Ao,ge.height-Vo),Math.max(0,Mr-mo),Math.max(0,ia-Vo),Ki.BOTTOM_LEFT):new ba(ge.left+mo,ge.top+ge.height-Vo),this.topLeftContentBox=tt>0||ht>0?FA(ge.left+mo+Wi,ge.top+ha+aa,Math.max(0,tt-(mo+Wi)),Math.max(0,ht-(ha+aa)),Ki.TOP_LEFT):new ba(ge.left+mo+Wi,ge.top+ha+aa),this.topRightContentBox=Rt>0||bn>0?FA(ge.left+Math.min(Qa,ge.width+mo+Wi),ge.top+ha+aa,Qa>ge.width+mo+Wi?0:Rt-mo+Wi,bn-(ha+aa),Ki.TOP_RIGHT):new ba(ge.left+ge.width-(mi+Ml),ge.top+ha+aa),this.bottomRightContentBox=Rn>0||dr>0?FA(ge.left+Math.min(Mo,ge.width-(mo+Wi)),ge.top+Math.min(ho,ge.height+ha+aa),Math.max(0,Rn-(mi+Ml)),dr-(Vo+ru),Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-(mi+Ml),ge.top+ge.height-(Vo+ru)),this.bottomLeftContentBox=Mr>0||ia>0?FA(ge.left+mo+Wi,ge.top+Ao,Math.max(0,Mr-(mo+Wi)),ia-(Vo+ru),Ki.BOTTOM_LEFT):new ba(ge.left+mo+Wi,ge.top+ge.height-(Vo+ru))}return ue}(),Ki;(function(ue){ue[ue.TOP_LEFT=0]="TOP_LEFT",ue[ue.TOP_RIGHT=1]="TOP_RIGHT",ue[ue.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ue[ue.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ki||(Ki={}));var FA=function(ue,Ae,fe,ge,He){var tt=4*((Math.sqrt(2)-1)/3),ht=fe*tt,jt=ge*tt,Rt=ue+fe,bn=Ae+ge;switch(He){case Ki.TOP_LEFT:return new Qf(new ba(ue,bn),new ba(ue,bn-jt),new ba(Rt-ht,Ae),new ba(Rt,Ae));case Ki.TOP_RIGHT:return new Qf(new ba(ue,Ae),new ba(ue+ht,Ae),new ba(Rt,bn-jt),new ba(Rt,bn));case Ki.BOTTOM_RIGHT:return new Qf(new ba(Rt,Ae),new ba(Rt,Ae+jt),new ba(ue+ht,bn),new ba(ue,bn));case Ki.BOTTOM_LEFT:default:return new Qf(new ba(Rt,bn),new ba(Rt-ht,bn),new ba(ue,Ae+jt),new ba(ue,Ae))}},Tf=function(ue){return[ue.topLeftBorderBox,ue.topRightBorderBox,ue.bottomRightBorderBox,ue.bottomLeftBorderBox]},xp=function(ue){return[ue.topLeftContentBox,ue.topRightContentBox,ue.bottomRightContentBox,ue.bottomLeftContentBox]},Sh=function(ue){return[ue.topLeftPaddingBox,ue.topRightPaddingBox,ue.bottomRightPaddingBox,ue.bottomLeftPaddingBox]},Fo=function(){function ue(Ae,fe,ge){this.offsetX=Ae,this.offsetY=fe,this.matrix=ge,this.type=0,this.target=6}return ue}(),qd=function(){function ue(Ae,fe){this.path=Ae,this.target=fe,this.type=1}return ue}(),cA=function(){function ue(Ae){this.opacity=Ae,this.type=2,this.target=6}return ue}(),yh=function(ue){return ue.type===0},wh=function(ue){return ue.type===1},kf=function(ue){return ue.type===2},Vc=function(ue,Ae){return ue.length===Ae.length?ue.some(function(fe,ge){return fe===Ae[ge]}):!1},I0=function(ue,Ae,fe,ge,He){return ue.map(function(tt,ht){switch(ht){case 0:return tt.add(Ae,fe);case 1:return tt.add(Ae+ge,fe);case 2:return tt.add(Ae+ge,fe+He);case 3:return tt.add(Ae,fe+He)}return tt})},Kg=function(){function ue(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ue}(),bh=function(){function ue(Ae,fe){if(this.container=Ae,this.parent=fe,this.effects=[],this.curves=new Tm(this.container),this.container.styles.opacity<1&&this.effects.push(new cA(this.container.styles.opacity)),this.container.styles.transform!==null){var ge=this.container.bounds.left+this.container.styles.transformOrigin[0].number,He=this.container.bounds.top+this.container.styles.transformOrigin[1].number,tt=this.container.styles.transform;this.effects.push(new Fo(ge,He,tt))}if(this.container.styles.overflowX!==0){var ht=Tf(this.curves),jt=Sh(this.curves);Vc(ht,jt)?this.effects.push(new qd(ht,6)):(this.effects.push(new qd(ht,2)),this.effects.push(new qd(jt,4)))}}return ue.prototype.getEffects=function(Ae){for(var fe=[2,3].indexOf(this.container.styles.position)===-1,ge=this.parent,He=this.effects.slice(0);ge;){var tt=ge.effects.filter(function(Rt){return!wh(Rt)});if(fe||ge.container.styles.position!==0||!ge.parent){if(He.unshift.apply(He,tt),fe=[2,3].indexOf(ge.container.styles.position)===-1,ge.container.styles.overflowX!==0){var ht=Tf(ge.curves),jt=Sh(ge.curves);Vc(ht,jt)||He.unshift(new qd(jt,6))}}else He.unshift.apply(He,tt);ge=ge.parent}return He.filter(function(Rt){return oa(Rt.target,Ae)})},ue}(),zg=function(ue,Ae,fe,ge){ue.container.elements.forEach(function(He){var tt=oa(He.flags,4),ht=oa(He.flags,2),jt=new bh(He,ue);oa(He.styles.display,2048)&&ge.push(jt);var Rt=oa(He.flags,8)?[]:ge;if(tt||ht){var bn=tt||He.styles.isPositioned()?fe:Ae,Un=new Kg(jt);if(He.styles.isPositioned()||He.styles.opacity<1||He.styles.isTransformed()){var Rn=He.styles.zIndex.order;if(Rn<0){var dr=0;bn.negativeZIndex.some(function(Mr,ia){return Rn>Mr.element.container.styles.zIndex.order?(dr=ia,!1):dr>0}),bn.negativeZIndex.splice(dr,0,Un)}else if(Rn>0){var Ca=0;bn.positiveZIndex.some(function(Mr,ia){return Rn>=Mr.element.container.styles.zIndex.order?(Ca=ia+1,!1):Ca>0}),bn.positiveZIndex.splice(Ca,0,Un)}else bn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Un)}else He.styles.isFloating()?bn.nonPositionedFloats.push(Un):bn.nonPositionedInlineLevel.push(Un);zg(jt,Un,tt?Un:fe,Rt)}else He.styles.isInlineLevel()?Ae.inlineLevel.push(jt):Ae.nonInlineLevel.push(jt),zg(jt,Ae,fe,Rt);oa(He.flags,8)&&Gg(He,Rt)})},Gg=function(ue,Ae){for(var fe=ue instanceof Ah?ue.start:1,ge=ue instanceof Ah?ue.reversed:!1,He=0;He<Ae.length;He++){var tt=Ae[He];tt.container instanceof a0&&typeof tt.container.value=="number"&&tt.container.value!==0&&(fe=tt.container.value),tt.listValue=Rg(fe,tt.container.styles.listStyleType,!0),fe+=ge?-1:1}},ll=function(ue){var Ae=new bh(ue,null),fe=new Kg(Ae),ge=[];return zg(Ae,fe,fe,ge),Gg(Ae.container,ge),fe},Ws=function(ue,Ae){switch(Ae){case 0:return nu(ue.topLeftBorderBox,ue.topLeftPaddingBox,ue.topRightBorderBox,ue.topRightPaddingBox);case 1:return nu(ue.topRightBorderBox,ue.topRightPaddingBox,ue.bottomRightBorderBox,ue.bottomRightPaddingBox);case 2:return nu(ue.bottomRightBorderBox,ue.bottomRightPaddingBox,ue.bottomLeftBorderBox,ue.bottomLeftPaddingBox);case 3:default:return nu(ue.bottomLeftBorderBox,ue.bottomLeftPaddingBox,ue.topLeftBorderBox,ue.topLeftPaddingBox)}},ul=function(ue,Ae){switch(Ae){case 0:return nu(ue.topLeftBorderBox,ue.topLeftBorderDoubleOuterBox,ue.topRightBorderBox,ue.topRightBorderDoubleOuterBox);case 1:return nu(ue.topRightBorderBox,ue.topRightBorderDoubleOuterBox,ue.bottomRightBorderBox,ue.bottomRightBorderDoubleOuterBox);case 2:return nu(ue.bottomRightBorderBox,ue.bottomRightBorderDoubleOuterBox,ue.bottomLeftBorderBox,ue.bottomLeftBorderDoubleOuterBox);case 3:default:return nu(ue.bottomLeftBorderBox,ue.bottomLeftBorderDoubleOuterBox,ue.topLeftBorderBox,ue.topLeftBorderDoubleOuterBox)}},cl=function(ue,Ae){switch(Ae){case 0:return nu(ue.topLeftBorderDoubleInnerBox,ue.topLeftPaddingBox,ue.topRightBorderDoubleInnerBox,ue.topRightPaddingBox);case 1:return nu(ue.topRightBorderDoubleInnerBox,ue.topRightPaddingBox,ue.bottomRightBorderDoubleInnerBox,ue.bottomRightPaddingBox);case 2:return nu(ue.bottomRightBorderDoubleInnerBox,ue.bottomRightPaddingBox,ue.bottomLeftBorderDoubleInnerBox,ue.bottomLeftPaddingBox);case 3:default:return nu(ue.bottomLeftBorderDoubleInnerBox,ue.bottomLeftPaddingBox,ue.topLeftBorderDoubleInnerBox,ue.topLeftPaddingBox)}},U0=function(ue,Ae){switch(Ae){case 0:return Rf(ue.topLeftBorderStroke,ue.topRightBorderStroke);case 1:return Rf(ue.topRightBorderStroke,ue.bottomRightBorderStroke);case 2:return Rf(ue.bottomRightBorderStroke,ue.bottomLeftBorderStroke);case 3:default:return Rf(ue.bottomLeftBorderStroke,ue.topLeftBorderStroke)}},Rf=function(ue,Ae){var fe=[];return hu(ue)?fe.push(ue.subdivide(.5,!1)):fe.push(ue),hu(Ae)?fe.push(Ae.subdivide(.5,!0)):fe.push(Ae),fe},nu=function(ue,Ae,fe,ge){var He=[];return hu(ue)?He.push(ue.subdivide(.5,!1)):He.push(ue),hu(fe)?He.push(fe.subdivide(.5,!0)):He.push(fe),hu(ge)?He.push(ge.subdivide(.5,!0).reverse()):He.push(ge),hu(Ae)?He.push(Ae.subdivide(.5,!1).reverse()):He.push(Ae),He},N0=function(ue){var Ae=ue.bounds,fe=ue.styles;return Ae.add(fe.borderLeftWidth,fe.borderTopWidth,-(fe.borderRightWidth+fe.borderLeftWidth),-(fe.borderTopWidth+fe.borderBottomWidth))},jf=function(ue){var Ae=ue.styles,fe=ue.bounds,ge=ti(Ae.paddingLeft,fe.width),He=ti(Ae.paddingRight,fe.width),tt=ti(Ae.paddingTop,fe.width),ht=ti(Ae.paddingBottom,fe.width);return fe.add(ge+Ae.borderLeftWidth,tt+Ae.borderTopWidth,-(Ae.borderRightWidth+Ae.borderLeftWidth+ge+He),-(Ae.borderTopWidth+Ae.borderBottomWidth+tt+ht))},Ch=function(ue,Ae){return ue===0?Ae.bounds:ue===2?jf(Ae):N0(Ae)},km=function(ue,Ae){return ue===0?Ae.bounds:ue===2?jf(Ae):N0(Ae)},Vu=function(ue,Ae,fe){var ge=Ch(Fu(ue.styles.backgroundOrigin,Ae),ue),He=km(Fu(ue.styles.backgroundClip,Ae),ue),tt=eg(Fu(ue.styles.backgroundSize,Ae),fe,ge),ht=tt[0],jt=tt[1],Rt=Ul(Fu(ue.styles.backgroundPosition,Ae),ge.width-ht,ge.height-jt),bn=D0(Fu(ue.styles.backgroundRepeat,Ae),Rt,tt,ge,He),Un=Math.round(ge.left+Rt[0]),Rn=Math.round(ge.top+Rt[1]);return[bn,Un,Rn,ht,jt]},Xc=function(ue){return eo(ue)&&ue.value===QA.AUTO},$g=function(ue){return typeof ue=="number"},eg=function(ue,Ae,fe){var ge=Ae[0],He=Ae[1],tt=Ae[2],ht=ue[0],jt=ue[1];if(!ht)return[0,0];if(AA(ht)&&jt&&AA(jt))return[ti(ht,fe.width),ti(jt,fe.height)];var Rt=$g(tt);if(eo(ht)&&(ht.value===QA.CONTAIN||ht.value===QA.COVER)){if($g(tt)){var bn=fe.width/fe.height;return bn<tt!=(ht.value===QA.COVER)?[fe.width,fe.width/tt]:[fe.height*tt,fe.height]}return[fe.width,fe.height]}var Un=$g(ge),Rn=$g(He),dr=Un||Rn;if(Xc(ht)&&(!jt||Xc(jt))){if(Un&&Rn)return[ge,He];if(!Rt&&!dr)return[fe.width,fe.height];if(dr&&Rt){var Ca=Un?ge:He*tt,Mr=Rn?He:ge/tt;return[Ca,Mr]}var ia=Un?ge:fe.width,xo=Rn?He:fe.height;return[ia,xo]}if(Rt){var Ra=0,Qa=0;return AA(ht)?Ra=ti(ht,fe.width):AA(jt)&&(Qa=ti(jt,fe.height)),Xc(ht)?Ra=Qa*tt:(!jt||Xc(jt))&&(Qa=Ra/tt),[Ra,Qa]}var ho=null,Mo=null;if(AA(ht)?ho=ti(ht,fe.width):jt&&AA(jt)&&(Mo=ti(jt,fe.height)),ho!==null&&(!jt||Xc(jt))&&(Mo=Un&&Rn?ho/ge*He:fe.height),Mo!==null&&Xc(ht)&&(ho=Un&&Rn?Mo/He*ge:fe.width),ho!==null&&Mo!==null)return[ho,Mo];throw new Error("Unable to calculate background-size for element")},Fu=function(ue,Ae){var fe=ue[Ae];return typeof fe=="undefined"?ue[0]:fe},D0=function(ue,Ae,fe,ge,He){var tt=Ae[0],ht=Ae[1],jt=fe[0],Rt=fe[1];switch(ue){case 2:return[new ba(Math.round(ge.left),Math.round(ge.top+ht)),new ba(Math.round(ge.left+ge.width),Math.round(ge.top+ht)),new ba(Math.round(ge.left+ge.width),Math.round(Rt+ge.top+ht)),new ba(Math.round(ge.left),Math.round(Rt+ge.top+ht))];case 3:return[new ba(Math.round(ge.left+tt),Math.round(ge.top)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.top)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.height+ge.top)),new ba(Math.round(ge.left+tt),Math.round(ge.height+ge.top))];case 1:return[new ba(Math.round(ge.left+tt),Math.round(ge.top+ht)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.top+ht)),new ba(Math.round(ge.left+tt+jt),Math.round(ge.top+ht+Rt)),new ba(Math.round(ge.left+tt),Math.round(ge.top+ht+Rt))];default:return[new ba(Math.round(He.left),Math.round(He.top)),new ba(Math.round(He.left+He.width),Math.round(He.top)),new ba(Math.round(He.left+He.width),Math.round(He.height+He.top)),new ba(Math.round(He.left),Math.round(He.height+He.top))]}},Zg="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ph="Hidden Text",Yc=function(){function ue(Ae){this._data={},this._document=Ae}return ue.prototype.parseMetrics=function(Ae,fe){var ge=this._document.createElement("div"),He=this._document.createElement("img"),tt=this._document.createElement("span"),ht=this._document.body;ge.style.visibility="hidden",ge.style.fontFamily=Ae,ge.style.fontSize=fe,ge.style.margin="0",ge.style.padding="0",ge.style.whiteSpace="nowrap",ht.appendChild(ge),He.src=Zg,He.width=1,He.height=1,He.style.margin="0",He.style.padding="0",He.style.verticalAlign="baseline",tt.style.fontFamily=Ae,tt.style.fontSize=fe,tt.style.margin="0",tt.style.padding="0",tt.appendChild(this._document.createTextNode(Ph)),ge.appendChild(tt),ge.appendChild(He);var jt=He.offsetTop-tt.offsetTop+2;ge.removeChild(tt),ge.appendChild(this._document.createTextNode(Ph)),ge.style.lineHeight="normal",He.style.verticalAlign="super";var Rt=He.offsetTop-ge.offsetTop+2;return ht.removeChild(ge),{baseline:jt,middle:Rt}},ue.prototype.getMetrics=function(Ae,fe){var ge=Ae+" "+fe;return typeof this._data[ge]=="undefined"&&(this._data[ge]=this.parseMetrics(Ae,fe)),this._data[ge]},ue}(),Jc=function(){function ue(Ae,fe){this.context=Ae,this.options=fe}return ue}(),Wa=1e4,es=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He._activeEffects=[],He.canvas=ge.canvas?ge.canvas:document.createElement("canvas"),He.ctx=He.canvas.getContext("2d"),ge.canvas||(He.canvas.width=Math.floor(ge.width*ge.scale),He.canvas.height=Math.floor(ge.height*ge.scale),He.canvas.style.width=ge.width+"px",He.canvas.style.height=ge.height+"px"),He.fontMetrics=new Yc(document),He.ctx.scale(He.options.scale,He.options.scale),He.ctx.translate(-ge.x,-ge.y),He.ctx.textBaseline="bottom",He._activeEffects=[],He.context.logger.debug("Canvas renderer initialized ("+ge.width+"x"+ge.height+") with scale "+ge.scale),He}return Ae.prototype.applyEffects=function(fe){for(var ge=this;this._activeEffects.length;)this.popEffect();fe.forEach(function(He){return ge.applyEffect(He)})},Ae.prototype.applyEffect=function(fe){this.ctx.save(),kf(fe)&&(this.ctx.globalAlpha=fe.opacity),yh(fe)&&(this.ctx.translate(fe.offsetX,fe.offsetY),this.ctx.transform(fe.matrix[0],fe.matrix[1],fe.matrix[2],fe.matrix[3],fe.matrix[4],fe.matrix[5]),this.ctx.translate(-fe.offsetX,-fe.offsetY)),wh(fe)&&(this.path(fe.path),this.ctx.clip()),this._activeEffects.push(fe)},Ae.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},Ae.prototype.renderStack=function(fe){return be(this,void 0,void 0,function(){var ge;return ze(this,function(He){switch(He.label){case 0:return ge=fe.element.container.styles,ge.isVisible()?[4,this.renderStackContent(fe)]:[3,2];case 1:He.sent(),He.label=2;case 2:return[2]}})})},Ae.prototype.renderNode=function(fe){return be(this,void 0,void 0,function(){return ze(this,function(ge){switch(ge.label){case 0:if(oa(fe.container.flags,16))debugger;return fe.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(fe)]:[3,3];case 1:return ge.sent(),[4,this.renderNodeContent(fe)];case 2:ge.sent(),ge.label=3;case 3:return[2]}})})},Ae.prototype.renderTextWithLetterSpacing=function(fe,ge,He){var tt=this;if(ge===0)this.ctx.fillText(fe.text,fe.bounds.left,fe.bounds.top+He);else{var ht=Ti(fe.text);ht.reduce(function(jt,Rt){return tt.ctx.fillText(Rt,jt,fe.bounds.top+He),jt+tt.ctx.measureText(Rt).width},fe.bounds.left)}},Ae.prototype.createFontStyle=function(fe){var ge=fe.fontVariant.filter(function(ht){return ht==="normal"||ht==="small-caps"}).join(""),He=qc(fe.fontFamily).join(", "),tt=Lo(fe.fontSize)?""+fe.fontSize.number+fe.fontSize.unit:fe.fontSize.number+"px";return[[fe.fontStyle,ge,fe.fontWeight,tt,He].join(" "),He,tt]},Ae.prototype.renderTextNode=function(fe,ge){return be(this,void 0,void 0,function(){var He,tt,ht,jt,Rt,bn,Un,Rn,dr=this;return ze(this,function(Ca){return He=this.createFontStyle(ge),tt=He[0],ht=He[1],jt=He[2],this.ctx.font=tt,this.ctx.direction=ge.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Rt=this.fontMetrics.getMetrics(ht,jt),bn=Rt.baseline,Un=Rt.middle,Rn=ge.paintOrder,fe.textBounds.forEach(function(Mr){Rn.forEach(function(ia){switch(ia){case 0:dr.ctx.fillStyle=sA(ge.color),dr.renderTextWithLetterSpacing(Mr,ge.letterSpacing,bn);var xo=ge.textShadow;xo.length&&Mr.text.trim().length&&(xo.slice(0).reverse().forEach(function(Ra){dr.ctx.shadowColor=sA(Ra.color),dr.ctx.shadowOffsetX=Ra.offsetX.number*dr.options.scale,dr.ctx.shadowOffsetY=Ra.offsetY.number*dr.options.scale,dr.ctx.shadowBlur=Ra.blur.number,dr.renderTextWithLetterSpacing(Mr,ge.letterSpacing,bn)}),dr.ctx.shadowColor="",dr.ctx.shadowOffsetX=0,dr.ctx.shadowOffsetY=0,dr.ctx.shadowBlur=0),ge.textDecorationLine.length&&(dr.ctx.fillStyle=sA(ge.textDecorationColor||ge.color),ge.textDecorationLine.forEach(function(Ra){switch(Ra){case 1:dr.ctx.fillRect(Mr.bounds.left,Math.round(Mr.bounds.top+bn),Mr.bounds.width,1);break;case 2:dr.ctx.fillRect(Mr.bounds.left,Math.round(Mr.bounds.top),Mr.bounds.width,1);break;case 3:dr.ctx.fillRect(Mr.bounds.left,Math.ceil(Mr.bounds.top+Un),Mr.bounds.width,1);break}}));break;case 1:ge.webkitTextStrokeWidth&&Mr.text.trim().length&&(dr.ctx.strokeStyle=sA(ge.webkitTextStrokeColor),dr.ctx.lineWidth=ge.webkitTextStrokeWidth,dr.ctx.lineJoin=window.chrome?"miter":"round",dr.ctx.strokeText(Mr.text,Mr.bounds.left,Mr.bounds.top+bn)),dr.ctx.strokeStyle="",dr.ctx.lineWidth=0,dr.ctx.lineJoin="miter";break}})}),[2]})})},Ae.prototype.renderReplacedElement=function(fe,ge,He){if(He&&fe.intrinsicWidth>0&&fe.intrinsicHeight>0){var tt=jf(fe),ht=Sh(ge);this.path(ht),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(He,0,0,fe.intrinsicWidth,fe.intrinsicHeight,tt.left,tt.top,tt.width,tt.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(fe){return be(this,void 0,void 0,function(){var ge,He,tt,ht,jt,Rt,Qa,Qa,bn,Un,Rn,dr,Mo,Ca,Mr,Ao,ia,xo,Ra,Qa,ho,Mo,Ao;return ze(this,function(ha){switch(ha.label){case 0:this.applyEffects(fe.getEffects(4)),ge=fe.container,He=fe.curves,tt=ge.styles,ht=0,jt=ge.textNodes,ha.label=1;case 1:return ht<jt.length?(Rt=jt[ht],[4,this.renderTextNode(Rt,tt)]):[3,4];case 2:ha.sent(),ha.label=3;case 3:return ht++,[3,1];case 4:if(!(ge instanceof t0))return[3,8];ha.label=5;case 5:return ha.trys.push([5,7,,8]),[4,this.context.cache.match(ge.src)];case 6:return Qa=ha.sent(),this.renderReplacedElement(ge,He,Qa),[3,8];case 7:return ha.sent(),this.context.logger.error("Error loading image "+ge.src),[3,8];case 8:if(ge instanceof n0&&this.renderReplacedElement(ge,He,ge.canvas),!(ge instanceof r0))return[3,12];ha.label=9;case 9:return ha.trys.push([9,11,,12]),[4,this.context.cache.match(ge.svg)];case 10:return Qa=ha.sent(),this.renderReplacedElement(ge,He,Qa),[3,12];case 11:return ha.sent(),this.context.logger.error("Error loading svg "+ge.svg.substring(0,255)),[3,12];case 12:return ge instanceof A0&&ge.tree?(bn=new Ae(this.context,{scale:this.options.scale,backgroundColor:ge.backgroundColor,x:0,y:0,width:ge.width,height:ge.height}),[4,bn.render(ge.tree)]):[3,14];case 13:Un=ha.sent(),ge.width&&ge.height&&this.ctx.drawImage(Un,0,0,ge.width,ge.height,ge.bounds.left,ge.bounds.top,ge.bounds.width,ge.bounds.height),ha.label=14;case 14:if(ge instanceof Og&&(Rn=Math.min(ge.bounds.width,ge.bounds.height),ge.type===xf?ge.checked&&(this.ctx.save(),this.path([new ba(ge.bounds.left+Rn*.39363,ge.bounds.top+Rn*.79),new ba(ge.bounds.left+Rn*.16,ge.bounds.top+Rn*.5549),new ba(ge.bounds.left+Rn*.27347,ge.bounds.top+Rn*.44071),new ba(ge.bounds.left+Rn*.39694,ge.bounds.top+Rn*.5649),new ba(ge.bounds.left+Rn*.72983,ge.bounds.top+Rn*.23),new ba(ge.bounds.left+Rn*.84,ge.bounds.top+Rn*.34085),new ba(ge.bounds.left+Rn*.39363,ge.bounds.top+Rn*.79)]),this.ctx.fillStyle=sA(Lf),this.ctx.fill(),this.ctx.restore()):ge.type===_f&&ge.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ge.bounds.left+Rn/2,ge.bounds.top+Rn/2,Rn/4,0,Math.PI*2,!0),this.ctx.fillStyle=sA(Lf),this.ctx.fill(),this.ctx.restore())),Eh(ge)&&ge.value.length){switch(dr=this.createFontStyle(tt),Mo=dr[0],Ca=dr[1],Mr=this.fontMetrics.getMetrics(Mo,Ca).baseline,this.ctx.font=Mo,this.ctx.fillStyle=sA(tt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=tg(ge.styles.textAlign),Ao=jf(ge),ia=0,ge.styles.textAlign){case 1:ia+=Ao.width/2;break;case 2:ia+=Ao.width;break}xo=Ao.add(ia,0,0,-Ao.height/2+1),this.ctx.save(),this.path([new ba(Ao.left,Ao.top),new ba(Ao.left+Ao.width,Ao.top),new ba(Ao.left+Ao.width,Ao.top+Ao.height),new ba(Ao.left,Ao.top+Ao.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Eu(ge.value,xo),tt.letterSpacing,Mr),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!oa(ge.styles.display,2048))return[3,20];if(ge.styles.listStyleImage===null)return[3,19];if(Ra=ge.styles.listStyleImage,Ra.type!==0)return[3,18];Qa=void 0,ho=Ra.url,ha.label=15;case 15:return ha.trys.push([15,17,,18]),[4,this.context.cache.match(ho)];case 16:return Qa=ha.sent(),this.ctx.drawImage(Qa,ge.bounds.left-(Qa.width+10),ge.bounds.top),[3,18];case 17:return ha.sent(),this.context.logger.error("Error loading list-style-image "+ho),[3,18];case 18:return[3,20];case 19:fe.listValue&&ge.styles.listStyleType!==-1&&(Mo=this.createFontStyle(tt)[0],this.ctx.font=Mo,this.ctx.fillStyle=sA(tt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ao=new Ge(ge.bounds.left,ge.bounds.top+ti(ge.styles.paddingTop,ge.bounds.width),ge.bounds.width,mn(tt.lineHeight,tt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Eu(fe.listValue,Ao),tt.letterSpacing,mn(tt.lineHeight,tt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ha.label=20;case 20:return[2]}})})},Ae.prototype.renderStackContent=function(fe){return be(this,void 0,void 0,function(){var ge,He,Ra,tt,ht,Ra,jt,Rt,Ra,bn,Un,Ra,Rn,dr,Ra,Ca,Mr,Ra,ia,xo,Ra;return ze(this,function(Qa){switch(Qa.label){case 0:if(oa(fe.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(fe.element)];case 1:Qa.sent(),ge=0,He=fe.negativeZIndex,Qa.label=2;case 2:return ge<He.length?(Ra=He[ge],[4,this.renderStack(Ra)]):[3,5];case 3:Qa.sent(),Qa.label=4;case 4:return ge++,[3,2];case 5:return[4,this.renderNodeContent(fe.element)];case 6:Qa.sent(),tt=0,ht=fe.nonInlineLevel,Qa.label=7;case 7:return tt<ht.length?(Ra=ht[tt],[4,this.renderNode(Ra)]):[3,10];case 8:Qa.sent(),Qa.label=9;case 9:return tt++,[3,7];case 10:jt=0,Rt=fe.nonPositionedFloats,Qa.label=11;case 11:return jt<Rt.length?(Ra=Rt[jt],[4,this.renderStack(Ra)]):[3,14];case 12:Qa.sent(),Qa.label=13;case 13:return jt++,[3,11];case 14:bn=0,Un=fe.nonPositionedInlineLevel,Qa.label=15;case 15:return bn<Un.length?(Ra=Un[bn],[4,this.renderStack(Ra)]):[3,18];case 16:Qa.sent(),Qa.label=17;case 17:return bn++,[3,15];case 18:Rn=0,dr=fe.inlineLevel,Qa.label=19;case 19:return Rn<dr.length?(Ra=dr[Rn],[4,this.renderNode(Ra)]):[3,22];case 20:Qa.sent(),Qa.label=21;case 21:return Rn++,[3,19];case 22:Ca=0,Mr=fe.zeroOrAutoZIndexOrTransformedOrOpacity,Qa.label=23;case 23:return Ca<Mr.length?(Ra=Mr[Ca],[4,this.renderStack(Ra)]):[3,26];case 24:Qa.sent(),Qa.label=25;case 25:return Ca++,[3,23];case 26:ia=0,xo=fe.positiveZIndex,Qa.label=27;case 27:return ia<xo.length?(Ra=xo[ia],[4,this.renderStack(Ra)]):[3,30];case 28:Qa.sent(),Qa.label=29;case 29:return ia++,[3,27];case 30:return[2]}})})},Ae.prototype.mask=function(fe){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(fe.slice(0).reverse()),this.ctx.closePath()},Ae.prototype.path=function(fe){this.ctx.beginPath(),this.formatPath(fe),this.ctx.closePath()},Ae.prototype.formatPath=function(fe){var ge=this;fe.forEach(function(He,tt){var ht=hu(He)?He.start:He;tt===0?ge.ctx.moveTo(ht.x,ht.y):ge.ctx.lineTo(ht.x,ht.y),hu(He)&&ge.ctx.bezierCurveTo(He.startControl.x,He.startControl.y,He.endControl.x,He.endControl.y,He.end.x,He.end.y)})},Ae.prototype.renderRepeat=function(fe,ge,He,tt){this.path(fe),this.ctx.fillStyle=ge,this.ctx.translate(He,tt),this.ctx.fill(),this.ctx.translate(-He,-tt)},Ae.prototype.resizeImage=function(fe,ge,He){var tt;if(fe.width===ge&&fe.height===He)return fe;var ht=(tt=this.canvas.ownerDocument)!==null&&tt!==void 0?tt:document,jt=ht.createElement("canvas");jt.width=Math.max(1,ge),jt.height=Math.max(1,He);var Rt=jt.getContext("2d");return Rt.drawImage(fe,0,0,fe.width,fe.height,0,0,ge,He),jt},Ae.prototype.renderBackgroundImage=function(fe){return be(this,void 0,void 0,function(){var ge,He,tt,ht,jt,Rt;return ze(this,function(bn){switch(bn.label){case 0:ge=fe.styles.backgroundImage.length-1,He=function(Un){var Rn,dr,Ca,aa,dl,yl,Wi,Ms,Vo,Mr,aa,dl,yl,Wi,Ms,ia,xo,Ra,Qa,ho,Mo,Ao,ha,mi,Vo,mo,aa,Ml,ru,Wi,Ms,yc,dl,yl,bd,mu,wc,Cd,ed,Yu,td,bc;return ze(this,function(ng){switch(ng.label){case 0:if(Un.type!==0)return[3,5];Rn=void 0,dr=Un.url,ng.label=1;case 1:return ng.trys.push([1,3,,4]),[4,tt.context.cache.match(dr)];case 2:return Rn=ng.sent(),[3,4];case 3:return ng.sent(),tt.context.logger.error("Error loading background-image "+dr),[3,4];case 4:return Rn&&(Ca=Vu(fe,ge,[Rn.width,Rn.height,Rn.width/Rn.height]),aa=Ca[0],dl=Ca[1],yl=Ca[2],Wi=Ca[3],Ms=Ca[4],Vo=tt.ctx.createPattern(tt.resizeImage(Rn,Wi,Ms),"repeat"),tt.renderRepeat(aa,Vo,dl,yl)),[3,6];case 5:Oi(Un)?(Mr=Vu(fe,ge,[null,null,null]),aa=Mr[0],dl=Mr[1],yl=Mr[2],Wi=Mr[3],Ms=Mr[4],ia=Er(Un.angle,Wi,Ms),xo=ia[0],Ra=ia[1],Qa=ia[2],ho=ia[3],Mo=ia[4],Ao=document.createElement("canvas"),Ao.width=Wi,Ao.height=Ms,ha=Ao.getContext("2d"),mi=ha.createLinearGradient(Ra,ho,Qa,Mo),Hc(Un.stops,xo).forEach(function(nd){return mi.addColorStop(nd.stop,sA(nd.color))}),ha.fillStyle=mi,ha.fillRect(0,0,Wi,Ms),Wi>0&&Ms>0&&(Vo=tt.ctx.createPattern(Ao,"repeat"),tt.renderRepeat(aa,Vo,dl,yl))):Vl(Un)&&(mo=Vu(fe,ge,[null,null,null]),aa=mo[0],Ml=mo[1],ru=mo[2],Wi=mo[3],Ms=mo[4],yc=Un.position.length===0?[Hu]:Un.position,dl=ti(yc[0],Wi),yl=ti(yc[yc.length-1],Ms),bd=$a(Un,dl,yl,Wi,Ms),mu=bd[0],wc=bd[1],mu>0&&wc>0&&(Cd=tt.ctx.createRadialGradient(Ml+dl,ru+yl,0,Ml+dl,ru+yl,mu),Hc(Un.stops,mu*2).forEach(function(nd){return Cd.addColorStop(nd.stop,sA(nd.color))}),tt.path(aa),tt.ctx.fillStyle=Cd,mu!==wc?(ed=fe.bounds.left+.5*fe.bounds.width,Yu=fe.bounds.top+.5*fe.bounds.height,td=wc/mu,bc=1/td,tt.ctx.save(),tt.ctx.translate(ed,Yu),tt.ctx.transform(1,0,0,td,0,0),tt.ctx.translate(-ed,-Yu),tt.ctx.fillRect(Ml,bc*(ru-Yu)+Yu,Wi,Ms*bc),tt.ctx.restore()):tt.ctx.fill())),ng.label=6;case 6:return ge--,[2]}})},tt=this,ht=0,jt=fe.styles.backgroundImage.slice(0).reverse(),bn.label=1;case 1:return ht<jt.length?(Rt=jt[ht],[5,He(Rt)]):[3,4];case 2:bn.sent(),bn.label=3;case 3:return ht++,[3,1];case 4:return[2]}})})},Ae.prototype.renderSolidBorder=function(fe,ge,He){return be(this,void 0,void 0,function(){return ze(this,function(tt){return this.path(Ws(He,ge)),this.ctx.fillStyle=sA(fe),this.ctx.fill(),[2]})})},Ae.prototype.renderDoubleBorder=function(fe,ge,He,tt){return be(this,void 0,void 0,function(){var ht,jt;return ze(this,function(Rt){switch(Rt.label){case 0:return ge<3?[4,this.renderSolidBorder(fe,He,tt)]:[3,2];case 1:return Rt.sent(),[2];case 2:return ht=ul(tt,He),this.path(ht),this.ctx.fillStyle=sA(fe),this.ctx.fill(),jt=cl(tt,He),this.path(jt),this.ctx.fill(),[2]}})})},Ae.prototype.renderNodeBackgroundAndBorders=function(fe){return be(this,void 0,void 0,function(){var ge,He,tt,ht,jt,Rt,bn,Un,Rn=this;return ze(this,function(dr){switch(dr.label){case 0:return this.applyEffects(fe.getEffects(2)),ge=fe.container.styles,He=!OA(ge.backgroundColor)||ge.backgroundImage.length,tt=[{style:ge.borderTopStyle,color:ge.borderTopColor,width:ge.borderTopWidth},{style:ge.borderRightStyle,color:ge.borderRightColor,width:ge.borderRightWidth},{style:ge.borderBottomStyle,color:ge.borderBottomColor,width:ge.borderBottomWidth},{style:ge.borderLeftStyle,color:ge.borderLeftColor,width:ge.borderLeftWidth}],ht=wd(Fu(ge.backgroundClip,0),fe.curves),He||ge.boxShadow.length?(this.ctx.save(),this.path(ht),this.ctx.clip(),OA(ge.backgroundColor)||(this.ctx.fillStyle=sA(ge.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(fe.container)]):[3,2];case 1:dr.sent(),this.ctx.restore(),ge.boxShadow.slice(0).reverse().forEach(function(Ca){Rn.ctx.save();var Mr=Tf(fe.curves),ia=Ca.inset?0:Wa,xo=I0(Mr,-ia+(Ca.inset?1:-1)*Ca.spread.number,(Ca.inset?1:-1)*Ca.spread.number,Ca.spread.number*(Ca.inset?-2:2),Ca.spread.number*(Ca.inset?-2:2));Ca.inset?(Rn.path(Mr),Rn.ctx.clip(),Rn.mask(xo)):(Rn.mask(Mr),Rn.ctx.clip(),Rn.path(xo)),Rn.ctx.shadowOffsetX=Ca.offsetX.number+ia,Rn.ctx.shadowOffsetY=Ca.offsetY.number,Rn.ctx.shadowColor=sA(Ca.color),Rn.ctx.shadowBlur=Ca.blur.number,Rn.ctx.fillStyle=Ca.inset?sA(Ca.color):"rgba(0,0,0,1)",Rn.ctx.fill(),Rn.ctx.restore()}),dr.label=2;case 2:jt=0,Rt=0,bn=tt,dr.label=3;case 3:return Rt<bn.length?(Un=bn[Rt],Un.style!==0&&!OA(Un.color)&&Un.width>0?Un.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Un.color,Un.width,jt,fe.curves,2)]:[3,11]):[3,13];case 4:return dr.sent(),[3,11];case 5:return Un.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Un.color,Un.width,jt,fe.curves,3)];case 6:return dr.sent(),[3,11];case 7:return Un.style!==4?[3,9]:[4,this.renderDoubleBorder(Un.color,Un.width,jt,fe.curves)];case 8:return dr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Un.color,jt,fe.curves)];case 10:dr.sent(),dr.label=11;case 11:jt++,dr.label=12;case 12:return Rt++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(fe,ge,He,tt,ht){return be(this,void 0,void 0,function(){var jt,Rt,bn,Un,Rn,dr,Ca,Mr,ia,xo,Ra,Qa,ho,Mo,Ao,ha,Ao,ha;return ze(this,function(mi){return this.ctx.save(),jt=U0(tt,He),Rt=Ws(tt,He),ht===2&&(this.path(Rt),this.ctx.clip()),hu(Rt[0])?(bn=Rt[0].start.x,Un=Rt[0].start.y):(bn=Rt[0].x,Un=Rt[0].y),hu(Rt[1])?(Rn=Rt[1].end.x,dr=Rt[1].end.y):(Rn=Rt[1].x,dr=Rt[1].y),He===0||He===2?Ca=Math.abs(bn-Rn):Ca=Math.abs(Un-dr),this.ctx.beginPath(),ht===3?this.formatPath(jt):this.formatPath(Rt.slice(0,2)),Mr=ge<3?ge*3:ge*2,ia=ge<3?ge*2:ge,ht===3&&(Mr=ge,ia=ge),xo=!0,Ca<=Mr*2?xo=!1:Ca<=Mr*2+ia?(Ra=Ca/(2*Mr+ia),Mr*=Ra,ia*=Ra):(Qa=Math.floor((Ca+ia)/(Mr+ia)),ho=(Ca-Qa*Mr)/(Qa-1),Mo=(Ca-(Qa+1)*Mr)/Qa,ia=Mo<=0||Math.abs(ia-ho)<Math.abs(ia-Mo)?ho:Mo),xo&&(ht===3?this.ctx.setLineDash([0,Mr+ia]):this.ctx.setLineDash([Mr,ia])),ht===3?(this.ctx.lineCap="round",this.ctx.lineWidth=ge):this.ctx.lineWidth=ge*2+1.1,this.ctx.strokeStyle=sA(fe),this.ctx.stroke(),this.ctx.setLineDash([]),ht===2&&(hu(Rt[0])&&(Ao=Rt[3],ha=Rt[0],this.ctx.beginPath(),this.formatPath([new ba(Ao.end.x,Ao.end.y),new ba(ha.start.x,ha.start.y)]),this.ctx.stroke()),hu(Rt[1])&&(Ao=Rt[1],ha=Rt[2],this.ctx.beginPath(),this.formatPath([new ba(Ao.end.x,Ao.end.y),new ba(ha.start.x,ha.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},Ae.prototype.render=function(fe){return be(this,void 0,void 0,function(){var ge;return ze(this,function(He){switch(He.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=sA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ge=ll(fe),[4,this.renderStack(ge)];case 1:return He.sent(),this.applyEffects([]),[2,this.canvas]}})})},Ae}(Jc),Eh=function(ue){return ue instanceof sh||ue instanceof i0?!0:ue instanceof Og&&ue.type!==_f&&ue.type!==xf},wd=function(ue,Ae){switch(ue){case 0:return Tf(Ae);case 2:return xp(Ae);case 1:default:return Sh(Ae)}},tg=function(ue){switch(ue){case 1:return"center";case 2:return"right";case 0:default:return"left"}},jo=["-apple-system","system-ui"],qc=function(ue){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?ue.filter(function(Ae){return jo.indexOf(Ae)===-1}):ue},jl=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.canvas=ge.canvas?ge.canvas:document.createElement("canvas"),He.ctx=He.canvas.getContext("2d"),He.options=ge,He.canvas.width=Math.floor(ge.width*ge.scale),He.canvas.height=Math.floor(ge.height*ge.scale),He.canvas.style.width=ge.width+"px",He.canvas.style.height=ge.height+"px",He.ctx.scale(He.options.scale,He.options.scale),He.ctx.translate(-ge.x,-ge.y),He.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ge.width+"x"+ge.height+" at "+ge.x+","+ge.y+") with scale "+ge.scale),He}return Ae.prototype.render=function(fe){return be(this,void 0,void 0,function(){var ge,He;return ze(this,function(tt){switch(tt.label){case 0:return ge=vd(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,fe),[4,O0(ge)];case 1:return He=tt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=sA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(He,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},Ae}(Jc),O0=function(ue){return new Promise(function(Ae,fe){var ge=new Image;ge.onload=function(){Ae(ge)},ge.onerror=fe,ge.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},Xu=function(){function ue(Ae){var fe=Ae.id,ge=Ae.enabled;this.id=fe,this.enabled=ge,this.start=Date.now()}return ue.prototype.debug=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,at([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},ue.prototype.getTime=function(){return Date.now()-this.start},ue.prototype.info=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,at([this.id,this.getTime()+"ms"],Ae))},ue.prototype.warn=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,at([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},ue.prototype.error=function(){for(var Ae=[],fe=0;fe<arguments.length;fe++)Ae[fe]=arguments[fe];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,at([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},ue.instances={},ue}(),Rm=function(){function ue(Ae,fe){var ge;this.windowBounds=fe,this.instanceName="#"+ue.instanceCount++,this.logger=new Xu({id:this.instanceName,enabled:Ae.logging}),this.cache=(ge=Ae.cache)!==null&&ge!==void 0?ge:new tu(this,Ae)}return ue.instanceCount=1,ue}(),jm=function(ue,Ae){return Ae===void 0&&(Ae={}),Mm(ue,Ae)};typeof window!="undefined"&&_0.setContext(window);var Mm=function(ue,Ae){return be(void 0,void 0,void 0,function(){var fe,ge,He,tt,ht,jt,Rt,bn,Un,Rn,dr,Ca,Mr,ia,xo,Ra,Qa,ho,Mo,Ao,mi,ha,mi,Vo,mo,aa,Ml,ru,Wi,Ms,yc,dl,yl,bd,mu,wc,Cd,ed,Yu,td;return ze(this,function(bc){switch(bc.label){case 0:if(!ue||typeof ue!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(fe=ue.ownerDocument,!fe)throw new Error("Element is not attached to a Document");if(ge=fe.defaultView,!ge)throw new Error("Document is not attached to a Window");return He={allowTaint:(Vo=Ae.allowTaint)!==null&&Vo!==void 0?Vo:!1,imageTimeout:(mo=Ae.imageTimeout)!==null&&mo!==void 0?mo:15e3,proxy:Ae.proxy,useCORS:(aa=Ae.useCORS)!==null&&aa!==void 0?aa:!1},tt=Oe({logging:(Ml=Ae.logging)!==null&&Ml!==void 0?Ml:!0,cache:Ae.cache},He),ht={windowWidth:(ru=Ae.windowWidth)!==null&&ru!==void 0?ru:ge.innerWidth,windowHeight:(Wi=Ae.windowHeight)!==null&&Wi!==void 0?Wi:ge.innerHeight,scrollX:(Ms=Ae.scrollX)!==null&&Ms!==void 0?Ms:ge.pageXOffset,scrollY:(yc=Ae.scrollY)!==null&&yc!==void 0?yc:ge.pageYOffset},jt=new Ge(ht.scrollX,ht.scrollY,ht.windowWidth,ht.windowHeight),Rt=new Rm(tt,jt),bn=(dl=Ae.foreignObjectRendering)!==null&&dl!==void 0?dl:!1,Un={allowTaint:(yl=Ae.allowTaint)!==null&&yl!==void 0?yl:!1,onclone:Ae.onclone,ignoreElements:Ae.ignoreElements,inlineImages:bn,copyStyles:bn},Rt.logger.debug("Starting document clone with size "+jt.width+"x"+jt.height+" scrolled to "+-jt.left+","+-jt.top),Rn=new Im(Rt,ue,Un),dr=Rn.clonedReferenceElement,dr?[4,Rn.toIFrame(fe,jt)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Ca=bc.sent(),Mr=uh(dr)||Fm(dr)?me(dr.ownerDocument):je(Rt,dr),ia=Mr.width,xo=Mr.height,Ra=Mr.left,Qa=Mr.top,ho=us(Rt,dr,Ae.backgroundColor),Mo={canvas:Ae.canvas,backgroundColor:ho,scale:(mu=(bd=Ae.scale)!==null&&bd!==void 0?bd:ge.devicePixelRatio)!==null&&mu!==void 0?mu:1,x:((wc=Ae.x)!==null&&wc!==void 0?wc:0)+Ra,y:((Cd=Ae.y)!==null&&Cd!==void 0?Cd:0)+Qa,width:(ed=Ae.width)!==null&&ed!==void 0?ed:Math.ceil(ia),height:(Yu=Ae.height)!==null&&Yu!==void 0?Yu:Math.ceil(xo)},bn?(Rt.logger.debug("Document cloned, using foreign object rendering"),mi=new jl(Rt,Mo),[4,mi.render(dr)]):[3,3];case 2:return Ao=bc.sent(),[3,5];case 3:return Rt.logger.debug("Document cloned, element located at "+Ra+","+Qa+" with size "+ia+"x"+xo+" using computed rendering"),Rt.logger.debug("Starting DOM parsing"),ha=l0(Rt,dr),ho===ha.styles.backgroundColor&&(ha.styles.backgroundColor=eA.TRANSPARENT),Rt.logger.debug("Starting renderer for element at "+Mo.x+","+Mo.y+" with size "+Mo.width+"x"+Mo.height),mi=new es(Rt,Mo),[4,mi.render(ha)];case 4:Ao=bc.sent(),bc.label=5;case 5:return(!((td=Ae.removeContainer)!==null&&td!==void 0)||td)&&(Im.destroy(Ca)||Rt.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Rt.logger.debug("Finished rendering"),[2,Ao]}})})},us=function(ue,Ae,fe){var ge=Ae.ownerDocument,He=ge.documentElement?Ol(ue,getComputedStyle(ge.documentElement).backgroundColor):eA.TRANSPARENT,tt=ge.body?Ol(ue,getComputedStyle(ge.body).backgroundColor):eA.TRANSPARENT,ht=typeof fe=="string"?Ol(ue,fe):fe===null?eA.TRANSPARENT:4294967295;return Ae===ge.documentElement?OA(He)?OA(tt)?ht:tt:He:ht};return jm})},44164:function(on,Ut,we){var Oe=we(97671);(function(ze,at){on.exports=at(we(65355),we(64270))})(self,function(be,ze){return function(){var at={"./src/plugin/hyperlinks.js":function(Be,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.string.link.js"),ie=de.n(Ce),y=de("./src/worker.js"),a=de("./src/utils.js"),ee=[],E={toContainer:y.default.prototype.toContainer,toPdf:y.default.prototype.toPdf};y.default.prototype.toContainer=function(){return E.toContainer.call(this).then(function(){if(this.opt.enableLinks){var oe=this.prop.container,he=oe.querySelectorAll("a"),_e=(0,a.unitConvert)(oe.getBoundingClientRect(),this.prop.pageSize.k);ee=[],Array.prototype.forEach.call(he,function(Pe){for(var Qe=Pe.getClientRects(),Ze=0;Ze<Qe.length;Ze++){var Ve=(0,a.unitConvert)(Qe[Ze],this.prop.pageSize.k);Ve.left-=_e.left,Ve.top-=_e.top;var nt=Math.floor(Ve.top/this.prop.pageSize.inner.height)+1,De=this.opt.margin[0]+Ve.top%this.prop.pageSize.inner.height,Bt=this.opt.margin[1]+Ve.left;ee.push({page:nt,top:De,left:Bt,clientRect:Ve,link:Pe})}},this)}})},y.default.prototype.toPdf=function(){return E.toPdf.call(this).then(function(){if(this.opt.enableLinks){ee.forEach(function(he){this.prop.pdf.setPage(he.page),this.prop.pdf.link(he.left,he.top,he.clientRect.width,he.clientRect.height,{url:he.link.href})},this);var oe=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(oe)}})}},"./src/plugin/jspdf-plugin.js":function(Be,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.symbol.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.symbol.description.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.object.to-string.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.symbol.iterator.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.array.iterator.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.string.iterator.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Pe=de.n(_e),Qe=de("jspdf"),Ze=de.n(Qe);function Ve(nt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ve=function(Bt){return typeof Bt}:Ve=function(Bt){return Bt&&typeof Symbol=="function"&&Bt.constructor===Symbol&&Bt!==Symbol.prototype?"symbol":typeof Bt},Ve(nt)}Qe.jsPDF.getPageSize=function(nt,De,Bt){if(Ve(nt)==="object"){var ke=nt;nt=ke.orientation,De=ke.unit||De,Bt=ke.format||Bt}De=De||"mm",Bt=Bt||"a4",nt=(""+(nt||"P")).toLowerCase();var Ot=(""+Bt).toLowerCase(),it={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(De){case"pt":var rt=1;break;case"mm":var rt=72/25.4;break;case"cm":var rt=72/2.54;break;case"in":var rt=72;break;case"px":var rt=72/96;break;case"pc":var rt=12;break;case"em":var rt=12;break;case"ex":var rt=6;break;default:throw"Invalid unit: "+De}if(it.hasOwnProperty(Ot))var wt=it[Ot][1]/rt,dt=it[Ot][0]/rt;else try{var wt=Bt[1],dt=Bt[0]}catch(ft){throw new Error("Invalid format: "+Bt)}if(nt==="p"||nt==="portrait"){if(nt="p",dt>wt){var pt=dt;dt=wt,wt=pt}}else if(nt==="l"||nt==="landscape"){if(nt="l",wt>dt){var pt=dt;dt=wt,wt=pt}}else throw"Invalid orientation: "+nt;var st={width:dt,height:wt,unit:De,k:rt};return st},Le.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(Be,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.array.concat.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.array.slice.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.array.join.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.object.keys.js"),ne=de.n(te),oe=de("./src/worker.js"),he=de("./src/utils.js"),_e={toContainer:oe.default.prototype.toContainer};oe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},oe.default.prototype.toContainer=function(){return _e.toContainer.call(this).then(function(){var Ze=this.prop.container,Ve=this.prop.pageSize.inner.px.height,nt=[].concat(this.opt.pagebreak.mode),De={avoidAll:nt.indexOf("avoid-all")!==-1,css:nt.indexOf("css")!==-1,legacy:nt.indexOf("legacy")!==-1},Bt={},ke=this;["before","after","avoid"].forEach(function(rt){var wt=De.avoidAll&&rt==="avoid";Bt[rt]=wt?[]:[].concat(ke.opt.pagebreak[rt]||[]),Bt[rt].length>0&&(Bt[rt]=Array.prototype.slice.call(Ze.querySelectorAll(Bt[rt].join(", "))))});var Ot=Ze.querySelectorAll(".html2pdf__page-break");Ot=Array.prototype.slice.call(Ot);var it=Ze.querySelectorAll("*");Array.prototype.forEach.call(it,function(wt){var dt={before:!1,after:De.legacy&&Ot.indexOf(wt)!==-1,avoid:De.avoidAll};if(De.css){var pt=window.getComputedStyle(wt),st=["always","page","left","right"],ft=["avoid","avoid-page"];dt={before:dt.before||st.indexOf(pt.breakBefore||pt.pageBreakBefore)!==-1,after:dt.after||st.indexOf(pt.breakAfter||pt.pageBreakAfter)!==-1,avoid:dt.avoid||ft.indexOf(pt.breakInside||pt.pageBreakInside)!==-1}}Object.keys(dt).forEach(function(Hn){dt[Hn]=dt[Hn]||Bt[Hn].indexOf(wt)!==-1});var rn=wt.getBoundingClientRect();if(dt.avoid&&!dt.before){var fn=Math.floor(rn.top/Ve),Et=Math.floor(rn.bottom/Ve),Jt=Math.abs(rn.bottom-rn.top)/Ve;Et!==fn&&Jt<=1&&(dt.before=!0)}if(dt.before){var Ln=(0,he.createElement)("div",{style:{display:"block",height:Ve-rn.top%Ve+"px"}});wt.parentNode.insertBefore(Ln,wt)}if(dt.after){var Ln=(0,he.createElement)("div",{style:{display:"block",height:Ve-rn.bottom%Ve+"px"}});wt.parentNode.insertBefore(Ln,wt.nextSibling)}})})}},"./src/utils.js":function(Be,Le,de){"use strict";de.r(Le),de.d(Le,{objType:function(){return nt},createElement:function(){return De},cloneNode:function(){return Bt},unitConvert:function(){return ke},toPx:function(){return Ot}});var Ie=de("./node_modules/core-js/modules/es.number.constructor.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.symbol.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.symbol.description.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.object.to-string.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.symbol.iterator.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.array.iterator.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/es.string.iterator.js"),Pe=de.n(_e),Qe=de("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ze=de.n(Qe);function Ve(it){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ve=function(wt){return typeof wt}:Ve=function(wt){return wt&&typeof Symbol=="function"&&wt.constructor===Symbol&&wt!==Symbol.prototype?"symbol":typeof wt},Ve(it)}var nt=function(rt){var wt=Ve(rt);return wt==="undefined"?"undefined":wt==="string"||rt instanceof String?"string":wt==="number"||rt instanceof Number?"number":wt==="function"||rt instanceof Function?"function":rt&&rt.constructor===Array?"array":rt&&rt.nodeType===1?"element":wt==="object"?"object":"unknown"},De=function(rt,wt){var dt=document.createElement(rt);if(wt.className&&(dt.className=wt.className),wt.innerHTML){dt.innerHTML=wt.innerHTML;for(var pt=dt.getElementsByTagName("script"),st=pt.length;st-- >0;null)pt[st].parentNode.removeChild(pt[st])}for(var ft in wt.style)dt.style[ft]=wt.style[ft];return dt},Bt=function it(rt,wt){for(var dt=rt.nodeType===3?document.createTextNode(rt.nodeValue):rt.cloneNode(!1),pt=rt.firstChild;pt;pt=pt.nextSibling)(wt===!0||pt.nodeType!==1||pt.nodeName!=="SCRIPT")&&dt.appendChild(it(pt,wt));return rt.nodeType===1&&(rt.nodeName==="CANVAS"?(dt.width=rt.width,dt.height=rt.height,dt.getContext("2d").drawImage(rt,0,0)):(rt.nodeName==="TEXTAREA"||rt.nodeName==="SELECT")&&(dt.value=rt.value),dt.addEventListener("load",function(){dt.scrollTop=rt.scrollTop,dt.scrollLeft=rt.scrollLeft},!0)),dt},ke=function(rt,wt){if(nt(rt)==="number")return rt*72/96/wt;var dt={};for(var pt in rt)dt[pt]=rt[pt]*72/96/wt;return dt},Ot=function(rt,wt){return Math.floor(rt*wt/72*96)}},"./src/worker.js":function(Be,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.object.assign.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.array.map.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.object.keys.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.array.concat.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.object.to-string.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.regexp.to-string.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/es.function.name.js"),Pe=de.n(_e),Qe=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ze=de.n(Qe),Ve=de("jspdf"),nt=de.n(Ve),De=de("html2canvas"),Bt=de.n(De),ke=de("./src/utils.js"),Ot=de("./node_modules/es6-promise/dist/es6-promise.js"),it=de.n(Ot),rt=it().Promise,wt=function dt(pt){var st=Object.assign(dt.convert(rt.resolve()),JSON.parse(JSON.stringify(dt.template))),ft=dt.convert(rt.resolve(),st);return ft=ft.setProgress(1,dt,1,[dt]),ft=ft.set(pt),ft};wt.prototype=Object.create(rt.prototype),wt.prototype.constructor=wt,wt.convert=function(pt,st){return pt.__proto__=st||wt.prototype,pt},wt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},wt.prototype.from=function(pt,st){function ft(rn){switch((0,ke.objType)(rn)){case"string":return"string";case"element":return rn.nodeName.toLowerCase&&rn.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(st=st||ft(pt),st){case"string":return this.set({src:(0,ke.createElement)("div",{innerHTML:pt})});case"element":return this.set({src:pt});case"canvas":return this.set({canvas:pt});case"img":return this.set({img:pt});default:return this.error("Unknown source type.")}})},wt.prototype.to=function(pt){switch(pt){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.")}},wt.prototype.toContainer=function(){var pt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var ft={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},rn={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};ft.opacity=0;var fn=(0,ke.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,ke.createElement)("div",{className:"html2pdf__overlay",style:ft}),this.prop.container=(0,ke.createElement)("div",{className:"html2pdf__container",style:rn}),this.prop.container.appendChild(fn),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},wt.prototype.toCanvas=function(){var pt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(pt).then(function(){var ft=Object.assign({},this.opt.html2canvas);return delete ft.onrendered,De(this.prop.container,ft)}).then(function(ft){var rn=this.opt.html2canvas.onrendered||function(){};rn(ft),this.prop.canvas=ft,document.body.removeChild(this.prop.overlay)})},wt.prototype.toImg=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(pt).then(function(){var ft=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ft})},wt.prototype.toPdf=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var ft=this.prop.canvas,rn=this.opt,fn=ft.height,Et=Math.floor(ft.width*this.prop.pageSize.inner.ratio),Jt=Math.ceil(fn/Et),Ln=this.prop.pageSize.inner.height,Hn=document.createElement("canvas"),un=Hn.getContext("2d");Hn.width=ft.width,Hn.height=Et,this.prop.pdf=this.prop.pdf||new Ve.jsPDF(rn.jsPDF);for(var Vn=0;Vn<Jt;Vn++){Vn===Jt-1&&fn%Et!==0&&(Hn.height=fn%Et,Ln=Hn.height*this.prop.pageSize.inner.width/Hn.width);var yt=Hn.width,Kn=Hn.height;un.fillStyle="white",un.fillRect(0,0,yt,Kn),un.drawImage(ft,0,Vn*Et,yt,Kn,0,0,yt,Kn),Vn&&this.prop.pdf.addPage();var er=Hn.toDataURL("image/"+rn.image.type,rn.image.quality);this.prop.pdf.addImage(er,rn.image.type,rn.margin[1],rn.margin[0],this.prop.pageSize.inner.width,Ln)}})},wt.prototype.output=function(pt,st,ft){return ft=ft||"pdf",ft.toLowerCase()==="img"||ft.toLowerCase()==="image"?this.outputImg(pt,st):this.outputPdf(pt,st)},wt.prototype.outputPdf=function(pt,st){var ft=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(ft).then(function(){return this.prop.pdf.output(pt,st)})},wt.prototype.outputImg=function(pt,st){var ft=[function(){return this.prop.img||this.toImg()}];return this.thenList(ft).then(function(){switch(pt){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 "'+pt+'" is not supported.'}})},wt.prototype.save=function(pt){var st=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(st).set(pt?{filename:pt}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},wt.prototype.set=function(pt){if((0,ke.objType)(pt)!=="object")return this;var st=Object.keys(pt||{}).map(function(ft){switch(ft){case"margin":return this.setMargin.bind(this,pt.margin);case"jsPDF":return function(){return this.opt.jsPDF=pt.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,pt.pageSize);default:return ft in wt.template.prop?function(){this.prop[ft]=pt[ft]}:function(){this.opt[ft]=pt[ft]}}},this);return this.then(function(){return this.thenList(st)})},wt.prototype.get=function(pt,st){return this.then(function(){var rn=pt in wt.template.prop?this.prop[pt]:this.opt[pt];return st?st(rn):rn})},wt.prototype.setMargin=function(pt){return this.then(function(){switch((0,ke.objType)(pt)){case"number":pt=[pt,pt,pt,pt];case"array":if(pt.length===2&&(pt=[pt[0],pt[1],pt[0],pt[1]]),pt.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=pt}).then(this.setPageSize)},wt.prototype.setPageSize=function(pt){return this.then(function(){pt=pt||Ve.jsPDF.getPageSize(this.opt.jsPDF),pt.hasOwnProperty("inner")||(pt.inner={width:pt.width-this.opt.margin[1]-this.opt.margin[3],height:pt.height-this.opt.margin[0]-this.opt.margin[2]},pt.inner.px={width:(0,ke.toPx)(pt.inner.width,pt.k),height:(0,ke.toPx)(pt.inner.height,pt.k)},pt.inner.ratio=pt.inner.height/pt.inner.width),this.prop.pageSize=pt})},wt.prototype.setProgress=function(pt,st,ft,rn){return pt!=null&&(this.progress.val=pt),st!=null&&(this.progress.state=st),ft!=null&&(this.progress.n=ft),rn!=null&&(this.progress.stack=rn),this.progress.ratio=this.progress.val/this.progress.state,this},wt.prototype.updateProgress=function(pt,st,ft,rn){return this.setProgress(pt?this.progress.val+pt:null,st||null,ft?this.progress.n+ft:null,rn?this.progress.stack.concat(rn):null)},wt.prototype.then=function(pt,st){var ft=this;return this.thenCore(pt,st,function(fn,Et){return ft.updateProgress(null,null,1,[fn]),rt.prototype.then.call(this,function(Ln){return ft.updateProgress(null,fn),Ln}).then(fn,Et).then(function(Ln){return ft.updateProgress(1),Ln})})},wt.prototype.thenCore=function(pt,st,ft){ft=ft||rt.prototype.then;var rn=this;pt&&(pt=pt.bind(rn)),st&&(st=st.bind(rn));var fn=rt.toString().indexOf("[native code]")!==-1&&rt.name==="Promise",Et=fn?rn:wt.convert(Object.assign({},rn),rt.prototype),Jt=ft.call(Et,pt,st);return wt.convert(Jt,rn.__proto__)},wt.prototype.thenExternal=function(pt,st){return rt.prototype.then.call(this,pt,st)},wt.prototype.thenList=function(pt){var st=this;return pt.forEach(function(rn){st=st.thenCore(rn)}),st},wt.prototype.catch=function(dt){dt&&(dt=dt.bind(this));var pt=rt.prototype.catch.call(this,dt);return wt.convert(pt,this)},wt.prototype.catchExternal=function(pt){return rt.prototype.catch.call(this,pt)},wt.prototype.error=function(pt){return this.then(function(){throw new Error(pt)})},wt.prototype.using=wt.prototype.set,wt.prototype.saveAs=wt.prototype.save,wt.prototype.export=wt.prototype.output,wt.prototype.run=wt.prototype.then,Le.default=wt},"./node_modules/core-js/internals/a-function.js":function(Be){Be.exports=function(Le){if(typeof Le!="function")throw TypeError(String(Le)+" is not a function");return Le}},"./node_modules/core-js/internals/a-possible-prototype.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js");Be.exports=function(Fe){if(!Ie(Fe)&&Fe!==null)throw TypeError("Can't set "+String(Fe)+" as a prototype");return Fe}},"./node_modules/core-js/internals/add-to-unscopables.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js"),Fe=de("./node_modules/core-js/internals/object-create.js"),Ce=de("./node_modules/core-js/internals/object-define-property.js"),ie=Ie("unscopables"),y=Array.prototype;y[ie]==null&&Ce.f(y,ie,{configurable:!0,value:Fe(null)}),Be.exports=function(a){y[ie][a]=!0}},"./node_modules/core-js/internals/an-object.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js");Be.exports=function(Fe){if(!Ie(Fe))throw TypeError(String(Fe)+" is not an object");return Fe}},"./node_modules/core-js/internals/array-for-each.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/array-iteration.js").forEach,Fe=de("./node_modules/core-js/internals/array-method-is-strict.js"),Ce=Fe("forEach");Be.exports=Ce?[].forEach:function(y){return Ie(this,y,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/to-length.js"),Ce=de("./node_modules/core-js/internals/to-absolute-index.js"),ie=function(y){return function(a,ee,E){var te=Ie(a),ne=Fe(te.length),oe=Ce(E,ne),he;if(y&&ee!=ee){for(;ne>oe;)if(he=te[oe++],he!=he)return!0}else for(;ne>oe;oe++)if((y||oe in te)&&te[oe]===ee)return y||oe||0;return!y&&-1}};Be.exports={includes:ie(!0),indexOf:ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/function-bind-context.js"),Fe=de("./node_modules/core-js/internals/indexed-object.js"),Ce=de("./node_modules/core-js/internals/to-object.js"),ie=de("./node_modules/core-js/internals/to-length.js"),y=de("./node_modules/core-js/internals/array-species-create.js"),a=[].push,ee=function(E){var te=E==1,ne=E==2,oe=E==3,he=E==4,_e=E==6,Pe=E==7,Qe=E==5||_e;return function(Ze,Ve,nt,De){for(var Bt=Ce(Ze),ke=Fe(Bt),Ot=Ie(Ve,nt,3),it=ie(ke.length),rt=0,wt=De||y,dt=te?wt(Ze,it):ne||Pe?wt(Ze,0):void 0,pt,st;it>rt;rt++)if((Qe||rt in ke)&&(pt=ke[rt],st=Ot(pt,rt,Bt),E))if(te)dt[rt]=st;else if(st)switch(E){case 3:return!0;case 5:return pt;case 6:return rt;case 2:a.call(dt,pt)}else switch(E){case 4:return!1;case 7:a.call(dt,pt)}return _e?-1:oe||he?he:dt}};Be.exports={forEach:ee(0),map:ee(1),filter:ee(2),some:ee(3),every:ee(4),find:ee(5),findIndex:ee(6),filterReject:ee(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/well-known-symbol.js"),Ce=de("./node_modules/core-js/internals/engine-v8-version.js"),ie=Fe("species");Be.exports=function(y){return Ce>=51||!Ie(function(){var a=[],ee=a.constructor={};return ee[ie]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/fails.js");Be.exports=function(Fe,Ce){var ie=[][Fe];return!!ie&&Ie(function(){ie.call(null,Ce||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/is-array.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("species");Be.exports=function(y){var a;return Fe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||Fe(a.prototype))?a=void 0:Ie(a)&&(a=a[ie],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/array-species-constructor.js");Be.exports=function(Fe,Ce){return new(Ie(Fe))(Ce===0?0:Ce)}},"./node_modules/core-js/internals/classof-raw.js":function(Be){var Le={}.toString;Be.exports=function(de){return Le.call(de).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/classof-raw.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag"),y=Fe(function(){return arguments}())=="Arguments",a=function(ee,E){try{return ee[E]}catch(te){}};Be.exports=Ie?Fe:function(ee){var E,te,ne;return ee===void 0?"Undefined":ee===null?"Null":typeof(te=a(E=Object(ee),ie))=="string"?te:y?Fe(E):(ne=Fe(E))=="Object"&&typeof E.callee=="function"?"Arguments":ne}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/own-keys.js"),Ce=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=de("./node_modules/core-js/internals/object-define-property.js");Be.exports=function(y,a){for(var ee=Fe(a),E=ie.f,te=Ce.f,ne=0;ne<ee.length;ne++){var oe=ee[ne];Ie(y,oe)||E(y,oe,te(a,oe))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Be.exports=!Ie(function(){function Fe(){}return Fe.prototype.constructor=null,Object.getPrototypeOf(new Fe)!==Fe.prototype})},"./node_modules/core-js/internals/create-html.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=/"/g;Be.exports=function(ie,y,a,ee){var E=Fe(Ie(ie)),te="<"+y;return a!==""&&(te+=" "+a+'="'+Fe(ee).replace(Ce,""")+'"'),te+">"+E+"</"+y+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Fe=de("./node_modules/core-js/internals/object-create.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js"),ie=de("./node_modules/core-js/internals/set-to-string-tag.js"),y=de("./node_modules/core-js/internals/iterators.js"),a=function(){return this};Be.exports=function(ee,E,te){var ne=E+" Iterator";return ee.prototype=Fe(Ie,{next:Ce(1,te)}),ie(ee,ne,!1,!0),y[ne]=a,ee}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=Ie?function(ie,y,a){return Fe.f(ie,y,Ce(1,a))}:function(ie,y,a){return ie[y]=a,ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Be){Be.exports=function(Le,de){return{enumerable:!(Le&1),configurable:!(Le&2),writable:!(Le&4),value:de}}},"./node_modules/core-js/internals/create-property.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-property-key.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=function(ie,y,a){var ee=Ie(y);ee in ie?Fe.f(ie,ee,Ce(0,a)):ie[ee]=a}},"./node_modules/core-js/internals/define-iterator.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/create-iterator-constructor.js"),Ce=de("./node_modules/core-js/internals/object-get-prototype-of.js"),ie=de("./node_modules/core-js/internals/object-set-prototype-of.js"),y=de("./node_modules/core-js/internals/set-to-string-tag.js"),a=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ee=de("./node_modules/core-js/internals/redefine.js"),E=de("./node_modules/core-js/internals/well-known-symbol.js"),te=de("./node_modules/core-js/internals/is-pure.js"),ne=de("./node_modules/core-js/internals/iterators.js"),oe=de("./node_modules/core-js/internals/iterators-core.js"),he=oe.IteratorPrototype,_e=oe.BUGGY_SAFARI_ITERATORS,Pe=E("iterator"),Qe="keys",Ze="values",Ve="entries",nt=function(){return this};Be.exports=function(De,Bt,ke,Ot,it,rt,wt){Fe(ke,Bt,Ot);var dt=function(un){if(un===it&&fn)return fn;if(!_e&&un in ft)return ft[un];switch(un){case Qe:return function(){return new ke(this,un)};case Ze:return function(){return new ke(this,un)};case Ve:return function(){return new ke(this,un)}}return function(){return new ke(this)}},pt=Bt+" Iterator",st=!1,ft=De.prototype,rn=ft[Pe]||ft["@@iterator"]||it&&ft[it],fn=!_e&&rn||dt(it),Et=Bt=="Array"&&ft.entries||rn,Jt,Ln,Hn;if(Et&&(Jt=Ce(Et.call(new De)),he!==Object.prototype&&Jt.next&&(!te&&Ce(Jt)!==he&&(ie?ie(Jt,he):typeof Jt[Pe]!="function"&&a(Jt,Pe,nt)),y(Jt,pt,!0,!0),te&&(ne[pt]=nt))),it==Ze&&rn&&rn.name!==Ze&&(st=!0,fn=function(){return rn.call(this)}),(!te||wt)&&ft[Pe]!==fn&&a(ft,Pe,fn),ne[Bt]=fn,it)if(Ln={values:dt(Ze),keys:rt?fn:dt(Qe),entries:dt(Ve)},wt)for(Hn in Ln)(_e||st||!(Hn in ft))&&ee(ft,Hn,Ln[Hn]);else Ie({target:Bt,proto:!0,forced:_e||st},Ln);return Ln}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/path.js"),Fe=de("./node_modules/core-js/internals/has.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=de("./node_modules/core-js/internals/object-define-property.js").f;Be.exports=function(y){var a=Ie.Symbol||(Ie.Symbol={});Fe(a,y)||ie(a,y,{value:Ce.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Be.exports=!Ie(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/is-object.js"),Ce=Ie.document,ie=Fe(Ce)&&Fe(Ce.createElement);Be.exports=function(y){return ie?Ce.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Be){Be.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js");Be.exports=Ie("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/engine-user-agent.js"),Ce=Ie.process,ie=Ie.Deno,y=Ce&&Ce.versions||ie&&ie.version,a=y&&y.v8,ee,E;a?(ee=a.split("."),E=ee[0]<4?1:ee[0]+ee[1]):Fe&&(ee=Fe.match(/Edge\/(\d+)/),(!ee||ee[1]>=74)&&(ee=Fe.match(/Chrome\/(\d+)/),ee&&(E=ee[1]))),Be.exports=E&&+E},"./node_modules/core-js/internals/enum-bug-keys.js":function(Be){Be.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ce=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=de("./node_modules/core-js/internals/redefine.js"),y=de("./node_modules/core-js/internals/set-global.js"),a=de("./node_modules/core-js/internals/copy-constructor-properties.js"),ee=de("./node_modules/core-js/internals/is-forced.js");Be.exports=function(E,te){var ne=E.target,oe=E.global,he=E.stat,_e,Pe,Qe,Ze,Ve,nt;if(oe?Pe=Ie:he?Pe=Ie[ne]||y(ne,{}):Pe=(Ie[ne]||{}).prototype,Pe)for(Qe in te){if(Ve=te[Qe],E.noTargetGet?(nt=Fe(Pe,Qe),Ze=nt&&nt.value):Ze=Pe[Qe],_e=ee(oe?Qe:ne+(he?".":"#")+Qe,E.forced),!_e&&Ze!==void 0){if(typeof Ve==typeof Ze)continue;a(Ve,Ze)}(E.sham||Ze&&Ze.sham)&&Ce(Ve,"sham",!0),ie(Pe,Qe,Ve,E)}}},"./node_modules/core-js/internals/fails.js":function(Be){Be.exports=function(Le){try{return!!Le()}catch(de){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/a-function.js");Be.exports=function(Fe,Ce,ie){if(Ie(Fe),Ce===void 0)return Fe;switch(ie){case 0:return function(){return Fe.call(Ce)};case 1:return function(y){return Fe.call(Ce,y)};case 2:return function(y,a){return Fe.call(Ce,y,a)};case 3:return function(y,a,ee){return Fe.call(Ce,y,a,ee)}}return function(){return Fe.apply(Ce,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=function(Ce){return typeof Ce=="function"?Ce:void 0};Be.exports=function(Ce,ie){return arguments.length<2?Fe(Ie[Ce]):Ie[Ce]&&Ie[Ce][ie]}},"./node_modules/core-js/internals/global.js":function(Be){var Le=function(de){return de&&de.Math==Math&&de};Be.exports=Le(typeof globalThis=="object"&&globalThis)||Le(typeof window=="object"&&window)||Le(typeof self=="object"&&self)||Le(typeof we.g=="object"&&we.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-object.js"),Fe={}.hasOwnProperty;Be.exports=Object.hasOwn||function(ie,y){return Fe.call(Ie(ie),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/html.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js");Be.exports=Ie("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/document-create-element.js");Be.exports=!Ie&&!Fe(function(){return Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/classof-raw.js"),Ce="".split;Be.exports=Ie(function(){return!Object("z").propertyIsEnumerable(0)})?function(ie){return Fe(ie)=="String"?Ce.call(ie,""):Object(ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/object-set-prototype-of.js");Be.exports=function(Ce,ie,y){var a,ee;return Fe&&typeof(a=ie.constructor)=="function"&&a!==y&&Ie(ee=a.prototype)&&ee!==y.prototype&&Fe(Ce,ee),Ce}},"./node_modules/core-js/internals/inspect-source.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/shared-store.js"),Fe=Function.toString;typeof Ie.inspectSource!="function"&&(Ie.inspectSource=function(Ce){return Fe.call(Ce)}),Be.exports=Ie.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/native-weak-map.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/is-object.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=de("./node_modules/core-js/internals/has.js"),a=de("./node_modules/core-js/internals/shared-store.js"),ee=de("./node_modules/core-js/internals/shared-key.js"),E=de("./node_modules/core-js/internals/hidden-keys.js"),te="Object already initialized",ne=Fe.WeakMap,oe,he,_e,Pe=function(ke){return _e(ke)?he(ke):oe(ke,{})},Qe=function(ke){return function(Ot){var it;if(!Ce(Ot)||(it=he(Ot)).type!==ke)throw TypeError("Incompatible receiver, "+ke+" required");return it}};if(Ie||a.state){var Ze=a.state||(a.state=new ne),Ve=Ze.get,nt=Ze.has,De=Ze.set;oe=function(ke,Ot){if(nt.call(Ze,ke))throw new TypeError(te);return Ot.facade=ke,De.call(Ze,ke,Ot),Ot},he=function(ke){return Ve.call(Ze,ke)||{}},_e=function(ke){return nt.call(Ze,ke)}}else{var Bt=ee("state");E[Bt]=!0,oe=function(ke,Ot){if(y(ke,Bt))throw new TypeError(te);return Ot.facade=ke,ie(ke,Bt,Ot),Ot},he=function(ke){return y(ke,Bt)?ke[Bt]:{}},_e=function(ke){return y(ke,Bt)}}Be.exports={set:oe,get:he,has:_e,enforce:Pe,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/classof-raw.js");Be.exports=Array.isArray||function(Ce){return Ie(Ce)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=/#|\.prototype\./,Ce=function(E,te){var ne=y[ie(E)];return ne==ee?!0:ne==a?!1:typeof te=="function"?Ie(te):!!te},ie=Ce.normalize=function(E){return String(E).replace(Fe,".").toLowerCase()},y=Ce.data={},a=Ce.NATIVE="N",ee=Ce.POLYFILL="P";Be.exports=Ce},"./node_modules/core-js/internals/is-object.js":function(Be){Be.exports=function(Le){return typeof Le=="object"?Le!==null:typeof Le=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Be){Be.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js"),Fe=de("./node_modules/core-js/internals/use-symbol-as-uid.js");Be.exports=Fe?function(Ce){return typeof Ce=="symbol"}:function(Ce){var ie=Ie("Symbol");return typeof ie=="function"&&Object(Ce)instanceof ie}},"./node_modules/core-js/internals/iterators-core.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/object-get-prototype-of.js"),Ce=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=de("./node_modules/core-js/internals/has.js"),y=de("./node_modules/core-js/internals/well-known-symbol.js"),a=de("./node_modules/core-js/internals/is-pure.js"),ee=y("iterator"),E=!1,te=function(){return this},ne,oe,he;[].keys&&(he=[].keys(),"next"in he?(oe=Fe(Fe(he)),oe!==Object.prototype&&(ne=oe)):E=!0);var _e=ne==null||Ie(function(){var Pe={};return ne[ee].call(Pe)!==Pe});_e&&(ne={}),(!a||_e)&&!ie(ne,ee)&&Ce(ne,ee,te),Be.exports={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:E}},"./node_modules/core-js/internals/iterators.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/engine-v8-version.js"),Fe=de("./node_modules/core-js/internals/fails.js");Be.exports=!!Object.getOwnPropertySymbols&&!Fe(function(){var Ce=Symbol();return!String(Ce)||!(Object(Ce)instanceof Symbol)||!Symbol.sham&&Ie&&Ie<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/inspect-source.js"),Ce=Ie.WeakMap;Be.exports=typeof Ce=="function"&&/native code/.test(Fe(Ce))},"./node_modules/core-js/internals/object-assign.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/object-keys.js"),ie=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=de("./node_modules/core-js/internals/to-object.js"),ee=de("./node_modules/core-js/internals/indexed-object.js"),E=Object.assign,te=Object.defineProperty;Be.exports=!E||Fe(function(){if(Ie&&E({b:1},E(te({},"a",{enumerable:!0,get:function(){te(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ne={},oe={},he=Symbol(),_e="abcdefghijklmnopqrst";return ne[he]=7,_e.split("").forEach(function(Pe){oe[Pe]=Pe}),E({},ne)[he]!=7||Ce(E({},oe)).join("")!=_e})?function(oe,he){for(var _e=a(oe),Pe=arguments.length,Qe=1,Ze=ie.f,Ve=y.f;Pe>Qe;)for(var nt=ee(arguments[Qe++]),De=Ze?Ce(nt).concat(Ze(nt)):Ce(nt),Bt=De.length,ke=0,Ot;Bt>ke;)Ot=De[ke++],(!Ie||Ve.call(nt,Ot))&&(_e[Ot]=nt[Ot]);return _e}:E},"./node_modules/core-js/internals/object-create.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/an-object.js"),Fe=de("./node_modules/core-js/internals/object-define-properties.js"),Ce=de("./node_modules/core-js/internals/enum-bug-keys.js"),ie=de("./node_modules/core-js/internals/hidden-keys.js"),y=de("./node_modules/core-js/internals/html.js"),a=de("./node_modules/core-js/internals/document-create-element.js"),ee=de("./node_modules/core-js/internals/shared-key.js"),E=">",te="<",ne="prototype",oe="script",he=ee("IE_PROTO"),_e=function(){},Pe=function(De){return te+oe+E+De+te+"/"+oe+E},Qe=function(De){De.write(Pe("")),De.close();var Bt=De.parentWindow.Object;return De=null,Bt},Ze=function(){var De=a("iframe"),Bt="java"+oe+":",ke;if(De.style)return De.style.display="none",y.appendChild(De),De.src=String(Bt),ke=De.contentWindow.document,ke.open(),ke.write(Pe("document.F=Object")),ke.close(),ke.F},Ve,nt=function(){try{Ve=new ActiveXObject("htmlfile")}catch(Bt){}nt=document.domain&&Ve?Qe(Ve):Ze()||Qe(Ve);for(var De=Ce.length;De--;)delete nt[ne][Ce[De]];return nt()};ie[he]=!0,Be.exports=Object.create||function(Bt,ke){var Ot;return Bt!==null?(_e[ne]=Ie(Bt),Ot=new _e,_e[ne]=null,Ot[he]=Bt):Ot=nt(),ke===void 0?Ot:Fe(Ot,ke)}},"./node_modules/core-js/internals/object-define-properties.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/an-object.js"),ie=de("./node_modules/core-js/internals/object-keys.js");Be.exports=Ie?Object.defineProperties:function(a,ee){Ce(a);for(var E=ie(ee),te=E.length,ne=0,oe;te>ne;)Fe.f(a,oe=E[ne++],ee[oe]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/ie8-dom-define.js"),Ce=de("./node_modules/core-js/internals/an-object.js"),ie=de("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;Le.f=Ie?y:function(ee,E,te){if(Ce(ee),E=ie(E),Ce(te),Fe)try{return y(ee,E,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported");return"value"in te&&(ee[E]=te.value),ee}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js"),ie=de("./node_modules/core-js/internals/to-indexed-object.js"),y=de("./node_modules/core-js/internals/to-property-key.js"),a=de("./node_modules/core-js/internals/has.js"),ee=de("./node_modules/core-js/internals/ie8-dom-define.js"),E=Object.getOwnPropertyDescriptor;Le.f=Ie?E:function(ne,oe){if(ne=ie(ne),oe=y(oe),ee)try{return E(ne,oe)}catch(he){}if(a(ne,oe))return Ce(!Fe.f.call(ne,oe),ne[oe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ce={}.toString,ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Fe(a)}catch(ee){return ie.slice()}};Be.exports.f=function(ee){return ie&&Ce.call(ee)=="[object Window]"?y(ee):Fe(Ie(ee))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/object-keys-internal.js"),Fe=de("./node_modules/core-js/internals/enum-bug-keys.js"),Ce=Fe.concat("length","prototype");Le.f=Object.getOwnPropertyNames||function(y){return Ie(y,Ce)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Be,Le){Le.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/to-object.js"),Ce=de("./node_modules/core-js/internals/shared-key.js"),ie=de("./node_modules/core-js/internals/correct-prototype-getter.js"),y=Ce("IE_PROTO"),a=Object.prototype;Be.exports=ie?Object.getPrototypeOf:function(ee){return ee=Fe(ee),Ie(ee,y)?ee[y]:typeof ee.constructor=="function"&&ee instanceof ee.constructor?ee.constructor.prototype:ee instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/to-indexed-object.js"),Ce=de("./node_modules/core-js/internals/array-includes.js").indexOf,ie=de("./node_modules/core-js/internals/hidden-keys.js");Be.exports=function(y,a){var ee=Fe(y),E=0,te=[],ne;for(ne in ee)!Ie(ie,ne)&&Ie(ee,ne)&&te.push(ne);for(;a.length>E;)Ie(ee,ne=a[E++])&&(~Ce(te,ne)||te.push(ne));return te}},"./node_modules/core-js/internals/object-keys.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/object-keys-internal.js"),Fe=de("./node_modules/core-js/internals/enum-bug-keys.js");Be.exports=Object.keys||function(ie){return Ie(ie,Fe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Be,Le){"use strict";var de={}.propertyIsEnumerable,Ie=Object.getOwnPropertyDescriptor,Fe=Ie&&!de.call({1:2},1);Le.f=Fe?function(ie){var y=Ie(this,ie);return!!y&&y.enumerable}:de},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/an-object.js"),Fe=de("./node_modules/core-js/internals/a-possible-prototype.js");Be.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ce=!1,ie={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(ie,[]),Ce=ie instanceof Array}catch(a){}return function(ee,E){return Ie(ee),Fe(E),Ce?y.call(ee,E):ee.__proto__=E,ee}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/classof.js");Be.exports=Ie?{}.toString:function(){return"[object "+Fe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js");Be.exports=function(Fe,Ce){var ie,y;if(Ce==="string"&&typeof(ie=Fe.toString)=="function"&&!Ie(y=ie.call(Fe))||typeof(ie=Fe.valueOf)=="function"&&!Ie(y=ie.call(Fe))||Ce!=="string"&&typeof(ie=Fe.toString)=="function"&&!Ie(y=ie.call(Fe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-names.js"),Ce=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=de("./node_modules/core-js/internals/an-object.js");Be.exports=Ie("Reflect","ownKeys")||function(a){var ee=Fe.f(ie(a)),E=Ce.f;return E?ee.concat(E(a)):ee}},"./node_modules/core-js/internals/path.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js");Be.exports=Ie},"./node_modules/core-js/internals/redefine.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ce=de("./node_modules/core-js/internals/has.js"),ie=de("./node_modules/core-js/internals/set-global.js"),y=de("./node_modules/core-js/internals/inspect-source.js"),a=de("./node_modules/core-js/internals/internal-state.js"),ee=a.get,E=a.enforce,te=String(String).split("String");(Be.exports=function(ne,oe,he,_e){var Pe=_e?!!_e.unsafe:!1,Qe=_e?!!_e.enumerable:!1,Ze=_e?!!_e.noTargetGet:!1,Ve;if(typeof he=="function"&&(typeof oe=="string"&&!Ce(he,"name")&&Fe(he,"name",oe),Ve=E(he),Ve.source||(Ve.source=te.join(typeof oe=="string"?oe:""))),ne===Ie){Qe?ne[oe]=he:ie(oe,he);return}else Pe?!Ze&&ne[oe]&&(Qe=!0):delete ne[oe];Qe?ne[oe]=he:Fe(ne,oe,he)})(Function.prototype,"toString",function(){return typeof this=="function"&&ee(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/an-object.js");Be.exports=function(){var Fe=Ie(this),Ce="";return Fe.global&&(Ce+="g"),Fe.ignoreCase&&(Ce+="i"),Fe.multiline&&(Ce+="m"),Fe.dotAll&&(Ce+="s"),Fe.unicode&&(Ce+="u"),Fe.sticky&&(Ce+="y"),Ce}},"./node_modules/core-js/internals/require-object-coercible.js":function(Be){Be.exports=function(Le){if(Le==null)throw TypeError("Can't call method on "+Le);return Le}},"./node_modules/core-js/internals/set-global.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js");Be.exports=function(Fe,Ce){try{Object.defineProperty(Ie,Fe,{value:Ce,configurable:!0,writable:!0})}catch(ie){Ie[Fe]=Ce}return Ce}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/object-define-property.js").f,Fe=de("./node_modules/core-js/internals/has.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag");Be.exports=function(y,a,ee){y&&!Fe(y=ee?y:y.prototype,ie)&&Ie(y,ie,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/shared.js"),Fe=de("./node_modules/core-js/internals/uid.js"),Ce=Ie("keys");Be.exports=function(ie){return Ce[ie]||(Ce[ie]=Fe(ie))}},"./node_modules/core-js/internals/shared-store.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/set-global.js"),Ce="__core-js_shared__",ie=Ie[Ce]||Fe(Ce,{});Be.exports=ie},"./node_modules/core-js/internals/shared.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-pure.js"),Fe=de("./node_modules/core-js/internals/shared-store.js");(Be.exports=function(Ce,ie){return Fe[Ce]||(Fe[Ce]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.16.0",mode:Ie?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Be.exports=function(Fe){return Ie(function(){var Ce=""[Fe]('"');return Ce!==Ce.toLowerCase()||Ce.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/require-object-coercible.js"),ie=function(y){return function(a,ee){var E=Fe(Ce(a)),te=Ie(ee),ne=E.length,oe,he;return te<0||te>=ne?y?"":void 0:(oe=E.charCodeAt(te),oe<55296||oe>56319||te+1===ne||(he=E.charCodeAt(te+1))<56320||he>57343?y?E.charAt(te):oe:y?E.slice(te,te+2):(oe-55296<<10)+(he-56320)+65536)}};Be.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/whitespaces.js"),ie="["+Ce+"]",y=RegExp("^"+ie+ie+"*"),a=RegExp(ie+ie+"*$"),ee=function(E){return function(te){var ne=Fe(Ie(te));return E&1&&(ne=ne.replace(y,"")),E&2&&(ne=ne.replace(a,"")),ne}};Be.exports={start:ee(1),end:ee(2),trim:ee(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=Math.max,Ce=Math.min;Be.exports=function(ie,y){var a=Ie(ie);return a<0?Fe(a+y,0):Ce(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/indexed-object.js"),Fe=de("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(Ce){return Ie(Fe(Ce))}},"./node_modules/core-js/internals/to-integer.js":function(Be){var Le=Math.ceil,de=Math.floor;Be.exports=function(Ie){return isNaN(Ie=+Ie)?0:(Ie>0?de:Le)(Ie)}},"./node_modules/core-js/internals/to-length.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=Math.min;Be.exports=function(Ce){return Ce>0?Fe(Ie(Ce),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(Fe){return Object(Ie(Fe))}},"./node_modules/core-js/internals/to-primitive.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/is-symbol.js"),Ce=de("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=de("./node_modules/core-js/internals/well-known-symbol.js"),y=ie("toPrimitive");Be.exports=function(a,ee){if(!Ie(a)||Fe(a))return a;var E=a[y],te;if(E!==void 0){if(ee===void 0&&(ee="default"),te=E.call(a,ee),!Ie(te)||Fe(te))return te;throw TypeError("Can't convert object to primitive value")}return ee===void 0&&(ee="number"),Ce(a,ee)}},"./node_modules/core-js/internals/to-property-key.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-primitive.js"),Fe=de("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(Ce){var ie=Ie(Ce,"string");return Fe(ie)?ie:String(ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js"),Fe=Ie("toStringTag"),Ce={};Ce[Fe]="z",Be.exports=String(Ce)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(Fe){if(Ie(Fe))throw TypeError("Cannot convert a Symbol value to a string");return String(Fe)}},"./node_modules/core-js/internals/uid.js":function(Be){var Le=0,de=Math.random();Be.exports=function(Ie){return"Symbol("+String(Ie===void 0?"":Ie)+")_"+(++Le+de).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/native-symbol.js");Be.exports=Ie&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js");Le.f=Ie},"./node_modules/core-js/internals/well-known-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/shared.js"),Ce=de("./node_modules/core-js/internals/has.js"),ie=de("./node_modules/core-js/internals/uid.js"),y=de("./node_modules/core-js/internals/native-symbol.js"),a=de("./node_modules/core-js/internals/use-symbol-as-uid.js"),ee=Fe("wks"),E=Ie.Symbol,te=a?E:E&&E.withoutSetter||ie;Be.exports=function(ne){return(!Ce(ee,ne)||!(y||typeof ee[ne]=="string"))&&(y&&Ce(E,ne)?ee[ne]=E[ne]:ee[ne]=te("Symbol."+ne)),ee[ne]}},"./node_modules/core-js/internals/whitespaces.js":function(Be){Be.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/is-array.js"),ie=de("./node_modules/core-js/internals/is-object.js"),y=de("./node_modules/core-js/internals/to-object.js"),a=de("./node_modules/core-js/internals/to-length.js"),ee=de("./node_modules/core-js/internals/create-property.js"),E=de("./node_modules/core-js/internals/array-species-create.js"),te=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=de("./node_modules/core-js/internals/well-known-symbol.js"),oe=de("./node_modules/core-js/internals/engine-v8-version.js"),he=ne("isConcatSpreadable"),_e=9007199254740991,Pe="Maximum allowed index exceeded",Qe=oe>=51||!Fe(function(){var De=[];return De[he]=!1,De.concat()[0]!==De}),Ze=te("concat"),Ve=function(De){if(!ie(De))return!1;var Bt=De[he];return Bt!==void 0?!!Bt:Ce(De)},nt=!Qe||!Ze;Ie({target:"Array",proto:!0,forced:nt},{concat:function(Bt){var ke=y(this),Ot=E(ke,0),it=0,rt,wt,dt,pt,st;for(rt=-1,dt=arguments.length;rt<dt;rt++)if(st=rt===-1?ke:arguments[rt],Ve(st)){if(pt=a(st.length),it+pt>_e)throw TypeError(Pe);for(wt=0;wt<pt;wt++,it++)wt in st&&ee(Ot,it,st[wt])}else{if(it>=_e)throw TypeError(Pe);ee(Ot,it++,st)}return Ot.length=it,Ot}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/add-to-unscopables.js"),Ce=de("./node_modules/core-js/internals/iterators.js"),ie=de("./node_modules/core-js/internals/internal-state.js"),y=de("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",ee=ie.set,E=ie.getterFor(a);Be.exports=y(Array,"Array",function(te,ne){ee(this,{type:a,target:Ie(te),index:0,kind:ne})},function(){var te=E(this),ne=te.target,oe=te.kind,he=te.index++;return!ne||he>=ne.length?(te.target=void 0,{value:void 0,done:!0}):oe=="keys"?{value:he,done:!1}:oe=="values"?{value:ne[he],done:!1}:{value:[he,ne[he]],done:!1}},"values"),Ce.Arguments=Ce.Array,Fe("keys"),Fe("values"),Fe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/indexed-object.js"),Ce=de("./node_modules/core-js/internals/to-indexed-object.js"),ie=de("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=Fe!=Object,ee=ie("join",",");Ie({target:"Array",proto:!0,forced:a||!ee},{join:function(te){return y.call(Ce(this),te===void 0?",":te)}})},"./node_modules/core-js/modules/es.array.map.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/array-iteration.js").map,Ce=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=Ce("map");Ie({target:"Array",proto:!0,forced:!ie},{map:function(a){return Fe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/is-object.js"),Ce=de("./node_modules/core-js/internals/is-array.js"),ie=de("./node_modules/core-js/internals/to-absolute-index.js"),y=de("./node_modules/core-js/internals/to-length.js"),a=de("./node_modules/core-js/internals/to-indexed-object.js"),ee=de("./node_modules/core-js/internals/create-property.js"),E=de("./node_modules/core-js/internals/well-known-symbol.js"),te=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=te("slice"),oe=E("species"),he=[].slice,_e=Math.max;Ie({target:"Array",proto:!0,forced:!ne},{slice:function(Qe,Ze){var Ve=a(this),nt=y(Ve.length),De=ie(Qe,nt),Bt=ie(Ze===void 0?nt:Ze,nt),ke,Ot,it;if(Ce(Ve)&&(ke=Ve.constructor,typeof ke=="function"&&(ke===Array||Ce(ke.prototype))?ke=void 0:Fe(ke)&&(ke=ke[oe],ke===null&&(ke=void 0)),ke===Array||ke===void 0))return he.call(Ve,De,Bt);for(Ot=new(ke===void 0?Array:ke)(_e(Bt-De,0)),it=0;De<Bt;De++,it++)De in Ve&&ee(Ot,it,Ve[De]);return Ot.length=it,Ot}})},"./node_modules/core-js/modules/es.function.name.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js").f,Ce=Function.prototype,ie=Ce.toString,y=/^\s*function ([^ (]*)/,a="name";Ie&&!(a in Ce)&&Fe(Ce,a,{configurable:!0,get:function(){try{return ie.call(this).match(y)[1]}catch(ee){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/is-forced.js"),ie=de("./node_modules/core-js/internals/redefine.js"),y=de("./node_modules/core-js/internals/has.js"),a=de("./node_modules/core-js/internals/classof-raw.js"),ee=de("./node_modules/core-js/internals/inherit-if-required.js"),E=de("./node_modules/core-js/internals/is-symbol.js"),te=de("./node_modules/core-js/internals/to-primitive.js"),ne=de("./node_modules/core-js/internals/fails.js"),oe=de("./node_modules/core-js/internals/object-create.js"),he=de("./node_modules/core-js/internals/object-get-own-property-names.js").f,_e=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Pe=de("./node_modules/core-js/internals/object-define-property.js").f,Qe=de("./node_modules/core-js/internals/string-trim.js").trim,Ze="Number",Ve=Fe[Ze],nt=Ve.prototype,De=a(oe(nt))==Ze,Bt=function(wt){if(E(wt))throw TypeError("Cannot convert a Symbol value to a number");var dt=te(wt,"number"),pt,st,ft,rn,fn,Et,Jt,Ln;if(typeof dt=="string"&&dt.length>2){if(dt=Qe(dt),pt=dt.charCodeAt(0),pt===43||pt===45){if(st=dt.charCodeAt(2),st===88||st===120)return NaN}else if(pt===48){switch(dt.charCodeAt(1)){case 66:case 98:ft=2,rn=49;break;case 79:case 111:ft=8,rn=55;break;default:return+dt}for(fn=dt.slice(2),Et=fn.length,Jt=0;Jt<Et;Jt++)if(Ln=fn.charCodeAt(Jt),Ln<48||Ln>rn)return NaN;return parseInt(fn,ft)}}return+dt};if(Ce(Ze,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var ke=function(dt){var pt=arguments.length<1?0:dt,st=this;return st instanceof ke&&(De?ne(function(){nt.valueOf.call(st)}):a(st)!=Ze)?ee(new Ve(Bt(pt)),st,ke):Bt(pt)},Ot=Ie?he(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),it=0,rt;Ot.length>it;it++)y(Ve,rt=Ot[it])&&!y(ke,rt)&&Pe(ke,rt,_e(Ve,rt));ke.prototype=nt,nt.constructor=ke,ie(Fe,Ze,ke)}},"./node_modules/core-js/modules/es.object.assign.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/object-assign.js");Ie({target:"Object",stat:!0,forced:Object.assign!==Fe},{assign:Fe})},"./node_modules/core-js/modules/es.object.keys.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/to-object.js"),Ce=de("./node_modules/core-js/internals/object-keys.js"),ie=de("./node_modules/core-js/internals/fails.js"),y=ie(function(){Ce(1)});Ie({target:"Object",stat:!0,forced:y},{keys:function(ee){return Ce(Fe(ee))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/redefine.js"),Ce=de("./node_modules/core-js/internals/object-to-string.js");Ie||Fe(Object.prototype,"toString",Ce,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/redefine.js"),Fe=de("./node_modules/core-js/internals/an-object.js"),Ce=de("./node_modules/core-js/internals/to-string.js"),ie=de("./node_modules/core-js/internals/fails.js"),y=de("./node_modules/core-js/internals/regexp-flags.js"),a="toString",ee=RegExp.prototype,E=ee[a],te=ie(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),ne=E.name!=a;(te||ne)&&Ie(RegExp.prototype,a,function(){var he=Fe(this),_e=Ce(he.source),Pe=he.flags,Qe=Ce(Pe===void 0&&he instanceof RegExp&&!("flags"in ee)?y.call(he):Pe);return"/"+_e+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/string-multibyte.js").charAt,Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/internal-state.js"),ie=de("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=Ce.set,ee=Ce.getterFor(y);ie(String,"String",function(E){a(this,{type:y,string:Fe(E),index:0})},function(){var te=ee(this),ne=te.string,oe=te.index,he;return oe>=ne.length?{value:void 0,done:!0}:(he=Ie(ne,oe),te.index+=he.length,{value:he,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/create-html.js"),Ce=de("./node_modules/core-js/internals/string-html-forced.js");Ie({target:"String",proto:!0,forced:Ce("link")},{link:function(y){return Fe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/descriptors.js"),Ce=de("./node_modules/core-js/internals/global.js"),ie=de("./node_modules/core-js/internals/has.js"),y=de("./node_modules/core-js/internals/is-object.js"),a=de("./node_modules/core-js/internals/object-define-property.js").f,ee=de("./node_modules/core-js/internals/copy-constructor-properties.js"),E=Ce.Symbol;if(Fe&&typeof E=="function"&&(!("description"in E.prototype)||E().description!==void 0)){var te={},ne=function(){var Ze=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ve=this instanceof ne?new E(Ze):Ze===void 0?E():E(Ze);return Ze===""&&(te[Ve]=!0),Ve};ee(ne,E);var oe=ne.prototype=E.prototype;oe.constructor=ne;var he=oe.toString,_e=String(E("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(oe,"description",{configurable:!0,get:function(){var Ze=y(this)?this.valueOf():this,Ve=he.call(Ze);if(ie(te,Ze))return"";var nt=_e?Ve.slice(7,-1):Ve.replace(Pe,"$1");return nt===""?void 0:nt}}),Ie({global:!0,forced:!0},{Symbol:ne})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/define-well-known-symbol.js");Ie("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/get-built-in.js"),ie=de("./node_modules/core-js/internals/is-pure.js"),y=de("./node_modules/core-js/internals/descriptors.js"),a=de("./node_modules/core-js/internals/native-symbol.js"),ee=de("./node_modules/core-js/internals/fails.js"),E=de("./node_modules/core-js/internals/has.js"),te=de("./node_modules/core-js/internals/is-array.js"),ne=de("./node_modules/core-js/internals/is-object.js"),oe=de("./node_modules/core-js/internals/is-symbol.js"),he=de("./node_modules/core-js/internals/an-object.js"),_e=de("./node_modules/core-js/internals/to-object.js"),Pe=de("./node_modules/core-js/internals/to-indexed-object.js"),Qe=de("./node_modules/core-js/internals/to-property-key.js"),Ze=de("./node_modules/core-js/internals/to-string.js"),Ve=de("./node_modules/core-js/internals/create-property-descriptor.js"),nt=de("./node_modules/core-js/internals/object-create.js"),De=de("./node_modules/core-js/internals/object-keys.js"),Bt=de("./node_modules/core-js/internals/object-get-own-property-names.js"),ke=de("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Ot=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),it=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),rt=de("./node_modules/core-js/internals/object-define-property.js"),wt=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),dt=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),pt=de("./node_modules/core-js/internals/redefine.js"),st=de("./node_modules/core-js/internals/shared.js"),ft=de("./node_modules/core-js/internals/shared-key.js"),rn=de("./node_modules/core-js/internals/hidden-keys.js"),fn=de("./node_modules/core-js/internals/uid.js"),Et=de("./node_modules/core-js/internals/well-known-symbol.js"),Jt=de("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ln=de("./node_modules/core-js/internals/define-well-known-symbol.js"),Hn=de("./node_modules/core-js/internals/set-to-string-tag.js"),un=de("./node_modules/core-js/internals/internal-state.js"),Vn=de("./node_modules/core-js/internals/array-iteration.js").forEach,yt=ft("hidden"),Kn="Symbol",er="prototype",Re=Et("toPrimitive"),Kt=un.set,Te=un.getterFor(Kn),pe=Object[er],ce=Fe.Symbol,ye=Ce("JSON","stringify"),qe=it.f,gt=rt.f,Me=ke.f,Xe=wt.f,Pt=st("symbols"),ct=st("op-symbols"),ot=st("string-to-symbol-registry"),kt=st("symbol-to-string-registry"),_n=st("wks"),_t=Fe.QObject,nn=!_t||!_t[er]||!_t[er].findChild,Nt=y&&ee(function(){return nt(gt({},"a",{get:function(){return gt(this,"a",{value:7}).a}})).a!=7})?function(Hr,br,Tr){var ta=qe(pe,br);ta&&delete pe[br],gt(Hr,br,Tr),ta&&Hr!==pe&>(pe,br,ta)}:gt,yn=function(Hr,br){var Tr=Pt[Hr]=nt(ce[er]);return Kt(Tr,{type:Kn,tag:Hr,description:br}),y||(Tr.description=br),Tr},Xt=function(br,Tr,ta){br===pe&&Xt(ct,Tr,ta),he(br);var _a=Qe(Tr);return he(ta),E(Pt,_a)?(ta.enumerable?(E(br,yt)&&br[yt][_a]&&(br[yt][_a]=!1),ta=nt(ta,{enumerable:Ve(0,!1)})):(E(br,yt)||gt(br,yt,Ve(1,{})),br[yt][_a]=!0),Nt(br,_a,ta)):gt(br,_a,ta)},Jn=function(br,Tr){he(br);var ta=Pe(Tr),_a=De(ta).concat(la(ta));return Vn(_a,function(fo){(!y||tr.call(ta,fo))&&Xt(br,fo,ta[fo])}),br},hr=function(br,Tr){return Tr===void 0?nt(br):Jn(nt(br),Tr)},tr=function(br){var Tr=Qe(br),ta=Xe.call(this,Tr);return this===pe&&E(Pt,Tr)&&!E(ct,Tr)?!1:ta||!E(this,Tr)||!E(Pt,Tr)||E(this,yt)&&this[yt][Tr]?ta:!0},Dr=function(br,Tr){var ta=Pe(br),_a=Qe(Tr);if(!(ta===pe&&E(Pt,_a)&&!E(ct,_a))){var fo=qe(ta,_a);return fo&&E(Pt,_a)&&!(E(ta,yt)&&ta[yt][_a])&&(fo.enumerable=!0),fo}},Or=function(br){var Tr=Me(Pe(br)),ta=[];return Vn(Tr,function(_a){!E(Pt,_a)&&!E(rn,_a)&&ta.push(_a)}),ta},la=function(br){var Tr=br===pe,ta=Me(Tr?ct:Pe(br)),_a=[];return Vn(ta,function(fo){E(Pt,fo)&&(!Tr||E(pe,fo))&&_a.push(Pt[fo])}),_a};if(a||(ce=function(){if(this instanceof ce)throw TypeError("Symbol is not a constructor");var br=!arguments.length||arguments[0]===void 0?void 0:Ze(arguments[0]),Tr=fn(br),ta=function(_a){this===pe&&ta.call(ct,_a),E(this,yt)&&E(this[yt],Tr)&&(this[yt][Tr]=!1),Nt(this,Tr,Ve(1,_a))};return y&&nn&&Nt(pe,Tr,{configurable:!0,set:ta}),yn(Tr,br)},pt(ce[er],"toString",function(){return Te(this).tag}),pt(ce,"withoutSetter",function(Hr){return yn(fn(Hr),Hr)}),wt.f=tr,rt.f=Xt,it.f=Dr,Bt.f=ke.f=Or,Ot.f=la,Jt.f=function(Hr){return yn(Et(Hr),Hr)},y&&(gt(ce[er],"description",{configurable:!0,get:function(){return Te(this).description}}),ie||pt(pe,"propertyIsEnumerable",tr,{unsafe:!0}))),Ie({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:ce}),Vn(De(_n),function(Hr){Ln(Hr)}),Ie({target:Kn,stat:!0,forced:!a},{for:function(Hr){var br=Ze(Hr);if(E(ot,br))return ot[br];var Tr=ce(br);return ot[br]=Tr,kt[Tr]=br,Tr},keyFor:function(br){if(!oe(br))throw TypeError(br+" is not a symbol");if(E(kt,br))return kt[br]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),Ie({target:"Object",stat:!0,forced:!a,sham:!y},{create:hr,defineProperty:Xt,defineProperties:Jn,getOwnPropertyDescriptor:Dr}),Ie({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Or,getOwnPropertySymbols:la}),Ie({target:"Object",stat:!0,forced:ee(function(){Ot.f(1)})},{getOwnPropertySymbols:function(br){return Ot.f(_e(br))}}),ye){var sa=!a||ee(function(){var Hr=ce();return ye([Hr])!="[null]"||ye({a:Hr})!="{}"||ye(Object(Hr))!="{}"});Ie({target:"JSON",stat:!0,forced:sa},{stringify:function(br,Tr,ta){for(var _a=[br],fo=1,ea;arguments.length>fo;)_a.push(arguments[fo++]);if(ea=Tr,!(!ne(Tr)&&br===void 0||oe(br)))return te(Tr)||(Tr=function(pi,_i){if(typeof ea=="function"&&(_i=ea.call(this,pi,_i)),!oe(_i))return _i}),_a[1]=Tr,ye.apply(null,_a)}})}ce[er][Re]||dt(ce[er],Re,ce[er].valueOf),Hn(ce,Kn),rn[yt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/dom-iterables.js"),Ce=de("./node_modules/core-js/internals/array-for-each.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in Fe){var a=Ie[y],ee=a&&a.prototype;if(ee&&ee.forEach!==Ce)try{ie(ee,"forEach",Ce)}catch(E){ee.forEach=Ce}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/dom-iterables.js"),Ce=de("./node_modules/core-js/modules/es.array.iterator.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=de("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),ee=y("toStringTag"),E=Ce.values;for(var te in Fe){var ne=Ie[te],oe=ne&&ne.prototype;if(oe){if(oe[a]!==E)try{ie(oe,a,E)}catch(_e){oe[a]=E}if(oe[ee]||ie(oe,ee,te),Fe[te]){for(var he in Ce)if(oe[he]!==Ce[he])try{ie(oe,he,Ce[he])}catch(_e){oe[he]=Ce[he]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Be){(function(Le,de){Be.exports=de()})(this,function(){"use strict";function Le(_t){var nn=typeof _t;return _t!==null&&(nn==="object"||nn==="function")}function de(_t){return typeof _t=="function"}var Ie=void 0;Array.isArray?Ie=Array.isArray:Ie=function(_t){return Object.prototype.toString.call(_t)==="[object Array]"};var Fe=Ie,Ce=0,ie=void 0,y=void 0,a=function(nn,Nt){De[Ce]=nn,De[Ce+1]=Nt,Ce+=2,Ce===2&&(y?y(Bt):Ot())};function ee(_t){y=_t}function E(_t){a=_t}var te=typeof window!="undefined"?window:void 0,ne=te||{},oe=ne.MutationObserver||ne.WebKitMutationObserver,he=typeof self=="undefined"&&typeof Oe!="undefined"&&{}.toString.call(Oe)==="[object process]",_e=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return Oe.nextTick(Bt)}}function Qe(){return typeof ie!="undefined"?function(){ie(Bt)}:nt()}function Ze(){var _t=0,nn=new oe(Bt),Nt=document.createTextNode("");return nn.observe(Nt,{characterData:!0}),function(){Nt.data=_t=++_t%2}}function Ve(){var _t=new MessageChannel;return _t.port1.onmessage=Bt,function(){return _t.port2.postMessage(0)}}function nt(){var _t=setTimeout;return function(){return _t(Bt,1)}}var De=new Array(1e3);function Bt(){for(var _t=0;_t<Ce;_t+=2){var nn=De[_t],Nt=De[_t+1];nn(Nt),De[_t]=void 0,De[_t+1]=void 0}Ce=0}function ke(){try{var _t=Function("return this")().require("vertx");return ie=_t.runOnLoop||_t.runOnContext,Qe()}catch(nn){return nt()}}var Ot=void 0;he?Ot=Pe():oe?Ot=Ze():_e?Ot=Ve():te===void 0?Ot=ke():Ot=nt();function it(_t,nn){var Nt=this,yn=new this.constructor(dt);yn[wt]===void 0&&ye(yn);var Xt=Nt._state;if(Xt){var Jn=arguments[Xt-1];a(function(){return Kt(Xt,yn,Jn,Nt._result)})}else er(Nt,yn,_t,nn);return yn}function rt(_t){var nn=this;if(_t&&typeof _t=="object"&&_t.constructor===nn)return _t;var Nt=new nn(dt);return un(Nt,_t),Nt}var wt=Math.random().toString(36).substring(2);function dt(){}var pt=void 0,st=1,ft=2;function rn(){return new TypeError("You cannot resolve a promise with itself")}function fn(){return new TypeError("A promises callback cannot return that same promise.")}function Et(_t,nn,Nt,yn){try{_t.call(nn,Nt,yn)}catch(Xt){return Xt}}function Jt(_t,nn,Nt){a(function(yn){var Xt=!1,Jn=Et(Nt,nn,function(hr){Xt||(Xt=!0,nn!==hr?un(yn,hr):yt(yn,hr))},function(hr){Xt||(Xt=!0,Kn(yn,hr))},"Settle: "+(yn._label||" unknown promise"));!Xt&&Jn&&(Xt=!0,Kn(yn,Jn))},_t)}function Ln(_t,nn){nn._state===st?yt(_t,nn._result):nn._state===ft?Kn(_t,nn._result):er(nn,void 0,function(Nt){return un(_t,Nt)},function(Nt){return Kn(_t,Nt)})}function Hn(_t,nn,Nt){nn.constructor===_t.constructor&&Nt===it&&nn.constructor.resolve===rt?Ln(_t,nn):Nt===void 0?yt(_t,nn):de(Nt)?Jt(_t,nn,Nt):yt(_t,nn)}function un(_t,nn){if(_t===nn)Kn(_t,rn());else if(Le(nn)){var Nt=void 0;try{Nt=nn.then}catch(yn){Kn(_t,yn);return}Hn(_t,nn,Nt)}else yt(_t,nn)}function Vn(_t){_t._onerror&&_t._onerror(_t._result),Re(_t)}function yt(_t,nn){_t._state===pt&&(_t._result=nn,_t._state=st,_t._subscribers.length!==0&&a(Re,_t))}function Kn(_t,nn){_t._state===pt&&(_t._state=ft,_t._result=nn,a(Vn,_t))}function er(_t,nn,Nt,yn){var Xt=_t._subscribers,Jn=Xt.length;_t._onerror=null,Xt[Jn]=nn,Xt[Jn+st]=Nt,Xt[Jn+ft]=yn,Jn===0&&_t._state&&a(Re,_t)}function Re(_t){var nn=_t._subscribers,Nt=_t._state;if(nn.length!==0){for(var yn=void 0,Xt=void 0,Jn=_t._result,hr=0;hr<nn.length;hr+=3)yn=nn[hr],Xt=nn[hr+Nt],yn?Kt(Nt,yn,Xt,Jn):Xt(Jn);_t._subscribers.length=0}}function Kt(_t,nn,Nt,yn){var Xt=de(Nt),Jn=void 0,hr=void 0,tr=!0;if(Xt){try{Jn=Nt(yn)}catch(Dr){tr=!1,hr=Dr}if(nn===Jn){Kn(nn,fn());return}}else Jn=yn;nn._state!==pt||(Xt&&tr?un(nn,Jn):tr===!1?Kn(nn,hr):_t===st?yt(nn,Jn):_t===ft&&Kn(nn,Jn))}function Te(_t,nn){try{nn(function(yn){un(_t,yn)},function(yn){Kn(_t,yn)})}catch(Nt){Kn(_t,Nt)}}var pe=0;function ce(){return pe++}function ye(_t){_t[wt]=pe++,_t._state=void 0,_t._result=void 0,_t._subscribers=[]}function qe(){return new Error("Array Methods must be provided an Array")}var gt=function(){function _t(nn,Nt){this._instanceConstructor=nn,this.promise=new nn(dt),this.promise[wt]||ye(this.promise),Fe(Nt)?(this.length=Nt.length,this._remaining=Nt.length,this._result=new Array(this.length),this.length===0?yt(this.promise,this._result):(this.length=this.length||0,this._enumerate(Nt),this._remaining===0&&yt(this.promise,this._result))):Kn(this.promise,qe())}return _t.prototype._enumerate=function(Nt){for(var yn=0;this._state===pt&&yn<Nt.length;yn++)this._eachEntry(Nt[yn],yn)},_t.prototype._eachEntry=function(Nt,yn){var Xt=this._instanceConstructor,Jn=Xt.resolve;if(Jn===rt){var hr=void 0,tr=void 0,Dr=!1;try{hr=Nt.then}catch(la){Dr=!0,tr=la}if(hr===it&&Nt._state!==pt)this._settledAt(Nt._state,yn,Nt._result);else if(typeof hr!="function")this._remaining--,this._result[yn]=Nt;else if(Xt===kt){var Or=new Xt(dt);Dr?Kn(Or,tr):Hn(Or,Nt,hr),this._willSettleAt(Or,yn)}else this._willSettleAt(new Xt(function(la){return la(Nt)}),yn)}else this._willSettleAt(Jn(Nt),yn)},_t.prototype._settledAt=function(Nt,yn,Xt){var Jn=this.promise;Jn._state===pt&&(this._remaining--,Nt===ft?Kn(Jn,Xt):this._result[yn]=Xt),this._remaining===0&&yt(Jn,this._result)},_t.prototype._willSettleAt=function(Nt,yn){var Xt=this;er(Nt,void 0,function(Jn){return Xt._settledAt(st,yn,Jn)},function(Jn){return Xt._settledAt(ft,yn,Jn)})},_t}();function Me(_t){return new gt(this,_t).promise}function Xe(_t){var nn=this;return Fe(_t)?new nn(function(Nt,yn){for(var Xt=_t.length,Jn=0;Jn<Xt;Jn++)nn.resolve(_t[Jn]).then(Nt,yn)}):new nn(function(Nt,yn){return yn(new TypeError("You must pass an array to race."))})}function Pt(_t){var nn=this,Nt=new nn(dt);return Kn(Nt,_t),Nt}function ct(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ot(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var kt=function(){function _t(nn){this[wt]=ce(),this._result=this._state=void 0,this._subscribers=[],dt!==nn&&(typeof nn!="function"&&ct(),this instanceof _t?Te(this,nn):ot())}return _t.prototype.catch=function(Nt){return this.then(null,Nt)},_t.prototype.finally=function(Nt){var yn=this,Xt=yn.constructor;return de(Nt)?yn.then(function(Jn){return Xt.resolve(Nt()).then(function(){return Jn})},function(Jn){return Xt.resolve(Nt()).then(function(){throw Jn})}):yn.then(Nt,Nt)},_t}();kt.prototype.then=it,kt.all=Me,kt.race=Xe,kt.resolve=rt,kt.reject=Pt,kt._setScheduler=ee,kt._setAsap=E,kt._asap=a;function _n(){var _t=void 0;if(typeof we.g!="undefined")_t=we.g;else if(typeof self!="undefined")_t=self;else try{_t=Function("return this")()}catch(yn){throw new Error("polyfill failed because global object is unavailable in this environment")}var nn=_t.Promise;if(nn){var Nt=null;try{Nt=Object.prototype.toString.call(nn.resolve())}catch(yn){}if(Nt==="[object Promise]"&&!nn.cast)return}_t.Promise=kt}return kt.polyfill=_n,kt.Promise=kt,kt})},html2canvas:function(Be){"use strict";Be.exports=ze},jspdf:function(Be){"use strict";Be.exports=be}},Ge={};function je(Be){var Le=Ge[Be];if(Le!==void 0)return Le.exports;var de=Ge[Be]={exports:{}};return at[Be].call(de.exports,de,de.exports,je),de.exports}(function(){je.n=function(Be){var Le=Be&&Be.__esModule?function(){return Be.default}:function(){return Be};return je.d(Le,{a:Le}),Le}})(),function(){je.d=function(Be,Le){for(var de in Le)je.o(Le,de)&&!je.o(Be,de)&&Object.defineProperty(Be,de,{enumerable:!0,get:Le[de]})}}(),function(){je.o=function(Be,Le){return Object.prototype.hasOwnProperty.call(Be,Le)}}(),function(){je.r=function(Be){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Be,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Be,"__esModule",{value:!0})}}();var me={};return function(){"use strict";je.r(me);var Be=je("./src/worker.js"),Le=je("./src/plugin/jspdf-plugin.js"),de=je("./src/plugin/pagebreaks.js"),Ie=je("./src/plugin/hyperlinks.js"),Fe=function Ce(ie,y){var a=new Ce.Worker(y);return ie?a.from(ie).save():a};Fe.Worker=Be.default,me.default=Fe}(),me=me.default,me}()})},67467:function(on,Ut){Ut.read=function(we,Oe,be,ze,at){var Ge,je,me=at*8-ze-1,Be=(1<<me)-1,Le=Be>>1,de=-7,Ie=be?at-1:0,Fe=be?-1:1,Ce=we[Oe+Ie];for(Ie+=Fe,Ge=Ce&(1<<-de)-1,Ce>>=-de,de+=me;de>0;Ge=Ge*256+we[Oe+Ie],Ie+=Fe,de-=8);for(je=Ge&(1<<-de)-1,Ge>>=-de,de+=ze;de>0;je=je*256+we[Oe+Ie],Ie+=Fe,de-=8);if(Ge===0)Ge=1-Le;else{if(Ge===Be)return je?NaN:(Ce?-1:1)*(1/0);je=je+Math.pow(2,ze),Ge=Ge-Le}return(Ce?-1:1)*je*Math.pow(2,Ge-ze)},Ut.write=function(we,Oe,be,ze,at,Ge){var je,me,Be,Le=Ge*8-at-1,de=(1<<Le)-1,Ie=de>>1,Fe=at===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ce=ze?0:Ge-1,ie=ze?1:-1,y=Oe<0||Oe===0&&1/Oe<0?1:0;for(Oe=Math.abs(Oe),isNaN(Oe)||Oe===1/0?(me=isNaN(Oe)?1:0,je=de):(je=Math.floor(Math.log(Oe)/Math.LN2),Oe*(Be=Math.pow(2,-je))<1&&(je--,Be*=2),je+Ie>=1?Oe+=Fe/Be:Oe+=Fe*Math.pow(2,1-Ie),Oe*Be>=2&&(je++,Be/=2),je+Ie>=de?(me=0,je=de):je+Ie>=1?(me=(Oe*Be-1)*Math.pow(2,at),je=je+Ie):(me=Oe*Math.pow(2,Ie-1)*Math.pow(2,at),je=0));at>=8;we[be+Ce]=me&255,Ce+=ie,me/=256,at-=8);for(je=je<<at|me,Le+=at;Le>0;we[be+Ce]=je&255,Ce+=ie,je/=256,Le-=8);we[be+Ce-ie]|=y*128}},65355:function(on,Ut,we){"use strict";we.r(Ut),we.d(Ut,{AcroForm:function(){return ru},AcroFormAppearance:function(){return aa},AcroFormButton:function(){return ho},AcroFormCheckBox:function(){return mi},AcroFormChoiceField:function(){return ia},AcroFormComboBox:function(){return Ra},AcroFormEditBox:function(){return Qa},AcroFormListBox:function(){return xo},AcroFormPasswordField:function(){return mo},AcroFormPushButton:function(){return Mo},AcroFormRadioButton:function(){return Ao},AcroFormTextField:function(){return Vo},GState:function(){return Zg},ShadingPattern:function(){return Yc},TilingPattern:function(){return Jc},default:function(){return Wa},jsPDF:function(){return Wa}});var Oe=we(76190),be={},ze=function(b,z,x,re,ae){var se=new Worker(be[z]||(be[z]=URL.createObjectURL(new Blob([b+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return se.onmessage=function(Ee){var Se=Ee.data,xe=Se.$e$;if(xe){var Ne=new Error(xe[0]);Ne.code=xe[1],Ne.stack=xe[2],ae(Ne,null)}else ae(null,Se)},se.postMessage(x,re),se},at=Uint8Array,Ge=Uint16Array,je=Int32Array,me=new at([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Be=new at([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Le=new at([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),de=function(b,z){for(var x=new Ge(31),re=0;re<31;++re)x[re]=z+=1<<b[re-1];for(var ae=new je(x[30]),re=1;re<30;++re)for(var se=x[re];se<x[re+1];++se)ae[se]=se-x[re]<<5|re;return{b:x,r:ae}},Ie=de(me,2),Fe=Ie.b,Ce=Ie.r;Fe[28]=258,Ce[258]=28;for(var ie=de(Be,0),y=ie.b,a=ie.r,ee=new Ge(32768),E=0;E<32768;++E){var te=(E&43690)>>1|(E&21845)<<1;te=(te&52428)>>2|(te&13107)<<2,te=(te&61680)>>4|(te&3855)<<4,ee[E]=((te&65280)>>8|(te&255)<<8)>>1}for(var ne=function(b,z,x){for(var re=b.length,ae=0,se=new Ge(z);ae<re;++ae)b[ae]&&++se[b[ae]-1];var Ee=new Ge(z);for(ae=1;ae<z;++ae)Ee[ae]=Ee[ae-1]+se[ae-1]<<1;var Se;if(x){Se=new Ge(1<<z);var xe=15-z;for(ae=0;ae<re;++ae)if(b[ae])for(var Ne=ae<<4|b[ae],We=z-b[ae],At=Ee[b[ae]-1]++<<We,mt=At|(1<<We)-1;At<=mt;++At)Se[ee[At]>>xe]=Ne}else for(Se=new Ge(re),ae=0;ae<re;++ae)b[ae]&&(Se[ae]=ee[Ee[b[ae]-1]++]>>15-b[ae]);return Se},oe=new at(288),E=0;E<144;++E)oe[E]=8;for(var E=144;E<256;++E)oe[E]=9;for(var E=256;E<280;++E)oe[E]=7;for(var E=280;E<288;++E)oe[E]=8;for(var he=new at(32),E=0;E<32;++E)he[E]=5;var _e=ne(oe,9,0),Pe=null,Qe=ne(he,5,0),Ze=null,Ve=function(b){for(var z=b[0],x=1;x<b.length;++x)b[x]>z&&(z=b[x]);return z},nt=function(b,z,x){var re=z/8|0;return(b[re]|b[re+1]<<8)>>(z&7)&x},De=function(b,z){var x=z/8|0;return(b[x]|b[x+1]<<8|b[x+2]<<16)>>(z&7)},Bt=function(b){return(b+7)/8|0},ke=function(b,z,x){return(z==null||z<0)&&(z=0),(x==null||x>b.length)&&(x=b.length),new at(b.subarray(z,x))},Ot={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},it=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],rt=function(b,z,x){var re=new Error(z||it[b]);if(re.code=b,Error.captureStackTrace&&Error.captureStackTrace(re,rt),!x)throw re;return re},wt=function(b,z,x,re){var ae=b.length,se=re?re.length:0;if(!ae||z.f&&!z.l)return x||new at(0);var Ee=!x,Se=Ee||z.i!=2,xe=z.i;Ee&&(x=new at(ae*3));var Ne=function(zr){var pa=x.length;if(zr>pa){var ya=new at(Math.max(pa*2,zr));ya.set(x),x=ya}},We=z.f||0,At=z.p||0,mt=z.b||0,$e=z.l,Mt=z.d,Tt=z.m,Ht=z.n,xt=ae*8;do{if(!$e){We=nt(b,At,1);var Sn=nt(b,At+1,3);if(At+=3,Sn)if(Sn==1)$e=Pe,Mt=Ze,Tt=9,Ht=5;else if(Sn==2){var Br=nt(b,At,31)+257,ar=nt(b,At+10,15)+4,xn=Br+nt(b,At+5,31)+1;At+=14;for(var tn=new at(xn),Mn=new at(19),Ft=0;Ft<ar;++Ft)Mn[Le[Ft]]=nt(b,At+Ft*3,7);At+=ar*3;for(var zt=Ve(Mn),pn=(1<<zt)-1,gn=ne(Mn,zt,1),Ft=0;Ft<xn;){var qn=gn[nt(b,At,pn)];At+=qn&15;var cn=qn>>4;if(cn<16)tn[Ft++]=cn;else{var rr=0,Ar=0;for(cn==16?(Ar=3+nt(b,At,3),At+=2,rr=tn[Ft-1]):cn==17?(Ar=3+nt(b,At,7),At+=3):cn==18&&(Ar=11+nt(b,At,127),At+=7);Ar--;)tn[Ft++]=rr}}var Zn=tn.subarray(0,Br),cr=tn.subarray(Br);Tt=Ve(Zn),Ht=Ve(cr),$e=ne(Zn,Tt,1),Mt=ne(cr,Ht,1)}else rt(1);else{var cn=Bt(At)+4,qt=b[cn-4]|b[cn-3]<<8,Yn=cn+qt;if(Yn>ae){xe&&rt(0);break}Se&&Ne(mt+qt),x.set(b.subarray(cn,Yn),mt),z.b=mt+=qt,z.p=At=Yn*8,z.f=We;continue}if(At>xt){xe&&rt(0);break}}Se&&Ne(mt+131072);for(var qr=(1<<Tt)-1,Lr=(1<<Ht)-1,Ct=At;;Ct=At){var rr=$e[De(b,At)&qr],Yt=rr>>4;if(At+=rr&15,At>xt){xe&&rt(0);break}if(rr||rt(2),Yt<256)x[mt++]=Yt;else if(Yt==256){Ct=At,$e=null;break}else{var sn=Yt-254;if(Yt>264){var Ft=Yt-257,Cn=me[Ft];sn=nt(b,At,(1<<Cn)-1)+Fe[Ft],At+=Cn}var Tn=Mt[De(b,At)&Lr],Wn=Tn>>4;Tn||rt(3),At+=Tn&15;var cr=y[Wn];if(Wn>3){var Cn=Be[Wn];cr+=De(b,At)&(1<<Cn)-1,At+=Cn}if(At>xt){xe&&rt(0);break}Se&&Ne(mt+131072);var ir=mt+sn;if(mt<cr){var nr=se-cr,Cr=Math.min(cr,ir);for(nr+mt<0&&rt(3);mt<Cr;++mt)x[mt]=re[nr+mt]}for(;mt<ir;++mt)x[mt]=x[mt-cr]}}z.l=$e,z.p=Ct,z.b=mt,z.f=We,$e&&(We=1,z.m=Tt,z.d=Mt,z.n=Ht)}while(!We);return mt!=x.length&&Ee?ke(x,0,mt):x.subarray(0,mt)},dt=function(b,z,x){x<<=z&7;var re=z/8|0;b[re]|=x,b[re+1]|=x>>8},pt=function(b,z,x){x<<=z&7;var re=z/8|0;b[re]|=x,b[re+1]|=x>>8,b[re+2]|=x>>16},st=function(b,z){for(var x=[],re=0;re<b.length;++re)b[re]&&x.push({s:re,f:b[re]});var ae=x.length,se=x.slice();if(!ae)return{t:Hn,l:0};if(ae==1){var Ee=new at(x[0].s+1);return Ee[x[0].s]=1,{t:Ee,l:1}}x.sort(function(Yn,Br){return Yn.f-Br.f}),x.push({s:-1,f:25001});var Se=x[0],xe=x[1],Ne=0,We=1,At=2;for(x[0]={s:-1,f:Se.f+xe.f,l:Se,r:xe};We!=ae-1;)Se=x[x[Ne].f<x[At].f?Ne++:At++],xe=x[Ne!=We&&x[Ne].f<x[At].f?Ne++:At++],x[We++]={s:-1,f:Se.f+xe.f,l:Se,r:xe};for(var mt=se[0].s,re=1;re<ae;++re)se[re].s>mt&&(mt=se[re].s);var $e=new Ge(mt+1),Mt=ft(x[We-1],$e,0);if(Mt>z){var re=0,Tt=0,Ht=Mt-z,xt=1<<Ht;for(se.sort(function(Br,ar){return $e[ar.s]-$e[Br.s]||Br.f-ar.f});re<ae;++re){var Sn=se[re].s;if($e[Sn]>z)Tt+=xt-(1<<Mt-$e[Sn]),$e[Sn]=z;else break}for(Tt>>=Ht;Tt>0;){var cn=se[re].s;$e[cn]<z?Tt-=1<<z-$e[cn]++-1:++re}for(;re>=0&&Tt;--re){var qt=se[re].s;$e[qt]==z&&(--$e[qt],++Tt)}Mt=z}return{t:new at($e),l:Mt}},ft=function(b,z,x){return b.s==-1?Math.max(ft(b.l,z,x+1),ft(b.r,z,x+1)):z[b.s]=x},rn=function(b){for(var z=b.length;z&&!b[--z];);for(var x=new Ge(++z),re=0,ae=b[0],se=1,Ee=function(xe){x[re++]=xe},Se=1;Se<=z;++Se)if(b[Se]==ae&&Se!=z)++se;else{if(!ae&&se>2){for(;se>138;se-=138)Ee(32754);se>2&&(Ee(se>10?se-11<<5|28690:se-3<<5|12305),se=0)}else if(se>3){for(Ee(ae),--se;se>6;se-=6)Ee(8304);se>2&&(Ee(se-3<<5|8208),se=0)}for(;se--;)Ee(ae);se=1,ae=b[Se]}return{c:x.subarray(0,re),n:z}},fn=function(b,z){for(var x=0,re=0;re<z.length;++re)x+=b[re]*z[re];return x},Et=function(b,z,x){var re=x.length,ae=Bt(z+2);b[ae]=re&255,b[ae+1]=re>>8,b[ae+2]=b[ae]^255,b[ae+3]=b[ae+1]^255;for(var se=0;se<re;++se)b[ae+se+4]=x[se];return(ae+4+re)*8},Jt=function(b,z,x,re,ae,se,Ee,Se,xe,Ne,We){dt(z,We++,x),++ae[256];for(var At=st(ae,15),mt=At.t,$e=At.l,Mt=st(se,15),Tt=Mt.t,Ht=Mt.l,xt=rn(mt),Sn=xt.c,cn=xt.n,qt=rn(Tt),Yn=qt.c,Br=qt.n,ar=new Ge(19),xn=0;xn<Sn.length;++xn)++ar[Sn[xn]&31];for(var xn=0;xn<Yn.length;++xn)++ar[Yn[xn]&31];for(var tn=st(ar,7),Mn=tn.t,Ft=tn.l,zt=19;zt>4&&!Mn[Le[zt-1]];--zt);var pn=Ne+5<<3,gn=fn(ae,oe)+fn(se,he)+Ee,qn=fn(ae,mt)+fn(se,Tt)+Ee+14+3*zt+fn(ar,Mn)+2*ar[16]+3*ar[17]+7*ar[18];if(xe>=0&&pn<=gn&&pn<=qn)return Et(z,We,b.subarray(xe,xe+Ne));var rr,Ar,Zn,cr;if(dt(z,We,1+(qn<gn)),We+=2,qn<gn){rr=ne(mt,$e,0),Ar=mt,Zn=ne(Tt,Ht,0),cr=Tt;var qr=ne(Mn,Ft,0);dt(z,We,cn-257),dt(z,We+5,Br-1),dt(z,We+10,zt-4),We+=14;for(var xn=0;xn<zt;++xn)dt(z,We+3*xn,Mn[Le[xn]]);We+=3*zt;for(var Lr=[Sn,Yn],Ct=0;Ct<2;++Ct)for(var Yt=Lr[Ct],xn=0;xn<Yt.length;++xn){var sn=Yt[xn]&31;dt(z,We,qr[sn]),We+=Mn[sn],sn>15&&(dt(z,We,Yt[xn]>>5&127),We+=Yt[xn]>>12)}}else rr=_e,Ar=oe,Zn=Qe,cr=he;for(var xn=0;xn<Se;++xn){var Cn=re[xn];if(Cn>255){var sn=Cn>>18&31;pt(z,We,rr[sn+257]),We+=Ar[sn+257],sn>7&&(dt(z,We,Cn>>23&31),We+=me[sn]);var Tn=Cn&31;pt(z,We,Zn[Tn]),We+=cr[Tn],Tn>3&&(pt(z,We,Cn>>5&8191),We+=Be[Tn])}else pt(z,We,rr[Cn]),We+=Ar[Cn]}return pt(z,We,rr[256]),We+Ar[256]},Ln=new je([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Hn=new at(0),un=function(b,z,x,re,ae,se){var Ee=se.z||b.length,Se=new at(re+Ee+5*(1+Math.ceil(Ee/7e3))+ae),xe=Se.subarray(re,Se.length-ae),Ne=se.l,We=(se.r||0)&7;if(z){We&&(xe[0]=se.r>>3);for(var At=Ln[z-1],mt=At>>13,$e=At&8191,Mt=(1<<x)-1,Tt=se.p||new Ge(32768),Ht=se.h||new Ge(Mt+1),xt=Math.ceil(x/3),Sn=2*xt,cn=function(pr){return(b[pr]^b[pr+1]<<xt^b[pr+2]<<Sn)&Mt},qt=new je(25e3),Yn=new Ge(288),Br=new Ge(32),ar=0,xn=0,tn=se.i||0,Mn=0,Ft=se.w||0,zt=0;tn+2<Ee;++tn){var pn=cn(tn),gn=tn&32767,qn=Ht[pn];if(Tt[gn]=qn,Ht[pn]=gn,Ft<=tn){var rr=Ee-tn;if((ar>7e3||Mn>24576)&&(rr>423||!Ne)){We=Jt(b,xe,0,qt,Yn,Br,xn,Mn,zt,tn-zt,We),Mn=ar=xn=0,zt=tn;for(var Ar=0;Ar<286;++Ar)Yn[Ar]=0;for(var Ar=0;Ar<30;++Ar)Br[Ar]=0}var Zn=2,cr=0,qr=$e,Lr=gn-qn&32767;if(rr>2&&pn==cn(tn-Lr))for(var Ct=Math.min(mt,rr)-1,Yt=Math.min(32767,tn),sn=Math.min(258,rr);Lr<=Yt&&--qr&&gn!=qn;){if(b[tn+Zn]==b[tn+Zn-Lr]){for(var Cn=0;Cn<sn&&b[tn+Cn]==b[tn+Cn-Lr];++Cn);if(Cn>Zn){if(Zn=Cn,cr=Lr,Cn>Ct)break;for(var Tn=Math.min(Lr,Cn-2),Wn=0,Ar=0;Ar<Tn;++Ar){var ir=tn-Lr+Ar&32767,nr=Tt[ir],Cr=ir-nr&32767;Cr>Wn&&(Wn=Cr,qn=ir)}}}gn=qn,qn=Tt[gn],Lr+=gn-qn&32767}if(cr){qt[Mn++]=268435456|Ce[Zn]<<18|a[cr];var zr=Ce[Zn]&31,pa=a[cr]&31;xn+=me[zr]+Be[pa],++Yn[257+zr],++Br[pa],Ft=tn+Zn,++ar}else qt[Mn++]=b[tn],++Yn[b[tn]]}}for(tn=Math.max(tn,Ft);tn<Ee;++tn)qt[Mn++]=b[tn],++Yn[b[tn]];We=Jt(b,xe,Ne,qt,Yn,Br,xn,Mn,zt,tn-zt,We),Ne||(se.r=We&7|xe[We/8|0]<<3,We-=7,se.h=Ht,se.p=Tt,se.i=tn,se.w=Ft)}else{for(var tn=se.w||0;tn<Ee+Ne;tn+=65535){var ya=tn+65535;ya>=Ee&&(xe[We/8|0]=Ne,ya=Ee),We=Et(xe,We+1,b.subarray(tn,ya))}se.i=Ee}return ke(Se,0,re+Bt(We)+ae)},Vn=null,yt=function(){var b=-1;return{p:function(z){for(var x=b,re=0;re<z.length;++re)x=Vn[x&255^z[re]]^x>>>8;b=x},d:function(){return~b}}},Kn=function(){var b=1,z=0;return{p:function(x){for(var re=b,ae=z,se=x.length|0,Ee=0;Ee!=se;){for(var Se=Math.min(Ee+2655,se);Ee<Se;++Ee)ae+=re+=x[Ee];re=(re&65535)+15*(re>>16),ae=(ae&65535)+15*(ae>>16)}b=re,z=ae},d:function(){return b%=65521,z%=65521,(b&255)<<24|(b&65280)<<8|(z&255)<<8|z>>8}}},er=function(b,z,x,re,ae){if(!ae&&(ae={l:1},z.dictionary)){var se=z.dictionary.subarray(-32768),Ee=new at(se.length+b.length);Ee.set(se),Ee.set(b,se.length),b=Ee,ae.w=se.length}return un(b,z.level==null?6:z.level,z.mem==null?ae.l?Math.ceil(Math.max(8,Math.min(13,Math.log(b.length)))*1.5):20:12+z.mem,x,re,ae)},Re=function(b,z){var x={};for(var re in b)x[re]=b[re];for(var re in z)x[re]=z[re];return x},Kt=function(b,z,x){for(var re=b(),ae=b.toString(),se=ae.slice(ae.indexOf("[")+1,ae.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ee=0;Ee<re.length;++Ee){var Se=re[Ee],xe=se[Ee];if(typeof Se=="function"){z+=";"+xe+"=";var Ne=Se.toString();if(Se.prototype)if(Ne.indexOf("[native code]")!=-1){var We=Ne.indexOf(" ",8)+1;z+=Ne.slice(We,Ne.indexOf("(",We))}else{z+=Ne;for(var At in Se.prototype)z+=";"+xe+".prototype."+At+"="+Se.prototype[At].toString()}else z+=Ne}else x[xe]=Se}return z},Te=null,pe=function(b){var z=[];for(var x in b)b[x].buffer&&z.push((b[x]=new b[x].constructor(b[x])).buffer);return z},ce=function(b,z,x,re){if(!Te[x]){for(var ae="",se={},Ee=b.length-1,Se=0;Se<Ee;++Se)ae=Kt(b[Se],ae,se);Te[x]={c:Kt(b[Ee],ae,se),e:se}}var xe=Re({},Te[x].e);return ze(Te[x].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+z.toString()+"}",x,xe,pe(xe),re)},ye=function(){return[at,Ge,je,me,Be,Le,Fe,y,Pe,Ze,ee,it,ne,Ve,nt,De,Bt,ke,rt,wt,pi,ct,ot]},qe=function(){return[at,Ge,je,me,Be,Le,Ce,a,_e,oe,Qe,he,ee,Ln,Hn,ne,dt,pt,st,ft,rn,fn,Et,Jt,Bt,ke,un,er,ta,ct]},gt=function(){return[Jn,Dr,Xt,yt,Vn]},Me=function(){return[hr,tr]},Xe=function(){return[Or,Xt,Kn]},Pt=function(){return[la]},ct=function(b){return postMessage(b,[b.buffer])},ot=function(b){return b&&{out:b.size&&new at(b.size),dictionary:b.dictionary}},kt=function(b,z,x,re,ae,se){var Ee=ce(x,re,ae,function(Se,xe){Ee.terminate(),se(Se,xe)});return Ee.postMessage([b,z],z.consume?[b.buffer]:[]),function(){Ee.terminate()}},_n=function(b){return b.ondata=function(z,x){return postMessage([z,x],[z.buffer])},function(z){z.data.length?(b.push(z.data[0],z.data[1]),postMessage([z.data[0].length])):b.flush()}},_t=function(b,z,x,re,ae,se,Ee){var Se,xe=ce(b,re,ae,function(Ne,We){Ne?(xe.terminate(),z.ondata.call(z,Ne)):Array.isArray(We)?We.length==1?(z.queuedSize-=We[0],z.ondrain&&z.ondrain(We[0])):(We[1]&&xe.terminate(),z.ondata.call(z,Ne,We[0],We[1])):Ee(We)});xe.postMessage(x),z.queuedSize=0,z.push=function(Ne,We){z.ondata||rt(5),Se&&z.ondata(rt(4,0,1),null,!!We),z.queuedSize+=Ne.length,xe.postMessage([Ne,Se=We],[Ne.buffer])},z.terminate=function(){xe.terminate()},se&&(z.flush=function(){xe.postMessage([])})},nn=function(b,z){return b[z]|b[z+1]<<8},Nt=function(b,z){return(b[z]|b[z+1]<<8|b[z+2]<<16|b[z+3]<<24)>>>0},yn=function(b,z){return Nt(b,z)+Nt(b,z+4)*4294967296},Xt=function(b,z,x){for(;x;++z)b[z]=x,x>>>=8},Jn=function(b,z){var x=z.filename;if(b[0]=31,b[1]=139,b[2]=8,b[8]=z.level<2?4:z.level==9?2:0,b[9]=3,z.mtime!=0&&Xt(b,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),x){b[3]=8;for(var re=0;re<=x.length;++re)b[re+10]=x.charCodeAt(re)}},hr=function(b){(b[0]!=31||b[1]!=139||b[2]!=8)&&rt(6,"invalid gzip data");var z=b[3],x=10;z&4&&(x+=(b[10]|b[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!b[x++]);return x+(z&2)},tr=function(b){var z=b.length;return(b[z-4]|b[z-3]<<8|b[z-2]<<16|b[z-1]<<24)>>>0},Dr=function(b){return 10+(b.filename?b.filename.length+1:0)},Or=function(b,z){var x=z.level,re=x==0?0:x<6?1:x==9?3:2;if(b[0]=120,b[1]=re<<6|(z.dictionary&&32),b[1]|=31-(b[0]<<8|b[1])%31,z.dictionary){var ae=Kn();ae.p(z.dictionary),Xt(b,2,ae.d())}},la=function(b,z){return((b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31)&&rt(6,"invalid zlib data"),(b[1]>>5&1)==+!z&&rt(6,"invalid zlib data: "+(b[1]&32?"need":"unexpected")+" dictionary"),(b[1]>>3&4)+2};function sa(b,z){return typeof b=="function"&&(z=b,b={}),this.ondata=z,b}var Hr=null,br=null;function Tr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe],function(re){return ct(ta(re.data[0],re.data[1]))},0,x)}function ta(b,z){return er(b,z||{},0,0)}var _a=null,fo=null;function ea(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye],function(re){return ct(pi(re.data[0],ot(re.data[1])))},1,x)}function pi(b,z){return wt(b,{i:2},z&&z.out,z&&z.dictionary)}var _i=null,na=null;function ln(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe,gt,function(){return[zA]}],function(re){return ct(zA(re.data[0],re.data[1]))},2,x)}function zA(b,z){z||(z={});var x=yt(),re=b.length;x.p(b);var ae=er(b,z,Dr(z),8),se=ae.length;return Jn(ae,z),Xt(ae,se-8,x.d()),Xt(ae,se-4,re),ae}var fA=null,UA=null;function ds(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye,Me,function(){return[wi]}],function(re){return ct(wi(re.data[0],re.data[1]))},3,x)}function wi(b,z){var x=hr(b);return x+8>b.length&&rt(6,"invalid gzip data"),wt(b.subarray(x,-8),{i:2},z&&z.out||new at(tr(b)),z&&z.dictionary)}var Gs=null,SA=null;function Ji(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe,Xe,function(){return[En]}],function(re){return ct(En(re.data[0],re.data[1]))},4,x)}function En(b,z){z||(z={});var x=Kn();x.p(b);var re=er(b,z,z.dictionary?6:2,4);return Or(re,z),Xt(re,re.length-4,x.d()),re}var Dn=null,vn=null;function kr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye,Pt,function(){return[Ea]}],function(re){return ct(Ea(re.data[0],ot(re.data[1])))},5,x)}function Ea(b,z){return wt(b.subarray(la(b,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Zr=null,si=null;function vo(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),b[0]==31&&b[1]==139&&b[2]==8?ds(b,z,x):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?ea(b,z,x):kr(b,z,x)}function Ko(b,z){return b[0]==31&&b[1]==139&&b[2]==8?wi(b,z):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?pi(b,z):Ea(b,z)}var _o=function(b,z,x,re){for(var ae in b){var se=b[ae],Ee=z+ae,Se=re;Array.isArray(se)&&(Se=Re(re,se[1]),se=se[0]),se instanceof at?x[Ee]=[se,Se]:(x[Ee+="/"]=[new at(0),Se],_o(se,Ee,x,re))}},yA=typeof TextEncoder!="undefined"&&new TextEncoder,gr=typeof TextDecoder!="undefined"&&new TextDecoder,No=0;try{gr.decode(Hn,{stream:!0}),No=1}catch(b){}var Di=function(b){for(var z="",x=0;;){var re=b[x++],ae=(re>127)+(re>223)+(re>239);if(x+ae>b.length)return{s:z,r:ke(b,x-1)};ae?ae==3?(re=((re&15)<<18|(b[x++]&63)<<12|(b[x++]&63)<<6|b[x++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):ae&1?z+=String.fromCharCode((re&31)<<6|b[x++]&63):z+=String.fromCharCode((re&15)<<12|(b[x++]&63)<<6|b[x++]&63):z+=String.fromCharCode(re)}},fi=null,Si=null;function Do(b,z){if(z){for(var x=new at(b.length),re=0;re<b.length;++re)x[re]=b.charCodeAt(re);return x}if(yA)return yA.encode(b);for(var ae=b.length,se=new at(b.length+(b.length>>1)),Ee=0,Se=function(We){se[Ee++]=We},re=0;re<ae;++re){if(Ee+5>se.length){var xe=new at(Ee+8+(ae-re<<1));xe.set(se),se=xe}var Ne=b.charCodeAt(re);Ne<128||z?Se(Ne):Ne<2048?(Se(192|Ne>>6),Se(128|Ne&63)):Ne>55295&&Ne<57344?(Ne=65536+(Ne&1047552)|b.charCodeAt(++re)&1023,Se(240|Ne>>18),Se(128|Ne>>12&63),Se(128|Ne>>6&63),Se(128|Ne&63)):(Se(224|Ne>>12),Se(128|Ne>>6&63),Se(128|Ne&63))}return ke(se,0,Ee)}function hA(b,z){if(z){for(var x="",re=0;re<b.length;re+=16384)x+=String.fromCharCode.apply(null,b.subarray(re,re+16384));return x}else{if(gr)return gr.decode(b);var ae=Di(b),se=ae.s,x=ae.r;return x.length&&rt(8),se}}var MA=function(b){return b==1?3:b<6?2:b==9?1:0},GA=function(b,z){return z+30+nn(b,z+26)+nn(b,z+28)},Ds=function(b,z,x){var re=nn(b,z+28),ae=hA(b.subarray(z+46,z+46+re),!(nn(b,z+8)&2048)),se=z+46+re,Ee=Nt(b,z+20),Se=x&&Ee==4294967295?$A(b,se):[Ee,Nt(b,z+24),Nt(b,z+42)],xe=Se[0],Ne=Se[1],We=Se[2];return[nn(b,z+10),xe,Ne,ae,se+nn(b,z+30)+nn(b,z+32),We]},$A=function(b,z){for(;nn(b,z)!=1;z+=4+nn(b,z+2));return[yn(b,z+12),yn(b,z+4),yn(b,z+20)]},yi=function(b){var z=0;if(b)for(var x in b){var re=b[x].length;re>65535&&rt(9),z+=re+4}return z},gs=function(b,z,x,re,ae,se,Ee,Se){var xe=re.length,Ne=x.extra,We=Se&&Se.length,At=yi(Ne);Xt(b,z,Ee!=null?33639248:67324752),z+=4,Ee!=null&&(b[z++]=20,b[z++]=x.os),b[z]=20,z+=2,b[z++]=x.flag<<1|(se<0&&8),b[z++]=ae&&8,b[z++]=x.compression&255,b[z++]=x.compression>>8;var mt=new Date(x.mtime==null?Date.now():x.mtime),$e=mt.getFullYear()-1980;if(($e<0||$e>119)&&rt(10),Xt(b,z,$e<<25|mt.getMonth()+1<<21|mt.getDate()<<16|mt.getHours()<<11|mt.getMinutes()<<5|mt.getSeconds()>>1),z+=4,se!=-1&&(Xt(b,z,x.crc),Xt(b,z+4,se<0?-se-2:se),Xt(b,z+8,x.size)),Xt(b,z+12,xe),Xt(b,z+14,At),z+=16,Ee!=null&&(Xt(b,z,We),Xt(b,z+6,x.attrs),Xt(b,z+10,Ee),z+=14),b.set(re,z),z+=xe,At)for(var Mt in Ne){var Tt=Ne[Mt],Ht=Tt.length;Xt(b,z,+Mt),Xt(b,z+2,Ht),b.set(Tt,z+4),z+=4+Ht}return We&&(b.set(Se,z),z+=We),z},Fl=function(b,z,x,re,ae){Xt(b,z,101010256),Xt(b,z+8,x),Xt(b,z+10,x),Xt(b,z+12,re),Xt(b,z+16,ae)},ZA=null,Pr=null,Dc=null,Su=null;function Qu(b,z,x){x||(x=z,z={}),typeof x!="function"&&rt(7);var re={};_o(b,"",re,z);var ae=Object.keys(re),se=ae.length,Ee=0,Se=0,xe=se,Ne=new Array(se),We=[],At=function(){for(var Ht=0;Ht<We.length;++Ht)We[Ht]()},mt=function(Ht,xt){Ga(function(){x(Ht,xt)})};Ga(function(){mt=x});var $e=function(){var Ht=new at(Se+22),xt=Ee,Sn=Se-Ee;Se=0;for(var cn=0;cn<xe;++cn){var qt=Ne[cn];try{var Yn=qt.c.length;gs(Ht,Se,qt,qt.f,qt.u,Yn);var Br=30+qt.f.length+yi(qt.extra),ar=Se+Br;Ht.set(qt.c,ar),gs(Ht,Ee,qt,qt.f,qt.u,Yn,Se,qt.m),Ee+=16+Br+(qt.m?qt.m.length:0),Se=ar+Yn}catch(xn){return mt(xn,null)}}Fl(Ht,Ee,Ne.length,Sn,xt),mt(null,Ht)};se||$e();for(var Mt=function(Ht){var xt=ae[Ht],Sn=re[xt],cn=Sn[0],qt=Sn[1],Yn=yt(),Br=cn.length;Yn.p(cn);var ar=Do(xt),xn=ar.length,tn=qt.comment,Mn=tn&&Do(tn),Ft=Mn&&Mn.length,zt=yi(qt.extra),pn=qt.level==0?0:8,gn=function(qn,rr){if(qn)At(),mt(qn,null);else{var Ar=rr.length;Ne[Ht]=Re(qt,{size:Br,crc:Yn.d(),c:rr,f:ar,m:Mn,u:xn!=xt.length||Mn&&tn.length!=Ft,compression:pn}),Ee+=30+xn+zt+Ar,Se+=76+2*(xn+zt)+(Ft||0)+Ar,--se||$e()}};if(xn>65535&&gn(rt(11,0,1),null),!pn)gn(null,cn);else if(Br<16e4)try{gn(null,ta(cn,qt))}catch(qn){gn(qn,null)}else We.push(Tr(cn,qt,gn))},Tt=0;Tt<xe;++Tt)Mt(Tt);return At}function tl(b,z){z||(z={});var x={},re=[];_o(b,"",x,z);var ae=0,se=0;for(var Ee in x){var Se=x[Ee],xe=Se[0],Ne=Se[1],We=Ne.level==0?0:8,At=Do(Ee),mt=At.length,$e=Ne.comment,Mt=$e&&Do($e),Tt=Mt&&Mt.length,Ht=yi(Ne.extra);mt>65535&&rt(11);var xt=We?ta(xe,Ne):xe,Sn=xt.length,cn=yt();cn.p(xe),re.push(Re(Ne,{size:xe.length,crc:cn.d(),c:xt,f:At,m:Mt,u:mt!=Ee.length||Mt&&$e.length!=Tt,o:ae,compression:We})),ae+=30+mt+Ht+Sn,se+=76+2*(mt+Ht)+(Tt||0)+Sn}for(var qt=new at(se+22),Yn=ae,Br=se-ae,ar=0;ar<re.length;++ar){var At=re[ar];gs(qt,At.o,At,At.f,At.u,At.c.length);var xn=30+At.f.length+yi(At.extra);qt.set(At.c,At.o+xn),gs(qt,ae,At,At.f,At.u,At.c.length,At.o,At.m),ae+=16+xn+(At.m?At.m.length:0)}return Fl(qt,ae,re.length,Br,Yn),qt}var Rr=null,Na=null,Po=null,Fa=null,Ga=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(b){b()};function vi(b,z,x){x||(x=z,z={}),typeof x!="function"&&rt(7);var re=[],ae=function(){for(var Ht=0;Ht<re.length;++Ht)re[Ht]()},se={},Ee=function(Ht,xt){Ga(function(){x(Ht,xt)})};Ga(function(){Ee=x});for(var Se=b.length-22;Nt(b,Se)!=101010256;--Se)if(!Se||b.length-Se>65558)return Ee(rt(13,0,1),null),ae;var xe=nn(b,Se+8);if(xe){var Ne=xe,We=Nt(b,Se+16),At=We==4294967295||Ne==65535;if(At){var mt=Nt(b,Se-12);At=Nt(b,mt)==101075792,At&&(Ne=xe=Nt(b,mt+32),We=Nt(b,mt+48))}for(var $e=z&&z.filter,Mt=function(Ht){var xt=Ds(b,We,At),Sn=xt[0],cn=xt[1],qt=xt[2],Yn=xt[3],Br=xt[4],ar=xt[5],xn=GA(b,ar);We=Br;var tn=function(Ft,zt){Ft?(ae(),Ee(Ft,null)):(zt&&(se[Yn]=zt),--xe||Ee(null,se))};if(!$e||$e({name:Yn,size:cn,originalSize:qt,compression:Sn}))if(!Sn)tn(null,ke(b,xn,xn+cn));else if(Sn==8){var Mn=b.subarray(xn,xn+cn);if(qt<524288||cn>.8*qt)try{tn(null,pi(Mn,{out:new at(qt)}))}catch(Ft){tn(Ft,null)}else re.push(ea(Mn,{size:qt},tn))}else tn(rt(14,"unknown compression type "+Sn,1),null);else tn(null,null)},Tt=0;Tt<Ne;++Tt)Mt(Tt)}else Ee(null,{});return ae}function va(b,z){for(var x={},re=b.length-22;Nt(b,re)!=101010256;--re)(!re||b.length-re>65558)&&rt(13);var ae=nn(b,re+8);if(!ae)return{};var se=Nt(b,re+16),Ee=se==4294967295||ae==65535;if(Ee){var Se=Nt(b,re-12);Ee=Nt(b,Se)==101075792,Ee&&(ae=Nt(b,Se+32),se=Nt(b,Se+48))}for(var xe=z&&z.filter,Ne=0;Ne<ae;++Ne){var We=Ds(b,se,Ee),At=We[0],mt=We[1],$e=We[2],Mt=We[3],Tt=We[4],Ht=We[5],xt=GA(b,Ht);se=Tt,(!xe||xe({name:Mt,size:mt,originalSize:$e,compression:At}))&&(At?At==8?x[Mt]=pi(b.subarray(xt,xt+mt),{out:new at($e)}):rt(14,"unknown compression type "+At):x[Mt]=ke(b,xt,xt+mt))}return x}var ts=we(42978);function ns(b,z="utf8"){return new TextDecoder(z).decode(b)}const yu=new TextEncoder;function Os(b){return yu.encode(b)}const Oc=1024*8,Qc=(()=>{const b=new Uint8Array(4),z=new Uint32Array(b.buffer);return!((z[0]=1)&b[0])})(),xl={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class _l{constructor(z=Oc,x={}){Mi(this,"buffer");Mi(this,"byteLength");Mi(this,"byteOffset");Mi(this,"length");Mi(this,"offset");Mi(this,"lastWrittenByte");Mi(this,"littleEndian");Mi(this,"_data");Mi(this,"_mark");Mi(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const ae=x.offset?x.offset>>>0:0,se=z.byteLength-ae;let Ee=ae;(ArrayBuffer.isView(z)||z instanceof _l)&&(z.byteLength!==z.buffer.byteLength&&(Ee=z.byteOffset+ae),z=z.buffer),re?this.lastWrittenByte=se:this.lastWrittenByte=0,this.buffer=z,this.length=se,this.byteLength=se,this.byteOffset=Ee,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ee,se),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,ae=new Uint8Array(re);ae.set(new Uint8Array(this.buffer)),this.buffer=ae.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,x){const re=xl[x].BYTES_PER_ELEMENT*z,ae=this.byteOffset+this.offset,se=this.buffer.slice(ae,ae+re);if(this.littleEndian===Qc&&x!=="uint8"&&x!=="int8"){const Se=new Uint8Array(this.buffer.slice(ae,ae+re));Se.reverse();const xe=new xl[x](Se.buffer);return this.offset+=re,xe.reverse(),xe}const Ee=new xl[x](se);return this.offset+=re,Ee}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let x="";for(let re=0;re<z;re++)x+=this.readChar();return x}readUtf8(z=1){return ns(this.readBytes(z))}decodeText(z=1,x="utf8"){return ns(this.readBytes(z),x)}writeBoolean(z){return this.writeUint8(z?255:0),this}writeInt8(z){return this.ensureAvailable(1),this._data.setInt8(this.offset++,z),this._updateLastWrittenByte(),this}writeUint8(z){return this.ensureAvailable(1),this._data.setUint8(this.offset++,z),this._updateLastWrittenByte(),this}writeByte(z){return this.writeUint8(z)}writeBytes(z){this.ensureAvailable(z.length);for(let x=0;x<z.length;x++)this._data.setUint8(this.offset++,z[x]);return this._updateLastWrittenByte(),this}writeInt16(z){return this.ensureAvailable(2),this._data.setInt16(this.offset,z,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(z){return this.ensureAvailable(2),this._data.setUint16(this.offset,z,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(z){return this.ensureAvailable(4),this._data.setInt32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(z){return this.ensureAvailable(4),this._data.setUint32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(z){return this.ensureAvailable(4),this._data.setFloat32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(z){return this.ensureAvailable(8),this._data.setFloat64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(z){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(z){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(z){return this.writeUint8(z.charCodeAt(0))}writeChars(z){for(let x=0;x<z.length;x++)this.writeUint8(z.charCodeAt(x));return this}writeUtf8(z){return this.writeBytes(Os(z))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Tc=4,Tu=0,ku=1,Au=2;function fl(b){let z=b.length;for(;--z>=0;)b[z]=0}const Ru=0,An=1,kc=2,ju=3,cd=258,su=29,fs=256,lu=fs+1+su,rs=30,NA=19,Ac=2*lu+1,Gl=15,wA=16,WA=7,Rc=256,uu=16,jc=17,wn=18,Dt=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),en=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),On=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),sr=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Xr=512,Ir=new Array((lu+2)*2);fl(Ir);const mr=new Array(rs*2);fl(mr);const xr=new Array(Xr);fl(xr);const da=new Array(cd-ju+1);fl(da);const Ha=new Array(su);fl(Ha);const To=new Array(rs);fl(To);function ua(b,z,x,re,ae){this.static_tree=b,this.extra_bits=z,this.extra_base=x,this.elems=re,this.max_length=ae,this.has_stree=b&&b.length}let zi,li,Bi;function ma(b,z){this.dyn_tree=b,this.max_code=0,this.stat_desc=z}const Da=b=>b<256?xr[b]:xr[256+(b>>>7)],Ma=(b,z)=>{b.pending_buf[b.pending++]=z&255,b.pending_buf[b.pending++]=z>>>8&255},La=(b,z,x)=>{b.bi_valid>wA-x?(b.bi_buf|=z<<b.bi_valid&65535,Ma(b,b.bi_buf),b.bi_buf=z>>wA-b.bi_valid,b.bi_valid+=x-wA):(b.bi_buf|=z<<b.bi_valid&65535,b.bi_valid+=x)},Eo=(b,z,x)=>{La(b,x[z*2],x[z*2+1])},Bo=(b,z)=>{let x=0;do x|=b&1,b>>>=1,x<<=1;while(--z>0);return x>>>1},VA=b=>{b.bi_valid===16?(Ma(b,b.bi_buf),b.bi_buf=0,b.bi_valid=0):b.bi_valid>=8&&(b.pending_buf[b.pending++]=b.bi_buf&255,b.bi_buf>>=8,b.bi_valid-=8)},hl=(b,z)=>{const x=z.dyn_tree,re=z.max_code,ae=z.stat_desc.static_tree,se=z.stat_desc.has_stree,Ee=z.stat_desc.extra_bits,Se=z.stat_desc.extra_base,xe=z.stat_desc.max_length;let Ne,We,At,mt,$e,Mt,Tt=0;for(mt=0;mt<=Gl;mt++)b.bl_count[mt]=0;for(x[b.heap[b.heap_max]*2+1]=0,Ne=b.heap_max+1;Ne<Ac;Ne++)We=b.heap[Ne],mt=x[x[We*2+1]*2+1]+1,mt>xe&&(mt=xe,Tt++),x[We*2+1]=mt,!(We>re)&&(b.bl_count[mt]++,$e=0,We>=Se&&($e=Ee[We-Se]),Mt=x[We*2],b.opt_len+=Mt*(mt+$e),se&&(b.static_len+=Mt*(ae[We*2+1]+$e)));if(Tt!==0){do{for(mt=xe-1;b.bl_count[mt]===0;)mt--;b.bl_count[mt]--,b.bl_count[mt+1]+=2,b.bl_count[xe]--,Tt-=2}while(Tt>0);for(mt=xe;mt!==0;mt--)for(We=b.bl_count[mt];We!==0;)At=b.heap[--Ne],!(At>re)&&(x[At*2+1]!==mt&&(b.opt_len+=(mt-x[At*2+1])*x[At*2],x[At*2+1]=mt),We--)}},iA=(b,z,x)=>{const re=new Array(Gl+1);let ae=0,se,Ee;for(se=1;se<=Gl;se++)ae=ae+x[se-1]<<1,re[se]=ae;for(Ee=0;Ee<=z;Ee++){let Se=b[Ee*2+1];Se!==0&&(b[Ee*2]=Bo(re[Se]++,Se))}},XA=()=>{let b,z,x,re,ae;const se=new Array(Gl+1);for(x=0,re=0;re<su-1;re++)for(Ha[re]=x,b=0;b<1<<Dt[re];b++)da[x++]=re;for(da[x-1]=re,ae=0,re=0;re<16;re++)for(To[re]=ae,b=0;b<1<<en[re];b++)xr[ae++]=re;for(ae>>=7;re<rs;re++)for(To[re]=ae<<7,b=0;b<1<<en[re]-7;b++)xr[256+ae++]=re;for(z=0;z<=Gl;z++)se[z]=0;for(b=0;b<=143;)Ir[b*2+1]=8,b++,se[8]++;for(;b<=255;)Ir[b*2+1]=9,b++,se[9]++;for(;b<=279;)Ir[b*2+1]=7,b++,se[7]++;for(;b<=287;)Ir[b*2+1]=8,b++,se[8]++;for(iA(Ir,lu+1,se),b=0;b<rs;b++)mr[b*2+1]=5,mr[b*2]=Bo(b,5);zi=new ua(Ir,Dt,fs+1,lu,Gl),li=new ua(mr,en,0,rs,Gl),Bi=new ua(new Array(0),On,0,NA,WA)},nl=b=>{let z;for(z=0;z<lu;z++)b.dyn_ltree[z*2]=0;for(z=0;z<rs;z++)b.dyn_dtree[z*2]=0;for(z=0;z<NA;z++)b.bl_tree[z*2]=0;b.dyn_ltree[Rc*2]=1,b.opt_len=b.static_len=0,b.sym_next=b.matches=0},rl=b=>{b.bi_valid>8?Ma(b,b.bi_buf):b.bi_valid>0&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0},al=(b,z,x,re)=>{const ae=z*2,se=x*2;return b[ae]<b[se]||b[ae]===b[se]&&re[z]<=re[x]},Pn=(b,z,x)=>{const re=b.heap[x];let ae=x<<1;for(;ae<=b.heap_len&&(ae<b.heap_len&&al(z,b.heap[ae+1],b.heap[ae],b.depth)&&ae++,!al(z,re,b.heap[ae],b.depth));)b.heap[x]=b.heap[ae],x=ae,ae<<=1;b.heap[x]=re},In=(b,z,x)=>{let re,ae,se=0,Ee,Se;if(b.sym_next!==0)do re=b.pending_buf[b.sym_buf+se++]&255,re+=(b.pending_buf[b.sym_buf+se++]&255)<<8,ae=b.pending_buf[b.sym_buf+se++],re===0?Eo(b,ae,z):(Ee=da[ae],Eo(b,Ee+fs+1,z),Se=Dt[Ee],Se!==0&&(ae-=Ha[Ee],La(b,ae,Se)),re--,Ee=Da(re),Eo(b,Ee,x),Se=en[Ee],Se!==0&&(re-=To[Ee],La(b,re,Se)));while(se<b.sym_next);Eo(b,Rc,z)},ol=(b,z)=>{const x=z.dyn_tree,re=z.stat_desc.static_tree,ae=z.stat_desc.has_stree,se=z.stat_desc.elems;let Ee,Se,xe=-1,Ne;for(b.heap_len=0,b.heap_max=Ac,Ee=0;Ee<se;Ee++)x[Ee*2]!==0?(b.heap[++b.heap_len]=xe=Ee,b.depth[Ee]=0):x[Ee*2+1]=0;for(;b.heap_len<2;)Ne=b.heap[++b.heap_len]=xe<2?++xe:0,x[Ne*2]=1,b.depth[Ne]=0,b.opt_len--,ae&&(b.static_len-=re[Ne*2+1]);for(z.max_code=xe,Ee=b.heap_len>>1;Ee>=1;Ee--)Pn(b,x,Ee);Ne=se;do Ee=b.heap[1],b.heap[1]=b.heap[b.heap_len--],Pn(b,x,1),Se=b.heap[1],b.heap[--b.heap_max]=Ee,b.heap[--b.heap_max]=Se,x[Ne*2]=x[Ee*2]+x[Se*2],b.depth[Ne]=(b.depth[Ee]>=b.depth[Se]?b.depth[Ee]:b.depth[Se])+1,x[Ee*2+1]=x[Se*2+1]=Ne,b.heap[1]=Ne++,Pn(b,x,1);while(b.heap_len>=2);b.heap[--b.heap_max]=b.heap[1],hl(b,z),iA(x,xe,b.bl_count)},Wr=(b,z,x)=>{let re,ae=-1,se,Ee=z[0*2+1],Se=0,xe=7,Ne=4;for(Ee===0&&(xe=138,Ne=3),z[(x+1)*2+1]=65535,re=0;re<=x;re++)se=Ee,Ee=z[(re+1)*2+1],!(++Se<xe&&se===Ee)&&(Se<Ne?b.bl_tree[se*2]+=Se:se!==0?(se!==ae&&b.bl_tree[se*2]++,b.bl_tree[uu*2]++):Se<=10?b.bl_tree[jc*2]++:b.bl_tree[wn*2]++,Se=0,ae=se,Ee===0?(xe=138,Ne=3):se===Ee?(xe=6,Ne=3):(xe=7,Ne=4))},xa=(b,z,x)=>{let re,ae=-1,se,Ee=z[0*2+1],Se=0,xe=7,Ne=4;for(Ee===0&&(xe=138,Ne=3),re=0;re<=x;re++)if(se=Ee,Ee=z[(re+1)*2+1],!(++Se<xe&&se===Ee)){if(Se<Ne)do Eo(b,se,b.bl_tree);while(--Se!==0);else se!==0?(se!==ae&&(Eo(b,se,b.bl_tree),Se--),Eo(b,uu,b.bl_tree),La(b,Se-3,2)):Se<=10?(Eo(b,jc,b.bl_tree),La(b,Se-3,3)):(Eo(b,wn,b.bl_tree),La(b,Se-11,7));Se=0,ae=se,Ee===0?(xe=138,Ne=3):se===Ee?(xe=6,Ne=3):(xe=7,Ne=4)}},Lo=b=>{let z;for(Wr(b,b.dyn_ltree,b.l_desc.max_code),Wr(b,b.dyn_dtree,b.d_desc.max_code),ol(b,b.bl_desc),z=NA-1;z>=3&&b.bl_tree[sr[z]*2+1]===0;z--);return b.opt_len+=3*(z+1)+5+5+4,z},Pi=(b,z,x,re)=>{let ae;for(La(b,z-257,5),La(b,x-1,5),La(b,re-4,4),ae=0;ae<re;ae++)La(b,b.bl_tree[sr[ae]*2+1],3);xa(b,b.dyn_ltree,z-1),xa(b,b.dyn_dtree,x-1)},eo=b=>{let z=4093624447,x;for(x=0;x<=31;x++,z>>>=1)if(z&1&&b.dyn_ltree[x*2]!==0)return Tu;if(b.dyn_ltree[9*2]!==0||b.dyn_ltree[10*2]!==0||b.dyn_ltree[13*2]!==0)return ku;for(x=32;x<fs;x++)if(b.dyn_ltree[x*2]!==0)return ku;return Tu};let qi=!1;const Mu=b=>{qi||(XA(),qi=!0),b.l_desc=new ma(b.dyn_ltree,zi),b.d_desc=new ma(b.dyn_dtree,li),b.bl_desc=new ma(b.bl_tree,Bi),b.bi_buf=0,b.bi_valid=0,nl(b)},cu=(b,z,x,re)=>{La(b,(Ru<<1)+(re?1:0),3),rl(b),Ma(b,x),Ma(b,~x),x&&b.pending_buf.set(b.window.subarray(z,z+x),b.pending),b.pending+=x},Ll=b=>{La(b,An<<1,3),Eo(b,Rc,Ir),VA(b)},il=(b,z,x,re)=>{let ae,se,Ee=0;b.level>0?(b.strm.data_type===Au&&(b.strm.data_type=eo(b)),ol(b,b.l_desc),ol(b,b.d_desc),Ee=Lo(b),ae=b.opt_len+3+7>>>3,se=b.static_len+3+7>>>3,se<=ae&&(ae=se)):ae=se=x+5,x+4<=ae&&z!==-1?cu(b,z,x,re):b.strategy===Tc||se===ae?(La(b,(An<<1)+(re?1:0),3),In(b,Ir,mr)):(La(b,(kc<<1)+(re?1:0),3),Pi(b,b.l_desc.max_code+1,b.d_desc.max_code+1,Ee+1),In(b,b.dyn_ltree,b.dyn_dtree)),nl(b),re&&rl(b)},Rd=(b,z,x)=>(b.pending_buf[b.sym_buf+b.sym_next++]=z,b.pending_buf[b.sym_buf+b.sym_next++]=z>>8,b.pending_buf[b.sym_buf+b.sym_next++]=x,z===0?b.dyn_ltree[x*2]++:(b.matches++,z--,b.dyn_ltree[(da[x]+fs+1)*2]++,b.dyn_dtree[Da(z)*2]++),b.sym_next===b.sym_end);var Il=Mu,AA=cu,sc=il,DA=Rd,Hu=Ll,ml={_tr_init:Il,_tr_stored_block:AA,_tr_flush_block:sc,_tr_tally:DA,_tr_align:Hu},ti=(b,z,x,re)=>{let ae=b&65535|0,se=b>>>16&65535|0,Ee=0;for(;x!==0;){Ee=x>2e3?2e3:x,x-=Ee;do ae=ae+z[re++]|0,se=se+ae|0;while(--Ee);ae%=65521,se%=65521}return ae|se<<16|0};const wu=()=>{let b,z=[];for(var x=0;x<256;x++){b=x;for(var re=0;re<8;re++)b=b&1?3988292384^b>>>1:b>>>1;z[x]=b}return z},lc=new Uint32Array(wu());var mA=(b,z,x,re)=>{const ae=lc,se=re+x;b^=-1;for(let Ee=re;Ee<se;Ee++)b=b>>>8^ae[(b^z[Ee])&255];return b^-1},Qs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Nl={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:$l,_tr_stored_block:bi,_tr_flush_block:Cs,_tr_tally:OA,_tr_align:sA}=ml,{Z_NO_FLUSH:lA,Z_PARTIAL_FLUSH:Dl,Z_FULL_FLUSH:Mc,Z_FINISH:YA,Z_BLOCK:Ku,Z_OK:bA,Z_STREAM_END:Ol,Z_STREAM_ERROR:eA,Z_DATA_ERROR:uc,Z_BUF_ERROR:du,Z_DEFAULT_COMPRESSION:gu,Z_FILTERED:Hc,Z_HUFFMAN_ONLY:Zl,Z_RLE:Er,Z_FIXED:Ia,Z_DEFAULT_STRATEGY:lr,Z_UNKNOWN:$a,Z_DEFLATED:wo}=Nl,uA=9,Ts=15,JA=8,Ps=256+1+29,ui=30,pl=19,Wo=2*Ps+1,as=15,Ya=3,Gi=258,Oi=Gi+Ya+1,Vl=32,os=42,CA=57,HA=69,hs=73,ms=91,cc=103,Ql=113,Xl=666,QA=1,bu=2,dc=3,zu=4,th=3,Kc=(b,z)=>(b.msg=Qs[z],z),Bf=b=>b*2-(b>4?9:0),gc=b=>{let z=b.length;for(;--z>=0;)b[z]=0},jd=b=>{let z,x,re,ae=b.w_size;z=b.hash_size,re=z;do x=b.head[--re],b.head[re]=x>=ae?x-ae:0;while(--z);z=ae,re=z;do x=b.prev[--re],b.prev[re]=x>=ae?x-ae:0;while(--z)};let Gu=(b,z,x)=>(z<<b.hash_shift^x)&b.hash_mask;const Tl=b=>{const z=b.state;let x=z.pending;x>b.avail_out&&(x=b.avail_out),x!==0&&(b.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+x),b.next_out),b.next_out+=x,z.pending_out+=x,b.total_out+=x,b.avail_out-=x,z.pending-=x,z.pending===0&&(z.pending_out=0))},vl=(b,z)=>{Cs(b,b.block_start>=0?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,Tl(b.strm)},Ci=(b,z)=>{b.pending_buf[b.pending++]=z},zc=(b,z)=>{b.pending_buf[b.pending++]=z>>>8&255,b.pending_buf[b.pending++]=z&255},Sf=(b,z,x,re)=>{let ae=b.avail_in;return ae>re&&(ae=re),ae===0?0:(b.avail_in-=ae,z.set(b.input.subarray(b.next_in,b.next_in+ae),x),b.state.wrap===1?b.adler=ti(b.adler,z,ae,x):b.state.wrap===2&&(b.adler=mA(b.adler,z,ae,x)),b.next_in+=ae,b.total_in+=ae,ae)},yf=(b,z)=>{let x=b.max_chain_length,re=b.strstart,ae,se,Ee=b.prev_length,Se=b.nice_match;const xe=b.strstart>b.w_size-Oi?b.strstart-(b.w_size-Oi):0,Ne=b.window,We=b.w_mask,At=b.prev,mt=b.strstart+Gi;let $e=Ne[re+Ee-1],Mt=Ne[re+Ee];b.prev_length>=b.good_match&&(x>>=2),Se>b.lookahead&&(Se=b.lookahead);do if(ae=z,!(Ne[ae+Ee]!==Mt||Ne[ae+Ee-1]!==$e||Ne[ae]!==Ne[re]||Ne[++ae]!==Ne[re+1])){re+=2,ae++;do;while(Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&re<mt);if(se=Gi-(mt-re),re=mt-Gi,se>Ee){if(b.match_start=z,Ee=se,se>=Se)break;$e=Ne[re+Ee-1],Mt=Ne[re+Ee]}}while((z=At[z&We])>xe&&--x!==0);return Ee<=b.lookahead?Ee:b.lookahead},Gc=b=>{const z=b.w_size;let x,re,ae;do{if(re=b.window_size-b.lookahead-b.strstart,b.strstart>=z+(z-Oi)&&(b.window.set(b.window.subarray(z,z+z-re),0),b.match_start-=z,b.strstart-=z,b.block_start-=z,b.insert>b.strstart&&(b.insert=b.strstart),jd(b),re+=z),b.strm.avail_in===0)break;if(x=Sf(b.strm,b.window,b.strstart+b.lookahead,re),b.lookahead+=x,b.lookahead+b.insert>=Ya)for(ae=b.strstart-b.insert,b.ins_h=b.window[ae],b.ins_h=Gu(b,b.ins_h,b.window[ae+1]);b.insert&&(b.ins_h=Gu(b,b.ins_h,b.window[ae+Ya-1]),b.prev[ae&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=ae,ae++,b.insert--,!(b.lookahead+b.insert<Ya)););}while(b.lookahead<Oi&&b.strm.avail_in!==0)},gd=(b,z)=>{let x=b.pending_buf_size-5>b.w_size?b.w_size:b.pending_buf_size-5,re,ae,se,Ee=0,Se=b.strm.avail_in;do{if(re=65535,se=b.bi_valid+42>>3,b.strm.avail_out<se||(se=b.strm.avail_out-se,ae=b.strstart-b.block_start,re>ae+b.strm.avail_in&&(re=ae+b.strm.avail_in),re>se&&(re=se),re<x&&(re===0&&z!==YA||z===lA||re!==ae+b.strm.avail_in)))break;Ee=z===YA&&re===ae+b.strm.avail_in?1:0,bi(b,0,0,Ee),b.pending_buf[b.pending-4]=re,b.pending_buf[b.pending-3]=re>>8,b.pending_buf[b.pending-2]=~re,b.pending_buf[b.pending-1]=~re>>8,Tl(b.strm),ae&&(ae>re&&(ae=re),b.strm.output.set(b.window.subarray(b.block_start,b.block_start+ae),b.strm.next_out),b.strm.next_out+=ae,b.strm.avail_out-=ae,b.strm.total_out+=ae,b.block_start+=ae,re-=ae),re&&(Sf(b.strm,b.strm.output,b.strm.next_out,re),b.strm.next_out+=re,b.strm.avail_out-=re,b.strm.total_out+=re)}while(Ee===0);return Se-=b.strm.avail_in,Se&&(Se>=b.w_size?(b.matches=2,b.window.set(b.strm.input.subarray(b.strm.next_in-b.w_size,b.strm.next_in),0),b.strstart=b.w_size,b.insert=b.strstart):(b.window_size-b.strstart<=Se&&(b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,b.insert>b.strstart&&(b.insert=b.strstart)),b.window.set(b.strm.input.subarray(b.strm.next_in-Se,b.strm.next_in),b.strstart),b.strstart+=Se,b.insert+=Se>b.w_size-b.insert?b.w_size-b.insert:Se),b.block_start=b.strstart),b.high_water<b.strstart&&(b.high_water=b.strstart),Ee?zu:z!==lA&&z!==YA&&b.strm.avail_in===0&&b.strstart===b.block_start?bu:(se=b.window_size-b.strstart,b.strm.avail_in>se&&b.block_start>=b.w_size&&(b.block_start-=b.w_size,b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,se+=b.w_size,b.insert>b.strstart&&(b.insert=b.strstart)),se>b.strm.avail_in&&(se=b.strm.avail_in),se&&(Sf(b.strm,b.window,b.strstart,se),b.strstart+=se,b.insert+=se>b.w_size-b.insert?b.w_size-b.insert:se),b.high_water<b.strstart&&(b.high_water=b.strstart),se=b.bi_valid+42>>3,se=b.pending_buf_size-se>65535?65535:b.pending_buf_size-se,x=se>b.w_size?b.w_size:se,ae=b.strstart-b.block_start,(ae>=x||(ae||z===YA)&&z!==lA&&b.strm.avail_in===0&&ae<=se)&&(re=ae>se?se:ae,Ee=z===YA&&b.strm.avail_in===0&&re===ae?1:0,bi(b,b.block_start,re,Ee),b.block_start+=re,Tl(b.strm)),Ee?dc:QA)},yg=(b,z)=>{let x,re;for(;;){if(b.lookahead<Oi){if(Gc(b),b.lookahead<Oi&&z===lA)return QA;if(b.lookahead===0)break}if(x=0,b.lookahead>=Ya&&(b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),x!==0&&b.strstart-x<=b.w_size-Oi&&(b.match_length=yf(b,x)),b.match_length>=Ya)if(re=OA(b,b.strstart-b.match_start,b.match_length-Ya),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=Ya){b.match_length--;do b.strstart++,b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart;while(--b.match_length!==0);b.strstart++}else b.strstart+=b.match_length,b.match_length=0,b.ins_h=b.window[b.strstart],b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+1]);else re=OA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(re&&(vl(b,!1),b.strm.avail_out===0))return QA}return b.insert=b.strstart<Ya-1?b.strstart:Ya-1,z===YA?(vl(b,!0),b.strm.avail_out===0?dc:zu):b.sym_next&&(vl(b,!1),b.strm.avail_out===0)?QA:bu},$c=(b,z)=>{let x,re,ae;for(;;){if(b.lookahead<Oi){if(Gc(b),b.lookahead<Oi&&z===lA)return QA;if(b.lookahead===0)break}if(x=0,b.lookahead>=Ya&&(b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),b.prev_length=b.match_length,b.prev_match=b.match_start,b.match_length=Ya-1,x!==0&&b.prev_length<b.max_lazy_match&&b.strstart-x<=b.w_size-Oi&&(b.match_length=yf(b,x),b.match_length<=5&&(b.strategy===Hc||b.match_length===Ya&&b.strstart-b.match_start>4096)&&(b.match_length=Ya-1)),b.prev_length>=Ya&&b.match_length<=b.prev_length){ae=b.strstart+b.lookahead-Ya,re=OA(b,b.strstart-1-b.prev_match,b.prev_length-Ya),b.lookahead-=b.prev_length-1,b.prev_length-=2;do++b.strstart<=ae&&(b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart);while(--b.prev_length!==0);if(b.match_available=0,b.match_length=Ya-1,b.strstart++,re&&(vl(b,!1),b.strm.avail_out===0))return QA}else if(b.match_available){if(re=OA(b,0,b.window[b.strstart-1]),re&&vl(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return QA}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(re=OA(b,0,b.window[b.strstart-1]),b.match_available=0),b.insert=b.strstart<Ya-1?b.strstart:Ya-1,z===YA?(vl(b,!0),b.strm.avail_out===0?dc:zu):b.sym_next&&(vl(b,!1),b.strm.avail_out===0)?QA:bu},nh=(b,z)=>{let x,re,ae,se;const Ee=b.window;for(;;){if(b.lookahead<=Gi){if(Gc(b),b.lookahead<=Gi&&z===lA)return QA;if(b.lookahead===0)break}if(b.match_length=0,b.lookahead>=Ya&&b.strstart>0&&(ae=b.strstart-1,re=Ee[ae],re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae])){se=b.strstart+Gi;do;while(re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&ae<se);b.match_length=Gi-(se-ae),b.match_length>b.lookahead&&(b.match_length=b.lookahead)}if(b.match_length>=Ya?(x=OA(b,1,b.match_length-Ya),b.lookahead-=b.match_length,b.strstart+=b.match_length,b.match_length=0):(x=OA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++),x&&(vl(b,!1),b.strm.avail_out===0))return QA}return b.insert=0,z===YA?(vl(b,!0),b.strm.avail_out===0?dc:zu):b.sym_next&&(vl(b,!1),b.strm.avail_out===0)?QA:bu},rh=(b,z)=>{let x;for(;;){if(b.lookahead===0&&(Gc(b),b.lookahead===0)){if(z===lA)return QA;break}if(b.match_length=0,x=OA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++,x&&(vl(b,!1),b.strm.avail_out===0))return QA}return b.insert=0,z===YA?(vl(b,!0),b.strm.avail_out===0?dc:zu):b.sym_next&&(vl(b,!1),b.strm.avail_out===0)?QA:bu};function ps(b,z,x,re,ae){this.good_length=b,this.max_lazy=z,this.nice_length=x,this.max_chain=re,this.func=ae}const fd=[new ps(0,0,0,0,gd),new ps(4,4,8,4,yg),new ps(4,5,16,8,yg),new ps(4,6,32,32,yg),new ps(4,4,16,16,$c),new ps(8,16,32,32,$c),new ps(8,16,128,128,$c),new ps(8,32,128,256,$c),new ps(32,128,258,1024,$c),new ps(32,258,258,4096,$c)],ah=b=>{b.window_size=2*b.w_size,gc(b.head),b.max_lazy_match=fd[b.level].max_lazy,b.good_match=fd[b.level].good_length,b.nice_match=fd[b.level].nice_length,b.max_chain_length=fd[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=Ya-1,b.match_available=0,b.ins_h=0};function Ye(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=wo,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Wo*2),this.dyn_dtree=new Uint16Array((2*ui+1)*2),this.bl_tree=new Uint16Array((2*pl+1)*2),gc(this.dyn_ltree),gc(this.dyn_dtree),gc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(as+1),this.heap=new Uint16Array(2*Ps+1),gc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ps+1),gc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const et=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.status!==os&&z.status!==CA&&z.status!==HA&&z.status!==hs&&z.status!==ms&&z.status!==cc&&z.status!==Ql&&z.status!==Xl?1:0},St=b=>{if(et(b))return Kc(b,eA);b.total_in=b.total_out=0,b.data_type=$a;const z=b.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?CA:z.wrap?os:Ql,b.adler=z.wrap===2?0:1,z.last_flush=-2,$l(z),bA},It=b=>{const z=St(b);return z===bA&&ah(b.state),z},Gt=(b,z)=>et(b)||b.state.wrap!==2?eA:(b.state.gzhead=z,bA),$t=(b,z,x,re,ae,se)=>{if(!b)return eA;let Ee=1;if(z===gu&&(z=6),re<0?(Ee=0,re=-re):re>15&&(Ee=2,re-=16),ae<1||ae>uA||x!==wo||re<8||re>15||z<0||z>9||se<0||se>Ia||re===8&&Ee!==1)return Kc(b,eA);re===8&&(re=9);const Se=new Ye;return b.state=Se,Se.strm=b,Se.status=os,Se.wrap=Ee,Se.gzhead=null,Se.w_bits=re,Se.w_size=1<<Se.w_bits,Se.w_mask=Se.w_size-1,Se.hash_bits=ae+7,Se.hash_size=1<<Se.hash_bits,Se.hash_mask=Se.hash_size-1,Se.hash_shift=~~((Se.hash_bits+Ya-1)/Ya),Se.window=new Uint8Array(Se.w_size*2),Se.head=new Uint16Array(Se.hash_size),Se.prev=new Uint16Array(Se.w_size),Se.lit_bufsize=1<<ae+6,Se.pending_buf_size=Se.lit_bufsize*4,Se.pending_buf=new Uint8Array(Se.pending_buf_size),Se.sym_buf=Se.lit_bufsize,Se.sym_end=(Se.lit_bufsize-1)*3,Se.level=z,Se.strategy=se,Se.method=x,It(b)},mn=(b,z)=>$t(b,z,wo,Ts,JA,lr),Bn=(b,z)=>{if(et(b)||z>Ku||z<0)return b?Kc(b,eA):eA;const x=b.state;if(!b.output||b.avail_in!==0&&!b.input||x.status===Xl&&z!==YA)return Kc(b,b.avail_out===0?du:eA);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(Tl(b),b.avail_out===0)return x.last_flush=-1,bA}else if(b.avail_in===0&&Bf(z)<=Bf(re)&&z!==YA)return Kc(b,du);if(x.status===Xl&&b.avail_in!==0)return Kc(b,du);if(x.status===os&&x.wrap===0&&(x.status=Ql),x.status===os){let ae=wo+(x.w_bits-8<<4)<<8,se=-1;if(x.strategy>=Zl||x.level<2?se=0:x.level<6?se=1:x.level===6?se=2:se=3,ae|=se<<6,x.strstart!==0&&(ae|=Vl),ae+=31-ae%31,zc(x,ae),x.strstart!==0&&(zc(x,b.adler>>>16),zc(x,b.adler&65535)),b.adler=1,x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,bA}if(x.status===CA){if(b.adler=0,Ci(x,31),Ci(x,139),Ci(x,8),x.gzhead)Ci(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),Ci(x,x.gzhead.time&255),Ci(x,x.gzhead.time>>8&255),Ci(x,x.gzhead.time>>16&255),Ci(x,x.gzhead.time>>24&255),Ci(x,x.level===9?2:x.strategy>=Zl||x.level<2?4:0),Ci(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Ci(x,x.gzhead.extra.length&255),Ci(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(b.adler=mA(b.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=HA;else if(Ci(x,0),Ci(x,0),Ci(x,0),Ci(x,0),Ci(x,0),Ci(x,x.level===9?2:x.strategy>=Zl||x.level<2?4:0),Ci(x,th),x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,bA}if(x.status===HA){if(x.gzhead.extra){let ae=x.pending,se=(x.gzhead.extra.length&65535)-x.gzindex;for(;x.pending+se>x.pending_buf_size;){let Se=x.pending_buf_size-x.pending;if(x.pending_buf.set(x.gzhead.extra.subarray(x.gzindex,x.gzindex+Se),x.pending),x.pending=x.pending_buf_size,x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex+=Se,Tl(b),x.pending!==0)return x.last_flush=-1,bA;ae=0,se-=Se}let Ee=new Uint8Array(x.gzhead.extra);x.pending_buf.set(Ee.subarray(x.gzindex,x.gzindex+se),x.pending),x.pending+=se,x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex=0}x.status=hs}if(x.status===hs){if(x.gzhead.name){let ae=x.pending,se;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),Tl(b),x.pending!==0)return x.last_flush=-1,bA;ae=0}x.gzindex<x.gzhead.name.length?se=x.gzhead.name.charCodeAt(x.gzindex++)&255:se=0,Ci(x,se)}while(se!==0);x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex=0}x.status=ms}if(x.status===ms){if(x.gzhead.comment){let ae=x.pending,se;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),Tl(b),x.pending!==0)return x.last_flush=-1,bA;ae=0}x.gzindex<x.gzhead.comment.length?se=x.gzhead.comment.charCodeAt(x.gzindex++)&255:se=0,Ci(x,se)}while(se!==0);x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae))}x.status=cc}if(x.status===cc){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(Tl(b),x.pending!==0))return x.last_flush=-1,bA;Ci(x,b.adler&255),Ci(x,b.adler>>8&255),b.adler=0}if(x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,bA}if(b.avail_in!==0||x.lookahead!==0||z!==lA&&x.status!==Xl){let ae=x.level===0?gd(x,z):x.strategy===Zl?rh(x,z):x.strategy===Er?nh(x,z):fd[x.level].func(x,z);if((ae===dc||ae===zu)&&(x.status=Xl),ae===QA||ae===dc)return b.avail_out===0&&(x.last_flush=-1),bA;if(ae===bu&&(z===Dl?sA(x):z!==Ku&&(bi(x,0,0,!1),z===Mc&&(gc(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),Tl(b),b.avail_out===0))return x.last_flush=-1,bA}return z!==YA?bA:x.wrap<=0?Ol:(x.wrap===2?(Ci(x,b.adler&255),Ci(x,b.adler>>8&255),Ci(x,b.adler>>16&255),Ci(x,b.adler>>24&255),Ci(x,b.total_in&255),Ci(x,b.total_in>>8&255),Ci(x,b.total_in>>16&255),Ci(x,b.total_in>>24&255)):(zc(x,b.adler>>>16),zc(x,b.adler&65535)),Tl(b),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?bA:Ol)},dn=b=>{if(et(b))return eA;const z=b.state.status;return b.state=null,z===Ql?Kc(b,uc):bA},Qn=(b,z)=>{let x=z.length;if(et(b))return eA;const re=b.state,ae=re.wrap;if(ae===2||ae===1&&re.status!==os||re.lookahead)return eA;if(ae===1&&(b.adler=ti(b.adler,z,x,0)),re.wrap=0,x>=re.w_size){ae===0&&(gc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let xe=new Uint8Array(re.w_size);xe.set(z.subarray(x-re.w_size,x),0),z=xe,x=re.w_size}const se=b.avail_in,Ee=b.next_in,Se=b.input;for(b.avail_in=x,b.next_in=0,b.input=z,Gc(re);re.lookahead>=Ya;){let xe=re.strstart,Ne=re.lookahead-(Ya-1);do re.ins_h=Gu(re,re.ins_h,re.window[xe+Ya-1]),re.prev[xe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=xe,xe++;while(--Ne);re.strstart=xe,re.lookahead=Ya-1,Gc(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Ya-1,re.match_available=0,b.next_in=Ee,b.input=Se,b.avail_in=se,re.wrap=ae,bA};var Gn=mn,kn=$t,fr=It,or=St,ur=Gt,jr=Bn,Fr=dn,Qr=Qn,_r="pako deflate (from Nodeca project)",Vr={deflateInit:Gn,deflateInit2:kn,deflateReset:fr,deflateResetKeep:or,deflateSetHeader:ur,deflate:jr,deflateEnd:Fr,deflateSetDictionary:Qr,deflateInfo:_r};const wa=(b,z)=>Object.prototype.hasOwnProperty.call(b,z);var Ua=function(b){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const x=z.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(const re in x)wa(x,re)&&(b[re]=x[re])}}return b},ca=b=>{let z=0;for(let re=0,ae=b.length;re<ae;re++)z+=b[re].length;const x=new Uint8Array(z);for(let re=0,ae=0,se=b.length;re<se;re++){let Ee=b[re];x.set(Ee,ae),ae+=Ee.length}return x},Ka={assign:Ua,flattenChunks:ca};let ao=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(b){ao=!1}const Jr=new Uint8Array(256);for(let b=0;b<256;b++)Jr[b]=b>=252?6:b>=248?5:b>=240?4:b>=224?3:b>=192?2:1;Jr[254]=Jr[254]=1;var ga=b=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(b);let z,x,re,ae,se,Ee=b.length,Se=0;for(ae=0;ae<Ee;ae++)x=b.charCodeAt(ae),(x&64512)===55296&&ae+1<Ee&&(re=b.charCodeAt(ae+1),(re&64512)===56320&&(x=65536+(x-55296<<10)+(re-56320),ae++)),Se+=x<128?1:x<2048?2:x<65536?3:4;for(z=new Uint8Array(Se),se=0,ae=0;se<Se;ae++)x=b.charCodeAt(ae),(x&64512)===55296&&ae+1<Ee&&(re=b.charCodeAt(ae+1),(re&64512)===56320&&(x=65536+(x-55296<<10)+(re-56320),ae++)),x<128?z[se++]=x:x<2048?(z[se++]=192|x>>>6,z[se++]=128|x&63):x<65536?(z[se++]=224|x>>>12,z[se++]=128|x>>>6&63,z[se++]=128|x&63):(z[se++]=240|x>>>18,z[se++]=128|x>>>12&63,z[se++]=128|x>>>6&63,z[se++]=128|x&63);return z};const ra=(b,z)=>{if(z<65534&&b.subarray&&ao)return String.fromCharCode.apply(null,b.length===z?b:b.subarray(0,z));let x="";for(let re=0;re<z;re++)x+=String.fromCharCode(b[re]);return x};var $r=(b,z)=>{const x=z||b.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(b.subarray(0,z));let re,ae;const se=new Array(x*2);for(ae=0,re=0;re<x;){let Ee=b[re++];if(Ee<128){se[ae++]=Ee;continue}let Se=Jr[Ee];if(Se>4){se[ae++]=65533,re+=Se-1;continue}for(Ee&=Se===2?31:Se===3?15:7;Se>1&&re<x;)Ee=Ee<<6|b[re++]&63,Se--;if(Se>1){se[ae++]=65533;continue}Ee<65536?se[ae++]=Ee:(Ee-=65536,se[ae++]=55296|Ee>>10&1023,se[ae++]=56320|Ee&1023)}return ra(se,ae)},Aa=(b,z)=>{z=z||b.length,z>b.length&&(z=b.length);let x=z-1;for(;x>=0&&(b[x]&192)===128;)x--;return x<0||x===0?z:x+Jr[b[x]]>z?x:z},Ta={string2buf:ga,buf2string:$r,utf8border:Aa};function So(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var to=So;const Oa=Object.prototype.toString,{Z_NO_FLUSH:uo,Z_SYNC_FLUSH:Io,Z_FULL_FLUSH:Ei,Z_FINISH:$o,Z_OK:Ri,Z_STREAM_END:tA,Z_DEFAULT_COMPRESSION:oo,Z_DEFAULT_STRATEGY:PA,Z_DEFLATED:ni}=Nl;function Fi(b){this.options=Ka.assign({level:oo,method:ni,chunkSize:16384,windowBits:15,memLevel:8,strategy:PA},b||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new to,this.strm.avail_out=0;let x=Vr.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==Ri)throw new Error(Qs[x]);if(z.header&&Vr.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Ta.string2buf(z.dictionary):Oa.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=Vr.deflateSetDictionary(this.strm,re),x!==Ri)throw new Error(Qs[x]);this._dict_set=!0}}Fi.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize;let ae,se;if(this.ended)return!1;for(z===~~z?se=z:se=z===!0?$o:uo,typeof b=="string"?x.input=Ta.string2buf(b):Oa.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){if(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),(se===Io||se===Ei)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(ae=Vr.deflate(x,se),ae===tA)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),ae=Vr.deflateEnd(this.strm),this.onEnd(ae),this.ended=!0,ae===Ri;if(x.avail_out===0){this.onData(x.output);continue}if(se>0&&x.next_out>0){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(x.avail_in===0)break}return!0},Fi.prototype.onData=function(b){this.chunks.push(b)},Fi.prototype.onEnd=function(b){b===Ri&&(this.result=Ka.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function Li(b,z){const x=new Fi(z);if(x.push(b,!0),x.err)throw x.msg||Qs[x.err];return x.result}function $s(b,z){return z=z||{},z.raw=!0,Li(b,z)}function oa(b,z){return z=z||{},z.gzip=!0,Li(b,z)}var ja=Fi,ka=Li,Ba=$s,ri=oa,Sa=Nl,Ja={Deflate:ja,deflate:ka,deflateRaw:Ba,gzip:ri,constants:Sa};const Oo=16209,ko=16191;var Es=function(z,x){let re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt,Sn,cn,qt,Yn,Br,ar,xn,tn,Mn;const Ft=z.state;re=z.next_in,tn=z.input,ae=re+(z.avail_in-5),se=z.next_out,Mn=z.output,Ee=se-(x-z.avail_out),Se=se+(z.avail_out-257),xe=Ft.dmax,Ne=Ft.wsize,We=Ft.whave,At=Ft.wnext,mt=Ft.window,$e=Ft.hold,Mt=Ft.bits,Tt=Ft.lencode,Ht=Ft.distcode,xt=(1<<Ft.lenbits)-1,Sn=(1<<Ft.distbits)-1;e:do{Mt<15&&($e+=tn[re++]<<Mt,Mt+=8,$e+=tn[re++]<<Mt,Mt+=8),cn=Tt[$e&xt];t:for(;;){if(qt=cn>>>24,$e>>>=qt,Mt-=qt,qt=cn>>>16&255,qt===0)Mn[se++]=cn&65535;else if(qt&16){Yn=cn&65535,qt&=15,qt&&(Mt<qt&&($e+=tn[re++]<<Mt,Mt+=8),Yn+=$e&(1<<qt)-1,$e>>>=qt,Mt-=qt),Mt<15&&($e+=tn[re++]<<Mt,Mt+=8,$e+=tn[re++]<<Mt,Mt+=8),cn=Ht[$e&Sn];n:for(;;){if(qt=cn>>>24,$e>>>=qt,Mt-=qt,qt=cn>>>16&255,qt&16){if(Br=cn&65535,qt&=15,Mt<qt&&($e+=tn[re++]<<Mt,Mt+=8,Mt<qt&&($e+=tn[re++]<<Mt,Mt+=8)),Br+=$e&(1<<qt)-1,Br>xe){z.msg="invalid distance too far back",Ft.mode=Oo;break e}if($e>>>=qt,Mt-=qt,qt=se-Ee,Br>qt){if(qt=Br-qt,qt>We&&Ft.sane){z.msg="invalid distance too far back",Ft.mode=Oo;break e}if(ar=0,xn=mt,At===0){if(ar+=Ne-qt,qt<Yn){Yn-=qt;do Mn[se++]=mt[ar++];while(--qt);ar=se-Br,xn=Mn}}else if(At<qt){if(ar+=Ne+At-qt,qt-=At,qt<Yn){Yn-=qt;do Mn[se++]=mt[ar++];while(--qt);if(ar=0,At<Yn){qt=At,Yn-=qt;do Mn[se++]=mt[ar++];while(--qt);ar=se-Br,xn=Mn}}}else if(ar+=At-qt,qt<Yn){Yn-=qt;do Mn[se++]=mt[ar++];while(--qt);ar=se-Br,xn=Mn}for(;Yn>2;)Mn[se++]=xn[ar++],Mn[se++]=xn[ar++],Mn[se++]=xn[ar++],Yn-=3;Yn&&(Mn[se++]=xn[ar++],Yn>1&&(Mn[se++]=xn[ar++]))}else{ar=se-Br;do Mn[se++]=Mn[ar++],Mn[se++]=Mn[ar++],Mn[se++]=Mn[ar++],Yn-=3;while(Yn>2);Yn&&(Mn[se++]=Mn[ar++],Yn>1&&(Mn[se++]=Mn[ar++]))}}else if(qt&64){z.msg="invalid distance code",Ft.mode=Oo;break e}else{cn=Ht[(cn&65535)+($e&(1<<qt)-1)];continue n}break}}else if(qt&64)if(qt&32){Ft.mode=ko;break e}else{z.msg="invalid literal/length code",Ft.mode=Oo;break e}else{cn=Tt[(cn&65535)+($e&(1<<qt)-1)];continue t}break}}while(re<ae&&se<Se);Yn=Mt>>3,re-=Yn,Mt-=Yn<<3,$e&=(1<<Mt)-1,z.next_in=re,z.next_out=se,z.avail_in=re<ae?5+(ae-re):5-(re-ae),z.avail_out=se<Se?257+(Se-se):257-(se-Se),Ft.hold=$e,Ft.bits=Mt};const pA=15,kl=852,vA=592,sl=0,Kr=1,ks=2,fc=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ai=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Uo=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),$i=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var Qi=(b,z,x,re,ae,se,Ee,Se)=>{const xe=Se.bits;let Ne=0,We=0,At=0,mt=0,$e=0,Mt=0,Tt=0,Ht=0,xt=0,Sn=0,cn,qt,Yn,Br,ar,xn=null,tn;const Mn=new Uint16Array(pA+1),Ft=new Uint16Array(pA+1);let zt=null,pn,gn,qn;for(Ne=0;Ne<=pA;Ne++)Mn[Ne]=0;for(We=0;We<re;We++)Mn[z[x+We]]++;for($e=xe,mt=pA;mt>=1&&Mn[mt]===0;mt--);if($e>mt&&($e=mt),mt===0)return ae[se++]=1<<24|64<<16|0,ae[se++]=1<<24|64<<16|0,Se.bits=1,0;for(At=1;At<mt&&Mn[At]===0;At++);for($e<At&&($e=At),Ht=1,Ne=1;Ne<=pA;Ne++)if(Ht<<=1,Ht-=Mn[Ne],Ht<0)return-1;if(Ht>0&&(b===sl||mt!==1))return-1;for(Ft[1]=0,Ne=1;Ne<pA;Ne++)Ft[Ne+1]=Ft[Ne]+Mn[Ne];for(We=0;We<re;We++)z[x+We]!==0&&(Ee[Ft[z[x+We]]++]=We);if(b===sl?(xn=zt=Ee,tn=20):b===Kr?(xn=fc,zt=ai,tn=257):(xn=Uo,zt=$i,tn=0),Sn=0,We=0,Ne=At,ar=se,Mt=$e,Tt=0,Yn=-1,xt=1<<$e,Br=xt-1,b===Kr&&xt>kl||b===ks&&xt>vA)return 1;for(;;){pn=Ne-Tt,Ee[We]+1<tn?(gn=0,qn=Ee[We]):Ee[We]>=tn?(gn=zt[Ee[We]-tn],qn=xn[Ee[We]-tn]):(gn=96,qn=0),cn=1<<Ne-Tt,qt=1<<Mt,At=qt;do qt-=cn,ae[ar+(Sn>>Tt)+qt]=pn<<24|gn<<16|qn|0;while(qt!==0);for(cn=1<<Ne-1;Sn&cn;)cn>>=1;if(cn!==0?(Sn&=cn-1,Sn+=cn):Sn=0,We++,--Mn[Ne]===0){if(Ne===mt)break;Ne=z[x+Ee[We]]}if(Ne>$e&&(Sn&Br)!==Yn){for(Tt===0&&(Tt=$e),ar+=At,Mt=Ne-Tt,Ht=1<<Mt;Mt+Tt<mt&&(Ht-=Mn[Mt+Tt],!(Ht<=0));)Mt++,Ht<<=1;if(xt+=1<<Mt,b===Kr&&xt>kl||b===ks&&xt>vA)return 1;Yn=Sn&Br,ae[Yn]=$e<<24|Mt<<16|ar-se|0}}return Sn!==0&&(ae[ar+Sn]=Ne-Tt<<24|64<<16|0),Se.bits=$e,0};const yo=0,Fs=1,vs=2,{Z_FINISH:Zs,Z_BLOCK:Rs,Z_TREES:js,Z_OK:Bl,Z_STREAM_END:Cu,Z_NEED_DICT:Sl,Z_STREAM_ERROR:nA,Z_DATA_ERROR:is,Z_MEM_ERROR:EA,Z_BUF_ERROR:Zi,Z_DEFLATED:Yl}=Nl,fu=16180,Pu=16181,Jl=16182,hd=16183,Md=16184,Ro=16185,Ii=16186,As=16187,Hi=16188,ss=16189,Bs=16190,rA=16191,ql=16192,md=16193,pd=16194,Hd=16195,wg=16196,bg=16197,Zc=16198,eu=16199,hc=16200,Cg=16201,Kd=16202,Pg=16203,zd=16204,mc=16205,Gd=16206,wf=16207,Eg=16208,hi=16209,$d=16210,bf=16211,oh=852,Cf=592,xg=15,Zd=b=>(b>>>24&255)+(b>>>8&65280)+((b&65280)<<8)+((b&255)<<24);function Pf(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const $u=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.mode<fu||z.mode>bf?1:0},_g=b=>{if($u(b))return nA;const z=b.state;return b.total_in=b.total_out=z.total=0,b.msg="",z.wrap&&(b.adler=z.wrap&1),z.mode=fu,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(oh),z.distcode=z.distdyn=new Int32Array(Cf),z.sane=1,z.back=-1,Bl},Wd=b=>{if($u(b))return nA;const z=b.state;return z.wsize=0,z.whave=0,z.wnext=0,_g(b)},Ef=(b,z)=>{let x;if($u(b))return nA;const re=b.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?nA:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,Wd(b))},vd=(b,z)=>{if(!b)return nA;const x=new Pf;b.state=x,x.strm=b,x.window=null,x.mode=fu;const re=Ef(b,z);return re!==Bl&&(b.state=null),re},Vd=b=>vd(b,xg);let ls=!0,Eu,Xd;const ih=b=>{if(ls){Eu=new Int32Array(512),Xd=new Int32Array(32);let z=0;for(;z<144;)b.lens[z++]=8;for(;z<256;)b.lens[z++]=9;for(;z<280;)b.lens[z++]=7;for(;z<288;)b.lens[z++]=8;for(Qi(Fs,b.lens,0,288,Eu,0,b.work,{bits:9}),z=0;z<32;)b.lens[z++]=5;Qi(vs,b.lens,0,32,Xd,0,b.work,{bits:5}),ls=!1}b.lencode=Eu,b.lenbits=9,b.distcode=Xd,b.distbits=5},ci=(b,z,x,re)=>{let ae;const se=b.state;return se.window===null&&(se.wsize=1<<se.wbits,se.wnext=0,se.whave=0,se.window=new Uint8Array(se.wsize)),re>=se.wsize?(se.window.set(z.subarray(x-se.wsize,x),0),se.wnext=0,se.whave=se.wsize):(ae=se.wsize-se.wnext,ae>re&&(ae=re),se.window.set(z.subarray(x-re,x-re+ae),se.wnext),re-=ae,re?(se.window.set(z.subarray(x-re,x),0),se.wnext=re,se.whave=se.wsize):(se.wnext+=ae,se.wnext===se.wsize&&(se.wnext=0),se.whave<se.wsize&&(se.whave+=ae))),0},Ti=(b,z)=>{let x,re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht=0,xt,Sn,cn,qt,Yn,Br,ar,xn;const tn=new Uint8Array(4);let Mn,Ft;const zt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if($u(b)||!b.output||!b.input&&b.avail_in!==0)return nA;x=b.state,x.mode===rA&&(x.mode=ql),Ee=b.next_out,ae=b.output,xe=b.avail_out,se=b.next_in,re=b.input,Se=b.avail_in,Ne=x.hold,We=x.bits,At=Se,mt=xe,xn=Bl;e:for(;;)switch(x.mode){case fu:if(x.wrap===0){x.mode=ql;break}for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(x.wrap&2&&Ne===35615){x.wbits===0&&(x.wbits=15),x.check=0,tn[0]=Ne&255,tn[1]=Ne>>>8&255,x.check=mA(x.check,tn,2,0),Ne=0,We=0,x.mode=Pu;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Ne&255)<<8)+(Ne>>8))%31){b.msg="incorrect header check",x.mode=hi;break}if((Ne&15)!==Yl){b.msg="unknown compression method",x.mode=hi;break}if(Ne>>>=4,We-=4,ar=(Ne&15)+8,x.wbits===0&&(x.wbits=ar),ar>15||ar>x.wbits){b.msg="invalid window size",x.mode=hi;break}x.dmax=1<<x.wbits,x.flags=0,b.adler=x.check=1,x.mode=Ne&512?ss:rA,Ne=0,We=0;break;case Pu:for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(x.flags=Ne,(x.flags&255)!==Yl){b.msg="unknown compression method",x.mode=hi;break}if(x.flags&57344){b.msg="unknown header flags set",x.mode=hi;break}x.head&&(x.head.text=Ne>>8&1),x.flags&512&&x.wrap&4&&(tn[0]=Ne&255,tn[1]=Ne>>>8&255,x.check=mA(x.check,tn,2,0)),Ne=0,We=0,x.mode=Jl;case Jl:for(;We<32;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}x.head&&(x.head.time=Ne),x.flags&512&&x.wrap&4&&(tn[0]=Ne&255,tn[1]=Ne>>>8&255,tn[2]=Ne>>>16&255,tn[3]=Ne>>>24&255,x.check=mA(x.check,tn,4,0)),Ne=0,We=0,x.mode=hd;case hd:for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}x.head&&(x.head.xflags=Ne&255,x.head.os=Ne>>8),x.flags&512&&x.wrap&4&&(tn[0]=Ne&255,tn[1]=Ne>>>8&255,x.check=mA(x.check,tn,2,0)),Ne=0,We=0,x.mode=Md;case Md:if(x.flags&1024){for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}x.length=Ne,x.head&&(x.head.extra_len=Ne),x.flags&512&&x.wrap&4&&(tn[0]=Ne&255,tn[1]=Ne>>>8&255,x.check=mA(x.check,tn,2,0)),Ne=0,We=0}else x.head&&(x.head.extra=null);x.mode=Ro;case Ro:if(x.flags&1024&&($e=x.length,$e>Se&&($e=Se),$e&&(x.head&&(ar=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Uint8Array(x.head.extra_len)),x.head.extra.set(re.subarray(se,se+$e),ar)),x.flags&512&&x.wrap&4&&(x.check=mA(x.check,re,$e,se)),Se-=$e,se+=$e,x.length-=$e),x.length))break e;x.length=0,x.mode=Ii;case Ii:if(x.flags&2048){if(Se===0)break e;$e=0;do ar=re[se+$e++],x.head&&ar&&x.length<65536&&(x.head.name+=String.fromCharCode(ar));while(ar&&$e<Se);if(x.flags&512&&x.wrap&4&&(x.check=mA(x.check,re,$e,se)),Se-=$e,se+=$e,ar)break e}else x.head&&(x.head.name=null);x.length=0,x.mode=As;case As:if(x.flags&4096){if(Se===0)break e;$e=0;do ar=re[se+$e++],x.head&&ar&&x.length<65536&&(x.head.comment+=String.fromCharCode(ar));while(ar&&$e<Se);if(x.flags&512&&x.wrap&4&&(x.check=mA(x.check,re,$e,se)),Se-=$e,se+=$e,ar)break e}else x.head&&(x.head.comment=null);x.mode=Hi;case Hi:if(x.flags&512){for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(x.wrap&4&&Ne!==(x.check&65535)){b.msg="header crc mismatch",x.mode=hi;break}Ne=0,We=0}x.head&&(x.head.hcrc=x.flags>>9&1,x.head.done=!0),b.adler=x.check=0,x.mode=rA;break;case ss:for(;We<32;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}b.adler=x.check=Zd(Ne),Ne=0,We=0,x.mode=Bs;case Bs:if(x.havedict===0)return b.next_out=Ee,b.avail_out=xe,b.next_in=se,b.avail_in=Se,x.hold=Ne,x.bits=We,Sl;b.adler=x.check=1,x.mode=rA;case rA:if(z===Rs||z===js)break e;case ql:if(x.last){Ne>>>=We&7,We-=We&7,x.mode=Gd;break}for(;We<3;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}switch(x.last=Ne&1,Ne>>>=1,We-=1,Ne&3){case 0:x.mode=md;break;case 1:if(ih(x),x.mode=eu,z===js){Ne>>>=2,We-=2;break e}break;case 2:x.mode=wg;break;case 3:b.msg="invalid block type",x.mode=hi}Ne>>>=2,We-=2;break;case md:for(Ne>>>=We&7,We-=We&7;We<32;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if((Ne&65535)!==(Ne>>>16^65535)){b.msg="invalid stored block lengths",x.mode=hi;break}if(x.length=Ne&65535,Ne=0,We=0,x.mode=pd,z===js)break e;case pd:x.mode=Hd;case Hd:if($e=x.length,$e){if($e>Se&&($e=Se),$e>xe&&($e=xe),$e===0)break e;ae.set(re.subarray(se,se+$e),Ee),Se-=$e,se+=$e,xe-=$e,Ee+=$e,x.length-=$e;break}x.mode=rA;break;case wg:for(;We<14;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(x.nlen=(Ne&31)+257,Ne>>>=5,We-=5,x.ndist=(Ne&31)+1,Ne>>>=5,We-=5,x.ncode=(Ne&15)+4,Ne>>>=4,We-=4,x.nlen>286||x.ndist>30){b.msg="too many length or distance symbols",x.mode=hi;break}x.have=0,x.mode=bg;case bg:for(;x.have<x.ncode;){for(;We<3;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}x.lens[zt[x.have++]]=Ne&7,Ne>>>=3,We-=3}for(;x.have<19;)x.lens[zt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Mn={bits:x.lenbits},xn=Qi(yo,x.lens,0,19,x.lencode,0,x.work,Mn),x.lenbits=Mn.bits,xn){b.msg="invalid code lengths set",x.mode=hi;break}x.have=0,x.mode=Zc;case Zc:for(;x.have<x.nlen+x.ndist;){for(;Ht=x.lencode[Ne&(1<<x.lenbits)-1],xt=Ht>>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(cn<16)Ne>>>=xt,We-=xt,x.lens[x.have++]=cn;else{if(cn===16){for(Ft=xt+2;We<Ft;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(Ne>>>=xt,We-=xt,x.have===0){b.msg="invalid bit length repeat",x.mode=hi;break}ar=x.lens[x.have-1],$e=3+(Ne&3),Ne>>>=2,We-=2}else if(cn===17){for(Ft=xt+3;We<Ft;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}Ne>>>=xt,We-=xt,ar=0,$e=3+(Ne&7),Ne>>>=3,We-=3}else{for(Ft=xt+7;We<Ft;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}Ne>>>=xt,We-=xt,ar=0,$e=11+(Ne&127),Ne>>>=7,We-=7}if(x.have+$e>x.nlen+x.ndist){b.msg="invalid bit length repeat",x.mode=hi;break}for(;$e--;)x.lens[x.have++]=ar}}if(x.mode===hi)break;if(x.lens[256]===0){b.msg="invalid code -- missing end-of-block",x.mode=hi;break}if(x.lenbits=9,Mn={bits:x.lenbits},xn=Qi(Fs,x.lens,0,x.nlen,x.lencode,0,x.work,Mn),x.lenbits=Mn.bits,xn){b.msg="invalid literal/lengths set",x.mode=hi;break}if(x.distbits=6,x.distcode=x.distdyn,Mn={bits:x.distbits},xn=Qi(vs,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Mn),x.distbits=Mn.bits,xn){b.msg="invalid distances set",x.mode=hi;break}if(x.mode=eu,z===js)break e;case eu:x.mode=hc;case hc:if(Se>=6&&xe>=258){b.next_out=Ee,b.avail_out=xe,b.next_in=se,b.avail_in=Se,x.hold=Ne,x.bits=We,Es(b,mt),Ee=b.next_out,ae=b.output,xe=b.avail_out,se=b.next_in,re=b.input,Se=b.avail_in,Ne=x.hold,We=x.bits,x.mode===rA&&(x.back=-1);break}for(x.back=0;Ht=x.lencode[Ne&(1<<x.lenbits)-1],xt=Ht>>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(Sn&&!(Sn&240)){for(qt=xt,Yn=Sn,Br=cn;Ht=x.lencode[Br+((Ne&(1<<qt+Yn)-1)>>qt)],xt=Ht>>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(qt+xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}Ne>>>=qt,We-=qt,x.back+=qt}if(Ne>>>=xt,We-=xt,x.back+=xt,x.length=cn,Sn===0){x.mode=mc;break}if(Sn&32){x.back=-1,x.mode=rA;break}if(Sn&64){b.msg="invalid literal/length code",x.mode=hi;break}x.extra=Sn&15,x.mode=Cg;case Cg:if(x.extra){for(Ft=x.extra;We<Ft;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}x.length+=Ne&(1<<x.extra)-1,Ne>>>=x.extra,We-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=Kd;case Kd:for(;Ht=x.distcode[Ne&(1<<x.distbits)-1],xt=Ht>>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(!(Sn&240)){for(qt=xt,Yn=Sn,Br=cn;Ht=x.distcode[Br+((Ne&(1<<qt+Yn)-1)>>qt)],xt=Ht>>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(qt+xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}Ne>>>=qt,We-=qt,x.back+=qt}if(Ne>>>=xt,We-=xt,x.back+=xt,Sn&64){b.msg="invalid distance code",x.mode=hi;break}x.offset=cn,x.extra=Sn&15,x.mode=Pg;case Pg:if(x.extra){for(Ft=x.extra;We<Ft;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}x.offset+=Ne&(1<<x.extra)-1,Ne>>>=x.extra,We-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){b.msg="invalid distance too far back",x.mode=hi;break}x.mode=zd;case zd:if(xe===0)break e;if($e=mt-xe,x.offset>$e){if($e=x.offset-$e,$e>x.whave&&x.sane){b.msg="invalid distance too far back",x.mode=hi;break}$e>x.wnext?($e-=x.wnext,Mt=x.wsize-$e):Mt=x.wnext-$e,$e>x.length&&($e=x.length),Tt=x.window}else Tt=ae,Mt=Ee-x.offset,$e=x.length;$e>xe&&($e=xe),xe-=$e,x.length-=$e;do ae[Ee++]=Tt[Mt++];while(--$e);x.length===0&&(x.mode=hc);break;case mc:if(xe===0)break e;ae[Ee++]=x.length,xe--,x.mode=hc;break;case Gd:if(x.wrap){for(;We<32;){if(Se===0)break e;Se--,Ne|=re[se++]<<We,We+=8}if(mt-=xe,b.total_out+=mt,x.total+=mt,x.wrap&4&&mt&&(b.adler=x.check=x.flags?mA(x.check,ae,mt,Ee-mt):ti(x.check,ae,mt,Ee-mt)),mt=xe,x.wrap&4&&(x.flags?Ne:Zd(Ne))!==x.check){b.msg="incorrect data check",x.mode=hi;break}Ne=0,We=0}x.mode=wf;case wf:if(x.wrap&&x.flags){for(;We<32;){if(Se===0)break e;Se--,Ne+=re[se++]<<We,We+=8}if(x.wrap&4&&Ne!==(x.total&4294967295)){b.msg="incorrect length check",x.mode=hi;break}Ne=0,We=0}x.mode=Eg;case Eg:xn=Cu;break e;case hi:xn=is;break e;case $d:return EA;case bf:default:return nA}return b.next_out=Ee,b.avail_out=xe,b.next_in=se,b.avail_in=Se,x.hold=Ne,x.bits=We,(x.wsize||mt!==b.avail_out&&x.mode<hi&&(x.mode<Gd||z!==Zs))&&ci(b,b.output,b.next_out,mt-b.avail_out),At-=b.avail_in,mt-=b.avail_out,b.total_in+=At,b.total_out+=mt,x.total+=mt,x.wrap&4&&mt&&(b.adler=x.check=x.flags?mA(x.check,ae,mt,b.next_out-mt):ti(x.check,ae,mt,b.next_out-mt)),b.data_type=x.bits+(x.last?64:0)+(x.mode===rA?128:0)+(x.mode===eu||x.mode===pd?256:0),(At===0&&mt===0||z===Zs)&&xn===Bl&&(xn=Zi),xn},Rl=b=>{if($u(b))return nA;let z=b.state;return z.window&&(z.window=null),b.state=null,Bl},Zu=(b,z)=>{if($u(b))return nA;const x=b.state;return x.wrap&2?(x.head=z,z.done=!1,Bl):nA},Wu=(b,z)=>{const x=z.length;let re,ae,se;return $u(b)||(re=b.state,re.wrap!==0&&re.mode!==Bs)?nA:re.mode===Bs&&(ae=1,ae=ti(ae,z,x,0),ae!==re.check)?is:(se=ci(b,z,x,x),se?(re.mode=$d,EA):(re.havedict=1,Bl))};var Ff=Wd,Lg=Ef,Ig=_g,Ug=Vd,Ng=vd,t0=Ti,n0=Rl,r0=Zu,a0=Wu,Ah="pako inflate (from Nodeca project)",pc={inflateReset:Ff,inflateReset2:Lg,inflateResetKeep:Ig,inflateInit:Ug,inflateInit2:Ng,inflate:t0,inflateEnd:n0,inflateGetHeader:r0,inflateSetDictionary:a0,inflateInfo:Ah};function Sm(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ym=Sm;const o0=Object.prototype.toString,{Z_NO_FLUSH:xf,Z_FINISH:_f,Z_OK:Dg,Z_STREAM_END:Lf,Z_NEED_DICT:Og,Z_STREAM_ERROR:i0,Z_DATA_ERROR:sh,Z_MEM_ERROR:A0}=Nl;function Qg(b){this.options=Ka.assign({chunkSize:1024*64,windowBits:15,to:""},b||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(b&&b.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new to,this.strm.avail_out=0;let x=pc.inflateInit2(this.strm,z.windowBits);if(x!==Dg)throw new Error(Qs[x]);if(this.header=new ym,pc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Ta.string2buf(z.dictionary):o0.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=pc.inflateSetDictionary(this.strm,z.dictionary),x!==Dg)))throw new Error(Qs[x])}Qg.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize,ae=this.options.dictionary;let se,Ee,Se;if(this.ended)return!1;for(z===~~z?Ee=z:Ee=z===!0?_f:xf,o0.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){for(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),se=pc.inflate(x,Ee),se===Og&&ae&&(se=pc.inflateSetDictionary(x,ae),se===Dg?se=pc.inflate(x,Ee):se===sh&&(se=Og));x.avail_in>0&&se===Lf&&x.state.wrap>0&&b[x.next_in]!==0;)pc.inflateReset(x),se=pc.inflate(x,Ee);switch(se){case i0:case sh:case Og:case A0:return this.onEnd(se),this.ended=!0,!1}if(Se=x.avail_out,x.next_out&&(x.avail_out===0||se===Lf))if(this.options.to==="string"){let xe=Ta.utf8border(x.output,x.next_out),Ne=x.next_out-xe,We=Ta.buf2string(x.output,xe);x.next_out=Ne,x.avail_out=re-Ne,Ne&&x.output.set(x.output.subarray(xe,xe+Ne),0),this.onData(We)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(se===Dg&&Se===0)){if(se===Lf)return se=pc.inflateEnd(this.strm),this.onEnd(se),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},Qg.prototype.onData=function(b){this.chunks.push(b)},Qg.prototype.onEnd=function(b){b===Dg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ka.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function Yd(b,z){const x=new Qg(z);if(x.push(b),x.err)throw x.msg||Qs[x.err];return x.result}function s0(b,z){return z=z||{},z.raw=!0,Yd(b,z)}var l0=Qg,wm=Yd,bm=s0,u0=Yd,Jd=Nl,lh={Inflate:l0,inflate:wm,inflateRaw:bm,ungzip:u0,constants:Jd};const{Deflate:If,deflate:Cm,deflateRaw:Pm,gzip:Em}=Ja,{Inflate:Fm,inflate:c0,inflateRaw:uh,ungzip:d0}=lh;var g0=If,ch=Cm,f0=Pm,h0=Em,dh=Fm,Tg=c0,Uf=uh,m0=d0,p0=Nl,Pp={Deflate:g0,deflate:ch,deflateRaw:f0,gzip:h0,Inflate:dh,inflate:Tg,inflateRaw:Uf,ungzip:m0,constants:p0};const gh=[];for(let b=0;b<256;b++){let z=b;for(let x=0;x<8;x++)z&1?z=3988292384^z>>>1:z=z>>>1;gh[b]=z}const fh=4294967295;function xm(b,z,x){let re=b;for(let ae=0;ae<x;ae++)re=gh[(re^z[ae])&255]^re>>>8;return re}function v0(b,z){return(xm(fh,b,z)^fh)>>>0}function Bd(b,z,x){const re=b.readUint32(),ae=v0(new Uint8Array(b.buffer,b.byteOffset+b.offset-z-4,z),z);if(ae!==re)throw new Error(`CRC mismatch for chunk ${x}. Expected ${re}, found ${ae}`)}function _m(b,z){b.writeUint32(v0(new Uint8Array(b.buffer,b.byteOffset+b.offset-z,z),z))}function qA(b,z,x){for(let re=0;re<x;re++)z[re]=b[re]}function Wc(b,z,x,re){let ae=0;for(;ae<re;ae++)z[ae]=b[ae];for(;ae<x;ae++)z[ae]=b[ae]+z[ae-re]&255}function Sd(b,z,x,re){let ae=0;if(x.length===0)for(;ae<re;ae++)z[ae]=b[ae];else for(;ae<re;ae++)z[ae]=b[ae]+x[ae]&255}function vc(b,z,x,re,ae){let se=0;if(x.length===0){for(;se<ae;se++)z[se]=b[se];for(;se<re;se++)z[se]=b[se]+(z[se-ae]>>1)&255}else{for(;se<ae;se++)z[se]=b[se]+(x[se]>>1)&255;for(;se<re;se++)z[se]=b[se]+(z[se-ae]+x[se]>>1)&255}}function Bc(b,z,x,re,ae){let se=0;if(x.length===0){for(;se<ae;se++)z[se]=b[se];for(;se<re;se++)z[se]=b[se]+z[se-ae]&255}else{for(;se<ae;se++)z[se]=b[se]+x[se]&255;for(;se<re;se++)z[se]=b[se]+kg(z[se-ae],x[se],x[se-ae])&255}}function kg(b,z,x){const re=b+z-x,ae=Math.abs(re-b),se=Math.abs(re-z),Ee=Math.abs(re-x);return ae<=se&&ae<=Ee?b:se<=Ee?z:x}function Sc(b,z,x,re,ae,se){switch(b){case 0:qA(z,x,ae);break;case 1:Wc(z,x,ae,se);break;case 2:Sd(z,x,re,ae);break;case 3:vc(z,x,re,ae,se);break;case 4:Bc(z,x,re,ae,se);break;default:throw new Error(`Unsupported filter: ${b}`)}}const B0=new Uint16Array([255]),S0=new Uint8Array(B0.buffer)[0]===255;function hh(b){const{data:z,width:x,height:re,channels:ae,depth:se}=b,Ee=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],Se=Math.ceil(se/8)*ae,xe=new Uint8Array(re*x*Se);let Ne=0;for(let We=0;We<7;We++){const At=Ee[We],mt=Math.ceil((x-At.x)/At.xStep),$e=Math.ceil((re-At.y)/At.yStep);if(mt<=0||$e<=0)continue;const Mt=mt*Se,Tt=new Uint8Array(Mt);for(let Ht=0;Ht<$e;Ht++){const xt=z[Ne++],Sn=z.subarray(Ne,Ne+Mt);Ne+=Mt;const cn=new Uint8Array(Mt);Sc(xt,Sn,cn,Tt,Mt,Se),Tt.set(cn);for(let qt=0;qt<mt;qt++){const Yn=At.x+qt*At.xStep,Br=At.y+Ht*At.yStep;if(!(Yn>=x||Br>=re))for(let ar=0;ar<Se;ar++)xe[(Br*x+Yn)*Se+ar]=cn[qt*Se+ar]}}}if(se===16){const We=new Uint16Array(xe.buffer);if(S0)for(let At=0;At<We.length;At++)We[At]=Rg(We[At]);return We}else return xe}function Rg(b){return(b&255)<<8|b>>8&255}const y0=new Uint16Array([255]),jg=new Uint8Array(y0.buffer)[0]===255,Um=new Uint8Array(0);function w0(b){const{data:z,width:x,height:re,channels:ae,depth:se}=b,Ee=Math.ceil(se/8)*ae,Se=Math.ceil(se/8*ae*x),xe=new Uint8Array(re*Se);let Ne=Um,We=0,At,mt;for(let $e=0;$e<re;$e++){switch(At=z.subarray(We+1,We+1+Se),mt=xe.subarray($e*Se,($e+1)*Se),z[We]){case 0:qA(At,mt,Se);break;case 1:Wc(At,mt,Se,Ee);break;case 2:Sd(At,mt,Ne,Se);break;case 3:vc(At,mt,Ne,Se,Ee);break;case 4:Bc(At,mt,Ne,Se,Ee);break;default:throw new Error(`Unsupported filter: ${z[We]}`)}Ne=mt,We+=Se+1}if(se===16){const $e=new Uint16Array(xe.buffer);if(jg)for(let Mt=0;Mt<$e.length;Mt++)$e[Mt]=Nm($e[Mt]);return $e}else return xe}function Nm(b){return(b&255)<<8|b>>8&255}const Mg=Uint8Array.of(137,80,78,71,13,10,26,10);function Ep(b){b.writeBytes(Mg)}function Nf(b){if(!Dm(b.readBytes(Mg.length)))throw new Error("wrong PNG signature")}function Dm(b){if(b.length<Mg.length)return!1;for(let z=0;z<Mg.length;z++)if(b[z]!==Mg[z])return!1;return!0}const b0="tEXt",C0=0,P0=new TextDecoder("latin1");function E0(b){if(Df(b),b.length===0||b.length>79)throw new Error("keyword length must be between 1 and 79")}const mh=/^[\u0000-\u00FF]*$/;function Df(b){if(!mh.test(b))throw new Error("invalid latin1 text")}function F0(b,z,x){const re=x0(z);b[re]=_0(z,x-re.length-1)}function Fp(b,z,x){E0(z),Df(x);const re=z.length+1+x.length;b.writeUint32(re),b.writeChars(b0),b.writeChars(z),b.writeByte(C0),b.writeChars(x),writeCrc(b,re+4)}function x0(b){for(b.mark();b.readByte()!==C0;);const z=b.offset;b.reset();const x=P0.decode(b.readBytes(z-b.offset-1));return b.skip(1),E0(x),x}function _0(b,z){return P0.decode(b.readBytes(z))}const tu={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},ph={UNKNOWN:-1,DEFLATE:0},L0={UNKNOWN:-1,ADAPTIVE:0},vh={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Of={NONE:0,BACKGROUND:1,PREVIOUS:2},Hg={SOURCE:0,OVER:1};class Om extends _l{constructor(x,re={}){super(x);Mi(this,"_checkCrc");Mi(this,"_inflator");Mi(this,"_png");Mi(this,"_apng");Mi(this,"_end");Mi(this,"_hasPalette");Mi(this,"_palette");Mi(this,"_hasTransparency");Mi(this,"_transparency");Mi(this,"_compressionMethod");Mi(this,"_filterMethod");Mi(this,"_interlaceMethod");Mi(this,"_colorType");Mi(this,"_isAnimated");Mi(this,"_numberOfFrames");Mi(this,"_numberOfPlays");Mi(this,"_frames");Mi(this,"_writingDataChunks");const{checkCrc:ae=!1}=re;this._checkCrc=ae,this._inflator=new dh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=ph.UNKNOWN,this._filterMethod=L0.UNKNOWN,this._interlaceMethod=vh.UNKNOWN,this._colorType=tu.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Nf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeChunk(x,re)}return this.decodeImage(),this._png}decodeApng(){for(Nf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(x,re)}return this.decodeApngImage(),this._apng}decodeChunk(x,re){const ae=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(x);break;case"IDAT":this.decodeIDAT(x);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(x);break;case"iCCP":this.decodeiCCP(x);break;case b0:F0(this._png.text,this,x);break;case"pHYs":this.decodepHYs();break;default:this.skip(x);break}if(this.offset-ae!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Bd(this,x+4,re):this.skip(4)}decodeApngChunk(x,re){const ae=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(x);break;default:this.decodeChunk(x,re),this.offset=ae+x;break}if(this.offset-ae!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Bd(this,x+4,re):this.skip(4)}decodeIHDR(){const x=this._png;x.width=this.readUint32(),x.height=this.readUint32(),x.depth=Bh(this.readUint8());const re=this.readUint8();this._colorType=re;let ae;switch(re){case tu.GREYSCALE:ae=1;break;case tu.TRUECOLOUR:ae=3;break;case tu.INDEXED_COLOUR:ae=1;break;case tu.GREYSCALE_ALPHA:ae=2;break;case tu.TRUECOLOUR_ALPHA:ae=4;break;case tu.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=ae,this._compressionMethod=this.readUint8(),this._compressionMethod!==ph.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const x={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(x)}decodePLTE(x){if(x%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${x}`);const re=x/3;this._hasPalette=!0;const ae=[];this._palette=ae;for(let se=0;se<re;se++)ae.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(x){this._writingDataChunks=!0;const re=x,ae=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,ae,re)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(x)}decodeFDAT(x){this._writingDataChunks=!0;let re=x,ae=this.offset+this.byteOffset;if(ae+=4,re-=4,this._inflator.push(new Uint8Array(this.buffer,ae,re)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(x)}decodetRNS(x){switch(this._colorType){case tu.GREYSCALE:case tu.TRUECOLOUR:{if(x%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${x}`);if(x/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${x/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(x/2);for(let re=0;re<x/2;re++)this._transparency[re]=this.readUint16();break}case tu.INDEXED_COLOUR:{if(x>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${x} vs ${this._palette.length})`);let re=0;for(;re<x;re++){const ae=this.readByte();this._palette[re].push(ae)}for(;re<this._palette.length;re++)this._palette[re].push(255);break}case tu.UNKNOWN:case tu.GREYSCALE_ALPHA:case tu.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(x){const re=x0(this),ae=this.readUint8();if(ae!==ph.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${ae}`);const se=this.readBytes(x-re.length-2);this._png.iccEmbeddedProfile={name:re,profile:Tg(se)}}decodepHYs(){const x=this.readUint32(),re=this.readUint32(),ae=this.readByte();this._png.resolution={x,y:re,unit:ae}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let x=0;x<this._numberOfFrames;x++){const re={sequenceNumber:this._frames[x].sequenceNumber,delayNumber:this._frames[x].delayNumber,delayDenominator:this._frames[x].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},ae=this._frames.at(x);if(ae){if(ae.data=w0({data:ae.data,width:ae.width,height:ae.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),x===0||ae.xOffset===0&&ae.yOffset===0&&ae.width===this._png.width&&ae.height===this._png.height)re.data=ae.data;else{const se=this._apng.frames.at(x-1);this.disposeFrame(ae,se,re),this.addFrameDataToCanvas(re,ae)}this._apng.frames.push(re)}}return this._apng}disposeFrame(x,re,ae){switch(x.disposeOp){case Of.NONE:break;case Of.BACKGROUND:for(let se=0;se<this._png.height;se++)for(let Ee=0;Ee<this._png.width;Ee++){const Se=(se*x.width+Ee)*this._png.channels;for(let xe=0;xe<this._png.channels;xe++)ae.data[Se+xe]=0}break;case Of.PREVIOUS:ae.data.set(re.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(x,re){const ae=1<<this._png.depth,se=(Ee,Se)=>{const xe=((Ee+re.yOffset)*this._png.width+re.xOffset+Se)*this._png.channels,Ne=(Ee*re.width+Se)*this._png.channels;return{index:xe,frameIndex:Ne}};switch(re.blendOp){case Hg.SOURCE:for(let Ee=0;Ee<re.height;Ee++)for(let Se=0;Se<re.width;Se++){const{index:xe,frameIndex:Ne}=se(Ee,Se);for(let We=0;We<this._png.channels;We++)x.data[xe+We]=re.data[Ne+We]}break;case Hg.OVER:for(let Ee=0;Ee<re.height;Ee++)for(let Se=0;Se<re.width;Se++){const{index:xe,frameIndex:Ne}=se(Ee,Se);for(let We=0;We<this._png.channels;We++){const At=re.data[Ne+this._png.channels-1]/ae,mt=We%(this._png.channels-1)===0?1:re.data[Ne+We],$e=Math.floor(At*mt+(1-At)*x.data[xe+We]);x.data[xe+We]+=$e}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var re;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const x=this._isAnimated?((re=this._frames)==null?void 0:re.at(0)).data:this._inflator.result;if(this._filterMethod!==L0.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===vh.NO_INTERLACE)this._png.data=w0({data:x,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===vh.ADAM7)this._png.data=hh({data:x,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const x=this._inflator.result,re=this._frames.at(-1);re?re.data=x:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Of.NONE,blendOp:Hg.SOURCE,data:x}),this._inflator=new dh,this._writingDataChunks=!1}}function Bh(b){if(b!==1&&b!==2&&b!==4&&b!==8&&b!==16)throw new Error(`invalid bit depth: ${b}`);return b}const Qm={level:3};class ba extends null{constructor(x,re={}){var ae;super();Mi(this,"_png");Mi(this,"_zlibOptions");Mi(this,"_colorType");Mi(this,"_interlaceMethod");this._colorType=ColorType.UNKNOWN,this._zlibOptions=Nc(Nc({},Qm),re.zlib),this._png=this._checkData(x),this._interlaceMethod=(ae=re.interlace==="Adam7"?InterlaceMethod.ADAM7:InterlaceMethod.NO_INTERLACE)!=null?ae:InterlaceMethod.NO_INTERLACE,this.setBigEndian()}encode(){if(writeSignature(this),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),this._png.palette[0].length===4&&this.encodeTRNS()),this.encodeData(),this._png.text)for(const[x,re]of Object.entries(this._png.text))encodetEXt(this,x,re);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(CompressionMethod.DEFLATE),this.writeByte(FilterMethod.ADAPTIVE),this.writeByte(this._interlaceMethod),writeCrc(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),writeCrc(this,4)}encodePLTE(){var re;const x=((re=this._png.palette)==null?void 0:re.length)*3;this.writeUint32(x),this.writeChars("PLTE");for(const ae of this._png.palette)this.writeByte(ae[0]),this.writeByte(ae[1]),this.writeByte(ae[2]);writeCrc(this,4+x)}encodeTRNS(){const x=this._png.palette.filter(re=>re.at(-1)!==255);this.writeUint32(x.length),this.writeChars("tRNS");for(const re of x)this.writeByte(re.at(-1));writeCrc(this,4+x.length)}encodeIDAT(x){this.writeUint32(x.length),this.writeChars("IDAT"),this.writeBytes(x),writeCrc(this,x.length+4)}encodeData(){const{width:x,height:re,channels:ae,depth:se,data:Ee}=this._png,Se=se<=8?Math.ceil(x*se/8)*ae:Math.ceil(x*se/8*ae/2),xe=new IOBuffer().setBigEndian();let Ne=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let mt=0;mt<re;mt++)xe.writeByte(0),se===16?Ne=Ki(Ee,xe,Se,Ne):Ne=hu(Ee,xe,Se,Ne);else this._interlaceMethod===InterlaceMethod.ADAM7&&(Ne=Tm(this._png,Ee,xe,Ne));const We=xe.toArray(),At=deflate(We,this._zlibOptions);this.encodeIDAT(At)}_checkData(x){const{colorType:re,channels:ae,depth:se}=Qf(x,x.palette),Ee={width:yd(x.width,"width"),height:yd(x.height,"height"),channels:ae,data:x.data,depth:se,text:x.text,palette:x.palette};this._colorType=re;const Se=se<8?Math.ceil(Ee.width*se/8)*Ee.height*ae:Ee.width*Ee.height*ae;if(Ee.data.length!==Se)throw new RangeError(`wrong data size. Found ${Ee.data.length}, expected ${Se}`);return Ee}}function yd(b,z){if(Number.isInteger(b)&&b>0)return b;throw new TypeError(`${z} must be a positive integer`)}function Qf(b,z){const{channels:x=4,depth:re=8}=b;if(x!==4&&x!==3&&x!==2&&x!==1)throw new RangeError(`unsupported number of channels: ${x}`);const ae={channels:x,depth:re,colorType:ColorType.UNKNOWN};switch(x){case 4:ae.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ae.colorType=ColorType.TRUECOLOUR;break;case 1:z?ae.colorType=ColorType.INDEXED_COLOUR:ae.colorType=ColorType.GREYSCALE;break;case 2:ae.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ae}function hu(b,z,x,re){for(let ae=0;ae<x;ae++)z.writeByte(b[re++]);return re}function Tm(b,z,x,re){const ae=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],{width:se,height:Ee,channels:Se,depth:xe}=b;let Ne=0;xe===16?Ne=Se*xe/8/2:Ne=Se*xe/8;for(let We=0;We<7;We++){const At=ae[We],mt=Math.floor((se-At.x+At.xStep-1)/At.xStep),$e=Math.floor((Ee-At.y+At.yStep-1)/At.yStep);if(mt<=0||$e<=0)continue;const Mt=mt*Ne;for(let Tt=0;Tt<$e;Tt++){const Ht=At.y+Tt*At.yStep,xt=xe<=8?new Uint8Array(Mt):new Uint16Array(Mt);let Sn=0;for(let cn=0;cn<mt;cn++){const qt=At.x+cn*At.xStep;if(qt<se&&Ht<Ee){const Yn=(Ht*se+qt)*Ne;for(let Br=0;Br<Ne;Br++)xt[Sn++]=z[Yn+Br]}}if(x.writeByte(0),xe===8)x.writeBytes(xt);else if(xe===16)for(const cn of xt)x.writeByte(cn>>8&255),x.writeByte(cn&255)}}return re}function Ki(b,z,x,re){for(let ae=0;ae<x;ae++)z.writeUint16(b[re++]);return re}var FA;(function(b){b[b.UNKNOWN=0]="UNKNOWN",b[b.METRE=1]="METRE"})(FA||(FA={}));function Tf(b,z){return new Om(b,z).decode()}function xp(b,z){return new PngEncoder(b,z).encode()}function Sh(b,z){return new PngDecoder(b,z).decodeApng()}var Fo=function(){return typeof window!="undefined"?window:typeof we.g!="undefined"?we.g:typeof self!="undefined"?self:this}();function qd(){Fo.console&&typeof Fo.console.log=="function"&&Fo.console.log.apply(Fo.console,arguments)}var cA={log:qd,warn:function(b){Fo.console&&(typeof Fo.console.warn=="function"?Fo.console.warn.apply(Fo.console,arguments):qd.call(null,arguments))},error:function(b){Fo.console&&(typeof Fo.console.error=="function"?Fo.console.error.apply(Fo.console,arguments):qd(b))}};function yh(b,z,x){var re=new XMLHttpRequest;re.open("GET",b),re.responseType="blob",re.onload=function(){Vc(re.response,z,x)},re.onerror=function(){cA.error("could not download file")},re.send()}function wh(b){var z=new XMLHttpRequest;z.open("HEAD",b,!1);try{z.send()}catch(x){}return z.status>=200&&z.status<=299}function kf(b){try{b.dispatchEvent(new MouseEvent("click"))}catch(x){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),b.dispatchEvent(z)}}var Vc=Fo.saveAs||((typeof window=="undefined"?"undefined":(0,Oe.Z)(window))!=="object"||window!==Fo?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(b,z,x){var re=Fo.URL||Fo.webkitURL,ae=document.createElement("a");z=z||b.name||"download",ae.download=z,ae.rel="noopener",typeof b=="string"?(ae.href=b,ae.origin!==location.origin?wh(ae.href)?yh(b,z,x):kf(ae,ae.target="_blank"):kf(ae)):(ae.href=re.createObjectURL(b),setTimeout(function(){re.revokeObjectURL(ae.href)},4e4),setTimeout(function(){kf(ae)},0))}:"msSaveOrOpenBlob"in navigator?function(b,z,x){if(z=z||b.name||"download",typeof b=="string")if(wh(b))yh(b,z,x);else{var re=document.createElement("a");re.href=b,re.target="_blank",setTimeout(function(){kf(re)})}else navigator.msSaveOrOpenBlob(function(ae,se){return se===void 0?se={autoBom:!1}:(0,Oe.Z)(se)!=="object"&&(cA.warn("Deprecated: Expected third argument to be a object"),se={autoBom:!se}),se.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ae.type)?new Blob(["\uFEFF",ae],{type:ae.type}):ae}(b,x),z)}:function(b,z,x,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof b=="string")return yh(b,z,x);var ae=b.type==="application/octet-stream",se=/constructor/i.test(Fo.HTMLElement)||Fo.safari,Ee=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ee||ae&&se)&&(typeof FileReader=="undefined"?"undefined":(0,Oe.Z)(FileReader))==="object"){var Se=new FileReader;Se.onloadend=function(){var We=Se.result;We=Ee?We:We.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=We:location=We,re=null},Se.readAsDataURL(b)}else{var xe=Fo.URL||Fo.webkitURL,Ne=xe.createObjectURL(b);re?re.location=Ne:location.href=Ne,re=null,setTimeout(function(){xe.revokeObjectURL(Ne)},4e4)}});function I0(b){var z;b=b||"",this.ok=!1,b.charAt(0)=="#"&&(b=b.substr(1,6)),b={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[b=(b=b.replace(/ /g,"")).toLowerCase()]||b;for(var x=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Se){return[parseInt(Se[1]),parseInt(Se[2]),parseInt(Se[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Se){return[parseInt(Se[1],16),parseInt(Se[2],16),parseInt(Se[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Se){return[parseInt(Se[1]+Se[1],16),parseInt(Se[2]+Se[2],16),parseInt(Se[3]+Se[3],16)]}}],re=0;re<x.length;re++){var ae=x[re].re,se=x[re].process,Ee=ae.exec(b);Ee&&(z=se(Ee),this.r=z[0],this.g=z[1],this.b=z[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Se=this.r.toString(16),xe=this.g.toString(16),Ne=this.b.toString(16);return Se.length==1&&(Se="0"+Se),xe.length==1&&(xe="0"+xe),Ne.length==1&&(Ne="0"+Ne),"#"+Se+xe+Ne}}var Kg=Fo.atob.bind(Fo),bh=Fo.btoa.bind(Fo);function zg(b,z){var x=b[0],re=b[1],ae=b[2],se=b[3];x=ll(x,re,ae,se,z[0],7,-680876936),se=ll(se,x,re,ae,z[1],12,-389564586),ae=ll(ae,se,x,re,z[2],17,606105819),re=ll(re,ae,se,x,z[3],22,-1044525330),x=ll(x,re,ae,se,z[4],7,-176418897),se=ll(se,x,re,ae,z[5],12,1200080426),ae=ll(ae,se,x,re,z[6],17,-1473231341),re=ll(re,ae,se,x,z[7],22,-45705983),x=ll(x,re,ae,se,z[8],7,1770035416),se=ll(se,x,re,ae,z[9],12,-1958414417),ae=ll(ae,se,x,re,z[10],17,-42063),re=ll(re,ae,se,x,z[11],22,-1990404162),x=ll(x,re,ae,se,z[12],7,1804603682),se=ll(se,x,re,ae,z[13],12,-40341101),ae=ll(ae,se,x,re,z[14],17,-1502002290),x=Ws(x,re=ll(re,ae,se,x,z[15],22,1236535329),ae,se,z[1],5,-165796510),se=Ws(se,x,re,ae,z[6],9,-1069501632),ae=Ws(ae,se,x,re,z[11],14,643717713),re=Ws(re,ae,se,x,z[0],20,-373897302),x=Ws(x,re,ae,se,z[5],5,-701558691),se=Ws(se,x,re,ae,z[10],9,38016083),ae=Ws(ae,se,x,re,z[15],14,-660478335),re=Ws(re,ae,se,x,z[4],20,-405537848),x=Ws(x,re,ae,se,z[9],5,568446438),se=Ws(se,x,re,ae,z[14],9,-1019803690),ae=Ws(ae,se,x,re,z[3],14,-187363961),re=Ws(re,ae,se,x,z[8],20,1163531501),x=Ws(x,re,ae,se,z[13],5,-1444681467),se=Ws(se,x,re,ae,z[2],9,-51403784),ae=Ws(ae,se,x,re,z[7],14,1735328473),x=ul(x,re=Ws(re,ae,se,x,z[12],20,-1926607734),ae,se,z[5],4,-378558),se=ul(se,x,re,ae,z[8],11,-2022574463),ae=ul(ae,se,x,re,z[11],16,1839030562),re=ul(re,ae,se,x,z[14],23,-35309556),x=ul(x,re,ae,se,z[1],4,-1530992060),se=ul(se,x,re,ae,z[4],11,1272893353),ae=ul(ae,se,x,re,z[7],16,-155497632),re=ul(re,ae,se,x,z[10],23,-1094730640),x=ul(x,re,ae,se,z[13],4,681279174),se=ul(se,x,re,ae,z[0],11,-358537222),ae=ul(ae,se,x,re,z[3],16,-722521979),re=ul(re,ae,se,x,z[6],23,76029189),x=ul(x,re,ae,se,z[9],4,-640364487),se=ul(se,x,re,ae,z[12],11,-421815835),ae=ul(ae,se,x,re,z[15],16,530742520),x=cl(x,re=ul(re,ae,se,x,z[2],23,-995338651),ae,se,z[0],6,-198630844),se=cl(se,x,re,ae,z[7],10,1126891415),ae=cl(ae,se,x,re,z[14],15,-1416354905),re=cl(re,ae,se,x,z[5],21,-57434055),x=cl(x,re,ae,se,z[12],6,1700485571),se=cl(se,x,re,ae,z[3],10,-1894986606),ae=cl(ae,se,x,re,z[10],15,-1051523),re=cl(re,ae,se,x,z[1],21,-2054922799),x=cl(x,re,ae,se,z[8],6,1873313359),se=cl(se,x,re,ae,z[15],10,-30611744),ae=cl(ae,se,x,re,z[6],15,-1560198380),re=cl(re,ae,se,x,z[13],21,1309151649),x=cl(x,re,ae,se,z[4],6,-145523070),se=cl(se,x,re,ae,z[11],10,-1120210379),ae=cl(ae,se,x,re,z[2],15,718787259),re=cl(re,ae,se,x,z[9],21,-343485551),b[0]=Vu(x,b[0]),b[1]=Vu(re,b[1]),b[2]=Vu(ae,b[2]),b[3]=Vu(se,b[3])}function Gg(b,z,x,re,ae,se){return z=Vu(Vu(z,b),Vu(re,se)),Vu(z<<ae|z>>>32-ae,x)}function ll(b,z,x,re,ae,se,Ee){return Gg(z&x|~z&re,b,z,ae,se,Ee)}function Ws(b,z,x,re,ae,se,Ee){return Gg(z&re|x&~re,b,z,ae,se,Ee)}function ul(b,z,x,re,ae,se,Ee){return Gg(z^x^re,b,z,ae,se,Ee)}function cl(b,z,x,re,ae,se,Ee){return Gg(x^(z|~re),b,z,ae,se,Ee)}function U0(b){var z,x=b.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=b.length;z+=64)zg(re,Rf(b.substring(z-64,z)));b=b.substring(z-64);var ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z<b.length;z++)ae[z>>2]|=b.charCodeAt(z)<<(z%4<<3);if(ae[z>>2]|=128<<(z%4<<3),z>55)for(zg(re,ae),z=0;z<16;z++)ae[z]=0;return ae[14]=8*x,zg(re,ae),re}function Rf(b){var z,x=[];for(z=0;z<64;z+=4)x[z>>2]=b.charCodeAt(z)+(b.charCodeAt(z+1)<<8)+(b.charCodeAt(z+2)<<16)+(b.charCodeAt(z+3)<<24);return x}var nu="0123456789abcdef".split("");function N0(b){for(var z="",x=0;x<4;x++)z+=nu[b>>8*x+4&15]+nu[b>>8*x&15];return z}function jf(b){return String.fromCharCode(255&b,(65280&b)>>8,(16711680&b)>>16,(4278190080&b)>>24)}function Ch(b){return U0(b).map(jf).join("")}var km=function(b){for(var z=0;z<b.length;z++)b[z]=N0(b[z]);return b.join("")}(U0("hello"))!="5d41402abc4b2a76b9719d911017c592";function Vu(b,z){if(km){var x=(65535&b)+(65535&z);return(b>>16)+(z>>16)+(x>>16)<<16|65535&x}return b+z&4294967295}function Xc(b,z){var x,re,ae,se;if(b!==x){for(var Ee=(ae=b,se=1+(256/b.length|0),new Array(se+1).join(ae)),Se=[],xe=0;xe<256;xe++)Se[xe]=xe;var Ne=0;for(xe=0;xe<256;xe++){var We=Se[xe];Ne=(Ne+We+Ee.charCodeAt(xe))%256,Se[xe]=Se[Ne],Se[Ne]=We}x=b,re=Se}else Se=re;var At=z.length,mt=0,$e=0,Mt="";for(xe=0;xe<At;xe++)$e=($e+(We=Se[mt=(mt+1)%256]))%256,Se[mt]=Se[$e],Se[$e]=We,Ee=Se[(Se[mt]+Se[$e])%256],Mt+=String.fromCharCode(z.charCodeAt(xe)^Ee);return Mt}var $g={print:4,modify:8,copy:16,"annot-forms":32};function eg(b,z,x,re){this.v=1,this.r=2;var ae=192;b.forEach(function(Se){if($g.perm!==void 0)throw new Error("Invalid permission: "+Se);ae+=$g[Se]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var se=(z+this.padding).substr(0,32),Ee=(x+this.padding).substr(0,32);this.O=this.processOwnerPassword(se,Ee),this.P=-(1+(255^ae)),this.encryptionKey=Ch(se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=Xc(this.encryptionKey,this.padding)}function Fu(b){if(/[^\u0000-\u00ff]/.test(b))throw new Error("Invalid PDF Name Object: "+b+", Only accept ASCII characters.");for(var z="",x=b.length,re=0;re<x;re++){var ae=b.charCodeAt(re);z+=ae<33||ae===35||ae===37||ae===40||ae===41||ae===47||ae===60||ae===62||ae===91||ae===93||ae===123||ae===125||ae>126?"#"+("0"+ae.toString(16)).slice(-2):b[re]}return z}function D0(b){if((0,Oe.Z)(b)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(x,re,ae){if(ae=ae||!1,typeof x!="string"||typeof re!="function"||typeof ae!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(x)||(z[x]={});var se=Math.random().toString(35);return z[x][se]=[re,!!ae],se},this.unsubscribe=function(x){for(var re in z)if(z[re][x])return delete z[re][x],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(x){if(z.hasOwnProperty(x)){var re=Array.prototype.slice.call(arguments,1),ae=[];for(var se in z[x]){var Ee=z[x][se];try{Ee[0].apply(b,re)}catch(Se){Fo.console&&cA.error("jsPDF PubSub Error",Se.message,Se)}Ee[1]&&ae.push(se)}ae.length&&ae.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Zg(b){if(!(this instanceof Zg))return new Zg(b);var z="opacity,stroke-opacity".split(",");for(var x in b)b.hasOwnProperty(x)&&z.indexOf(x)>=0&&(this[x]=b[x]);this.id="",this.objectNumber=-1}function Ph(b,z){this.gState=b,this.matrix=z,this.id="",this.objectNumber=-1}function Yc(b,z,x,re,ae){if(!(this instanceof Yc))return new Yc(b,z,x,re,ae);this.type=b==="axial"?2:3,this.coords=z,this.colors=x,Ph.call(this,re,ae)}function Jc(b,z,x,re,ae){if(!(this instanceof Jc))return new Jc(b,z,x,re,ae);this.boundingBox=b,this.xStep=z,this.yStep=x,this.stream="",this.cloneIndex=0,Ph.call(this,re,ae)}function Wa(b){var z,x=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],ae=arguments[2],se=arguments[3],Ee=[],Se=1,xe=16,Ne="S",We=null;(0,Oe.Z)(b=b||{})==="object"&&(x=b.orientation,re=b.unit||re,ae=b.format||ae,se=b.compress||b.compressPdf||se,(We=b.encryption||null)!==null&&(We.userPassword=We.userPassword||"",We.ownerPassword=We.ownerPassword||"",We.userPermissions=We.userPermissions||[]),Se=typeof b.userUnit=="number"?Math.abs(b.userUnit):1,b.precision!==void 0&&(z=b.precision),b.floatPrecision!==void 0&&(xe=b.floatPrecision),Ne=b.defaultPathOperation||"S"),Ee=b.filters||(se===!0?["FlateEncode"]:Ee),re=re||"mm",x=(""+(x||"P")).toLowerCase();var At=b.putOnlyUsedFonts||!1,mt={},$e={internal:{},__private__:{}};$e.__private__.PubSub=D0;var Mt="1.3",Tt=$e.__private__.getPdfVersion=function(){return Mt};$e.__private__.setPdfVersion=function(Ue){Mt=Ue};var Ht={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]};$e.__private__.getPageFormats=function(){return Ht};var xt=$e.__private__.getPageFormat=function(Ue){return Ht[Ue]};ae=ae||"a4";var Sn="compat",cn="advanced",qt=Sn;function Yn(){this.saveGraphicsState(),an(new Co(Qo,0,0,-Qo,0,Af()*Qo).toString()+" cm"),this.setFontSize(this.getFontSize()/Qo),Ne="n",qt=cn}function Br(){this.restoreGraphicsState(),Ne="S",qt=Sn}var ar=$e.__private__.combineFontStyleAndFontWeight=function(Ue,lt){if(Ue=="bold"&<=="normal"||Ue=="bold"&<==400||Ue=="normal"&<=="italic"||Ue=="bold"&<=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return lt&&(Ue=lt==400||lt==="normal"?Ue==="italic"?"italic":"normal":lt!=700&<!=="bold"||Ue!=="normal"?(lt==700?"bold":lt)+""+Ue:"bold"),Ue};$e.advancedAPI=function(Ue){var lt=qt===Sn;return lt&&Yn.call(this),typeof Ue!="function"||(Ue(this),lt&&Br.call(this)),this},$e.compatAPI=function(Ue){var lt=qt===cn;return lt&&Br.call(this),typeof Ue!="function"||(Ue(this),lt&&Yn.call(this)),this},$e.isAdvancedAPI=function(){return qt===cn};var xn,tn=function(Ue){if(qt!==cn)throw new Error(Ue+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Mn=$e.roundToPrecision=$e.__private__.roundToPrecision=function(Ue,lt){var Vt=z||lt;if(isNaN(Ue)||isNaN(Vt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ue.toFixed(Vt).replace(/0+$/,"")};xn=$e.hpf=$e.__private__.hpf=typeof xe=="number"?function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,xe)}:xe==="smart"?function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,Ue>-1&&Ue<1?16:5)}:function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,16)};var Ft=$e.f2=$e.__private__.f2=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.f2");return Mn(Ue,2)},zt=$e.__private__.f3=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.f3");return Mn(Ue,3)},pn=$e.scale=$e.__private__.scale=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.scale");return qt===Sn?Ue*Qo:qt===cn?Ue:void 0},gn=function(Ue){return pn(function(lt){return qt===Sn?Af()-lt:qt===cn?lt:void 0}(Ue))};$e.__private__.setPrecision=$e.setPrecision=function(Ue){typeof parseInt(Ue,10)=="number"&&(z=parseInt(Ue,10))};var qn,rr="00000000000000000000000000000000",Ar=$e.__private__.getFileId=function(){return rr},Zn=$e.__private__.setFileId=function(Ue){return rr=Ue!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ue)?Ue.toUpperCase():rr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),We!==null&&(_s=new eg(We.userPermissions,We.userPassword,We.ownerPassword,rr)),rr};$e.setFileId=function(Ue){return Zn(Ue),this},$e.getFileId=function(){return Ar()};var cr=$e.__private__.convertDateToPDFDate=function(Ue){var lt=Ue.getTimezoneOffset(),Vt=lt<0?"+":"-",hn=Math.floor(Math.abs(lt/60)),jn=Math.abs(lt%60),yr=[Vt,sn(hn),"'",sn(jn),"'"].join("");return["D:",Ue.getFullYear(),sn(Ue.getMonth()+1),sn(Ue.getDate()),sn(Ue.getHours()),sn(Ue.getMinutes()),sn(Ue.getSeconds()),yr].join("")},qr=$e.__private__.convertPDFDateToDate=function(Ue){var lt=parseInt(Ue.substr(2,4),10),Vt=parseInt(Ue.substr(6,2),10)-1,hn=parseInt(Ue.substr(8,2),10),jn=parseInt(Ue.substr(10,2),10),yr=parseInt(Ue.substr(12,2),10),Nr=parseInt(Ue.substr(14,2),10);return new Date(lt,Vt,hn,jn,yr,Nr,0)},Lr=$e.__private__.setCreationDate=function(Ue){var lt;if(Ue===void 0&&(Ue=new Date),Ue instanceof Date)lt=cr(Ue);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ue))throw new Error("Invalid argument passed to jsPDF.setCreationDate");lt=Ue}return qn=lt},Ct=$e.__private__.getCreationDate=function(Ue){var lt=qn;return Ue==="jsDate"&&(lt=qr(qn)),lt};$e.setCreationDate=function(Ue){return Lr(Ue),this},$e.getCreationDate=function(Ue){return Ct(Ue)};var Yt,sn=$e.__private__.padd2=function(Ue){return("0"+parseInt(Ue)).slice(-2)},Cn=$e.__private__.padd2Hex=function(Ue){return("00"+(Ue=Ue.toString())).substr(Ue.length)},Tn=0,Wn=[],ir=[],nr=0,Cr=[],zr=[],pa=!1,ya=ir;$e.__private__.setCustomOutputDestination=function(Ue){pa=!0,ya=Ue};var pr=function(Ue){pa||(ya=Ue)};$e.__private__.resetCustomOutputDestination=function(){pa=!1,ya=ir};var an=$e.__private__.out=function(Ue){return Ue=Ue.toString(),nr+=Ue.length+1,ya.push(Ue),ya},xi=$e.__private__.write=function(Ue){return an(arguments.length===1?Ue.toString():Array.prototype.join.call(arguments," "))},oi=$e.__private__.getArrayBuffer=function(Ue){for(var lt=Ue.length,Vt=new ArrayBuffer(lt),hn=new Uint8Array(Vt);lt--;)hn[lt]=Ue.charCodeAt(lt);return Vt},po=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];$e.__private__.getStandardFonts=function(){return po};var Yr=b.fontSize||16;$e.__private__.setFontSize=$e.setFontSize=function(Ue){return Yr=qt===cn?Ue/Qo:Ue,this};var io,Pa=$e.__private__.getFontSize=$e.getFontSize=function(){return qt===Sn?Yr:Yr*Qo},ii=b.R2L||!1;$e.__private__.setR2L=$e.setR2L=function(Ue){return ii=Ue,this},$e.__private__.getR2L=$e.getR2L=function(){return ii};var co,Vi=$e.__private__.setZoomMode=function(Ue){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ue))io=Ue;else if(isNaN(Ue)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ue)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ue+'" is not recognized.');io=Ue}else io=parseInt(Ue,10)};$e.__private__.getZoomMode=function(){return io};var Xo,Yo=$e.__private__.setPageMode=function(Ue){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ue)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ue+'" is not recognized.');co=Ue};$e.__private__.getPageMode=function(){return co};var BA=$e.__private__.setLayoutMode=function(Ue){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ue)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ue+'" is not recognized.');Xo=Ue};$e.__private__.getLayoutMode=function(){return Xo},$e.__private__.setDisplayMode=$e.setDisplayMode=function(Ue,lt,Vt){return Vi(Ue),BA(lt),Yo(Vt),this};var Ai={title:"",subject:"",author:"",keywords:"",creator:""};$e.__private__.getDocumentProperty=function(Ue){if(Object.keys(Ai).indexOf(Ue)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ai[Ue]},$e.__private__.getDocumentProperties=function(){return Ai},$e.__private__.setDocumentProperties=$e.setProperties=$e.setDocumentProperties=function(Ue){for(var lt in Ai)Ai.hasOwnProperty(lt)&&Ue[lt]&&(Ai[lt]=Ue[lt]);return this},$e.__private__.setDocumentProperty=function(Ue,lt){if(Object.keys(Ai).indexOf(Ue)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ai[Ue]=lt};var so,Qo,lo,kA,Xi,no={},Jo={},xA=[],bo={},Ui={},qo={},xs={},Vs=null,_A=0,zo=[],aA=new D0($e),Wg=b.hotfixes||[],Hl={},Pd={},ad=[],Co=function Ue(lt,Vt,hn,jn,yr,Nr){if(!(this instanceof Ue))return new Ue(lt,Vt,hn,jn,yr,Nr);isNaN(lt)&&(lt=1),isNaN(Vt)&&(Vt=0),isNaN(hn)&&(hn=0),isNaN(jn)&&(jn=1),isNaN(yr)&&(yr=0),isNaN(Nr)&&(Nr=0),this._matrix=[lt,Vt,hn,jn,yr,Nr]};Object.defineProperty(Co.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ue){this._matrix[0]=Ue}}),Object.defineProperty(Co.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ue){this._matrix[1]=Ue}}),Object.defineProperty(Co.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ue){this._matrix[2]=Ue}}),Object.defineProperty(Co.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ue){this._matrix[3]=Ue}}),Object.defineProperty(Co.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ue){this._matrix[4]=Ue}}),Object.defineProperty(Co.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ue){this._matrix[5]=Ue}}),Object.defineProperty(Co.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ue){this._matrix[0]=Ue}}),Object.defineProperty(Co.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ue){this._matrix[1]=Ue}}),Object.defineProperty(Co.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ue){this._matrix[2]=Ue}}),Object.defineProperty(Co.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ue){this._matrix[3]=Ue}}),Object.defineProperty(Co.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ue){this._matrix[4]=Ue}}),Object.defineProperty(Co.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ue){this._matrix[5]=Ue}}),Object.defineProperty(Co.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Co.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Co.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Co.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Co.prototype.join=function(Ue){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(xn).join(Ue)},Co.prototype.multiply=function(Ue){var lt=Ue.sx*this.sx+Ue.shy*this.shx,Vt=Ue.sx*this.shy+Ue.shy*this.sy,hn=Ue.shx*this.sx+Ue.sy*this.shx,jn=Ue.shx*this.shy+Ue.sy*this.sy,yr=Ue.tx*this.sx+Ue.ty*this.shx+this.tx,Nr=Ue.tx*this.shy+Ue.ty*this.sy+this.ty;return new Co(lt,Vt,hn,jn,yr,Nr)},Co.prototype.decompose=function(){var Ue=this.sx,lt=this.shy,Vt=this.shx,hn=this.sy,jn=this.tx,yr=this.ty,Nr=Math.sqrt(Ue*Ue+lt*lt),Za=(Ue/=Nr)*Vt+(lt/=Nr)*hn;Vt-=Ue*Za,hn-=lt*Za;var qa=Math.sqrt(Vt*Vt+hn*hn);return Za/=qa,Ue*(hn/=qa)<lt*(Vt/=qa)&&(Ue=-Ue,lt=-lt,Za=-Za,Nr=-Nr),{scale:new Co(Nr,0,0,qa,0,0),translate:new Co(1,0,0,1,jn,yr),rotate:new Co(Ue,lt,-lt,Ue,0,0),skew:new Co(1,0,Za,1,0,0)}},Co.prototype.toString=function(Ue){return this.join(" ")},Co.prototype.inversed=function(){var Ue=this.sx,lt=this.shy,Vt=this.shx,hn=this.sy,jn=this.tx,yr=this.ty,Nr=1/(Ue*hn-lt*Vt),Za=hn*Nr,qa=-lt*Nr,Ho=-Vt*Nr,Zo=Ue*Nr;return new Co(Za,qa,Ho,Zo,-Za*jn-Ho*yr,-qa*jn-Zo*yr)},Co.prototype.applyToPoint=function(Ue){var lt=Ue.x*this.sx+Ue.y*this.shx+this.tx,Vt=Ue.x*this.shy+Ue.y*this.sy+this.ty;return new af(lt,Vt)},Co.prototype.applyToRectangle=function(Ue){var lt=this.applyToPoint(Ue),Vt=this.applyToPoint(new af(Ue.x+Ue.w,Ue.y+Ue.h));return new Th(lt.x,lt.y,Vt.x-lt.x,Vt.y-lt.y)},Co.prototype.clone=function(){var Ue=this.sx,lt=this.shy,Vt=this.shx,hn=this.sy,jn=this.tx,yr=this.ty;return new Co(Ue,lt,Vt,hn,jn,yr)},$e.Matrix=Co;var Ed=$e.matrixMult=function(Ue,lt){return lt.multiply(Ue)},Fd=new Co(1,0,0,1,0,0);$e.unitMatrix=$e.identityMatrix=Fd;var Ju=function(Ue,lt){if(!Ui[Ue]){var Vt=(lt instanceof Yc?"Sh":"P")+(Object.keys(bo).length+1).toString(10);lt.id=Vt,Ui[Ue]=Vt,bo[Vt]=lt,aA.publish("addPattern",lt)}};$e.ShadingPattern=Yc,$e.TilingPattern=Jc,$e.addShadingPattern=function(Ue,lt){return tn("addShadingPattern()"),Ju(Ue,lt),this},$e.beginTilingPattern=function(Ue){tn("beginTilingPattern()"),kh(Ue.boundingBox[0],Ue.boundingBox[1],Ue.boundingBox[2]-Ue.boundingBox[0],Ue.boundingBox[3]-Ue.boundingBox[1],Ue.matrix)},$e.endTilingPattern=function(Ue,lt){tn("endTilingPattern()"),lt.stream=zr[Yt].join(`
|
|
|
`),Ju(Ue,lt),aA.publish("endTilingPattern",lt),ad.pop().restore()};var qu,Ss=$e.__private__.newObject=function(){var Ue=gl();return wl(Ue,!0),Ue},gl=$e.__private__.newObjectDeferred=function(){return Tn++,Wn[Tn]=function(){return nr},Tn},wl=function(Ue,lt){return lt=typeof lt=="boolean"&<,Wn[Ue]=nr,lt&&an(Ue+" 0 obj"),Ue},Vg=$e.__private__.newAdditionalObject=function(){var Ue={objId:gl(),content:""};return Cr.push(Ue),Ue},ag=gl(),Ec=gl(),od=$e.__private__.decodeColorString=function(Ue){var lt=Ue.split(" ");if(lt.length!==2||lt[1]!=="g"&<[1]!=="G")lt.length!==5||lt[4]!=="k"&<[4]!=="K"||(lt=[(1-lt[0])*(1-lt[3]),(1-lt[1])*(1-lt[3]),(1-lt[2])*(1-lt[3]),"r"]);else{var Vt=parseFloat(lt[0]);lt=[Vt,Vt,Vt,"r"]}for(var hn="#",jn=0;jn<3;jn++)hn+=("0"+Math.floor(255*parseFloat(lt[jn])).toString(16)).slice(-2);return hn},Fc=$e.__private__.encodeColorString=function(Ue){var lt;typeof Ue=="string"&&(Ue={ch1:Ue});var Vt=Ue.ch1,hn=Ue.ch2,jn=Ue.ch3,yr=Ue.ch4,Nr=Ue.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Vt=="string"&&Vt.charAt(0)!=="#"){var Za=new I0(Vt);if(Za.ok)Vt=Za.toHex();else if(!/^\d*\.?\d*$/.test(Vt))throw new Error('Invalid color "'+Vt+'" passed to jsPDF.encodeColorString.')}if(typeof Vt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Vt)&&(Vt="#"+Vt[1]+Vt[1]+Vt[2]+Vt[2]+Vt[3]+Vt[3]),typeof Vt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Vt)){var qa=parseInt(Vt.substr(1),16);Vt=qa>>16&255,hn=qa>>8&255,jn=255&qa}if(hn===void 0||yr===void 0&&Vt===hn&&hn===jn)lt=typeof Vt=="string"?Vt+" "+Nr[0]:Ue.precision===2?Ft(Vt/255)+" "+Nr[0]:zt(Vt/255)+" "+Nr[0];else if(yr===void 0||(0,Oe.Z)(yr)==="object"){if(yr&&!isNaN(yr.a)&&yr.a===0)return["1.","1.","1.",Nr[1]].join(" ");lt=typeof Vt=="string"?[Vt,hn,jn,Nr[1]].join(" "):Ue.precision===2?[Ft(Vt/255),Ft(hn/255),Ft(jn/255),Nr[1]].join(" "):[zt(Vt/255),zt(hn/255),zt(jn/255),Nr[1]].join(" ")}else lt=typeof Vt=="string"?[Vt,hn,jn,yr,Nr[2]].join(" "):Ue.precision===2?[Ft(Vt),Ft(hn),Ft(jn),Ft(yr),Nr[2]].join(" "):[zt(Vt),zt(hn),zt(jn),zt(yr),Nr[2]].join(" ");return lt},xc=$e.__private__.getFilters=function(){return Ee},ec=$e.__private__.putStream=function(Ue){var lt=(Ue=Ue||{}).data||"",Vt=Ue.filters||xc(),hn=Ue.alreadyAppliedFilters||[],jn=Ue.addLength1||!1,yr=lt.length,Nr=Ue.objectId,Za=function(Xs){return Xs};if(We!==null&&Nr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");We!==null&&(Za=_s.encryptor(Nr,0));var qa={};Vt===!0&&(Vt=["FlateEncode"]);var Ho=Ue.additionalKeyValues||[],Zo=(qa=Wa.API.processDataByFilters!==void 0?Wa.API.processDataByFilters(lt,Vt):{data:lt,reverseChain:[]}).reverseChain+(Array.isArray(hn)?hn.join(" "):hn.toString());if(qa.data.length!==0&&(Ho.push({key:"Length",value:qa.data.length}),jn===!0&&Ho.push({key:"Length1",value:yr})),Zo.length!=0)if(Zo.split("/").length-1==1)Ho.push({key:"Filter",value:Zo});else{Ho.push({key:"Filter",value:"["+Zo+"]"});for(var Yi=0;Yi<Ho.length;Yi+=1)if(Ho[Yi].key==="DecodeParms"){for(var cs=[],Ks=0;Ks<qa.reverseChain.split("/").length-1;Ks+=1)cs.push("null");cs.push(Ho[Yi].value),Ho[Yi].value="["+cs.join(" ")+"]"}}an("<<");for(var RA=0;RA<Ho.length;RA++)an("/"+Ho[RA].key+" "+Ho[RA].value);an(">>"),qa.data.length!==0&&(an("stream"),an(Za(qa.data)),an("endstream"))},Xg=$e.__private__.putPage=function(Ue){var lt=Ue.number,Vt=Ue.data,hn=Ue.objId,jn=Ue.contentsObjId;wl(hn,!0),an("<</Type /Page"),an("/Parent "+Ue.rootDictionaryObjId+" 0 R"),an("/Resources "+Ue.resourceDictionaryObjId+" 0 R"),an("/MediaBox ["+parseFloat(xn(Ue.mediaBox.bottomLeftX))+" "+parseFloat(xn(Ue.mediaBox.bottomLeftY))+" "+xn(Ue.mediaBox.topRightX)+" "+xn(Ue.mediaBox.topRightY)+"]"),Ue.cropBox!==null&&an("/CropBox ["+xn(Ue.cropBox.bottomLeftX)+" "+xn(Ue.cropBox.bottomLeftY)+" "+xn(Ue.cropBox.topRightX)+" "+xn(Ue.cropBox.topRightY)+"]"),Ue.bleedBox!==null&&an("/BleedBox ["+xn(Ue.bleedBox.bottomLeftX)+" "+xn(Ue.bleedBox.bottomLeftY)+" "+xn(Ue.bleedBox.topRightX)+" "+xn(Ue.bleedBox.topRightY)+"]"),Ue.trimBox!==null&&an("/TrimBox ["+xn(Ue.trimBox.bottomLeftX)+" "+xn(Ue.trimBox.bottomLeftY)+" "+xn(Ue.trimBox.topRightX)+" "+xn(Ue.trimBox.topRightY)+"]"),Ue.artBox!==null&&an("/ArtBox ["+xn(Ue.artBox.bottomLeftX)+" "+xn(Ue.artBox.bottomLeftY)+" "+xn(Ue.artBox.topRightX)+" "+xn(Ue.artBox.topRightY)+"]"),typeof Ue.userUnit=="number"&&Ue.userUnit!==1&&an("/UserUnit "+Ue.userUnit),aA.publish("putPage",{objId:hn,pageContext:zo[lt],pageNumber:lt,page:Vt}),an("/Contents "+jn+" 0 R"),an(">>"),an("endobj");var yr=Vt.join(`
|
|
|
`);return qt===cn&&(yr+=`
|
|
|
Q`),wl(jn,!0),ec({data:yr,filters:xc(),objectId:jn}),an("endobj"),hn},id=$e.__private__.putPages=function(){var Ue,lt,Vt=[];for(Ue=1;Ue<=_A;Ue++)zo[Ue].objId=gl(),zo[Ue].contentsObjId=gl();for(Ue=1;Ue<=_A;Ue++)Vt.push(Xg({number:Ue,data:zr[Ue],objId:zo[Ue].objId,contentsObjId:zo[Ue].contentsObjId,mediaBox:zo[Ue].mediaBox,cropBox:zo[Ue].cropBox,bleedBox:zo[Ue].bleedBox,trimBox:zo[Ue].trimBox,artBox:zo[Ue].artBox,userUnit:zo[Ue].userUnit,rootDictionaryObjId:ag,resourceDictionaryObjId:Ec}));wl(ag,!0),an("<</Type /Pages");var hn="/Kids [";for(lt=0;lt<_A;lt++)hn+=Vt[lt]+" 0 R ";an(hn+"]"),an("/Count "+_A),an(">>"),an("endobj"),aA.publish("postPutPages")},Yg=function(Ue){aA.publish("putFont",{font:Ue,out:an,newObject:Ss,putStream:ec}),Ue.isAlreadyPutted!==!0&&(Ue.objectNumber=Ss(),an("<<"),an("/Type /Font"),an("/BaseFont /"+Fu(Ue.postScriptName)),an("/Subtype /Type1"),typeof Ue.encoding=="string"&&an("/Encoding /"+Ue.encoding),an("/FirstChar 32"),an("/LastChar 255"),an(">>"),an("endobj"))},Hf=function(Ue){Ue.objectNumber=Ss();var lt=[];lt.push({key:"Type",value:"/XObject"}),lt.push({key:"Subtype",value:"/Form"}),lt.push({key:"BBox",value:"["+[xn(Ue.x),xn(Ue.y),xn(Ue.x+Ue.width),xn(Ue.y+Ue.height)].join(" ")+"]"}),lt.push({key:"Matrix",value:"["+Ue.matrix.toString()+"]"});var Vt=Ue.pages[1].join(`
|
|
|
`);ec({data:Vt,additionalKeyValues:lt,objectId:Ue.objectNumber}),an("endobj")},Kf=function(Ue,lt){lt||(lt=21);var Vt=Ss(),hn=function(Nr,Za){var qa,Ho=[],Zo=1/(Za-1);for(qa=0;qa<1;qa+=Zo)Ho.push(qa);if(Ho.push(1),Nr[0].offset!=0){var Yi={offset:0,color:Nr[0].color};Nr.unshift(Yi)}if(Nr[Nr.length-1].offset!=1){var cs={offset:1,color:Nr[Nr.length-1].color};Nr.push(cs)}for(var Ks="",RA=0,Xs=0;Xs<Ho.length;Xs++){for(qa=Ho[Xs];qa>Nr[RA+1].offset;)RA++;var zs=Nr[RA].offset,bl=(qa-zs)/(Nr[RA+1].offset-zs),nc=Nr[RA].color,pu=Nr[RA+1].color;Ks+=Cn(Math.round((1-bl)*nc[0]+bl*pu[0]).toString(16))+Cn(Math.round((1-bl)*nc[1]+bl*pu[1]).toString(16))+Cn(Math.round((1-bl)*nc[2]+bl*pu[2]).toString(16))}return Ks.trim()}(Ue.colors,lt),jn=[];jn.push({key:"FunctionType",value:"0"}),jn.push({key:"Domain",value:"[0.0 1.0]"}),jn.push({key:"Size",value:"["+lt+"]"}),jn.push({key:"BitsPerSample",value:"8"}),jn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),jn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ec({data:hn,additionalKeyValues:jn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Vt}),an("endobj"),Ue.objectNumber=Ss(),an("<< /ShadingType "+Ue.type),an("/ColorSpace /DeviceRGB");var yr="/Coords ["+xn(parseFloat(Ue.coords[0]))+" "+xn(parseFloat(Ue.coords[1]))+" ";Ue.type===2?yr+=xn(parseFloat(Ue.coords[2]))+" "+xn(parseFloat(Ue.coords[3])):yr+=xn(parseFloat(Ue.coords[2]))+" "+xn(parseFloat(Ue.coords[3]))+" "+xn(parseFloat(Ue.coords[4]))+" "+xn(parseFloat(Ue.coords[5])),an(yr+="]"),Ue.matrix&&an("/Matrix ["+Ue.matrix.toString()+"]"),an("/Function "+Vt+" 0 R"),an("/Extend [true true]"),an(">>"),an("endobj")},zf=function(Ue,lt){var Vt=gl(),hn=Ss();lt.push({resourcesOid:Vt,objectOid:hn}),Ue.objectNumber=hn;var jn=[];jn.push({key:"Type",value:"/Pattern"}),jn.push({key:"PatternType",value:"1"}),jn.push({key:"PaintType",value:"1"}),jn.push({key:"TilingType",value:"1"}),jn.push({key:"BBox",value:"["+Ue.boundingBox.map(xn).join(" ")+"]"}),jn.push({key:"XStep",value:xn(Ue.xStep)}),jn.push({key:"YStep",value:xn(Ue.yStep)}),jn.push({key:"Resources",value:Vt+" 0 R"}),Ue.matrix&&jn.push({key:"Matrix",value:"["+Ue.matrix.toString()+"]"}),ec({data:Ue.stream,additionalKeyValues:jn,objectId:Ue.objectNumber}),an("endobj")},Gm=function(Ue){for(var lt in Ue.objectNumber=Ss(),an("<<"),Ue)switch(lt){case"opacity":an("/ca "+Ft(Ue[lt]));break;case"stroke-opacity":an("/CA "+Ft(Ue[lt]))}an(">>"),an("endobj")},Fh=function(Ue){wl(Ue.resourcesOid,!0),an("<<"),an("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var lt in an("/Font <<"),no)no.hasOwnProperty(lt)&&(At===!1||At===!0&&mt.hasOwnProperty(lt))&&an("/"+lt+" "+no[lt].objectNumber+" 0 R");an(">>")}(),function(){if(Object.keys(bo).length>0){for(var lt in an("/Shading <<"),bo)bo.hasOwnProperty(lt)&&bo[lt]instanceof Yc&&bo[lt].objectNumber>=0&&an("/"+lt+" "+bo[lt].objectNumber+" 0 R");aA.publish("putShadingPatternDict"),an(">>")}}(),function(lt){if(Object.keys(bo).length>0){for(var Vt in an("/Pattern <<"),bo)bo.hasOwnProperty(Vt)&&bo[Vt]instanceof $e.TilingPattern&&bo[Vt].objectNumber>=0&&bo[Vt].objectNumber<lt&&an("/"+Vt+" "+bo[Vt].objectNumber+" 0 R");aA.publish("putTilingPatternDict"),an(">>")}}(Ue.objectOid),function(){if(Object.keys(qo).length>0){var lt;for(lt in an("/ExtGState <<"),qo)qo.hasOwnProperty(lt)&&qo[lt].objectNumber>=0&&an("/"+lt+" "+qo[lt].objectNumber+" 0 R");aA.publish("putGStateDict"),an(">>")}}(),function(){for(var lt in an("/XObject <<"),Hl)Hl.hasOwnProperty(lt)&&Hl[lt].objectNumber>=0&&an("/"+lt+" "+Hl[lt].objectNumber+" 0 R");aA.publish("putXobjectDict"),an(">>")}(),an(">>"),an("endobj")},T0=function(Ue){Jo[Ue.fontName]=Jo[Ue.fontName]||{},Jo[Ue.fontName][Ue.fontStyle]=Ue.id},k0=function(Ue,lt,Vt,hn,jn){var yr={id:"F"+(Object.keys(no).length+1).toString(10),postScriptName:Ue,fontName:lt,fontStyle:Vt,encoding:hn,isStandardFont:jn||!1,metadata:{}};return aA.publish("addFont",{font:yr,instance:this}),no[yr.id]=yr,T0(yr),yr.id},tc=$e.__private__.pdfEscape=$e.pdfEscape=function(Ue,lt){return function(Vt,hn){var jn,yr,Nr,Za,qa,Ho,Zo,Yi,cs;if(Nr=(hn=hn||{}).sourceEncoding||"Unicode",qa=hn.outputEncoding,(hn.autoencode||qa)&&no[so].metadata&&no[so].metadata[Nr]&&no[so].metadata[Nr].encoding&&(Za=no[so].metadata[Nr].encoding,!qa&&no[so].encoding&&(qa=no[so].encoding),!qa&&Za.codePages&&(qa=Za.codePages[0]),typeof qa=="string"&&(qa=Za[qa]),qa)){for(Zo=!1,Ho=[],jn=0,yr=Vt.length;jn<yr;jn++)(Yi=qa[Vt.charCodeAt(jn)])?Ho.push(String.fromCharCode(Yi)):Ho.push(Vt[jn]),Ho[jn].charCodeAt(0)>>8&&(Zo=!0);Vt=Ho.join("")}for(jn=Vt.length;Zo===void 0&&jn!==0;)Vt.charCodeAt(jn-1)>>8&&(Zo=!0),jn--;if(!Zo)return Vt;for(Ho=hn.noBOM?[]:[254,255],jn=0,yr=Vt.length;jn<yr;jn++){if((cs=(Yi=Vt.charCodeAt(jn))>>8)>>8)throw new Error("Character at position "+jn+" of string '"+Vt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ho.push(cs),Ho.push(Yi-(cs<<8))}return String.fromCharCode.apply(void 0,Ho)}(Ue,lt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},xh=$e.__private__.beginPage=function(Ue){zr[++_A]=[],zo[_A]={objId:0,contentsObjId:0,userUnit:Number(Se),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ue[0]),topRightY:Number(Ue[1])}},j0(_A),pr(zr[Yt])},R0=function(Ue,lt){var Vt,hn,jn;switch(x=lt||x,typeof Ue=="string"&&(Vt=xt(Ue.toLowerCase()),Array.isArray(Vt)&&(hn=Vt[0],jn=Vt[1])),Array.isArray(Ue)&&(hn=Ue[0]*Qo,jn=Ue[1]*Qo),isNaN(hn)&&(hn=ae[0],jn=ae[1]),(hn>14400||jn>14400)&&(cA.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),hn=Math.min(14400,hn),jn=Math.min(14400,jn)),ae=[hn,jn],x.substr(0,1)){case"l":jn>hn&&(ae=[jn,hn]);break;case"p":hn>jn&&(ae=[jn,hn])}xh(ae),ep(Nh),an($f),Oh!==0&&an(Oh+" J"),Qh!==0&&an(Qh+" j"),aA.publish("addPage",{pageNumber:_A})},_h=function(Ue){Ue>0&&Ue<=_A&&(zr.splice(Ue,1),zo.splice(Ue,1),_A--,Yt>_A&&(Yt=_A),this.setPage(Yt))},j0=function(Ue){Ue>0&&Ue<=_A&&(Yt=Ue)},M0=$e.__private__.getNumberOfPages=$e.getNumberOfPages=function(){return zr.length-1},H0=function(Ue,lt,Vt){var hn,jn=void 0;return Vt=Vt||{},Ue=Ue!==void 0?Ue:no[so].fontName,lt=lt!==void 0?lt:no[so].fontStyle,hn=Ue.toLowerCase(),Jo[hn]!==void 0&&Jo[hn][lt]!==void 0?jn=Jo[hn][lt]:Jo[Ue]!==void 0&&Jo[Ue][lt]!==void 0?jn=Jo[Ue][lt]:Vt.disableWarning===!1&&cA.warn("Unable to look up font label for font '"+Ue+"', '"+lt+"'. Refer to getFontList() for available fonts."),jn||Vt.noFallback||(jn=Jo.times[lt])==null&&(jn=Jo.times.normal),jn},Gf=$e.__private__.putInfo=function(){var Ue=Ss(),lt=function(hn){return hn};for(var Vt in We!==null&&(lt=_s.encryptor(Ue,0)),an("<<"),an("/Producer ("+tc(lt("jsPDF "+Wa.version))+")"),Ai)Ai.hasOwnProperty(Vt)&&Ai[Vt]&&an("/"+Vt.substr(0,1).toUpperCase()+Vt.substr(1)+" ("+tc(lt(Ai[Vt]))+")");an("/CreationDate ("+tc(lt(qn))+")"),an(">>"),an("endobj")},$m=$e.__private__.putCatalog=function(Ue){var lt=(Ue=Ue||{}).rootDictionaryObjId||ag;switch(Ss(),an("<<"),an("/Type /Catalog"),an("/Pages "+lt+" 0 R"),io||(io="fullwidth"),io){case"fullwidth":an("/OpenAction [3 0 R /FitH null]");break;case"fullheight":an("/OpenAction [3 0 R /FitV null]");break;case"fullpage":an("/OpenAction [3 0 R /Fit]");break;case"original":an("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Vt=""+io;Vt.substr(Vt.length-1)==="%"&&(io=parseInt(io)/100),typeof io=="number"&&an("/OpenAction [3 0 R /XYZ null null "+Ft(io)+"]")}switch(Xo||(Xo="continuous"),Xo){case"continuous":an("/PageLayout /OneColumn");break;case"single":an("/PageLayout /SinglePage");break;case"two":case"twoleft":an("/PageLayout /TwoColumnLeft");break;case"tworight":an("/PageLayout /TwoColumnRight")}co&&an("/PageMode /"+co),aA.publish("putCatalog"),an(">>"),an("endobj")},Hs=$e.__private__.putTrailer=function(){an("trailer"),an("<<"),an("/Size "+(Tn+1)),an("/Root "+Tn+" 0 R"),an("/Info "+(Tn-1)+" 0 R"),We!==null&&an("/Encrypt "+_s.oid+" 0 R"),an("/ID [ <"+rr+"> <"+rr+"> ]"),an(">>")},K0=$e.__private__.putHeader=function(){an("%PDF-"+Mt),an("%\xBA\xDF\xAC\xE0")},z0=$e.__private__.putXRef=function(){var Ue="0000000000";an("xref"),an("0 "+(Tn+1)),an("0000000000 65535 f ");for(var lt=1;lt<=Tn;lt++)typeof Wn[lt]=="function"?an((Ue+Wn[lt]()).slice(-10)+" 00000 n "):Wn[lt]!==void 0?an((Ue+Wn[lt]).slice(-10)+" 00000 n "):an("0000000000 00000 n ")},xd=$e.__private__.buildDocument=function(){var Ue;Tn=0,nr=0,ir=[],Wn=[],Cr=[],ag=gl(),Ec=gl(),pr(ir),aA.publish("buildDocument"),K0(),id(),function(){aA.publish("putAdditionalObjects");for(var Vt=0;Vt<Cr.length;Vt++){var hn=Cr[Vt];wl(hn.objId,!0),an(hn.content),an("endobj")}aA.publish("postPutAdditionalObjects")}(),Ue=[],function(){for(var Vt in no)no.hasOwnProperty(Vt)&&(At===!1||At===!0&&mt.hasOwnProperty(Vt))&&Yg(no[Vt])}(),function(){var Vt;for(Vt in qo)qo.hasOwnProperty(Vt)&&Gm(qo[Vt])}(),function(){for(var Vt in Hl)Hl.hasOwnProperty(Vt)&&Hf(Hl[Vt])}(),function(Vt){var hn;for(hn in bo)bo.hasOwnProperty(hn)&&(bo[hn]instanceof Yc?Kf(bo[hn]):bo[hn]instanceof Jc&&zf(bo[hn],Vt))}(Ue),aA.publish("putResources"),Ue.forEach(Fh),Fh({resourcesOid:Ec,objectOid:Number.MAX_SAFE_INTEGER}),aA.publish("postPutResources"),We!==null&&(_s.oid=Ss(),an("<<"),an("/Filter /Standard"),an("/V "+_s.v),an("/R "+_s.r),an("/U <"+_s.toHexString(_s.U)+">"),an("/O <"+_s.toHexString(_s.O)+">"),an("/P "+_s.P),an(">>"),an("endobj")),Gf(),$m();var lt=nr;return z0(),Hs(),an("startxref"),an(""+lt),an("%%EOF"),pr(zr[Yt]),ir.join(`
|
|
|
`)},Jg=$e.__private__.getBlob=function(Ue){return new Blob([oi(Ue)],{type:"application/pdf"})},_c=$e.output=$e.__private__.output=(qu=function(Ue,lt){switch(typeof(lt=lt||{})=="string"?lt={filename:lt}:lt.filename=lt.filename||"generated.pdf",Ue){case void 0:return xd();case"save":$e.save(lt.filename);break;case"arraybuffer":return oi(xd());case"blob":return Jg(xd());case"bloburi":case"bloburl":if(Fo.URL!==void 0&&typeof Fo.URL.createObjectURL=="function")return Fo.URL&&Fo.URL.createObjectURL(Jg(xd()))||void 0;cA.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Vt="",hn=xd();try{Vt=bh(hn)}catch(Ks){Vt=bh(unescape(encodeURIComponent(hn)))}return"data:application/pdf;filename="+lt.filename+";base64,"+Vt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Fo)==="[object Window]"){var jn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",yr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';lt.pdfObjectUrl&&(jn=lt.pdfObjectUrl,yr="");var Nr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+jn+'"'+yr+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(lt)+");<\/script></body></html>",Za=Fo.open();return Za!==null&&Za.document.write(Nr),Za}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Fo)==="[object Window]"){var qa='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(lt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+lt.filename+'" width="500px" height="400px" /></body></html>',Ho=Fo.open();if(Ho!==null){Ho.document.write(qa);var Zo=this;Ho.document.documentElement.querySelector("#pdfViewer").onload=function(){Ho.document.title=lt.filename,Ho.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Zo.output("bloburl"))}}return Ho}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Fo)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Yi='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",lt)+'"></iframe></body></html>',cs=Fo.open();if(cs!==null&&(cs.document.write(Yi),cs.document.title=lt.filename),cs||typeof safari=="undefined")return cs;break;case"datauri":case"dataurl":return Fo.document.location.href=this.output("datauristring",lt);default:return null}},qu.foo=function(){try{return qu.apply(this,arguments)}catch(Vt){var Ue=Vt.stack||"";~Ue.indexOf(" at ")&&(Ue=Ue.split(" at ")[1]);var lt="Error in function "+Ue.split(`
|
|
|
`)[0].split("<")[0]+": "+Vt.message;if(!Fo.console)throw new Error(lt);Fo.console.error(lt,Vt),Fo.alert&&alert(lt)}},qu.foo.bar=qu,qu.foo),qg=function(Ue){return Array.isArray(Wg)===!0&&Wg.indexOf(Ue)>-1};switch(re){case"pt":Qo=1;break;case"mm":Qo=72/25.4;break;case"cm":Qo=72/2.54;break;case"in":Qo=72;break;case"px":Qo=qg("px_scaling")==1?.75:96/72;break;case"pc":case"em":Qo=12;break;case"ex":Qo=6;break;default:if(typeof re!="number")throw new Error("Invalid unit: "+re);Qo=re}var _s=null;Lr(),Zn();var Lh=$e.__private__.getPageInfo=$e.getPageInfo=function(Ue){if(isNaN(Ue)||Ue%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:zo[Ue].objId,pageNumber:Ue,pageContext:zo[Ue]}},Zm=$e.__private__.getPageInfoByObjId=function(Ue){if(isNaN(Ue)||Ue%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var lt in zo)if(zo[lt].objId===Ue)break;return Lh(lt)},Wm=$e.__private__.getCurrentPageInfo=$e.getCurrentPageInfo=function(){return{objId:zo[Yt].objId,pageNumber:Yt,pageContext:zo[Yt]}};$e.addPage=function(){return R0.apply(this,arguments),this},$e.setPage=function(){return j0.apply(this,arguments),pr.call(this,zr[Yt]),this},$e.insertPage=function(Ue){return this.addPage(),this.movePage(Yt,Ue),this},$e.movePage=function(Ue,lt){var Vt,hn;if(Ue>lt){Vt=zr[Ue],hn=zo[Ue];for(var jn=Ue;jn>lt;jn--)zr[jn]=zr[jn-1],zo[jn]=zo[jn-1];zr[lt]=Vt,zo[lt]=hn,this.setPage(lt)}else if(Ue<lt){Vt=zr[Ue],hn=zo[Ue];for(var yr=Ue;yr<lt;yr++)zr[yr]=zr[yr+1],zo[yr]=zo[yr+1];zr[lt]=Vt,zo[lt]=hn,this.setPage(lt)}return this},$e.deletePage=function(){return _h.apply(this,arguments),this},$e.__private__.text=$e.text=function(Ue,lt,Vt,hn,jn){var yr,Nr,Za,qa,Ho,Zo,Yi,cs,Ks,RA=(hn=hn||{}).scope||this;if(typeof Ue=="number"&&typeof lt=="number"&&(typeof Vt=="string"||Array.isArray(Vt))){var Xs=Vt;Vt=lt,lt=Ue,Ue=Xs}if(arguments[3]instanceof Co==0?(Za=arguments[4],qa=arguments[5],(0,Oe.Z)(Yi=arguments[3])==="object"&&Yi!==null||(typeof Za=="string"&&(qa=Za,Za=null),typeof Yi=="string"&&(qa=Yi,Yi=null),typeof Yi=="number"&&(Za=Yi,Yi=null),hn={flags:Yi,angle:Za,align:qa})):(tn("The transform parameter of text() with a Matrix value"),Ks=jn),isNaN(lt)||isNaN(Vt)||Ue==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Ue.length===0)return RA;var zs,bl="",nc=typeof hn.lineHeightFactor=="number"?hn.lineHeightFactor:tf,pu=RA.internal.scaleFactor;function J0(oA){return oA=oA.split(" ").join(Array(hn.TabLen||9).join(" ")),tc(oA,Yi)}function Xf(oA){for(var LA,Is=oA.concat(),Ys=[],Od=Is.length;Od--;)typeof(LA=Is.shift())=="string"?Ys.push(LA):Array.isArray(oA)&&(LA.length===1||LA[1]===void 0&&LA[2]===void 0)?Ys.push(LA[0]):Ys.push([LA[0],LA[1],LA[2]]);return Ys}function sf(oA,LA){var Is;if(typeof oA=="string")Is=LA(oA)[0];else if(Array.isArray(oA)){for(var Ys,Od,Wh=oA.concat(),qf=[],tm=Wh.length;tm--;)typeof(Ys=Wh.shift())=="string"?qf.push(LA(Ys)[0]):Array.isArray(Ys)&&typeof Ys[0]=="string"&&(Od=LA(Ys[0],Ys[1],Ys[2]),qf.push([Od[0],Od[1],Od[2]]));Is=qf}return Is}var Ag=!1,lf=!0;if(typeof Ue=="string")Ag=!0;else if(Array.isArray(Ue)){var uf=Ue.concat();Nr=[];for(var cf,Kl=uf.length;Kl--;)(typeof(cf=uf.shift())!="string"||Array.isArray(cf)&&typeof cf[0]!="string")&&(lf=!1);Ag=lf}if(Ag===!1)throw new Error('Type of text must be string or Array. "'+Ue+'" is not recognized.');typeof Ue=="string"&&(Ue=Ue.match(/[\r?\n]/)?Ue.split(/\r\n|\r|\n/g):[Ue]);var df=Yr/RA.internal.scaleFactor,gf=df*(nc-1);switch(hn.baseline){case"bottom":Vt-=gf;break;case"top":Vt+=df-gf;break;case"hanging":Vt+=df-2*gf;break;case"middle":Vt+=df/2-gf}if((Zo=hn.maxWidth||0)>0&&(typeof Ue=="string"?Ue=RA.splitTextToSize(Ue,Zo):Object.prototype.toString.call(Ue)==="[object Array]"&&(Ue=Ue.reduce(function(oA,LA){return oA.concat(RA.splitTextToSize(LA,Zo))},[]))),yr={text:Ue,x:lt,y:Vt,options:hn,mutex:{pdfEscape:tc,activeFontKey:so,fonts:no,activeFontSize:Yr}},aA.publish("preProcessText",yr),Ue=yr.text,Za=(hn=yr.options).angle,Ks instanceof Co==0&&Za&&typeof Za=="number"){Za*=Math.PI/180,hn.rotationDirection===0&&(Za=-Za),qt===cn&&(Za=-Za);var Rh=Math.cos(Za),jh=Math.sin(Za);Ks=new Co(Rh,jh,-jh,Rh,0,0)}else Za&&Za instanceof Co&&(Ks=Za);qt!==cn||Ks||(Ks=Fd),(Ho=hn.charSpace||Wf)!==void 0&&(bl+=xn(pn(Ho))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(cs=hn.horizontalScale)!==void 0&&(bl+=xn(100*cs)+` Tz
|
|
|
`),hn.lang;var ys=-1,Nd=hn.renderingMode!==void 0?hn.renderingMode:hn.stroke,Yf=RA.internal.getCurrentPageInfo().pageContext;switch(Nd){case 0:case!1:case"fill":ys=0;break;case 1:case!0:case"stroke":ys=1;break;case 2:case"fillThenStroke":ys=2;break;case 3:case"invisible":ys=3;break;case 4:case"fillAndAddForClipping":ys=4;break;case 5:case"strokeAndAddPathForClipping":ys=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":ys=6;break;case 7:case"addToPathForClipping":ys=7}var q0=Yf.usedRenderingMode!==void 0?Yf.usedRenderingMode:-1;ys!==-1?bl+=ys+` Tr
|
|
|
`:q0!==-1&&(bl+=`0 Tr
|
|
|
`),ys!==-1&&(Yf.usedRenderingMode=ys),qa=hn.align||"left";var rc,ff=Yr*nc,Mh=RA.internal.pageSize.getWidth(),Hh=no[so];Ho=hn.charSpace||Wf,Zo=hn.maxWidth||0,Yi=Object.assign({autoencode:!0,noBOM:!0},hn.flags);var sg=[],hf=function(oA){return RA.getStringUnitWidth(oA,{font:Hh,charSpace:Ho,fontSize:Yr,doKerning:!1})*Yr/pu};if(Object.prototype.toString.call(Ue)==="[object Array]"){var xu;Nr=Xf(Ue),qa!=="left"&&(rc=Nr.map(hf));var _u,lg=0;if(qa==="right"){lt-=rc[0],Ue=[],Kl=Nr.length;for(var Dd=0;Dd<Kl;Dd++)Dd===0?(_u=_d(lt),xu=Ld(Vt)):(_u=pn(lg-rc[Dd]),xu=-ff),Ue.push([Nr[Dd],_u,xu]),lg=rc[Dd]}else if(qa==="center"){lt-=rc[0]/2,Ue=[],Kl=Nr.length;for(var ug=0;ug<Kl;ug++)ug===0?(_u=_d(lt),xu=Ld(Vt)):(_u=pn((lg-rc[ug])/2),xu=-ff),Ue.push([Nr[ug],_u,xu]),lg=rc[ug]}else if(qa==="left"){Ue=[],Kl=Nr.length;for(var Kh=0;Kh<Kl;Kh++)Ue.push(Nr[Kh])}else if(qa==="justify"&&Hh.encoding==="Identity-H"){Ue=[],Kl=Nr.length,Zo=Zo!==0?Zo:Mh;for(var Jf=0,Ls=0;Ls<Kl;Ls++)if(xu=Ls===0?Ld(Vt):-ff,_u=Ls===0?_d(lt):Jf,Ls<Kl-1){var em=pn((Zo-rc[Ls])/(Nr[Ls].split(" ").length-1)),sd=Nr[Ls].split(" ");Ue.push([sd[0]+" ",_u,xu]),Jf=0;for(var ld=1;ld<sd.length;ld++){var zh=(hf(sd[ld-1]+" "+sd[ld])-hf(sd[ld]))*pu+em;ld==sd.length-1?Ue.push([sd[ld],zh,0]):Ue.push([sd[ld]+" ",zh,0]),Jf-=zh}}else Ue.push([Nr[Ls],_u,xu]);Ue.push(["",Jf,0])}else{if(qa!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(Ue=[],Kl=Nr.length,Zo=Zo!==0?Zo:Mh,Ls=0;Ls<Kl;Ls++){xu=Ls===0?Ld(Vt):-ff,_u=Ls===0?_d(lt):0;var Gh=Nr[Ls].split(" ").length-1,$h=Gh>0?(Zo-rc[Ls])/Gh:0;Ls<Kl-1?sg.push(xn(pn($h))):sg.push(0),Ue.push([Nr[Ls],_u,xu])}}}(typeof hn.R2L=="boolean"?hn.R2L:ii)===!0&&(Ue=sf(Ue,function(oA,LA,Is){return[oA.split("").reverse().join(""),LA,Is]})),yr={text:Ue,x:lt,y:Vt,options:hn,mutex:{pdfEscape:tc,activeFontKey:so,fonts:no,activeFontSize:Yr}},aA.publish("postProcessText",yr),Ue=yr.text,zs=yr.mutex.isHex||!1;var Zh=no[so].encoding;Zh!=="WinAnsiEncoding"&&Zh!=="StandardEncoding"||(Ue=sf(Ue,function(oA,LA,Is){return[J0(oA),LA,Is]})),Nr=Xf(Ue),Ue=[];for(var cg,dg,gg,mf=Array.isArray(Nr[0])?1:0,fg="",pf=function(oA,LA,Is){var Ys="";return Is instanceof Co?(Is=typeof hn.angle=="number"?Ed(Is,new Co(1,0,0,1,oA,LA)):Ed(new Co(1,0,0,1,oA,LA),Is),qt===cn&&(Is=Ed(new Co(1,0,0,-1,0,0),Is)),Ys=Is.join(" ")+` Tm
|
|
|
`):Ys=xn(oA)+" "+xn(LA)+` Td
|
|
|
`,Ys},ac=0;ac<Nr.length;ac++){switch(fg="",mf){case 1:gg=(zs?"<":"(")+Nr[ac][0]+(zs?">":")"),cg=parseFloat(Nr[ac][1]),dg=parseFloat(Nr[ac][2]);break;case 0:gg=(zs?"<":"(")+Nr[ac]+(zs?">":")"),cg=_d(lt),dg=Ld(Vt)}sg!==void 0&&sg[ac]!==void 0&&(fg=sg[ac]+` Tw
|
|
|
`),ac===0?Ue.push(fg+pf(cg,dg,Ks)+gg):mf===0?Ue.push(fg+gg):mf===1&&Ue.push(fg+pf(cg,dg,Ks)+gg)}Ue=mf===0?Ue.join(` Tj
|
|
|
T* `):Ue.join(` Tj
|
|
|
`),Ue+=` Tj
|
|
|
`;var ud=`BT
|
|
|
/`;return ud+=so+" "+Yr+` Tf
|
|
|
`,ud+=xn(Yr*nc)+` TL
|
|
|
`,ud+=nf+`
|
|
|
`,ud+=bl,ud+=Ue,an(ud+="ET"),mt[so]=!0,RA};var Vm=$e.__private__.clip=$e.clip=function(Ue){return an(Ue==="evenodd"?"W*":"W"),this};$e.clipEvenOdd=function(){return Vm("evenodd")},$e.__private__.discardPath=$e.discardPath=function(){return an("n"),this};var Ad=$e.__private__.isValidStyle=function(Ue){var lt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Ue)!==-1&&(lt=!0),lt};$e.__private__.setDefaultPathOperation=$e.setDefaultPathOperation=function(Ue){return Ad(Ue)&&(Ne=Ue),this};var G0=$e.__private__.getStyle=$e.getStyle=function(Ue){var lt=Ne;switch(Ue){case"D":case"S":lt="S";break;case"F":lt="f";break;case"FD":case"DF":lt="B";break;case"f":case"f*":case"B":case"B*":lt=Ue}return lt},$0=$e.close=function(){return an("h"),this};$e.stroke=function(){return an("S"),this},$e.fill=function(Ue){return og("f",Ue),this},$e.fillEvenOdd=function(Ue){return og("f*",Ue),this},$e.fillStroke=function(Ue){return og("B",Ue),this},$e.fillStrokeEvenOdd=function(Ue){return og("B*",Ue),this};var og=function(Ue,lt){(0,Oe.Z)(lt)==="object"?Ym(lt,Ue):an(Ue)},Ih=function(Ue){Ue===null||qt===cn&&Ue===void 0||(Ue=G0(Ue),an(Ue))};function Xm(Ue,lt,Vt,hn,jn){var yr=new Jc(lt||this.boundingBox,Vt||this.xStep,hn||this.yStep,this.gState,jn||this.matrix);yr.stream=this.stream;var Nr=Ue+"$$"+this.cloneIndex+++"$$";return Ju(Nr,yr),yr}var Ym=function(Ue,lt){var Vt=Ui[Ue.key],hn=bo[Vt];if(hn instanceof Yc)an("q"),an(Jm(lt)),hn.gState&&$e.setGState(hn.gState),an(Ue.matrix.toString()+" cm"),an("/"+Vt+" sh"),an("Q");else if(hn instanceof Jc){var jn=new Co(1,0,0,-1,0,Af());Ue.matrix&&(jn=jn.multiply(Ue.matrix||Fd),Vt=Xm.call(hn,Ue.key,Ue.boundingBox,Ue.xStep,Ue.yStep,jn).id),an("q"),an("/Pattern cs"),an("/"+Vt+" scn"),hn.gState&&$e.setGState(hn.gState),an(lt),an("Q")}},Jm=function(Ue){switch(Ue){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Uh=$e.moveTo=function(Ue,lt){return an(xn(pn(Ue))+" "+xn(gn(lt))+" m"),this},ef=$e.lineTo=function(Ue,lt){return an(xn(pn(Ue))+" "+xn(gn(lt))+" l"),this},ig=$e.curveTo=function(Ue,lt,Vt,hn,jn,yr){return an([xn(pn(Ue)),xn(gn(lt)),xn(pn(Vt)),xn(gn(hn)),xn(pn(jn)),xn(gn(yr)),"c"].join(" ")),this};$e.__private__.line=$e.line=function(Ue,lt,Vt,hn,jn){if(isNaN(Ue)||isNaN(lt)||isNaN(Vt)||isNaN(hn)||!Ad(jn))throw new Error("Invalid arguments passed to jsPDF.line");return qt===Sn?this.lines([[Vt-Ue,hn-lt]],Ue,lt,[1,1],jn||"S"):this.lines([[Vt-Ue,hn-lt]],Ue,lt,[1,1]).stroke()},$e.__private__.lines=$e.lines=function(Ue,lt,Vt,hn,jn,yr){var Nr,Za,qa,Ho,Zo,Yi,cs,Ks,RA,Xs,zs,bl;if(typeof Ue=="number"&&(bl=Vt,Vt=lt,lt=Ue,Ue=bl),hn=hn||[1,1],yr=yr||!1,isNaN(lt)||isNaN(Vt)||!Array.isArray(Ue)||!Array.isArray(hn)||!Ad(jn)||typeof yr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Uh(lt,Vt),Nr=hn[0],Za=hn[1],Ho=Ue.length,Xs=lt,zs=Vt,qa=0;qa<Ho;qa++)(Zo=Ue[qa]).length===2?(Xs=Zo[0]*Nr+Xs,zs=Zo[1]*Za+zs,ef(Xs,zs)):(Yi=Zo[0]*Nr+Xs,cs=Zo[1]*Za+zs,Ks=Zo[2]*Nr+Xs,RA=Zo[3]*Za+zs,Xs=Zo[4]*Nr+Xs,zs=Zo[5]*Za+zs,ig(Yi,cs,Ks,RA,Xs,zs));return yr&&$0(),Ih(jn),this},$e.path=function(Ue){for(var lt=0;lt<Ue.length;lt++){var Vt=Ue[lt],hn=Vt.c;switch(Vt.op){case"m":Uh(hn[0],hn[1]);break;case"l":ef(hn[0],hn[1]);break;case"c":ig.apply(this,hn);break;case"h":$0()}}return this},$e.__private__.rect=$e.rect=function(Ue,lt,Vt,hn,jn){if(isNaN(Ue)||isNaN(lt)||isNaN(Vt)||isNaN(hn)||!Ad(jn))throw new Error("Invalid arguments passed to jsPDF.rect");return qt===Sn&&(hn=-hn),an([xn(pn(Ue)),xn(gn(lt)),xn(pn(Vt)),xn(pn(hn)),"re"].join(" ")),Ih(jn),this},$e.__private__.triangle=$e.triangle=function(Ue,lt,Vt,hn,jn,yr,Nr){if(isNaN(Ue)||isNaN(lt)||isNaN(Vt)||isNaN(hn)||isNaN(jn)||isNaN(yr)||!Ad(Nr))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Vt-Ue,hn-lt],[jn-Vt,yr-hn],[Ue-jn,lt-yr]],Ue,lt,[1,1],Nr,!0),this},$e.__private__.roundedRect=$e.roundedRect=function(Ue,lt,Vt,hn,jn,yr,Nr){if(isNaN(Ue)||isNaN(lt)||isNaN(Vt)||isNaN(hn)||isNaN(jn)||isNaN(yr)||!Ad(Nr))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Za=4/3*(Math.SQRT2-1);return jn=Math.min(jn,.5*Vt),yr=Math.min(yr,.5*hn),this.lines([[Vt-2*jn,0],[jn*Za,0,jn,yr-yr*Za,jn,yr],[0,hn-2*yr],[0,yr*Za,-jn*Za,yr,-jn,yr],[2*jn-Vt,0],[-jn*Za,0,-jn,-yr*Za,-jn,-yr],[0,2*yr-hn],[0,-yr*Za,jn*Za,-yr,jn,-yr]],Ue+jn,lt,[1,1],Nr,!0),this},$e.__private__.ellipse=$e.ellipse=function(Ue,lt,Vt,hn,jn){if(isNaN(Ue)||isNaN(lt)||isNaN(Vt)||isNaN(hn)||!Ad(jn))throw new Error("Invalid arguments passed to jsPDF.ellipse");var yr=4/3*(Math.SQRT2-1)*Vt,Nr=4/3*(Math.SQRT2-1)*hn;return Uh(Ue+Vt,lt),ig(Ue+Vt,lt-Nr,Ue+yr,lt-hn,Ue,lt-hn),ig(Ue-yr,lt-hn,Ue-Vt,lt-Nr,Ue-Vt,lt),ig(Ue-Vt,lt+Nr,Ue-yr,lt+hn,Ue,lt+hn),ig(Ue+yr,lt+hn,Ue+Vt,lt+Nr,Ue+Vt,lt),Ih(jn),this},$e.__private__.circle=$e.circle=function(Ue,lt,Vt,hn){if(isNaN(Ue)||isNaN(lt)||isNaN(Vt)||!Ad(hn))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Ue,lt,Vt,Vt,hn)},$e.setFont=function(Ue,lt,Vt){return Vt&&(lt=ar(lt,Vt)),so=H0(Ue,lt,{disableWarning:!1}),this};var qm=$e.__private__.getFont=$e.getFont=function(){return no[H0.apply($e,arguments)]};$e.__private__.getFontList=$e.getFontList=function(){var Ue,lt,Vt={};for(Ue in Jo)if(Jo.hasOwnProperty(Ue))for(lt in Vt[Ue]=[],Jo[Ue])Jo[Ue].hasOwnProperty(lt)&&Vt[Ue].push(lt);return Vt},$e.addFont=function(Ue,lt,Vt,hn,jn){var yr=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&yr.indexOf(arguments[3])!==-1?jn=arguments[3]:arguments[3]&&yr.indexOf(arguments[3])==-1&&(Vt=ar(Vt,hn)),k0.call(this,Ue,lt,Vt,jn=jn||"Identity-H")};var tf,Nh=b.lineWidth||.200025,Go=$e.__private__.getLineWidth=$e.getLineWidth=function(){return Nh},ep=$e.__private__.setLineWidth=$e.setLineWidth=function(Ue){return Nh=Ue,an(xn(pn(Ue))+" w"),this};$e.__private__.setLineDash=Wa.API.setLineDash=Wa.API.setLineDashPattern=function(Ue,lt){if(Ue=Ue||[],lt=lt||0,isNaN(lt)||!Array.isArray(Ue))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Ue=Ue.map(function(Vt){return xn(pn(Vt))}).join(" "),lt=xn(pn(lt)),an("["+Ue+"] "+lt+" d"),this};var tp=$e.__private__.getLineHeight=$e.getLineHeight=function(){return Yr*tf};$e.__private__.getLineHeight=$e.getLineHeight=function(){return Yr*tf};var np=$e.__private__.setLineHeightFactor=$e.setLineHeightFactor=function(Ue){return typeof(Ue=Ue||1.15)=="number"&&(tf=Ue),this},rp=$e.__private__.getLineHeightFactor=$e.getLineHeightFactor=function(){return tf};np(b.lineHeight);var _d=$e.__private__.getHorizontalCoordinate=function(Ue){return pn(Ue)},Ld=$e.__private__.getVerticalCoordinate=function(Ue){return qt===cn?Ue:zo[Yt].mediaBox.topRightY-zo[Yt].mediaBox.bottomLeftY-pn(Ue)},ap=$e.__private__.getHorizontalCoordinateString=$e.getHorizontalCoordinateString=function(Ue){return xn(_d(Ue))},op=$e.__private__.getVerticalCoordinateString=$e.getVerticalCoordinateString=function(Ue){return xn(Ld(Ue))},$f=b.strokeColor||"0 G";$e.__private__.getStrokeColor=$e.getDrawColor=function(){return od($f)},$e.__private__.setStrokeColor=$e.setDrawColor=function(Ue,lt,Vt,hn){return $f=Fc({ch1:Ue,ch2:lt,ch3:Vt,ch4:hn,pdfColorType:"draw",precision:2}),an($f),this};var Dh=b.fillColor||"0 g";$e.__private__.getFillColor=$e.getFillColor=function(){return od(Dh)},$e.__private__.setFillColor=$e.setFillColor=function(Ue,lt,Vt,hn){return Dh=Fc({ch1:Ue,ch2:lt,ch3:Vt,ch4:hn,pdfColorType:"fill",precision:2}),an(Dh),this};var nf=b.textColor||"0 g",Zf=$e.__private__.getTextColor=$e.getTextColor=function(){return od(nf)};$e.__private__.setTextColor=$e.setTextColor=function(Ue,lt,Vt,hn){return nf=Fc({ch1:Ue,ch2:lt,ch3:Vt,ch4:hn,pdfColorType:"text",precision:3}),this};var Wf=b.charSpace,ip=$e.__private__.getCharSpace=$e.getCharSpace=function(){return parseFloat(Wf||0)};$e.__private__.setCharSpace=$e.setCharSpace=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Wf=Ue,this};var Oh=0;$e.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},$e.__private__.setLineCap=$e.setLineCap=function(Ue){var lt=$e.CapJoinStyles[Ue];if(lt===void 0)throw new Error("Line cap style of '"+Ue+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Oh=lt,an(lt+" J"),this};var Qh=0;$e.__private__.setLineJoin=$e.setLineJoin=function(Ue){var lt=$e.CapJoinStyles[Ue];if(lt===void 0)throw new Error("Line join style of '"+Ue+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qh=lt,an(lt+" j"),this},$e.__private__.setLineMiterLimit=$e.__private__.setMiterLimit=$e.setLineMiterLimit=$e.setMiterLimit=function(Ue){if(Ue=Ue||0,isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return an(xn(pn(Ue))+" M"),this},$e.GState=Zg,$e.setGState=function(Ue){(Ue=typeof Ue=="string"?qo[xs[Ue]]:rf(null,Ue)).equals(Vs)||(an("/"+Ue.id+" gs"),Vs=Ue)};var rf=function(Ue,lt){if(!Ue||!xs[Ue]){var Vt=!1;for(var hn in qo)if(qo.hasOwnProperty(hn)&&qo[hn].equals(lt)){Vt=!0;break}if(Vt)lt=qo[hn];else{var jn="GS"+(Object.keys(qo).length+1).toString(10);qo[jn]=lt,lt.id=jn}return Ue&&(xs[Ue]=lt.id),aA.publish("addGState",lt),lt}};$e.addGState=function(Ue,lt){return rf(Ue,lt),this},$e.saveGraphicsState=function(){return an("q"),xA.push({key:so,size:Yr,color:nf}),this},$e.restoreGraphicsState=function(){an("Q");var Ue=xA.pop();return so=Ue.key,Yr=Ue.size,nf=Ue.color,Vs=null,this},$e.setCurrentTransformationMatrix=function(Ue){return an(Ue.toString()+" cm"),this},$e.comment=function(Ue){return an("#"+Ue),this};var af=function(Ue,lt){var Vt=Ue||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Vt},set:function(yr){isNaN(yr)||(Vt=parseFloat(yr))}});var hn=lt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return hn},set:function(yr){isNaN(yr)||(hn=parseFloat(yr))}});var jn="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return jn},set:function(yr){jn=yr.toString()}}),this},Th=function(Ue,lt,Vt,hn){af.call(this,Ue,lt),this.type="rect";var jn=Vt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return jn},set:function(Nr){isNaN(Nr)||(jn=parseFloat(Nr))}});var yr=hn||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return yr},set:function(Nr){isNaN(Nr)||(yr=parseFloat(Nr))}}),this},Vf=function(){this.page=_A,this.currentPage=Yt,this.pages=zr.slice(0),this.pagesContext=zo.slice(0),this.x=lo,this.y=kA,this.matrix=Xi,this.width=Z0(Yt),this.height=Id(Yt),this.outputDestination=ya,this.id="",this.objectNumber=-1};Vf.prototype.restore=function(){_A=this.page,Yt=this.currentPage,zo=this.pagesContext,zr=this.pages,lo=this.x,kA=this.y,Xi=this.matrix,W0(Yt,this.width),Ud(Yt,this.height),ya=this.outputDestination};var kh=function(Ue,lt,Vt,hn,jn){ad.push(new Vf),_A=Yt=0,zr=[],lo=Ue,kA=lt,Xi=jn,xh([Vt,hn])};for(var of in $e.beginFormObject=function(Ue,lt,Vt,hn,jn){return kh(Ue,lt,Vt,hn,jn),this},$e.endFormObject=function(Ue){return function(lt){if(Pd[lt])ad.pop().restore();else{var Vt=new Vf,hn="Xo"+(Object.keys(Hl).length+1).toString(10);Vt.id=hn,Pd[lt]=hn,Hl[hn]=Vt,aA.publish("addFormObject",Vt),ad.pop().restore()}}(Ue),this},$e.doFormObject=function(Ue,lt){var Vt=Hl[Pd[Ue]];return an("q"),an(lt.toString()+" cm"),an("/"+Vt.id+" Do"),an("Q"),this},$e.getFormObject=function(Ue){var lt=Hl[Pd[Ue]];return{x:lt.x,y:lt.y,width:lt.width,height:lt.height,matrix:lt.matrix}},$e.save=function(Ue,lt){return Ue=Ue||"generated.pdf",(lt=lt||{}).returnPromise=lt.returnPromise||!1,lt.returnPromise===!1?(Vc(Jg(xd()),Ue),typeof Vc.unload=="function"&&Fo.setTimeout&&setTimeout(Vc.unload,911),this):new Promise(function(Vt,hn){try{var jn=Vc(Jg(xd()),Ue);typeof Vc.unload=="function"&&Fo.setTimeout&&setTimeout(Vc.unload,911),Vt(jn)}catch(yr){hn(yr.message)}})},Wa.API)Wa.API.hasOwnProperty(of)&&(of==="events"&&Wa.API.events.length?function(Ue,lt){var Vt,hn,jn;for(jn=lt.length-1;jn!==-1;jn--)Vt=lt[jn][0],hn=lt[jn][1],Ue.subscribe.apply(Ue,[Vt].concat(typeof hn=="function"?[hn]:hn))}(aA,Wa.API.events):$e[of]=Wa.API[of]);function Z0(Ue){return zo[Ue].mediaBox.topRightX-zo[Ue].mediaBox.bottomLeftX}function W0(Ue,lt){zo[Ue].mediaBox.topRightX=lt+zo[Ue].mediaBox.bottomLeftX}function Id(Ue){return zo[Ue].mediaBox.topRightY-zo[Ue].mediaBox.bottomLeftY}function Ud(Ue,lt){zo[Ue].mediaBox.topRightY=lt+zo[Ue].mediaBox.bottomLeftY}var V0=$e.getPageWidth=function(Ue){return Z0(Ue=Ue||Yt)/Qo},X0=$e.setPageWidth=function(Ue,lt){W0(Ue,lt*Qo)},Af=$e.getPageHeight=function(Ue){return Id(Ue=Ue||Yt)/Qo},Y0=$e.setPageHeight=function(Ue,lt){Ud(Ue,lt*Qo)};return $e.internal={pdfEscape:tc,getStyle:G0,getFont:qm,getFontSize:Pa,getCharSpace:ip,getTextColor:Zf,getLineHeight:tp,getLineHeightFactor:rp,getLineWidth:Go,write:xi,getHorizontalCoordinate:_d,getVerticalCoordinate:Ld,getCoordinateString:ap,getVerticalCoordinateString:op,collections:{},newObject:Ss,newAdditionalObject:Vg,newObjectDeferred:gl,newObjectDeferredBegin:wl,getFilters:xc,putStream:ec,events:aA,scaleFactor:Qo,pageSize:{getWidth:function(){return V0(Yt)},setWidth:function(Ue){X0(Yt,Ue)},getHeight:function(){return Af(Yt)},setHeight:function(Ue){Y0(Yt,Ue)}},encryptionOptions:We,encryption:_s,getEncryptor:function(Ue){return We!==null?_s.encryptor(Ue,0):function(lt){return lt}},output:_c,getNumberOfPages:M0,pages:zr,out:an,f2:Ft,f3:zt,getPageInfo:Lh,getPageInfoByObjId:Zm,getCurrentPageInfo:Wm,getPDFVersion:Tt,Point:af,Rectangle:Th,Matrix:Co,hasHotfix:qg},Object.defineProperty($e.internal.pageSize,"width",{get:function(){return V0(Yt)},set:function(Ue){X0(Yt,Ue)},enumerable:!0,configurable:!0}),Object.defineProperty($e.internal.pageSize,"height",{get:function(){return Af(Yt)},set:function(Ue){Y0(Yt,Ue)},enumerable:!0,configurable:!0}),function(Ue){for(var lt=0,Vt=po.length;lt<Vt;lt++){var hn=k0.call(this,Ue[lt][0],Ue[lt][1],Ue[lt][2],po[lt][3],!0);At===!1&&(mt[hn]=!0);var jn=Ue[lt][0].split("-");T0({id:hn,fontName:jn[0],fontStyle:jn[1]||""})}aA.publish("addFonts",{fonts:no,dictionary:Jo})}.call($e,po),so="F1",R0(ae,x),aA.publish("initialized"),$e}eg.prototype.lsbFirstWord=function(b){return String.fromCharCode(255&b,b>>8&255,b>>16&255,b>>24&255)},eg.prototype.toHexString=function(b){return b.split("").map(function(z){return("0"+(255&z.charCodeAt(0)).toString(16)).slice(-2)}).join("")},eg.prototype.hexToBytes=function(b){for(var z=[],x=0;x<b.length;x+=2)z.push(String.fromCharCode(parseInt(b.substr(x,2),16)));return z.join("")},eg.prototype.processOwnerPassword=function(b,z){return Xc(Ch(z).substr(0,5),b)},eg.prototype.encryptor=function(b,z){var x=Ch(this.encryptionKey+String.fromCharCode(255&b,b>>8&255,b>>16&255,255&z,z>>8&255)).substr(0,10);return function(re){return Xc(x,re)}},Zg.prototype.equals=function(b){var z,x="id,objectNumber,equals";if(!b||(0,Oe.Z)(b)!==(0,Oe.Z)(this))return!1;var re=0;for(z in this)if(!(x.indexOf(z)>=0)){if(this.hasOwnProperty(z)&&!b.hasOwnProperty(z)||this[z]!==b[z])return!1;re++}for(z in b)b.hasOwnProperty(z)&&x.indexOf(z)<0&&re--;return re===0},Wa.API={events:[]},Wa.version="3.0.3";var es=Wa.API,Eh=1,wd=function(b){return b.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},tg=function(b){return b.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},jo=function(b){return b.toFixed(2)},qc=function(b){return b.toFixed(5)};es.__acroform__={};var jl=function(b,z){b.prototype=Object.create(z.prototype),b.prototype.constructor=b},O0=function(b){return b*Eh},Xu=function(b){var z=new dr,x=aa.internal.getHeight(b)||0,re=aa.internal.getWidth(b)||0;return z.BBox=[0,0,Number(jo(re)),Number(jo(x))],z},Rm=es.__acroform__.setBit=function(b,z){if(b=b||0,z=z||0,isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return b|1<<z},jm=es.__acroform__.clearBit=function(b,z){if(b=b||0,z=z||0,isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return b&~(1<<z)},Mm=es.__acroform__.getBit=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return b&1<<z?1:0},us=es.__acroform__.getBitForPdf=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Mm(b,z-1)},ue=es.__acroform__.setBitForPdf=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Rm(b,z-1)},Ae=es.__acroform__.clearBitForPdf=function(b,z){if(isNaN(b)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return jm(b,z-1)},fe=es.__acroform__.calculateCoordinates=function(b,z){var x=z.internal.getHorizontalCoordinate,re=z.internal.getVerticalCoordinate,ae=b[0],se=b[1],Ee=b[2],Se=b[3],xe={};return xe.lowerLeft_X=x(ae)||0,xe.lowerLeft_Y=re(se+Se)||0,xe.upperRight_X=x(ae+Ee)||0,xe.upperRight_Y=re(se)||0,[Number(jo(xe.lowerLeft_X)),Number(jo(xe.lowerLeft_Y)),Number(jo(xe.upperRight_X)),Number(jo(xe.upperRight_Y))]},ge=function(b){if(b.appearanceStreamContent)return b.appearanceStreamContent;if(b.V||b.DV){var z=[],x=b._V||b.DV,re=He(b,x),ae=b.scope.internal.getFont(b.fontName,b.fontStyle).id;z.push("/Tx BMC"),z.push("q"),z.push("BT"),z.push(b.scope.__private__.encodeColorString(b.color)),z.push("/"+ae+" "+jo(re.fontSize)+" Tf"),z.push("1 0 0 1 0 0 Tm"),z.push(re.text),z.push("ET"),z.push("Q"),z.push("EMC");var se=Xu(b);return se.scope=b.scope,se.stream=z.join(`
|
|
|
`),se}},He=function(b,z){var x=b.fontSize===0?b.maxFontSize:b.fontSize,re={text:"",fontSize:""},ae=(z=(z=z.substr(0,1)=="("?z.substr(1):z).substr(z.length-1)==")"?z.substr(0,z.length-1):z).split(" ");ae=b.multiline?ae.map(function(Ft){return Ft.split(`
|
|
|
`)}):ae.map(function(Ft){return[Ft]});var se=x,Ee=aa.internal.getHeight(b)||0;Ee=Ee<0?-Ee:Ee;var Se=aa.internal.getWidth(b)||0;Se=Se<0?-Se:Se;var xe=function(Ft,zt,pn){if(Ft+1<ae.length){var gn=zt+" "+ae[Ft+1][0];return tt(gn,b,pn).width<=Se-4}return!1};se++;e:for(;se>0;){z="",se--;var Ne,We,At=tt("3",b,se).height,mt=b.multiline?Ee-se:(Ee-At)/2,$e=mt+=2,Mt=0,Tt=0,Ht=0;if(se<=0){z=`(...) Tj
|
|
|
`,z+="% Width of Text: "+tt(z,b,se=12).width+", FieldWidth:"+Se+`
|
|
|
`;break}for(var xt="",Sn=0,cn=0;cn<ae.length;cn++)if(ae.hasOwnProperty(cn)){var qt=!1;if(ae[cn].length!==1&&Ht!==ae[cn].length-1){if((At+2)*(Sn+2)+2>Ee)continue e;xt+=ae[cn][Ht],qt=!0,Tt=cn,cn--}else{xt=(xt+=ae[cn][Ht]+" ").substr(xt.length-1)==" "?xt.substr(0,xt.length-1):xt;var Yn=parseInt(cn),Br=xe(Yn,xt,se),ar=cn>=ae.length-1;if(Br&&!ar){xt+=" ",Ht=0;continue}if(Br||ar){if(ar)Tt=Yn;else if(b.multiline&&(At+2)*(Sn+2)+2>Ee)continue e}else{if(!b.multiline||(At+2)*(Sn+2)+2>Ee)continue e;Tt=Yn}}for(var xn="",tn=Mt;tn<=Tt;tn++){var Mn=ae[tn];if(b.multiline){if(tn===Tt){xn+=Mn[Ht]+" ",Ht=(Ht+1)%Mn.length;continue}if(tn===Mt){xn+=Mn[Mn.length-1]+" ";continue}}xn+=Mn[0]+" "}switch(xn=xn.substr(xn.length-1)==" "?xn.substr(0,xn.length-1):xn,We=tt(xn,b,se).width,b.textAlign){case"right":Ne=Se-We-2;break;case"center":Ne=(Se-We)/2;break;default:Ne=2}z+=jo(Ne)+" "+jo($e)+` Td
|
|
|
`,z+="("+wd(xn)+`) Tj
|
|
|
`,z+=-jo(Ne)+` 0 Td
|
|
|
`,$e=-(se+2),We=0,Mt=qt?Tt:Tt+1,Sn++,xt=""}break}return re.text=z,re.fontSize=se,re},tt=function(b,z,x){var re=z.scope.internal.getFont(z.fontName,z.fontStyle),ae=z.scope.getStringUnitWidth(b,{font:re,fontSize:parseFloat(x),charSpace:0})*parseFloat(x);return{height:z.scope.getStringUnitWidth("3",{font:re,fontSize:parseFloat(x),charSpace:0})*parseFloat(x)*1.5,width:ae}},ht={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},jt=function(b,z){var x={type:"reference",object:b};z.internal.getPageInfo(b.page).pageContext.annotations.find(function(re){return re.type===x.type&&re.object===x.object})===void 0&&z.internal.getPageInfo(b.page).pageContext.annotations.push(x)},Rt=function(b,z){if(z.scope=b,b.internal!==void 0&&(b.internal.acroformPlugin===void 0||b.internal.acroformPlugin.isInitialized===!1)){if(Mr.FieldNum=0,b.internal.acroformPlugin=JSON.parse(JSON.stringify(ht)),b.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Eh=b.internal.scaleFactor,b.internal.acroformPlugin.acroFormDictionaryRoot=new Ca,b.internal.acroformPlugin.acroFormDictionaryRoot.scope=b,b.internal.acroformPlugin.acroFormDictionaryRoot._eventID=b.internal.events.subscribe("postPutResources",function(){(function(x){x.internal.events.unsubscribe(x.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete x.internal.acroformPlugin.acroFormDictionaryRoot._eventID,x.internal.acroformPlugin.printedOut=!0})(b)}),b.internal.events.subscribe("buildDocument",function(){(function(x){x.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var re=x.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var ae in re)if(re.hasOwnProperty(ae)){var se=re[ae];se.objId=void 0,se.hasAnnotation&&jt(se,x)}})(b)}),b.internal.events.subscribe("putCatalog",function(){(function(x){if(x.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");x.internal.write("/AcroForm "+x.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(b)}),b.internal.events.subscribe("postPutPages",function(x){(function(re,ae){var se=!re;for(var Ee in re||(ae.internal.newObjectDeferredBegin(ae.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),ae.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),re=re||ae.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(re.hasOwnProperty(Ee)){var Se=re[Ee],xe=[],Ne=Se.Rect;if(Se.Rect&&(Se.Rect=fe(Se.Rect,ae)),ae.internal.newObjectDeferredBegin(Se.objId,!0),Se.DA=aa.createDefaultAppearanceStream(Se),(0,Oe.Z)(Se)==="object"&&typeof Se.getKeyValueListForStream=="function"&&(xe=Se.getKeyValueListForStream()),Se.Rect=Ne,Se.hasAppearanceStream&&!Se.appearanceStreamContent){var We=ge(Se);xe.push({key:"AP",value:"<</N "+We+">>"}),ae.internal.acroformPlugin.xForms.push(We)}if(Se.appearanceStreamContent){var At="";for(var mt in Se.appearanceStreamContent)if(Se.appearanceStreamContent.hasOwnProperty(mt)){var $e=Se.appearanceStreamContent[mt];if(At+="/"+mt+" ",At+="<<",Object.keys($e).length>=1||Array.isArray($e)){for(var Ee in $e)if($e.hasOwnProperty(Ee)){var Mt=$e[Ee];typeof Mt=="function"&&(Mt=Mt.call(ae,Se)),At+="/"+Ee+" "+Mt+" ",ae.internal.acroformPlugin.xForms.indexOf(Mt)>=0||ae.internal.acroformPlugin.xForms.push(Mt)}}else typeof(Mt=$e)=="function"&&(Mt=Mt.call(ae,Se)),At+="/"+Ee+" "+Mt,ae.internal.acroformPlugin.xForms.indexOf(Mt)>=0||ae.internal.acroformPlugin.xForms.push(Mt);At+=">>"}xe.push({key:"AP",value:`<<
|
|
|
`+At+">>"})}ae.internal.putStream({additionalKeyValues:xe,objectId:Se.objId}),ae.internal.out("endobj")}se&&function(Tt,Ht){for(var xt in Tt)if(Tt.hasOwnProperty(xt)){var Sn=xt,cn=Tt[xt];Ht.internal.newObjectDeferredBegin(cn.objId,!0),(0,Oe.Z)(cn)==="object"&&typeof cn.putStream=="function"&&cn.putStream(),delete Tt[Sn]}}(ae.internal.acroformPlugin.xForms,ae)})(x,b)}),b.internal.acroformPlugin.isInitialized=!0}},bn=es.__acroform__.arrayToPdfArray=function(b,z,x){var re=function(Ee){return Ee};if(Array.isArray(b)){for(var ae="[",se=0;se<b.length;se++)switch(se!==0&&(ae+=" "),(0,Oe.Z)(b[se])){case"boolean":case"number":case"object":ae+=b[se].toString();break;case"string":b[se].substr(0,1)!=="/"?(z!==void 0&&x&&(re=x.internal.getEncryptor(z)),ae+="("+wd(re(b[se].toString()))+")"):ae+=b[se].toString()}return ae+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Un=function(b,z,x){var re=function(ae){return ae};return z!==void 0&&x&&(re=x.internal.getEncryptor(z)),(b=b||"").toString(),"("+wd(re(b))+")"},Rn=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(b){this._objId=b}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Rn.prototype.toString=function(){return this.objId+" 0 R"},Rn.prototype.putStream=function(){var b=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:b,objectId:this.objId}),this.scope.internal.out("endobj")},Rn.prototype.getKeyValueListForStream=function(){var b=[],z=Object.getOwnPropertyNames(this).filter(function(se){return se!="content"&&se!="appearanceStreamContent"&&se!="scope"&&se!="objId"&&se.substring(0,1)!="_"});for(var x in z)if(Object.getOwnPropertyDescriptor(this,z[x]).configurable===!1){var re=z[x],ae=this[re];ae&&(Array.isArray(ae)?b.push({key:re,value:bn(ae,this.objId,this.scope)}):ae instanceof Rn?(ae.scope=this.scope,b.push({key:re,value:ae.objId+" 0 R"})):typeof ae!="function"&&b.push({key:re,value:ae}))}return b};var dr=function(){Rn.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var b,z=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return z},set:function(x){z=x}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(x){b=x.trim()},get:function(){return b||null}})};jl(dr,Rn);var Ca=function(){Rn.call(this);var b,z=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return z.length>0?z:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return z}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(b){var x=function(re){return re};return this.scope&&(x=this.scope.internal.getEncryptor(this.objId)),"("+wd(x(b))+")"}},set:function(x){b=x}})};jl(Ca,Rn);var Mr=function b(){Rn.call(this);var z=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return z},set:function(xt){if(isNaN(xt))throw new Error('Invalid value "'+xt+'" for attribute F supplied.');z=xt}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!us(z,3)},set:function(xt){xt?this.F=ue(z,3):this.F=Ae(z,3)}});var x=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return x},set:function(xt){if(isNaN(xt))throw new Error('Invalid value "'+xt+'" for attribute Ff supplied.');x=xt}});var re=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(re.length!==0)return re},set:function(xt){re=xt!==void 0?xt:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[0])?0:re[0]},set:function(xt){re[0]=xt}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[1])?0:re[1]},set:function(xt){re[1]=xt}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[2])?0:re[2]},set:function(xt){re[2]=xt}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[3])?0:re[3]},set:function(xt){re[3]=xt}});var ae="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return ae},set:function(xt){switch(xt){case"/Btn":case"/Tx":case"/Ch":case"/Sig":ae=xt;break;default:throw new Error('Invalid value "'+xt+'" for attribute FT supplied.')}}});var se=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!se||se.length<1){if(this instanceof ha)return;se="FieldObject"+b.FieldNum++}var xt=function(Sn){return Sn};return this.scope&&(xt=this.scope.internal.getEncryptor(this.objId)),"("+wd(xt(se))+")"},set:function(xt){se=xt.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return se},set:function(xt){se=xt}});var Ee="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Ee},set:function(xt){Ee=xt}});var Se="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Se},set:function(xt){Se=xt}});var xe=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return xe},set:function(xt){xe=xt}});var Ne=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ne===void 0?50/Eh:Ne},set:function(xt){Ne=xt}});var We="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return We},set:function(xt){We=xt}});var At="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!At||this instanceof ha||this instanceof Vo))return Un(At,this.objId,this.scope)},set:function(xt){xt=xt.toString(),At=xt}});var mt=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(mt)return this instanceof ho==0?Un(mt,this.objId,this.scope):mt},set:function(xt){xt=xt.toString(),mt=this instanceof ho==0?xt.substr(0,1)==="("?tg(xt.substr(1,xt.length-2)):tg(xt):xt}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ho==1?tg(mt.substr(1,mt.length-1)):mt},set:function(xt){xt=xt.toString(),mt=this instanceof ho==1?"/"+xt:xt}});var $e=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if($e)return $e},set:function(xt){this.V=xt}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if($e)return this instanceof ho==0?Un($e,this.objId,this.scope):$e},set:function(xt){xt=xt.toString(),$e=this instanceof ho==0?xt.substr(0,1)==="("?tg(xt.substr(1,xt.length-2)):tg(xt):xt}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ho==1?tg($e.substr(1,$e.length-1)):$e},set:function(xt){xt=xt.toString(),$e=this instanceof ho==1?"/"+xt:xt}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var Mt,Tt=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Tt},set:function(xt){xt=!!xt,Tt=xt}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Mt)return Mt},set:function(xt){Mt=xt}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,1)},set:function(xt){xt?this.Ff=ue(this.Ff,1):this.Ff=Ae(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,2)},set:function(xt){xt?this.Ff=ue(this.Ff,2):this.Ff=Ae(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,3)},set:function(xt){xt?this.Ff=ue(this.Ff,3):this.Ff=Ae(this.Ff,3)}});var Ht=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Ht!==null)return Ht},set:function(xt){if([0,1,2].indexOf(xt)===-1)throw new Error('Invalid value "'+xt+'" for attribute Q supplied.');Ht=xt}}),Object.defineProperty(this,"textAlign",{get:function(){var xt;switch(Ht){case 0:default:xt="left";break;case 1:xt="center";break;case 2:xt="right"}return xt},configurable:!0,enumerable:!0,set:function(xt){switch(xt){case"right":case 2:Ht=2;break;case"center":case 1:Ht=1;break;default:Ht=0}}})};jl(Mr,Rn);var ia=function(){Mr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var b=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return b},set:function(x){b=x}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return b},set:function(x){b=x}});var z=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return bn(z,this.objId,this.scope)},set:function(x){var re,ae;ae=[],typeof(re=x)=="string"&&(ae=function(se,Ee,Se){Se||(Se=1);for(var xe,Ne=[];xe=Ee.exec(se);)Ne.push(xe[Se]);return Ne}(re,/\((.*?)\)/g)),z=ae}}),this.getOptions=function(){return z},this.setOptions=function(x){z=x,this.sort&&z.sort()},this.addOption=function(x){x=(x=x||"").toString(),z.push(x),this.sort&&z.sort()},this.removeOption=function(x,re){for(re=re||!1,x=(x=x||"").toString();z.indexOf(x)!==-1&&(z.splice(z.indexOf(x),1),re!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,18)},set:function(x){x?this.Ff=ue(this.Ff,18):this.Ff=Ae(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,19)},set:function(x){this.combo===!0&&(x?this.Ff=ue(this.Ff,19):this.Ff=Ae(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,20)},set:function(x){x?(this.Ff=ue(this.Ff,20),z.sort()):this.Ff=Ae(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,22)},set:function(x){x?this.Ff=ue(this.Ff,22):this.Ff=Ae(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,23)},set:function(x){x?this.Ff=ue(this.Ff,23):this.Ff=Ae(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,27)},set:function(x){x?this.Ff=ue(this.Ff,27):this.Ff=Ae(this.Ff,27)}}),this.hasAppearanceStream=!1};jl(ia,Mr);var xo=function(){ia.call(this),this.fontName="helvetica",this.combo=!1};jl(xo,ia);var Ra=function(){xo.call(this),this.combo=!0};jl(Ra,xo);var Qa=function(){Ra.call(this),this.edit=!0};jl(Qa,Ra);var ho=function(){Mr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,15)},set:function(x){x?this.Ff=ue(this.Ff,15):this.Ff=Ae(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,16)},set:function(x){x?this.Ff=ue(this.Ff,16):this.Ff=Ae(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,17)},set:function(x){x?this.Ff=ue(this.Ff,17):this.Ff=Ae(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,26)},set:function(x){x?this.Ff=ue(this.Ff,26):this.Ff=Ae(this.Ff,26)}});var b,z={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var x=function(se){return se};if(this.scope&&(x=this.scope.internal.getEncryptor(this.objId)),Object.keys(z).length!==0){var re,ae=[];for(re in ae.push("<<"),z)ae.push("/"+re+" ("+wd(x(z[re]))+")");return ae.push(">>"),ae.join(`
|
|
|
`)}},set:function(x){(0,Oe.Z)(x)==="object"&&(z=x)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return z.CA||""},set:function(x){typeof x=="string"&&(z.CA=x)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return b},set:function(x){b=x}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return b.substr(1,b.length-1)},set:function(x){b="/"+x}})};jl(ho,Mr);var Mo=function(){ho.call(this),this.pushButton=!0};jl(Mo,ho);var Ao=function(){ho.call(this),this.radio=!0,this.pushButton=!1;var b=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return b},set:function(z){b=z!==void 0?z:[]}})};jl(Ao,ho);var ha=function(){var b,z;Mr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return b},set:function(ae){b=ae}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return z},set:function(ae){z=ae}});var x,re={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var ae=function(Se){return Se};this.scope&&(ae=this.scope.internal.getEncryptor(this.objId));var se,Ee=[];for(se in Ee.push("<<"),re)Ee.push("/"+se+" ("+wd(ae(re[se]))+")");return Ee.push(">>"),Ee.join(`
|
|
|
`)},set:function(ae){(0,Oe.Z)(ae)==="object"&&(re=ae)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return re.CA||""},set:function(ae){typeof ae=="string"&&(re.CA=ae)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return x},set:function(ae){x=ae}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return x.substr(1,x.length-1)},set:function(ae){x="/"+ae}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=aa.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};jl(ha,Mr),Ao.prototype.setAppearance=function(b){if(!("createAppearanceStream"in b)||!("getCA"in b))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var z in this.Kids)if(this.Kids.hasOwnProperty(z)){var x=this.Kids[z];x.appearanceStreamContent=b.createAppearanceStream(x.optionName),x.caption=b.getCA()}},Ao.prototype.createOption=function(b){var z=new ha;return z.Parent=this,z.optionName=b,this.Kids.push(z),Ml.call(this.scope,z),z};var mi=function(){ho.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=aa.CheckBox.createAppearanceStream()};jl(mi,ho);var Vo=function(){Mr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,13)},set:function(z){z?this.Ff=ue(this.Ff,13):this.Ff=Ae(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,21)},set:function(z){z?this.Ff=ue(this.Ff,21):this.Ff=Ae(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,23)},set:function(z){z?this.Ff=ue(this.Ff,23):this.Ff=Ae(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,24)},set:function(z){z?this.Ff=ue(this.Ff,24):this.Ff=Ae(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,25)},set:function(z){z?this.Ff=ue(this.Ff,25):this.Ff=Ae(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,26)},set:function(z){z?this.Ff=ue(this.Ff,26):this.Ff=Ae(this.Ff,26)}});var b=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return b},set:function(z){b=z}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return b},set:function(z){Number.isInteger(z)&&(b=z)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};jl(Vo,Mr);var mo=function(){Vo.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!us(this.Ff,14)},set:function(b){b?this.Ff=ue(this.Ff,14):this.Ff=Ae(this.Ff,14)}}),this.password=!0};jl(mo,Vo);var aa={CheckBox:{createAppearanceStream:function(){return{N:{On:aa.CheckBox.YesNormal},D:{On:aa.CheckBox.YesPushDown,Off:aa.CheckBox.OffPushDown}}},YesPushDown:function(b){var z=Xu(b);z.scope=b.scope;var x=[],re=b.scope.internal.getFont(b.fontName,b.fontStyle).id,ae=b.scope.__private__.encodeColorString(b.color),se=He(b,b.caption);return x.push("0.749023 g"),x.push("0 0 "+jo(aa.internal.getWidth(b))+" "+jo(aa.internal.getHeight(b))+" re"),x.push("f"),x.push("BMC"),x.push("q"),x.push("0 0 1 rg"),x.push("/"+re+" "+jo(se.fontSize)+" Tf "+ae),x.push("BT"),x.push(se.text),x.push("ET"),x.push("Q"),x.push("EMC"),z.stream=x.join(`
|
|
|
`),z},YesNormal:function(b){var z=Xu(b);z.scope=b.scope;var x=b.scope.internal.getFont(b.fontName,b.fontStyle).id,re=b.scope.__private__.encodeColorString(b.color),ae=[],se=aa.internal.getHeight(b),Ee=aa.internal.getWidth(b),Se=He(b,b.caption);return ae.push("1 g"),ae.push("0 0 "+jo(Ee)+" "+jo(se)+" re"),ae.push("f"),ae.push("q"),ae.push("0 0 1 rg"),ae.push("0 0 "+jo(Ee-1)+" "+jo(se-1)+" re"),ae.push("W"),ae.push("n"),ae.push("0 g"),ae.push("BT"),ae.push("/"+x+" "+jo(Se.fontSize)+" Tf "+re),ae.push(Se.text),ae.push("ET"),ae.push("Q"),z.stream=ae.join(`
|
|
|
`),z},OffPushDown:function(b){var z=Xu(b);z.scope=b.scope;var x=[];return x.push("0.749023 g"),x.push("0 0 "+jo(aa.internal.getWidth(b))+" "+jo(aa.internal.getHeight(b))+" re"),x.push("f"),z.stream=x.join(`
|
|
|
`),z}},RadioButton:{Circle:{createAppearanceStream:function(b){var z={D:{Off:aa.RadioButton.Circle.OffPushDown},N:{}};return z.N[b]=aa.RadioButton.Circle.YesNormal,z.D[b]=aa.RadioButton.Circle.YesPushDown,z},getCA:function(){return"l"},YesNormal:function(b){var z=Xu(b);z.scope=b.scope;var x=[],re=aa.internal.getWidth(b)<=aa.internal.getHeight(b)?aa.internal.getWidth(b)/4:aa.internal.getHeight(b)/4;re=Number((.9*re).toFixed(5));var ae=aa.internal.Bezier_C,se=Number((re*ae).toFixed(5));return x.push("q"),x.push("1 0 0 1 "+qc(aa.internal.getWidth(b)/2)+" "+qc(aa.internal.getHeight(b)/2)+" cm"),x.push(re+" 0 m"),x.push(re+" "+se+" "+se+" "+re+" 0 "+re+" c"),x.push("-"+se+" "+re+" -"+re+" "+se+" -"+re+" 0 c"),x.push("-"+re+" -"+se+" -"+se+" -"+re+" 0 -"+re+" c"),x.push(se+" -"+re+" "+re+" -"+se+" "+re+" 0 c"),x.push("f"),x.push("Q"),z.stream=x.join(`
|
|
|
`),z},YesPushDown:function(b){var z=Xu(b);z.scope=b.scope;var x=[],re=aa.internal.getWidth(b)<=aa.internal.getHeight(b)?aa.internal.getWidth(b)/4:aa.internal.getHeight(b)/4;re=Number((.9*re).toFixed(5));var ae=Number((2*re).toFixed(5)),se=Number((ae*aa.internal.Bezier_C).toFixed(5)),Ee=Number((re*aa.internal.Bezier_C).toFixed(5));return x.push("0.749023 g"),x.push("q"),x.push("1 0 0 1 "+qc(aa.internal.getWidth(b)/2)+" "+qc(aa.internal.getHeight(b)/2)+" cm"),x.push(ae+" 0 m"),x.push(ae+" "+se+" "+se+" "+ae+" 0 "+ae+" c"),x.push("-"+se+" "+ae+" -"+ae+" "+se+" -"+ae+" 0 c"),x.push("-"+ae+" -"+se+" -"+se+" -"+ae+" 0 -"+ae+" c"),x.push(se+" -"+ae+" "+ae+" -"+se+" "+ae+" 0 c"),x.push("f"),x.push("Q"),x.push("0 g"),x.push("q"),x.push("1 0 0 1 "+qc(aa.internal.getWidth(b)/2)+" "+qc(aa.internal.getHeight(b)/2)+" cm"),x.push(re+" 0 m"),x.push(re+" "+Ee+" "+Ee+" "+re+" 0 "+re+" c"),x.push("-"+Ee+" "+re+" -"+re+" "+Ee+" -"+re+" 0 c"),x.push("-"+re+" -"+Ee+" -"+Ee+" -"+re+" 0 -"+re+" c"),x.push(Ee+" -"+re+" "+re+" -"+Ee+" "+re+" 0 c"),x.push("f"),x.push("Q"),z.stream=x.join(`
|
|
|
`),z},OffPushDown:function(b){var z=Xu(b);z.scope=b.scope;var x=[],re=aa.internal.getWidth(b)<=aa.internal.getHeight(b)?aa.internal.getWidth(b)/4:aa.internal.getHeight(b)/4;re=Number((.9*re).toFixed(5));var ae=Number((2*re).toFixed(5)),se=Number((ae*aa.internal.Bezier_C).toFixed(5));return x.push("0.749023 g"),x.push("q"),x.push("1 0 0 1 "+qc(aa.internal.getWidth(b)/2)+" "+qc(aa.internal.getHeight(b)/2)+" cm"),x.push(ae+" 0 m"),x.push(ae+" "+se+" "+se+" "+ae+" 0 "+ae+" c"),x.push("-"+se+" "+ae+" -"+ae+" "+se+" -"+ae+" 0 c"),x.push("-"+ae+" -"+se+" -"+se+" -"+ae+" 0 -"+ae+" c"),x.push(se+" -"+ae+" "+ae+" -"+se+" "+ae+" 0 c"),x.push("f"),x.push("Q"),z.stream=x.join(`
|
|
|
`),z}},Cross:{createAppearanceStream:function(b){var z={D:{Off:aa.RadioButton.Cross.OffPushDown},N:{}};return z.N[b]=aa.RadioButton.Cross.YesNormal,z.D[b]=aa.RadioButton.Cross.YesPushDown,z},getCA:function(){return"8"},YesNormal:function(b){var z=Xu(b);z.scope=b.scope;var x=[],re=aa.internal.calculateCross(b);return x.push("q"),x.push("1 1 "+jo(aa.internal.getWidth(b)-2)+" "+jo(aa.internal.getHeight(b)-2)+" re"),x.push("W"),x.push("n"),x.push(jo(re.x1.x)+" "+jo(re.x1.y)+" m"),x.push(jo(re.x2.x)+" "+jo(re.x2.y)+" l"),x.push(jo(re.x4.x)+" "+jo(re.x4.y)+" m"),x.push(jo(re.x3.x)+" "+jo(re.x3.y)+" l"),x.push("s"),x.push("Q"),z.stream=x.join(`
|
|
|
`),z},YesPushDown:function(b){var z=Xu(b);z.scope=b.scope;var x=aa.internal.calculateCross(b),re=[];return re.push("0.749023 g"),re.push("0 0 "+jo(aa.internal.getWidth(b))+" "+jo(aa.internal.getHeight(b))+" re"),re.push("f"),re.push("q"),re.push("1 1 "+jo(aa.internal.getWidth(b)-2)+" "+jo(aa.internal.getHeight(b)-2)+" re"),re.push("W"),re.push("n"),re.push(jo(x.x1.x)+" "+jo(x.x1.y)+" m"),re.push(jo(x.x2.x)+" "+jo(x.x2.y)+" l"),re.push(jo(x.x4.x)+" "+jo(x.x4.y)+" m"),re.push(jo(x.x3.x)+" "+jo(x.x3.y)+" l"),re.push("s"),re.push("Q"),z.stream=re.join(`
|
|
|
`),z},OffPushDown:function(b){var z=Xu(b);z.scope=b.scope;var x=[];return x.push("0.749023 g"),x.push("0 0 "+jo(aa.internal.getWidth(b))+" "+jo(aa.internal.getHeight(b))+" re"),x.push("f"),z.stream=x.join(`
|
|
|
`),z}}},createDefaultAppearanceStream:function(b){var z=b.scope.internal.getFont(b.fontName,b.fontStyle).id,x=b.scope.__private__.encodeColorString(b.color);return"/"+z+" "+b.fontSize+" Tf "+x}};aa.internal={Bezier_C:.551915024494,calculateCross:function(b){var z=aa.internal.getWidth(b),x=aa.internal.getHeight(b),re=Math.min(z,x);return{x1:{x:(z-re)/2,y:(x-re)/2+re},x2:{x:(z-re)/2+re,y:(x-re)/2},x3:{x:(z-re)/2,y:(x-re)/2},x4:{x:(z-re)/2+re,y:(x-re)/2+re}}}},aa.internal.getWidth=function(b){var z=0;return(0,Oe.Z)(b)==="object"&&(z=O0(b.Rect[2])),z},aa.internal.getHeight=function(b){var z=0;return(0,Oe.Z)(b)==="object"&&(z=O0(b.Rect[3])),z};var Ml=es.addField=function(b){if(Rt(this,b),!(b instanceof Mr))throw new Error("Invalid argument passed to jsPDF.addField.");var z;return(z=b).scope.internal.acroformPlugin.printedOut&&(z.scope.internal.acroformPlugin.printedOut=!1,z.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),z.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(z),b.page=b.scope.internal.getCurrentPageInfo().pageNumber,this};es.AcroFormChoiceField=ia,es.AcroFormListBox=xo,es.AcroFormComboBox=Ra,es.AcroFormEditBox=Qa,es.AcroFormButton=ho,es.AcroFormPushButton=Mo,es.AcroFormRadioButton=Ao,es.AcroFormCheckBox=mi,es.AcroFormTextField=Vo,es.AcroFormPasswordField=mo,es.AcroFormAppearance=aa,es.AcroForm={ChoiceField:ia,ListBox:xo,ComboBox:Ra,EditBox:Qa,Button:ho,PushButton:Mo,RadioButton:Ao,CheckBox:mi,TextField:Vo,PasswordField:mo,Appearance:aa},Wa.AcroForm={ChoiceField:ia,ListBox:xo,ComboBox:Ra,EditBox:Qa,Button:ho,PushButton:Mo,RadioButton:Ao,CheckBox:mi,TextField:Vo,PasswordField:mo,Appearance:aa};var ru=Wa.AcroForm;function Wi(b){return b.reduce(function(z,x,re){return z[x]=re,z},{})}(function(b){var z="addImage_";b.__addimage__={};var x="UNKNOWN",re={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},ae=b.__addimage__.getImageFileTypeByImageData=function(Ft,zt){var pn,gn,qn,rr,Ar,Zn=x;if((zt=zt||x)==="RGBA"||Ft.data!==void 0&&Ft.data instanceof Uint8ClampedArray&&"height"in Ft&&"width"in Ft)return"RGBA";if(Br(Ft))for(Ar in re)for(qn=re[Ar],pn=0;pn<qn.length;pn+=1){for(rr=!0,gn=0;gn<qn[pn].length;gn+=1)if(qn[pn][gn]!==void 0&&qn[pn][gn]!==Ft[gn]){rr=!1;break}if(rr===!0){Zn=Ar;break}}else for(Ar in re)for(qn=re[Ar],pn=0;pn<qn.length;pn+=1){for(rr=!0,gn=0;gn<qn[pn].length;gn+=1)if(qn[pn][gn]!==void 0&&qn[pn][gn]!==Ft.charCodeAt(gn)){rr=!1;break}if(rr===!0){Zn=Ar;break}}return Zn===x&&zt!==x&&(Zn=zt),Zn},se=function Ft(zt){for(var pn=this.internal.write,gn=this.internal.putStream,qn=(0,this.internal.getFilters)();qn.indexOf("FlateEncode")!==-1;)qn.splice(qn.indexOf("FlateEncode"),1);zt.objectId=this.internal.newObject();var rr=[];if(rr.push({key:"Type",value:"/XObject"}),rr.push({key:"Subtype",value:"/Image"}),rr.push({key:"Width",value:zt.width}),rr.push({key:"Height",value:zt.height}),zt.colorSpace===xt.INDEXED?rr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(zt.palette.length/3-1)+" "+("sMask"in zt&&zt.sMask!==void 0?zt.objectId+2:zt.objectId+1)+" 0 R]"}):(rr.push({key:"ColorSpace",value:"/"+zt.colorSpace}),zt.colorSpace===xt.DEVICE_CMYK&&rr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),rr.push({key:"BitsPerComponent",value:zt.bitsPerComponent}),"decodeParameters"in zt&&zt.decodeParameters!==void 0&&rr.push({key:"DecodeParms",value:"<<"+zt.decodeParameters+">>"}),"transparency"in zt&&Array.isArray(zt.transparency)&&zt.transparency.length>0){for(var Ar="",Zn=0,cr=zt.transparency.length;Zn<cr;Zn++)Ar+=zt.transparency[Zn]+" "+zt.transparency[Zn]+" ";rr.push({key:"Mask",value:"["+Ar+"]"})}zt.sMask!==void 0&&rr.push({key:"SMask",value:zt.objectId+1+" 0 R"});var qr=zt.filter!==void 0?["/"+zt.filter]:void 0;if(gn({data:zt.data,additionalKeyValues:rr,alreadyAppliedFilters:qr,objectId:zt.objectId}),pn("endobj"),"sMask"in zt&&zt.sMask!==void 0){var Lr,Ct=(Lr=zt.sMaskBitsPerComponent)!==null&&Lr!==void 0?Lr:zt.bitsPerComponent,Yt={width:zt.width,height:zt.height,colorSpace:"DeviceGray",bitsPerComponent:Ct,data:zt.sMask};"filter"in zt&&(Yt.decodeParameters="/Predictor ".concat(zt.predictor," /Colors 1 /BitsPerComponent ").concat(Ct," /Columns ").concat(zt.width),Yt.filter=zt.filter),Ft.call(this,Yt)}if(zt.colorSpace===xt.INDEXED){var sn=this.internal.newObject();gn({data:xn(new Uint8Array(zt.palette)),objectId:sn}),pn("endobj")}},Ee=function(){var Ft=this.internal.collections[z+"images"];for(var zt in Ft)se.call(this,Ft[zt])},Se=function(){var Ft,zt=this.internal.collections[z+"images"],pn=this.internal.write;for(var gn in zt)pn("/I"+(Ft=zt[gn]).index,Ft.objectId,"0","R")},xe=function(){this.internal.collections[z+"images"]||(this.internal.collections[z+"images"]={},this.internal.events.subscribe("putResources",Ee),this.internal.events.subscribe("putXobjectDict",Se))},Ne=function(){var Ft=this.internal.collections[z+"images"];return xe.call(this),Ft},We=function(){return Object.keys(this.internal.collections[z+"images"]).length},At=function(Ft){return typeof b["process"+Ft.toUpperCase()]=="function"},mt=function(Ft){return(0,Oe.Z)(Ft)==="object"&&Ft.nodeType===1},$e=function(Ft,zt){if(Ft.nodeName==="IMG"&&Ft.hasAttribute("src")){var pn=""+Ft.getAttribute("src");if(pn.indexOf("data:image/")===0)return Kg(unescape(pn).split("base64,").pop());var gn=b.loadFile(pn,!0);if(gn!==void 0)return gn}if(Ft.nodeName==="CANVAS"){if(Ft.width===0||Ft.height===0)throw new Error("Given canvas must have data. Canvas width: "+Ft.width+", height: "+Ft.height);var qn;switch(zt){case"PNG":qn="image/png";break;case"WEBP":qn="image/webp";break;default:qn="image/jpeg"}return Kg(Ft.toDataURL(qn,1).split("base64,").pop())}},Mt=function(Ft){var zt=this.internal.collections[z+"images"];if(zt){for(var pn in zt)if(Ft===zt[pn].alias)return zt[pn]}},Tt=function(Ft,zt,pn){return Ft||zt||(Ft=-96,zt=-96),Ft<0&&(Ft=-1*pn.width*72/Ft/this.internal.scaleFactor),zt<0&&(zt=-1*pn.height*72/zt/this.internal.scaleFactor),Ft===0&&(Ft=zt*pn.width/pn.height),zt===0&&(zt=Ft*pn.height/pn.width),[Ft,zt]},Ht=function(Ft,zt,pn,gn,qn,rr){var Ar=Tt.call(this,pn,gn,qn),Zn=this.internal.getCoordinateString,cr=this.internal.getVerticalCoordinateString,qr=Ne.call(this);if(pn=Ar[0],gn=Ar[1],qr[qn.index]=qn,rr){rr*=Math.PI/180;var Lr=Math.cos(rr),Ct=Math.sin(rr),Yt=function(Cn){return Cn.toFixed(4)},sn=[Yt(Lr),Yt(Ct),Yt(-1*Ct),Yt(Lr),0,0,"cm"]}this.internal.write("q"),rr?(this.internal.write([1,"0","0",1,Zn(Ft),cr(zt+gn),"cm"].join(" ")),this.internal.write(sn.join(" ")),this.internal.write([Zn(pn),"0","0",Zn(gn),"0","0","cm"].join(" "))):this.internal.write([Zn(pn),"0","0",Zn(gn),Zn(Ft),cr(zt+gn),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+qn.index+" Do"),this.internal.write("Q")},xt=b.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};b.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Sn=b.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},cn=b.__addimage__.sHashCode=function(Ft){var zt,pn,gn=0;if(typeof Ft=="string")for(pn=Ft.length,zt=0;zt<pn;zt++)gn=(gn<<5)-gn+Ft.charCodeAt(zt),gn|=0;else if(Br(Ft))for(pn=Ft.byteLength/2,zt=0;zt<pn;zt++)gn=(gn<<5)-gn+Ft[zt],gn|=0;return gn},qt=b.__addimage__.validateStringAsBase64=function(Ft){(Ft=Ft||"").toString().trim();var zt=!0;return Ft.length===0&&(zt=!1),Ft.length%4!=0&&(zt=!1),/^[A-Za-z0-9+/]+$/.test(Ft.substr(0,Ft.length-2))===!1&&(zt=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(Ft.substr(-2))===!1&&(zt=!1),zt},Yn=b.__addimage__.extractImageFromDataUrl=function(Ft){if(Ft==null||!(Ft=Ft.trim()).startsWith("data:"))return null;var zt=Ft.indexOf(",");return zt<0?null:Ft.substring(0,zt).trim().endsWith("base64")?Ft.substring(zt+1):null};b.__addimage__.isArrayBuffer=function(Ft){return Ft instanceof ArrayBuffer};var Br=b.__addimage__.isArrayBufferView=function(Ft){return Ft instanceof Int8Array||Ft instanceof Uint8Array||Ft instanceof Uint8ClampedArray||Ft instanceof Int16Array||Ft instanceof Uint16Array||Ft instanceof Int32Array||Ft instanceof Uint32Array||Ft instanceof Float32Array||Ft instanceof Float64Array},ar=b.__addimage__.binaryStringToUint8Array=function(Ft){for(var zt=Ft.length,pn=new Uint8Array(zt),gn=0;gn<zt;gn++)pn[gn]=Ft.charCodeAt(gn);return pn},xn=b.__addimage__.arrayBufferToBinaryString=function(Ft){for(var zt="",pn=Br(Ft)?Ft:new Uint8Array(Ft),gn=0;gn<pn.length;gn+=8192)zt+=String.fromCharCode.apply(null,pn.subarray(gn,gn+8192));return zt};b.addImage=function(){var Ft,zt,pn,gn,qn,rr,Ar,Zn,cr;if(typeof arguments[1]=="number"?(zt=x,pn=arguments[1],gn=arguments[2],qn=arguments[3],rr=arguments[4],Ar=arguments[5],Zn=arguments[6],cr=arguments[7]):(zt=arguments[1],pn=arguments[2],gn=arguments[3],qn=arguments[4],rr=arguments[5],Ar=arguments[6],Zn=arguments[7],cr=arguments[8]),(0,Oe.Z)(Ft=arguments[0])==="object"&&!mt(Ft)&&"imageData"in Ft){var qr=Ft;Ft=qr.imageData,zt=qr.format||zt||x,pn=qr.x||pn||0,gn=qr.y||gn||0,qn=qr.w||qr.width||qn,rr=qr.h||qr.height||rr,Ar=qr.alias||Ar,Zn=qr.compression||Zn,cr=qr.rotation||qr.angle||cr}var Lr=this.internal.getFilters();if(Zn===void 0&&Lr.indexOf("FlateEncode")!==-1&&(Zn="SLOW"),isNaN(pn)||isNaN(gn))throw new Error("Invalid coordinates passed to jsPDF.addImage");xe.call(this);var Ct=tn.call(this,Ft,zt,Ar,Zn);return Ht.call(this,pn,gn,qn,rr,Ct,cr),this};var tn=function(Ft,zt,pn,gn){var qn,rr,Ar;if(typeof Ft=="string"&&ae(Ft)===x){Ft=unescape(Ft);var Zn=Mn(Ft,!1);(Zn!==""||(Zn=b.loadFile(Ft,!0))!==void 0)&&(Ft=Zn)}if(mt(Ft)&&(Ft=$e(Ft,zt)),zt=ae(Ft,zt),!At(zt))throw new Error("addImage does not support files of type '"+zt+"', please ensure that a plugin for '"+zt+"' support is added.");if(((Ar=pn)==null||Ar.length===0)&&(pn=function(cr){return typeof cr=="string"||Br(cr)?cn(cr):Br(cr.data)?cn(cr.data):null}(Ft)),(qn=Mt.call(this,pn))||(Ft instanceof Uint8Array||zt==="RGBA"||(rr=Ft,Ft=ar(Ft)),qn=this["process"+zt.toUpperCase()](Ft,We.call(this),pn,function(cr){return cr&&typeof cr=="string"&&(cr=cr.toUpperCase()),cr in b.image_compression?cr:Sn.NONE}(gn),rr)),!qn)throw new Error("An unknown error occurred whilst processing the image.");return qn},Mn=b.__addimage__.convertBase64ToBinaryString=function(Ft,zt){zt=typeof zt!="boolean"||zt;var pn,gn="";if(typeof Ft=="string"){var qn;pn=(qn=Yn(Ft))!==null&&qn!==void 0?qn:Ft;try{gn=Kg(pn)}catch(rr){if(zt)throw qt(pn)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+rr.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return gn};b.getImageProperties=function(Ft){var zt,pn,gn="";if(mt(Ft)&&(Ft=$e(Ft)),typeof Ft=="string"&&ae(Ft)===x&&((gn=Mn(Ft,!1))===""&&(gn=b.loadFile(Ft)||""),Ft=gn),pn=ae(Ft),!At(pn))throw new Error("addImage does not support files of type '"+pn+"', please ensure that a plugin for '"+pn+"' support is added.");if(Ft instanceof Uint8Array||(Ft=ar(Ft)),!(zt=this["process"+pn.toUpperCase()](Ft)))throw new Error("An unknown error occurred whilst processing the image");return zt.fileType=pn,zt}})(Wa.API),function(b){var z=function(x){if(x!==void 0&&x!="")return!0};Wa.API.events.push(["addPage",function(x){this.internal.getPageInfo(x.pageNumber).pageContext.annotations=[]}]),b.events.push(["putPage",function(x){for(var re,ae,se,Ee=this.internal.getCoordinateString,Se=this.internal.getVerticalCoordinateString,xe=this.internal.getPageInfoByObjId(x.objId),Ne=x.pageContext.annotations,We=!1,At=0;At<Ne.length&&!We;At++)switch((re=Ne[At]).type){case"link":(z(re.options.url)||z(re.options.pageNumber))&&(We=!0);break;case"reference":case"text":case"freetext":We=!0}if(We!=0){this.internal.write("/Annots [");for(var mt=0;mt<Ne.length;mt++){re=Ne[mt];var $e=this.internal.pdfEscape,Mt=this.internal.getEncryptor(x.objId);switch(re.type){case"reference":this.internal.write(" "+re.object.objId+" 0 R ");break;case"text":var Tt=this.internal.newAdditionalObject(),Ht=this.internal.newAdditionalObject(),xt=this.internal.getEncryptor(Tt.objId),Sn=re.title||"Note";se="<</Type /Annot /Subtype /Text "+(ae="/Rect ["+Ee(re.bounds.x)+" "+Se(re.bounds.y+re.bounds.h)+" "+Ee(re.bounds.x+re.bounds.w)+" "+Se(re.bounds.y)+"] ")+"/Contents ("+$e(xt(re.contents))+")",se+=" /Popup "+Ht.objId+" 0 R",se+=" /P "+xe.objId+" 0 R",se+=" /T ("+$e(xt(Sn))+") >>",Tt.content=se;var cn=Tt.objId+" 0 R";se="<</Type /Annot /Subtype /Popup "+(ae="/Rect ["+Ee(re.bounds.x+30)+" "+Se(re.bounds.y+re.bounds.h)+" "+Ee(re.bounds.x+re.bounds.w+30)+" "+Se(re.bounds.y)+"] ")+" /Parent "+cn,re.open&&(se+=" /Open true"),se+=" >>",Ht.content=se,this.internal.write(Tt.objId,"0 R",Ht.objId,"0 R");break;case"freetext":ae="/Rect ["+Ee(re.bounds.x)+" "+Se(re.bounds.y)+" "+Ee(re.bounds.x+re.bounds.w)+" "+Se(re.bounds.y+re.bounds.h)+"] ";var qt=re.color||"#000000";se="<</Type /Annot /Subtype /FreeText "+ae+"/Contents ("+$e(Mt(re.contents))+")",se+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+qt+")",se+=" /Border [0 0 0]",se+=" >>",this.internal.write(se);break;case"link":if(re.options.name){var Yn=this.annotations._nameMap[re.options.name];re.options.pageNumber=Yn.page,re.options.top=Yn.y}else re.options.top||(re.options.top=0);if(ae="/Rect ["+re.finalBounds.x+" "+re.finalBounds.y+" "+re.finalBounds.w+" "+re.finalBounds.h+"] ",se="",re.options.url)se="<</Type /Annot /Subtype /Link "+ae+"/Border [0 0 0] /A <</S /URI /URI ("+$e(Mt(re.options.url))+") >>";else if(re.options.pageNumber)switch(se="<</Type /Annot /Subtype /Link "+ae+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(re.options.pageNumber).objId+" 0 R",re.options.magFactor=re.options.magFactor||"XYZ",re.options.magFactor){case"Fit":se+=" /Fit]";break;case"FitH":se+=" /FitH "+re.options.top+"]";break;case"FitV":re.options.left=re.options.left||0,se+=" /FitV "+re.options.left+"]";break;default:var Br=Se(re.options.top);re.options.left=re.options.left||0,re.options.zoom===void 0&&(re.options.zoom=0),se+=" /XYZ "+re.options.left+" "+Br+" "+re.options.zoom+"]"}se!=""&&(se+=" >>",this.internal.write(se))}}this.internal.write("]")}}]),b.createAnnotation=function(x){var re=this.internal.getCurrentPageInfo();switch(x.type){case"link":this.link(x.bounds.x,x.bounds.y,x.bounds.w,x.bounds.h,x);break;case"text":case"freetext":re.pageContext.annotations.push(x)}},b.link=function(x,re,ae,se,Ee){var Se=this.internal.getCurrentPageInfo(),xe=this.internal.getCoordinateString,Ne=this.internal.getVerticalCoordinateString;Se.pageContext.annotations.push({finalBounds:{x:xe(x),y:Ne(re),w:xe(x+ae),h:Ne(re+se)},options:Ee,type:"link"})},b.textWithLink=function(x,re,ae,se){var Ee,Se,xe=this.getTextWidth(x),Ne=this.internal.getLineHeight()/this.internal.scaleFactor;if(se.maxWidth!==void 0){Se=se.maxWidth;var We=this.splitTextToSize(x,Se).length;Ee=Math.ceil(Ne*We)}else Se=xe,Ee=Ne;return this.text(x,re,ae,se),ae+=.2*Ne,se.align==="center"&&(re-=xe/2),se.align==="right"&&(re-=xe),this.link(re,ae-Ne,Se,Ee,se),xe},b.getTextWidth=function(x){var re=this.internal.getFontSize();return this.getStringUnitWidth(x)*re/this.internal.scaleFactor}}(Wa.API),function(b){var z={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},x={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},re={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ae=[1570,1571,1573,1575];b.__arabicParser__={};var se=b.__arabicParser__.isInArabicSubstitutionA=function(Tt){return z[Tt.charCodeAt(0)]!==void 0},Ee=b.__arabicParser__.isArabicLetter=function(Tt){return typeof Tt=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Tt)},Se=b.__arabicParser__.isArabicEndLetter=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length<=2},xe=b.__arabicParser__.isArabicAlfLetter=function(Tt){return Ee(Tt)&&ae.indexOf(Tt.charCodeAt(0))>=0};b.__arabicParser__.arabicLetterHasIsolatedForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length>=1};var Ne=b.__arabicParser__.arabicLetterHasFinalForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length>=2};b.__arabicParser__.arabicLetterHasInitialForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length>=3};var We=b.__arabicParser__.arabicLetterHasMedialForm=function(Tt){return Ee(Tt)&&se(Tt)&&z[Tt.charCodeAt(0)].length==4},At=b.__arabicParser__.resolveLigatures=function(Tt){var Ht=0,xt=x,Sn="",cn=0;for(Ht=0;Ht<Tt.length;Ht+=1)xt[Tt.charCodeAt(Ht)]!==void 0?(cn++,typeof(xt=xt[Tt.charCodeAt(Ht)])=="number"&&(Sn+=String.fromCharCode(xt),xt=x,cn=0),Ht===Tt.length-1&&(xt=x,Sn+=Tt.charAt(Ht-(cn-1)),Ht-=cn-1,cn=0)):(xt=x,Sn+=Tt.charAt(Ht-cn),Ht-=cn,cn=0);return Sn};b.__arabicParser__.isArabicDiacritic=function(Tt){return Tt!==void 0&&re[Tt.charCodeAt(0)]!==void 0};var mt=b.__arabicParser__.getCorrectForm=function(Tt,Ht,xt){return Ee(Tt)?se(Tt)===!1?-1:!Ne(Tt)||!Ee(Ht)&&!Ee(xt)||!Ee(xt)&&Se(Ht)||Se(Tt)&&!Ee(Ht)||Se(Tt)&&xe(Ht)||Se(Tt)&&Se(Ht)?0:We(Tt)&&Ee(Ht)&&!Se(Ht)&&Ee(xt)&&Ne(xt)?3:Se(Tt)||!Ee(xt)?1:2:-1},$e=function(Tt){var Ht=0,xt=0,Sn=0,cn="",qt="",Yn="",Br=(Tt=Tt||"").split("\\s+"),ar=[];for(Ht=0;Ht<Br.length;Ht+=1){for(ar.push(""),xt=0;xt<Br[Ht].length;xt+=1)cn=Br[Ht][xt],qt=Br[Ht][xt-1],Yn=Br[Ht][xt+1],Ee(cn)?(Sn=mt(cn,qt,Yn),ar[Ht]+=Sn!==-1?String.fromCharCode(z[cn.charCodeAt(0)][Sn]):cn):ar[Ht]+=cn;ar[Ht]=At(ar[Ht])}return ar.join(" ")},Mt=b.__arabicParser__.processArabic=b.processArabic=function(){var Tt,Ht=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,xt=[];if(Array.isArray(Ht)){var Sn=0;for(xt=[],Sn=0;Sn<Ht.length;Sn+=1)Array.isArray(Ht[Sn])?xt.push([$e(Ht[Sn][0]),Ht[Sn][1],Ht[Sn][2]]):xt.push([$e(Ht[Sn])]);Tt=xt}else Tt=$e(Ht);return typeof arguments[0]=="string"?Tt:(arguments[0].text=Tt,arguments[0])};b.events.push(["preProcessText",Mt])}(Wa.API),Wa.API.autoPrint=function(b){var z;return(b=b||{}).variant=b.variant||"non-conform",b.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){z=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+z+" 0 R")})),this},function(b){var z=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(Se){x=Se}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Se){re=isNaN(Se)||Number.isInteger(Se)===!1||Se<0?150:Se,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var ae=300;Object.defineProperty(this,"height",{get:function(){return ae},set:function(Se){ae=isNaN(Se)||Number.isInteger(Se)===!1||Se<0?300:Se,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ae+1)}});var se=[];Object.defineProperty(this,"childNodes",{get:function(){return se},set:function(Se){se=Se}});var Ee={};Object.defineProperty(this,"style",{get:function(){return Ee},set:function(Se){Ee=Se}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(x,re){var ae;if((x=x||"2d")!=="2d")return null;for(ae in re)this.pdf.context2d.hasOwnProperty(ae)&&(this.pdf.context2d[ae]=re[ae]);return this.pdf.context2d._canvas=this,this.pdf.context2d},z.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},b.events.push(["initialized",function(){this.canvas=new z,this.canvas.pdf=this}])}(Wa.API),function(b){var z={left:0,top:0,bottom:0,right:0},x=!1,re=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},z),this.internal.__cell__.margins.width=this.getPageWidth(),ae.call(this))},ae=function(){this.internal.__cell__.lastCell=new se,this.internal.__cell__.pages=1},se=function(){var xe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return xe},set:function(Tt){xe=Tt}});var Ne=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ne},set:function(Tt){Ne=Tt}});var We=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return We},set:function(Tt){We=Tt}});var At=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return At},set:function(Tt){At=Tt}});var mt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return mt},set:function(Tt){mt=Tt}});var $e=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return $e},set:function(Tt){$e=Tt}});var Mt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Mt},set:function(Tt){Mt=Tt}}),this};se.prototype.clone=function(){return new se(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},se.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},b.setHeaderFunction=function(xe){return re.call(this),this.internal.__cell__.headerFunction=typeof xe=="function"?xe:void 0,this},b.getTextDimensions=function(xe,Ne){re.call(this);var We=(Ne=Ne||{}).fontSize||this.getFontSize(),At=Ne.font||this.getFont(),mt=Ne.scaleFactor||this.internal.scaleFactor,$e=0,Mt=0,Tt=0,Ht=this;if(!Array.isArray(xe)&&typeof xe!="string"){if(typeof xe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");xe=String(xe)}var xt=Ne.maxWidth;xt>0?typeof xe=="string"?xe=this.splitTextToSize(xe,xt):Object.prototype.toString.call(xe)==="[object Array]"&&(xe=xe.reduce(function(cn,qt){return cn.concat(Ht.splitTextToSize(qt,xt))},[])):xe=Array.isArray(xe)?xe:[xe];for(var Sn=0;Sn<xe.length;Sn++)$e<(Tt=this.getStringUnitWidth(xe[Sn],{font:At})*We)&&($e=Tt);return $e!==0&&(Mt=xe.length),{w:$e/=mt,h:Math.max((Mt*We*this.getLineHeightFactor()-We*(this.getLineHeightFactor()-1))/mt,0)}},b.cellAddPage=function(){re.call(this),this.addPage();var xe=this.internal.__cell__.margins||z;return this.internal.__cell__.lastCell=new se(xe.left,xe.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Ee=b.cell=function(){var xe;xe=arguments[0]instanceof se?arguments[0]:new se(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),re.call(this);var Ne=this.internal.__cell__.lastCell,We=this.internal.__cell__.padding,At=this.internal.__cell__.margins||z,mt=this.internal.__cell__.tableHeaderRow,$e=this.internal.__cell__.printHeaders;return Ne.lineNumber!==void 0&&(Ne.lineNumber===xe.lineNumber?(xe.x=(Ne.x||0)+(Ne.width||0),xe.y=Ne.y||0):Ne.y+Ne.height+xe.height+At.bottom>this.getPageHeight()?(this.cellAddPage(),xe.y=At.top,$e&&mt&&(this.printHeaderRow(xe.lineNumber,!0),xe.y+=mt[0].height)):xe.y=Ne.y+Ne.height||xe.y),xe.text[0]!==void 0&&(this.rect(xe.x,xe.y,xe.width,xe.height,x===!0?"FD":void 0),xe.align==="right"?this.text(xe.text,xe.x+xe.width-We,xe.y+We,{align:"right",baseline:"top"}):xe.align==="center"?this.text(xe.text,xe.x+xe.width/2,xe.y+We,{align:"center",baseline:"top",maxWidth:xe.width-We-We}):this.text(xe.text,xe.x+We,xe.y+We,{align:"left",baseline:"top",maxWidth:xe.width-We-We})),this.internal.__cell__.lastCell=xe,this};b.table=function(xe,Ne,We,At,mt){if(re.call(this),!We)throw new Error("No data for PDF table.");var $e,Mt,Tt,Ht,xt=[],Sn=[],cn=[],qt={},Yn={},Br=[],ar=[],xn=(mt=mt||{}).autoSize||!1,tn=mt.printHeaders!==!1,Mn=mt.css&&mt.css["font-size"]!==void 0?16*mt.css["font-size"]:mt.fontSize||12,Ft=mt.margins||Object.assign({width:this.getPageWidth()},z),zt=typeof mt.padding=="number"?mt.padding:3,pn=mt.headerBackgroundColor||"#c8c8c8",gn=mt.headerTextColor||"#000";if(ae.call(this),this.internal.__cell__.printHeaders=tn,this.internal.__cell__.margins=Ft,this.internal.__cell__.table_font_size=Mn,this.internal.__cell__.padding=zt,this.internal.__cell__.headerBackgroundColor=pn,this.internal.__cell__.headerTextColor=gn,this.setFontSize(Mn),At==null)Sn=xt=Object.keys(We[0]),cn=xt.map(function(){return"left"});else if(Array.isArray(At)&&(0,Oe.Z)(At[0])==="object")for(xt=At.map(function(qr){return qr.name}),Sn=At.map(function(qr){return qr.prompt||qr.name||""}),cn=At.map(function(qr){return qr.align||"left"}),$e=0;$e<At.length;$e+=1)Yn[At[$e].name]=.7499990551181103*At[$e].width;else Array.isArray(At)&&typeof At[0]=="string"&&(Sn=xt=At,cn=xt.map(function(){return"left"}));if(xn||Array.isArray(At)&&typeof At[0]=="string")for($e=0;$e<xt.length;$e+=1){for(qt[Ht=xt[$e]]=We.map(function(qr){return qr[Ht]}),this.setFont(void 0,"bold"),Br.push(this.getTextDimensions(Sn[$e],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Mt=qt[Ht],this.setFont(void 0,"normal"),Tt=0;Tt<Mt.length;Tt+=1)Br.push(this.getTextDimensions(Mt[Tt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Yn[Ht]=Math.max.apply(null,Br)+zt+zt,Br=[]}if(tn){var qn={};for($e=0;$e<xt.length;$e+=1)qn[xt[$e]]={},qn[xt[$e]].text=Sn[$e],qn[xt[$e]].align=cn[$e];var rr=Se.call(this,qn,Yn);ar=xt.map(function(qr){return new se(xe,Ne,Yn[qr],rr,qn[qr].text,void 0,qn[qr].align)}),this.setTableHeaderRow(ar),this.printHeaderRow(1,!1)}var Ar=At.reduce(function(qr,Lr){return qr[Lr.name]=Lr.align,qr},{});for($e=0;$e<We.length;$e+=1){"rowStart"in mt&&mt.rowStart instanceof Function&&mt.rowStart({row:$e,data:We[$e]},this);var Zn=Se.call(this,We[$e],Yn);for(Tt=0;Tt<xt.length;Tt+=1){var cr=We[$e][xt[Tt]];"cellStart"in mt&&mt.cellStart instanceof Function&&mt.cellStart({row:$e,col:Tt,data:cr},this),Ee.call(this,new se(xe,Ne,Yn[xt[Tt]],Zn,cr,$e+2,Ar[xt[Tt]]))}}return this.internal.__cell__.table_x=xe,this.internal.__cell__.table_y=Ne,this};var Se=function(xe,Ne){var We=this.internal.__cell__.padding,At=this.internal.__cell__.table_font_size,mt=this.internal.scaleFactor;return Object.keys(xe).map(function($e){var Mt=xe[$e];return this.splitTextToSize(Mt.hasOwnProperty("text")?Mt.text:Mt,Ne[$e]-We-We)},this).map(function($e){return this.getLineHeightFactor()*$e.length*At/mt+We+We},this).reduce(function($e,Mt){return Math.max($e,Mt)},0)};b.setTableHeaderRow=function(xe){re.call(this),this.internal.__cell__.tableHeaderRow=xe},b.printHeaderRow=function(xe,Ne){if(re.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var We;if(x=!0,typeof this.internal.__cell__.headerFunction=="function"){var At=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new se(At[0],At[1],At[2],At[3],void 0,-1)}this.setFont(void 0,"bold");for(var mt=[],$e=0;$e<this.internal.__cell__.tableHeaderRow.length;$e+=1){We=this.internal.__cell__.tableHeaderRow[$e].clone(),Ne&&(We.y=this.internal.__cell__.margins.top||0,mt.push(We)),We.lineNumber=xe;var Mt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Ee.call(this,We),this.setTextColor(Mt)}mt.length>0&&this.setTableHeaderRow(mt),this.setFont(void 0,"normal"),x=!1}}(Wa.API);var Ms={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],dl=Wi(yc),yl=[100,200,300,400,500,600,700,800,900],bd=Wi(yl);function mu(b){var z=b.family.replace(/"|'/g,"").toLowerCase(),x=function(se){return Ms[se=se||"normal"]?se:"normal"}(b.style),re=function(se){return se?typeof se=="number"?se>=100&&se<=900&&se%100==0?se:400:/^\d00$/.test(se)?parseInt(se):se==="bold"?700:400:400}(b.weight),ae=function(se){return typeof dl[se=se||"normal"]=="number"?se:"normal"}(b.stretch);return{family:z,style:x,weight:re,stretch:ae,src:b.src||[],ref:b.ref||{name:z,style:[ae,x,re].join(" ")}}}function wc(b,z,x,re){var ae;for(ae=x;ae>=0&&ae<z.length;ae+=re)if(b[z[ae]])return b[z[ae]];for(ae=x;ae>=0&&ae<z.length;ae-=re)if(b[z[ae]])return b[z[ae]]}var Cd={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},ed={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Yu(b){return[b.stretch,b.style,b.weight,b.family].join(" ")}function td(b){return b.trimLeft()}function bc(b,z){for(var x=0;x<b.length;){if(b.charAt(x)===z)return[b.substring(0,x),b.substring(x+1)];x+=1}return null}function ng(b){var z=b.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return z===null?null:[z[0],b.substring(z[0].length)]}var nd,_p,Lp,Mf,Q0,Ip,Up,Np,Hm=["times"];function Dp(b,z,x,re,ae){var se=4,Ee=Qp;switch(ae){case Wa.API.image_compression.FAST:se=1,Ee=Op;break;case Wa.API.image_compression.MEDIUM:se=6,Ee=Tp;break;case Wa.API.image_compression.SLOW:se=9,Ee=kp}b=function(xe,Ne,We,At){for(var mt,$e=xe.length/Ne,Mt=new Uint8Array(xe.length+$e),Tt=[Nv,Op,Qp,Tp,kp],Ht=0;Ht<$e;Ht+=1){var xt=Ht*Ne,Sn=xe.subarray(xt,xt+Ne);if(At)Mt.set(At(Sn,We,mt),xt+Ht);else{for(var cn=Tt.length,qt=[],Yn=0;Yn<cn;Yn+=1)qt[Yn]=Tt[Yn](Sn,We,mt);var Br=Ov(qt.concat());Mt.set(qt[Br],xt+Ht)}mt=Sn}return Mt}(b,z,Math.ceil(x*re/8),Ee);var Se=En(b,{level:se});return Wa.API.__addimage__.arrayBufferToBinaryString(Se)}function Nv(b){var z=Array.apply([],b);return z.unshift(0),z}function Op(b,z){var x=b.length,re=[];re[0]=1;for(var ae=0;ae<x;ae+=1){var se=b[ae-z]||0;re[ae+1]=b[ae]-se+256&255}return re}function Qp(b,z,x){var re=b.length,ae=[];ae[0]=2;for(var se=0;se<re;se+=1){var Ee=x&&x[se]||0;ae[se+1]=b[se]-Ee+256&255}return ae}function Tp(b,z,x){var re=b.length,ae=[];ae[0]=3;for(var se=0;se<re;se+=1){var Ee=b[se-z]||0,Se=x&&x[se]||0;ae[se+1]=b[se]+256-(Ee+Se>>>1)&255}return ae}function kp(b,z,x){var re=b.length,ae=[];ae[0]=4;for(var se=0;se<re;se+=1){var Ee=Dv(b[se-z]||0,x&&x[se]||0,x&&x[se-z]||0);ae[se+1]=b[se]-Ee+256&255}return ae}function Dv(b,z,x){if(b===z&&z===x)return b;var re=Math.abs(z-x),ae=Math.abs(b-x),se=Math.abs(b+z-x-x);return re<=ae&&re<=se?b:ae<=se?z:x}function Ov(b){var z=b.map(function(x){return x.reduce(function(re,ae){return re+Math.abs(ae)},0)});return z.indexOf(Math.min.apply(null,z))}function Km(b,z,x){var re=z*x,ae=Math.floor(re/8),se=16-(re-8*ae+x),Ee=(1<<x)-1;return jp(b,ae)>>se&Ee}function Rp(b,z,x,re){var ae=x*re,se=Math.floor(ae/8),Ee=16-(ae-8*se+re),Se=(1<<re)-1,xe=(z&Se)<<Ee;(function(Ne,We,At){if(We+1<Ne.byteLength)Ne.setUint16(We,At,!1);else{var mt=At>>8&255;Ne.setUint8(We,mt)}})(b,se,jp(b,se)&~(Se<<Ee)&65535|xe)}function jp(b,z){return z+1<b.byteLength?b.getUint16(z,!1):b.getUint8(z)<<8}function Qv(b){var z=0;if(b[z++]!==71||b[z++]!==73||b[z++]!==70||b[z++]!==56||(b[z++]+1&253)!=56||b[z++]!==97)throw new Error("Invalid GIF 87a/89a header.");var x=b[z++]|b[z++]<<8,re=b[z++]|b[z++]<<8,ae=b[z++],se=ae>>7,Ee=1<<1+(7&ae);b[z++],b[z++];var Se=null,xe=null;se&&(Se=z,xe=Ee,z+=3*Ee);var Ne=!0,We=[],At=0,mt=null,$e=0,Mt=null;for(this.width=x,this.height=re;Ne&&z<b.length;)switch(b[z++]){case 33:switch(b[z++]){case 255:if(b[z]!==11||b[z+1]==78&&b[z+2]==69&&b[z+3]==84&&b[z+4]==83&&b[z+5]==67&&b[z+6]==65&&b[z+7]==80&&b[z+8]==69&&b[z+9]==50&&b[z+10]==46&&b[z+11]==48&&b[z+12]==3&&b[z+13]==1&&b[z+16]==0)z+=14,Mt=b[z++]|b[z++]<<8,z++;else for(z+=12;;){if(!((Ft=b[z++])>=0))throw Error("Invalid block size");if(Ft===0)break;z+=Ft}break;case 249:if(b[z++]!==4||b[z+4]!==0)throw new Error("Invalid graphics extension block.");var Tt=b[z++];At=b[z++]|b[z++]<<8,mt=b[z++],1&Tt||(mt=null),$e=Tt>>2&7,z++;break;case 254:for(;;){if(!((Ft=b[z++])>=0))throw Error("Invalid block size");if(Ft===0)break;z+=Ft}break;default:throw new Error("Unknown graphic control label: 0x"+b[z-1].toString(16))}break;case 44:var Ht=b[z++]|b[z++]<<8,xt=b[z++]|b[z++]<<8,Sn=b[z++]|b[z++]<<8,cn=b[z++]|b[z++]<<8,qt=b[z++],Yn=qt>>6&1,Br=1<<1+(7&qt),ar=Se,xn=xe,tn=!1;qt>>7&&(tn=!0,ar=z,xn=Br,z+=3*Br);var Mn=z;for(z++;;){var Ft;if(!((Ft=b[z++])>=0))throw Error("Invalid block size");if(Ft===0)break;z+=Ft}We.push({x:Ht,y:xt,width:Sn,height:cn,has_local_palette:tn,palette_offset:ar,palette_size:xn,data_offset:Mn,data_length:z-Mn,transparent_index:mt,interlaced:!!Yn,delay:At,disposal:$e});break;case 59:Ne=!1;break;default:throw new Error("Unknown gif block: 0x"+b[z-1].toString(16))}this.numFrames=function(){return We.length},this.loopCount=function(){return Mt},this.frameInfo=function(zt){if(zt<0||zt>=We.length)throw new Error("Frame index out of range.");return We[zt]},this.decodeAndBlitFrameBGRA=function(zt,pn){var gn=this.frameInfo(zt),qn=gn.width*gn.height,rr=new Uint8Array(qn);Mp(b,gn.data_offset,rr,qn);var Ar=gn.palette_offset,Zn=gn.transparent_index;Zn===null&&(Zn=256);var cr=gn.width,qr=x-cr,Lr=cr,Ct=4*(gn.y*x+gn.x),Yt=4*((gn.y+gn.height)*x+gn.x),sn=Ct,Cn=4*qr;gn.interlaced===!0&&(Cn+=4*x*7);for(var Tn=8,Wn=0,ir=rr.length;Wn<ir;++Wn){var nr=rr[Wn];if(Lr===0&&(Lr=cr,(sn+=Cn)>=Yt&&(Cn=4*qr+4*x*(Tn-1),sn=Ct+(cr+qr)*(Tn<<1),Tn>>=1)),nr===Zn)sn+=4;else{var Cr=b[Ar+3*nr],zr=b[Ar+3*nr+1],pa=b[Ar+3*nr+2];pn[sn++]=pa,pn[sn++]=zr,pn[sn++]=Cr,pn[sn++]=255}--Lr}},this.decodeAndBlitFrameRGBA=function(zt,pn){var gn=this.frameInfo(zt),qn=gn.width*gn.height,rr=new Uint8Array(qn);Mp(b,gn.data_offset,rr,qn);var Ar=gn.palette_offset,Zn=gn.transparent_index;Zn===null&&(Zn=256);var cr=gn.width,qr=x-cr,Lr=cr,Ct=4*(gn.y*x+gn.x),Yt=4*((gn.y+gn.height)*x+gn.x),sn=Ct,Cn=4*qr;gn.interlaced===!0&&(Cn+=4*x*7);for(var Tn=8,Wn=0,ir=rr.length;Wn<ir;++Wn){var nr=rr[Wn];if(Lr===0&&(Lr=cr,(sn+=Cn)>=Yt&&(Cn=4*qr+4*x*(Tn-1),sn=Ct+(cr+qr)*(Tn<<1),Tn>>=1)),nr===Zn)sn+=4;else{var Cr=b[Ar+3*nr],zr=b[Ar+3*nr+1],pa=b[Ar+3*nr+2];pn[sn++]=Cr,pn[sn++]=zr,pn[sn++]=pa,pn[sn++]=255}--Lr}}}function Mp(b,z,x,re){for(var ae=b[z++],se=1<<ae,Ee=se+1,Se=Ee+1,xe=ae+1,Ne=(1<<xe)-1,We=0,At=0,mt=0,$e=b[z++],Mt=new Int32Array(4096),Tt=null;;){for(;We<16&&$e!==0;)At|=b[z++]<<We,We+=8,$e===1?$e=b[z++]:--$e;if(We<xe)break;var Ht=At&Ne;if(At>>=xe,We-=xe,Ht!==se){if(Ht===Ee)break;for(var xt=Ht<Se?Ht:Tt,Sn=0,cn=xt;cn>se;)cn=Mt[cn]>>8,++Sn;var qt=cn;if(mt+Sn+(xt!==Ht?1:0)>re)return void cA.log("Warning, gif stream longer than expected.");x[mt++]=qt;var Yn=mt+=Sn;for(xt!==Ht&&(x[mt++]=qt),cn=xt;Sn--;)cn=Mt[cn],x[--Yn]=255&cn,cn>>=8;Tt!==null&&Se<4096&&(Mt[Se++]=Tt<<8|qt,Se>=Ne+1&&xe<12&&(++xe,Ne=Ne<<1|1)),Tt=Ht}else Se=Ee+1,Ne=(1<<(xe=ae+1))-1,Tt=null}return mt!==re&&cA.log("Warning, gif stream shorter than expected."),x}function zm(b){var z,x,re,ae,se,Ee=Math.floor,Se=new Array(64),xe=new Array(64),Ne=new Array(64),We=new Array(64),At=new Array(65535),mt=new Array(65535),$e=new Array(64),Mt=new Array(64),Tt=[],Ht=0,xt=7,Sn=new Array(64),cn=new Array(64),qt=new Array(64),Yn=new Array(256),Br=new Array(2048),ar=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],xn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],tn=[0,1,2,3,4,5,6,7,8,9,10,11],Mn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ft=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],zt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],pn=[0,1,2,3,4,5,6,7,8,9,10,11],gn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],qn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function rr(Ct,Yt){for(var sn=0,Cn=0,Tn=new Array,Wn=1;Wn<=16;Wn++){for(var ir=1;ir<=Ct[Wn];ir++)Tn[Yt[Cn]]=[],Tn[Yt[Cn]][0]=sn,Tn[Yt[Cn]][1]=Wn,Cn++,sn++;sn*=2}return Tn}function Ar(Ct){for(var Yt=Ct[0],sn=Ct[1]-1;sn>=0;)Yt&1<<sn&&(Ht|=1<<xt),sn--,--xt<0&&(Ht==255?(Zn(255),Zn(0)):Zn(Ht),xt=7,Ht=0)}function Zn(Ct){Tt.push(Ct)}function cr(Ct){Zn(Ct>>8&255),Zn(255&Ct)}function qr(Ct,Yt,sn,Cn,Tn){for(var Wn,ir=Tn[0],nr=Tn[240],Cr=function(Yr,io){var Pa,ii,co,Vi,Xo,Yo,BA,Ai,so,Qo,lo=0;for(so=0;so<8;++so){Pa=Yr[lo],ii=Yr[lo+1],co=Yr[lo+2],Vi=Yr[lo+3],Xo=Yr[lo+4],Yo=Yr[lo+5],BA=Yr[lo+6];var kA=Pa+(Ai=Yr[lo+7]),Xi=Pa-Ai,no=ii+BA,Jo=ii-BA,xA=co+Yo,bo=co-Yo,Ui=Vi+Xo,qo=Vi-Xo,xs=kA+Ui,Vs=kA-Ui,_A=no+xA,zo=no-xA;Yr[lo]=xs+_A,Yr[lo+4]=xs-_A;var aA=.707106781*(zo+Vs);Yr[lo+2]=Vs+aA,Yr[lo+6]=Vs-aA;var Wg=.382683433*((xs=qo+bo)-(zo=Jo+Xi)),Hl=.5411961*xs+Wg,Pd=1.306562965*zo+Wg,ad=.707106781*(_A=bo+Jo),Co=Xi+ad,Ed=Xi-ad;Yr[lo+5]=Ed+Hl,Yr[lo+3]=Ed-Hl,Yr[lo+1]=Co+Pd,Yr[lo+7]=Co-Pd,lo+=8}for(lo=0,so=0;so<8;++so){Pa=Yr[lo],ii=Yr[lo+8],co=Yr[lo+16],Vi=Yr[lo+24],Xo=Yr[lo+32],Yo=Yr[lo+40],BA=Yr[lo+48];var Fd=Pa+(Ai=Yr[lo+56]),Ju=Pa-Ai,qu=ii+BA,Ss=ii-BA,gl=co+Yo,wl=co-Yo,Vg=Vi+Xo,ag=Vi-Xo,Ec=Fd+Vg,od=Fd-Vg,Fc=qu+gl,xc=qu-gl;Yr[lo]=Ec+Fc,Yr[lo+32]=Ec-Fc;var ec=.707106781*(xc+od);Yr[lo+16]=od+ec,Yr[lo+48]=od-ec;var Xg=.382683433*((Ec=ag+wl)-(xc=Ss+Ju)),id=.5411961*Ec+Xg,Yg=1.306562965*xc+Xg,Hf=.707106781*(Fc=wl+Ss),Kf=Ju+Hf,zf=Ju-Hf;Yr[lo+40]=zf+id,Yr[lo+24]=zf-id,Yr[lo+8]=Kf+Yg,Yr[lo+56]=Kf-Yg,lo++}for(so=0;so<64;++so)Qo=Yr[so]*io[so],$e[so]=Qo>0?Qo+.5|0:Qo-.5|0;return $e}(Ct,Yt),zr=0;zr<64;++zr)Mt[ar[zr]]=Cr[zr];var pa=Mt[0]-sn;sn=Mt[0],pa==0?Ar(Cn[0]):(Ar(Cn[mt[Wn=32767+pa]]),Ar(At[Wn]));for(var ya=63;ya>0&&Mt[ya]==0;)ya--;if(ya==0)return Ar(ir),sn;for(var pr,an=1;an<=ya;){for(var xi=an;Mt[an]==0&&an<=ya;)++an;var oi=an-xi;if(oi>=16){pr=oi>>4;for(var po=1;po<=pr;++po)Ar(nr);oi&=15}Wn=32767+Mt[an],Ar(Tn[(oi<<4)+mt[Wn]]),Ar(At[Wn]),an++}return ya!=63&&Ar(ir),sn}function Lr(Ct){Ct=Math.min(Math.max(Ct,1),100),se!=Ct&&(function(Yt){for(var sn=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Cn=0;Cn<64;Cn++){var Tn=Ee((sn[Cn]*Yt+50)/100);Tn=Math.min(Math.max(Tn,1),255),Se[ar[Cn]]=Tn}for(var Wn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],ir=0;ir<64;ir++){var nr=Ee((Wn[ir]*Yt+50)/100);nr=Math.min(Math.max(nr,1),255),xe[ar[ir]]=nr}for(var Cr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],zr=0,pa=0;pa<8;pa++)for(var ya=0;ya<8;ya++)Ne[zr]=1/(Se[ar[zr]]*Cr[pa]*Cr[ya]*8),We[zr]=1/(xe[ar[zr]]*Cr[pa]*Cr[ya]*8),zr++}(Ct<50?Math.floor(5e3/Ct):Math.floor(200-2*Ct)),se=Ct)}this.encode=function(Ct,Yt){Yt&&Lr(Yt),Tt=new Array,Ht=0,xt=7,cr(65496),cr(65504),cr(16),Zn(74),Zn(70),Zn(73),Zn(70),Zn(0),Zn(1),Zn(1),Zn(0),cr(1),cr(1),Zn(0),Zn(0),function(){cr(65499),cr(132),Zn(0);for(var ii=0;ii<64;ii++)Zn(Se[ii]);Zn(1);for(var co=0;co<64;co++)Zn(xe[co])}(),function(ii,co){cr(65472),cr(17),Zn(8),cr(co),cr(ii),Zn(3),Zn(1),Zn(17),Zn(0),Zn(2),Zn(17),Zn(1),Zn(3),Zn(17),Zn(1)}(Ct.width,Ct.height),function(){cr(65476),cr(418),Zn(0);for(var ii=0;ii<16;ii++)Zn(xn[ii+1]);for(var co=0;co<=11;co++)Zn(tn[co]);Zn(16);for(var Vi=0;Vi<16;Vi++)Zn(Mn[Vi+1]);for(var Xo=0;Xo<=161;Xo++)Zn(Ft[Xo]);Zn(1);for(var Yo=0;Yo<16;Yo++)Zn(zt[Yo+1]);for(var BA=0;BA<=11;BA++)Zn(pn[BA]);Zn(17);for(var Ai=0;Ai<16;Ai++)Zn(gn[Ai+1]);for(var so=0;so<=161;so++)Zn(qn[so])}(),cr(65498),cr(12),Zn(3),Zn(1),Zn(0),Zn(2),Zn(17),Zn(3),Zn(17),Zn(0),Zn(63),Zn(0);var sn=0,Cn=0,Tn=0;Ht=0,xt=7,this.encode.displayName="_encode_";for(var Wn,ir,nr,Cr,zr,pa,ya,pr,an,xi=Ct.data,oi=Ct.width,po=Ct.height,Yr=4*oi,io=0;io<po;){for(Wn=0;Wn<Yr;){for(zr=Yr*io+Wn,ya=-1,pr=0,an=0;an<64;an++)pa=zr+(pr=an>>3)*Yr+(ya=4*(7&an)),io+pr>=po&&(pa-=Yr*(io+1+pr-po)),Wn+ya>=Yr&&(pa-=Wn+ya-Yr+4),ir=xi[pa++],nr=xi[pa++],Cr=xi[pa++],Sn[an]=(Br[ir]+Br[nr+256|0]+Br[Cr+512|0]>>16)-128,cn[an]=(Br[ir+768|0]+Br[nr+1024|0]+Br[Cr+1280|0]>>16)-128,qt[an]=(Br[ir+1280|0]+Br[nr+1536|0]+Br[Cr+1792|0]>>16)-128;sn=qr(Sn,Ne,sn,z,re),Cn=qr(cn,We,Cn,x,ae),Tn=qr(qt,We,Tn,x,ae),Wn+=32}io+=8}if(xt>=0){var Pa=[];Pa[1]=xt+1,Pa[0]=(1<<xt+1)-1,Ar(Pa)}return cr(65497),new Uint8Array(Tt)},b=b||50,function(){for(var Ct=String.fromCharCode,Yt=0;Yt<256;Yt++)Yn[Yt]=Ct(Yt)}(),z=rr(xn,tn),x=rr(zt,pn),re=rr(Mn,Ft),ae=rr(gn,qn),function(){for(var Ct=1,Yt=2,sn=1;sn<=15;sn++){for(var Cn=Ct;Cn<Yt;Cn++)mt[32767+Cn]=sn,At[32767+Cn]=[],At[32767+Cn][1]=sn,At[32767+Cn][0]=Cn;for(var Tn=-(Yt-1);Tn<=-Ct;Tn++)mt[32767+Tn]=sn,At[32767+Tn]=[],At[32767+Tn][1]=sn,At[32767+Tn][0]=Yt-1+Tn;Ct<<=1,Yt<<=1}}(),function(){for(var Ct=0;Ct<256;Ct++)Br[Ct]=19595*Ct,Br[Ct+256|0]=38470*Ct,Br[Ct+512|0]=7471*Ct+32768,Br[Ct+768|0]=-11059*Ct,Br[Ct+1024|0]=-21709*Ct,Br[Ct+1280|0]=32768*Ct+8421375,Br[Ct+1536|0]=-27439*Ct,Br[Ct+1792|0]=-5329*Ct}(),Lr(b)}function Cc(b,z){if(this.pos=0,this.buffer=b,this.datav=new DataView(b.buffer),this.is_with_alpha=!!z,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Hp(b){function z(tn){if(!tn)throw Error("assert :P")}function x(tn,Mn,Ft){for(var zt=0;4>zt;zt++)if(tn[Mn+zt]!=Ft.charCodeAt(zt))return!0;return!1}function re(tn,Mn,Ft,zt,pn){for(var gn=0;gn<pn;gn++)tn[Mn+gn]=Ft[zt+gn]}function ae(tn,Mn,Ft,zt){for(var pn=0;pn<zt;pn++)tn[Mn+pn]=Ft}function se(tn){return new Int32Array(tn)}function Ee(tn,Mn){for(var Ft=[],zt=0;zt<tn;zt++)Ft.push(new Mn);return Ft}function Se(tn,Mn){var Ft=[];return function zt(pn,gn,qn){for(var rr=qn[gn],Ar=0;Ar<rr&&(pn.push(qn.length>gn+1?[]:new Mn),!(qn.length<gn+1));Ar++)zt(pn[Ar],gn+1,qn)}(Ft,0,tn),Ft}var xe=function(){var tn=this;function Mn(le,ve){for(var Ke=1<<ve-1>>>0;le&Ke;)Ke>>>=1;return Ke?(le&Ke-1)+Ke:le}function Ft(le,ve,Ke,Je,ut){z(!(Je%Ke));do le[ve+(Je-=Ke)]=ut;while(0<Je)}function zt(le,ve,Ke,Je,ut){if(z(2328>=ut),512>=ut)var vt=se(512);else if((vt=se(ut))==null)return 0;return function(bt,Lt,Qt,Zt,Fn,Xn){var Wt,Nn,zn=Lt,vr=1<<Qt,$n=se(16),Sr=se(16);for(z(Fn!=0),z(Zt!=null),z(bt!=null),z(0<Qt),Nn=0;Nn<Fn;++Nn){if(15<Zt[Nn])return 0;++$n[Zt[Nn]]}if($n[0]==Fn)return 0;for(Sr[1]=0,Wt=1;15>Wt;++Wt){if($n[Wt]>1<<Wt)return 0;Sr[Wt+1]=Sr[Wt]+$n[Wt]}for(Nn=0;Nn<Fn;++Nn)Wt=Zt[Nn],0<Zt[Nn]&&(Xn[Sr[Wt]++]=Nn);if(Sr[15]==1)return(Zt=new pn).g=0,Zt.value=Xn[0],Ft(bt,zn,1,vr,Zt),vr;var wr,Gr=-1,Ur=vr-1,ro=0,za=1,di=1,Va=1<<Qt;for(Nn=0,Wt=1,Fn=2;Wt<=Qt;++Wt,Fn<<=1){if(za+=di<<=1,0>(di-=$n[Wt]))return 0;for(;0<$n[Wt];--$n[Wt])(Zt=new pn).g=Wt,Zt.value=Xn[Nn++],Ft(bt,zn+ro,Fn,Va,Zt),ro=Mn(ro,Wt)}for(Wt=Qt+1,Fn=2;15>=Wt;++Wt,Fn<<=1){if(za+=di<<=1,0>(di-=$n[Wt]))return 0;for(;0<$n[Wt];--$n[Wt]){if(Zt=new pn,(ro&Ur)!=Gr){for(zn+=Va,wr=1<<(Gr=Wt)-Qt;15>Gr&&!(0>=(wr-=$n[Gr]));)++Gr,wr<<=1;vr+=Va=1<<(wr=Gr-Qt),bt[Lt+(Gr=ro&Ur)].g=wr+Qt,bt[Lt+Gr].value=zn-Lt-Gr}Zt.g=Wt-Qt,Zt.value=Xn[Nn++],Ft(bt,zn+(ro>>Qt),Fn,Va,Zt),ro=Mn(ro,Wt)}}return za!=2*Sr[15]-1?0:vr}(le,ve,Ke,Je,ut,vt)}function pn(){this.value=this.g=0}function gn(){this.value=this.g=0}function qn(){this.G=Ee(5,pn),this.H=se(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ee(hf,gn)}function rr(le,ve,Ke,Je){z(le!=null),z(ve!=null),z(2147483648>Je),le.Ca=254,le.I=0,le.b=-8,le.Ka=0,le.oa=ve,le.pa=Ke,le.Jd=ve,le.Yc=Ke+Je,le.Zc=4<=Je?Ke+Je-4+1:Ke,ir(le)}function Ar(le,ve){for(var Ke=0;0<ve--;)Ke|=Cr(le,128)<<ve;return Ke}function Zn(le,ve){var Ke=Ar(le,ve);return nr(le)?-Ke:Ke}function cr(le,ve,Ke,Je){var ut,vt=0;for(z(le!=null),z(ve!=null),z(4294967288>Je),le.Sb=Je,le.Ra=0,le.u=0,le.h=0,4<Je&&(Je=4),ut=0;ut<Je;++ut)vt+=ve[Ke+ut]<<8*ut;le.Ra=vt,le.bb=Je,le.oa=ve,le.pa=Ke}function qr(le){for(;8<=le.u&&le.bb<le.Sb;)le.Ra>>>=8,le.Ra+=le.oa[le.pa+le.bb]<<lg-8>>>0,++le.bb,le.u-=8;Cn(le)&&(le.h=1,le.u=0)}function Lr(le,ve){if(z(0<=ve),!le.h&&ve<=_u){var Ke=sn(le)&xu[ve];return le.u+=ve,qr(le),Ke}return le.h=1,le.u=0}function Ct(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Yt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function sn(le){return le.Ra>>>(le.u&lg-1)>>>0}function Cn(le){return z(le.bb<=le.Sb),le.h||le.bb==le.Sb&&le.u>lg}function Tn(le,ve){le.u=ve,le.h=Cn(le)}function Wn(le){le.u>=Dd&&(z(le.u>=Dd),qr(le))}function ir(le){z(le!=null&&le.oa!=null),le.pa<le.Zc?(le.I=(le.oa[le.pa++]|le.I<<8)>>>0,le.b+=8):(z(le!=null&&le.oa!=null),le.pa<le.Yc?(le.b+=8,le.I=le.oa[le.pa++]|le.I<<8):le.Ka?le.b=0:(le.I<<=8,le.b+=8,le.Ka=1))}function nr(le){return Ar(le,1)}function Cr(le,ve){var Ke=le.Ca;0>le.b&&ir(le);var Je=le.b,ut=Ke*ve>>>8,vt=(le.I>>>Je>ut)+0;for(vt?(Ke-=ut,le.I-=ut+1<<Je>>>0):Ke=ut+1,Je=Ke,ut=0;256<=Je;)ut+=8,Je>>=8;return Je=7^ut+ug[Je],le.b-=Je,le.Ca=(Ke<<Je)-1,vt}function zr(le,ve,Ke){le[ve+0]=Ke>>24&255,le[ve+1]=Ke>>16&255,le[ve+2]=Ke>>8&255,le[ve+3]=255&Ke}function pa(le,ve){return le[ve+0]|le[ve+1]<<8}function ya(le,ve){return pa(le,ve)|le[ve+2]<<16}function pr(le,ve){return pa(le,ve)|pa(le,ve+2)<<16}function an(le,ve){var Ke=1<<ve;return z(le!=null),z(0<ve),le.X=se(Ke),le.X==null?0:(le.Mb=32-ve,le.Xa=ve,1)}function xi(le,ve){z(le!=null),z(ve!=null),z(le.Xa==ve.Xa),re(ve.X,0,le.X,0,1<<ve.Xa)}function oi(){this.X=[],this.Xa=this.Mb=0}function po(le,ve,Ke,Je){z(Ke!=null),z(Je!=null);var ut=Ke[0],vt=Je[0];return ut==0&&(ut=(le*vt+ve/2)/ve),vt==0&&(vt=(ve*ut+le/2)/le),0>=ut||0>=vt?0:(Ke[0]=ut,Je[0]=vt,1)}function Yr(le,ve){return le+(1<<ve)-1>>>ve}function io(le,ve){return((4278255360&le)+(4278255360&ve)>>>0&4278255360)+((16711935&le)+(16711935&ve)>>>0&16711935)>>>0}function Pa(le,ve){tn[ve]=function(Ke,Je,ut,vt,bt,Lt,Qt){var Zt;for(Zt=0;Zt<bt;++Zt){var Fn=tn[le](Lt[Qt+Zt-1],ut,vt+Zt);Lt[Qt+Zt]=io(Ke[Je+Zt],Fn)}}}function ii(){this.ud=this.hd=this.jd=0}function co(le,ve){return((4278124286&(le^ve))>>>1)+(le&ve)>>>0}function Vi(le){return 0<=le&&256>le?le:0>le?0:255<le?255:void 0}function Xo(le,ve){return Vi(le+(le-ve+.5>>1))}function Yo(le,ve,Ke){return Math.abs(ve-Ke)-Math.abs(le-Ke)}function BA(le,ve,Ke,Je,ut,vt,bt){for(Je=vt[bt-1],Ke=0;Ke<ut;++Ke)vt[bt+Ke]=Je=io(le[ve+Ke],Je)}function Ai(le,ve,Ke,Je,ut){var vt;for(vt=0;vt<Ke;++vt){var bt=le[ve+vt],Lt=bt>>8&255,Qt=16711935&(Qt=(Qt=16711935&bt)+((Lt<<16)+Lt));Je[ut+vt]=(4278255360&bt)+Qt>>>0}}function so(le,ve){ve.jd=255&le,ve.hd=le>>8&255,ve.ud=le>>16&255}function Qo(le,ve,Ke,Je,ut,vt){var bt;for(bt=0;bt<Je;++bt){var Lt=ve[Ke+bt],Qt=Lt>>>8,Zt=Lt,Fn=255&(Fn=(Fn=Lt>>>16)+((le.jd<<24>>24)*(Qt<<24>>24)>>>5));Zt=255&(Zt=(Zt+=(le.hd<<24>>24)*(Qt<<24>>24)>>>5)+((le.ud<<24>>24)*(Fn<<24>>24)>>>5)),ut[vt+bt]=(4278255360&Lt)+(Fn<<16)+Zt}}function lo(le,ve,Ke,Je,ut){tn[ve]=function(vt,bt,Lt,Qt,Zt,Fn,Xn,Wt,Nn){for(Qt=Xn;Qt<Wt;++Qt)for(Xn=0;Xn<Nn;++Xn)Zt[Fn++]=ut(Lt[Je(vt[bt++])])},tn[le]=function(vt,bt,Lt,Qt,Zt,Fn,Xn){var Wt=8>>vt.b,Nn=vt.Ea,zn=vt.K[0],vr=vt.w;if(8>Wt)for(vt=(1<<vt.b)-1,vr=(1<<Wt)-1;bt<Lt;++bt){var $n,Sr=0;for($n=0;$n<Nn;++$n)$n&vt||(Sr=Je(Qt[Zt++])),Fn[Xn++]=ut(zn[Sr&vr]),Sr>>=Wt}else tn["VP8LMapColor"+Ke](Qt,Zt,zn,vr,Fn,Xn,bt,Lt,Nn)}}function kA(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=le[ve++];Je[ut++]=vt>>16&255,Je[ut++]=vt>>8&255,Je[ut++]=255&vt}}function Xi(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=le[ve++];Je[ut++]=vt>>16&255,Je[ut++]=vt>>8&255,Je[ut++]=255&vt,Je[ut++]=vt>>24&255}}function no(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=(bt=le[ve++])>>16&240|bt>>12&15,bt=240&bt|bt>>28&15;Je[ut++]=vt,Je[ut++]=bt}}function Jo(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=(bt=le[ve++])>>16&248|bt>>13&7,bt=bt>>5&224|bt>>3&31;Je[ut++]=vt,Je[ut++]=bt}}function xA(le,ve,Ke,Je,ut){for(Ke=ve+Ke;ve<Ke;){var vt=le[ve++];Je[ut++]=255&vt,Je[ut++]=vt>>8&255,Je[ut++]=vt>>16&255}}function bo(le,ve,Ke,Je,ut,vt){if(vt==0)for(Ke=ve+Ke;ve<Ke;)zr(Je,((vt=le[ve++])[0]>>24|vt[1]>>8&65280|vt[2]<<8&16711680|vt[3]<<24)>>>0),ut+=32;else re(Je,ut,le,ve,Ke)}function Ui(le,ve){tn[ve][0]=tn[le+"0"],tn[ve][1]=tn[le+"1"],tn[ve][2]=tn[le+"2"],tn[ve][3]=tn[le+"3"],tn[ve][4]=tn[le+"4"],tn[ve][5]=tn[le+"5"],tn[ve][6]=tn[le+"6"],tn[ve][7]=tn[le+"7"],tn[ve][8]=tn[le+"8"],tn[ve][9]=tn[le+"9"],tn[ve][10]=tn[le+"10"],tn[ve][11]=tn[le+"11"],tn[ve][12]=tn[le+"12"],tn[ve][13]=tn[le+"13"],tn[ve][14]=tn[le+"0"],tn[ve][15]=tn[le+"0"]}function qo(le){return le==lp||le==up||le==Am||le==cp}function xs(){this.eb=[],this.size=this.A=this.fb=0}function Vs(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function _A(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new xs,this.f.kb=new Vs,this.sd=null}function zo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function aA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Wg(le){return alert("todo:WebPSamplerProcessPlane"),le.T}function Hl(le,ve){var Ke=le.T,Je=ve.ba.f.RGBA,ut=Je.eb,vt=Je.fb+le.ka*Je.A,bt=ic[ve.ba.S],Lt=le.y,Qt=le.O,Zt=le.f,Fn=le.N,Xn=le.ea,Wt=le.W,Nn=ve.cc,zn=ve.dc,vr=ve.Mc,$n=ve.Nc,Sr=le.ka,wr=le.ka+le.T,Gr=le.U,Ur=Gr+1>>1;for(Sr==0?bt(Lt,Qt,null,null,Zt,Fn,Xn,Wt,Zt,Fn,Xn,Wt,ut,vt,null,null,Gr):(bt(ve.ec,ve.fc,Lt,Qt,Nn,zn,vr,$n,Zt,Fn,Xn,Wt,ut,vt-Je.A,ut,vt,Gr),++Ke);Sr+2<wr;Sr+=2)Nn=Zt,zn=Fn,vr=Xn,$n=Wt,Fn+=le.Rc,Wt+=le.Rc,vt+=2*Je.A,bt(Lt,(Qt+=2*le.fa)-le.fa,Lt,Qt,Nn,zn,vr,$n,Zt,Fn,Xn,Wt,ut,vt-Je.A,ut,vt,Gr);return Qt+=le.fa,le.j+wr<le.o?(re(ve.ec,ve.fc,Lt,Qt,Gr),re(ve.cc,ve.dc,Zt,Fn,Ur),re(ve.Mc,ve.Nc,Xn,Wt,Ur),Ke--):1&wr||bt(Lt,Qt,null,null,Zt,Fn,Xn,Wt,Zt,Fn,Xn,Wt,ut,vt+Je.A,null,null,Gr),Ke}function Pd(le,ve,Ke){var Je=le.F,ut=[le.J];if(Je!=null){var vt=le.U,bt=ve.ba.S,Lt=bt==im||bt==Am;ve=ve.ba.f.RGBA;var Qt=[0],Zt=le.ka;Qt[0]=le.T,le.Kb&&(Zt==0?--Qt[0]:(--Zt,ut[0]-=le.width),le.j+le.ka+le.T==le.o&&(Qt[0]=le.o-le.j-Zt));var Fn=ve.eb;Zt=ve.fb+Zt*ve.A,le=qp(Je,ut[0],le.width,vt,Qt,Fn,Zt+(Lt?0:3),ve.A),z(Ke==Qt),le&&qo(bt)&&Vh(Fn,Zt,Lt,vt,Qt,ve.A)}return 0}function ad(le){var ve=le.ma,Ke=ve.ba.S,Je=11>Ke,ut=Ke==am||Ke==om||Ke==im||Ke==sp||Ke==12||qo(Ke);if(ve.memory=null,ve.Ib=null,ve.Jb=null,ve.Nd=null,!Mh(ve.Oa,le,ut?11:12))return 0;if(ut&&qo(Ke)&&J0(),le.da)alert("todo:use_scaling");else{if(Je){if(ve.Ib=Wg,le.Kb){if(Ke=le.U+1>>1,ve.memory=se(le.U+2*Ke),ve.memory==null)return 0;ve.ec=ve.memory,ve.fc=0,ve.cc=ve.ec,ve.dc=ve.fc+le.U,ve.Mc=ve.cc,ve.Nc=ve.dc+Ke,ve.Ib=Hl,J0()}}else alert("todo:EmitYUV");ut&&(ve.Jb=Pd,Je&&nc())}if(Je&&!mv){for(le=0;256>le;++le)m1[le]=89858*(le-128)+lm>>sm,B1[le]=-22014*(le-128)+lm,v1[le]=-45773*(le-128),p1[le]=113618*(le-128)+lm>>sm;for(le=Yh;le<fp;++le)ve=76283*(le-16)+lm>>sm,S1[le-Yh]=ys(ve,255),y1[le-Yh]=ys(ve+8>>4,15);mv=1}return 1}function Co(le){var ve=le.ma,Ke=le.U,Je=le.T;return z(!(1&le.ka)),0>=Ke||0>=Je?0:(Ke=ve.Ib(le,ve),ve.Jb!=null&&ve.Jb(le,ve,Ke),ve.Dc+=Ke,1)}function Ed(le){le.ma.memory=null}function Fd(le,ve,Ke,Je){return Lr(le,8)!=47?0:(ve[0]=Lr(le,14)+1,Ke[0]=Lr(le,14)+1,Je[0]=Lr(le,1),Lr(le,3)!=0?0:!le.h)}function Ju(le,ve){if(4>le)return le+1;var Ke=le-2>>1;return(2+(1&le)<<Ke)+Lr(ve,Ke)+1}function qu(le,ve){return 120<ve?ve-120:1<=(Ke=((Ke=n1[ve-1])>>4)*le+(8-(15&Ke)))?Ke:1;var Ke}function Ss(le,ve,Ke){var Je=sn(Ke),ut=le[ve+=255&Je].g-8;return 0<ut&&(Tn(Ke,Ke.u+8),Je=sn(Ke),ve+=le[ve].value,ve+=Je&(1<<ut)-1),Tn(Ke,Ke.u+le[ve].g),le[ve].value}function gl(le,ve,Ke){return Ke.g+=le.g,Ke.value+=le.value<<ve>>>0,z(8>=Ke.g),le.g}function wl(le,ve,Ke){var Je=le.xc;return z((ve=Je==0?0:le.vc[le.md*(Ke>>Je)+(ve>>Je)])<le.Wb),le.Ya[ve]}function Vg(le,ve,Ke,Je){var ut=le.ab,vt=le.c*ve,bt=le.C;ve=bt+ve;var Lt=Ke,Qt=Je;for(Je=le.Ta,Ke=le.Ua;0<ut--;){var Zt=le.gc[ut],Fn=bt,Xn=ve,Wt=Lt,Nn=Qt,zn=(Qt=Je,Lt=Ke,Zt.Ea);switch(z(Fn<Xn),z(Xn<=Zt.nc),Zt.hc){case 2:Ls(Wt,Nn,(Xn-Fn)*zn,Qt,Lt);break;case 0:var vr=Fn,$n=Xn,Sr=Qt,wr=Lt,Gr=(Va=Zt).Ea;vr==0&&(Kh(Wt,Nn,null,null,1,Sr,wr),BA(Wt,Nn+1,0,0,Gr-1,Sr,wr+1),Nn+=Gr,wr+=Gr,++vr);for(var Ur=1<<Va.b,ro=Ur-1,za=Yr(Gr,Va.b),di=Va.K,Va=Va.w+(vr>>Va.b)*za;vr<$n;){var Ni=di,Js=Va,gi=1;for(Jf(Wt,Nn,Sr,wr-Gr,1,Sr,wr);gi<Gr;){var Xa=(gi&~ro)+Ur;Xa>Gr&&(Xa=Gr),(0,Gh[Ni[Js++]>>8&15])(Wt,Nn+ +gi,Sr,wr+gi-Gr,Xa-gi,Sr,wr+gi),gi=Xa}Nn+=Gr,wr+=Gr,++vr&ro||(Va+=za)}Xn!=Zt.nc&&re(Qt,Lt-zn,Qt,Lt+(Xn-Fn-1)*zn,zn);break;case 1:for(zn=Wt,$n=Nn,Gr=(Wt=Zt.Ea)-(wr=Wt&~(Sr=(Nn=1<<Zt.b)-1)),vr=Yr(Wt,Zt.b),Ur=Zt.K,Zt=Zt.w+(Fn>>Zt.b)*vr;Fn<Xn;){for(ro=Ur,za=Zt,di=new ii,Va=$n+wr,Ni=$n+Wt;$n<Va;)so(ro[za++],di),$h(di,zn,$n,Nn,Qt,Lt),$n+=Nn,Lt+=Nn;$n<Ni&&(so(ro[za++],di),$h(di,zn,$n,Gr,Qt,Lt),$n+=Gr,Lt+=Gr),++Fn&Sr||(Zt+=vr)}break;case 3:if(Wt==Qt&&Nn==Lt&&0<Zt.b){for($n=Qt,Wt=zn=Lt+(Xn-Fn)*zn-(wr=(Xn-Fn)*Yr(Zt.Ea,Zt.b)),Nn=Qt,Sr=Lt,vr=[],wr=(Gr=wr)-1;0<=wr;--wr)vr[wr]=Nn[Sr+wr];for(wr=Gr-1;0<=wr;--wr)$n[Wt+wr]=vr[wr];em(Zt,Fn,Xn,Qt,zn,Qt,Lt)}else em(Zt,Fn,Xn,Wt,Nn,Qt,Lt)}Lt=Je,Qt=Ke}Qt!=Ke&&re(Je,Ke,Lt,Qt,vt)}function ag(le,ve){var Ke=le.V,Je=le.Ba+le.c*le.C,ut=ve-le.C;if(z(ve<=le.l.o),z(16>=ut),0<ut){var vt=le.l,bt=le.Ta,Lt=le.Ua,Qt=vt.width;if(Vg(le,ut,Ke,Je),ut=Lt=[Lt],z((Ke=le.C)<(Je=ve)),z(vt.v<vt.va),Je>vt.o&&(Je=vt.o),Ke<vt.j){var Zt=vt.j-Ke;Ke=vt.j,ut[0]+=Zt*Qt}if(Ke>=Je?Ke=0:(ut[0]+=4*vt.v,vt.ka=Ke-vt.j,vt.U=vt.va-vt.v,vt.T=Je-Ke,Ke=1),Ke){if(Lt=Lt[0],11>(Ke=le.ca).S){var Fn=Ke.f.RGBA,Xn=(Je=Ke.S,ut=vt.U,vt=vt.T,Zt=Fn.eb,Fn.A),Wt=vt;for(Fn=Fn.fb+le.Ma*Fn.A;0<Wt--;){var Nn=bt,zn=Lt,vr=ut,$n=Zt,Sr=Fn;switch(Je){case rm:Zh(Nn,zn,vr,$n,Sr);break;case am:cg(Nn,zn,vr,$n,Sr);break;case lp:cg(Nn,zn,vr,$n,Sr),Vh($n,Sr,0,vr,1,0);break;case iv:mf(Nn,zn,vr,$n,Sr);break;case om:bo(Nn,zn,vr,$n,Sr,1);break;case up:bo(Nn,zn,vr,$n,Sr,1),Vh($n,Sr,0,vr,1,0);break;case im:bo(Nn,zn,vr,$n,Sr,0);break;case Am:bo(Nn,zn,vr,$n,Sr,0),Vh($n,Sr,1,vr,1,0);break;case sp:dg(Nn,zn,vr,$n,Sr);break;case cp:dg(Nn,zn,vr,$n,Sr),Jp($n,Sr,vr,1,0);break;case Av:gg(Nn,zn,vr,$n,Sr);break;default:z(0)}Lt+=Qt,Fn+=Xn}le.Ma+=vt}else alert("todo:EmitRescaledRowsYUVA");z(le.Ma<=Ke.height)}}le.C=ve,z(le.C<=le.i)}function Ec(le){var ve;if(0<le.ua)return 0;for(ve=0;ve<le.Wb;++ve){var Ke=le.Ya[ve].G,Je=le.Ya[ve].H;if(0<Ke[1][Je[1]+0].g||0<Ke[2][Je[2]+0].g||0<Ke[3][Je[3]+0].g)return 0}return 1}function od(le,ve,Ke,Je,ut,vt){if(le.Z!=0){var bt=le.qd,Lt=le.rd;for(z(mg[le.Z]!=null);ve<Ke;++ve)mg[le.Z](bt,Lt,Je,ut,Je,ut,vt),bt=Je,Lt=ut,ut+=vt;le.qd=bt,le.rd=Lt}}function Fc(le,ve){var Ke=le.l.ma,Je=Ke.Z==0||Ke.Z==1?le.l.j:le.C;if(Je=le.C<Je?Je:le.C,z(ve<=le.l.o),ve>Je){var ut=le.l.width,vt=Ke.ca,bt=Ke.tb+ut*Je,Lt=le.V,Qt=le.Ba+le.c*Je,Zt=le.gc;z(le.ab==1),z(Zt[0].hc==3),ld(Zt[0],Je,ve,Lt,Qt,vt,bt),od(Ke,Je,ve,vt,bt,ut)}le.C=le.Ma=ve}function xc(le,ve,Ke,Je,ut,vt,bt){var Lt=le.$/Je,Qt=le.$%Je,Zt=le.m,Fn=le.s,Xn=Ke+le.$,Wt=Xn;ut=Ke+Je*ut;var Nn=Ke+Je*vt,zn=280+Fn.ua,vr=le.Pb?Lt:16777216,$n=0<Fn.ua?Fn.Wa:null,Sr=Fn.wc,wr=Xn<Nn?wl(Fn,Qt,Lt):null;z(le.C<vt),z(Nn<=ut);var Gr=!1;e:for(;;){for(;Gr||Xn<Nn;){var Ur=0;if(Lt>=vr){var ro=Xn-Ke;z((vr=le).Pb),vr.wd=vr.m,vr.xd=ro,0<vr.s.ua&&xi(vr.s.Wa,vr.s.vb),vr=Lt+a1}if(Qt&Sr||(wr=wl(Fn,Qt,Lt)),z(wr!=null),wr.Qb&&(ve[Xn]=wr.qb,Gr=!0),!Gr)if(Wn(Zt),wr.jc){Ur=Zt,ro=ve;var za=Xn,di=wr.pd[sn(Ur)&hf-1];z(wr.jc),256>di.g?(Tn(Ur,Ur.u+di.g),ro[za]=di.value,Ur=0):(Tn(Ur,Ur.u+di.g-256),z(256<=di.value),Ur=di.value),Ur==0&&(Gr=!0)}else Ur=Ss(wr.G[0],wr.H[0],Zt);if(Zt.h)break;if(Gr||256>Ur){if(!Gr)if(wr.nd)ve[Xn]=(wr.qb|Ur<<8)>>>0;else{if(Wn(Zt),Gr=Ss(wr.G[1],wr.H[1],Zt),Wn(Zt),ro=Ss(wr.G[2],wr.H[2],Zt),za=Ss(wr.G[3],wr.H[3],Zt),Zt.h)break;ve[Xn]=(za<<24|Gr<<16|Ur<<8|ro)>>>0}if(Gr=!1,++Xn,++Qt>=Je&&(Qt=0,++Lt,bt!=null&&Lt<=vt&&!(Lt%16)&&bt(le,Lt),$n!=null))for(;Wt<Xn;)Ur=ve[Wt++],$n.X[(506832829*Ur&4294967295)>>>$n.Mb]=Ur}else if(280>Ur){if(Ur=Ju(Ur-256,Zt),ro=Ss(wr.G[4],wr.H[4],Zt),Wn(Zt),ro=qu(Je,ro=Ju(ro,Zt)),Zt.h)break;if(Xn-Ke<ro||ut-Xn<Ur)break e;for(za=0;za<Ur;++za)ve[Xn+za]=ve[Xn+za-ro];for(Xn+=Ur,Qt+=Ur;Qt>=Je;)Qt-=Je,++Lt,bt!=null&&Lt<=vt&&!(Lt%16)&&bt(le,Lt);if(z(Xn<=ut),Qt&Sr&&(wr=wl(Fn,Qt,Lt)),$n!=null)for(;Wt<Xn;)Ur=ve[Wt++],$n.X[(506832829*Ur&4294967295)>>>$n.Mb]=Ur}else{if(!(Ur<zn))break e;for(Gr=Ur-280,z($n!=null);Wt<Xn;)Ur=ve[Wt++],$n.X[(506832829*Ur&4294967295)>>>$n.Mb]=Ur;Ur=Xn,z(!(Gr>>>(ro=$n).Xa)),ve[Ur]=ro.X[Gr],Gr=!0}Gr||z(Zt.h==Cn(Zt))}if(le.Pb&&Zt.h&&Xn<ut)z(le.m.h),le.a=5,le.m=le.wd,le.$=le.xd,0<le.s.ua&&xi(le.s.vb,le.s.Wa);else{if(Zt.h)break e;bt!=null&&bt(le,Lt>vt?vt:Lt),le.a=0,le.$=Xn-Ke}return 1}return le.a=3,0}function ec(le){z(le!=null),le.vc=null,le.yc=null,le.Ya=null;var ve=le.Wa;ve!=null&&(ve.X=null),le.vb=null,z(le!=null)}function Xg(){var le=new qa;return le==null?null:(le.a=0,le.xb=uv,Ui("Predictor","VP8LPredictors"),Ui("Predictor","VP8LPredictors_C"),Ui("PredictorAdd","VP8LPredictorsAdd"),Ui("PredictorAdd","VP8LPredictorsAdd_C"),Ls=Ai,$h=Qo,Zh=kA,cg=Xi,dg=no,gg=Jo,mf=xA,tn.VP8LMapColor32b=sd,tn.VP8LMapColor8b=zh,le)}function id(le,ve,Ke,Je,ut){var vt=1,bt=[le],Lt=[ve],Qt=Je.m,Zt=Je.s,Fn=null,Xn=0;e:for(;;){if(Ke)for(;vt&&Lr(Qt,1);){var Wt=bt,Nn=Lt,zn=Je,vr=1,$n=zn.m,Sr=zn.gc[zn.ab],wr=Lr($n,2);if(zn.Oc&1<<wr)vt=0;else{switch(zn.Oc|=1<<wr,Sr.hc=wr,Sr.Ea=Wt[0],Sr.nc=Nn[0],Sr.K=[null],++zn.ab,z(4>=zn.ab),wr){case 0:case 1:Sr.b=Lr($n,3)+2,vr=id(Yr(Sr.Ea,Sr.b),Yr(Sr.nc,Sr.b),0,zn,Sr.K),Sr.K=Sr.K[0];break;case 3:var Gr,Ur=Lr($n,8)+1,ro=16<Ur?0:4<Ur?1:2<Ur?2:3;if(Wt[0]=Yr(Sr.Ea,ro),Sr.b=ro,Gr=vr=id(Ur,1,0,zn,Sr.K)){var za,di=Ur,Va=Sr,Ni=1<<(8>>Va.b),Js=se(Ni);if(Js==null)Gr=0;else{var gi=Va.K[0],Xa=Va.w;for(Js[0]=Va.K[0][0],za=1;za<1*di;++za)Js[za]=io(gi[Xa+za],Js[za-1]);for(;za<4*Ni;++za)Js[za]=0;Va.K[0]=null,Va.K[0]=Js,Gr=1}}vr=Gr;break;case 2:break;default:z(0)}vt=vr}}if(bt=bt[0],Lt=Lt[0],vt&&Lr(Qt,1)&&!(vt=1<=(Xn=Lr(Qt,4))&&11>=Xn)){Je.a=3;break e}var fa;if(fa=vt)t:{var Us,ei,ki,KA=Je,Cl=bt,au=Lt,ws=Xn,zl=Ke,ou=KA.m,qs=KA.s,ji=[null],dA=1,bs=0,gA=r1[ws];n:for(;;){if(zl&&Lr(ou,1)){var Pl=Lr(ou,3)+2,Ic=Yr(Cl,Pl),Ns=Yr(au,Pl),vu=Ic*Ns;if(!id(Ic,Ns,0,KA,ji))break n;for(ji=ji[0],qs.xc=Pl,Us=0;Us<vu;++Us){var IA=ji[Us]>>8&65535;ji[Us]=IA,IA>=dA&&(dA=IA+1)}}if(ou.h)break n;for(ei=0;5>ei;++ei){var el=sv[ei];!ei&&0<ws&&(el+=1<<ws),bs<el&&(bs=el)}var Iu=Ee(dA*gA,pn),iu=dA,Uu=Ee(iu,qn);if(Uu==null)var Nu=null;else z(65536>=iu),Nu=Uu;var Bu=se(bs);if(Nu==null||Bu==null||Iu==null){KA.a=1;break n}var Du=Iu;for(Us=ki=0;Us<dA;++Us){var jA=Nu[Us],Ou=jA.G,Uc=jA.H,vf=0,Td=1,El=0;for(ei=0;5>ei;++ei){el=sv[ei],Ou[ei]=Du,Uc[ei]=ki,!ei&&0<ws&&(el+=1<<ws);a:{var cm,hp=el,dm=KA,Jh=Bu,C1=Du,P1=ki,mp=0,pg=dm.m,E1=Lr(pg,1);if(ae(Jh,0,0,hp),E1){var F1=Lr(pg,1)+1,x1=Lr(pg,1),Bv=Lr(pg,x1==0?1:8);Jh[Bv]=1,F1==2&&(Jh[Bv=Lr(pg,8)]=1);var gm=1}else{var Sv=se(19),yv=Lr(pg,4)+4;if(19<yv){dm.a=3;var fm=0;break a}for(cm=0;cm<yv;++cm)Sv[t1[cm]]=Lr(pg,3);var pp=void 0,qh=void 0,wv=dm,_1=Sv,hm=hp,bv=Jh,vp=0,vg=wv.m,Cv=8,Pv=Ee(128,pn);r:for(;zt(Pv,0,7,_1,19);){if(Lr(vg,1)){var L1=2+2*Lr(vg,3);if((pp=2+Lr(vg,L1))>hm)break r}else pp=hm;for(qh=0;qh<hm&&pp--;){Wn(vg);var Ev=Pv[0+(127&sn(vg))];Tn(vg,vg.u+Ev.g);var eh=Ev.value;if(16>eh)bv[qh++]=eh,eh!=0&&(Cv=eh);else{var I1=eh==16,Fv=eh-16,U1=qv[Fv],xv=Lr(vg,Jv[Fv])+U1;if(qh+xv>hm)break r;for(var N1=I1?Cv:0;0<xv--;)bv[qh++]=N1}}vp=1;break r}vp||(wv.a=3),gm=vp}(gm=gm&&!pg.h)&&(mp=zt(C1,P1,8,Jh,hp)),gm&&mp!=0?fm=mp:(dm.a=3,fm=0)}if(fm==0)break n;if(Td&&e1[ei]==1&&(Td=Du[ki].g==0),vf+=Du[ki].g,ki+=fm,3>=ei){var e0,Bp=Bu[0];for(e0=1;e0<el;++e0)Bu[e0]>Bp&&(Bp=Bu[e0]);El+=Bp}}if(jA.nd=Td,jA.Qb=0,Td&&(jA.qb=(Ou[3][Uc[3]+0].value<<24|Ou[1][Uc[1]+0].value<<16|Ou[2][Uc[2]+0].value)>>>0,vf==0&&256>Ou[0][Uc[0]+0].value&&(jA.Qb=1,jA.qb+=Ou[0][Uc[0]+0].value<<8)),jA.jc=!jA.Qb&&6>El,jA.jc){var mm,kd=jA;for(mm=0;mm<hf;++mm){var Bg=mm,Sg=kd.pd[Bg],pm=kd.G[0][kd.H[0]+Bg];256<=pm.value?(Sg.g=pm.g+256,Sg.value=pm.value):(Sg.g=0,Sg.value=0,Bg>>=gl(pm,8,Sg),Bg>>=gl(kd.G[1][kd.H[1]+Bg],16,Sg),Bg>>=gl(kd.G[2][kd.H[2]+Bg],0,Sg),gl(kd.G[3][kd.H[3]+Bg],24,Sg))}}}qs.vc=ji,qs.Wb=dA,qs.Ya=Nu,qs.yc=Iu,fa=1;break t}fa=0}if(!(vt=fa)){Je.a=3;break e}if(0<Xn){if(Zt.ua=1<<Xn,!an(Zt.Wa,Xn)){Je.a=1,vt=0;break e}}else Zt.ua=0;var Sp=Je,_v=bt,D1=Lt,yp=Sp.s,wp=yp.xc;if(Sp.c=_v,Sp.i=D1,yp.md=Yr(_v,wp),yp.wc=wp==0?-1:(1<<wp)-1,Ke){Je.xb=c1;break e}if((Fn=se(bt*Lt))==null){Je.a=1,vt=0;break e}vt=(vt=xc(Je,Fn,0,bt,Lt,Lt,null))&&!Qt.h;break e}return vt?(ut!=null?ut[0]=Fn:(z(Fn==null),z(Ke)),Je.$=0,Ke||ec(Zt)):ec(Zt),vt}function Yg(le,ve){var Ke=le.c*le.i,Je=Ke+ve+16*ve;return z(le.c<=ve),le.V=se(Je),le.V==null?(le.Ta=null,le.Ua=0,le.a=1,0):(le.Ta=le.V,le.Ua=le.Ba+Ke+ve,1)}function Hf(le,ve){var Ke=le.C,Je=ve-Ke,ut=le.V,vt=le.Ba+le.c*Ke;for(z(ve<=le.l.o);0<Je;){var bt=16<Je?16:Je,Lt=le.l.ma,Qt=le.l.width,Zt=Qt*bt,Fn=Lt.ca,Xn=Lt.tb+Qt*Ke,Wt=le.Ta,Nn=le.Ua;Vg(le,bt,ut,vt),ev(Wt,Nn,Fn,Xn,Zt),od(Lt,Ke,Ke+bt,Fn,Xn,Qt),Je-=bt,ut+=bt*le.c,Ke+=bt}z(Ke==ve),le.C=le.Ma=ve}function Kf(){this.ub=this.yd=this.td=this.Rb=0}function zf(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Gm(){this.Fb=this.Bb=this.Cb=0,this.Zb=se(4),this.Lb=se(4)}function Fh(){this.Yb=function(){var le=[];return function ve(Ke,Je,ut){for(var vt=ut[Je],bt=0;bt<vt&&(Ke.push(ut.length>Je+1?[]:0),!(ut.length<Je+1));bt++)ve(Ke[bt],Je+1,ut)}(le,0,[3,11]),le}()}function T0(){this.jb=se(3),this.Wc=Se([4,8],Fh),this.Xc=Se([4,17],Fh)}function k0(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new se(4),this.od=new se(4)}function tc(){this.ld=this.La=this.dd=this.tc=0}function xh(){this.Na=this.la=0}function R0(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function _h(){this.ad=se(384),this.Za=0,this.Ob=se(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function j0(){this.uc=this.M=this.Nb=0,this.wa=Array(new tc),this.Y=0,this.ya=Array(new _h),this.aa=0,this.l=new Gf}function M0(){this.y=se(16),this.f=se(8),this.ea=se(8)}function H0(){this.cb=this.a=0,this.sc="",this.m=new Ct,this.Od=new Kf,this.Kc=new zf,this.ed=new k0,this.Qa=new Gm,this.Ic=this.$c=this.Aa=0,this.D=new j0,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Ee(8,Ct),this.ia=0,this.pb=Ee(4,R0),this.Pa=new T0,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new M0),this.Hd=0,this.rb=Array(new xh),this.sb=0,this.wa=Array(new tc),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new _h),this.L=this.aa=0,this.gd=Se([4,2],tc),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Gf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function $m(){var le=new H0;return le!=null&&(le.a=0,le.sc="OK",le.cb=0,le.Xb=0,Xh||(Xh=xd)),le}function Hs(le,ve,Ke){return le.a==0&&(le.a=ve,le.sc=Ke,le.cb=0),0}function K0(le,ve,Ke){return 3<=Ke&&le[ve+0]==157&&le[ve+1]==1&&le[ve+2]==42}function z0(le,ve){if(le==null)return 0;if(le.a=0,le.sc="OK",ve==null)return Hs(le,2,"null VP8Io passed to VP8GetHeaders()");var Ke=ve.data,Je=ve.w,ut=ve.ha;if(4>ut)return Hs(le,7,"Truncated header.");var vt=Ke[Je+0]|Ke[Je+1]<<8|Ke[Je+2]<<16,bt=le.Od;if(bt.Rb=!(1&vt),bt.td=vt>>1&7,bt.yd=vt>>4&1,bt.ub=vt>>5,3<bt.td)return Hs(le,3,"Incorrect keyframe parameters.");if(!bt.yd)return Hs(le,4,"Frame not displayable.");Je+=3,ut-=3;var Lt=le.Kc;if(bt.Rb){if(7>ut)return Hs(le,7,"cannot parse picture header");if(!K0(Ke,Je,ut))return Hs(le,3,"Bad code word");Lt.c=16383&(Ke[Je+4]<<8|Ke[Je+3]),Lt.Td=Ke[Je+4]>>6,Lt.i=16383&(Ke[Je+6]<<8|Ke[Je+5]),Lt.Ud=Ke[Je+6]>>6,Je+=7,ut-=7,le.za=Lt.c+15>>4,le.Ub=Lt.i+15>>4,ve.width=Lt.c,ve.height=Lt.i,ve.Da=0,ve.j=0,ve.v=0,ve.va=ve.width,ve.o=ve.height,ve.da=0,ve.ib=ve.width,ve.hb=ve.height,ve.U=ve.width,ve.T=ve.height,ae((vt=le.Pa).jb,0,255,vt.jb.length),z((vt=le.Qa)!=null),vt.Cb=0,vt.Bb=0,vt.Fb=1,ae(vt.Zb,0,0,vt.Zb.length),ae(vt.Lb,0,0,vt.Lb)}if(bt.ub>ut)return Hs(le,7,"bad partition length");rr(vt=le.m,Ke,Je,bt.ub),Je+=bt.ub,ut-=bt.ub,bt.Rb&&(Lt.Ld=nr(vt),Lt.Kd=nr(vt)),Lt=le.Qa;var Qt,Zt=le.Pa;if(z(vt!=null),z(Lt!=null),Lt.Cb=nr(vt),Lt.Cb){if(Lt.Bb=nr(vt),nr(vt)){for(Lt.Fb=nr(vt),Qt=0;4>Qt;++Qt)Lt.Zb[Qt]=nr(vt)?Zn(vt,7):0;for(Qt=0;4>Qt;++Qt)Lt.Lb[Qt]=nr(vt)?Zn(vt,6):0}if(Lt.Bb)for(Qt=0;3>Qt;++Qt)Zt.jb[Qt]=nr(vt)?Ar(vt,8):255}else Lt.Bb=0;if(vt.Ka)return Hs(le,3,"cannot parse segment header");if((Lt=le.ed).zd=nr(vt),Lt.Tb=Ar(vt,6),Lt.wb=Ar(vt,3),Lt.Pc=nr(vt),Lt.Pc&&nr(vt)){for(Zt=0;4>Zt;++Zt)nr(vt)&&(Lt.vd[Zt]=Zn(vt,6));for(Zt=0;4>Zt;++Zt)nr(vt)&&(Lt.od[Zt]=Zn(vt,6))}if(le.L=Lt.Tb==0?0:Lt.zd?1:2,vt.Ka)return Hs(le,3,"cannot parse filter header");var Fn=ut;if(ut=Qt=Je,Je=Qt+Fn,Lt=Fn,le.Xb=(1<<Ar(le.m,2))-1,Fn<3*(Zt=le.Xb))Ke=7;else{for(Qt+=3*Zt,Lt-=3*Zt,Fn=0;Fn<Zt;++Fn){var Xn=Ke[ut+0]|Ke[ut+1]<<8|Ke[ut+2]<<16;Xn>Lt&&(Xn=Lt),rr(le.Jc[+Fn],Ke,Qt,Xn),Qt+=Xn,Lt-=Xn,ut+=3}rr(le.Jc[+Zt],Ke,Qt,Lt),Ke=Qt<Je?0:5}if(Ke!=0)return Hs(le,Ke,"cannot parse partitions");for(Ke=Ar(Qt=le.m,7),ut=nr(Qt)?Zn(Qt,4):0,Je=nr(Qt)?Zn(Qt,4):0,Lt=nr(Qt)?Zn(Qt,4):0,Zt=nr(Qt)?Zn(Qt,4):0,Qt=nr(Qt)?Zn(Qt,4):0,Fn=le.Qa,Xn=0;4>Xn;++Xn){if(Fn.Cb){var Wt=Fn.Zb[Xn];Fn.Fb||(Wt+=Ke)}else{if(0<Xn){le.pb[Xn]=le.pb[0];continue}Wt=Ke}var Nn=le.pb[Xn];Nn.Sc[0]=dp[ys(Wt+ut,127)],Nn.Sc[1]=gp[ys(Wt+0,127)],Nn.Eb[0]=2*dp[ys(Wt+Je,127)],Nn.Eb[1]=101581*gp[ys(Wt+Lt,127)]>>16,8>Nn.Eb[1]&&(Nn.Eb[1]=8),Nn.Qc[0]=dp[ys(Wt+Zt,117)],Nn.Qc[1]=gp[ys(Wt+Qt,127)],Nn.lc=Wt+Qt}if(!bt.Rb)return Hs(le,4,"Not a key frame.");for(nr(vt),bt=le.Pa,Ke=0;4>Ke;++Ke){for(ut=0;8>ut;++ut)for(Je=0;3>Je;++Je)for(Lt=0;11>Lt;++Lt)Zt=Cr(vt,l1[Ke][ut][Je][Lt])?Ar(vt,8):A1[Ke][ut][Je][Lt],bt.Wc[Ke][ut].Yb[Je][Lt]=Zt;for(ut=0;17>ut;++ut)bt.Xc[Ke][ut]=bt.Wc[Ke][u1[ut]]}return le.kc=nr(vt),le.kc&&(le.Bd=Ar(vt,8)),le.cb=1}function xd(le,ve,Ke,Je,ut,vt,bt){var Lt=ve[ut].Yb[Ke];for(Ke=0;16>ut;++ut){if(!Cr(le,Lt[Ke+0]))return ut;for(;!Cr(le,Lt[Ke+1]);)if(Lt=ve[++ut].Yb[0],Ke=0,ut==16)return 16;var Qt=ve[ut+1].Yb;if(Cr(le,Lt[Ke+2])){var Zt=le,Fn=0;if(Cr(Zt,(Wt=Lt)[(Xn=Ke)+3]))if(Cr(Zt,Wt[Xn+6])){for(Lt=0,Xn=2*(Fn=Cr(Zt,Wt[Xn+8]))+(Wt=Cr(Zt,Wt[Xn+9+Fn])),Fn=0,Wt=o1[Xn];Wt[Lt];++Lt)Fn+=Fn+Cr(Zt,Wt[Lt]);Fn+=3+(8<<Xn)}else Cr(Zt,Wt[Xn+7])?(Fn=7+2*Cr(Zt,165),Fn+=Cr(Zt,145)):Fn=5+Cr(Zt,159);else Fn=Cr(Zt,Wt[Xn+4])?3+Cr(Zt,Wt[Xn+5]):2;Lt=Qt[2]}else Fn=1,Lt=Qt[1];Qt=bt+i1[ut],0>(Zt=le).b&&ir(Zt);var Xn,Wt=Zt.b,Nn=(Xn=Zt.Ca>>1)-(Zt.I>>Wt)>>31;--Zt.b,Zt.Ca+=Nn,Zt.Ca|=1,Zt.I-=(Xn+1&Nn)<<Wt,vt[Qt]=((Fn^Nn)-Nn)*Je[(0<ut)+0]}return 16}function Jg(le){var ve=le.rb[le.sb-1];ve.la=0,ve.Na=0,ae(le.zc,0,0,le.zc.length),le.ja=0}function _c(le,ve,Ke,Je,ut){ut=le[ve+Ke+32*Je]+(ut>>3),le[ve+Ke+32*Je]=-256&ut?0>ut?0:255:ut}function qg(le,ve,Ke,Je,ut,vt){_c(le,ve,0,Ke,Je+ut),_c(le,ve,1,Ke,Je+vt),_c(le,ve,2,Ke,Je-vt),_c(le,ve,3,Ke,Je-ut)}function _s(le){return(20091*le>>16)+le}function Lh(le,ve,Ke,Je){var ut,vt=0,bt=se(16);for(ut=0;4>ut;++ut){var Lt=le[ve+0]+le[ve+8],Qt=le[ve+0]-le[ve+8],Zt=(35468*le[ve+4]>>16)-_s(le[ve+12]),Fn=_s(le[ve+4])+(35468*le[ve+12]>>16);bt[vt+0]=Lt+Fn,bt[vt+1]=Qt+Zt,bt[vt+2]=Qt-Zt,bt[vt+3]=Lt-Fn,vt+=4,ve++}for(ut=vt=0;4>ut;++ut)Lt=(le=bt[vt+0]+4)+bt[vt+8],Qt=le-bt[vt+8],Zt=(35468*bt[vt+4]>>16)-_s(bt[vt+12]),_c(Ke,Je,0,0,Lt+(Fn=_s(bt[vt+4])+(35468*bt[vt+12]>>16))),_c(Ke,Je,1,0,Qt+Zt),_c(Ke,Je,2,0,Qt-Zt),_c(Ke,Je,3,0,Lt-Fn),vt++,Je+=32}function Zm(le,ve,Ke,Je){var ut=le[ve+0]+4,vt=35468*le[ve+4]>>16,bt=_s(le[ve+4]),Lt=35468*le[ve+1]>>16;qg(Ke,Je,0,ut+bt,le=_s(le[ve+1]),Lt),qg(Ke,Je,1,ut+vt,le,Lt),qg(Ke,Je,2,ut-vt,le,Lt),qg(Ke,Je,3,ut-bt,le,Lt)}function Wm(le,ve,Ke,Je,ut){Lh(le,ve,Ke,Je),ut&&Lh(le,ve+16,Ke,Je+4)}function Vm(le,ve,Ke,Je){pf(le,ve+0,Ke,Je,1),pf(le,ve+32,Ke,Je+128,1)}function Ad(le,ve,Ke,Je){var ut;for(le=le[ve+0]+4,ut=0;4>ut;++ut)for(ve=0;4>ve;++ve)_c(Ke,Je,ve,ut,le)}function G0(le,ve,Ke,Je){le[ve+0]&&oA(le,ve+0,Ke,Je),le[ve+16]&&oA(le,ve+16,Ke,Je+4),le[ve+32]&&oA(le,ve+32,Ke,Je+128),le[ve+48]&&oA(le,ve+48,Ke,Je+128+4)}function $0(le,ve,Ke,Je){var ut,vt=se(16);for(ut=0;4>ut;++ut){var bt=le[ve+0+ut]+le[ve+12+ut],Lt=le[ve+4+ut]+le[ve+8+ut],Qt=le[ve+4+ut]-le[ve+8+ut],Zt=le[ve+0+ut]-le[ve+12+ut];vt[0+ut]=bt+Lt,vt[8+ut]=bt-Lt,vt[4+ut]=Zt+Qt,vt[12+ut]=Zt-Qt}for(ut=0;4>ut;++ut)bt=(le=vt[0+4*ut]+3)+vt[3+4*ut],Lt=vt[1+4*ut]+vt[2+4*ut],Qt=vt[1+4*ut]-vt[2+4*ut],Zt=le-vt[3+4*ut],Ke[Je+0]=bt+Lt>>3,Ke[Je+16]=Zt+Qt>>3,Ke[Je+32]=bt-Lt>>3,Ke[Je+48]=Zt-Qt>>3,Je+=64}function og(le,ve,Ke){var Je,ut=ve-32,vt=Lu,bt=255-le[ut-1];for(Je=0;Je<Ke;++Je){var Lt,Qt=vt,Zt=bt+le[ve-1];for(Lt=0;Lt<Ke;++Lt)le[ve+Lt]=Qt[Zt+le[ut+Lt]];ve+=32}}function Ih(le,ve){og(le,ve,4)}function Xm(le,ve){og(le,ve,8)}function Ym(le,ve){og(le,ve,16)}function Jm(le,ve){var Ke;for(Ke=0;16>Ke;++Ke)re(le,ve+32*Ke,le,ve-32,16)}function Uh(le,ve){var Ke;for(Ke=16;0<Ke;--Ke)ae(le,ve,le[ve-1],16),ve+=32}function ef(le,ve,Ke){var Je;for(Je=0;16>Je;++Je)ae(ve,Ke+32*Je,le,16)}function ig(le,ve){var Ke,Je=16;for(Ke=0;16>Ke;++Ke)Je+=le[ve-1+32*Ke]+le[ve+Ke-32];ef(Je>>5,le,ve)}function qm(le,ve){var Ke,Je=8;for(Ke=0;16>Ke;++Ke)Je+=le[ve-1+32*Ke];ef(Je>>4,le,ve)}function tf(le,ve){var Ke,Je=8;for(Ke=0;16>Ke;++Ke)Je+=le[ve+Ke-32];ef(Je>>4,le,ve)}function Nh(le,ve){ef(128,le,ve)}function Go(le,ve,Ke){return le+2*ve+Ke+2>>2}function ep(le,ve){var Ke,Je=ve-32;for(Je=new Uint8Array([Go(le[Je-1],le[Je+0],le[Je+1]),Go(le[Je+0],le[Je+1],le[Je+2]),Go(le[Je+1],le[Je+2],le[Je+3]),Go(le[Je+2],le[Je+3],le[Je+4])]),Ke=0;4>Ke;++Ke)re(le,ve+32*Ke,Je,0,Je.length)}function tp(le,ve){var Ke=le[ve-1],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1+96];zr(le,ve+0,16843009*Go(le[ve-1-32],Ke,Je)),zr(le,ve+32,16843009*Go(Ke,Je,ut)),zr(le,ve+64,16843009*Go(Je,ut,vt)),zr(le,ve+96,16843009*Go(ut,vt,vt))}function np(le,ve){var Ke,Je=4;for(Ke=0;4>Ke;++Ke)Je+=le[ve+Ke-32]+le[ve-1+32*Ke];for(Je>>=3,Ke=0;4>Ke;++Ke)ae(le,ve+32*Ke,Je,4)}function rp(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1-32],bt=le[ve+0-32],Lt=le[ve+1-32],Qt=le[ve+2-32],Zt=le[ve+3-32];le[ve+0+96]=Go(Je,ut,le[ve-1+96]),le[ve+1+96]=le[ve+0+64]=Go(Ke,Je,ut),le[ve+2+96]=le[ve+1+64]=le[ve+0+32]=Go(vt,Ke,Je),le[ve+3+96]=le[ve+2+64]=le[ve+1+32]=le[ve+0+0]=Go(bt,vt,Ke),le[ve+3+64]=le[ve+2+32]=le[ve+1+0]=Go(Lt,bt,vt),le[ve+3+32]=le[ve+2+0]=Go(Qt,Lt,bt),le[ve+3+0]=Go(Zt,Qt,Lt)}function _d(le,ve){var Ke=le[ve+1-32],Je=le[ve+2-32],ut=le[ve+3-32],vt=le[ve+4-32],bt=le[ve+5-32],Lt=le[ve+6-32],Qt=le[ve+7-32];le[ve+0+0]=Go(le[ve+0-32],Ke,Je),le[ve+1+0]=le[ve+0+32]=Go(Ke,Je,ut),le[ve+2+0]=le[ve+1+32]=le[ve+0+64]=Go(Je,ut,vt),le[ve+3+0]=le[ve+2+32]=le[ve+1+64]=le[ve+0+96]=Go(ut,vt,bt),le[ve+3+32]=le[ve+2+64]=le[ve+1+96]=Go(vt,bt,Lt),le[ve+3+64]=le[ve+2+96]=Go(bt,Lt,Qt),le[ve+3+96]=Go(Lt,Qt,Qt)}function Ld(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1-32],bt=le[ve+0-32],Lt=le[ve+1-32],Qt=le[ve+2-32],Zt=le[ve+3-32];le[ve+0+0]=le[ve+1+64]=vt+bt+1>>1,le[ve+1+0]=le[ve+2+64]=bt+Lt+1>>1,le[ve+2+0]=le[ve+3+64]=Lt+Qt+1>>1,le[ve+3+0]=Qt+Zt+1>>1,le[ve+0+96]=Go(ut,Je,Ke),le[ve+0+64]=Go(Je,Ke,vt),le[ve+0+32]=le[ve+1+96]=Go(Ke,vt,bt),le[ve+1+32]=le[ve+2+96]=Go(vt,bt,Lt),le[ve+2+32]=le[ve+3+96]=Go(bt,Lt,Qt),le[ve+3+32]=Go(Lt,Qt,Zt)}function ap(le,ve){var Ke=le[ve+0-32],Je=le[ve+1-32],ut=le[ve+2-32],vt=le[ve+3-32],bt=le[ve+4-32],Lt=le[ve+5-32],Qt=le[ve+6-32],Zt=le[ve+7-32];le[ve+0+0]=Ke+Je+1>>1,le[ve+1+0]=le[ve+0+64]=Je+ut+1>>1,le[ve+2+0]=le[ve+1+64]=ut+vt+1>>1,le[ve+3+0]=le[ve+2+64]=vt+bt+1>>1,le[ve+0+32]=Go(Ke,Je,ut),le[ve+1+32]=le[ve+0+96]=Go(Je,ut,vt),le[ve+2+32]=le[ve+1+96]=Go(ut,vt,bt),le[ve+3+32]=le[ve+2+96]=Go(vt,bt,Lt),le[ve+3+64]=Go(bt,Lt,Qt),le[ve+3+96]=Go(Lt,Qt,Zt)}function op(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1+96];le[ve+0+0]=Ke+Je+1>>1,le[ve+2+0]=le[ve+0+32]=Je+ut+1>>1,le[ve+2+32]=le[ve+0+64]=ut+vt+1>>1,le[ve+1+0]=Go(Ke,Je,ut),le[ve+3+0]=le[ve+1+32]=Go(Je,ut,vt),le[ve+3+32]=le[ve+1+64]=Go(ut,vt,vt),le[ve+3+64]=le[ve+2+64]=le[ve+0+96]=le[ve+1+96]=le[ve+2+96]=le[ve+3+96]=vt}function $f(le,ve){var Ke=le[ve-1+0],Je=le[ve-1+32],ut=le[ve-1+64],vt=le[ve-1+96],bt=le[ve-1-32],Lt=le[ve+0-32],Qt=le[ve+1-32],Zt=le[ve+2-32];le[ve+0+0]=le[ve+2+32]=Ke+bt+1>>1,le[ve+0+32]=le[ve+2+64]=Je+Ke+1>>1,le[ve+0+64]=le[ve+2+96]=ut+Je+1>>1,le[ve+0+96]=vt+ut+1>>1,le[ve+3+0]=Go(Lt,Qt,Zt),le[ve+2+0]=Go(bt,Lt,Qt),le[ve+1+0]=le[ve+3+32]=Go(Ke,bt,Lt),le[ve+1+32]=le[ve+3+64]=Go(Je,Ke,bt),le[ve+1+64]=le[ve+3+96]=Go(ut,Je,Ke),le[ve+1+96]=Go(vt,ut,Je)}function Dh(le,ve){var Ke;for(Ke=0;8>Ke;++Ke)re(le,ve+32*Ke,le,ve-32,8)}function nf(le,ve){var Ke;for(Ke=0;8>Ke;++Ke)ae(le,ve,le[ve-1],8),ve+=32}function Zf(le,ve,Ke){var Je;for(Je=0;8>Je;++Je)ae(ve,Ke+32*Je,le,8)}function Wf(le,ve){var Ke,Je=8;for(Ke=0;8>Ke;++Ke)Je+=le[ve+Ke-32]+le[ve-1+32*Ke];Zf(Je>>4,le,ve)}function ip(le,ve){var Ke,Je=4;for(Ke=0;8>Ke;++Ke)Je+=le[ve+Ke-32];Zf(Je>>3,le,ve)}function Oh(le,ve){var Ke,Je=4;for(Ke=0;8>Ke;++Ke)Je+=le[ve-1+32*Ke];Zf(Je>>3,le,ve)}function Qh(le,ve){Zf(128,le,ve)}function rf(le,ve,Ke){var Je=le[ve-Ke],ut=le[ve+0],vt=3*(ut-Je)+Ap[1020+le[ve-2*Ke]-le[ve+Ke]],bt=nm[112+(vt+4>>3)];le[ve-Ke]=Lu[255+Je+nm[112+(vt+3>>3)]],le[ve+0]=Lu[255+ut-bt]}function af(le,ve,Ke,Je){var ut=le[ve+0],vt=le[ve+Ke];return oc[255+le[ve-2*Ke]-le[ve-Ke]]>Je||oc[255+vt-ut]>Je}function Th(le,ve,Ke,Je){return 4*oc[255+le[ve-Ke]-le[ve+0]]+oc[255+le[ve-2*Ke]-le[ve+Ke]]<=Je}function Vf(le,ve,Ke,Je,ut){var vt=le[ve-3*Ke],bt=le[ve-2*Ke],Lt=le[ve-Ke],Qt=le[ve+0],Zt=le[ve+Ke],Fn=le[ve+2*Ke],Xn=le[ve+3*Ke];return 4*oc[255+Lt-Qt]+oc[255+bt-Zt]>Je?0:oc[255+le[ve-4*Ke]-vt]<=ut&&oc[255+vt-bt]<=ut&&oc[255+bt-Lt]<=ut&&oc[255+Xn-Fn]<=ut&&oc[255+Fn-Zt]<=ut&&oc[255+Zt-Qt]<=ut}function kh(le,ve,Ke,Je){var ut=2*Je+1;for(Je=0;16>Je;++Je)Th(le,ve+Je,Ke,ut)&&rf(le,ve+Je,Ke)}function of(le,ve,Ke,Je){var ut=2*Je+1;for(Je=0;16>Je;++Je)Th(le,ve+Je*Ke,1,ut)&&rf(le,ve+Je*Ke,1)}function Z0(le,ve,Ke,Je){var ut;for(ut=3;0<ut;--ut)kh(le,ve+=4*Ke,Ke,Je)}function W0(le,ve,Ke,Je){var ut;for(ut=3;0<ut;--ut)of(le,ve+=4,Ke,Je)}function Id(le,ve,Ke,Je,ut,vt,bt,Lt){for(vt=2*vt+1;0<ut--;){if(Vf(le,ve,Ke,vt,bt))if(af(le,ve,Ke,Lt))rf(le,ve,Ke);else{var Qt=le,Zt=ve,Fn=Ke,Xn=Qt[Zt-2*Fn],Wt=Qt[Zt-Fn],Nn=Qt[Zt+0],zn=Qt[Zt+Fn],vr=Qt[Zt+2*Fn],$n=27*(wr=Ap[1020+3*(Nn-Wt)+Ap[1020+Xn-zn]])+63>>7,Sr=18*wr+63>>7,wr=9*wr+63>>7;Qt[Zt-3*Fn]=Lu[255+Qt[Zt-3*Fn]+wr],Qt[Zt-2*Fn]=Lu[255+Xn+Sr],Qt[Zt-Fn]=Lu[255+Wt+$n],Qt[Zt+0]=Lu[255+Nn-$n],Qt[Zt+Fn]=Lu[255+zn-Sr],Qt[Zt+2*Fn]=Lu[255+vr-wr]}ve+=Je}}function Ud(le,ve,Ke,Je,ut,vt,bt,Lt){for(vt=2*vt+1;0<ut--;){if(Vf(le,ve,Ke,vt,bt))if(af(le,ve,Ke,Lt))rf(le,ve,Ke);else{var Qt=le,Zt=ve,Fn=Ke,Xn=Qt[Zt-Fn],Wt=Qt[Zt+0],Nn=Qt[Zt+Fn],zn=nm[112+(4+(vr=3*(Wt-Xn))>>3)],vr=nm[112+(vr+3>>3)],$n=zn+1>>1;Qt[Zt-2*Fn]=Lu[255+Qt[Zt-2*Fn]+$n],Qt[Zt-Fn]=Lu[255+Xn+vr],Qt[Zt+0]=Lu[255+Wt-zn],Qt[Zt+Fn]=Lu[255+Nn-$n]}ve+=Je}}function V0(le,ve,Ke,Je,ut,vt){Id(le,ve,Ke,1,16,Je,ut,vt)}function X0(le,ve,Ke,Je,ut,vt){Id(le,ve,1,Ke,16,Je,ut,vt)}function Af(le,ve,Ke,Je,ut,vt){var bt;for(bt=3;0<bt;--bt)Ud(le,ve+=4*Ke,Ke,1,16,Je,ut,vt)}function Y0(le,ve,Ke,Je,ut,vt){var bt;for(bt=3;0<bt;--bt)Ud(le,ve+=4,1,Ke,16,Je,ut,vt)}function Ue(le,ve,Ke,Je,ut,vt,bt,Lt){Id(le,ve,ut,1,8,vt,bt,Lt),Id(Ke,Je,ut,1,8,vt,bt,Lt)}function lt(le,ve,Ke,Je,ut,vt,bt,Lt){Id(le,ve,1,ut,8,vt,bt,Lt),Id(Ke,Je,1,ut,8,vt,bt,Lt)}function Vt(le,ve,Ke,Je,ut,vt,bt,Lt){Ud(le,ve+4*ut,ut,1,8,vt,bt,Lt),Ud(Ke,Je+4*ut,ut,1,8,vt,bt,Lt)}function hn(le,ve,Ke,Je,ut,vt,bt,Lt){Ud(le,ve+4,1,ut,8,vt,bt,Lt),Ud(Ke,Je+4,1,ut,8,vt,bt,Lt)}function jn(){this.ba=new _A,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new aA,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function yr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Nr(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Za(){this.ua=0,this.Wa=new oi,this.vb=new oi,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new qn,this.yc=new pn}function qa(){this.xb=this.a=0,this.l=new Gf,this.ca=new _A,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Yt,this.Pb=0,this.wd=new Yt,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Za,this.ab=0,this.gc=Ee(4,Nr),this.Oc=0}function Ho(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gf,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Zo(le,ve,Ke,Je,ut,vt,bt){for(le=le==null?0:le[ve+0],ve=0;ve<bt;++ve)ut[vt+ve]=le+Ke[Je+ve]&255,le=ut[vt+ve]}function Yi(le,ve,Ke,Je,ut,vt,bt){var Lt;if(le==null)Zo(null,null,Ke,Je,ut,vt,bt);else for(Lt=0;Lt<bt;++Lt)ut[vt+Lt]=le[ve+Lt]+Ke[Je+Lt]&255}function cs(le,ve,Ke,Je,ut,vt,bt){if(le==null)Zo(null,null,Ke,Je,ut,vt,bt);else{var Lt,Qt=le[ve+0],Zt=Qt,Fn=Qt;for(Lt=0;Lt<bt;++Lt)Zt=Fn+(Qt=le[ve+Lt])-Zt,Fn=Ke[Je+Lt]+(-256&Zt?0>Zt?0:255:Zt)&255,Zt=Qt,ut[vt+Lt]=Fn}}function Ks(le,ve,Ke,Je){var ut=ve.width,vt=ve.o;if(z(le!=null&&ve!=null),0>Ke||0>=Je||Ke+Je>vt)return null;if(!le.Cc){if(le.ga==null){var bt;if(le.ga=new Ho,(bt=le.ga==null)||(bt=ve.width*ve.o,z(le.Gb.length==0),le.Gb=se(bt),le.Uc=0,le.Gb==null?bt=0:(le.mb=le.Gb,le.nb=le.Uc,le.rc=null,bt=1),bt=!bt),!bt){bt=le.ga;var Lt=le.Fa,Qt=le.P,Zt=le.qc,Fn=le.mb,Xn=le.nb,Wt=Qt+1,Nn=Zt-1,zn=bt.l;if(z(Lt!=null&&Fn!=null&&ve!=null),mg[0]=null,mg[1]=Zo,mg[2]=Yi,mg[3]=cs,bt.ca=Fn,bt.tb=Xn,bt.c=ve.width,bt.i=ve.height,z(0<bt.c&&0<bt.i),1>=Zt)ve=0;else if(bt.$a=3&Lt[Qt+0],bt.Z=Lt[Qt+0]>>2&3,bt.Lc=Lt[Qt+0]>>4&3,Qt=Lt[Qt+0]>>6&3,0>bt.$a||1<bt.$a||4<=bt.Z||1<bt.Lc||Qt)ve=0;else if(zn.put=Co,zn.ac=ad,zn.bc=Ed,zn.ma=bt,zn.width=ve.width,zn.height=ve.height,zn.Da=ve.Da,zn.v=ve.v,zn.va=ve.va,zn.j=ve.j,zn.o=ve.o,bt.$a)e:{z(bt.$a==1),ve=Xg();t:for(;;){if(ve==null){ve=0;break e}if(z(bt!=null),bt.mc=ve,ve.c=bt.c,ve.i=bt.i,ve.l=bt.l,ve.l.ma=bt,ve.l.width=bt.c,ve.l.height=bt.i,ve.a=0,cr(ve.m,Lt,Wt,Nn),!id(bt.c,bt.i,1,ve,null)||(ve.ab==1&&ve.gc[0].hc==3&&Ec(ve.s)?(bt.ic=1,Lt=ve.c*ve.i,ve.Ta=null,ve.Ua=0,ve.V=se(Lt),ve.Ba=0,ve.V==null?(ve.a=1,ve=0):ve=1):(bt.ic=0,ve=Yg(ve,bt.c)),!ve))break t;ve=1;break e}bt.mc=null,ve=0}else ve=Nn>=bt.c*bt.i;bt=!ve}if(bt)return null;le.ga.Lc!=1?le.Ga=0:Je=vt-Ke}z(le.ga!=null),z(Ke+Je<=vt);e:{if(ve=(Lt=le.ga).c,vt=Lt.l.o,Lt.$a==0){if(Wt=le.rc,Nn=le.Vc,zn=le.Fa,Qt=le.P+1+Ke*ve,Zt=le.mb,Fn=le.nb+Ke*ve,z(Qt<=le.P+le.qc),Lt.Z!=0)for(z(mg[Lt.Z]!=null),bt=0;bt<Je;++bt)mg[Lt.Z](Wt,Nn,zn,Qt,Zt,Fn,ve),Wt=Zt,Nn=Fn,Fn+=ve,Qt+=ve;else for(bt=0;bt<Je;++bt)re(Zt,Fn,zn,Qt,ve),Wt=Zt,Nn=Fn,Fn+=ve,Qt+=ve;le.rc=Wt,le.Vc=Nn}else{if(z(Lt.mc!=null),ve=Ke+Je,z((bt=Lt.mc)!=null),z(ve<=bt.i),bt.C>=ve)ve=1;else if(Lt.ic||nc(),Lt.ic){Lt=bt.V,Wt=bt.Ba,Nn=bt.c;var vr=bt.i,$n=(zn=1,Qt=bt.$/Nn,Zt=bt.$%Nn,Fn=bt.m,Xn=bt.s,bt.$),Sr=Nn*vr,wr=Nn*ve,Gr=Xn.wc,Ur=$n<wr?wl(Xn,Zt,Qt):null;z($n<=Sr),z(ve<=vr),z(Ec(Xn));t:for(;;){for(;!Fn.h&&$n<wr;){if(Zt&Gr||(Ur=wl(Xn,Zt,Qt)),z(Ur!=null),Wn(Fn),256>(vr=Ss(Ur.G[0],Ur.H[0],Fn)))Lt[Wt+$n]=vr,++$n,++Zt>=Nn&&(Zt=0,++Qt<=ve&&!(Qt%16)&&Fc(bt,Qt));else{if(!(280>vr)){zn=0;break t}vr=Ju(vr-256,Fn);var ro,za=Ss(Ur.G[4],Ur.H[4],Fn);if(Wn(Fn),!($n>=(za=qu(Nn,za=Ju(za,Fn)))&&Sr-$n>=vr)){zn=0;break t}for(ro=0;ro<vr;++ro)Lt[Wt+$n+ro]=Lt[Wt+$n+ro-za];for($n+=vr,Zt+=vr;Zt>=Nn;)Zt-=Nn,++Qt<=ve&&!(Qt%16)&&Fc(bt,Qt);$n<wr&&Zt&Gr&&(Ur=wl(Xn,Zt,Qt))}z(Fn.h==Cn(Fn))}Fc(bt,Qt>ve?ve:Qt);break t}!zn||Fn.h&&$n<Sr?(zn=0,bt.a=Fn.h?5:3):bt.$=$n,ve=zn}else ve=xc(bt,bt.V,bt.Ba,bt.c,bt.i,ve,Hf);if(!ve){Je=0;break e}}Ke+Je>=vt&&(le.Cc=1),Je=1}if(!Je)return null;if(le.Cc&&((Je=le.ga)!=null&&(Je.mc=null),le.ga=null,0<le.Ga))return alert("todo:WebPDequantizeLevels"),null}return le.nb+Ke*ut}function RA(le,ve,Ke,Je,ut,vt){for(;0<ut--;){var bt,Lt=le,Qt=ve+(Ke?1:0),Zt=le,Fn=ve+(Ke?0:3);for(bt=0;bt<Je;++bt){var Xn=Zt[Fn+4*bt];Xn!=255&&(Xn*=32897,Lt[Qt+4*bt+0]=Lt[Qt+4*bt+0]*Xn>>23,Lt[Qt+4*bt+1]=Lt[Qt+4*bt+1]*Xn>>23,Lt[Qt+4*bt+2]=Lt[Qt+4*bt+2]*Xn>>23)}ve+=vt}}function Xs(le,ve,Ke,Je,ut){for(;0<Je--;){var vt;for(vt=0;vt<Ke;++vt){var bt=le[ve+2*vt+0],Lt=15&(Zt=le[ve+2*vt+1]),Qt=4369*Lt,Zt=(240&Zt|Zt>>4)*Qt>>16;le[ve+2*vt+0]=(240&bt|bt>>4)*Qt>>16&240|(15&bt|bt<<4)*Qt>>16>>4&15,le[ve+2*vt+1]=240&Zt|Lt}ve+=ut}}function zs(le,ve,Ke,Je,ut,vt,bt,Lt){var Qt,Zt,Fn=255;for(Zt=0;Zt<ut;++Zt){for(Qt=0;Qt<Je;++Qt){var Xn=le[ve+Qt];vt[bt+4*Qt]=Xn,Fn&=Xn}ve+=Ke,bt+=Lt}return Fn!=255}function bl(le,ve,Ke,Je,ut){var vt;for(vt=0;vt<ut;++vt)Ke[Je+vt]=le[ve+vt]>>8}function nc(){Vh=RA,Jp=Xs,qp=zs,ev=bl}function pu(le,ve,Ke){tn[le]=function(Je,ut,vt,bt,Lt,Qt,Zt,Fn,Xn,Wt,Nn,zn,vr,$n,Sr,wr,Gr){var Ur,ro=Gr-1>>1,za=Lt[Qt+0]|Zt[Fn+0]<<16,di=Xn[Wt+0]|Nn[zn+0]<<16;z(Je!=null);var Va=3*za+di+131074>>2;for(ve(Je[ut+0],255&Va,Va>>16,vr,$n),vt!=null&&(Va=3*di+za+131074>>2,ve(vt[bt+0],255&Va,Va>>16,Sr,wr)),Ur=1;Ur<=ro;++Ur){var Ni=Lt[Qt+Ur]|Zt[Fn+Ur]<<16,Js=Xn[Wt+Ur]|Nn[zn+Ur]<<16,gi=za+Ni+di+Js+524296,Xa=gi+2*(Ni+di)>>3;Va=Xa+za>>1,za=(gi=gi+2*(za+Js)>>3)+Ni>>1,ve(Je[ut+2*Ur-1],255&Va,Va>>16,vr,$n+(2*Ur-1)*Ke),ve(Je[ut+2*Ur-0],255&za,za>>16,vr,$n+(2*Ur-0)*Ke),vt!=null&&(Va=gi+di>>1,za=Xa+Js>>1,ve(vt[bt+2*Ur-1],255&Va,Va>>16,Sr,wr+(2*Ur-1)*Ke),ve(vt[bt+2*Ur+0],255&za,za>>16,Sr,wr+(2*Ur+0)*Ke)),za=Ni,di=Js}1&Gr||(Va=3*za+di+131074>>2,ve(Je[ut+Gr-1],255&Va,Va>>16,vr,$n+(Gr-1)*Ke),vt!=null&&(Va=3*di+za+131074>>2,ve(vt[bt+Gr-1],255&Va,Va>>16,Sr,wr+(Gr-1)*Ke)))}}function J0(){ic[rm]=d1,ic[am]=cv,ic[iv]=g1,ic[om]=dv,ic[im]=gv,ic[sp]=fv,ic[Av]=f1,ic[lp]=cv,ic[up]=dv,ic[Am]=gv,ic[cp]=fv}function Xf(le){return le&~h1?0>le?0:255:le>>hv}function sf(le,ve){return Xf((19077*le>>8)+(26149*ve>>8)-14234)}function Ag(le,ve,Ke){return Xf((19077*le>>8)-(6419*ve>>8)-(13320*Ke>>8)+8708)}function lf(le,ve){return Xf((19077*le>>8)+(33050*ve>>8)-17685)}function uf(le,ve,Ke,Je,ut){Je[ut+0]=sf(le,Ke),Je[ut+1]=Ag(le,ve,Ke),Je[ut+2]=lf(le,ve)}function cf(le,ve,Ke,Je,ut){Je[ut+0]=lf(le,ve),Je[ut+1]=Ag(le,ve,Ke),Je[ut+2]=sf(le,Ke)}function Kl(le,ve,Ke,Je,ut){var vt=Ag(le,ve,Ke);ve=vt<<3&224|lf(le,ve)>>3,Je[ut+0]=248&sf(le,Ke)|vt>>5,Je[ut+1]=ve}function df(le,ve,Ke,Je,ut){var vt=240&lf(le,ve)|15;Je[ut+0]=240&sf(le,Ke)|Ag(le,ve,Ke)>>4,Je[ut+1]=vt}function gf(le,ve,Ke,Je,ut){Je[ut+0]=255,uf(le,ve,Ke,Je,ut+1)}function Rh(le,ve,Ke,Je,ut){cf(le,ve,Ke,Je,ut),Je[ut+3]=255}function jh(le,ve,Ke,Je,ut){uf(le,ve,Ke,Je,ut),Je[ut+3]=255}function ys(le,ve){return 0>le?0:le>ve?ve:le}function Nd(le,ve,Ke){tn[le]=function(Je,ut,vt,bt,Lt,Qt,Zt,Fn,Xn){for(var Wt=Fn+(-2&Xn)*Ke;Fn!=Wt;)ve(Je[ut+0],vt[bt+0],Lt[Qt+0],Zt,Fn),ve(Je[ut+1],vt[bt+0],Lt[Qt+0],Zt,Fn+Ke),ut+=2,++bt,++Qt,Fn+=2*Ke;1&Xn&&ve(Je[ut+0],vt[bt+0],Lt[Qt+0],Zt,Fn)}}function Yf(le,ve,Ke){return Ke==0?le==0?ve==0?6:5:ve==0?4:0:Ke}function q0(le,ve,Ke,Je,ut){switch(le>>>30){case 3:pf(ve,Ke,Je,ut,0);break;case 2:ac(ve,Ke,Je,ut);break;case 1:oA(ve,Ke,Je,ut)}}function rc(le,ve){var Ke,Je,ut=ve.M,vt=ve.Nb,bt=le.oc,Lt=le.pc+40,Qt=le.oc,Zt=le.pc+584,Fn=le.oc,Xn=le.pc+600;for(Ke=0;16>Ke;++Ke)bt[Lt+32*Ke-1]=129;for(Ke=0;8>Ke;++Ke)Qt[Zt+32*Ke-1]=129,Fn[Xn+32*Ke-1]=129;for(0<ut?bt[Lt-1-32]=Qt[Zt-1-32]=Fn[Xn-1-32]=129:(ae(bt,Lt-32-1,127,21),ae(Qt,Zt-32-1,127,9),ae(Fn,Xn-32-1,127,9)),Je=0;Je<le.za;++Je){var Wt=ve.ya[ve.aa+Je];if(0<Je){for(Ke=-1;16>Ke;++Ke)re(bt,Lt+32*Ke-4,bt,Lt+32*Ke+12,4);for(Ke=-1;8>Ke;++Ke)re(Qt,Zt+32*Ke-4,Qt,Zt+32*Ke+4,4),re(Fn,Xn+32*Ke-4,Fn,Xn+32*Ke+4,4)}var Nn=le.Gd,zn=le.Hd+Je,vr=Wt.ad,$n=Wt.Hc;if(0<ut&&(re(bt,Lt-32,Nn[zn].y,0,16),re(Qt,Zt-32,Nn[zn].f,0,8),re(Fn,Xn-32,Nn[zn].ea,0,8)),Wt.Za){var Sr=bt,wr=Lt-32+16;for(0<ut&&(Je>=le.za-1?ae(Sr,wr,Nn[zn].y[15],4):re(Sr,wr,Nn[zn+1].y,0,4)),Ke=0;4>Ke;Ke++)Sr[wr+128+Ke]=Sr[wr+256+Ke]=Sr[wr+384+Ke]=Sr[wr+0+Ke];for(Ke=0;16>Ke;++Ke,$n<<=2)Sr=bt,wr=Lt+pv[Ke],Lc[Wt.Ob[Ke]](Sr,wr),q0($n,vr,16*+Ke,Sr,wr)}else if(Sr=Yf(Je,ut,Wt.Ob[0]),hg[Sr](bt,Lt),$n!=0)for(Ke=0;16>Ke;++Ke,$n<<=2)q0($n,vr,16*+Ke,bt,Lt+pv[Ke]);for(Ke=Wt.Gc,Sr=Yf(Je,ut,Wt.Dd),Qd[Sr](Qt,Zt),Qd[Sr](Fn,Xn),$n=vr,Sr=Qt,wr=Zt,255&(Wt=0|Ke)&&(170&Wt?ud($n,256,Sr,wr):LA($n,256,Sr,wr)),Wt=Fn,$n=Xn,255&(Ke>>=8)&&(170&Ke?ud(vr,320,Wt,$n):LA(vr,320,Wt,$n)),ut<le.Ub-1&&(re(Nn[zn].y,0,bt,Lt+480,16),re(Nn[zn].f,0,Qt,Zt+224,8),re(Nn[zn].ea,0,Fn,Xn+224,8)),Ke=8*vt*le.B,Nn=le.sa,zn=le.ta+16*Je+16*vt*le.R,vr=le.qa,Wt=le.ra+8*Je+Ke,$n=le.Ha,Sr=le.Ia+8*Je+Ke,Ke=0;16>Ke;++Ke)re(Nn,zn+Ke*le.R,bt,Lt+32*Ke,16);for(Ke=0;8>Ke;++Ke)re(vr,Wt+Ke*le.B,Qt,Zt+32*Ke,8),re($n,Sr+Ke*le.B,Fn,Xn+32*Ke,8)}}function ff(le,ve,Ke,Je,ut,vt,bt,Lt,Qt){var Zt=[0],Fn=[0],Xn=0,Wt=Qt!=null?Qt.kd:0,Nn=Qt!=null?Qt:new yr;if(le==null||12>Ke)return 7;Nn.data=le,Nn.w=ve,Nn.ha=Ke,ve=[ve],Ke=[Ke],Nn.gb=[Nn.gb];e:{var zn=ve,vr=Ke,$n=Nn.gb;if(z(le!=null),z(vr!=null),z($n!=null),$n[0]=0,12<=vr[0]&&!x(le,zn[0],"RIFF")){if(x(le,zn[0]+8,"WEBP")){$n=3;break e}var Sr=pr(le,zn[0]+4);if(12>Sr||4294967286<Sr){$n=3;break e}if(Wt&&Sr>vr[0]-8){$n=7;break e}$n[0]=Sr,zn[0]+=12,vr[0]-=12}$n=0}if($n!=0)return $n;for(Sr=0<Nn.gb[0],Ke=Ke[0];;){e:{var wr=le;vr=ve,$n=Ke;var Gr=Zt,Ur=Fn,ro=zn=[0];if((Va=Xn=[Xn])[0]=0,8>$n[0])$n=7;else{if(!x(wr,vr[0],"VP8X")){if(pr(wr,vr[0]+4)!=10){$n=3;break e}if(18>$n[0]){$n=7;break e}var za=pr(wr,vr[0]+8),di=1+ya(wr,vr[0]+12);if(2147483648<=di*(wr=1+ya(wr,vr[0]+15))){$n=3;break e}ro!=null&&(ro[0]=za),Gr!=null&&(Gr[0]=di),Ur!=null&&(Ur[0]=wr),vr[0]+=18,$n[0]-=18,Va[0]=1}$n=0}}if(Xn=Xn[0],zn=zn[0],$n!=0)return $n;if(vr=!!(2&zn),!Sr&&Xn)return 3;if(vt!=null&&(vt[0]=!!(16&zn)),bt!=null&&(bt[0]=vr),Lt!=null&&(Lt[0]=0),bt=Zt[0],zn=Fn[0],Xn&&vr&&Qt==null){$n=0;break}if(4>Ke){$n=7;break}if(Sr&&Xn||!Sr&&!Xn&&!x(le,ve[0],"ALPH")){Ke=[Ke],Nn.na=[Nn.na],Nn.P=[Nn.P],Nn.Sa=[Nn.Sa];e:{za=le,$n=ve,Sr=Ke;var Va=Nn.gb;Gr=Nn.na,Ur=Nn.P,ro=Nn.Sa,di=22,z(za!=null),z(Sr!=null),wr=$n[0];var Ni=Sr[0];for(z(Gr!=null),z(ro!=null),Gr[0]=null,Ur[0]=null,ro[0]=0;;){if($n[0]=wr,Sr[0]=Ni,8>Ni){$n=7;break e}var Js=pr(za,wr+4);if(4294967286<Js){$n=3;break e}var gi=8+Js+1&-2;if(di+=gi,0<Va&&di>Va){$n=3;break e}if(!x(za,wr,"VP8 ")||!x(za,wr,"VP8L")){$n=0;break e}if(Ni[0]<gi){$n=7;break e}x(za,wr,"ALPH")||(Gr[0]=za,Ur[0]=wr+8,ro[0]=Js),wr+=gi,Ni-=gi}}if(Ke=Ke[0],Nn.na=Nn.na[0],Nn.P=Nn.P[0],Nn.Sa=Nn.Sa[0],$n!=0)break}Ke=[Ke],Nn.Ja=[Nn.Ja],Nn.xa=[Nn.xa];e:if(Va=le,$n=ve,Sr=Ke,Gr=Nn.gb[0],Ur=Nn.Ja,ro=Nn.xa,za=$n[0],wr=!x(Va,za,"VP8 "),di=!x(Va,za,"VP8L"),z(Va!=null),z(Sr!=null),z(Ur!=null),z(ro!=null),8>Sr[0])$n=7;else{if(wr||di){if(Va=pr(Va,za+4),12<=Gr&&Va>Gr-12){$n=3;break e}if(Wt&&Va>Sr[0]-8){$n=7;break e}Ur[0]=Va,$n[0]+=8,Sr[0]-=8,ro[0]=di}else ro[0]=5<=Sr[0]&&Va[za+0]==47&&!(Va[za+4]>>5),Ur[0]=Sr[0];$n=0}if(Ke=Ke[0],Nn.Ja=Nn.Ja[0],Nn.xa=Nn.xa[0],ve=ve[0],$n!=0)break;if(4294967286<Nn.Ja)return 3;if(Lt==null||vr||(Lt[0]=Nn.xa?2:1),bt=[bt],zn=[zn],Nn.xa){if(5>Ke){$n=7;break}Lt=bt,Wt=zn,vr=vt,le==null||5>Ke?le=0:5<=Ke&&le[ve+0]==47&&!(le[ve+4]>>5)?(Sr=[0],Va=[0],Gr=[0],cr(Ur=new Yt,le,ve,Ke),Fd(Ur,Sr,Va,Gr)?(Lt!=null&&(Lt[0]=Sr[0]),Wt!=null&&(Wt[0]=Va[0]),vr!=null&&(vr[0]=Gr[0]),le=1):le=0):le=0}else{if(10>Ke){$n=7;break}Lt=zn,le==null||10>Ke||!K0(le,ve+3,Ke-3)?le=0:(Wt=le[ve+0]|le[ve+1]<<8|le[ve+2]<<16,vr=16383&(le[ve+7]<<8|le[ve+6]),le=16383&(le[ve+9]<<8|le[ve+8]),1&Wt||3<(Wt>>1&7)||!(Wt>>4&1)||Wt>>5>=Nn.Ja||!vr||!le?le=0:(bt&&(bt[0]=vr),Lt&&(Lt[0]=le),le=1))}if(!le||(bt=bt[0],zn=zn[0],Xn&&(Zt[0]!=bt||Fn[0]!=zn)))return 3;Qt!=null&&(Qt[0]=Nn,Qt.offset=ve-Qt.w,z(4294967286>ve-Qt.w),z(Qt.offset==Qt.ha-Ke));break}return $n==0||$n==7&&Xn&&Qt==null?(vt!=null&&(vt[0]|=Nn.na!=null&&0<Nn.na.length),Je!=null&&(Je[0]=bt),ut!=null&&(ut[0]=zn),0):$n}function Mh(le,ve,Ke){var Je=ve.width,ut=ve.height,vt=0,bt=0,Lt=Je,Qt=ut;if(ve.Da=le!=null&&0<le.Da,ve.Da&&(Lt=le.cd,Qt=le.bd,vt=le.v,bt=le.j,11>Ke||(vt&=-2,bt&=-2),0>vt||0>bt||0>=Lt||0>=Qt||vt+Lt>Je||bt+Qt>ut))return 0;if(ve.v=vt,ve.j=bt,ve.va=vt+Lt,ve.o=bt+Qt,ve.U=Lt,ve.T=Qt,ve.da=le!=null&&0<le.da,ve.da){if(!po(Lt,Qt,Ke=[le.ib],vt=[le.hb]))return 0;ve.ib=Ke[0],ve.hb=vt[0]}return ve.ob=le!=null&&le.ob,ve.Kb=le==null||!le.Sd,ve.da&&(ve.ob=ve.ib<3*Je/4&&ve.hb<3*ut/4,ve.Kb=0),1}function Hh(le){if(le==null)return 2;if(11>le.S){var ve=le.f.RGBA;ve.fb+=(le.height-1)*ve.A,ve.A=-ve.A}else ve=le.f.kb,le=le.height,ve.O+=(le-1)*ve.fa,ve.fa=-ve.fa,ve.N+=(le-1>>1)*ve.Ab,ve.Ab=-ve.Ab,ve.W+=(le-1>>1)*ve.Db,ve.Db=-ve.Db,ve.F!=null&&(ve.J+=(le-1)*ve.lb,ve.lb=-ve.lb);return 0}function sg(le,ve,Ke,Je){if(Je==null||0>=le||0>=ve)return 2;if(Ke!=null){if(Ke.Da){var ut=Ke.cd,vt=Ke.bd,bt=-2&Ke.v,Lt=-2&Ke.j;if(0>bt||0>Lt||0>=ut||0>=vt||bt+ut>le||Lt+vt>ve)return 2;le=ut,ve=vt}if(Ke.da){if(!po(le,ve,ut=[Ke.ib],vt=[Ke.hb]))return 2;le=ut[0],ve=vt[0]}}Je.width=le,Je.height=ve;e:{var Qt=Je.width,Zt=Je.height;if(le=Je.S,0>=Qt||0>=Zt||!(le>=rm&&13>le))le=2;else{if(0>=Je.Rd&&Je.sd==null){bt=vt=ut=ve=0;var Fn=(Lt=Qt*vv[le])*Zt;if(11>le||(vt=(Zt+1)/2*(ve=(Qt+1)/2),le==12&&(bt=(ut=Qt)*Zt)),(Zt=se(Fn+2*vt+bt))==null){le=1;break e}Je.sd=Zt,11>le?((Qt=Je.f.RGBA).eb=Zt,Qt.fb=0,Qt.A=Lt,Qt.size=Fn):((Qt=Je.f.kb).y=Zt,Qt.O=0,Qt.fa=Lt,Qt.Fd=Fn,Qt.f=Zt,Qt.N=0+Fn,Qt.Ab=ve,Qt.Cd=vt,Qt.ea=Zt,Qt.W=0+Fn+vt,Qt.Db=ve,Qt.Ed=vt,le==12&&(Qt.F=Zt,Qt.J=0+Fn+2*vt),Qt.Tc=bt,Qt.lb=ut)}if(ve=1,ut=Je.S,vt=Je.width,bt=Je.height,ut>=rm&&13>ut)if(11>ut)le=Je.f.RGBA,ve&=(Lt=Math.abs(le.A))*(bt-1)+vt<=le.size,ve&=Lt>=vt*vv[ut],ve&=le.eb!=null;else{le=Je.f.kb,Lt=(vt+1)/2,Fn=(bt+1)/2,Qt=Math.abs(le.fa),Zt=Math.abs(le.Ab);var Xn=Math.abs(le.Db),Wt=Math.abs(le.lb),Nn=Wt*(bt-1)+vt;ve&=Qt*(bt-1)+vt<=le.Fd,ve&=Zt*(Fn-1)+Lt<=le.Cd,ve=(ve&=Xn*(Fn-1)+Lt<=le.Ed)&Qt>=vt&Zt>=Lt&Xn>=Lt,ve&=le.y!=null,ve&=le.f!=null,ve&=le.ea!=null,ut==12&&(ve&=Wt>=vt,ve&=Nn<=le.Tc,ve&=le.F!=null)}else ve=0;le=ve?0:2}}return le!=0||Ke!=null&&Ke.fd&&(le=Hh(Je)),le}var hf=64,xu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],_u=24,lg=32,Dd=8,ug=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Pa("Predictor0","PredictorAdd0"),tn.Predictor0=function(){return 4278190080},tn.Predictor1=function(le){return le},tn.Predictor2=function(le,ve,Ke){return ve[Ke+0]},tn.Predictor3=function(le,ve,Ke){return ve[Ke+1]},tn.Predictor4=function(le,ve,Ke){return ve[Ke-1]},tn.Predictor5=function(le,ve,Ke){return co(co(le,ve[Ke+1]),ve[Ke+0])},tn.Predictor6=function(le,ve,Ke){return co(le,ve[Ke-1])},tn.Predictor7=function(le,ve,Ke){return co(le,ve[Ke+0])},tn.Predictor8=function(le,ve,Ke){return co(ve[Ke-1],ve[Ke+0])},tn.Predictor9=function(le,ve,Ke){return co(ve[Ke+0],ve[Ke+1])},tn.Predictor10=function(le,ve,Ke){return co(co(le,ve[Ke-1]),co(ve[Ke+0],ve[Ke+1]))},tn.Predictor11=function(le,ve,Ke){var Je=ve[Ke+0];return 0>=Yo(Je>>24&255,le>>24&255,(ve=ve[Ke-1])>>24&255)+Yo(Je>>16&255,le>>16&255,ve>>16&255)+Yo(Je>>8&255,le>>8&255,ve>>8&255)+Yo(255&Je,255&le,255&ve)?Je:le},tn.Predictor12=function(le,ve,Ke){var Je=ve[Ke+0];return(Vi((le>>24&255)+(Je>>24&255)-((ve=ve[Ke-1])>>24&255))<<24|Vi((le>>16&255)+(Je>>16&255)-(ve>>16&255))<<16|Vi((le>>8&255)+(Je>>8&255)-(ve>>8&255))<<8|Vi((255&le)+(255&Je)-(255&ve)))>>>0},tn.Predictor13=function(le,ve,Ke){var Je=ve[Ke-1];return(Xo((le=co(le,ve[Ke+0]))>>24&255,Je>>24&255)<<24|Xo(le>>16&255,Je>>16&255)<<16|Xo(le>>8&255,Je>>8&255)<<8|Xo(255&le,255&Je))>>>0};var Kh=tn.PredictorAdd0;tn.PredictorAdd1=BA,Pa("Predictor2","PredictorAdd2"),Pa("Predictor3","PredictorAdd3"),Pa("Predictor4","PredictorAdd4"),Pa("Predictor5","PredictorAdd5"),Pa("Predictor6","PredictorAdd6"),Pa("Predictor7","PredictorAdd7"),Pa("Predictor8","PredictorAdd8"),Pa("Predictor9","PredictorAdd9"),Pa("Predictor10","PredictorAdd10"),Pa("Predictor11","PredictorAdd11"),Pa("Predictor12","PredictorAdd12"),Pa("Predictor13","PredictorAdd13");var Jf=tn.PredictorAdd2;lo("ColorIndexInverseTransform","MapARGB","32b",function(le){return le>>8&255},function(le){return le}),lo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(le){return le},function(le){return le>>8&255});var Ls,em=tn.ColorIndexInverseTransform,sd=tn.MapARGB,ld=tn.VP8LColorIndexInverseTransformAlpha,zh=tn.MapAlpha,Gh=tn.VP8LPredictorsAdd=[];Gh.length=16,(tn.VP8LPredictors=[]).length=16,(tn.VP8LPredictorsAdd_C=[]).length=16,(tn.VP8LPredictors_C=[]).length=16;var $h,Zh,cg,dg,gg,mf,fg,pf,ac,ud,oA,LA,Is,Ys,Od,Wh,qf,tm,$p,Zp,Wp,Vp,Xp,Yp,Vh,Jp,qp,ev,tv=se(511),nv=se(2041),rv=se(225),av=se(767),ov=0,Ap=nv,nm=rv,Lu=av,oc=tv,rm=0,am=1,iv=2,om=3,im=4,sp=5,Av=6,lp=7,up=8,Am=9,cp=10,Jv=[2,3,7],qv=[3,3,11],sv=[280,256,256,256,40],e1=[0,1,1,1,0],t1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],a1=8,dp=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],gp=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Xh=null,o1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],i1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],A1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],s1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],l1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],u1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],hg=[],Lc=[],Qd=[],c1=1,uv=2,mg=[],ic=[];pu("UpsampleRgbLinePair",uf,3),pu("UpsampleBgrLinePair",cf,3),pu("UpsampleRgbaLinePair",jh,4),pu("UpsampleBgraLinePair",Rh,4),pu("UpsampleArgbLinePair",gf,4),pu("UpsampleRgba4444LinePair",df,2),pu("UpsampleRgb565LinePair",Kl,2);var d1=tn.UpsampleRgbLinePair,g1=tn.UpsampleBgrLinePair,cv=tn.UpsampleRgbaLinePair,dv=tn.UpsampleBgraLinePair,gv=tn.UpsampleArgbLinePair,fv=tn.UpsampleRgba4444LinePair,f1=tn.UpsampleRgb565LinePair,sm=16,lm=1<<sm-1,Yh=-227,fp=482,hv=6,h1=(256<<hv)-1,mv=0,m1=se(256),p1=se(256),v1=se(256),B1=se(256),S1=se(fp-Yh),y1=se(fp-Yh);Nd("YuvToRgbRow",uf,3),Nd("YuvToBgrRow",cf,3),Nd("YuvToRgbaRow",jh,4),Nd("YuvToBgraRow",Rh,4),Nd("YuvToArgbRow",gf,4),Nd("YuvToRgba4444Row",df,2),Nd("YuvToRgb565Row",Kl,2);var pv=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],um=[0,2,8],w1=[8,7,6,4,4,2,2,2,1,1,1,1],b1=1;this.WebPDecodeRGBA=function(le,ve,Ke,Je,ut){var vt=am,bt=new jn,Lt=new _A;bt.ba=Lt,Lt.S=vt,Lt.width=[Lt.width],Lt.height=[Lt.height];var Qt=Lt.width,Zt=Lt.height,Fn=new zo;if(Fn==null||le==null)var Xn=2;else z(Fn!=null),Xn=ff(le,ve,Ke,Fn.width,Fn.height,Fn.Pd,Fn.Qd,Fn.format,null);if(Xn!=0?Qt=0:(Qt!=null&&(Qt[0]=Fn.width[0]),Zt!=null&&(Zt[0]=Fn.height[0]),Qt=1),Qt){Lt.width=Lt.width[0],Lt.height=Lt.height[0],Je!=null&&(Je[0]=Lt.width),ut!=null&&(ut[0]=Lt.height);e:{if(Je=new Gf,(ut=new yr).data=le,ut.w=ve,ut.ha=Ke,ut.kd=1,ve=[0],z(ut!=null),((le=ff(ut.data,ut.w,ut.ha,null,null,null,ve,null,ut))==0||le==7)&&ve[0]&&(le=4),(ve=le)==0){if(z(bt!=null),Je.data=ut.data,Je.w=ut.w+ut.offset,Je.ha=ut.ha-ut.offset,Je.put=Co,Je.ac=ad,Je.bc=Ed,Je.ma=bt,ut.xa){if((le=Xg())==null){bt=1;break e}if(function(Wt,Nn){var zn=[0],vr=[0],$n=[0];t:for(;;){if(Wt==null)return 0;if(Nn==null)return Wt.a=2,0;if(Wt.l=Nn,Wt.a=0,cr(Wt.m,Nn.data,Nn.w,Nn.ha),!Fd(Wt.m,zn,vr,$n)){Wt.a=3;break t}if(Wt.xb=uv,Nn.width=zn[0],Nn.height=vr[0],!id(zn[0],vr[0],1,Wt,null))break t;return 1}return z(Wt.a!=0),0}(le,Je)){if(Je=(ve=sg(Je.width,Je.height,bt.Oa,bt.ba))==0){t:{Je=le;n:for(;;){if(Je==null){Je=0;break t}if(z(Je.s.yc!=null),z(Je.s.Ya!=null),z(0<Je.s.Wb),z((Ke=Je.l)!=null),z((ut=Ke.ma)!=null),Je.xb!=0){if(Je.ca=ut.ba,Je.tb=ut.tb,z(Je.ca!=null),!Mh(ut.Oa,Ke,om)){Je.a=2;break n}if(!Yg(Je,Ke.width)||Ke.da)break n;if((Ke.da||qo(Je.ca.S))&&nc(),11>Je.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Je.ca.f.kb.F!=null&&nc()),Je.Pb&&0<Je.s.ua&&Je.s.vb.X==null&&!an(Je.s.vb,Je.s.Wa.Xa)){Je.a=1;break n}Je.xb=0}if(!xc(Je,Je.V,Je.Ba,Je.c,Je.i,Ke.o,ag))break n;ut.Dc=Je.Ma,Je=1;break t}z(Je.a!=0),Je=0}Je=!Je}Je&&(ve=le.a)}else ve=le.a}else{if((le=new $m)==null){bt=1;break e}if(le.Fa=ut.na,le.P=ut.P,le.qc=ut.Sa,z0(le,Je)){if((ve=sg(Je.width,Je.height,bt.Oa,bt.ba))==0){if(le.Aa=0,Ke=bt.Oa,z((ut=le)!=null),Ke!=null){if(0<(Qt=0>(Qt=Ke.Md)?0:100<Qt?255:255*Qt/100)){for(Zt=Fn=0;4>Zt;++Zt)12>(Xn=ut.pb[Zt]).lc&&(Xn.ia=Qt*w1[0>Xn.lc?0:Xn.lc]>>3),Fn|=Xn.ia;Fn&&(alert("todo:VP8InitRandom"),ut.ia=1)}ut.Ga=Ke.Id,100<ut.Ga?ut.Ga=100:0>ut.Ga&&(ut.Ga=0)}(function(Wt,Nn){if(Wt==null)return 0;if(Nn==null)return Hs(Wt,2,"NULL VP8Io parameter in VP8Decode().");if(!Wt.cb&&!z0(Wt,Nn))return 0;if(z(Wt.cb),Nn.ac==null||Nn.ac(Nn)){Nn.ob&&(Wt.L=0);var zn=um[Wt.L];if(Wt.L==2?(Wt.yb=0,Wt.zb=0):(Wt.yb=Nn.v-zn>>4,Wt.zb=Nn.j-zn>>4,0>Wt.yb&&(Wt.yb=0),0>Wt.zb&&(Wt.zb=0)),Wt.Va=Nn.o+15+zn>>4,Wt.Hb=Nn.va+15+zn>>4,Wt.Hb>Wt.za&&(Wt.Hb=Wt.za),Wt.Va>Wt.Ub&&(Wt.Va=Wt.Ub),0<Wt.L){var vr=Wt.ed;for(zn=0;4>zn;++zn){var $n;if(Wt.Qa.Cb){var Sr=Wt.Qa.Lb[zn];Wt.Qa.Fb||(Sr+=vr.Tb)}else Sr=vr.Tb;for($n=0;1>=$n;++$n){var wr=Wt.gd[zn][$n],Gr=Sr;if(vr.Pc&&(Gr+=vr.vd[0],$n&&(Gr+=vr.od[0])),0<(Gr=0>Gr?0:63<Gr?63:Gr)){var Ur=Gr;0<vr.wb&&(Ur=4<vr.wb?Ur>>2:Ur>>1)>9-vr.wb&&(Ur=9-vr.wb),1>Ur&&(Ur=1),wr.dd=Ur,wr.tc=2*Gr+Ur,wr.ld=40<=Gr?2:15<=Gr?1:0}else wr.tc=0;wr.La=$n}}}zn=0}else Hs(Wt,6,"Frame setup failed"),zn=Wt.a;if(zn=zn==0){if(zn){Wt.$c=0,0<Wt.Aa||(Wt.Ic=b1);t:{zn=Wt.Ic,vr=4*(Ur=Wt.za);var ro=32*Ur,za=Ur+1,di=0<Wt.L?Ur*(0<Wt.Aa?2:1):0,Va=(Wt.Aa==2?2:1)*Ur;if((wr=vr+832+($n=3*(16*zn+um[Wt.L])/2*ro)+(Sr=Wt.Fa!=null&&0<Wt.Fa.length?Wt.Kc.c*Wt.Kc.i:0))!=wr)zn=0;else{if(wr>Wt.Vb){if(Wt.Vb=0,Wt.Ec=se(wr),Wt.Fc=0,Wt.Ec==null){zn=Hs(Wt,1,"no memory during frame initialization.");break t}Wt.Vb=wr}wr=Wt.Ec,Gr=Wt.Fc,Wt.Ac=wr,Wt.Bc=Gr,Gr+=vr,Wt.Gd=Ee(ro,M0),Wt.Hd=0,Wt.rb=Ee(za+1,xh),Wt.sb=1,Wt.wa=di?Ee(di,tc):null,Wt.Y=0,Wt.D.Nb=0,Wt.D.wa=Wt.wa,Wt.D.Y=Wt.Y,0<Wt.Aa&&(Wt.D.Y+=Ur),z(!0),Wt.oc=wr,Wt.pc=Gr,Gr+=832,Wt.ya=Ee(Va,_h),Wt.aa=0,Wt.D.ya=Wt.ya,Wt.D.aa=Wt.aa,Wt.Aa==2&&(Wt.D.aa+=Ur),Wt.R=16*Ur,Wt.B=8*Ur,Ur=(ro=um[Wt.L])*Wt.R,ro=ro/2*Wt.B,Wt.sa=wr,Wt.ta=Gr+Ur,Wt.qa=Wt.sa,Wt.ra=Wt.ta+16*zn*Wt.R+ro,Wt.Ha=Wt.qa,Wt.Ia=Wt.ra+8*zn*Wt.B+ro,Wt.$c=0,Gr+=$n,Wt.mb=Sr?wr:null,Wt.nb=Sr?Gr:null,z(Gr+Sr<=Wt.Fc+Wt.Vb),Jg(Wt),ae(Wt.Ac,Wt.Bc,0,vr),zn=1}}if(zn){if(Nn.ka=0,Nn.y=Wt.sa,Nn.O=Wt.ta,Nn.f=Wt.qa,Nn.N=Wt.ra,Nn.ea=Wt.Ha,Nn.Vd=Wt.Ia,Nn.fa=Wt.R,Nn.Rc=Wt.B,Nn.F=null,Nn.J=0,!ov){for(zn=-255;255>=zn;++zn)tv[255+zn]=0>zn?-zn:zn;for(zn=-1020;1020>=zn;++zn)nv[1020+zn]=-128>zn?-128:127<zn?127:zn;for(zn=-112;112>=zn;++zn)rv[112+zn]=-16>zn?-16:15<zn?15:zn;for(zn=-255;510>=zn;++zn)av[255+zn]=0>zn?0:255<zn?255:zn;ov=1}fg=$0,pf=Wm,ud=Vm,oA=Ad,LA=G0,ac=Zm,Is=V0,Ys=X0,Od=Ue,Wh=lt,qf=Af,tm=Y0,$p=Vt,Zp=hn,Wp=kh,Vp=of,Xp=Z0,Yp=W0,Lc[0]=np,Lc[1]=Ih,Lc[2]=ep,Lc[3]=tp,Lc[4]=rp,Lc[5]=Ld,Lc[6]=_d,Lc[7]=ap,Lc[8]=$f,Lc[9]=op,hg[0]=ig,hg[1]=Ym,hg[2]=Jm,hg[3]=Uh,hg[4]=qm,hg[5]=tf,hg[6]=Nh,Qd[0]=Wf,Qd[1]=Xm,Qd[2]=Dh,Qd[3]=nf,Qd[4]=Oh,Qd[5]=ip,Qd[6]=Qh,zn=1}else zn=0}zn&&(zn=function(Ni,Js){for(Ni.M=0;Ni.M<Ni.Va;++Ni.M){var gi,Xa=Ni.Jc[Ni.M&Ni.Xb],fa=Ni.m,Us=Ni;for(gi=0;gi<Us.za;++gi){var ei=fa,ki=Us,KA=ki.Ac,Cl=ki.Bc+4*gi,au=ki.zc,ws=ki.ya[ki.aa+gi];if(ki.Qa.Bb?ws.$b=Cr(ei,ki.Pa.jb[0])?2+Cr(ei,ki.Pa.jb[2]):Cr(ei,ki.Pa.jb[1]):ws.$b=0,ki.kc&&(ws.Ad=Cr(ei,ki.Bd)),ws.Za=!Cr(ei,145)+0,ws.Za){var zl=ws.Ob,ou=0;for(ki=0;4>ki;++ki){var qs,ji=au[0+ki];for(qs=0;4>qs;++qs){ji=s1[KA[Cl+qs]][ji];for(var dA=lv[Cr(ei,ji[0])];0<dA;)dA=lv[2*dA+Cr(ei,ji[dA])];ji=-dA,KA[Cl+qs]=ji}re(zl,ou,KA,Cl,4),ou+=4,au[0+ki]=ji}}else ji=Cr(ei,156)?Cr(ei,128)?1:3:Cr(ei,163)?2:0,ws.Ob[0]=ji,ae(KA,Cl,ji,4),ae(au,0,ji,4);ws.Dd=Cr(ei,142)?Cr(ei,114)?Cr(ei,183)?1:3:2:0}if(Us.m.Ka)return Hs(Ni,7,"Premature end-of-partition0 encountered.");for(;Ni.ja<Ni.za;++Ni.ja){if(Us=Xa,ei=(fa=Ni).rb[fa.sb-1],KA=fa.rb[fa.sb+fa.ja],gi=fa.ya[fa.aa+fa.ja],Cl=fa.kc?gi.Ad:0)ei.la=KA.la=0,gi.Za||(ei.Na=KA.Na=0),gi.Hc=0,gi.Gc=0,gi.ia=0;else{var bs,gA;if(ei=KA,KA=Us,Cl=fa.Pa.Xc,au=fa.ya[fa.aa+fa.ja],ws=fa.pb[au.$b],ki=au.ad,zl=0,ou=fa.rb[fa.sb-1],ji=qs=0,ae(ki,zl,0,384),au.Za)var Pl=0,Ic=Cl[3];else{dA=se(16);var Ns=ei.Na+ou.Na;if(Ns=Xh(KA,Cl[1],Ns,ws.Eb,0,dA,0),ei.Na=ou.Na=(0<Ns)+0,1<Ns)fg(dA,0,ki,zl);else{var vu=dA[0]+3>>3;for(dA=0;256>dA;dA+=16)ki[zl+dA]=vu}Pl=1,Ic=Cl[0]}var IA=15&ei.la,el=15&ou.la;for(dA=0;4>dA;++dA){var Iu=1⪙for(vu=gA=0;4>vu;++vu)IA=IA>>1|(Iu=(Ns=Xh(KA,Ic,Ns=Iu+(1&IA),ws.Sc,Pl,ki,zl))>Pl)<<7,gA=gA<<2|(3<Ns?3:1<Ns?2:ki[zl+0]!=0),zl+=16;IA>>=4,el=el>>1|Iu<<7,qs=(qs<<8|gA)>>>0}for(Ic=IA,Pl=el>>4,bs=0;4>bs;bs+=2){for(gA=0,IA=ei.la>>4+bs,el=ou.la>>4+bs,dA=0;2>dA;++dA){for(Iu=1&el,vu=0;2>vu;++vu)Ns=Iu+(1&IA),IA=IA>>1|(Iu=0<(Ns=Xh(KA,Cl[2],Ns,ws.Qc,0,ki,zl)))<<3,gA=gA<<2|(3<Ns?3:1<Ns?2:ki[zl+0]!=0),zl+=16;IA>>=2,el=el>>1|Iu<<5}ji|=gA<<4*bs,Ic|=IA<<4<<bs,Pl|=(240&el)<<bs}ei.la=Ic,ou.la=Pl,au.Hc=qs,au.Gc=ji,au.ia=43690&ji?0:ws.ia,Cl=!(qs|ji)}if(0<fa.L&&(fa.wa[fa.Y+fa.ja]=fa.gd[gi.$b][gi.Za],fa.wa[fa.Y+fa.ja].La|=!Cl),Us.Ka)return Hs(Ni,7,"Premature end-of-file encountered.")}if(Jg(Ni),fa=Js,Us=1,gi=(Xa=Ni).D,ei=0<Xa.L&&Xa.M>=Xa.zb&&Xa.M<=Xa.Va,Xa.Aa==0)t:{if(gi.M=Xa.M,gi.uc=ei,rc(Xa,gi),Us=1,gi=(gA=Xa.D).Nb,ei=(ji=um[Xa.L])*Xa.R,KA=ji/2*Xa.B,dA=16*gi*Xa.R,vu=8*gi*Xa.B,Cl=Xa.sa,au=Xa.ta-ei+dA,ws=Xa.qa,ki=Xa.ra-KA+vu,zl=Xa.Ha,ou=Xa.Ia-KA+vu,el=(IA=gA.M)==0,qs=IA>=Xa.Va-1,Xa.Aa==2&&rc(Xa,gA),gA.uc)for(Iu=(Ns=Xa).D.M,z(Ns.D.uc),gA=Ns.yb;gA<Ns.Hb;++gA){Pl=gA,Ic=Iu;var iu=(Uu=(El=Ns).D).Nb;bs=El.R;var Uu=Uu.wa[Uu.Y+Pl],Nu=El.sa,Bu=El.ta+16*iu*bs+16*Pl,Du=Uu.dd,jA=Uu.tc;if(jA!=0)if(z(3<=jA),El.L==1)0<Pl&&Vp(Nu,Bu,bs,jA+4),Uu.La&&Yp(Nu,Bu,bs,jA),0<Ic&&Wp(Nu,Bu,bs,jA+4),Uu.La&&Xp(Nu,Bu,bs,jA);else{var Ou=El.B,Uc=El.qa,vf=El.ra+8*iu*Ou+8*Pl,Td=El.Ha,El=El.Ia+8*iu*Ou+8*Pl;iu=Uu.ld,0<Pl&&(Ys(Nu,Bu,bs,jA+4,Du,iu),Wh(Uc,vf,Td,El,Ou,jA+4,Du,iu)),Uu.La&&(tm(Nu,Bu,bs,jA,Du,iu),Zp(Uc,vf,Td,El,Ou,jA,Du,iu)),0<Ic&&(Is(Nu,Bu,bs,jA+4,Du,iu),Od(Uc,vf,Td,El,Ou,jA+4,Du,iu)),Uu.La&&(qf(Nu,Bu,bs,jA,Du,iu),$p(Uc,vf,Td,El,Ou,jA,Du,iu))}}if(Xa.ia&&alert("todo:DitherRow"),fa.put!=null){if(gA=16*IA,IA=16*(IA+1),el?(fa.y=Xa.sa,fa.O=Xa.ta+dA,fa.f=Xa.qa,fa.N=Xa.ra+vu,fa.ea=Xa.Ha,fa.W=Xa.Ia+vu):(gA-=ji,fa.y=Cl,fa.O=au,fa.f=ws,fa.N=ki,fa.ea=zl,fa.W=ou),qs||(IA-=ji),IA>fa.o&&(IA=fa.o),fa.F=null,fa.J=null,Xa.Fa!=null&&0<Xa.Fa.length&&gA<IA&&(fa.J=Ks(Xa,fa,gA,IA-gA),fa.F=Xa.mb,fa.F==null&&fa.F.length==0)){Us=Hs(Xa,3,"Could not decode alpha data.");break t}gA<fa.j&&(ji=fa.j-gA,gA=fa.j,z(!(1&ji)),fa.O+=Xa.R*ji,fa.N+=Xa.B*(ji>>1),fa.W+=Xa.B*(ji>>1),fa.F!=null&&(fa.J+=fa.width*ji)),gA<IA&&(fa.O+=fa.v,fa.N+=fa.v>>1,fa.W+=fa.v>>1,fa.F!=null&&(fa.J+=fa.v),fa.ka=gA-fa.j,fa.U=fa.va-fa.v,fa.T=IA-gA,Us=fa.put(fa))}gi+1!=Xa.Ic||qs||(re(Xa.sa,Xa.ta-ei,Cl,au+16*Xa.R,ei),re(Xa.qa,Xa.ra-KA,ws,ki+8*Xa.B,KA),re(Xa.Ha,Xa.Ia-KA,zl,ou+8*Xa.B,KA))}if(!Us)return Hs(Ni,6,"Output aborted.")}return 1}(Wt,Nn)),Nn.bc!=null&&Nn.bc(Nn),zn&=1}return zn?(Wt.cb=0,zn):0})(le,Je)||(ve=le.a)}}else ve=le.a}ve==0&&bt.Oa!=null&&bt.Oa.fd&&(ve=Hh(bt.ba))}bt=ve}vt=bt!=0?null:11>vt?Lt.f.RGBA.eb:Lt.f.kb.y}else vt=null;return vt};var vv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ne(tn,Mn){for(var Ft="",zt=0;zt<4;zt++)Ft+=String.fromCharCode(tn[Mn++]);return Ft}function We(tn,Mn){return tn[Mn+0]|tn[Mn+1]<<8}function At(tn,Mn){return(tn[Mn+0]|tn[Mn+1]<<8|tn[Mn+2]<<16)>>>0}function mt(tn,Mn){return(tn[Mn+0]|tn[Mn+1]<<8|tn[Mn+2]<<16|tn[Mn+3]<<24)>>>0}new xe;var $e=[0],Mt=[0],Tt=[],Ht=new xe,xt=b,Sn=function(tn,Mn){var Ft={},zt=0,pn=!1,gn=0,qn=0;if(Ft.frames=[],!function(Ct,Yt){for(var sn=0;sn<4;sn++)if(Ct[Yt+sn]!="RIFF".charCodeAt(sn))return!0;return!1}(tn,Mn)){for(mt(tn,Mn+=4),Mn+=8;Mn<tn.length;){var rr=Ne(tn,Mn),Ar=mt(tn,Mn+=4);Mn+=4;var Zn=Ar+(1&Ar);switch(rr){case"VP8 ":case"VP8L":Ft.frames[zt]===void 0&&(Ft.frames[zt]={}),(Lr=Ft.frames[zt]).src_off=pn?qn:Mn-8,Lr.src_size=gn+Ar+8,zt++,pn&&(pn=!1,gn=0,qn=0);break;case"VP8X":(Lr=Ft.header={}).feature_flags=tn[Mn];var cr=Mn+4;Lr.canvas_width=1+At(tn,cr),cr+=3,Lr.canvas_height=1+At(tn,cr),cr+=3;break;case"ALPH":pn=!0,gn=Zn+8,qn=Mn-8;break;case"ANIM":(Lr=Ft.header).bgcolor=mt(tn,Mn),cr=Mn+4,Lr.loop_count=We(tn,cr),cr+=2;break;case"ANMF":var qr,Lr;(Lr=Ft.frames[zt]={}).offset_x=2*At(tn,Mn),Mn+=3,Lr.offset_y=2*At(tn,Mn),Mn+=3,Lr.width=1+At(tn,Mn),Mn+=3,Lr.height=1+At(tn,Mn),Mn+=3,Lr.duration=At(tn,Mn),Mn+=3,qr=tn[Mn++],Lr.dispose=1&qr,Lr.blend=qr>>1&1}rr!="ANMF"&&(Mn+=Zn)}return Ft}}(xt,0);Sn.response=xt,Sn.rgbaoutput=!0,Sn.dataurl=!1;var cn=Sn.header?Sn.header:null,qt=Sn.frames?Sn.frames:null;if(cn){cn.loop_counter=cn.loop_count,$e=[cn.canvas_height],Mt=[cn.canvas_width];for(var Yn=0;Yn<qt.length&&qt[Yn].blend!=0;Yn++);}var Br=qt[0],ar=Ht.WebPDecodeRGBA(xt,Br.src_off,Br.src_size,Mt,$e);Br.rgba=ar,Br.imgwidth=Mt[0],Br.imgheight=$e[0];for(var xn=0;xn<Mt[0]*$e[0]*4;xn++)Tt[xn]=ar[xn];return this.width=Mt,this.height=$e,this.data=Tt,this}(function(b){var z,x,re,ae,se,Ee,Se,xe,Ne,We=function(Ct){return Ct=Ct||{},this.isStrokeTransparent=Ct.isStrokeTransparent||!1,this.strokeOpacity=Ct.strokeOpacity||1,this.strokeStyle=Ct.strokeStyle||"#000000",this.fillStyle=Ct.fillStyle||"#000000",this.isFillTransparent=Ct.isFillTransparent||!1,this.fillOpacity=Ct.fillOpacity||1,this.font=Ct.font||"10px sans-serif",this.textBaseline=Ct.textBaseline||"alphabetic",this.textAlign=Ct.textAlign||"left",this.lineWidth=Ct.lineWidth||1,this.lineJoin=Ct.lineJoin||"miter",this.lineCap=Ct.lineCap||"butt",this.path=Ct.path||[],this.transform=Ct.transform!==void 0?Ct.transform.clone():new xe,this.globalCompositeOperation=Ct.globalCompositeOperation||"normal",this.globalAlpha=Ct.globalAlpha||1,this.clip_path=Ct.clip_path||[],this.currentPoint=Ct.currentPoint||new Ee,this.miterLimit=Ct.miterLimit||10,this.lastPoint=Ct.lastPoint||new Ee,this.lineDashOffset=Ct.lineDashOffset||0,this.lineDash=Ct.lineDash||[],this.margin=Ct.margin||[0,0,0,0],this.prevPageLastElemOffset=Ct.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Ct.ignoreClearRect!="boolean"||Ct.ignoreClearRect,this};b.events.push(["initialized",function(){this.context2d=new At(this),z=this.internal.f2,x=this.internal.getCoordinateString,re=this.internal.getVerticalCoordinateString,ae=this.internal.getHorizontalCoordinate,se=this.internal.getVerticalCoordinate,Ee=this.internal.Point,Se=this.internal.Rectangle,xe=this.internal.Matrix,Ne=new We}]);var At=function(Ct){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Yt=Ct;Object.defineProperty(this,"pdf",{get:function(){return Yt}});var sn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return sn},set:function(pr){sn=!!pr}});var Cn=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Cn},set:function(pr){Cn=!!pr}});var Tn=0;Object.defineProperty(this,"posX",{get:function(){return Tn},set:function(pr){isNaN(pr)||(Tn=pr)}});var Wn=0;Object.defineProperty(this,"posY",{get:function(){return Wn},set:function(pr){isNaN(pr)||(Wn=pr)}}),Object.defineProperty(this,"margin",{get:function(){return Ne.margin},set:function(pr){var an;typeof pr=="number"?an=[pr,pr,pr,pr]:((an=new Array(4))[0]=pr[0],an[1]=pr.length>=2?pr[1]:an[0],an[2]=pr.length>=3?pr[2]:an[0],an[3]=pr.length>=4?pr[3]:an[1]),Ne.margin=an}});var ir=!1;Object.defineProperty(this,"autoPaging",{get:function(){return ir},set:function(pr){ir=pr}});var nr=0;Object.defineProperty(this,"lastBreak",{get:function(){return nr},set:function(pr){nr=pr}});var Cr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Cr},set:function(pr){Cr=pr}}),Object.defineProperty(this,"ctx",{get:function(){return Ne},set:function(pr){pr instanceof We&&(Ne=pr)}}),Object.defineProperty(this,"path",{get:function(){return Ne.path},set:function(pr){Ne.path=pr}});var zr=[];Object.defineProperty(this,"ctxStack",{get:function(){return zr},set:function(pr){zr=pr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(pr){var an;an=mt(pr),this.ctx.fillStyle=an.style,this.ctx.isFillTransparent=an.a===0,this.ctx.fillOpacity=an.a,this.pdf.setFillColor(an.r,an.g,an.b,{a:an.a}),this.pdf.setTextColor(an.r,an.g,an.b,{a:an.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(pr){var an=mt(pr);this.ctx.strokeStyle=an.style,this.ctx.isStrokeTransparent=an.a===0,this.ctx.strokeOpacity=an.a,an.a===0?this.pdf.setDrawColor(255,255,255):(an.a,this.pdf.setDrawColor(an.r,an.g,an.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(pr){["butt","round","square"].indexOf(pr)!==-1&&(this.ctx.lineCap=pr,this.pdf.setLineCap(pr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(pr){isNaN(pr)||(this.ctx.lineWidth=pr,this.pdf.setLineWidth(pr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(pr){["bevel","round","miter"].indexOf(pr)!==-1&&(this.ctx.lineJoin=pr,this.pdf.setLineJoin(pr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(pr){isNaN(pr)||(this.ctx.miterLimit=pr,this.pdf.setMiterLimit(pr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(pr){this.ctx.textBaseline=pr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(pr){["right","end","center","left","start"].indexOf(pr)!==-1&&(this.ctx.textAlign=pr)}});var pa=null,ya=null;Object.defineProperty(this,"fontFaces",{get:function(){return ya},set:function(pr){pa=null,ya=pr}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(pr){var an;if(this.ctx.font=pr,(an=/^\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-z]+?)\s*$/i.exec(pr))!==null){var xi=an[1];an[2];var oi=an[3],po=an[4];an[5];var Yr=an[6],io=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(po)[2];po=Math.floor(io==="px"?parseFloat(po)*this.pdf.internal.scaleFactor:io==="em"?parseFloat(po)*this.pdf.getFontSize():parseFloat(po)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(po);var Pa=function(Qo){var lo,kA,Xi=[],no=Qo.trim();if(no==="")return Hm;if(no in ed)return[ed[no]];for(;no!=="";){switch(kA=null,lo=(no=td(no)).charAt(0)){case'"':case"'":kA=bc(no.substring(1),lo);break;default:kA=ng(no)}if(kA===null||(Xi.push(kA[0]),(no=td(kA[1]))!==""&&no.charAt(0)!==","))return Hm;no=no.replace(/^,/,"")}return Xi}(Yr);if(this.fontFaces){var ii=function(Qo,lo){if(pa===null){var kA=function(Xi){var no=[];return Object.keys(Xi).forEach(function(Jo){Xi[Jo].forEach(function(xA){var bo=null;switch(xA){case"bold":bo={family:Jo,weight:"bold"};break;case"italic":bo={family:Jo,style:"italic"};break;case"bolditalic":bo={family:Jo,weight:"bold",style:"italic"};break;case"":case"normal":bo={family:Jo}}bo!==null&&(bo.ref={name:Jo,style:xA},no.push(bo))})}),no}(Qo.getFontList());pa=function(Xi){for(var no={},Jo=0;Jo<Xi.length;++Jo){var xA=mu(Xi[Jo]),bo=xA.family,Ui=xA.stretch,qo=xA.style,xs=xA.weight;no[bo]=no[bo]||{},no[bo][Ui]=no[bo][Ui]||{},no[bo][Ui][qo]=no[bo][Ui][qo]||{},no[bo][Ui][qo][xs]=xA}return no}(kA.concat(lo))}return pa}(this.pdf,this.fontFaces),co=Pa.map(function(Qo){return{family:Qo,stretch:"normal",weight:oi,style:xi}}),Vi=function(Qo,lo,kA){for(var Xi=(kA=kA||{}).defaultFontFamily||"times",no=Object.assign({},Cd,kA.genericFontFamilies||{}),Jo=null,xA=null,bo=0;bo<lo.length;++bo)if(no[(Jo=mu(lo[bo])).family]&&(Jo.family=no[Jo.family]),Qo.hasOwnProperty(Jo.family)){xA=Qo[Jo.family];break}if(!(xA=xA||Qo[Xi]))throw new Error("Could not find a font-family for the rule '"+Yu(Jo)+"' and default family '"+Xi+"'.");if(xA=function(Ui,qo){if(qo[Ui])return qo[Ui];var xs=dl[Ui],Vs=xs<=dl.normal?-1:1,_A=wc(qo,yc,xs,Vs);if(!_A)throw new Error("Could not find a matching font-stretch value for "+Ui);return _A}(Jo.stretch,xA),xA=function(Ui,qo){if(qo[Ui])return qo[Ui];for(var xs=Ms[Ui],Vs=0;Vs<xs.length;++Vs)if(qo[xs[Vs]])return qo[xs[Vs]];throw new Error("Could not find a matching font-style for "+Ui)}(Jo.style,xA),!(xA=function(Ui,qo){if(qo[Ui])return qo[Ui];if(Ui===400&&qo[500])return qo[500];if(Ui===500&&qo[400])return qo[400];var xs=bd[Ui],Vs=wc(qo,yl,xs,Ui<400?-1:1);if(!Vs)throw new Error("Could not find a matching font-weight for value "+Ui);return Vs}(Jo.weight,xA)))throw new Error("Failed to resolve a font for the rule '"+Yu(Jo)+"'.");return xA}(ii,co);this.pdf.setFont(Vi.ref.name,Vi.ref.style)}else{var Xo="";(oi==="bold"||parseInt(oi,10)>=700||xi==="bold")&&(Xo="bold"),xi==="italic"&&(Xo+="italic"),Xo.length===0&&(Xo="normal");for(var Yo="",BA={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"},Ai=0;Ai<Pa.length;Ai++){if(this.pdf.internal.getFont(Pa[Ai],Xo,{noFallback:!0,disableWarning:!0})!==void 0){Yo=Pa[Ai];break}if(Xo==="bolditalic"&&this.pdf.internal.getFont(Pa[Ai],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Yo=Pa[Ai],Xo="bold";else if(this.pdf.internal.getFont(Pa[Ai],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Yo=Pa[Ai],Xo="normal";break}}if(Yo===""){for(var so=0;so<Pa.length;so++)if(BA[Pa[so]]){Yo=BA[Pa[so]];break}}Yo=Yo===""?"Times":Yo,this.pdf.setFont(Yo,Xo)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(pr){this.ctx.globalCompositeOperation=pr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(pr){this.ctx.globalAlpha=pr}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(pr){this.ctx.lineDashOffset=pr,Lr.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(pr){this.ctx.lineDash=pr,Lr.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(pr){this.ctx.ignoreClearRect=!!pr}})};At.prototype.setLineDash=function(Ct){this.lineDash=Ct},At.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},At.prototype.fill=function(){qt.call(this,"fill",!1)},At.prototype.stroke=function(){qt.call(this,"stroke",!1)},At.prototype.beginPath=function(){this.path=[{type:"begin"}]},At.prototype.moveTo=function(Ct,Yt){if(isNaN(Ct)||isNaN(Yt))throw cA.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var sn=this.ctx.transform.applyToPoint(new Ee(Ct,Yt));this.path.push({type:"mt",x:sn.x,y:sn.y}),this.ctx.lastPoint=new Ee(Ct,Yt)},At.prototype.closePath=function(){var Ct=new Ee(0,0),Yt=0;for(Yt=this.path.length-1;Yt!==-1;Yt--)if(this.path[Yt].type==="begin"&&(0,Oe.Z)(this.path[Yt+1])==="object"&&typeof this.path[Yt+1].x=="number"){Ct=new Ee(this.path[Yt+1].x,this.path[Yt+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Ee(Ct.x,Ct.y)},At.prototype.lineTo=function(Ct,Yt){if(isNaN(Ct)||isNaN(Yt))throw cA.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var sn=this.ctx.transform.applyToPoint(new Ee(Ct,Yt));this.path.push({type:"lt",x:sn.x,y:sn.y}),this.ctx.lastPoint=new Ee(sn.x,sn.y)},At.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),qt.call(this,null,!0)},At.prototype.quadraticCurveTo=function(Ct,Yt,sn,Cn){if(isNaN(sn)||isNaN(Cn)||isNaN(Ct)||isNaN(Yt))throw cA.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Tn=this.ctx.transform.applyToPoint(new Ee(sn,Cn)),Wn=this.ctx.transform.applyToPoint(new Ee(Ct,Yt));this.path.push({type:"qct",x1:Wn.x,y1:Wn.y,x:Tn.x,y:Tn.y}),this.ctx.lastPoint=new Ee(Tn.x,Tn.y)},At.prototype.bezierCurveTo=function(Ct,Yt,sn,Cn,Tn,Wn){if(isNaN(Tn)||isNaN(Wn)||isNaN(Ct)||isNaN(Yt)||isNaN(sn)||isNaN(Cn))throw cA.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var ir=this.ctx.transform.applyToPoint(new Ee(Tn,Wn)),nr=this.ctx.transform.applyToPoint(new Ee(Ct,Yt)),Cr=this.ctx.transform.applyToPoint(new Ee(sn,Cn));this.path.push({type:"bct",x1:nr.x,y1:nr.y,x2:Cr.x,y2:Cr.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new Ee(ir.x,ir.y)},At.prototype.arc=function(Ct,Yt,sn,Cn,Tn,Wn){if(isNaN(Ct)||isNaN(Yt)||isNaN(sn)||isNaN(Cn)||isNaN(Tn))throw cA.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Wn=!!Wn,!this.ctx.transform.isIdentity){var ir=this.ctx.transform.applyToPoint(new Ee(Ct,Yt));Ct=ir.x,Yt=ir.y;var nr=this.ctx.transform.applyToPoint(new Ee(0,sn)),Cr=this.ctx.transform.applyToPoint(new Ee(0,0));sn=Math.sqrt(Math.pow(nr.x-Cr.x,2)+Math.pow(nr.y-Cr.y,2))}Math.abs(Tn-Cn)>=2*Math.PI&&(Cn=0,Tn=2*Math.PI),this.path.push({type:"arc",x:Ct,y:Yt,radius:sn,startAngle:Cn,endAngle:Tn,counterclockwise:Wn})},At.prototype.arcTo=function(Ct,Yt,sn,Cn,Tn){throw new Error("arcTo not implemented.")},At.prototype.rect=function(Ct,Yt,sn,Cn){if(isNaN(Ct)||isNaN(Yt)||isNaN(sn)||isNaN(Cn))throw cA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ct,Yt),this.lineTo(Ct+sn,Yt),this.lineTo(Ct+sn,Yt+Cn),this.lineTo(Ct,Yt+Cn),this.lineTo(Ct,Yt),this.lineTo(Ct+sn,Yt),this.lineTo(Ct,Yt)},At.prototype.fillRect=function(Ct,Yt,sn,Cn){if(isNaN(Ct)||isNaN(Yt)||isNaN(sn)||isNaN(Cn))throw cA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!$e.call(this)){var Tn={};this.lineCap!=="butt"&&(Tn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Tn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ct,Yt,sn,Cn),this.fill(),Tn.hasOwnProperty("lineCap")&&(this.lineCap=Tn.lineCap),Tn.hasOwnProperty("lineJoin")&&(this.lineJoin=Tn.lineJoin)}},At.prototype.strokeRect=function(Ct,Yt,sn,Cn){if(isNaN(Ct)||isNaN(Yt)||isNaN(sn)||isNaN(Cn))throw cA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Mt.call(this)||(this.beginPath(),this.rect(Ct,Yt,sn,Cn),this.stroke())},At.prototype.clearRect=function(Ct,Yt,sn,Cn){if(isNaN(Ct)||isNaN(Yt)||isNaN(sn)||isNaN(Cn))throw cA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ct,Yt,sn,Cn))},At.prototype.save=function(Ct){Ct=typeof Ct!="boolean"||Ct;for(var Yt=this.pdf.internal.getCurrentPageInfo().pageNumber,sn=0;sn<this.pdf.internal.getNumberOfPages();sn++)this.pdf.setPage(sn+1),this.pdf.internal.out("q");if(this.pdf.setPage(Yt),Ct){this.ctx.fontSize=this.pdf.internal.getFontSize();var Cn=new We(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Cn}},At.prototype.restore=function(Ct){Ct=typeof Ct!="boolean"||Ct;for(var Yt=this.pdf.internal.getCurrentPageInfo().pageNumber,sn=0;sn<this.pdf.internal.getNumberOfPages();sn++)this.pdf.setPage(sn+1),this.pdf.internal.out("Q");this.pdf.setPage(Yt),Ct&&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)},At.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var mt=function(Ct){var Yt,sn,Cn,Tn;if(Ct.isCanvasGradient===!0&&(Ct=Ct.getColor()),!Ct)return{r:0,g:0,b:0,a:0,style:Ct};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Ct))Yt=0,sn=0,Cn=0,Tn=0;else{var Wn=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Ct);if(Wn!==null)Yt=parseInt(Wn[1]),sn=parseInt(Wn[2]),Cn=parseInt(Wn[3]),Tn=1;else if((Wn=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Ct))!==null)Yt=parseInt(Wn[1]),sn=parseInt(Wn[2]),Cn=parseInt(Wn[3]),Tn=parseFloat(Wn[4]);else{if(Tn=1,typeof Ct=="string"&&Ct.charAt(0)!=="#"){var ir=new I0(Ct);Ct=ir.ok?ir.toHex():"#000000"}Ct.length===4?(Yt=Ct.substring(1,2),Yt+=Yt,sn=Ct.substring(2,3),sn+=sn,Cn=Ct.substring(3,4),Cn+=Cn):(Yt=Ct.substring(1,3),sn=Ct.substring(3,5),Cn=Ct.substring(5,7)),Yt=parseInt(Yt,16),sn=parseInt(sn,16),Cn=parseInt(Cn,16)}}return{r:Yt,g:sn,b:Cn,a:Tn,style:Ct}},$e=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Mt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};At.prototype.fillText=function(Ct,Yt,sn,Cn){if(isNaN(Yt)||isNaN(sn)||typeof Ct!="string")throw cA.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Cn=isNaN(Cn)?void 0:Cn,!$e.call(this)){var Tn=Zn(this.ctx.transform.rotation),Wn=this.ctx.transform.scaleX;zt.call(this,{text:Ct,x:Yt,y:sn,scale:Wn,angle:Tn,align:this.textAlign,maxWidth:Cn})}},At.prototype.strokeText=function(Ct,Yt,sn,Cn){if(isNaN(Yt)||isNaN(sn)||typeof Ct!="string")throw cA.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Mt.call(this)){Cn=isNaN(Cn)?void 0:Cn;var Tn=Zn(this.ctx.transform.rotation),Wn=this.ctx.transform.scaleX;zt.call(this,{text:Ct,x:Yt,y:sn,scale:Wn,renderingMode:"stroke",angle:Tn,align:this.textAlign,maxWidth:Cn})}},At.prototype.measureText=function(Ct){if(typeof Ct!="string")throw cA.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Yt=this.pdf,sn=this.pdf.internal.scaleFactor,Cn=Yt.internal.getFontSize(),Tn=Yt.getStringUnitWidth(Ct)*Cn/Yt.internal.scaleFactor;return new function(Wn){var ir=(Wn=Wn||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return ir}}),this}({width:Tn*=Math.round(96*sn/72*1e4)/1e4})},At.prototype.scale=function(Ct,Yt){if(isNaN(Ct)||isNaN(Yt))throw cA.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var sn=new xe(Ct,0,0,Yt,0,0);this.ctx.transform=this.ctx.transform.multiply(sn)},At.prototype.rotate=function(Ct){if(isNaN(Ct))throw cA.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Yt=new xe(Math.cos(Ct),Math.sin(Ct),-Math.sin(Ct),Math.cos(Ct),0,0);this.ctx.transform=this.ctx.transform.multiply(Yt)},At.prototype.translate=function(Ct,Yt){if(isNaN(Ct)||isNaN(Yt))throw cA.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var sn=new xe(1,0,0,1,Ct,Yt);this.ctx.transform=this.ctx.transform.multiply(sn)},At.prototype.transform=function(Ct,Yt,sn,Cn,Tn,Wn){if(isNaN(Ct)||isNaN(Yt)||isNaN(sn)||isNaN(Cn)||isNaN(Tn)||isNaN(Wn))throw cA.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var ir=new xe(Ct,Yt,sn,Cn,Tn,Wn);this.ctx.transform=this.ctx.transform.multiply(ir)},At.prototype.setTransform=function(Ct,Yt,sn,Cn,Tn,Wn){Ct=isNaN(Ct)?1:Ct,Yt=isNaN(Yt)?0:Yt,sn=isNaN(sn)?0:sn,Cn=isNaN(Cn)?1:Cn,Tn=isNaN(Tn)?0:Tn,Wn=isNaN(Wn)?0:Wn,this.ctx.transform=new xe(Ct,Yt,sn,Cn,Tn,Wn)};var Tt=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};At.prototype.drawImage=function(Ct,Yt,sn,Cn,Tn,Wn,ir,nr,Cr){var zr=this.pdf.getImageProperties(Ct),pa=1,ya=1,pr=1,an=1;Cn!==void 0&&nr!==void 0&&(pr=nr/Cn,an=Cr/Tn,pa=zr.width/Cn*nr/Cn,ya=zr.height/Tn*Cr/Tn),Wn===void 0&&(Wn=Yt,ir=sn,Yt=0,sn=0),Cn!==void 0&&nr===void 0&&(nr=Cn,Cr=Tn),Cn===void 0&&nr===void 0&&(nr=zr.width,Cr=zr.height);for(var xi,oi=this.ctx.transform.decompose(),po=Zn(oi.rotate.shx),Yr=new xe,io=(Yr=(Yr=(Yr=Yr.multiply(oi.translate)).multiply(oi.skew)).multiply(oi.scale)).applyToRectangle(new Se(Wn-Yt*pr,ir-sn*an,Cn*pa,Tn*ya)),Pa=Ht.call(this,io),ii=[],co=0;co<Pa.length;co+=1)ii.indexOf(Pa[co])===-1&&ii.push(Pa[co]);if(cn(ii),this.autoPaging)for(var Vi=ii[0],Xo=ii[ii.length-1],Yo=Vi;Yo<Xo+1;Yo++){this.pdf.setPage(Yo);var BA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ai=Yo===1?this.posY+this.margin[0]:this.margin[0],so=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Qo=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],lo=Yo===1?0:so+(Yo-2)*Qo;if(this.ctx.clip_path.length!==0){var kA=this.path;xi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Sn(xi,this.posX+this.margin[3],-lo+Ai+this.ctx.prevPageLastElemOffset),Yn.call(this,"fill",!0),this.path=kA}var Xi=JSON.parse(JSON.stringify(io));Xi=Sn([Xi],this.posX+this.margin[3],-lo+Ai+this.ctx.prevPageLastElemOffset)[0];var no=(Yo>Vi||Yo<Xo)&&Tt.call(this);no&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],BA,Qo,null).clip().discardPath()),this.pdf.addImage(Ct,"JPEG",Xi.x,Xi.y,Xi.w,Xi.h,null,null,po),no&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Ct,"JPEG",io.x,io.y,io.w,io.h,null,null,po)};var Ht=function(Ct,Yt,sn){var Cn=[];Yt=Yt||this.pdf.internal.pageSize.width,sn=sn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Tn=this.posY+this.ctx.prevPageLastElemOffset;switch(Ct.type){default:case"mt":case"lt":Cn.push(Math.floor((Ct.y+Tn)/sn)+1);break;case"arc":Cn.push(Math.floor((Ct.y+Tn-Ct.radius)/sn)+1),Cn.push(Math.floor((Ct.y+Tn+Ct.radius)/sn)+1);break;case"qct":var Wn=cr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ct.x1,Ct.y1,Ct.x,Ct.y);Cn.push(Math.floor((Wn.y+Tn)/sn)+1),Cn.push(Math.floor((Wn.y+Wn.h+Tn)/sn)+1);break;case"bct":var ir=qr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ct.x1,Ct.y1,Ct.x2,Ct.y2,Ct.x,Ct.y);Cn.push(Math.floor((ir.y+Tn)/sn)+1),Cn.push(Math.floor((ir.y+ir.h+Tn)/sn)+1);break;case"rect":Cn.push(Math.floor((Ct.y+Tn)/sn)+1),Cn.push(Math.floor((Ct.y+Ct.h+Tn)/sn)+1)}for(var nr=0;nr<Cn.length;nr+=1)for(;this.pdf.internal.getNumberOfPages()<Cn[nr];)xt.call(this);return Cn},xt=function(){var Ct=this.fillStyle,Yt=this.strokeStyle,sn=this.font,Cn=this.lineCap,Tn=this.lineWidth,Wn=this.lineJoin;this.pdf.addPage(),this.fillStyle=Ct,this.strokeStyle=Yt,this.font=sn,this.lineCap=Cn,this.lineWidth=Tn,this.lineJoin=Wn},Sn=function(Ct,Yt,sn){for(var Cn=0;Cn<Ct.length;Cn++)switch(Ct[Cn].type){case"bct":Ct[Cn].x2+=Yt,Ct[Cn].y2+=sn;case"qct":Ct[Cn].x1+=Yt,Ct[Cn].y1+=sn;default:Ct[Cn].x+=Yt,Ct[Cn].y+=sn}return Ct},cn=function(Ct){return Ct.sort(function(Yt,sn){return Yt-sn})},qt=function(Ct,Yt){for(var sn,Cn,Tn=this.fillStyle,Wn=this.strokeStyle,ir=this.lineCap,nr=this.lineWidth,Cr=Math.abs(nr*this.ctx.transform.scaleX),zr=this.lineJoin,pa=JSON.parse(JSON.stringify(this.path)),ya=JSON.parse(JSON.stringify(this.path)),pr=[],an=0;an<ya.length;an++)if(ya[an].x!==void 0)for(var xi=Ht.call(this,ya[an]),oi=0;oi<xi.length;oi+=1)pr.indexOf(xi[oi])===-1&&pr.push(xi[oi]);for(var po=0;po<pr.length;po++)for(;this.pdf.internal.getNumberOfPages()<pr[po];)xt.call(this);if(cn(pr),this.autoPaging)for(var Yr=pr[0],io=pr[pr.length-1],Pa=Yr;Pa<io+1;Pa++){this.pdf.setPage(Pa),this.fillStyle=Tn,this.strokeStyle=Wn,this.lineCap=ir,this.lineWidth=Cr,this.lineJoin=zr;var ii=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],co=Pa===1?this.posY+this.margin[0]:this.margin[0],Vi=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Xo=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Yo=Pa===1?0:Vi+(Pa-2)*Xo;if(this.ctx.clip_path.length!==0){var BA=this.path;sn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Sn(sn,this.posX+this.margin[3],-Yo+co+this.ctx.prevPageLastElemOffset),Yn.call(this,Ct,!0),this.path=BA}if(Cn=JSON.parse(JSON.stringify(pa)),this.path=Sn(Cn,this.posX+this.margin[3],-Yo+co+this.ctx.prevPageLastElemOffset),Yt===!1||Pa===0){var Ai=(Pa>Yr||Pa<io)&&Tt.call(this);Ai&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ii,Xo,null).clip().discardPath()),Yn.call(this,Ct,Yt),Ai&&this.pdf.restoreGraphicsState()}this.lineWidth=nr}else this.lineWidth=Cr,Yn.call(this,Ct,Yt),this.lineWidth=nr;this.path=pa},Yn=function(Ct,Yt){if((Ct!=="stroke"||Yt||!Mt.call(this))&&(Ct==="stroke"||Yt||!$e.call(this))){for(var sn,Cn,Tn=[],Wn=this.path,ir=0;ir<Wn.length;ir++){var nr=Wn[ir];switch(nr.type){case"begin":Tn.push({begin:!0});break;case"close":Tn.push({close:!0});break;case"mt":Tn.push({start:nr,deltas:[],abs:[]});break;case"lt":var Cr=Tn.length;if(Wn[ir-1]&&!isNaN(Wn[ir-1].x)&&(sn=[nr.x-Wn[ir-1].x,nr.y-Wn[ir-1].y],Cr>0)){for(;Cr>=0;Cr--)if(Tn[Cr-1].close!==!0&&Tn[Cr-1].begin!==!0){Tn[Cr-1].deltas.push(sn),Tn[Cr-1].abs.push(nr);break}}break;case"bct":sn=[nr.x1-Wn[ir-1].x,nr.y1-Wn[ir-1].y,nr.x2-Wn[ir-1].x,nr.y2-Wn[ir-1].y,nr.x-Wn[ir-1].x,nr.y-Wn[ir-1].y],Tn[Tn.length-1].deltas.push(sn);break;case"qct":var zr=Wn[ir-1].x+2/3*(nr.x1-Wn[ir-1].x),pa=Wn[ir-1].y+2/3*(nr.y1-Wn[ir-1].y),ya=nr.x+2/3*(nr.x1-nr.x),pr=nr.y+2/3*(nr.y1-nr.y),an=nr.x,xi=nr.y;sn=[zr-Wn[ir-1].x,pa-Wn[ir-1].y,ya-Wn[ir-1].x,pr-Wn[ir-1].y,an-Wn[ir-1].x,xi-Wn[ir-1].y],Tn[Tn.length-1].deltas.push(sn);break;case"arc":Tn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Tn[Tn.length-1].abs)&&Tn[Tn.length-1].abs.push(nr)}}Cn=Yt?null:Ct==="stroke"?"stroke":"fill";for(var oi=!1,po=0;po<Tn.length;po++)if(Tn[po].arc)for(var Yr=Tn[po].abs,io=0;io<Yr.length;io++){var Pa=Yr[io];Pa.type==="arc"?xn.call(this,Pa.x,Pa.y,Pa.radius,Pa.startAngle,Pa.endAngle,Pa.counterclockwise,void 0,Yt,!oi):pn.call(this,Pa.x,Pa.y),oi=!0}else if(Tn[po].close===!0)this.pdf.internal.out("h"),oi=!1;else if(Tn[po].begin!==!0){var ii=Tn[po].start.x,co=Tn[po].start.y;gn.call(this,Tn[po].deltas,ii,co),oi=!0}Cn&&tn.call(this,Cn),Yt&&Mn.call(this)}},Br=function(Ct){var Yt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,sn=Yt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Ct-sn;case"top":return Ct+Yt-sn;case"hanging":return Ct+Yt-2*sn;case"middle":return Ct+Yt/2-sn;default:return Ct}},ar=function(Ct){return Ct+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};At.prototype.createLinearGradient=function(){var Ct=function(){};return Ct.colorStops=[],Ct.addColorStop=function(Yt,sn){this.colorStops.push([Yt,sn])},Ct.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Ct.isCanvasGradient=!0,Ct},At.prototype.createPattern=function(){return this.createLinearGradient()},At.prototype.createRadialGradient=function(){return this.createLinearGradient()};var xn=function(Ct,Yt,sn,Cn,Tn,Wn,ir,nr,Cr){for(var zr=rr.call(this,sn,Cn,Tn,Wn),pa=0;pa<zr.length;pa++){var ya=zr[pa];pa===0&&(Cr?Ft.call(this,ya.x1+Ct,ya.y1+Yt):pn.call(this,ya.x1+Ct,ya.y1+Yt)),qn.call(this,Ct,Yt,ya.x2,ya.y2,ya.x3,ya.y3,ya.x4,ya.y4)}nr?Mn.call(this):tn.call(this,ir)},tn=function(Ct){switch(Ct){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Mn=function(){this.pdf.clip(),this.pdf.discardPath()},Ft=function(Ct,Yt){this.pdf.internal.out(x(Ct)+" "+re(Yt)+" m")},zt=function(Ct){var Yt;switch(Ct.align){case"right":case"end":Yt="right";break;case"center":Yt="center";break;default:Yt="left"}var sn=this.pdf.getTextDimensions(Ct.text),Cn=Br.call(this,Ct.y),Tn=ar.call(this,Cn)-sn.h,Wn=this.ctx.transform.applyToPoint(new Ee(Ct.x,Cn)),ir=this.ctx.transform.decompose(),nr=new xe;nr=(nr=(nr=nr.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var Cr,zr,pa,ya=this.ctx.transform.applyToRectangle(new Se(Ct.x,Cn,sn.w,sn.h)),pr=nr.applyToRectangle(new Se(Ct.x,Tn,sn.w,sn.h)),an=Ht.call(this,pr),xi=[],oi=0;oi<an.length;oi+=1)xi.indexOf(an[oi])===-1&&xi.push(an[oi]);if(cn(xi),this.autoPaging)for(var po=xi[0],Yr=xi[xi.length-1],io=po;io<Yr+1;io++){this.pdf.setPage(io);var Pa=io===1?this.posY+this.margin[0]:this.margin[0],ii=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],co=this.pdf.internal.pageSize.height-this.margin[2],Vi=co-this.margin[0],Xo=this.pdf.internal.pageSize.width-this.margin[1],Yo=Xo-this.margin[3],BA=io===1?0:ii+(io-2)*Vi;if(this.ctx.clip_path.length!==0){var Ai=this.path;Cr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Sn(Cr,this.posX+this.margin[3],-1*BA+Pa),Yn.call(this,"fill",!0),this.path=Ai}var so=Sn([JSON.parse(JSON.stringify(pr))],this.posX+this.margin[3],-BA+Pa+this.ctx.prevPageLastElemOffset)[0];Ct.scale>=.01&&(zr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(zr*Ct.scale),pa=this.lineWidth,this.lineWidth=pa*Ct.scale);var Qo=this.autoPaging!=="text";if(Qo||so.y+so.h<=co){if(Qo||so.y>=Pa&&so.x<=Xo){var lo=Qo?Ct.text:this.pdf.splitTextToSize(Ct.text,Ct.maxWidth||Xo-so.x)[0],kA=Sn([JSON.parse(JSON.stringify(ya))],this.posX+this.margin[3],-BA+Pa+this.ctx.prevPageLastElemOffset)[0],Xi=Qo&&(io>po||io<Yr)&&Tt.call(this);Xi&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Yo,Vi,null).clip().discardPath()),this.pdf.text(lo,kA.x,kA.y,{angle:Ct.angle,align:Yt,renderingMode:Ct.renderingMode}),Xi&&this.pdf.restoreGraphicsState()}}else so.y<co&&(this.ctx.prevPageLastElemOffset+=co-so.y);Ct.scale>=.01&&(this.pdf.setFontSize(zr),this.lineWidth=pa)}else Ct.scale>=.01&&(zr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(zr*Ct.scale),pa=this.lineWidth,this.lineWidth=pa*Ct.scale),this.pdf.text(Ct.text,Wn.x+this.posX,Wn.y+this.posY,{angle:Ct.angle,align:Yt,renderingMode:Ct.renderingMode,maxWidth:Ct.maxWidth}),Ct.scale>=.01&&(this.pdf.setFontSize(zr),this.lineWidth=pa)},pn=function(Ct,Yt,sn,Cn){sn=sn||0,Cn=Cn||0,this.pdf.internal.out(x(Ct+sn)+" "+re(Yt+Cn)+" l")},gn=function(Ct,Yt,sn){return this.pdf.lines(Ct,Yt,sn,null,null)},qn=function(Ct,Yt,sn,Cn,Tn,Wn,ir,nr){this.pdf.internal.out([z(ae(sn+Ct)),z(se(Cn+Yt)),z(ae(Tn+Ct)),z(se(Wn+Yt)),z(ae(ir+Ct)),z(se(nr+Yt)),"c"].join(" "))},rr=function(Ct,Yt,sn,Cn){for(var Tn=2*Math.PI,Wn=Math.PI/2;Yt>sn;)Yt-=Tn;var ir=Math.abs(sn-Yt);ir<Tn&&Cn&&(ir=Tn-ir);for(var nr=[],Cr=Cn?-1:1,zr=Yt;ir>1e-5;){var pa=zr+Cr*Math.min(ir,Wn);nr.push(Ar.call(this,Ct,zr,pa)),ir-=Math.abs(pa-zr),zr=pa}return nr},Ar=function(Ct,Yt,sn){var Cn=(sn-Yt)/2,Tn=Ct*Math.cos(Cn),Wn=Ct*Math.sin(Cn),ir=Tn,nr=-Wn,Cr=ir*ir+nr*nr,zr=Cr+ir*Tn+nr*Wn,pa=4/3*(Math.sqrt(2*Cr*zr)-zr)/(ir*Wn-nr*Tn),ya=ir-pa*nr,pr=nr+pa*ir,an=ya,xi=-pr,oi=Cn+Yt,po=Math.cos(oi),Yr=Math.sin(oi);return{x1:Ct*Math.cos(Yt),y1:Ct*Math.sin(Yt),x2:ya*po-pr*Yr,y2:ya*Yr+pr*po,x3:an*po-xi*Yr,y3:an*Yr+xi*po,x4:Ct*Math.cos(sn),y4:Ct*Math.sin(sn)}},Zn=function(Ct){return 180*Ct/Math.PI},cr=function(Ct,Yt,sn,Cn,Tn,Wn){var ir=Ct+.5*(sn-Ct),nr=Yt+.5*(Cn-Yt),Cr=Tn+.5*(sn-Tn),zr=Wn+.5*(Cn-Wn),pa=Math.min(Ct,Tn,ir,Cr),ya=Math.max(Ct,Tn,ir,Cr),pr=Math.min(Yt,Wn,nr,zr),an=Math.max(Yt,Wn,nr,zr);return new Se(pa,pr,ya-pa,an-pr)},qr=function(Ct,Yt,sn,Cn,Tn,Wn,ir,nr){var Cr,zr,pa,ya,pr,an,xi,oi,po,Yr,io,Pa,ii,co,Vi=sn-Ct,Xo=Cn-Yt,Yo=Tn-sn,BA=Wn-Cn,Ai=ir-Tn,so=nr-Wn;for(zr=0;zr<41;zr++)po=(xi=(pa=Ct+(Cr=zr/40)*Vi)+Cr*((pr=sn+Cr*Yo)-pa))+Cr*(pr+Cr*(Tn+Cr*Ai-pr)-xi),Yr=(oi=(ya=Yt+Cr*Xo)+Cr*((an=Cn+Cr*BA)-ya))+Cr*(an+Cr*(Wn+Cr*so-an)-oi),zr==0?(io=po,Pa=Yr,ii=po,co=Yr):(io=Math.min(io,po),Pa=Math.min(Pa,Yr),ii=Math.max(ii,po),co=Math.max(co,Yr));return new Se(Math.round(io),Math.round(Pa),Math.round(ii-io),Math.round(co-Pa))},Lr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ct,Yt,sn=(Ct=this.ctx.lineDash,Yt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ct,lineDashOffset:Yt}));this.prevLineDash!==sn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=sn)}}})(Wa.API),function(b){var z=function(Ee){var Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht;for(/[^\x00-\xFF]/.test(Ee),xe=[],Ne=0,We=(Ee+=Se="\0\0\0\0".slice(Ee.length%4||4)).length;We>Ne;Ne+=4)(At=(Ee.charCodeAt(Ne)<<24)+(Ee.charCodeAt(Ne+1)<<16)+(Ee.charCodeAt(Ne+2)<<8)+Ee.charCodeAt(Ne+3))!==0?(mt=(At=((At=((At=((At=(At-(Ht=At%85))/85)-(Tt=At%85))/85)-(Mt=At%85))/85)-($e=At%85))/85)%85,xe.push(mt+33,$e+33,Mt+33,Tt+33,Ht+33)):xe.push(122);return function(xt,Sn){for(var cn=Sn;cn>0;cn--)xt.pop()}(xe,Se.length),String.fromCharCode.apply(String,xe)+"~>"},x=function(Ee){var Se,xe,Ne,We,At,mt=String,$e="length",Mt=255,Tt="charCodeAt",Ht="slice",xt="replace";for(Ee[Ht](-2),Ee=Ee[Ht](0,-2)[xt](/\s/g,"")[xt]("z","!!!!!"),Ne=[],We=0,At=(Ee+=Se="uuuuu"[Ht](Ee[$e]%5||5))[$e];At>We;We+=5)xe=52200625*(Ee[Tt](We)-33)+614125*(Ee[Tt](We+1)-33)+7225*(Ee[Tt](We+2)-33)+85*(Ee[Tt](We+3)-33)+(Ee[Tt](We+4)-33),Ne.push(Mt&xe>>24,Mt&xe>>16,Mt&xe>>8,Mt&xe);return function(Sn,cn){for(var qt=cn;qt>0;qt--)Sn.pop()}(Ne,Se[$e]),mt.fromCharCode.apply(mt,Ne)},re=function(Ee){return Ee.split("").map(function(Se){return("0"+Se.charCodeAt().toString(16)).slice(-2)}).join("")+">"},ae=function(Ee){var Se=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ee=Ee.replace(/\s/g,"")).indexOf(">")!==-1&&(Ee=Ee.substr(0,Ee.indexOf(">"))),Ee.length%2&&(Ee+="0"),Se.test(Ee)===!1)return"";for(var xe="",Ne=0;Ne<Ee.length;Ne+=2)xe+=String.fromCharCode("0x"+(Ee[Ne]+Ee[Ne+1]));return xe},se=function(Ee){for(var Se=new Uint8Array(Ee.length),xe=Ee.length;xe--;)Se[xe]=Ee.charCodeAt(xe);return(Se=En(Se)).reduce(function(Ne,We){return Ne+String.fromCharCode(We)},"")};b.processDataByFilters=function(Ee,Se){var xe=0,Ne=Ee||"",We=[];for(typeof(Se=Se||[])=="string"&&(Se=[Se]),xe=0;xe<Se.length;xe+=1)switch(Se[xe]){case"ASCII85Decode":case"/ASCII85Decode":Ne=x(Ne),We.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ne=z(Ne),We.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ne=ae(Ne),We.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ne=re(Ne),We.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ne=se(Ne),We.push("/FlateDecode");break;default:throw new Error('The filter: "'+Se[xe]+'" is not implemented')}return{data:Ne,reverseChain:We.reverse().join(" ")}}}(Wa.API),function(b){b.loadFile=function(z,x,re){return function(ae,se,Ee){se=se!==!1,Ee=typeof Ee=="function"?Ee:function(){};var Se=void 0;try{Se=function(xe,Ne,We){var At=new XMLHttpRequest,mt=0,$e=function(Mt){var Tt=Mt.length,Ht=[],xt=String.fromCharCode;for(mt=0;mt<Tt;mt+=1)Ht.push(xt(255&Mt.charCodeAt(mt)));return Ht.join("")};if(At.open("GET",xe,!Ne),At.overrideMimeType("text/plain; charset=x-user-defined"),Ne===!1&&(At.onload=function(){At.status===200?We($e(this.responseText)):We(void 0)}),At.send(null),Ne&&At.status===200)return $e(At.responseText)}(ae,se,Ee)}catch(xe){}return Se}(z,x,re)},b.loadImageFile=b.loadFile}(Wa.API),function(b){function z(){return(Fo.html2canvas?Promise.resolve(Fo.html2canvas):Promise.resolve().then(we.t.bind(we,64270,23))).catch(function(Se){return Promise.reject(new Error("Could not load html2canvas: "+Se))}).then(function(Se){return Se.default?Se.default:Se})}function x(){return(Fo.DOMPurify?Promise.resolve(Fo.DOMPurify):we.e(4038).then(we.bind(we,94038))).catch(function(Se){return Promise.reject(new Error("Could not load dompurify: "+Se))}).then(function(Se){return Se.default?Se.default:Se})}var re=function(Se){var xe=(0,Oe.Z)(Se);return xe==="undefined"?"undefined":xe==="string"||Se instanceof String?"string":xe==="number"||Se instanceof Number?"number":xe==="function"||Se instanceof Function?"function":Se&&Se.constructor===Array?"array":Se&&Se.nodeType===1?"element":xe==="object"?"object":"unknown"},ae=function(Se,xe){var Ne=document.createElement(Se);for(var We in xe.className&&(Ne.className=xe.className),xe.innerHTML&&xe.dompurify&&(Ne.innerHTML=xe.dompurify.sanitize(xe.innerHTML)),xe.style)Ne.style[We]=xe.style[We];return Ne},se=function Se(xe,Ne){for(var We=xe.nodeType===3?document.createTextNode(xe.nodeValue):xe.cloneNode(!1),At=xe.firstChild;At;At=At.nextSibling)Ne!==!0&&At.nodeType===1&&At.nodeName==="SCRIPT"||We.appendChild(Se(At,Ne));return xe.nodeType===1&&(xe.nodeName==="CANVAS"?(We.width=xe.width,We.height=xe.height,We.getContext("2d").drawImage(xe,0,0)):xe.nodeName!=="TEXTAREA"&&xe.nodeName!=="SELECT"||(We.value=xe.value),We.addEventListener("load",function(){We.scrollTop=xe.scrollTop,We.scrollLeft=xe.scrollLeft},!0)),We},Ee=function Se(xe){var Ne=Object.assign(Se.convert(Promise.resolve()),JSON.parse(JSON.stringify(Se.template))),We=Se.convert(Promise.resolve(),Ne);return(We=We.setProgress(1,Se,1,[Se])).set(xe)};(Ee.prototype=Object.create(Promise.prototype)).constructor=Ee,Ee.convert=function(Se,xe){return Se.__proto__=xe||Ee.prototype,Se},Ee.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"}},Ee.prototype.from=function(Se,xe){return this.then(function(){switch(xe=xe||function(Ne){switch(re(Ne)){case"string":return"string";case"element":return Ne.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Se),xe){case"string":return this.then(x).then(function(Ne){return this.set({src:ae("div",{innerHTML:Se,dompurify:Ne})})});case"element":return this.set({src:Se});case"canvas":return this.set({canvas:Se});case"img":return this.set({img:Se});default:return this.error("Unknown source type.")}})},Ee.prototype.to=function(Se){switch(Se){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.")}},Ee.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 Se={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},xe=se(this.prop.src,this.opt.html2canvas.javascriptEnabled);xe.tagName==="BODY"&&(Se.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=ae("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=ae("div",{className:"html2pdf__container",style:Se}),this.prop.container.appendChild(xe),this.prop.container.firstChild.appendChild(ae("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"})},Ee.prototype.toCanvas=function(){var Se=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Se).then(z).then(function(xe){var Ne=Object.assign({},this.opt.html2canvas);return delete Ne.onrendered,xe(this.prop.container,Ne)}).then(function(xe){(this.opt.html2canvas.onrendered||function(){})(xe),this.prop.canvas=xe,document.body.removeChild(this.prop.overlay)})},Ee.prototype.toContext2d=function(){var Se=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Se).then(z).then(function(xe){var Ne=this.opt.jsPDF,We=this.opt.fontFaces,At=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,mt=Object.assign({async:!0,allowTaint:!0,scale:At,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 mt.onrendered,Ne.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ne.context2d.posX=this.opt.x,Ne.context2d.posY=this.opt.y,Ne.context2d.margin=this.opt.margin,Ne.context2d.fontFaces=We,We)for(var $e=0;$e<We.length;++$e){var Mt=We[$e],Tt=Mt.src.find(function(Ht){return Ht.format==="truetype"});Tt&&Ne.addFont(Tt.url,Mt.ref.name,Mt.ref.style)}return mt.windowHeight=mt.windowHeight||0,mt.windowHeight=mt.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):mt.windowHeight,Ne.context2d.save(!0),xe(this.prop.container,mt)}).then(function(xe){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(xe),this.prop.canvas=xe,document.body.removeChild(this.prop.overlay)})},Ee.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Se=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Se})},Ee.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ee.prototype.output=function(Se,xe,Ne){return(Ne=Ne||"pdf").toLowerCase()==="img"||Ne.toLowerCase()==="image"?this.outputImg(Se,xe):this.outputPdf(Se,xe)},Ee.prototype.outputPdf=function(Se,xe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Se,xe)})},Ee.prototype.outputImg=function(Se){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Se){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 "'+Se+'" is not supported.'}})},Ee.prototype.save=function(Se){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Se?{filename:Se}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Ee.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ee.prototype.set=function(Se){if(re(Se)!=="object")return this;var xe=Object.keys(Se||{}).map(function(Ne){if(Ne in Ee.template.prop)return function(){this.prop[Ne]=Se[Ne]};switch(Ne){case"margin":return this.setMargin.bind(this,Se.margin);case"jsPDF":return function(){return this.opt.jsPDF=Se.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Se.pageSize);default:return function(){this.opt[Ne]=Se[Ne]}}},this);return this.then(function(){return this.thenList(xe)})},Ee.prototype.get=function(Se,xe){return this.then(function(){var Ne=Se in Ee.template.prop?this.prop[Se]:this.opt[Se];return xe?xe(Ne):Ne})},Ee.prototype.setMargin=function(Se){return this.then(function(){switch(re(Se)){case"number":Se=[Se,Se,Se,Se];case"array":if(Se.length===2&&(Se=[Se[0],Se[1],Se[0],Se[1]]),Se.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Se}).then(this.setPageSize)},Ee.prototype.setPageSize=function(Se){function xe(Ne,We){return Math.floor(Ne*We/72*96)}return this.then(function(){(Se=Se||Wa.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Se.inner={width:Se.width-this.opt.margin[1]-this.opt.margin[3],height:Se.height-this.opt.margin[0]-this.opt.margin[2]},Se.inner.px={width:xe(Se.inner.width,Se.k),height:xe(Se.inner.height,Se.k)},Se.inner.ratio=Se.inner.height/Se.inner.width),this.prop.pageSize=Se})},Ee.prototype.setProgress=function(Se,xe,Ne,We){return Se!=null&&(this.progress.val=Se),xe!=null&&(this.progress.state=xe),Ne!=null&&(this.progress.n=Ne),We!=null&&(this.progress.stack=We),this.progress.ratio=this.progress.val/this.progress.state,this},Ee.prototype.updateProgress=function(Se,xe,Ne,We){return this.setProgress(Se?this.progress.val+Se:null,xe||null,Ne?this.progress.n+Ne:null,We?this.progress.stack.concat(We):null)},Ee.prototype.then=function(Se,xe){var Ne=this;return this.thenCore(Se,xe,function(We,At){return Ne.updateProgress(null,null,1,[We]),Promise.prototype.then.call(this,function(mt){return Ne.updateProgress(null,We),mt}).then(We,At).then(function(mt){return Ne.updateProgress(1),mt})})},Ee.prototype.thenCore=function(Se,xe,Ne){Ne=Ne||Promise.prototype.then;var We=this;Se&&(Se=Se.bind(We)),xe&&(xe=xe.bind(We));var At=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?We:Ee.convert(Object.assign({},We),Promise.prototype),mt=Ne.call(At,Se,xe);return Ee.convert(mt,We.__proto__)},Ee.prototype.thenExternal=function(Se,xe){return Promise.prototype.then.call(this,Se,xe)},Ee.prototype.thenList=function(Se){var xe=this;return Se.forEach(function(Ne){xe=xe.thenCore(Ne)}),xe},Ee.prototype.catch=function(Se){Se&&(Se=Se.bind(this));var xe=Promise.prototype.catch.call(this,Se);return Ee.convert(xe,this)},Ee.prototype.catchExternal=function(Se){return Promise.prototype.catch.call(this,Se)},Ee.prototype.error=function(Se){return this.then(function(){throw new Error(Se)})},Ee.prototype.using=Ee.prototype.set,Ee.prototype.saveAs=Ee.prototype.save,Ee.prototype.export=Ee.prototype.output,Ee.prototype.run=Ee.prototype.then,Wa.getPageSize=function(Se,xe,Ne){if((0,Oe.Z)(Se)==="object"){var We=Se;Se=We.orientation,xe=We.unit||xe,Ne=We.format||Ne}xe=xe||"mm",Ne=Ne||"a4",Se=(""+(Se||"P")).toLowerCase();var At,mt=(""+Ne).toLowerCase(),$e={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(xe){case"pt":At=1;break;case"mm":At=72/25.4;break;case"cm":At=72/2.54;break;case"in":At=72;break;case"px":At=.75;break;case"pc":case"em":At=12;break;case"ex":At=6;break;default:throw"Invalid unit: "+xe}var Mt,Tt=0,Ht=0;if($e.hasOwnProperty(mt))Tt=$e[mt][1]/At,Ht=$e[mt][0]/At;else try{Tt=Ne[1],Ht=Ne[0]}catch(xt){throw new Error("Invalid format: "+Ne)}if(Se==="p"||Se==="portrait")Se="p",Ht>Tt&&(Mt=Ht,Ht=Tt,Tt=Mt);else{if(Se!=="l"&&Se!=="landscape")throw"Invalid orientation: "+Se;Se="l",Tt>Ht&&(Mt=Ht,Ht=Tt,Tt=Mt)}return{width:Ht,height:Tt,unit:xe,k:At,orientation:Se}},b.html=function(Se,xe){(xe=xe||{}).callback=xe.callback||function(){},xe.html2canvas=xe.html2canvas||{},xe.html2canvas.canvas=xe.html2canvas.canvas||this.canvas,xe.jsPDF=xe.jsPDF||this,xe.fontFaces=xe.fontFaces?xe.fontFaces.map(mu):null;var Ne=new Ee(xe);return xe.worker?Ne:Ne.from(Se).doCallback()}}(Wa.API),Wa.API.addJS=function(b){return Lp=b,this.internal.events.subscribe("postPutResources",function(){nd=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(nd+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),_p=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Lp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){nd!==void 0&&_p!==void 0&&this.internal.out("/Names <</JavaScript "+nd+" 0 R>>")}),this},function(b){var z;b.events.push(["postPutResources",function(){var x=this,re=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var ae=x.outline.render().split(/\r\n/),se=0;se<ae.length;se++){var Ee=ae[se],Se=re.exec(Ee);if(Se!=null){var xe=Se[1];x.internal.newObjectDeferredBegin(xe,!1)}x.internal.write(Ee)}if(this.outline.createNamedDestinations){var Ne=this.internal.pages.length,We=[];for(se=0;se<Ne;se++){var At=x.internal.newObject();We.push(At);var mt=x.internal.getPageInfo(se+1);x.internal.write("<< /D["+mt.objId+" 0 R /XYZ null null null]>> endobj")}var $e=x.internal.newObject();for(x.internal.write("<< /Names [ "),se=0;se<We.length;se++)x.internal.write("(page_"+(se+1)+")"+We[se]+" 0 R");x.internal.write(" ] >>","endobj"),z=x.internal.newObject(),x.internal.write("<< /Dests "+$e+" 0 R"),x.internal.write(">>","endobj")}}]),b.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+z+" 0 R"))}]),b.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(re,ae,se){var Ee={title:ae,options:se,children:[]};return re==null&&(re=this.root),re.children.push(Ee),Ee},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(re){re.id=x.internal.newObjectDeferred();for(var ae=0;ae<re.children.length;ae++)this.genIds_r(re.children[ae])},x.outline.renderRoot=function(re){this.objStart(re),this.line("/Type /Outlines"),re.children.length>0&&(this.line("/First "+this.makeRef(re.children[0])),this.line("/Last "+this.makeRef(re.children[re.children.length-1]))),this.line("/Count "+this.count_r({count:0},re)),this.objEnd()},x.outline.renderItems=function(re){for(var ae=this.ctx.pdf.internal.getVerticalCoordinateString,se=0;se<re.children.length;se++){var Ee=re.children[se];this.objStart(Ee),this.line("/Title "+this.makeString(Ee.title)),this.line("/Parent "+this.makeRef(re)),se>0&&this.line("/Prev "+this.makeRef(re.children[se-1])),se<re.children.length-1&&this.line("/Next "+this.makeRef(re.children[se+1])),Ee.children.length>0&&(this.line("/First "+this.makeRef(Ee.children[0])),this.line("/Last "+this.makeRef(Ee.children[Ee.children.length-1])));var Se=this.count=this.count_r({count:0},Ee);if(Se>0&&this.line("/Count "+Se),Ee.options&&Ee.options.pageNumber){var xe=x.internal.getPageInfo(Ee.options.pageNumber);this.line("/Dest ["+xe.objId+" 0 R /XYZ 0 "+ae(0)+" 0]")}this.objEnd()}for(var Ne=0;Ne<re.children.length;Ne++)this.renderItems(re.children[Ne])},x.outline.line=function(re){this.ctx.val+=re+`\r
|
|
|
`},x.outline.makeRef=function(re){return re.id+" 0 R"},x.outline.makeString=function(re){return"("+x.internal.pdfEscape(re)+")"},x.outline.objStart=function(re){this.ctx.val+=`\r
|
|
|
`+re.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},x.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},x.outline.count_r=function(re,ae){for(var se=0;se<ae.children.length;se++)re.count++,this.count_r(re,ae.children[se]);return re.count}}])}(Wa.API),function(b){var z=[192,193,194,195,196,197,198,199];b.processJPEG=function(x,re,ae,se,Ee,Se){var xe,Ne=this.decode.DCT_DECODE,We=null;if(typeof x=="string"||this.__addimage__.isArrayBuffer(x)||this.__addimage__.isArrayBufferView(x)){switch(x=Ee||x,x=this.__addimage__.isArrayBuffer(x)?new Uint8Array(x):x,xe=function(At){for(var mt,$e=256*At.charCodeAt(4)+At.charCodeAt(5),Mt=At.length,Tt={width:0,height:0,numcomponents:1},Ht=4;Ht<Mt;Ht+=2){if(Ht+=$e,z.indexOf(At.charCodeAt(Ht+1))!==-1){mt=256*At.charCodeAt(Ht+5)+At.charCodeAt(Ht+6),Tt={width:256*At.charCodeAt(Ht+7)+At.charCodeAt(Ht+8),height:mt,numcomponents:At.charCodeAt(Ht+9)};break}$e=256*At.charCodeAt(Ht+2)+At.charCodeAt(Ht+3)}return Tt}(x=this.__addimage__.isArrayBufferView(x)?this.__addimage__.arrayBufferToBinaryString(x):x),xe.numcomponents){case 1:Se=this.color_spaces.DEVICE_GRAY;break;case 4:Se=this.color_spaces.DEVICE_CMYK;break;case 3:Se=this.color_spaces.DEVICE_RGB}We={data:x,width:xe.width,height:xe.height,colorSpace:Se,bitsPerComponent:8,filter:Ne,index:re,alias:ae}}return We}}(Wa.API),Wa.API.processPNG=function(b,z,x,re){if(this.__addimage__.isArrayBuffer(b)&&(b=new Uint8Array(b)),this.__addimage__.isArrayBufferView(b)){var ae,se=Tf(b,{checkCrc:!0}),Ee=se.width,Se=se.height,xe=se.channels,Ne=se.palette,We=se.depth;ae=Ne&&xe===1?function(xn){for(var tn=xn.width,Mn=xn.height,Ft=xn.data,zt=xn.palette,pn=xn.depth,gn=!1,qn=[],rr=[],Ar=void 0,Zn=!1,cr=0,qr=0;qr<zt.length;qr++){var Lr=(0,ts.Z)(zt[qr],4),Ct=Lr[0],Yt=Lr[1],sn=Lr[2],Cn=Lr[3];qn.push(Ct,Yt,sn),Cn!=null&&(Cn===0?(cr++,rr.length<1&&rr.push(qr)):Cn<255&&(Zn=!0))}if(Zn||cr>1){gn=!0,rr=void 0;var Tn=tn*Mn;Ar=new Uint8Array(Tn);for(var Wn=new DataView(Ft.buffer),ir=0;ir<Tn;ir++){var nr=Km(Wn,ir,pn),Cr=(0,ts.Z)(zt[nr],4)[3];Ar[ir]=Cr}}else cr===0&&(rr=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:gn?8:void 0,colorBytes:Ft,alphaBytes:Ar,needSMask:gn,palette:qn,mask:rr}}(se):xe===2||xe===4?function(xn){for(var tn=xn.data,Mn=xn.width,Ft=xn.height,zt=xn.channels,pn=xn.depth,gn=zt===2?"DeviceGray":"DeviceRGB",qn=zt-1,rr=Mn*Ft,Ar=qn,Zn=rr*Ar,cr=1*rr,qr=Math.ceil(Zn*pn/8),Lr=Math.ceil(cr*pn/8),Ct=new Uint8Array(qr),Yt=new Uint8Array(Lr),sn=new DataView(tn.buffer),Cn=new DataView(Ct.buffer),Tn=new DataView(Yt.buffer),Wn=!1,ir=0;ir<rr;ir++){for(var nr=ir*zt,Cr=0;Cr<Ar;Cr++)Rp(Cn,Km(sn,nr+Cr,pn),ir*Ar+Cr,pn);var zr=Km(sn,nr+Ar,pn);zr<(1<<pn)-1&&(Wn=!0),Rp(Tn,zr,1*ir,pn)}return{colorSpace:gn,colorsPerPixel:qn,sMaskBitsPerComponent:Wn?pn:void 0,colorBytes:Ct,alphaBytes:Yt,needSMask:Wn}}(se):function(xn){var tn=xn.data,Mn=xn.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Mn,colorsPerPixel:Mn==="DeviceGray"?1:3,colorBytes:tn instanceof Uint16Array?function(Ft){for(var zt=Ft.length,pn=new Uint8Array(2*zt),gn=new DataView(pn.buffer,pn.byteOffset,pn.byteLength),qn=0;qn<zt;qn++)gn.setUint16(2*qn,Ft[qn],!1);return pn}(tn):tn,needSMask:!1}}(se);var At,mt,$e,Mt=ae,Tt=Mt.colorSpace,Ht=Mt.colorsPerPixel,xt=Mt.sMaskBitsPerComponent,Sn=Mt.colorBytes,cn=Mt.alphaBytes,qt=Mt.needSMask,Yn=Mt.palette,Br=Mt.mask,ar=null;return re!==Wa.API.image_compression.NONE&&typeof En=="function"?(ar=function(xn){var tn;switch(xn){case Wa.API.image_compression.FAST:tn=11;break;case Wa.API.image_compression.MEDIUM:tn=13;break;case Wa.API.image_compression.SLOW:tn=14;break;default:tn=12}return tn}(re),At=this.decode.FLATE_DECODE,mt="/Predictor ".concat(ar," /Colors ").concat(Ht," /BitsPerComponent ").concat(We," /Columns ").concat(Ee),b=Dp(Sn,Math.ceil(Ee*Ht*We/8),Ht,We,re),qt&&($e=Dp(cn,Math.ceil(Ee*xt/8),1,xt,re))):(At=void 0,mt=void 0,b=Sn,qt&&($e=cn)),(this.__addimage__.isArrayBuffer(b)||this.__addimage__.isArrayBufferView(b))&&(b=this.__addimage__.arrayBufferToBinaryString(b)),($e&&this.__addimage__.isArrayBuffer($e)||this.__addimage__.isArrayBufferView($e))&&($e=this.__addimage__.arrayBufferToBinaryString($e)),{alias:x,data:b,index:z,filter:At,decodeParameters:mt,transparency:Br,palette:Yn,sMask:$e,predictor:ar,width:Ee,height:Se,bitsPerComponent:We,sMaskBitsPerComponent:xt,colorSpace:Tt}}},function(b){b.processGIF89A=function(z,x,re,ae){var se=new Qv(z),Ee=se.width,Se=se.height,xe=[];se.decodeAndBlitFrameRGBA(0,xe);var Ne={data:xe,width:Ee,height:Se},We=new zm(100).encode(Ne,100);return b.processJPEG.call(this,We,x,re,ae)},b.processGIF87A=b.processGIF89A}(Wa.API),Cc.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var b=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(b);for(var z=0;z<b;z++){var x=this.datav.getUint8(this.pos++,!0),re=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0);this.palette[z]={red:ae,green:re,blue:x,quad:se}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Cc.prototype.parseBGR=function(){this.pos=this.offset;try{var b="bit"+this.bitPP,z=this.width*this.height*4;this.data=new Uint8Array(z),this[b]()}catch(x){cA.log("bit decode error:"+x)}},Cc.prototype.bit1=function(){var b,z=Math.ceil(this.width/8),x=z%4;for(b=this.height-1;b>=0;b--){for(var re=this.bottom_up?b:this.height-1-b,ae=0;ae<z;ae++)for(var se=this.datav.getUint8(this.pos++,!0),Ee=re*this.width*4+8*ae*4,Se=0;Se<8&&8*ae+Se<this.width;Se++){var xe=this.palette[se>>7-Se&1];this.data[Ee+4*Se]=xe.blue,this.data[Ee+4*Se+1]=xe.green,this.data[Ee+4*Se+2]=xe.red,this.data[Ee+4*Se+3]=255}x!==0&&(this.pos+=4-x)}},Cc.prototype.bit4=function(){for(var b=Math.ceil(this.width/2),z=b%4,x=this.height-1;x>=0;x--){for(var re=this.bottom_up?x:this.height-1-x,ae=0;ae<b;ae++){var se=this.datav.getUint8(this.pos++,!0),Ee=re*this.width*4+2*ae*4,Se=se>>4,xe=15&se,Ne=this.palette[Se];if(this.data[Ee]=Ne.blue,this.data[Ee+1]=Ne.green,this.data[Ee+2]=Ne.red,this.data[Ee+3]=255,2*ae+1>=this.width)break;Ne=this.palette[xe],this.data[Ee+4]=Ne.blue,this.data[Ee+4+1]=Ne.green,this.data[Ee+4+2]=Ne.red,this.data[Ee+4+3]=255}z!==0&&(this.pos+=4-z)}},Cc.prototype.bit8=function(){for(var b=this.width%4,z=this.height-1;z>=0;z--){for(var x=this.bottom_up?z:this.height-1-z,re=0;re<this.width;re++){var ae=this.datav.getUint8(this.pos++,!0),se=x*this.width*4+4*re;if(ae<this.palette.length){var Ee=this.palette[ae];this.data[se]=Ee.red,this.data[se+1]=Ee.green,this.data[se+2]=Ee.blue,this.data[se+3]=255}else this.data[se]=255,this.data[se+1]=255,this.data[se+2]=255,this.data[se+3]=255}b!==0&&(this.pos+=4-b)}},Cc.prototype.bit15=function(){for(var b=this.width%3,z=parseInt("11111",2),x=this.height-1;x>=0;x--){for(var re=this.bottom_up?x:this.height-1-x,ae=0;ae<this.width;ae++){var se=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ee=(se&z)/z*255|0,Se=(se>>5&z)/z*255|0,xe=(se>>10&z)/z*255|0,Ne=se>>15?255:0,We=re*this.width*4+4*ae;this.data[We]=xe,this.data[We+1]=Se,this.data[We+2]=Ee,this.data[We+3]=Ne}this.pos+=b}},Cc.prototype.bit16=function(){for(var b=this.width%3,z=parseInt("11111",2),x=parseInt("111111",2),re=this.height-1;re>=0;re--){for(var ae=this.bottom_up?re:this.height-1-re,se=0;se<this.width;se++){var Ee=this.datav.getUint16(this.pos,!0);this.pos+=2;var Se=(Ee&z)/z*255|0,xe=(Ee>>5&x)/x*255|0,Ne=(Ee>>11)/z*255|0,We=ae*this.width*4+4*se;this.data[We]=Ne,this.data[We+1]=xe,this.data[We+2]=Se,this.data[We+3]=255}this.pos+=b}},Cc.prototype.bit24=function(){for(var b=this.height-1;b>=0;b--){for(var z=this.bottom_up?b:this.height-1-b,x=0;x<this.width;x++){var re=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0),Ee=z*this.width*4+4*x;this.data[Ee]=se,this.data[Ee+1]=ae,this.data[Ee+2]=re,this.data[Ee+3]=255}this.pos+=this.width%4}},Cc.prototype.bit32=function(){for(var b=this.height-1;b>=0;b--)for(var z=this.bottom_up?b:this.height-1-b,x=0;x<this.width;x++){var re=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0),Ee=this.datav.getUint8(this.pos++,!0),Se=z*this.width*4+4*x;this.data[Se]=se,this.data[Se+1]=ae,this.data[Se+2]=re,this.data[Se+3]=Ee}},Cc.prototype.getData=function(){return this.data},function(b){b.processBMP=function(z,x,re,ae){var se=new Cc(z,!1),Ee=se.width,Se=se.height,xe={data:se.getData(),width:Ee,height:Se},Ne=new zm(100).encode(xe,100);return b.processJPEG.call(this,Ne,x,re,ae)}}(Wa.API),Hp.prototype.getData=function(){return this.data},function(b){b.processWEBP=function(z,x,re,ae){var se=new Hp(z),Ee=se.width,Se=se.height,xe={data:se.getData(),width:Ee,height:Se},Ne=new zm(100).encode(xe,100);return b.processJPEG.call(this,Ne,x,re,ae)}}(Wa.API),Wa.API.processRGBA=function(b,z,x){for(var re=b.data,ae=re.length,se=new Uint8Array(ae/4*3),Ee=new Uint8Array(ae/4),Se=0,xe=0,Ne=0;Ne<ae;Ne+=4){var We=re[Ne],At=re[Ne+1],mt=re[Ne+2],$e=re[Ne+3];se[Se++]=We,se[Se++]=At,se[Se++]=mt,Ee[xe++]=$e}var Mt=this.__addimage__.arrayBufferToBinaryString(se);return{alpha:this.__addimage__.arrayBufferToBinaryString(Ee),data:Mt,index:z,alias:x,colorSpace:"DeviceRGB",bitsPerComponent:8,width:b.width,height:b.height}},Wa.API.setLanguage=function(b){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[b]!==void 0&&(this.internal.languageSettings.languageCode=b,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Mf=Wa.API,Q0=Mf.getCharWidthsArray=function(b,z){var x,re,ae=(z=z||{}).font||this.internal.getFont(),se=z.fontSize||this.internal.getFontSize(),Ee=z.charSpace||this.internal.getCharSpace(),Se=z.widths?z.widths:ae.metadata.Unicode.widths,xe=Se.fof?Se.fof:1,Ne=z.kerning?z.kerning:ae.metadata.Unicode.kerning,We=Ne.fof?Ne.fof:1,At=z.doKerning!==!1,mt=0,$e=b.length,Mt=0,Tt=Se[0]||xe,Ht=[];for(x=0;x<$e;x++)re=b.charCodeAt(x),typeof ae.metadata.widthOfString=="function"?Ht.push((ae.metadata.widthOfGlyph(ae.metadata.characterToGlyph(re))+Ee*(1e3/se)||0)/1e3):(mt=At&&(0,Oe.Z)(Ne[re])==="object"&&!isNaN(parseInt(Ne[re][Mt],10))?Ne[re][Mt]/We:0,Ht.push((Se[re]||Tt)/xe+mt)),Mt=re;return Ht},Ip=Mf.getStringUnitWidth=function(b,z){var x=(z=z||{}).fontSize||this.internal.getFontSize(),re=z.font||this.internal.getFont(),ae=z.charSpace||this.internal.getCharSpace();return Mf.processArabic&&(b=Mf.processArabic(b)),typeof re.metadata.widthOfString=="function"?re.metadata.widthOfString(b,x,ae)/x:Q0.apply(this,arguments).reduce(function(se,Ee){return se+Ee},0)},Up=function(b,z,x,re){for(var ae=[],se=0,Ee=b.length,Se=0;se!==Ee&&Se+z[se]<x;)Se+=z[se],se++;ae.push(b.slice(0,se));var xe=se;for(Se=0;se!==Ee;)Se+z[se]>re&&(ae.push(b.slice(xe,se)),Se=0,xe=se),Se+=z[se],se++;return xe!==se&&ae.push(b.slice(xe,se)),ae},Np=function(b,z,x){x||(x={});var re,ae,se,Ee,Se,xe,Ne,We=[],At=[We],mt=x.textIndent||0,$e=0,Mt=0,Tt=b.split(" "),Ht=Q0.apply(this,[" ",x])[0];if(xe=x.lineIndent===-1?Tt[0].length+2:x.lineIndent||0){var xt=Array(xe).join(" "),Sn=[];Tt.map(function(qt){(qt=qt.split(/\s*\n/)).length>1?Sn=Sn.concat(qt.map(function(Yn,Br){return(Br&&Yn.length?`
|
|
|
`:"")+Yn})):Sn.push(qt[0])}),Tt=Sn,xe=Ip.apply(this,[xt,x])}for(se=0,Ee=Tt.length;se<Ee;se++){var cn=0;if(re=Tt[se],xe&&re[0]==`
|
|
|
`&&(re=re.substr(1),cn=1),mt+$e+(Mt=(ae=Q0.apply(this,[re,x])).reduce(function(qt,Yn){return qt+Yn},0))>z||cn){if(Mt>z){for(Se=Up.apply(this,[re,ae,z-(mt+$e),z]),We.push(Se.shift()),We=[Se.pop()];Se.length;)At.push([Se.shift()]);Mt=ae.slice(re.length-(We[0]?We[0].length:0)).reduce(function(qt,Yn){return qt+Yn},0)}else We=[re];At.push(We),mt=Mt+xe,$e=Ht}else We.push(re),mt+=$e+Mt,$e=Ht}return Ne=xe?function(qt,Yn){return(Yn?xt:"")+qt.join(" ")}:function(qt){return qt.join(" ")},At.map(Ne)},Mf.splitTextToSize=function(b,z,x){var re,ae=(x=x||{}).fontSize||this.internal.getFontSize(),se=function(We){if(We.widths&&We.kerning)return{widths:We.widths,kerning:We.kerning};var At=this.internal.getFont(We.fontName,We.fontStyle),mt="Unicode";return At.metadata[mt]?{widths:At.metadata[mt].widths||{0:1},kerning:At.metadata[mt].kerning||{}}:{font:At.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,x);re=Array.isArray(b)?b:String(b).split(/\r?\n/);var Ee=1*this.internal.scaleFactor*z/ae;se.textIndent=x.textIndent?1*x.textIndent*this.internal.scaleFactor/ae:0,se.lineIndent=x.lineIndent;var Se,xe,Ne=[];for(Se=0,xe=re.length;Se<xe;Se++)Ne=Ne.concat(Np.apply(this,[re[Se],Ee,se]));return Ne},function(b){b.__fontmetrics__=b.__fontmetrics__||{};for(var z="0123456789abcdef",x="klmnopqrstuvwxyz",re={},ae={},se=0;se<16;se++)re[x[se]]=z[se],ae[z[se]]=x[se];var Ee=function(mt){return"0x"+parseInt(mt,10).toString(16)},Se=b.__fontmetrics__.compress=function(mt){var $e,Mt,Tt,Ht,xt=["{"];for(var Sn in mt){if($e=mt[Sn],isNaN(parseInt(Sn,10))?Mt="'"+Sn+"'":(Sn=parseInt(Sn,10),Mt=(Mt=Ee(Sn).slice(2)).slice(0,-1)+ae[Mt.slice(-1)]),typeof $e=="number")$e<0?(Tt=Ee($e).slice(3),Ht="-"):(Tt=Ee($e).slice(2),Ht=""),Tt=Ht+Tt.slice(0,-1)+ae[Tt.slice(-1)];else{if((0,Oe.Z)($e)!=="object")throw new Error("Don't know what to do with value type "+(0,Oe.Z)($e)+".");Tt=Se($e)}xt.push(Mt+Tt)}return xt.push("}"),xt.join("")},xe=b.__fontmetrics__.uncompress=function(mt){if(typeof mt!="string")throw new Error("Invalid argument passed to uncompress.");for(var $e,Mt,Tt,Ht,xt={},Sn=1,cn=xt,qt=[],Yn="",Br="",ar=mt.length-1,xn=1;xn<ar;xn+=1)(Ht=mt[xn])=="'"?$e?(Tt=$e.join(""),$e=void 0):$e=[]:$e?$e.push(Ht):Ht=="{"?(qt.push([cn,Tt]),cn={},Tt=void 0):Ht=="}"?((Mt=qt.pop())[0][Mt[1]]=cn,Tt=void 0,cn=Mt[0]):Ht=="-"?Sn=-1:Tt===void 0?re.hasOwnProperty(Ht)?(Yn+=re[Ht],Tt=parseInt(Yn,16)*Sn,Sn=1,Yn=""):Yn+=Ht:re.hasOwnProperty(Ht)?(Br+=re[Ht],cn[Tt]=parseInt(Br,16)*Sn,Sn=1,Tt=void 0,Br=""):Br+=Ht;return xt},Ne={codePages:["WinAnsiEncoding"],WinAnsiEncoding:xe("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},We={Unicode:{Courier:Ne,"Courier-Bold":Ne,"Courier-BoldOblique":Ne,"Courier-Oblique":Ne,Helvetica:Ne,"Helvetica-Bold":Ne,"Helvetica-BoldOblique":Ne,"Helvetica-Oblique":Ne,"Times-Roman":Ne,"Times-Bold":Ne,"Times-BoldItalic":Ne,"Times-Italic":Ne}},At={Unicode:{"Courier-Oblique":xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":xe("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":xe("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":xe("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:xe("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:xe("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":xe("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:xe("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":xe("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":xe("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":xe("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};b.events.push(["addFont",function(mt){var $e=mt.font,Mt=At.Unicode[$e.postScriptName];Mt&&($e.metadata.Unicode={},$e.metadata.Unicode.widths=Mt.widths,$e.metadata.Unicode.kerning=Mt.kerning);var Tt=We.Unicode[$e.postScriptName];Tt&&($e.metadata.Unicode.encoding=Tt,$e.encoding=Tt.codePages[0])}])}(Wa.API),function(b){var z=function(x){for(var re=x.length,ae=new Uint8Array(re),se=0;se<re;se++)ae[se]=x.charCodeAt(se);return ae};b.API.events.push(["addFont",function(x){var re=void 0,ae=x.font,se=x.instance;if(!ae.isStandardFont){if(se===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ae.postScriptName+"').");if(typeof(re=se.existsFileInVFS(ae.postScriptName)===!1?se.loadFile(ae.postScriptName):se.getFileFromVFS(ae.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ae.postScriptName+"').");(function(Ee,Se){Se=/^\x00\x01\x00\x00/.test(Se)?z(Se):z(Kg(Se)),Ee.metadata=b.API.TTFFont.open(Se),Ee.metadata.Unicode=Ee.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ee.metadata.glyIdsUsed=[0]})(ae,re)}}])}(Wa),Wa.API.addSvgAsImage=function(b,z,x,re,ae,se,Ee,Se){if(isNaN(z)||isNaN(x))throw cA.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(re)||isNaN(ae))throw cA.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var xe=document.createElement("canvas");xe.width=re,xe.height=ae;var Ne=xe.getContext("2d");Ne.fillStyle="#fff",Ne.fillRect(0,0,xe.width,xe.height);var We={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},At=this;return(Fo.canvg?Promise.resolve(Fo.canvg):we.e(3754).then(we.bind(we,63754))).catch(function(mt){return Promise.reject(new Error("Could not load canvg: "+mt))}).then(function(mt){return mt.default?mt.default:mt}).then(function(mt){return mt.fromString(Ne,b,We)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(mt){return mt.render(We)}).then(function(){At.addImage(xe.toDataURL("image/jpeg",1),z,x,re,ae,Ee,Se)})},Wa.API.putTotalPages=function(b){var z,x=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(z=new RegExp(b,"g"),x=this.internal.getNumberOfPages()):(z=new RegExp(this.pdfEscape16(b,this.internal.getFont()),"g"),x=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var re=1;re<=this.internal.getNumberOfPages();re++)for(var ae=0;ae<this.internal.pages[re].length;ae++)this.internal.pages[re][ae]=this.internal.pages[re][ae].replace(z,x);return this},Wa.API.viewerPreferences=function(b,z){var x;b=b||{},z=z||!1;var re,ae,se,Ee={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Se=Object.keys(Ee),xe=[],Ne=0,We=0,At=0;function mt(Mt,Tt){var Ht,xt=!1;for(Ht=0;Ht<Mt.length;Ht+=1)Mt[Ht]===Tt&&(xt=!0);return xt}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ee)),this.internal.viewerpreferences.isSubscribed=!1),x=this.internal.viewerpreferences.configuration,b==="reset"||z===!0){var $e=Se.length;for(At=0;At<$e;At+=1)x[Se[At]].value=x[Se[At]].defaultValue,x[Se[At]].explicitSet=!1}if((0,Oe.Z)(b)==="object"){for(ae in b)if(se=b[ae],mt(Se,ae)&&se!==void 0){if(x[ae].type==="boolean"&&typeof se=="boolean")x[ae].value=se;else if(x[ae].type==="name"&&mt(x[ae].valueSet,se))x[ae].value=se;else if(x[ae].type==="integer"&&Number.isInteger(se))x[ae].value=se;else if(x[ae].type==="array"){for(Ne=0;Ne<se.length;Ne+=1)if(re=!0,se[Ne].length===1&&typeof se[Ne][0]=="number")xe.push(String(se[Ne]-1));else if(se[Ne].length>1){for(We=0;We<se[Ne].length;We+=1)typeof se[Ne][We]!="number"&&(re=!1);re===!0&&xe.push([se[Ne][0]-1,se[Ne][1]-1].join(" "))}x[ae].value="["+xe.join(" ")+"]"}else x[ae].value=x[ae].defaultValue;x[ae].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Mt,Tt=[];for(Mt in x)x[Mt].explicitSet===!0&&(x[Mt].type==="name"?Tt.push("/"+Mt+" /"+x[Mt].value):Tt.push("/"+Mt+" "+x[Mt].value));Tt.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+Tt.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=x,this},function(b){var z=function(){var re='<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>',ae=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),se=unescape(encodeURIComponent(re)),Ee=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Se=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),xe=unescape(encodeURIComponent("</x:xmpmeta>")),Ne=se.length+Ee.length+Se.length+ae.length+xe.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ne+" >>"),this.internal.write("stream"),this.internal.write(ae+se+Ee+Se+xe),this.internal.write("endstream"),this.internal.write("endobj")},x=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};b.addMetadata=function(re,ae){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:re,namespaceuri:ae||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",x),this.internal.events.subscribe("postPutResources",z)),this}}(Wa.API),function(b){var z=b.API,x=z.pdfEscape16=function(se,Ee){for(var Se,xe=Ee.metadata.Unicode.widths,Ne=["","0","00","000","0000"],We=[""],At=0,mt=se.length;At<mt;++At){if(Se=Ee.metadata.characterToGlyph(se.charCodeAt(At)),Ee.metadata.glyIdsUsed.push(Se),Ee.metadata.toUnicode[Se]=se.charCodeAt(At),xe.indexOf(Se)==-1&&(xe.push(Se),xe.push([parseInt(Ee.metadata.widthOfGlyph(Se),10)])),Se=="0")return We.join("");Se=Se.toString(16),We.push(Ne[4-Se.length],Se)}return We.join("")},re=function(se){var Ee,Se,xe,Ne,We,At,mt;for(We=`/CIDInit /ProcSet findresource begin
|
|
|
12 dict begin
|
|
|
begincmap
|
|
|
/CIDSystemInfo <<
|
|
|
/Registry (Adobe)
|
|
|
/Ordering (UCS)
|
|
|
/Supplement 0
|
|
|
>> def
|
|
|
/CMapName /Adobe-Identity-UCS def
|
|
|
/CMapType 2 def
|
|
|
1 begincodespacerange
|
|
|
<0000><ffff>
|
|
|
endcodespacerange`,xe=[],At=0,mt=(Se=Object.keys(se).sort(function($e,Mt){return $e-Mt})).length;At<mt;At++)Ee=Se[At],xe.length>=100&&(We+=`
|
|
|
`+xe.length+` beginbfchar
|
|
|
`+xe.join(`
|
|
|
`)+`
|
|
|
endbfchar`,xe=[]),se[Ee]!==void 0&&se[Ee]!==null&&typeof se[Ee].toString=="function"&&(Ne=("0000"+se[Ee].toString(16)).slice(-4),Ee=("0000"+(+Ee).toString(16)).slice(-4),xe.push("<"+Ee+"><"+Ne+">"));return xe.length&&(We+=`
|
|
|
`+xe.length+` beginbfchar
|
|
|
`+xe.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),We+`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};z.events.push(["putFont",function(se){(function(Ee){var Se=Ee.font,xe=Ee.out,Ne=Ee.newObject,We=Ee.putStream;if(Se.metadata instanceof b.API.TTFFont&&Se.encoding==="Identity-H"){for(var At=Se.metadata.Unicode.widths,mt=Se.metadata.subset.encode(Se.metadata.glyIdsUsed,1),$e="",Mt=0;Mt<mt.length;Mt++)$e+=String.fromCharCode(mt[Mt]);var Tt=Ne();We({data:$e,addLength1:!0,objectId:Tt}),xe("endobj");var Ht=Ne();We({data:re(Se.metadata.toUnicode),addLength1:!0,objectId:Ht}),xe("endobj");var xt=Ne();xe("<<"),xe("/Type /FontDescriptor"),xe("/FontName /"+Fu(Se.fontName)),xe("/FontFile2 "+Tt+" 0 R"),xe("/FontBBox "+b.API.PDFObject.convert(Se.metadata.bbox)),xe("/Flags "+Se.metadata.flags),xe("/StemV "+Se.metadata.stemV),xe("/ItalicAngle "+Se.metadata.italicAngle),xe("/Ascent "+Se.metadata.ascender),xe("/Descent "+Se.metadata.decender),xe("/CapHeight "+Se.metadata.capHeight),xe(">>"),xe("endobj");var Sn=Ne();xe("<<"),xe("/Type /Font"),xe("/BaseFont /"+Fu(Se.fontName)),xe("/FontDescriptor "+xt+" 0 R"),xe("/W "+b.API.PDFObject.convert(At)),xe("/CIDToGIDMap /Identity"),xe("/DW 1000"),xe("/Subtype /CIDFontType2"),xe("/CIDSystemInfo"),xe("<<"),xe("/Supplement 0"),xe("/Registry (Adobe)"),xe("/Ordering ("+Se.encoding+")"),xe(">>"),xe(">>"),xe("endobj"),Se.objectNumber=Ne(),xe("<<"),xe("/Type /Font"),xe("/Subtype /Type0"),xe("/ToUnicode "+Ht+" 0 R"),xe("/BaseFont /"+Fu(Se.fontName)),xe("/Encoding /"+Se.encoding),xe("/DescendantFonts ["+Sn+" 0 R]"),xe(">>"),xe("endobj"),Se.isAlreadyPutted=!0}})(se)}]),z.events.push(["putFont",function(se){(function(Ee){var Se=Ee.font,xe=Ee.out,Ne=Ee.newObject,We=Ee.putStream;if(Se.metadata instanceof b.API.TTFFont&&Se.encoding==="WinAnsiEncoding"){for(var At=Se.metadata.rawData,mt="",$e=0;$e<At.length;$e++)mt+=String.fromCharCode(At[$e]);var Mt=Ne();We({data:mt,addLength1:!0,objectId:Mt}),xe("endobj");var Tt=Ne();We({data:re(Se.metadata.toUnicode),addLength1:!0,objectId:Tt}),xe("endobj");var Ht=Ne();xe("<<"),xe("/Descent "+Se.metadata.decender),xe("/CapHeight "+Se.metadata.capHeight),xe("/StemV "+Se.metadata.stemV),xe("/Type /FontDescriptor"),xe("/FontFile2 "+Mt+" 0 R"),xe("/Flags 96"),xe("/FontBBox "+b.API.PDFObject.convert(Se.metadata.bbox)),xe("/FontName /"+Fu(Se.fontName)),xe("/ItalicAngle "+Se.metadata.italicAngle),xe("/Ascent "+Se.metadata.ascender),xe(">>"),xe("endobj"),Se.objectNumber=Ne();for(var xt=0;xt<Se.metadata.hmtx.widths.length;xt++)Se.metadata.hmtx.widths[xt]=parseInt(Se.metadata.hmtx.widths[xt]*(1e3/Se.metadata.head.unitsPerEm));xe("<</Subtype/TrueType/Type/Font/ToUnicode "+Tt+" 0 R/BaseFont/"+Fu(Se.fontName)+"/FontDescriptor "+Ht+" 0 R/Encoding/"+Se.encoding+" /FirstChar 29 /LastChar 255 /Widths "+b.API.PDFObject.convert(Se.metadata.hmtx.widths)+">>"),xe("endobj"),Se.isAlreadyPutted=!0}})(se)}]);var ae=function(se){var Ee,Se=se.text||"",xe=se.x,Ne=se.y,We=se.options||{},At=se.mutex||{},mt=At.pdfEscape,$e=At.activeFontKey,Mt=At.fonts,Tt=$e,Ht="",xt=0,Sn="",cn=Mt[Tt].encoding;if(Mt[Tt].encoding!=="Identity-H")return{text:Se,x:xe,y:Ne,options:We,mutex:At};for(Sn=Se,Tt=$e,Array.isArray(Se)&&(Sn=Se[0]),xt=0;xt<Sn.length;xt+=1)Mt[Tt].metadata.hasOwnProperty("cmap")&&(Ee=Mt[Tt].metadata.cmap.unicode.codeMap[Sn[xt].charCodeAt(0)]),Ee||Sn[xt].charCodeAt(0)<256&&Mt[Tt].metadata.hasOwnProperty("Unicode")?Ht+=Sn[xt]:Ht+="";var qt="";return parseInt(Tt.slice(1))<14||cn==="WinAnsiEncoding"?qt=mt(Ht,Tt).split("").map(function(Yn){return Yn.charCodeAt(0).toString(16)}).join(""):cn==="Identity-H"&&(qt=x(Ht,Mt[Tt])),At.isHex=!0,{text:qt,x:xe,y:Ne,options:We,mutex:At}};z.events.push(["postProcessText",function(se){var Ee=se.text||"",Se=[],xe={text:Ee,x:se.x,y:se.y,options:se.options,mutex:se.mutex};if(Array.isArray(Ee)){var Ne=0;for(Ne=0;Ne<Ee.length;Ne+=1)Array.isArray(Ee[Ne])&&Ee[Ne].length===3?Se.push([ae(Object.assign({},xe,{text:Ee[Ne][0]})).text,Ee[Ne][1],Ee[Ne][2]]):Se.push(ae(Object.assign({},xe,{text:Ee[Ne]})).text);se.text=Se}else se.text=ae(Object.assign({},xe,{text:Ee})).text}])}(Wa),function(b){var z=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};b.existsFileInVFS=function(x){return z.call(this),this.internal.vFS[x]!==void 0},b.addFileToVFS=function(x,re){return z.call(this),this.internal.vFS[x]=re,this},b.getFileFromVFS=function(x){return z.call(this),this.internal.vFS[x]!==void 0?this.internal.vFS[x]:null}}(Wa.API),function(b){b.__bidiEngine__=b.prototype.__bidiEngine__=function(re){var ae,se,Ee,Se,xe,Ne,We,At=z,mt=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],$e=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],Mt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Tt={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Ht=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],xt=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Sn=!1,cn=0;this.__bidiEngine__={};var qt=function(Ft){var zt=Ft.charCodeAt(),pn=zt>>8,gn=Tt[pn];return gn!==void 0?At[256*gn+(255&zt)]:pn===252||pn===253?"AL":xt.test(pn)?"L":pn===8?"R":"N"},Yn=function(Ft){for(var zt,pn=0;pn<Ft.length;pn++){if((zt=qt(Ft.charAt(pn)))==="L")return!1;if(zt==="R")return!0}return!1},Br=function(Ft,zt,pn,gn){var qn,rr,Ar,Zn,cr=zt[gn];switch(cr){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Sn=!1;break;case"N":case"AN":break;case"EN":Sn&&(cr="AN");break;case"AL":Sn=!0,cr="R";break;case"WS":case"BN":cr="N";break;case"CS":gn<1||gn+1>=zt.length||(qn=pn[gn-1])!=="EN"&&qn!=="AN"||(rr=zt[gn+1])!=="EN"&&rr!=="AN"?cr="N":Sn&&(rr="AN"),cr=rr===qn?rr:"N";break;case"ES":cr=(qn=gn>0?pn[gn-1]:"B")==="EN"&&gn+1<zt.length&&zt[gn+1]==="EN"?"EN":"N";break;case"ET":if(gn>0&&pn[gn-1]==="EN"){cr="EN";break}if(Sn){cr="N";break}for(Ar=gn+1,Zn=zt.length;Ar<Zn&&zt[Ar]==="ET";)Ar++;cr=Ar<Zn&&zt[Ar]==="EN"?"EN":"N";break;case"NSM":if(Ee&&!Se){for(Zn=zt.length,Ar=gn+1;Ar<Zn&&zt[Ar]==="NSM";)Ar++;if(Ar<Zn){var qr=Ft[gn],Lr=qr>=1425&&qr<=2303||qr===64286;if(qn=zt[Ar],Lr&&(qn==="R"||qn==="AL")){cr="R";break}}}cr=gn<1||(qn=zt[gn-1])==="B"?"N":pn[gn-1];break;case"B":Sn=!1,ae=!0,cr=cn;break;case"S":se=!0,cr="N"}return cr},ar=function(Ft,zt,pn){var gn=Ft.split("");return pn&&xn(gn,pn,{hiLevel:cn}),gn.reverse(),zt&&zt.reverse(),gn.join("")},xn=function(Ft,zt,pn){var gn,qn,rr,Ar,Zn,cr=-1,qr=Ft.length,Lr=0,Ct=[],Yt=cn?$e:mt,sn=[];for(Sn=!1,ae=!1,se=!1,qn=0;qn<qr;qn++)sn[qn]=qt(Ft[qn]);for(rr=0;rr<qr;rr++){if(Zn=Lr,Ct[rr]=Br(Ft,sn,Ct,rr),gn=240&(Lr=Yt[Zn][Mt[Ct[rr]]]),Lr&=15,zt[rr]=Ar=Yt[Lr][5],gn>0)if(gn===16){for(qn=cr;qn<rr;qn++)zt[qn]=1;cr=-1}else cr=-1;if(Yt[Lr][6])cr===-1&&(cr=rr);else if(cr>-1){for(qn=cr;qn<rr;qn++)zt[qn]=Ar;cr=-1}sn[rr]==="B"&&(zt[rr]=0),pn.hiLevel|=Ar}se&&function(Cn,Tn,Wn){for(var ir=0;ir<Wn;ir++)if(Cn[ir]==="S"){Tn[ir]=cn;for(var nr=ir-1;nr>=0&&Cn[nr]==="WS";nr--)Tn[nr]=cn}}(sn,zt,qr)},tn=function(Ft,zt,pn,gn,qn){if(!(qn.hiLevel<Ft)){if(Ft===1&&cn===1&&!ae)return zt.reverse(),void(pn&&pn.reverse());for(var rr,Ar,Zn,cr,qr=zt.length,Lr=0;Lr<qr;){if(gn[Lr]>=Ft){for(Zn=Lr+1;Zn<qr&&gn[Zn]>=Ft;)Zn++;for(cr=Lr,Ar=Zn-1;cr<Ar;cr++,Ar--)rr=zt[cr],zt[cr]=zt[Ar],zt[Ar]=rr,pn&&(rr=pn[cr],pn[cr]=pn[Ar],pn[Ar]=rr);Lr=Zn}Lr++}}},Mn=function(Ft,zt,pn){var gn=Ft.split(""),qn={hiLevel:cn};return pn||(pn=[]),xn(gn,pn,qn),function(rr,Ar,Zn){if(Zn.hiLevel!==0&&We)for(var cr,qr=0;qr<rr.length;qr++)Ar[qr]===1&&(cr=Ht.indexOf(rr[qr]))>=0&&(rr[qr]=Ht[cr+1])}(gn,pn,qn),tn(2,gn,zt,pn,qn),tn(1,gn,zt,pn,qn),gn.join("")};return this.__bidiEngine__.doBidiReorder=function(Ft,zt,pn){if(function(qn,rr){if(rr)for(var Ar=0;Ar<qn.length;Ar++)rr[Ar]=Ar;Se===void 0&&(Se=Yn(qn)),Ne===void 0&&(Ne=Yn(qn))}(Ft,zt),Ee||!xe||Ne)if(Ee&&xe&&Se^Ne)cn=Se?1:0,Ft=ar(Ft,zt,pn);else if(!Ee&&xe&&Ne)cn=Se?1:0,Ft=Mn(Ft,zt,pn),Ft=ar(Ft,zt);else if(!Ee||Se||xe||Ne){if(Ee&&!xe&&Se^Ne)Ft=ar(Ft,zt),Se?(cn=0,Ft=Mn(Ft,zt,pn)):(cn=1,Ft=Mn(Ft,zt,pn),Ft=ar(Ft,zt));else if(Ee&&Se&&!xe&&Ne)cn=1,Ft=Mn(Ft,zt,pn),Ft=ar(Ft,zt);else if(!Ee&&!xe&&Se^Ne){var gn=We;Se?(cn=1,Ft=Mn(Ft,zt,pn),cn=0,We=!1,Ft=Mn(Ft,zt,pn),We=gn):(cn=0,Ft=Mn(Ft,zt,pn),Ft=ar(Ft,zt),cn=1,We=!1,Ft=Mn(Ft,zt,pn),We=gn,Ft=ar(Ft,zt))}}else cn=0,Ft=Mn(Ft,zt,pn);else cn=Se?1:0,Ft=Mn(Ft,zt,pn);return Ft},this.__bidiEngine__.setOptions=function(Ft){Ft&&(Ee=Ft.isInputVisual,xe=Ft.isOutputVisual,Se=Ft.isInputRtl,Ne=Ft.isOutputRtl,We=Ft.isSymmetricSwapping)},this.__bidiEngine__.setOptions(re),this.__bidiEngine__};var z=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],x=new b.__bidiEngine__({isInputVisual:!0});b.API.events.push(["postProcessText",function(re){var ae=re.text;re.x,re.y;var se=re.options||{};re.mutex,se.lang;var Ee=[];if(se.isInputVisual=typeof se.isInputVisual!="boolean"||se.isInputVisual,x.setOptions(se),Object.prototype.toString.call(ae)==="[object Array]"){var Se=0;for(Ee=[],Se=0;Se<ae.length;Se+=1)Object.prototype.toString.call(ae[Se])==="[object Array]"?Ee.push([x.doBidiReorder(ae[Se][0]),ae[Se][1],ae[Se][2]]):Ee.push([x.doBidiReorder(ae[Se])]);re.text=Ee}else re.text=x.doBidiReorder(ae);x.setOptions({isInputVisual:!0})}])}(Wa),Wa.API.TTFFont=function(){function b(z){var x;if(this.rawData=z,x=this.contents=new rg(z),this.contents.pos=4,x.readString(4)==="ttcf")throw new Error("TTCF not supported.");x.pos=0,this.parse(),this.subset=new Yv(this),this.registerTTF()}return b.open=function(z){return new b(z)},b.prototype.parse=function(){return this.directory=new Tv(this.contents),this.head=new Rv(this),this.name=new zv(this),this.cmap=new zp(this),this.toUnicode={},this.hhea=new jv(this),this.maxp=new Gv(this),this.hmtx=new $v(this),this.post=new Hv(this),this.os2=new Mv(this),this.loca=new Xv(this),this.glyf=new Zv(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},b.prototype.registerTTF=function(){var z,x,re,ae,se;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Ee,Se,xe,Ne;for(Ne=[],Ee=0,Se=(xe=this.bbox).length;Ee<Se;Ee++)z=xe[Ee],Ne.push(Math.round(z*this.scaleFactor));return Ne}.call(this),this.stemV=0,this.post.exists?(re=255&(ae=this.post.italic_angle),32768&(x=ae>>16)&&(x=-(1+(65535^x))),this.italicAngle=+(x+"."+re)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(se=this.familyClass)===1||se===2||se===3||se===4||se===5||se===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},b.prototype.characterToGlyph=function(z){var x;return((x=this.cmap.unicode)!=null?x.codeMap[z]:void 0)||0},b.prototype.widthOfGlyph=function(z){var x;return x=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(z).advance*x},b.prototype.widthOfString=function(z,x,re){var ae,se,Ee,Se;for(Ee=0,se=0,Se=(z=""+z).length;0<=Se?se<Se:se>Se;se=0<=Se?++se:--se)ae=z.charCodeAt(se),Ee+=this.widthOfGlyph(this.characterToGlyph(ae))+re*(1e3/x)||0;return Ee*(x/1e3)},b.prototype.lineHeight=function(z,x){var re;return x==null&&(x=!1),re=x?this.lineGap:0,(this.ascender+re-this.decender)/1e3*z},b}();var Pc,rg=function(){function b(z){this.data=z!=null?z:[],this.pos=0,this.length=this.data.length}return b.prototype.readByte=function(){return this.data[this.pos++]},b.prototype.writeByte=function(z){return this.data[this.pos++]=z},b.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},b.prototype.writeUInt32=function(z){return this.writeByte(z>>>24&255),this.writeByte(z>>16&255),this.writeByte(z>>8&255),this.writeByte(255&z)},b.prototype.readInt32=function(){var z;return(z=this.readUInt32())>=2147483648?z-4294967296:z},b.prototype.writeInt32=function(z){return z<0&&(z+=4294967296),this.writeUInt32(z)},b.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},b.prototype.writeUInt16=function(z){return this.writeByte(z>>8&255),this.writeByte(255&z)},b.prototype.readInt16=function(){var z;return(z=this.readUInt16())>=32768?z-65536:z},b.prototype.writeInt16=function(z){return z<0&&(z+=65536),this.writeUInt16(z)},b.prototype.readString=function(z){var x,re;for(re=[],x=0;0<=z?x<z:x>z;x=0<=z?++x:--x)re[x]=String.fromCharCode(this.readByte());return re.join("")},b.prototype.writeString=function(z){var x,re,ae;for(ae=[],x=0,re=z.length;0<=re?x<re:x>re;x=0<=re?++x:--x)ae.push(this.writeByte(z.charCodeAt(x)));return ae},b.prototype.readShort=function(){return this.readInt16()},b.prototype.writeShort=function(z){return this.writeInt16(z)},b.prototype.readLongLong=function(){var z,x,re,ae,se,Ee,Se,xe;return z=this.readByte(),x=this.readByte(),re=this.readByte(),ae=this.readByte(),se=this.readByte(),Ee=this.readByte(),Se=this.readByte(),xe=this.readByte(),128&z?-1*(72057594037927940*(255^z)+281474976710656*(255^x)+1099511627776*(255^re)+4294967296*(255^ae)+16777216*(255^se)+65536*(255^Ee)+256*(255^Se)+(255^xe)+1):72057594037927940*z+281474976710656*x+1099511627776*re+4294967296*ae+16777216*se+65536*Ee+256*Se+xe},b.prototype.writeLongLong=function(z){var x,re;return x=Math.floor(z/4294967296),re=4294967295&z,this.writeByte(x>>24&255),this.writeByte(x>>16&255),this.writeByte(x>>8&255),this.writeByte(255&x),this.writeByte(re>>24&255),this.writeByte(re>>16&255),this.writeByte(re>>8&255),this.writeByte(255&re)},b.prototype.readInt=function(){return this.readInt32()},b.prototype.writeInt=function(z){return this.writeInt32(z)},b.prototype.read=function(z){var x,re;for(x=[],re=0;0<=z?re<z:re>z;re=0<=z?++re:--re)x.push(this.readByte());return x},b.prototype.write=function(z){var x,re,ae,se;for(se=[],re=0,ae=z.length;re<ae;re++)x=z[re],se.push(this.writeByte(x));return se},b}(),Tv=function(){var b;function z(x){var re,ae,se;for(this.scalarType=x.readInt(),this.tableCount=x.readShort(),this.searchRange=x.readShort(),this.entrySelector=x.readShort(),this.rangeShift=x.readShort(),this.tables={},ae=0,se=this.tableCount;0<=se?ae<se:ae>se;ae=0<=se?++ae:--ae)re={tag:x.readString(4),checksum:x.readInt(),offset:x.readInt(),length:x.readInt()},this.tables[re.tag]=re}return z.prototype.encode=function(x){var re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt;for(Tt in $e=Object.keys(x).length,xe=Math.log(2),At=16*Math.floor(Math.log($e)/xe),Ee=Math.floor(At/xe),We=16*$e-At,(ae=new rg).writeInt(this.scalarType),ae.writeShort($e),ae.writeShort(At),ae.writeShort(Ee),ae.writeShort(We),se=16*$e,Ne=ae.pos+se,Se=null,Mt=[],x)for(mt=x[Tt],ae.writeString(Tt),ae.writeInt(b(mt)),ae.writeInt(Ne),ae.writeInt(mt.length),Mt=Mt.concat(mt),Tt==="head"&&(Se=Ne),Ne+=mt.length;Ne%4;)Mt.push(0),Ne++;return ae.write(Mt),re=2981146554-b(ae.data),ae.pos=Se+8,ae.writeUInt32(re),ae.data},b=function(x){var re,ae,se,Ee;for(x=Gp.call(x);x.length%4;)x.push(0);for(se=new rg(x),ae=0,re=0,Ee=x.length;re<Ee;re=re+=4)ae+=se.readUInt32();return 4294967295&ae},z}(),kv={}.hasOwnProperty,rd=function(b,z){for(var x in z)kv.call(z,x)&&(b[x]=z[x]);function re(){this.constructor=b}return re.prototype=z.prototype,b.prototype=new re,b.__super__=z.prototype,b};Pc=function(){function b(z){var x;this.file=z,x=this.file.directory.tables[this.tag],this.exists=!!x,x&&(this.offset=x.offset,this.length=x.length,this.parse(this.file.contents))}return b.prototype.parse=function(){},b.prototype.encode=function(){},b.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},b}();var Rv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="head",b.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.revision=z.readInt(),this.checkSumAdjustment=z.readInt(),this.magicNumber=z.readInt(),this.flags=z.readShort(),this.unitsPerEm=z.readShort(),this.created=z.readLongLong(),this.modified=z.readLongLong(),this.xMin=z.readShort(),this.yMin=z.readShort(),this.xMax=z.readShort(),this.yMax=z.readShort(),this.macStyle=z.readShort(),this.lowestRecPPEM=z.readShort(),this.fontDirectionHint=z.readShort(),this.indexToLocFormat=z.readShort(),this.glyphDataFormat=z.readShort()},b.prototype.encode=function(z){var x;return(x=new rg).writeInt(this.version),x.writeInt(this.revision),x.writeInt(this.checkSumAdjustment),x.writeInt(this.magicNumber),x.writeShort(this.flags),x.writeShort(this.unitsPerEm),x.writeLongLong(this.created),x.writeLongLong(this.modified),x.writeShort(this.xMin),x.writeShort(this.yMin),x.writeShort(this.xMax),x.writeShort(this.yMax),x.writeShort(this.macStyle),x.writeShort(this.lowestRecPPEM),x.writeShort(this.fontDirectionHint),x.writeShort(z),x.writeShort(this.glyphDataFormat),x.data},b}(),Kp=function(){function b(z,x){var re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt,Sn,cn;switch(this.platformID=z.readUInt16(),this.encodingID=z.readShort(),this.offset=x+z.readInt(),At=z.pos,z.pos=this.offset,this.format=z.readUInt16(),this.length=z.readUInt16(),this.language=z.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(xe=0;xe<256;++xe)this.codeMap[xe]=z.readByte();break;case 4:for($e=z.readUInt16(),mt=$e/2,z.pos+=6,se=function(){var qt,Yn;for(Yn=[],xe=qt=0;0<=mt?qt<mt:qt>mt;xe=0<=mt?++qt:--qt)Yn.push(z.readUInt16());return Yn}(),z.pos+=2,Tt=function(){var qt,Yn;for(Yn=[],xe=qt=0;0<=mt?qt<mt:qt>mt;xe=0<=mt?++qt:--qt)Yn.push(z.readUInt16());return Yn}(),Ne=function(){var qt,Yn;for(Yn=[],xe=qt=0;0<=mt?qt<mt:qt>mt;xe=0<=mt?++qt:--qt)Yn.push(z.readUInt16());return Yn}(),We=function(){var qt,Yn;for(Yn=[],xe=qt=0;0<=mt?qt<mt:qt>mt;xe=0<=mt?++qt:--qt)Yn.push(z.readUInt16());return Yn}(),ae=(this.length-z.pos+this.offset)/2,Se=function(){var qt,Yn;for(Yn=[],xe=qt=0;0<=ae?qt<ae:qt>ae;xe=0<=ae?++qt:--qt)Yn.push(z.readUInt16());return Yn}(),xe=xt=0,cn=se.length;xt<cn;xe=++xt)for(Ht=se[xe],re=Sn=Mt=Tt[xe];Mt<=Ht?Sn<=Ht:Sn>=Ht;re=Mt<=Ht?++Sn:--Sn)We[xe]===0?Ee=re+Ne[xe]:(Ee=Se[We[xe]/2+(re-Mt)-(mt-xe)]||0)!==0&&(Ee+=Ne[xe]),this.codeMap[re]=65535&Ee}z.pos=At}return b.encode=function(z,x){var re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt,Sn,cn,qt,Yn,Br,ar,xn,tn,Mn,Ft,zt,pn,gn,qn,rr,Ar,Zn,cr,qr,Lr,Ct,Yt,sn,Cn,Tn,Wn,ir,nr,Cr,zr,pa;switch(gn=new rg,Ee=Object.keys(z).sort(function(ya,pr){return ya-pr}),x){case"macroman":for(Tt=0,Ht=function(){var ya=[];for(Mt=0;Mt<256;++Mt)ya.push(0);return ya}(),Sn={0:0},se={},qn=0,cr=Ee.length;qn<cr;qn++)Sn[nr=z[ae=Ee[qn]]]==null&&(Sn[nr]=++Tt),se[ae]={old:z[ae],new:Sn[z[ae]]},Ht[ae]=Sn[z[ae]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(Ht),{charMap:se,subtable:gn.data,maxGlyphID:Tt+1};case"unicode":for(zt=[],At=[],cn=0,Sn={},re={},xt=Ne=null,rr=0,qr=Ee.length;rr<qr;rr++)Sn[Yn=z[ae=Ee[rr]]]==null&&(Sn[Yn]=++cn),re[ae]={old:Yn,new:Sn[Yn]},Se=Sn[Yn]-ae,xt!=null&&Se===Ne||(xt&&At.push(xt),zt.push(ae),Ne=Se),xt=ae;for(xt&&At.push(xt),At.push(65535),zt.push(65535),Mn=2*(tn=zt.length),xn=2*Math.pow(Math.log(tn)/Math.LN2,2),mt=Math.log(xn/2)/Math.LN2,ar=2*tn-xn,xe=[],Br=[],$e=[],Mt=Ar=0,Lr=zt.length;Ar<Lr;Mt=++Ar){if(Ft=zt[Mt],We=At[Mt],Ft===65535){xe.push(0),Br.push(0);break}if(Ft-(pn=re[Ft].new)>=32768)for(xe.push(0),Br.push(2*($e.length+tn-Mt)),ae=Zn=Ft;Ft<=We?Zn<=We:Zn>=We;ae=Ft<=We?++Zn:--Zn)$e.push(re[ae].new);else xe.push(pn-Ft),Br.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*tn+2*$e.length),gn.writeUInt16(0),gn.writeUInt16(Mn),gn.writeUInt16(xn),gn.writeUInt16(mt),gn.writeUInt16(ar),Wn=0,Ct=At.length;Wn<Ct;Wn++)ae=At[Wn],gn.writeUInt16(ae);for(gn.writeUInt16(0),ir=0,Yt=zt.length;ir<Yt;ir++)ae=zt[ir],gn.writeUInt16(ae);for(Cr=0,sn=xe.length;Cr<sn;Cr++)Se=xe[Cr],gn.writeUInt16(Se);for(zr=0,Cn=Br.length;zr<Cn;zr++)qt=Br[zr],gn.writeUInt16(qt);for(pa=0,Tn=$e.length;pa<Tn;pa++)Tt=$e[pa],gn.writeUInt16(Tt);return{charMap:re,subtable:gn.data,maxGlyphID:cn+1}}},b}(),zp=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="cmap",b.prototype.parse=function(z){var x,re,ae;for(z.pos=this.offset,this.version=z.readUInt16(),ae=z.readUInt16(),this.tables=[],this.unicode=null,re=0;0<=ae?re<ae:re>ae;re=0<=ae?++re:--re)x=new Kp(z,this.offset),this.tables.push(x),x.isUnicode&&this.unicode==null&&(this.unicode=x);return!0},b.encode=function(z,x){var re,ae;return x==null&&(x="macroman"),re=Kp.encode(z,x),(ae=new rg).writeUInt16(0),ae.writeUInt16(1),re.table=ae.data.concat(re.subtable),re},b}(),jv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="hhea",b.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.ascender=z.readShort(),this.decender=z.readShort(),this.lineGap=z.readShort(),this.advanceWidthMax=z.readShort(),this.minLeftSideBearing=z.readShort(),this.minRightSideBearing=z.readShort(),this.xMaxExtent=z.readShort(),this.caretSlopeRise=z.readShort(),this.caretSlopeRun=z.readShort(),this.caretOffset=z.readShort(),z.pos+=8,this.metricDataFormat=z.readShort(),this.numberOfMetrics=z.readUInt16()},b}(),Mv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="OS/2",b.prototype.parse=function(z){if(z.pos=this.offset,this.version=z.readUInt16(),this.averageCharWidth=z.readShort(),this.weightClass=z.readUInt16(),this.widthClass=z.readUInt16(),this.type=z.readShort(),this.ySubscriptXSize=z.readShort(),this.ySubscriptYSize=z.readShort(),this.ySubscriptXOffset=z.readShort(),this.ySubscriptYOffset=z.readShort(),this.ySuperscriptXSize=z.readShort(),this.ySuperscriptYSize=z.readShort(),this.ySuperscriptXOffset=z.readShort(),this.ySuperscriptYOffset=z.readShort(),this.yStrikeoutSize=z.readShort(),this.yStrikeoutPosition=z.readShort(),this.familyClass=z.readShort(),this.panose=function(){var x,re;for(re=[],x=0;x<10;++x)re.push(z.readByte());return re}(),this.charRange=function(){var x,re;for(re=[],x=0;x<4;++x)re.push(z.readInt());return re}(),this.vendorID=z.readString(4),this.selection=z.readShort(),this.firstCharIndex=z.readShort(),this.lastCharIndex=z.readShort(),this.version>0&&(this.ascent=z.readShort(),this.descent=z.readShort(),this.lineGap=z.readShort(),this.winAscent=z.readShort(),this.winDescent=z.readShort(),this.codePageRange=function(){var x,re;for(re=[],x=0;x<2;x=++x)re.push(z.readInt());return re}(),this.version>1))return this.xHeight=z.readShort(),this.capHeight=z.readShort(),this.defaultChar=z.readShort(),this.breakChar=z.readShort(),this.maxContext=z.readShort()},b}(),Hv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="post",b.prototype.parse=function(z){var x,re,ae;switch(z.pos=this.offset,this.format=z.readInt(),this.italicAngle=z.readInt(),this.underlinePosition=z.readShort(),this.underlineThickness=z.readShort(),this.isFixedPitch=z.readInt(),this.minMemType42=z.readInt(),this.maxMemType42=z.readInt(),this.minMemType1=z.readInt(),this.maxMemType1=z.readInt(),this.format){case 65536:case 196608:break;case 131072:var se;for(re=z.readUInt16(),this.glyphNameIndex=[],se=0;0<=re?se<re:se>re;se=0<=re?++se:--se)this.glyphNameIndex.push(z.readUInt16());for(this.names=[],ae=[];z.pos<this.offset+this.length;)x=z.readByte(),ae.push(this.names.push(z.readString(x)));return ae;case 151552:return re=z.readUInt16(),this.offsets=z.read(re);case 262144:return this.map=function(){var Ee,Se,xe;for(xe=[],se=Ee=0,Se=this.file.maxp.numGlyphs;0<=Se?Ee<Se:Ee>Se;se=0<=Se?++Ee:--Ee)xe.push(z.readUInt32());return xe}.call(this)}},b}(),Kv=function(b,z){this.raw=b,this.length=b.length,this.platformID=z.platformID,this.encodingID=z.encodingID,this.languageID=z.languageID},zv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="name",b.prototype.parse=function(z){var x,re,ae,se,Ee,Se,xe,Ne,We,At,mt;for(z.pos=this.offset,z.readShort(),x=z.readShort(),Se=z.readShort(),re=[],se=0;0<=x?se<x:se>x;se=0<=x?++se:--se)re.push({platformID:z.readShort(),encodingID:z.readShort(),languageID:z.readShort(),nameID:z.readShort(),length:z.readShort(),offset:this.offset+Se+z.readShort()});for(xe={},se=We=0,At=re.length;We<At;se=++We)ae=re[se],z.pos=ae.offset,Ne=z.readString(ae.length),Ee=new Kv(Ne,ae),xe[mt=ae.nameID]==null&&(xe[mt]=[]),xe[ae.nameID].push(Ee);this.strings=xe,this.copyright=xe[0],this.fontFamily=xe[1],this.fontSubfamily=xe[2],this.uniqueSubfamily=xe[3],this.fontName=xe[4],this.version=xe[5];try{this.postscriptName=xe[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch($e){this.postscriptName=xe[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=xe[7],this.manufacturer=xe[8],this.designer=xe[9],this.description=xe[10],this.vendorUrl=xe[11],this.designerUrl=xe[12],this.license=xe[13],this.licenseUrl=xe[14],this.preferredFamily=xe[15],this.preferredSubfamily=xe[17],this.compatibleFull=xe[18],this.sampleText=xe[19]},b}(),Gv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="maxp",b.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.numGlyphs=z.readUInt16(),this.maxPoints=z.readUInt16(),this.maxContours=z.readUInt16(),this.maxCompositePoints=z.readUInt16(),this.maxComponentContours=z.readUInt16(),this.maxZones=z.readUInt16(),this.maxTwilightPoints=z.readUInt16(),this.maxStorage=z.readUInt16(),this.maxFunctionDefs=z.readUInt16(),this.maxInstructionDefs=z.readUInt16(),this.maxStackElements=z.readUInt16(),this.maxSizeOfInstructions=z.readUInt16(),this.maxComponentElements=z.readUInt16(),this.maxComponentDepth=z.readUInt16()},b}(),$v=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="hmtx",b.prototype.parse=function(z){var x,re,ae,se,Ee,Se,xe;for(z.pos=this.offset,this.metrics=[],x=0,Se=this.file.hhea.numberOfMetrics;0<=Se?x<Se:x>Se;x=0<=Se?++x:--x)this.metrics.push({advance:z.readUInt16(),lsb:z.readInt16()});for(ae=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ne,We;for(We=[],x=Ne=0;0<=ae?Ne<ae:Ne>ae;x=0<=ae?++Ne:--Ne)We.push(z.readInt16());return We}(),this.widths=function(){var Ne,We,At,mt;for(mt=[],Ne=0,We=(At=this.metrics).length;Ne<We;Ne++)se=At[Ne],mt.push(se.advance);return mt}.call(this),re=this.widths[this.widths.length-1],xe=[],x=Ee=0;0<=ae?Ee<ae:Ee>ae;x=0<=ae?++Ee:--Ee)xe.push(this.widths.push(re));return xe},b.prototype.forGlyph=function(z){return z in this.metrics?this.metrics[z]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[z-this.metrics.length]}},b}(),Gp=[].slice,Zv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="glyf",b.prototype.parse=function(){return this.cache={}},b.prototype.glyphFor=function(z){var x,re,ae,se,Ee,Se,xe,Ne,We,At;return z in this.cache?this.cache[z]:(se=this.file.loca,x=this.file.contents,re=se.indexOf(z),(ae=se.lengthOf(z))===0?this.cache[z]=null:(x.pos=this.offset+re,Ee=(Se=new rg(x.read(ae))).readShort(),Ne=Se.readShort(),At=Se.readShort(),xe=Se.readShort(),We=Se.readShort(),this.cache[z]=Ee===-1?new Vv(Se,Ne,At,xe,We):new Wv(Se,Ee,Ne,At,xe,We),this.cache[z]))},b.prototype.encode=function(z,x,re){var ae,se,Ee,Se,xe;for(Ee=[],se=[],Se=0,xe=x.length;Se<xe;Se++)ae=z[x[Se]],se.push(Ee.length),ae&&(Ee=Ee.concat(ae.encode(re)));return se.push(Ee.length),{table:Ee,offsets:se}},b}(),Wv=function(){function b(z,x,re,ae,se,Ee){this.raw=z,this.numberOfContours=x,this.xMin=re,this.yMin=ae,this.xMax=se,this.yMax=Ee,this.compound=!1}return b.prototype.encode=function(){return this.raw.data},b}(),Vv=function(){function b(z,x,re,ae,se){var Ee,Se;for(this.raw=z,this.xMin=x,this.yMin=re,this.xMax=ae,this.yMax=se,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Ee=this.raw;Se=Ee.readShort(),this.glyphOffsets.push(Ee.pos),this.glyphIDs.push(Ee.readUInt16()),32&Se;)Ee.pos+=1&Se?4:2,128&Se?Ee.pos+=8:64&Se?Ee.pos+=4:8&Se&&(Ee.pos+=2)}return b.prototype.encode=function(){var z,x,re;for(x=new rg(Gp.call(this.raw.data)),z=0,re=this.glyphIDs.length;z<re;++z)x.pos=this.glyphOffsets[z];return x.data},b}(),Xv=function(){function b(){return b.__super__.constructor.apply(this,arguments)}return rd(b,Pc),b.prototype.tag="loca",b.prototype.parse=function(z){var x,re;return z.pos=this.offset,x=this.file.head.indexToLocFormat,this.offsets=x===0?function(){var ae,se;for(se=[],re=0,ae=this.length;re<ae;re+=2)se.push(2*z.readUInt16());return se}.call(this):function(){var ae,se;for(se=[],re=0,ae=this.length;re<ae;re+=4)se.push(z.readUInt32());return se}.call(this)},b.prototype.indexOf=function(z){return this.offsets[z]},b.prototype.lengthOf=function(z){return this.offsets[z+1]-this.offsets[z]},b.prototype.encode=function(z,x){for(var re=new Uint32Array(this.offsets.length),ae=0,se=0,Ee=0;Ee<re.length;++Ee)if(re[Ee]=ae,se<x.length&&x[se]==Ee){++se,re[Ee]=ae;var Se=this.offsets[Ee],xe=this.offsets[Ee+1]-Se;xe>0&&(ae+=xe)}for(var Ne=new Array(4*re.length),We=0;We<re.length;++We)Ne[4*We+3]=255&re[We],Ne[4*We+2]=(65280&re[We])>>8,Ne[4*We+1]=(16711680&re[We])>>16,Ne[4*We]=(4278190080&re[We])>>24;return Ne},b}(),Yv=function(){function b(z){this.font=z,this.subset={},this.unicodes={},this.next=33}return b.prototype.generateCmap=function(){var z,x,re,ae,se;for(x in ae=this.font.cmap.tables[0].codeMap,z={},se=this.subset)re=se[x],z[x]=ae[re];return z},b.prototype.glyphsFor=function(z){var x,re,ae,se,Ee,Se,xe;for(ae={},Ee=0,Se=z.length;Ee<Se;Ee++)ae[se=z[Ee]]=this.font.glyf.glyphFor(se);for(se in x=[],ae)(re=ae[se])!=null&&re.compound&&x.push.apply(x,re.glyphIDs);if(x.length>0)for(se in xe=this.glyphsFor(x))re=xe[se],ae[se]=re;return ae},b.prototype.encode=function(z,x){var re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt;for(ae in re=zp.encode(this.generateCmap(),"unicode"),Ee=this.glyphsFor(z),$e={0:0},xt=re.charMap)$e[(xe=xt[ae]).old]=xe.new;for(Mt in mt=re.maxGlyphID,Ee)Mt in $e||($e[Mt]=mt++);return We=function(Sn){var cn,qt;for(cn in qt={},Sn)qt[Sn[cn]]=cn;return qt}($e),At=Object.keys(We).sort(function(Sn,cn){return Sn-cn}),Tt=function(){var Sn,cn,qt;for(qt=[],Sn=0,cn=At.length;Sn<cn;Sn++)Se=At[Sn],qt.push(We[Se]);return qt}(),se=this.font.glyf.encode(Ee,Tt,$e),Ne=this.font.loca.encode(se.offsets,Tt),Ht={cmap:this.font.cmap.raw(),glyf:se.table,loca:Ne,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(x)},this.font.os2.exists&&(Ht["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Ht)},b}();Wa.API.PDFObject=function(){var b;function z(){}return b=function(x,re){return(Array(re+1).join("0")+x).slice(-re)},z.convert=function(x){var re,ae,se,Ee;if(Array.isArray(x))return"["+function(){var Se,xe,Ne;for(Ne=[],Se=0,xe=x.length;Se<xe;Se++)re=x[Se],Ne.push(z.convert(re));return Ne}().join(" ")+"]";if(typeof x=="string")return"/"+x;if(x!=null&&x.isString)return"("+x+")";if(x instanceof Date)return"(D:"+b(x.getUTCFullYear(),4)+b(x.getUTCMonth(),2)+b(x.getUTCDate(),2)+b(x.getUTCHours(),2)+b(x.getUTCMinutes(),2)+b(x.getUTCSeconds(),2)+"Z)";if({}.toString.call(x)==="[object Object]"){for(ae in se=["<<"],x)Ee=x[ae],se.push("/"+ae+" "+z.convert(Ee));return se.push(">>"),se.join(`
|
|
|
`)}return""+x},z}()},86129:function(on,Ut,we){var Oe=we(19208).lW,be=we(97671);(function(ze){on.exports=ze()})(function(){return function ze(at,Ge,je){function me(de,Ie){if(!Ge[de]){if(!at[de]){var Fe=void 0;if(!Ie&&Fe)return require(de,!0);if(Be)return Be(de,!0);var Ce=new Error("Cannot find module '"+de+"'");throw Ce.code="MODULE_NOT_FOUND",Ce}var ie=Ge[de]={exports:{}};at[de][0].call(ie.exports,function(y){var a=at[de][1][y];return me(a||y)},ie,ie.exports,ze,at,Ge,je)}return Ge[de].exports}for(var Be=void 0,Le=0;Le<je.length;Le++)me(je[Le]);return me}({1:[function(ze,at,Ge){"use strict";var je=ze("./utils"),me=ze("./support"),Be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Ge.encode=function(Le){for(var de,Ie,Fe,Ce,ie,y,a,ee=[],E=0,te=Le.length,ne=te,oe=je.getTypeOf(Le)!=="string";E<Le.length;)ne=te-E,Fe=oe?(de=Le[E++],Ie=E<te?Le[E++]:0,E<te?Le[E++]:0):(de=Le.charCodeAt(E++),Ie=E<te?Le.charCodeAt(E++):0,E<te?Le.charCodeAt(E++):0),Ce=de>>2,ie=(3&de)<<4|Ie>>4,y=1<ne?(15&Ie)<<2|Fe>>6:64,a=2<ne?63&Fe:64,ee.push(Be.charAt(Ce)+Be.charAt(ie)+Be.charAt(y)+Be.charAt(a));return ee.join("")},Ge.decode=function(Le){var de,Ie,Fe,Ce,ie,y,a=0,ee=0,E="data:";if(Le.substr(0,E.length)===E)throw new Error("Invalid base64 input, it looks like a data url.");var te,ne=3*(Le=Le.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(Le.charAt(Le.length-1)===Be.charAt(64)&&ne--,Le.charAt(Le.length-2)===Be.charAt(64)&&ne--,ne%1!=0)throw new Error("Invalid base64 input, bad content length.");for(te=me.uint8array?new Uint8Array(0|ne):new Array(0|ne);a<Le.length;)de=Be.indexOf(Le.charAt(a++))<<2|(Ce=Be.indexOf(Le.charAt(a++)))>>4,Ie=(15&Ce)<<4|(ie=Be.indexOf(Le.charAt(a++)))>>2,Fe=(3&ie)<<6|(y=Be.indexOf(Le.charAt(a++))),te[ee++]=de,ie!==64&&(te[ee++]=Ie),y!==64&&(te[ee++]=Fe);return te}},{"./support":30,"./utils":32}],2:[function(ze,at,Ge){"use strict";var je=ze("./external"),me=ze("./stream/DataWorker"),Be=ze("./stream/Crc32Probe"),Le=ze("./stream/DataLengthProbe");function de(Ie,Fe,Ce,ie,y){this.compressedSize=Ie,this.uncompressedSize=Fe,this.crc32=Ce,this.compression=ie,this.compressedContent=y}de.prototype={getContentWorker:function(){var Ie=new me(je.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Le("data_length")),Fe=this;return Ie.on("end",function(){if(this.streamInfo.data_length!==Fe.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Ie},getCompressedWorker:function(){return new me(je.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},de.createWorkerFrom=function(Ie,Fe,Ce){return Ie.pipe(new Be).pipe(new Le("uncompressedSize")).pipe(Fe.compressWorker(Ce)).pipe(new Le("compressedSize")).withStreamInfo("compression",Fe)},at.exports=de},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(ze,at,Ge){"use strict";var je=ze("./stream/GenericWorker");Ge.STORE={magic:"\0\0",compressWorker:function(){return new je("STORE compression")},uncompressWorker:function(){return new je("STORE decompression")}},Ge.DEFLATE=ze("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(ze,at,Ge){"use strict";var je=ze("./utils"),me=function(){for(var Be,Le=[],de=0;de<256;de++){Be=de;for(var Ie=0;Ie<8;Ie++)Be=1&Be?3988292384^Be>>>1:Be>>>1;Le[de]=Be}return Le}();at.exports=function(Be,Le){return Be!==void 0&&Be.length?je.getTypeOf(Be)!=="string"?function(de,Ie,Fe,Ce){var ie=me,y=Ce+Fe;de^=-1;for(var a=Ce;a<y;a++)de=de>>>8^ie[255&(de^Ie[a])];return-1^de}(0|Le,Be,Be.length,0):function(de,Ie,Fe,Ce){var ie=me,y=Ce+Fe;de^=-1;for(var a=Ce;a<y;a++)de=de>>>8^ie[255&(de^Ie.charCodeAt(a))];return-1^de}(0|Le,Be,Be.length,0):0}},{"./utils":32}],5:[function(ze,at,Ge){"use strict";Ge.base64=!1,Ge.binary=!1,Ge.dir=!1,Ge.createFolders=!0,Ge.date=null,Ge.compression=null,Ge.compressionOptions=null,Ge.comment=null,Ge.unixPermissions=null,Ge.dosPermissions=null},{}],6:[function(ze,at,Ge){"use strict";var je=null;je=typeof Promise!="undefined"?Promise:ze("lie"),at.exports={Promise:je}},{lie:37}],7:[function(ze,at,Ge){"use strict";var je=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",me=ze("pako"),Be=ze("./utils"),Le=ze("./stream/GenericWorker"),de=je?"uint8array":"array";function Ie(Fe,Ce){Le.call(this,"FlateWorker/"+Fe),this._pako=null,this._pakoAction=Fe,this._pakoOptions=Ce,this.meta={}}Ge.magic="\b\0",Be.inherits(Ie,Le),Ie.prototype.processChunk=function(Fe){this.meta=Fe.meta,this._pako===null&&this._createPako(),this._pako.push(Be.transformTo(de,Fe.data),!1)},Ie.prototype.flush=function(){Le.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Ie.prototype.cleanUp=function(){Le.prototype.cleanUp.call(this),this._pako=null},Ie.prototype._createPako=function(){this._pako=new me[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var Fe=this;this._pako.onData=function(Ce){Fe.push({data:Ce,meta:Fe.meta})}},Ge.compressWorker=function(Fe){return new Ie("Deflate",Fe)},Ge.uncompressWorker=function(){return new Ie("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(ze,at,Ge){"use strict";function je(ie,y){var a,ee="";for(a=0;a<y;a++)ee+=String.fromCharCode(255&ie),ie>>>=8;return ee}function me(ie,y,a,ee,E,te){var ne,oe,he=ie.file,_e=ie.compression,Pe=te!==de.utf8encode,Qe=Be.transformTo("string",te(he.name)),Ze=Be.transformTo("string",de.utf8encode(he.name)),Ve=he.comment,nt=Be.transformTo("string",te(Ve)),De=Be.transformTo("string",de.utf8encode(Ve)),Bt=Ze.length!==he.name.length,ke=De.length!==Ve.length,Ot="",it="",rt="",wt=he.dir,dt=he.date,pt={crc32:0,compressedSize:0,uncompressedSize:0};y&&!a||(pt.crc32=ie.crc32,pt.compressedSize=ie.compressedSize,pt.uncompressedSize=ie.uncompressedSize);var st=0;y&&(st|=8),Pe||!Bt&&!ke||(st|=2048);var ft=0,rn=0;wt&&(ft|=16),E==="UNIX"?(rn=798,ft|=function(Et,Jt){var Ln=Et;return Et||(Ln=Jt?16893:33204),(65535&Ln)<<16}(he.unixPermissions,wt)):(rn=20,ft|=function(Et){return 63&(Et||0)}(he.dosPermissions)),ne=dt.getUTCHours(),ne<<=6,ne|=dt.getUTCMinutes(),ne<<=5,ne|=dt.getUTCSeconds()/2,oe=dt.getUTCFullYear()-1980,oe<<=4,oe|=dt.getUTCMonth()+1,oe<<=5,oe|=dt.getUTCDate(),Bt&&(it=je(1,1)+je(Ie(Qe),4)+Ze,Ot+="up"+je(it.length,2)+it),ke&&(rt=je(1,1)+je(Ie(nt),4)+De,Ot+="uc"+je(rt.length,2)+rt);var fn="";return fn+=`
|
|
|
\0`,fn+=je(st,2),fn+=_e.magic,fn+=je(ne,2),fn+=je(oe,2),fn+=je(pt.crc32,4),fn+=je(pt.compressedSize,4),fn+=je(pt.uncompressedSize,4),fn+=je(Qe.length,2),fn+=je(Ot.length,2),{fileRecord:Fe.LOCAL_FILE_HEADER+fn+Qe+Ot,dirRecord:Fe.CENTRAL_FILE_HEADER+je(rn,2)+fn+je(nt.length,2)+"\0\0\0\0"+je(ft,4)+je(ee,4)+Qe+Ot+nt}}var Be=ze("../utils"),Le=ze("../stream/GenericWorker"),de=ze("../utf8"),Ie=ze("../crc32"),Fe=ze("../signature");function Ce(ie,y,a,ee){Le.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=y,this.zipPlatform=a,this.encodeFileName=ee,this.streamFiles=ie,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Be.inherits(Ce,Le),Ce.prototype.push=function(ie){var y=ie.meta.percent||0,a=this.entriesCount,ee=this._sources.length;this.accumulate?this.contentBuffer.push(ie):(this.bytesWritten+=ie.data.length,Le.prototype.push.call(this,{data:ie.data,meta:{currentFile:this.currentFile,percent:a?(y+100*(a-ee-1))/a:100}}))},Ce.prototype.openedSource=function(ie){this.currentSourceOffset=this.bytesWritten,this.currentFile=ie.file.name;var y=this.streamFiles&&!ie.file.dir;if(y){var a=me(ie,y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:a.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Ce.prototype.closedSource=function(ie){this.accumulate=!1;var y=this.streamFiles&&!ie.file.dir,a=me(ie,y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),y)this.push({data:function(ee){return Fe.DATA_DESCRIPTOR+je(ee.crc32,4)+je(ee.compressedSize,4)+je(ee.uncompressedSize,4)}(ie),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Ce.prototype.flush=function(){for(var ie=this.bytesWritten,y=0;y<this.dirRecords.length;y++)this.push({data:this.dirRecords[y],meta:{percent:100}});var a=this.bytesWritten-ie,ee=function(E,te,ne,oe,he){var _e=Be.transformTo("string",he(oe));return Fe.CENTRAL_DIRECTORY_END+"\0\0\0\0"+je(E,2)+je(E,2)+je(te,4)+je(ne,4)+je(_e.length,2)+_e}(this.dirRecords.length,a,ie,this.zipComment,this.encodeFileName);this.push({data:ee,meta:{percent:100}})},Ce.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Ce.prototype.registerPrevious=function(ie){this._sources.push(ie);var y=this;return ie.on("data",function(a){y.processChunk(a)}),ie.on("end",function(){y.closedSource(y.previous.streamInfo),y._sources.length?y.prepareNextSource():y.end()}),ie.on("error",function(a){y.error(a)}),this},Ce.prototype.resume=function(){return!!Le.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Ce.prototype.error=function(ie){var y=this._sources;if(!Le.prototype.error.call(this,ie))return!1;for(var a=0;a<y.length;a++)try{y[a].error(ie)}catch(ee){}return!0},Ce.prototype.lock=function(){Le.prototype.lock.call(this);for(var ie=this._sources,y=0;y<ie.length;y++)ie[y].lock()},at.exports=Ce},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(ze,at,Ge){"use strict";var je=ze("../compressions"),me=ze("./ZipFileWorker");Ge.generateWorker=function(Be,Le,de){var Ie=new me(Le.streamFiles,de,Le.platform,Le.encodeFileName),Fe=0;try{Be.forEach(function(Ce,ie){Fe++;var y=function(te,ne){var oe=te||ne,he=je[oe];if(!he)throw new Error(oe+" is not a valid compression method !");return he}(ie.options.compression,Le.compression),a=ie.options.compressionOptions||Le.compressionOptions||{},ee=ie.dir,E=ie.date;ie._compressWorker(y,a).withStreamInfo("file",{name:Ce,dir:ee,date:E,comment:ie.comment||"",unixPermissions:ie.unixPermissions,dosPermissions:ie.dosPermissions}).pipe(Ie)}),Ie.entriesCount=Fe}catch(Ce){Ie.error(Ce)}return Ie}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(ze,at,Ge){"use strict";function je(){if(!(this instanceof je))return new je;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var me=new je;for(var Be in this)typeof this[Be]!="function"&&(me[Be]=this[Be]);return me}}(je.prototype=ze("./object")).loadAsync=ze("./load"),je.support=ze("./support"),je.defaults=ze("./defaults"),je.version="3.10.1",je.loadAsync=function(me,Be){return new je().loadAsync(me,Be)},je.external=ze("./external"),at.exports=je},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(ze,at,Ge){"use strict";var je=ze("./utils"),me=ze("./external"),Be=ze("./utf8"),Le=ze("./zipEntries"),de=ze("./stream/Crc32Probe"),Ie=ze("./nodejsUtils");function Fe(Ce){return new me.Promise(function(ie,y){var a=Ce.decompressed.getContentWorker().pipe(new de);a.on("error",function(ee){y(ee)}).on("end",function(){a.streamInfo.crc32!==Ce.decompressed.crc32?y(new Error("Corrupted zip : CRC32 mismatch")):ie()}).resume()})}at.exports=function(Ce,ie){var y=this;return ie=je.extend(ie||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Be.utf8decode}),Ie.isNode&&Ie.isStream(Ce)?me.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):je.prepareContent("the loaded zip file",Ce,!0,ie.optimizedBinaryString,ie.base64).then(function(a){var ee=new Le(ie);return ee.load(a),ee}).then(function(a){var ee=[me.Promise.resolve(a)],E=a.files;if(ie.checkCRC32)for(var te=0;te<E.length;te++)ee.push(Fe(E[te]));return me.Promise.all(ee)}).then(function(a){for(var ee=a.shift(),E=ee.files,te=0;te<E.length;te++){var ne=E[te],oe=ne.fileNameStr,he=je.resolve(ne.fileNameStr);y.file(he,ne.decompressed,{binary:!0,optimizedBinaryString:!0,date:ne.date,dir:ne.dir,comment:ne.fileCommentStr.length?ne.fileCommentStr:null,unixPermissions:ne.unixPermissions,dosPermissions:ne.dosPermissions,createFolders:ie.createFolders}),ne.dir||(y.file(he).unsafeOriginalName=oe)}return ee.zipComment.length&&(y.comment=ee.zipComment),y})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("../stream/GenericWorker");function Be(Le,de){me.call(this,"Nodejs stream input adapter for "+Le),this._upstreamEnded=!1,this._bindStream(de)}je.inherits(Be,me),Be.prototype._bindStream=function(Le){var de=this;(this._stream=Le).pause(),Le.on("data",function(Ie){de.push({data:Ie,meta:{percent:0}})}).on("error",function(Ie){de.isPaused?this.generatedError=Ie:de.error(Ie)}).on("end",function(){de.isPaused?de._upstreamEnded=!0:de.end()})},Be.prototype.pause=function(){return!!me.prototype.pause.call(this)&&(this._stream.pause(),!0)},Be.prototype.resume=function(){return!!me.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},at.exports=Be},{"../stream/GenericWorker":28,"../utils":32}],13:[function(ze,at,Ge){"use strict";var je=ze("readable-stream").Readable;function me(Be,Le,de){je.call(this,Le),this._helper=Be;var Ie=this;Be.on("data",function(Fe,Ce){Ie.push(Fe)||Ie._helper.pause(),de&&de(Ce)}).on("error",function(Fe){Ie.emit("error",Fe)}).on("end",function(){Ie.push(null)})}ze("../utils").inherits(me,je),me.prototype._read=function(){this._helper.resume()},at.exports=me},{"../utils":32,"readable-stream":16}],14:[function(ze,at,Ge){"use strict";at.exports={isNode:typeof Oe!="undefined",newBufferFrom:function(je,me){if(Oe.from&&Oe.from!==Uint8Array.from)return Oe.from(je,me);if(typeof je=="number")throw new Error('The "data" argument must not be a number');return new Oe(je,me)},allocBuffer:function(je){if(Oe.alloc)return Oe.alloc(je);var me=new Oe(je);return me.fill(0),me},isBuffer:function(je){return Oe.isBuffer(je)},isStream:function(je){return je&&typeof je.on=="function"&&typeof je.pause=="function"&&typeof je.resume=="function"}}},{}],15:[function(ze,at,Ge){"use strict";function je(he,_e,Pe){var Qe,Ze=Be.getTypeOf(_e),Ve=Be.extend(Pe||{},Ie);Ve.date=Ve.date||new Date,Ve.compression!==null&&(Ve.compression=Ve.compression.toUpperCase()),typeof Ve.unixPermissions=="string"&&(Ve.unixPermissions=parseInt(Ve.unixPermissions,8)),Ve.unixPermissions&&16384&Ve.unixPermissions&&(Ve.dir=!0),Ve.dosPermissions&&16&Ve.dosPermissions&&(Ve.dir=!0),Ve.dir&&(he=E(he)),Ve.createFolders&&(Qe=ee(he))&&te.call(this,Qe,!0);var nt=Ze==="string"&&Ve.binary===!1&&Ve.base64===!1;Pe&&Pe.binary!==void 0||(Ve.binary=!nt),(_e instanceof Fe&&_e.uncompressedSize===0||Ve.dir||!_e||_e.length===0)&&(Ve.base64=!1,Ve.binary=!0,_e="",Ve.compression="STORE",Ze="string");var De=null;De=_e instanceof Fe||_e instanceof Le?_e:y.isNode&&y.isStream(_e)?new a(he,_e):Be.prepareContent(he,_e,Ve.binary,Ve.optimizedBinaryString,Ve.base64);var Bt=new Ce(he,De,Ve);this.files[he]=Bt}var me=ze("./utf8"),Be=ze("./utils"),Le=ze("./stream/GenericWorker"),de=ze("./stream/StreamHelper"),Ie=ze("./defaults"),Fe=ze("./compressedObject"),Ce=ze("./zipObject"),ie=ze("./generate"),y=ze("./nodejsUtils"),a=ze("./nodejs/NodejsStreamInputAdapter"),ee=function(he){he.slice(-1)==="/"&&(he=he.substring(0,he.length-1));var _e=he.lastIndexOf("/");return 0<_e?he.substring(0,_e):""},E=function(he){return he.slice(-1)!=="/"&&(he+="/"),he},te=function(he,_e){return _e=_e!==void 0?_e:Ie.createFolders,he=E(he),this.files[he]||je.call(this,he,null,{dir:!0,createFolders:_e}),this.files[he]};function ne(he){return Object.prototype.toString.call(he)==="[object RegExp]"}var oe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(he){var _e,Pe,Qe;for(_e in this.files)Qe=this.files[_e],(Pe=_e.slice(this.root.length,_e.length))&&_e.slice(0,this.root.length)===this.root&&he(Pe,Qe)},filter:function(he){var _e=[];return this.forEach(function(Pe,Qe){he(Pe,Qe)&&_e.push(Qe)}),_e},file:function(he,_e,Pe){if(arguments.length!==1)return he=this.root+he,je.call(this,he,_e,Pe),this;if(ne(he)){var Qe=he;return this.filter(function(Ve,nt){return!nt.dir&&Qe.test(Ve)})}var Ze=this.files[this.root+he];return Ze&&!Ze.dir?Ze:null},folder:function(he){if(!he)return this;if(ne(he))return this.filter(function(Ze,Ve){return Ve.dir&&he.test(Ze)});var _e=this.root+he,Pe=te.call(this,_e),Qe=this.clone();return Qe.root=Pe.name,Qe},remove:function(he){he=this.root+he;var _e=this.files[he];if(_e||(he.slice(-1)!=="/"&&(he+="/"),_e=this.files[he]),_e&&!_e.dir)delete this.files[he];else for(var Pe=this.filter(function(Ze,Ve){return Ve.name.slice(0,he.length)===he}),Qe=0;Qe<Pe.length;Qe++)delete this.files[Pe[Qe].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(he){var _e,Pe={};try{if((Pe=Be.extend(he||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:me.utf8encode})).type=Pe.type.toLowerCase(),Pe.compression=Pe.compression.toUpperCase(),Pe.type==="binarystring"&&(Pe.type="string"),!Pe.type)throw new Error("No output type specified.");Be.checkSupport(Pe.type),Pe.platform!=="darwin"&&Pe.platform!=="freebsd"&&Pe.platform!=="linux"&&Pe.platform!=="sunos"||(Pe.platform="UNIX"),Pe.platform==="win32"&&(Pe.platform="DOS");var Qe=Pe.comment||this.comment||"";_e=ie.generateWorker(this,Pe,Qe)}catch(Ze){(_e=new Le("error")).error(Ze)}return new de(_e,Pe.type||"string",Pe.mimeType)},generateAsync:function(he,_e){return this.generateInternalStream(he).accumulate(_e)},generateNodeStream:function(he,_e){return(he=he||{}).type||(he.type="nodebuffer"),this.generateInternalStream(he).toNodejsStream(_e)}};at.exports=oe},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(ze,at,Ge){"use strict";at.exports=ze("stream")},{stream:void 0}],17:[function(ze,at,Ge){"use strict";var je=ze("./DataReader");function me(Be){je.call(this,Be);for(var Le=0;Le<this.data.length;Le++)Be[Le]=255&Be[Le]}ze("../utils").inherits(me,je),me.prototype.byteAt=function(Be){return this.data[this.zero+Be]},me.prototype.lastIndexOfSignature=function(Be){for(var Le=Be.charCodeAt(0),de=Be.charCodeAt(1),Ie=Be.charCodeAt(2),Fe=Be.charCodeAt(3),Ce=this.length-4;0<=Ce;--Ce)if(this.data[Ce]===Le&&this.data[Ce+1]===de&&this.data[Ce+2]===Ie&&this.data[Ce+3]===Fe)return Ce-this.zero;return-1},me.prototype.readAndCheckSignature=function(Be){var Le=Be.charCodeAt(0),de=Be.charCodeAt(1),Ie=Be.charCodeAt(2),Fe=Be.charCodeAt(3),Ce=this.readData(4);return Le===Ce[0]&&de===Ce[1]&&Ie===Ce[2]&&Fe===Ce[3]},me.prototype.readData=function(Be){if(this.checkOffset(Be),Be===0)return[];var Le=this.data.slice(this.zero+this.index,this.zero+this.index+Be);return this.index+=Be,Le},at.exports=me},{"../utils":32,"./DataReader":18}],18:[function(ze,at,Ge){"use strict";var je=ze("../utils");function me(Be){this.data=Be,this.length=Be.length,this.index=0,this.zero=0}me.prototype={checkOffset:function(Be){this.checkIndex(this.index+Be)},checkIndex:function(Be){if(this.length<this.zero+Be||Be<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+Be+"). Corrupted zip ?")},setIndex:function(Be){this.checkIndex(Be),this.index=Be},skip:function(Be){this.setIndex(this.index+Be)},byteAt:function(){},readInt:function(Be){var Le,de=0;for(this.checkOffset(Be),Le=this.index+Be-1;Le>=this.index;Le--)de=(de<<8)+this.byteAt(Le);return this.index+=Be,de},readString:function(Be){return je.transformTo("string",this.readData(Be))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var Be=this.readInt(4);return new Date(Date.UTC(1980+(Be>>25&127),(Be>>21&15)-1,Be>>16&31,Be>>11&31,Be>>5&63,(31&Be)<<1))}},at.exports=me},{"../utils":32}],19:[function(ze,at,Ge){"use strict";var je=ze("./Uint8ArrayReader");function me(Be){je.call(this,Be)}ze("../utils").inherits(me,je),me.prototype.readData=function(Be){this.checkOffset(Be);var Le=this.data.slice(this.zero+this.index,this.zero+this.index+Be);return this.index+=Be,Le},at.exports=me},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(ze,at,Ge){"use strict";var je=ze("./DataReader");function me(Be){je.call(this,Be)}ze("../utils").inherits(me,je),me.prototype.byteAt=function(Be){return this.data.charCodeAt(this.zero+Be)},me.prototype.lastIndexOfSignature=function(Be){return this.data.lastIndexOf(Be)-this.zero},me.prototype.readAndCheckSignature=function(Be){return Be===this.readData(4)},me.prototype.readData=function(Be){this.checkOffset(Be);var Le=this.data.slice(this.zero+this.index,this.zero+this.index+Be);return this.index+=Be,Le},at.exports=me},{"../utils":32,"./DataReader":18}],21:[function(ze,at,Ge){"use strict";var je=ze("./ArrayReader");function me(Be){je.call(this,Be)}ze("../utils").inherits(me,je),me.prototype.readData=function(Be){if(this.checkOffset(Be),Be===0)return new Uint8Array(0);var Le=this.data.subarray(this.zero+this.index,this.zero+this.index+Be);return this.index+=Be,Le},at.exports=me},{"../utils":32,"./ArrayReader":17}],22:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("../support"),Be=ze("./ArrayReader"),Le=ze("./StringReader"),de=ze("./NodeBufferReader"),Ie=ze("./Uint8ArrayReader");at.exports=function(Fe){var Ce=je.getTypeOf(Fe);return je.checkSupport(Ce),Ce!=="string"||me.uint8array?Ce==="nodebuffer"?new de(Fe):me.uint8array?new Ie(je.transformTo("uint8array",Fe)):new Be(je.transformTo("array",Fe)):new Le(Fe)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(ze,at,Ge){"use strict";Ge.LOCAL_FILE_HEADER="PK",Ge.CENTRAL_FILE_HEADER="PK",Ge.CENTRAL_DIRECTORY_END="PK",Ge.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",Ge.ZIP64_CENTRAL_DIRECTORY_END="PK",Ge.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(ze,at,Ge){"use strict";var je=ze("./GenericWorker"),me=ze("../utils");function Be(Le){je.call(this,"ConvertWorker to "+Le),this.destType=Le}me.inherits(Be,je),Be.prototype.processChunk=function(Le){this.push({data:me.transformTo(this.destType,Le.data),meta:Le.meta})},at.exports=Be},{"../utils":32,"./GenericWorker":28}],25:[function(ze,at,Ge){"use strict";var je=ze("./GenericWorker"),me=ze("../crc32");function Be(){je.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}ze("../utils").inherits(Be,je),Be.prototype.processChunk=function(Le){this.streamInfo.crc32=me(Le.data,this.streamInfo.crc32||0),this.push(Le)},at.exports=Be},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("./GenericWorker");function Be(Le){me.call(this,"DataLengthProbe for "+Le),this.propName=Le,this.withStreamInfo(Le,0)}je.inherits(Be,me),Be.prototype.processChunk=function(Le){if(Le){var de=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=de+Le.data.length}me.prototype.processChunk.call(this,Le)},at.exports=Be},{"../utils":32,"./GenericWorker":28}],27:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("./GenericWorker");function Be(Le){me.call(this,"DataWorker");var de=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,Le.then(function(Ie){de.dataIsReady=!0,de.data=Ie,de.max=Ie&&Ie.length||0,de.type=je.getTypeOf(Ie),de.isPaused||de._tickAndRepeat()},function(Ie){de.error(Ie)})}je.inherits(Be,me),Be.prototype.cleanUp=function(){me.prototype.cleanUp.call(this),this.data=null},Be.prototype.resume=function(){return!!me.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,je.delay(this._tickAndRepeat,[],this)),!0)},Be.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(je.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},Be.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var Le=null,de=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":Le=this.data.substring(this.index,de);break;case"uint8array":Le=this.data.subarray(this.index,de);break;case"array":case"nodebuffer":Le=this.data.slice(this.index,de)}return this.index=de,this.push({data:Le,meta:{percent:this.max?this.index/this.max*100:0}})},at.exports=Be},{"../utils":32,"./GenericWorker":28}],28:[function(ze,at,Ge){"use strict";function je(me){this.name=me||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}je.prototype={push:function(me){this.emit("data",me)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(me){this.emit("error",me)}return!0},error:function(me){return!this.isFinished&&(this.isPaused?this.generatedError=me:(this.isFinished=!0,this.emit("error",me),this.previous&&this.previous.error(me),this.cleanUp()),!0)},on:function(me,Be){return this._listeners[me].push(Be),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(me,Be){if(this._listeners[me])for(var Le=0;Le<this._listeners[me].length;Le++)this._listeners[me][Le].call(this,Be)},pipe:function(me){return me.registerPrevious(this)},registerPrevious:function(me){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=me.streamInfo,this.mergeStreamInfo(),this.previous=me;var Be=this;return me.on("data",function(Le){Be.processChunk(Le)}),me.on("end",function(){Be.end()}),me.on("error",function(Le){Be.error(Le)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var me=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),me=!0),this.previous&&this.previous.resume(),!me},flush:function(){},processChunk:function(me){this.push(me)},withStreamInfo:function(me,Be){return this.extraStreamInfo[me]=Be,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var me in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,me)&&(this.streamInfo[me]=this.extraStreamInfo[me])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var me="Worker "+this.name;return this.previous?this.previous+" -> "+me:me}},at.exports=je},{}],29:[function(ze,at,Ge){"use strict";var je=ze("../utils"),me=ze("./ConvertWorker"),Be=ze("./GenericWorker"),Le=ze("../base64"),de=ze("../support"),Ie=ze("../external"),Fe=null;if(de.nodestream)try{Fe=ze("../nodejs/NodejsStreamOutputAdapter")}catch(y){}function Ce(y,a){return new Ie.Promise(function(ee,E){var te=[],ne=y._internalType,oe=y._outputType,he=y._mimeType;y.on("data",function(_e,Pe){te.push(_e),a&&a(Pe)}).on("error",function(_e){te=[],E(_e)}).on("end",function(){try{var _e=function(Pe,Qe,Ze){switch(Pe){case"blob":return je.newBlob(je.transformTo("arraybuffer",Qe),Ze);case"base64":return Le.encode(Qe);default:return je.transformTo(Pe,Qe)}}(oe,function(Pe,Qe){var Ze,Ve=0,nt=null,De=0;for(Ze=0;Ze<Qe.length;Ze++)De+=Qe[Ze].length;switch(Pe){case"string":return Qe.join("");case"array":return Array.prototype.concat.apply([],Qe);case"uint8array":for(nt=new Uint8Array(De),Ze=0;Ze<Qe.length;Ze++)nt.set(Qe[Ze],Ve),Ve+=Qe[Ze].length;return nt;case"nodebuffer":return Oe.concat(Qe);default:throw new Error("concat : unsupported type '"+Pe+"'")}}(ne,te),he);ee(_e)}catch(Pe){E(Pe)}te=[]}).resume()})}function ie(y,a,ee){var E=a;switch(a){case"blob":case"arraybuffer":E="uint8array";break;case"base64":E="string"}try{this._internalType=E,this._outputType=a,this._mimeType=ee,je.checkSupport(E),this._worker=y.pipe(new me(E)),y.lock()}catch(te){this._worker=new Be("error"),this._worker.error(te)}}ie.prototype={accumulate:function(y){return Ce(this,y)},on:function(y,a){var ee=this;return y==="data"?this._worker.on(y,function(E){a.call(ee,E.data,E.meta)}):this._worker.on(y,function(){je.delay(a,arguments,ee)}),this},resume:function(){return je.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(y){if(je.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new Fe(this,{objectMode:this._outputType!=="nodebuffer"},y)}},at.exports=ie},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(ze,at,Ge){"use strict";if(Ge.base64=!0,Ge.array=!0,Ge.string=!0,Ge.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",Ge.nodebuffer=typeof Oe!="undefined",Ge.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")Ge.blob=!1;else{var je=new ArrayBuffer(0);try{Ge.blob=new Blob([je],{type:"application/zip"}).size===0}catch(Be){try{var me=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);me.append(je),Ge.blob=me.getBlob("application/zip").size===0}catch(Le){Ge.blob=!1}}}try{Ge.nodestream=!!ze("readable-stream").Readable}catch(Be){Ge.nodestream=!1}},{"readable-stream":16}],31:[function(ze,at,Ge){"use strict";for(var je=ze("./utils"),me=ze("./support"),Be=ze("./nodejsUtils"),Le=ze("./stream/GenericWorker"),de=new Array(256),Ie=0;Ie<256;Ie++)de[Ie]=252<=Ie?6:248<=Ie?5:240<=Ie?4:224<=Ie?3:192<=Ie?2:1;de[254]=de[254]=1;function Fe(){Le.call(this,"utf-8 decode"),this.leftOver=null}function Ce(){Le.call(this,"utf-8 encode")}Ge.utf8encode=function(ie){return me.nodebuffer?Be.newBufferFrom(ie,"utf-8"):function(y){var a,ee,E,te,ne,oe=y.length,he=0;for(te=0;te<oe;te++)(64512&(ee=y.charCodeAt(te)))==55296&&te+1<oe&&(64512&(E=y.charCodeAt(te+1)))==56320&&(ee=65536+(ee-55296<<10)+(E-56320),te++),he+=ee<128?1:ee<2048?2:ee<65536?3:4;for(a=me.uint8array?new Uint8Array(he):new Array(he),te=ne=0;ne<he;te++)(64512&(ee=y.charCodeAt(te)))==55296&&te+1<oe&&(64512&(E=y.charCodeAt(te+1)))==56320&&(ee=65536+(ee-55296<<10)+(E-56320),te++),ee<128?a[ne++]=ee:(ee<2048?a[ne++]=192|ee>>>6:(ee<65536?a[ne++]=224|ee>>>12:(a[ne++]=240|ee>>>18,a[ne++]=128|ee>>>12&63),a[ne++]=128|ee>>>6&63),a[ne++]=128|63&ee);return a}(ie)},Ge.utf8decode=function(ie){return me.nodebuffer?je.transformTo("nodebuffer",ie).toString("utf-8"):function(y){var a,ee,E,te,ne=y.length,oe=new Array(2*ne);for(a=ee=0;a<ne;)if((E=y[a++])<128)oe[ee++]=E;else if(4<(te=de[E]))oe[ee++]=65533,a+=te-1;else{for(E&=te===2?31:te===3?15:7;1<te&&a<ne;)E=E<<6|63&y[a++],te--;1<te?oe[ee++]=65533:E<65536?oe[ee++]=E:(E-=65536,oe[ee++]=55296|E>>10&1023,oe[ee++]=56320|1023&E)}return oe.length!==ee&&(oe.subarray?oe=oe.subarray(0,ee):oe.length=ee),je.applyFromCharCode(oe)}(ie=je.transformTo(me.uint8array?"uint8array":"array",ie))},je.inherits(Fe,Le),Fe.prototype.processChunk=function(ie){var y=je.transformTo(me.uint8array?"uint8array":"array",ie.data);if(this.leftOver&&this.leftOver.length){if(me.uint8array){var a=y;(y=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),y.set(a,this.leftOver.length)}else y=this.leftOver.concat(y);this.leftOver=null}var ee=function(te,ne){var oe;for((ne=ne||te.length)>te.length&&(ne=te.length),oe=ne-1;0<=oe&&(192&te[oe])==128;)oe--;return oe<0||oe===0?ne:oe+de[te[oe]]>ne?oe:ne}(y),E=y;ee!==y.length&&(me.uint8array?(E=y.subarray(0,ee),this.leftOver=y.subarray(ee,y.length)):(E=y.slice(0,ee),this.leftOver=y.slice(ee,y.length))),this.push({data:Ge.utf8decode(E),meta:ie.meta})},Fe.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Ge.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},Ge.Utf8DecodeWorker=Fe,je.inherits(Ce,Le),Ce.prototype.processChunk=function(ie){this.push({data:Ge.utf8encode(ie.data),meta:ie.meta})},Ge.Utf8EncodeWorker=Ce},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(ze,at,Ge){"use strict";var je=ze("./support"),me=ze("./base64"),Be=ze("./nodejsUtils"),Le=ze("./external");function de(a){return a}function Ie(a,ee){for(var E=0;E<a.length;++E)ee[E]=255&a.charCodeAt(E);return ee}ze("setimmediate"),Ge.newBlob=function(a,ee){Ge.checkSupport("blob");try{return new Blob([a],{type:ee})}catch(te){try{var E=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return E.append(a),E.getBlob(ee)}catch(ne){throw new Error("Bug : can't construct the Blob.")}}};var Fe={stringifyByChunk:function(a,ee,E){var te=[],ne=0,oe=a.length;if(oe<=E)return String.fromCharCode.apply(null,a);for(;ne<oe;)ee==="array"||ee==="nodebuffer"?te.push(String.fromCharCode.apply(null,a.slice(ne,Math.min(ne+E,oe)))):te.push(String.fromCharCode.apply(null,a.subarray(ne,Math.min(ne+E,oe)))),ne+=E;return te.join("")},stringifyByChar:function(a){for(var ee="",E=0;E<a.length;E++)ee+=String.fromCharCode(a[E]);return ee},applyCanBeUsed:{uint8array:function(){try{return je.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(a){return!1}}(),nodebuffer:function(){try{return je.nodebuffer&&String.fromCharCode.apply(null,Be.allocBuffer(1)).length===1}catch(a){return!1}}()}};function Ce(a){var ee=65536,E=Ge.getTypeOf(a),te=!0;if(E==="uint8array"?te=Fe.applyCanBeUsed.uint8array:E==="nodebuffer"&&(te=Fe.applyCanBeUsed.nodebuffer),te)for(;1<ee;)try{return Fe.stringifyByChunk(a,E,ee)}catch(ne){ee=Math.floor(ee/2)}return Fe.stringifyByChar(a)}function ie(a,ee){for(var E=0;E<a.length;E++)ee[E]=a[E];return ee}Ge.applyFromCharCode=Ce;var y={};y.string={string:de,array:function(a){return Ie(a,new Array(a.length))},arraybuffer:function(a){return y.string.uint8array(a).buffer},uint8array:function(a){return Ie(a,new Uint8Array(a.length))},nodebuffer:function(a){return Ie(a,Be.allocBuffer(a.length))}},y.array={string:Ce,array:de,arraybuffer:function(a){return new Uint8Array(a).buffer},uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return Be.newBufferFrom(a)}},y.arraybuffer={string:function(a){return Ce(new Uint8Array(a))},array:function(a){return ie(new Uint8Array(a),new Array(a.byteLength))},arraybuffer:de,uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return Be.newBufferFrom(new Uint8Array(a))}},y.uint8array={string:Ce,array:function(a){return ie(a,new Array(a.length))},arraybuffer:function(a){return a.buffer},uint8array:de,nodebuffer:function(a){return Be.newBufferFrom(a)}},y.nodebuffer={string:Ce,array:function(a){return ie(a,new Array(a.length))},arraybuffer:function(a){return y.nodebuffer.uint8array(a).buffer},uint8array:function(a){return ie(a,new Uint8Array(a.length))},nodebuffer:de},Ge.transformTo=function(a,ee){if(ee=ee||"",!a)return ee;Ge.checkSupport(a);var E=Ge.getTypeOf(ee);return y[E][a](ee)},Ge.resolve=function(a){for(var ee=a.split("/"),E=[],te=0;te<ee.length;te++){var ne=ee[te];ne==="."||ne===""&&te!==0&&te!==ee.length-1||(ne===".."?E.pop():E.push(ne))}return E.join("/")},Ge.getTypeOf=function(a){return typeof a=="string"?"string":Object.prototype.toString.call(a)==="[object Array]"?"array":je.nodebuffer&&Be.isBuffer(a)?"nodebuffer":je.uint8array&&a instanceof Uint8Array?"uint8array":je.arraybuffer&&a instanceof ArrayBuffer?"arraybuffer":void 0},Ge.checkSupport=function(a){if(!je[a.toLowerCase()])throw new Error(a+" is not supported by this platform")},Ge.MAX_VALUE_16BITS=65535,Ge.MAX_VALUE_32BITS=-1,Ge.pretty=function(a){var ee,E,te="";for(E=0;E<(a||"").length;E++)te+="\\x"+((ee=a.charCodeAt(E))<16?"0":"")+ee.toString(16).toUpperCase();return te},Ge.delay=function(a,ee,E){setImmediate(function(){a.apply(E||null,ee||[])})},Ge.inherits=function(a,ee){function E(){}E.prototype=ee.prototype,a.prototype=new E},Ge.extend=function(){var a,ee,E={};for(a=0;a<arguments.length;a++)for(ee in arguments[a])Object.prototype.hasOwnProperty.call(arguments[a],ee)&&E[ee]===void 0&&(E[ee]=arguments[a][ee]);return E},Ge.prepareContent=function(a,ee,E,te,ne){return Le.Promise.resolve(ee).then(function(oe){return je.blob&&(oe instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(oe))!==-1)&&typeof FileReader!="undefined"?new Le.Promise(function(he,_e){var Pe=new FileReader;Pe.onload=function(Qe){he(Qe.target.result)},Pe.onerror=function(Qe){_e(Qe.target.error)},Pe.readAsArrayBuffer(oe)}):oe}).then(function(oe){var he=Ge.getTypeOf(oe);return he?(he==="arraybuffer"?oe=Ge.transformTo("uint8array",oe):he==="string"&&(ne?oe=me.decode(oe):E&&te!==!0&&(oe=function(_e){return Ie(_e,je.uint8array?new Uint8Array(_e.length):new Array(_e.length))}(oe))),oe):Le.Promise.reject(new Error("Can't read the data of '"+a+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(ze,at,Ge){"use strict";var je=ze("./reader/readerFor"),me=ze("./utils"),Be=ze("./signature"),Le=ze("./zipEntry"),de=ze("./support");function Ie(Fe){this.files=[],this.loadOptions=Fe}Ie.prototype={checkSignature:function(Fe){if(!this.reader.readAndCheckSignature(Fe)){this.reader.index-=4;var Ce=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+me.pretty(Ce)+", expected "+me.pretty(Fe)+")")}},isSignature:function(Fe,Ce){var ie=this.reader.index;this.reader.setIndex(Fe);var y=this.reader.readString(4)===Ce;return this.reader.setIndex(ie),y},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var Fe=this.reader.readData(this.zipCommentLength),Ce=de.uint8array?"uint8array":"array",ie=me.transformTo(Ce,Fe);this.zipComment=this.loadOptions.decodeFileName(ie)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var Fe,Ce,ie,y=this.zip64EndOfCentralSize-44;0<y;)Fe=this.reader.readInt(2),Ce=this.reader.readInt(4),ie=this.reader.readData(Ce),this.zip64ExtensibleData[Fe]={id:Fe,length:Ce,value:ie}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var Fe,Ce;for(Fe=0;Fe<this.files.length;Fe++)Ce=this.files[Fe],this.reader.setIndex(Ce.localHeaderOffset),this.checkSignature(Be.LOCAL_FILE_HEADER),Ce.readLocalPart(this.reader),Ce.handleUTF8(),Ce.processAttributes()},readCentralDir:function(){var Fe;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Be.CENTRAL_FILE_HEADER);)(Fe=new Le({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(Fe);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var Fe=this.reader.lastIndexOfSignature(Be.CENTRAL_DIRECTORY_END);if(Fe<0)throw this.isSignature(0,Be.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(Fe);var Ce=Fe;if(this.checkSignature(Be.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===me.MAX_VALUE_16BITS||this.diskWithCentralDirStart===me.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===me.MAX_VALUE_16BITS||this.centralDirRecords===me.MAX_VALUE_16BITS||this.centralDirSize===me.MAX_VALUE_32BITS||this.centralDirOffset===me.MAX_VALUE_32BITS){if(this.zip64=!0,(Fe=this.reader.lastIndexOfSignature(Be.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(Fe),this.checkSignature(Be.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Be.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Be.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Be.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var ie=this.centralDirOffset+this.centralDirSize;this.zip64&&(ie+=20,ie+=12+this.zip64EndOfCentralSize);var y=Ce-ie;if(0<y)this.isSignature(Ce,Be.CENTRAL_FILE_HEADER)||(this.reader.zero=y);else if(y<0)throw new Error("Corrupted zip: missing "+Math.abs(y)+" bytes.")},prepareReader:function(Fe){this.reader=je(Fe)},load:function(Fe){this.prepareReader(Fe),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},at.exports=Ie},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(ze,at,Ge){"use strict";var je=ze("./reader/readerFor"),me=ze("./utils"),Be=ze("./compressedObject"),Le=ze("./crc32"),de=ze("./utf8"),Ie=ze("./compressions"),Fe=ze("./support");function Ce(ie,y){this.options=ie,this.loadOptions=y}Ce.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(ie){var y,a;if(ie.skip(22),this.fileNameLength=ie.readInt(2),a=ie.readInt(2),this.fileName=ie.readData(this.fileNameLength),ie.skip(a),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((y=function(ee){for(var E in Ie)if(Object.prototype.hasOwnProperty.call(Ie,E)&&Ie[E].magic===ee)return Ie[E];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+me.pretty(this.compressionMethod)+" unknown (inner file : "+me.transformTo("string",this.fileName)+")");this.decompressed=new Be(this.compressedSize,this.uncompressedSize,this.crc32,y,ie.readData(this.compressedSize))},readCentralPart:function(ie){this.versionMadeBy=ie.readInt(2),ie.skip(2),this.bitFlag=ie.readInt(2),this.compressionMethod=ie.readString(2),this.date=ie.readDate(),this.crc32=ie.readInt(4),this.compressedSize=ie.readInt(4),this.uncompressedSize=ie.readInt(4);var y=ie.readInt(2);if(this.extraFieldsLength=ie.readInt(2),this.fileCommentLength=ie.readInt(2),this.diskNumberStart=ie.readInt(2),this.internalFileAttributes=ie.readInt(2),this.externalFileAttributes=ie.readInt(4),this.localHeaderOffset=ie.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");ie.skip(y),this.readExtraFields(ie),this.parseZIP64ExtraField(ie),this.fileComment=ie.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var ie=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),ie==0&&(this.dosPermissions=63&this.externalFileAttributes),ie==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var ie=je(this.extraFields[1].value);this.uncompressedSize===me.MAX_VALUE_32BITS&&(this.uncompressedSize=ie.readInt(8)),this.compressedSize===me.MAX_VALUE_32BITS&&(this.compressedSize=ie.readInt(8)),this.localHeaderOffset===me.MAX_VALUE_32BITS&&(this.localHeaderOffset=ie.readInt(8)),this.diskNumberStart===me.MAX_VALUE_32BITS&&(this.diskNumberStart=ie.readInt(4))}},readExtraFields:function(ie){var y,a,ee,E=ie.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});ie.index+4<E;)y=ie.readInt(2),a=ie.readInt(2),ee=ie.readData(a),this.extraFields[y]={id:y,length:a,value:ee};ie.setIndex(E)},handleUTF8:function(){var ie=Fe.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=de.utf8decode(this.fileName),this.fileCommentStr=de.utf8decode(this.fileComment);else{var y=this.findExtraFieldUnicodePath();if(y!==null)this.fileNameStr=y;else{var a=me.transformTo(ie,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(a)}var ee=this.findExtraFieldUnicodeComment();if(ee!==null)this.fileCommentStr=ee;else{var E=me.transformTo(ie,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(E)}}},findExtraFieldUnicodePath:function(){var ie=this.extraFields[28789];if(ie){var y=je(ie.value);return y.readInt(1)!==1||Le(this.fileName)!==y.readInt(4)?null:de.utf8decode(y.readData(ie.length-5))}return null},findExtraFieldUnicodeComment:function(){var ie=this.extraFields[25461];if(ie){var y=je(ie.value);return y.readInt(1)!==1||Le(this.fileComment)!==y.readInt(4)?null:de.utf8decode(y.readData(ie.length-5))}return null}},at.exports=Ce},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(ze,at,Ge){"use strict";function je(y,a,ee){this.name=y,this.dir=ee.dir,this.date=ee.date,this.comment=ee.comment,this.unixPermissions=ee.unixPermissions,this.dosPermissions=ee.dosPermissions,this._data=a,this._dataBinary=ee.binary,this.options={compression:ee.compression,compressionOptions:ee.compressionOptions}}var me=ze("./stream/StreamHelper"),Be=ze("./stream/DataWorker"),Le=ze("./utf8"),de=ze("./compressedObject"),Ie=ze("./stream/GenericWorker");je.prototype={internalStream:function(y){var a=null,ee="string";try{if(!y)throw new Error("No output type specified.");var E=(ee=y.toLowerCase())==="string"||ee==="text";ee!=="binarystring"&&ee!=="text"||(ee="string"),a=this._decompressWorker();var te=!this._dataBinary;te&&!E&&(a=a.pipe(new Le.Utf8EncodeWorker)),!te&&E&&(a=a.pipe(new Le.Utf8DecodeWorker))}catch(ne){(a=new Ie("error")).error(ne)}return new me(a,ee,"")},async:function(y,a){return this.internalStream(y).accumulate(a)},nodeStream:function(y,a){return this.internalStream(y||"nodebuffer").toNodejsStream(a)},_compressWorker:function(y,a){if(this._data instanceof de&&this._data.compression.magic===y.magic)return this._data.getCompressedWorker();var ee=this._decompressWorker();return this._dataBinary||(ee=ee.pipe(new Le.Utf8EncodeWorker)),de.createWorkerFrom(ee,y,a)},_decompressWorker:function(){return this._data instanceof de?this._data.getContentWorker():this._data instanceof Ie?this._data:new Be(this._data)}};for(var Fe=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Ce=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},ie=0;ie<Fe.length;ie++)je.prototype[Fe[ie]]=Ce;at.exports=je},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(ze,at,Ge){(function(je){"use strict";var me,Be,Le=je.MutationObserver||je.WebKitMutationObserver;if(Le){var de=0,Ie=new Le(y),Fe=je.document.createTextNode("");Ie.observe(Fe,{characterData:!0}),me=function(){Fe.data=de=++de%2}}else if(je.setImmediate||je.MessageChannel===void 0)me="document"in je&&"onreadystatechange"in je.document.createElement("script")?function(){var a=je.document.createElement("script");a.onreadystatechange=function(){y(),a.onreadystatechange=null,a.parentNode.removeChild(a),a=null},je.document.documentElement.appendChild(a)}:function(){setTimeout(y,0)};else{var Ce=new je.MessageChannel;Ce.port1.onmessage=y,me=function(){Ce.port2.postMessage(0)}}var ie=[];function y(){var a,ee;Be=!0;for(var E=ie.length;E;){for(ee=ie,ie=[],a=-1;++a<E;)ee[a]();E=ie.length}Be=!1}at.exports=function(a){ie.push(a)!==1||Be||me()}}).call(this,typeof we.g!="undefined"?we.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(ze,at,Ge){"use strict";var je=ze("immediate");function me(){}var Be={},Le=["REJECTED"],de=["FULFILLED"],Ie=["PENDING"];function Fe(E){if(typeof E!="function")throw new TypeError("resolver must be a function");this.state=Ie,this.queue=[],this.outcome=void 0,E!==me&&a(this,E)}function Ce(E,te,ne){this.promise=E,typeof te=="function"&&(this.onFulfilled=te,this.callFulfilled=this.otherCallFulfilled),typeof ne=="function"&&(this.onRejected=ne,this.callRejected=this.otherCallRejected)}function ie(E,te,ne){je(function(){var oe;try{oe=te(ne)}catch(he){return Be.reject(E,he)}oe===E?Be.reject(E,new TypeError("Cannot resolve promise with itself")):Be.resolve(E,oe)})}function y(E){var te=E&&E.then;if(E&&(typeof E=="object"||typeof E=="function")&&typeof te=="function")return function(){te.apply(E,arguments)}}function a(E,te){var ne=!1;function oe(Pe){ne||(ne=!0,Be.reject(E,Pe))}function he(Pe){ne||(ne=!0,Be.resolve(E,Pe))}var _e=ee(function(){te(he,oe)});_e.status==="error"&&oe(_e.value)}function ee(E,te){var ne={};try{ne.value=E(te),ne.status="success"}catch(oe){ne.status="error",ne.value=oe}return ne}(at.exports=Fe).prototype.finally=function(E){if(typeof E!="function")return this;var te=this.constructor;return this.then(function(ne){return te.resolve(E()).then(function(){return ne})},function(ne){return te.resolve(E()).then(function(){throw ne})})},Fe.prototype.catch=function(E){return this.then(null,E)},Fe.prototype.then=function(E,te){if(typeof E!="function"&&this.state===de||typeof te!="function"&&this.state===Le)return this;var ne=new this.constructor(me);return this.state!==Ie?ie(ne,this.state===de?E:te,this.outcome):this.queue.push(new Ce(ne,E,te)),ne},Ce.prototype.callFulfilled=function(E){Be.resolve(this.promise,E)},Ce.prototype.otherCallFulfilled=function(E){ie(this.promise,this.onFulfilled,E)},Ce.prototype.callRejected=function(E){Be.reject(this.promise,E)},Ce.prototype.otherCallRejected=function(E){ie(this.promise,this.onRejected,E)},Be.resolve=function(E,te){var ne=ee(y,te);if(ne.status==="error")return Be.reject(E,ne.value);var oe=ne.value;if(oe)a(E,oe);else{E.state=de,E.outcome=te;for(var he=-1,_e=E.queue.length;++he<_e;)E.queue[he].callFulfilled(te)}return E},Be.reject=function(E,te){E.state=Le,E.outcome=te;for(var ne=-1,oe=E.queue.length;++ne<oe;)E.queue[ne].callRejected(te);return E},Fe.resolve=function(E){return E instanceof this?E:Be.resolve(new this(me),E)},Fe.reject=function(E){var te=new this(me);return Be.reject(te,E)},Fe.all=function(E){var te=this;if(Object.prototype.toString.call(E)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ne=E.length,oe=!1;if(!ne)return this.resolve([]);for(var he=new Array(ne),_e=0,Pe=-1,Qe=new this(me);++Pe<ne;)Ze(E[Pe],Pe);return Qe;function Ze(Ve,nt){te.resolve(Ve).then(function(De){he[nt]=De,++_e!==ne||oe||(oe=!0,Be.resolve(Qe,he))},function(De){oe||(oe=!0,Be.reject(Qe,De))})}},Fe.race=function(E){var te=this;if(Object.prototype.toString.call(E)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ne=E.length,oe=!1;if(!ne)return this.resolve([]);for(var he=-1,_e=new this(me);++he<ne;)Pe=E[he],te.resolve(Pe).then(function(Qe){oe||(oe=!0,Be.resolve(_e,Qe))},function(Qe){oe||(oe=!0,Be.reject(_e,Qe))});var Pe;return _e}},{immediate:36}],38:[function(ze,at,Ge){"use strict";var je={};(0,ze("./lib/utils/common").assign)(je,ze("./lib/deflate"),ze("./lib/inflate"),ze("./lib/zlib/constants")),at.exports=je},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(ze,at,Ge){"use strict";var je=ze("./zlib/deflate"),me=ze("./utils/common"),Be=ze("./utils/strings"),Le=ze("./zlib/messages"),de=ze("./zlib/zstream"),Ie=Object.prototype.toString,Fe=0,Ce=-1,ie=0,y=8;function a(E){if(!(this instanceof a))return new a(E);this.options=me.assign({level:Ce,method:y,chunkSize:16384,windowBits:15,memLevel:8,strategy:ie,to:""},E||{});var te=this.options;te.raw&&0<te.windowBits?te.windowBits=-te.windowBits:te.gzip&&0<te.windowBits&&te.windowBits<16&&(te.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new de,this.strm.avail_out=0;var ne=je.deflateInit2(this.strm,te.level,te.method,te.windowBits,te.memLevel,te.strategy);if(ne!==Fe)throw new Error(Le[ne]);if(te.header&&je.deflateSetHeader(this.strm,te.header),te.dictionary){var oe;if(oe=typeof te.dictionary=="string"?Be.string2buf(te.dictionary):Ie.call(te.dictionary)==="[object ArrayBuffer]"?new Uint8Array(te.dictionary):te.dictionary,(ne=je.deflateSetDictionary(this.strm,oe))!==Fe)throw new Error(Le[ne]);this._dict_set=!0}}function ee(E,te){var ne=new a(te);if(ne.push(E,!0),ne.err)throw ne.msg||Le[ne.err];return ne.result}a.prototype.push=function(E,te){var ne,oe,he=this.strm,_e=this.options.chunkSize;if(this.ended)return!1;oe=te===~~te?te:te===!0?4:0,typeof E=="string"?he.input=Be.string2buf(E):Ie.call(E)==="[object ArrayBuffer]"?he.input=new Uint8Array(E):he.input=E,he.next_in=0,he.avail_in=he.input.length;do{if(he.avail_out===0&&(he.output=new me.Buf8(_e),he.next_out=0,he.avail_out=_e),(ne=je.deflate(he,oe))!==1&&ne!==Fe)return this.onEnd(ne),!(this.ended=!0);he.avail_out!==0&&(he.avail_in!==0||oe!==4&&oe!==2)||(this.options.to==="string"?this.onData(Be.buf2binstring(me.shrinkBuf(he.output,he.next_out))):this.onData(me.shrinkBuf(he.output,he.next_out)))}while((0<he.avail_in||he.avail_out===0)&&ne!==1);return oe===4?(ne=je.deflateEnd(this.strm),this.onEnd(ne),this.ended=!0,ne===Fe):oe!==2||(this.onEnd(Fe),!(he.avail_out=0))},a.prototype.onData=function(E){this.chunks.push(E)},a.prototype.onEnd=function(E){E===Fe&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=me.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg},Ge.Deflate=a,Ge.deflate=ee,Ge.deflateRaw=function(E,te){return(te=te||{}).raw=!0,ee(E,te)},Ge.gzip=function(E,te){return(te=te||{}).gzip=!0,ee(E,te)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(ze,at,Ge){"use strict";var je=ze("./zlib/inflate"),me=ze("./utils/common"),Be=ze("./utils/strings"),Le=ze("./zlib/constants"),de=ze("./zlib/messages"),Ie=ze("./zlib/zstream"),Fe=ze("./zlib/gzheader"),Ce=Object.prototype.toString;function ie(a){if(!(this instanceof ie))return new ie(a);this.options=me.assign({chunkSize:16384,windowBits:0,to:""},a||{});var ee=this.options;ee.raw&&0<=ee.windowBits&&ee.windowBits<16&&(ee.windowBits=-ee.windowBits,ee.windowBits===0&&(ee.windowBits=-15)),!(0<=ee.windowBits&&ee.windowBits<16)||a&&a.windowBits||(ee.windowBits+=32),15<ee.windowBits&&ee.windowBits<48&&!(15&ee.windowBits)&&(ee.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ie,this.strm.avail_out=0;var E=je.inflateInit2(this.strm,ee.windowBits);if(E!==Le.Z_OK)throw new Error(de[E]);this.header=new Fe,je.inflateGetHeader(this.strm,this.header)}function y(a,ee){var E=new ie(ee);if(E.push(a,!0),E.err)throw E.msg||de[E.err];return E.result}ie.prototype.push=function(a,ee){var E,te,ne,oe,he,_e,Pe=this.strm,Qe=this.options.chunkSize,Ze=this.options.dictionary,Ve=!1;if(this.ended)return!1;te=ee===~~ee?ee:ee===!0?Le.Z_FINISH:Le.Z_NO_FLUSH,typeof a=="string"?Pe.input=Be.binstring2buf(a):Ce.call(a)==="[object ArrayBuffer]"?Pe.input=new Uint8Array(a):Pe.input=a,Pe.next_in=0,Pe.avail_in=Pe.input.length;do{if(Pe.avail_out===0&&(Pe.output=new me.Buf8(Qe),Pe.next_out=0,Pe.avail_out=Qe),(E=je.inflate(Pe,Le.Z_NO_FLUSH))===Le.Z_NEED_DICT&&Ze&&(_e=typeof Ze=="string"?Be.string2buf(Ze):Ce.call(Ze)==="[object ArrayBuffer]"?new Uint8Array(Ze):Ze,E=je.inflateSetDictionary(this.strm,_e)),E===Le.Z_BUF_ERROR&&Ve===!0&&(E=Le.Z_OK,Ve=!1),E!==Le.Z_STREAM_END&&E!==Le.Z_OK)return this.onEnd(E),!(this.ended=!0);Pe.next_out&&(Pe.avail_out!==0&&E!==Le.Z_STREAM_END&&(Pe.avail_in!==0||te!==Le.Z_FINISH&&te!==Le.Z_SYNC_FLUSH)||(this.options.to==="string"?(ne=Be.utf8border(Pe.output,Pe.next_out),oe=Pe.next_out-ne,he=Be.buf2string(Pe.output,ne),Pe.next_out=oe,Pe.avail_out=Qe-oe,oe&&me.arraySet(Pe.output,Pe.output,ne,oe,0),this.onData(he)):this.onData(me.shrinkBuf(Pe.output,Pe.next_out)))),Pe.avail_in===0&&Pe.avail_out===0&&(Ve=!0)}while((0<Pe.avail_in||Pe.avail_out===0)&&E!==Le.Z_STREAM_END);return E===Le.Z_STREAM_END&&(te=Le.Z_FINISH),te===Le.Z_FINISH?(E=je.inflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===Le.Z_OK):te!==Le.Z_SYNC_FLUSH||(this.onEnd(Le.Z_OK),!(Pe.avail_out=0))},ie.prototype.onData=function(a){this.chunks.push(a)},ie.prototype.onEnd=function(a){a===Le.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=me.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},Ge.Inflate=ie,Ge.inflate=y,Ge.inflateRaw=function(a,ee){return(ee=ee||{}).raw=!0,y(a,ee)},Ge.ungzip=y},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(ze,at,Ge){"use strict";var je=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";Ge.assign=function(Le){for(var de=Array.prototype.slice.call(arguments,1);de.length;){var Ie=de.shift();if(Ie){if(typeof Ie!="object")throw new TypeError(Ie+"must be non-object");for(var Fe in Ie)Ie.hasOwnProperty(Fe)&&(Le[Fe]=Ie[Fe])}}return Le},Ge.shrinkBuf=function(Le,de){return Le.length===de?Le:Le.subarray?Le.subarray(0,de):(Le.length=de,Le)};var me={arraySet:function(Le,de,Ie,Fe,Ce){if(de.subarray&&Le.subarray)Le.set(de.subarray(Ie,Ie+Fe),Ce);else for(var ie=0;ie<Fe;ie++)Le[Ce+ie]=de[Ie+ie]},flattenChunks:function(Le){var de,Ie,Fe,Ce,ie,y;for(de=Fe=0,Ie=Le.length;de<Ie;de++)Fe+=Le[de].length;for(y=new Uint8Array(Fe),de=Ce=0,Ie=Le.length;de<Ie;de++)ie=Le[de],y.set(ie,Ce),Ce+=ie.length;return y}},Be={arraySet:function(Le,de,Ie,Fe,Ce){for(var ie=0;ie<Fe;ie++)Le[Ce+ie]=de[Ie+ie]},flattenChunks:function(Le){return[].concat.apply([],Le)}};Ge.setTyped=function(Le){Le?(Ge.Buf8=Uint8Array,Ge.Buf16=Uint16Array,Ge.Buf32=Int32Array,Ge.assign(Ge,me)):(Ge.Buf8=Array,Ge.Buf16=Array,Ge.Buf32=Array,Ge.assign(Ge,Be))},Ge.setTyped(je)},{}],42:[function(ze,at,Ge){"use strict";var je=ze("./common"),me=!0,Be=!0;try{String.fromCharCode.apply(null,[0])}catch(Fe){me=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Fe){Be=!1}for(var Le=new je.Buf8(256),de=0;de<256;de++)Le[de]=252<=de?6:248<=de?5:240<=de?4:224<=de?3:192<=de?2:1;function Ie(Fe,Ce){if(Ce<65537&&(Fe.subarray&&Be||!Fe.subarray&&me))return String.fromCharCode.apply(null,je.shrinkBuf(Fe,Ce));for(var ie="",y=0;y<Ce;y++)ie+=String.fromCharCode(Fe[y]);return ie}Le[254]=Le[254]=1,Ge.string2buf=function(Fe){var Ce,ie,y,a,ee,E=Fe.length,te=0;for(a=0;a<E;a++)(64512&(ie=Fe.charCodeAt(a)))==55296&&a+1<E&&(64512&(y=Fe.charCodeAt(a+1)))==56320&&(ie=65536+(ie-55296<<10)+(y-56320),a++),te+=ie<128?1:ie<2048?2:ie<65536?3:4;for(Ce=new je.Buf8(te),a=ee=0;ee<te;a++)(64512&(ie=Fe.charCodeAt(a)))==55296&&a+1<E&&(64512&(y=Fe.charCodeAt(a+1)))==56320&&(ie=65536+(ie-55296<<10)+(y-56320),a++),ie<128?Ce[ee++]=ie:(ie<2048?Ce[ee++]=192|ie>>>6:(ie<65536?Ce[ee++]=224|ie>>>12:(Ce[ee++]=240|ie>>>18,Ce[ee++]=128|ie>>>12&63),Ce[ee++]=128|ie>>>6&63),Ce[ee++]=128|63&ie);return Ce},Ge.buf2binstring=function(Fe){return Ie(Fe,Fe.length)},Ge.binstring2buf=function(Fe){for(var Ce=new je.Buf8(Fe.length),ie=0,y=Ce.length;ie<y;ie++)Ce[ie]=Fe.charCodeAt(ie);return Ce},Ge.buf2string=function(Fe,Ce){var ie,y,a,ee,E=Ce||Fe.length,te=new Array(2*E);for(ie=y=0;ie<E;)if((a=Fe[ie++])<128)te[y++]=a;else if(4<(ee=Le[a]))te[y++]=65533,ie+=ee-1;else{for(a&=ee===2?31:ee===3?15:7;1<ee&&ie<E;)a=a<<6|63&Fe[ie++],ee--;1<ee?te[y++]=65533:a<65536?te[y++]=a:(a-=65536,te[y++]=55296|a>>10&1023,te[y++]=56320|1023&a)}return Ie(te,y)},Ge.utf8border=function(Fe,Ce){var ie;for((Ce=Ce||Fe.length)>Fe.length&&(Ce=Fe.length),ie=Ce-1;0<=ie&&(192&Fe[ie])==128;)ie--;return ie<0||ie===0?Ce:ie+Le[Fe[ie]]>Ce?ie:Ce}},{"./common":41}],43:[function(ze,at,Ge){"use strict";at.exports=function(je,me,Be,Le){for(var de=65535&je|0,Ie=je>>>16&65535|0,Fe=0;Be!==0;){for(Be-=Fe=2e3<Be?2e3:Be;Ie=Ie+(de=de+me[Le++]|0)|0,--Fe;);de%=65521,Ie%=65521}return de|Ie<<16|0}},{}],44:[function(ze,at,Ge){"use strict";at.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(ze,at,Ge){"use strict";var je=function(){for(var me,Be=[],Le=0;Le<256;Le++){me=Le;for(var de=0;de<8;de++)me=1&me?3988292384^me>>>1:me>>>1;Be[Le]=me}return Be}();at.exports=function(me,Be,Le,de){var Ie=je,Fe=de+Le;me^=-1;for(var Ce=de;Ce<Fe;Ce++)me=me>>>8^Ie[255&(me^Be[Ce])];return-1^me}},{}],46:[function(ze,at,Ge){"use strict";var je,me=ze("../utils/common"),Be=ze("./trees"),Le=ze("./adler32"),de=ze("./crc32"),Ie=ze("./messages"),Fe=0,Ce=4,ie=0,y=-2,a=-1,ee=4,E=2,te=8,ne=9,oe=286,he=30,_e=19,Pe=2*oe+1,Qe=15,Ze=3,Ve=258,nt=Ve+Ze+1,De=42,Bt=113,ke=1,Ot=2,it=3,rt=4;function wt(Re,Kt){return Re.msg=Ie[Kt],Kt}function dt(Re){return(Re<<1)-(4<Re?9:0)}function pt(Re){for(var Kt=Re.length;0<=--Kt;)Re[Kt]=0}function st(Re){var Kt=Re.state,Te=Kt.pending;Te>Re.avail_out&&(Te=Re.avail_out),Te!==0&&(me.arraySet(Re.output,Kt.pending_buf,Kt.pending_out,Te,Re.next_out),Re.next_out+=Te,Kt.pending_out+=Te,Re.total_out+=Te,Re.avail_out-=Te,Kt.pending-=Te,Kt.pending===0&&(Kt.pending_out=0))}function ft(Re,Kt){Be._tr_flush_block(Re,0<=Re.block_start?Re.block_start:-1,Re.strstart-Re.block_start,Kt),Re.block_start=Re.strstart,st(Re.strm)}function rn(Re,Kt){Re.pending_buf[Re.pending++]=Kt}function fn(Re,Kt){Re.pending_buf[Re.pending++]=Kt>>>8&255,Re.pending_buf[Re.pending++]=255&Kt}function Et(Re,Kt){var Te,pe,ce=Re.max_chain_length,ye=Re.strstart,qe=Re.prev_length,gt=Re.nice_match,Me=Re.strstart>Re.w_size-nt?Re.strstart-(Re.w_size-nt):0,Xe=Re.window,Pt=Re.w_mask,ct=Re.prev,ot=Re.strstart+Ve,kt=Xe[ye+qe-1],_n=Xe[ye+qe];Re.prev_length>=Re.good_match&&(ce>>=2),gt>Re.lookahead&&(gt=Re.lookahead);do if(Xe[(Te=Kt)+qe]===_n&&Xe[Te+qe-1]===kt&&Xe[Te]===Xe[ye]&&Xe[++Te]===Xe[ye+1]){ye+=2,Te++;do;while(Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&Xe[++ye]===Xe[++Te]&&ye<ot);if(pe=Ve-(ot-ye),ye=ot-Ve,qe<pe){if(Re.match_start=Kt,gt<=(qe=pe))break;kt=Xe[ye+qe-1],_n=Xe[ye+qe]}}while((Kt=ct[Kt&Pt])>Me&&--ce!=0);return qe<=Re.lookahead?qe:Re.lookahead}function Jt(Re){var Kt,Te,pe,ce,ye,qe,gt,Me,Xe,Pt,ct=Re.w_size;do{if(ce=Re.window_size-Re.lookahead-Re.strstart,Re.strstart>=ct+(ct-nt)){for(me.arraySet(Re.window,Re.window,ct,ct,0),Re.match_start-=ct,Re.strstart-=ct,Re.block_start-=ct,Kt=Te=Re.hash_size;pe=Re.head[--Kt],Re.head[Kt]=ct<=pe?pe-ct:0,--Te;);for(Kt=Te=ct;pe=Re.prev[--Kt],Re.prev[Kt]=ct<=pe?pe-ct:0,--Te;);ce+=ct}if(Re.strm.avail_in===0)break;if(qe=Re.strm,gt=Re.window,Me=Re.strstart+Re.lookahead,Xe=ce,Pt=void 0,Pt=qe.avail_in,Xe<Pt&&(Pt=Xe),Te=Pt===0?0:(qe.avail_in-=Pt,me.arraySet(gt,qe.input,qe.next_in,Pt,Me),qe.state.wrap===1?qe.adler=Le(qe.adler,gt,Pt,Me):qe.state.wrap===2&&(qe.adler=de(qe.adler,gt,Pt,Me)),qe.next_in+=Pt,qe.total_in+=Pt,Pt),Re.lookahead+=Te,Re.lookahead+Re.insert>=Ze)for(ye=Re.strstart-Re.insert,Re.ins_h=Re.window[ye],Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[ye+1])&Re.hash_mask;Re.insert&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[ye+Ze-1])&Re.hash_mask,Re.prev[ye&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=ye,ye++,Re.insert--,!(Re.lookahead+Re.insert<Ze)););}while(Re.lookahead<nt&&Re.strm.avail_in!==0)}function Ln(Re,Kt){for(var Te,pe;;){if(Re.lookahead<nt){if(Jt(Re),Re.lookahead<nt&&Kt===Fe)return ke;if(Re.lookahead===0)break}if(Te=0,Re.lookahead>=Ze&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart),Te!==0&&Re.strstart-Te<=Re.w_size-nt&&(Re.match_length=Et(Re,Te)),Re.match_length>=Ze)if(pe=Be._tr_tally(Re,Re.strstart-Re.match_start,Re.match_length-Ze),Re.lookahead-=Re.match_length,Re.match_length<=Re.max_lazy_match&&Re.lookahead>=Ze){for(Re.match_length--;Re.strstart++,Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart,--Re.match_length!=0;);Re.strstart++}else Re.strstart+=Re.match_length,Re.match_length=0,Re.ins_h=Re.window[Re.strstart],Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+1])&Re.hash_mask;else pe=Be._tr_tally(Re,0,Re.window[Re.strstart]),Re.lookahead--,Re.strstart++;if(pe&&(ft(Re,!1),Re.strm.avail_out===0))return ke}return Re.insert=Re.strstart<Ze-1?Re.strstart:Ze-1,Kt===Ce?(ft(Re,!0),Re.strm.avail_out===0?it:rt):Re.last_lit&&(ft(Re,!1),Re.strm.avail_out===0)?ke:Ot}function Hn(Re,Kt){for(var Te,pe,ce;;){if(Re.lookahead<nt){if(Jt(Re),Re.lookahead<nt&&Kt===Fe)return ke;if(Re.lookahead===0)break}if(Te=0,Re.lookahead>=Ze&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart),Re.prev_length=Re.match_length,Re.prev_match=Re.match_start,Re.match_length=Ze-1,Te!==0&&Re.prev_length<Re.max_lazy_match&&Re.strstart-Te<=Re.w_size-nt&&(Re.match_length=Et(Re,Te),Re.match_length<=5&&(Re.strategy===1||Re.match_length===Ze&&4096<Re.strstart-Re.match_start)&&(Re.match_length=Ze-1)),Re.prev_length>=Ze&&Re.match_length<=Re.prev_length){for(ce=Re.strstart+Re.lookahead-Ze,pe=Be._tr_tally(Re,Re.strstart-1-Re.prev_match,Re.prev_length-Ze),Re.lookahead-=Re.prev_length-1,Re.prev_length-=2;++Re.strstart<=ce&&(Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[Re.strstart+Ze-1])&Re.hash_mask,Te=Re.prev[Re.strstart&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=Re.strstart),--Re.prev_length!=0;);if(Re.match_available=0,Re.match_length=Ze-1,Re.strstart++,pe&&(ft(Re,!1),Re.strm.avail_out===0))return ke}else if(Re.match_available){if((pe=Be._tr_tally(Re,0,Re.window[Re.strstart-1]))&&ft(Re,!1),Re.strstart++,Re.lookahead--,Re.strm.avail_out===0)return ke}else Re.match_available=1,Re.strstart++,Re.lookahead--}return Re.match_available&&(pe=Be._tr_tally(Re,0,Re.window[Re.strstart-1]),Re.match_available=0),Re.insert=Re.strstart<Ze-1?Re.strstart:Ze-1,Kt===Ce?(ft(Re,!0),Re.strm.avail_out===0?it:rt):Re.last_lit&&(ft(Re,!1),Re.strm.avail_out===0)?ke:Ot}function un(Re,Kt,Te,pe,ce){this.good_length=Re,this.max_lazy=Kt,this.nice_length=Te,this.max_chain=pe,this.func=ce}function Vn(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=te,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new me.Buf16(2*Pe),this.dyn_dtree=new me.Buf16(2*(2*he+1)),this.bl_tree=new me.Buf16(2*(2*_e+1)),pt(this.dyn_ltree),pt(this.dyn_dtree),pt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new me.Buf16(Qe+1),this.heap=new me.Buf16(2*oe+1),pt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new me.Buf16(2*oe+1),pt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function yt(Re){var Kt;return Re&&Re.state?(Re.total_in=Re.total_out=0,Re.data_type=E,(Kt=Re.state).pending=0,Kt.pending_out=0,Kt.wrap<0&&(Kt.wrap=-Kt.wrap),Kt.status=Kt.wrap?De:Bt,Re.adler=Kt.wrap===2?0:1,Kt.last_flush=Fe,Be._tr_init(Kt),ie):wt(Re,y)}function Kn(Re){var Kt=yt(Re);return Kt===ie&&function(Te){Te.window_size=2*Te.w_size,pt(Te.head),Te.max_lazy_match=je[Te.level].max_lazy,Te.good_match=je[Te.level].good_length,Te.nice_match=je[Te.level].nice_length,Te.max_chain_length=je[Te.level].max_chain,Te.strstart=0,Te.block_start=0,Te.lookahead=0,Te.insert=0,Te.match_length=Te.prev_length=Ze-1,Te.match_available=0,Te.ins_h=0}(Re.state),Kt}function er(Re,Kt,Te,pe,ce,ye){if(!Re)return y;var qe=1;if(Kt===a&&(Kt=6),pe<0?(qe=0,pe=-pe):15<pe&&(qe=2,pe-=16),ce<1||ne<ce||Te!==te||pe<8||15<pe||Kt<0||9<Kt||ye<0||ee<ye)return wt(Re,y);pe===8&&(pe=9);var gt=new Vn;return(Re.state=gt).strm=Re,gt.wrap=qe,gt.gzhead=null,gt.w_bits=pe,gt.w_size=1<<gt.w_bits,gt.w_mask=gt.w_size-1,gt.hash_bits=ce+7,gt.hash_size=1<<gt.hash_bits,gt.hash_mask=gt.hash_size-1,gt.hash_shift=~~((gt.hash_bits+Ze-1)/Ze),gt.window=new me.Buf8(2*gt.w_size),gt.head=new me.Buf16(gt.hash_size),gt.prev=new me.Buf16(gt.w_size),gt.lit_bufsize=1<<ce+6,gt.pending_buf_size=4*gt.lit_bufsize,gt.pending_buf=new me.Buf8(gt.pending_buf_size),gt.d_buf=1*gt.lit_bufsize,gt.l_buf=3*gt.lit_bufsize,gt.level=Kt,gt.strategy=ye,gt.method=Te,Kn(Re)}je=[new un(0,0,0,0,function(Re,Kt){var Te=65535;for(Te>Re.pending_buf_size-5&&(Te=Re.pending_buf_size-5);;){if(Re.lookahead<=1){if(Jt(Re),Re.lookahead===0&&Kt===Fe)return ke;if(Re.lookahead===0)break}Re.strstart+=Re.lookahead,Re.lookahead=0;var pe=Re.block_start+Te;if((Re.strstart===0||Re.strstart>=pe)&&(Re.lookahead=Re.strstart-pe,Re.strstart=pe,ft(Re,!1),Re.strm.avail_out===0)||Re.strstart-Re.block_start>=Re.w_size-nt&&(ft(Re,!1),Re.strm.avail_out===0))return ke}return Re.insert=0,Kt===Ce?(ft(Re,!0),Re.strm.avail_out===0?it:rt):(Re.strstart>Re.block_start&&(ft(Re,!1),Re.strm.avail_out),ke)}),new un(4,4,8,4,Ln),new un(4,5,16,8,Ln),new un(4,6,32,32,Ln),new un(4,4,16,16,Hn),new un(8,16,32,32,Hn),new un(8,16,128,128,Hn),new un(8,32,128,256,Hn),new un(32,128,258,1024,Hn),new un(32,258,258,4096,Hn)],Ge.deflateInit=function(Re,Kt){return er(Re,Kt,te,15,8,0)},Ge.deflateInit2=er,Ge.deflateReset=Kn,Ge.deflateResetKeep=yt,Ge.deflateSetHeader=function(Re,Kt){return Re&&Re.state?Re.state.wrap!==2?y:(Re.state.gzhead=Kt,ie):y},Ge.deflate=function(Re,Kt){var Te,pe,ce,ye;if(!Re||!Re.state||5<Kt||Kt<0)return Re?wt(Re,y):y;if(pe=Re.state,!Re.output||!Re.input&&Re.avail_in!==0||pe.status===666&&Kt!==Ce)return wt(Re,Re.avail_out===0?-5:y);if(pe.strm=Re,Te=pe.last_flush,pe.last_flush=Kt,pe.status===De)if(pe.wrap===2)Re.adler=0,rn(pe,31),rn(pe,139),rn(pe,8),pe.gzhead?(rn(pe,(pe.gzhead.text?1:0)+(pe.gzhead.hcrc?2:0)+(pe.gzhead.extra?4:0)+(pe.gzhead.name?8:0)+(pe.gzhead.comment?16:0)),rn(pe,255&pe.gzhead.time),rn(pe,pe.gzhead.time>>8&255),rn(pe,pe.gzhead.time>>16&255),rn(pe,pe.gzhead.time>>24&255),rn(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),rn(pe,255&pe.gzhead.os),pe.gzhead.extra&&pe.gzhead.extra.length&&(rn(pe,255&pe.gzhead.extra.length),rn(pe,pe.gzhead.extra.length>>8&255)),pe.gzhead.hcrc&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending,0)),pe.gzindex=0,pe.status=69):(rn(pe,0),rn(pe,0),rn(pe,0),rn(pe,0),rn(pe,0),rn(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),rn(pe,3),pe.status=Bt);else{var qe=te+(pe.w_bits-8<<4)<<8;qe|=(2<=pe.strategy||pe.level<2?0:pe.level<6?1:pe.level===6?2:3)<<6,pe.strstart!==0&&(qe|=32),qe+=31-qe%31,pe.status=Bt,fn(pe,qe),pe.strstart!==0&&(fn(pe,Re.adler>>>16),fn(pe,65535&Re.adler)),Re.adler=1}if(pe.status===69)if(pe.gzhead.extra){for(ce=pe.pending;pe.gzindex<(65535&pe.gzhead.extra.length)&&(pe.pending!==pe.pending_buf_size||(pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),st(Re),ce=pe.pending,pe.pending!==pe.pending_buf_size));)rn(pe,255&pe.gzhead.extra[pe.gzindex]),pe.gzindex++;pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),pe.gzindex===pe.gzhead.extra.length&&(pe.gzindex=0,pe.status=73)}else pe.status=73;if(pe.status===73)if(pe.gzhead.name){ce=pe.pending;do{if(pe.pending===pe.pending_buf_size&&(pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),st(Re),ce=pe.pending,pe.pending===pe.pending_buf_size)){ye=1;break}ye=pe.gzindex<pe.gzhead.name.length?255&pe.gzhead.name.charCodeAt(pe.gzindex++):0,rn(pe,ye)}while(ye!==0);pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),ye===0&&(pe.gzindex=0,pe.status=91)}else pe.status=91;if(pe.status===91)if(pe.gzhead.comment){ce=pe.pending;do{if(pe.pending===pe.pending_buf_size&&(pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),st(Re),ce=pe.pending,pe.pending===pe.pending_buf_size)){ye=1;break}ye=pe.gzindex<pe.gzhead.comment.length?255&pe.gzhead.comment.charCodeAt(pe.gzindex++):0,rn(pe,ye)}while(ye!==0);pe.gzhead.hcrc&&pe.pending>ce&&(Re.adler=de(Re.adler,pe.pending_buf,pe.pending-ce,ce)),ye===0&&(pe.status=103)}else pe.status=103;if(pe.status===103&&(pe.gzhead.hcrc?(pe.pending+2>pe.pending_buf_size&&st(Re),pe.pending+2<=pe.pending_buf_size&&(rn(pe,255&Re.adler),rn(pe,Re.adler>>8&255),Re.adler=0,pe.status=Bt)):pe.status=Bt),pe.pending!==0){if(st(Re),Re.avail_out===0)return pe.last_flush=-1,ie}else if(Re.avail_in===0&&dt(Kt)<=dt(Te)&&Kt!==Ce)return wt(Re,-5);if(pe.status===666&&Re.avail_in!==0)return wt(Re,-5);if(Re.avail_in!==0||pe.lookahead!==0||Kt!==Fe&&pe.status!==666){var gt=pe.strategy===2?function(Me,Xe){for(var Pt;;){if(Me.lookahead===0&&(Jt(Me),Me.lookahead===0)){if(Xe===Fe)return ke;break}if(Me.match_length=0,Pt=Be._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++,Pt&&(ft(Me,!1),Me.strm.avail_out===0))return ke}return Me.insert=0,Xe===Ce?(ft(Me,!0),Me.strm.avail_out===0?it:rt):Me.last_lit&&(ft(Me,!1),Me.strm.avail_out===0)?ke:Ot}(pe,Kt):pe.strategy===3?function(Me,Xe){for(var Pt,ct,ot,kt,_n=Me.window;;){if(Me.lookahead<=Ve){if(Jt(Me),Me.lookahead<=Ve&&Xe===Fe)return ke;if(Me.lookahead===0)break}if(Me.match_length=0,Me.lookahead>=Ze&&0<Me.strstart&&(ct=_n[ot=Me.strstart-1])===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]){kt=Me.strstart+Ve;do;while(ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ct===_n[++ot]&&ot<kt);Me.match_length=Ve-(kt-ot),Me.match_length>Me.lookahead&&(Me.match_length=Me.lookahead)}if(Me.match_length>=Ze?(Pt=Be._tr_tally(Me,1,Me.match_length-Ze),Me.lookahead-=Me.match_length,Me.strstart+=Me.match_length,Me.match_length=0):(Pt=Be._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++),Pt&&(ft(Me,!1),Me.strm.avail_out===0))return ke}return Me.insert=0,Xe===Ce?(ft(Me,!0),Me.strm.avail_out===0?it:rt):Me.last_lit&&(ft(Me,!1),Me.strm.avail_out===0)?ke:Ot}(pe,Kt):je[pe.level].func(pe,Kt);if(gt!==it&>!==rt||(pe.status=666),gt===ke||gt===it)return Re.avail_out===0&&(pe.last_flush=-1),ie;if(gt===Ot&&(Kt===1?Be._tr_align(pe):Kt!==5&&(Be._tr_stored_block(pe,0,0,!1),Kt===3&&(pt(pe.head),pe.lookahead===0&&(pe.strstart=0,pe.block_start=0,pe.insert=0))),st(Re),Re.avail_out===0))return pe.last_flush=-1,ie}return Kt!==Ce?ie:pe.wrap<=0?1:(pe.wrap===2?(rn(pe,255&Re.adler),rn(pe,Re.adler>>8&255),rn(pe,Re.adler>>16&255),rn(pe,Re.adler>>24&255),rn(pe,255&Re.total_in),rn(pe,Re.total_in>>8&255),rn(pe,Re.total_in>>16&255),rn(pe,Re.total_in>>24&255)):(fn(pe,Re.adler>>>16),fn(pe,65535&Re.adler)),st(Re),0<pe.wrap&&(pe.wrap=-pe.wrap),pe.pending!==0?ie:1)},Ge.deflateEnd=function(Re){var Kt;return Re&&Re.state?(Kt=Re.state.status)!==De&&Kt!==69&&Kt!==73&&Kt!==91&&Kt!==103&&Kt!==Bt&&Kt!==666?wt(Re,y):(Re.state=null,Kt===Bt?wt(Re,-3):ie):y},Ge.deflateSetDictionary=function(Re,Kt){var Te,pe,ce,ye,qe,gt,Me,Xe,Pt=Kt.length;if(!Re||!Re.state||(ye=(Te=Re.state).wrap)===2||ye===1&&Te.status!==De||Te.lookahead)return y;for(ye===1&&(Re.adler=Le(Re.adler,Kt,Pt,0)),Te.wrap=0,Pt>=Te.w_size&&(ye===0&&(pt(Te.head),Te.strstart=0,Te.block_start=0,Te.insert=0),Xe=new me.Buf8(Te.w_size),me.arraySet(Xe,Kt,Pt-Te.w_size,Te.w_size,0),Kt=Xe,Pt=Te.w_size),qe=Re.avail_in,gt=Re.next_in,Me=Re.input,Re.avail_in=Pt,Re.next_in=0,Re.input=Kt,Jt(Te);Te.lookahead>=Ze;){for(pe=Te.strstart,ce=Te.lookahead-(Ze-1);Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[pe+Ze-1])&Te.hash_mask,Te.prev[pe&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=pe,pe++,--ce;);Te.strstart=pe,Te.lookahead=Ze-1,Jt(Te)}return Te.strstart+=Te.lookahead,Te.block_start=Te.strstart,Te.insert=Te.lookahead,Te.lookahead=0,Te.match_length=Te.prev_length=Ze-1,Te.match_available=0,Re.next_in=gt,Re.input=Me,Re.avail_in=qe,Te.wrap=ye,ie},Ge.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(ze,at,Ge){"use strict";at.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(ze,at,Ge){"use strict";at.exports=function(je,me){var Be,Le,de,Ie,Fe,Ce,ie,y,a,ee,E,te,ne,oe,he,_e,Pe,Qe,Ze,Ve,nt,De,Bt,ke,Ot;Be=je.state,Le=je.next_in,ke=je.input,de=Le+(je.avail_in-5),Ie=je.next_out,Ot=je.output,Fe=Ie-(me-je.avail_out),Ce=Ie+(je.avail_out-257),ie=Be.dmax,y=Be.wsize,a=Be.whave,ee=Be.wnext,E=Be.window,te=Be.hold,ne=Be.bits,oe=Be.lencode,he=Be.distcode,_e=(1<<Be.lenbits)-1,Pe=(1<<Be.distbits)-1;e:do{ne<15&&(te+=ke[Le++]<<ne,ne+=8,te+=ke[Le++]<<ne,ne+=8),Qe=oe[te&_e];t:for(;;){if(te>>>=Ze=Qe>>>24,ne-=Ze,(Ze=Qe>>>16&255)===0)Ot[Ie++]=65535&Qe;else{if(!(16&Ze)){if(!(64&Ze)){Qe=oe[(65535&Qe)+(te&(1<<Ze)-1)];continue t}if(32&Ze){Be.mode=12;break e}je.msg="invalid literal/length code",Be.mode=30;break e}Ve=65535&Qe,(Ze&=15)&&(ne<Ze&&(te+=ke[Le++]<<ne,ne+=8),Ve+=te&(1<<Ze)-1,te>>>=Ze,ne-=Ze),ne<15&&(te+=ke[Le++]<<ne,ne+=8,te+=ke[Le++]<<ne,ne+=8),Qe=he[te&Pe];n:for(;;){if(te>>>=Ze=Qe>>>24,ne-=Ze,!(16&(Ze=Qe>>>16&255))){if(!(64&Ze)){Qe=he[(65535&Qe)+(te&(1<<Ze)-1)];continue n}je.msg="invalid distance code",Be.mode=30;break e}if(nt=65535&Qe,ne<(Ze&=15)&&(te+=ke[Le++]<<ne,(ne+=8)<Ze&&(te+=ke[Le++]<<ne,ne+=8)),ie<(nt+=te&(1<<Ze)-1)){je.msg="invalid distance too far back",Be.mode=30;break e}if(te>>>=Ze,ne-=Ze,(Ze=Ie-Fe)<nt){if(a<(Ze=nt-Ze)&&Be.sane){je.msg="invalid distance too far back",Be.mode=30;break e}if(Bt=E,(De=0)===ee){if(De+=y-Ze,Ze<Ve){for(Ve-=Ze;Ot[Ie++]=E[De++],--Ze;);De=Ie-nt,Bt=Ot}}else if(ee<Ze){if(De+=y+ee-Ze,(Ze-=ee)<Ve){for(Ve-=Ze;Ot[Ie++]=E[De++],--Ze;);if(De=0,ee<Ve){for(Ve-=Ze=ee;Ot[Ie++]=E[De++],--Ze;);De=Ie-nt,Bt=Ot}}}else if(De+=ee-Ze,Ze<Ve){for(Ve-=Ze;Ot[Ie++]=E[De++],--Ze;);De=Ie-nt,Bt=Ot}for(;2<Ve;)Ot[Ie++]=Bt[De++],Ot[Ie++]=Bt[De++],Ot[Ie++]=Bt[De++],Ve-=3;Ve&&(Ot[Ie++]=Bt[De++],1<Ve&&(Ot[Ie++]=Bt[De++]))}else{for(De=Ie-nt;Ot[Ie++]=Ot[De++],Ot[Ie++]=Ot[De++],Ot[Ie++]=Ot[De++],2<(Ve-=3););Ve&&(Ot[Ie++]=Ot[De++],1<Ve&&(Ot[Ie++]=Ot[De++]))}break}}break}}while(Le<de&&Ie<Ce);Le-=Ve=ne>>3,te&=(1<<(ne-=Ve<<3))-1,je.next_in=Le,je.next_out=Ie,je.avail_in=Le<de?de-Le+5:5-(Le-de),je.avail_out=Ie<Ce?Ce-Ie+257:257-(Ie-Ce),Be.hold=te,Be.bits=ne}},{}],49:[function(ze,at,Ge){"use strict";var je=ze("../utils/common"),me=ze("./adler32"),Be=ze("./crc32"),Le=ze("./inffast"),de=ze("./inftrees"),Ie=1,Fe=2,Ce=0,ie=-2,y=1,a=852,ee=592;function E(De){return(De>>>24&255)+(De>>>8&65280)+((65280&De)<<8)+((255&De)<<24)}function te(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new je.Buf16(320),this.work=new je.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ne(De){var Bt;return De&&De.state?(Bt=De.state,De.total_in=De.total_out=Bt.total=0,De.msg="",Bt.wrap&&(De.adler=1&Bt.wrap),Bt.mode=y,Bt.last=0,Bt.havedict=0,Bt.dmax=32768,Bt.head=null,Bt.hold=0,Bt.bits=0,Bt.lencode=Bt.lendyn=new je.Buf32(a),Bt.distcode=Bt.distdyn=new je.Buf32(ee),Bt.sane=1,Bt.back=-1,Ce):ie}function oe(De){var Bt;return De&&De.state?((Bt=De.state).wsize=0,Bt.whave=0,Bt.wnext=0,ne(De)):ie}function he(De,Bt){var ke,Ot;return De&&De.state?(Ot=De.state,Bt<0?(ke=0,Bt=-Bt):(ke=1+(Bt>>4),Bt<48&&(Bt&=15)),Bt&&(Bt<8||15<Bt)?ie:(Ot.window!==null&&Ot.wbits!==Bt&&(Ot.window=null),Ot.wrap=ke,Ot.wbits=Bt,oe(De))):ie}function _e(De,Bt){var ke,Ot;return De?(Ot=new te,(De.state=Ot).window=null,(ke=he(De,Bt))!==Ce&&(De.state=null),ke):ie}var Pe,Qe,Ze=!0;function Ve(De){if(Ze){var Bt;for(Pe=new je.Buf32(512),Qe=new je.Buf32(32),Bt=0;Bt<144;)De.lens[Bt++]=8;for(;Bt<256;)De.lens[Bt++]=9;for(;Bt<280;)De.lens[Bt++]=7;for(;Bt<288;)De.lens[Bt++]=8;for(de(Ie,De.lens,0,288,Pe,0,De.work,{bits:9}),Bt=0;Bt<32;)De.lens[Bt++]=5;de(Fe,De.lens,0,32,Qe,0,De.work,{bits:5}),Ze=!1}De.lencode=Pe,De.lenbits=9,De.distcode=Qe,De.distbits=5}function nt(De,Bt,ke,Ot){var it,rt=De.state;return rt.window===null&&(rt.wsize=1<<rt.wbits,rt.wnext=0,rt.whave=0,rt.window=new je.Buf8(rt.wsize)),Ot>=rt.wsize?(je.arraySet(rt.window,Bt,ke-rt.wsize,rt.wsize,0),rt.wnext=0,rt.whave=rt.wsize):(Ot<(it=rt.wsize-rt.wnext)&&(it=Ot),je.arraySet(rt.window,Bt,ke-Ot,it,rt.wnext),(Ot-=it)?(je.arraySet(rt.window,Bt,ke-Ot,Ot,0),rt.wnext=Ot,rt.whave=rt.wsize):(rt.wnext+=it,rt.wnext===rt.wsize&&(rt.wnext=0),rt.whave<rt.wsize&&(rt.whave+=it))),0}Ge.inflateReset=oe,Ge.inflateReset2=he,Ge.inflateResetKeep=ne,Ge.inflateInit=function(De){return _e(De,15)},Ge.inflateInit2=_e,Ge.inflate=function(De,Bt){var ke,Ot,it,rt,wt,dt,pt,st,ft,rn,fn,Et,Jt,Ln,Hn,un,Vn,yt,Kn,er,Re,Kt,Te,pe,ce=0,ye=new je.Buf8(4),qe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!De||!De.state||!De.output||!De.input&&De.avail_in!==0)return ie;(ke=De.state).mode===12&&(ke.mode=13),wt=De.next_out,it=De.output,pt=De.avail_out,rt=De.next_in,Ot=De.input,dt=De.avail_in,st=ke.hold,ft=ke.bits,rn=dt,fn=pt,Kt=Ce;e:for(;;)switch(ke.mode){case y:if(ke.wrap===0){ke.mode=13;break}for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(2&ke.wrap&&st===35615){ye[ke.check=0]=255&st,ye[1]=st>>>8&255,ke.check=Be(ke.check,ye,2,0),ft=st=0,ke.mode=2;break}if(ke.flags=0,ke.head&&(ke.head.done=!1),!(1&ke.wrap)||(((255&st)<<8)+(st>>8))%31){De.msg="incorrect header check",ke.mode=30;break}if((15&st)!=8){De.msg="unknown compression method",ke.mode=30;break}if(ft-=4,Re=8+(15&(st>>>=4)),ke.wbits===0)ke.wbits=Re;else if(Re>ke.wbits){De.msg="invalid window size",ke.mode=30;break}ke.dmax=1<<Re,De.adler=ke.check=1,ke.mode=512&st?10:12,ft=st=0;break;case 2:for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(ke.flags=st,(255&ke.flags)!=8){De.msg="unknown compression method",ke.mode=30;break}if(57344&ke.flags){De.msg="unknown header flags set",ke.mode=30;break}ke.head&&(ke.head.text=st>>8&1),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ke.check=Be(ke.check,ye,2,0)),ft=st=0,ke.mode=3;case 3:for(;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.head&&(ke.head.time=st),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ye[2]=st>>>16&255,ye[3]=st>>>24&255,ke.check=Be(ke.check,ye,4,0)),ft=st=0,ke.mode=4;case 4:for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.head&&(ke.head.xflags=255&st,ke.head.os=st>>8),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ke.check=Be(ke.check,ye,2,0)),ft=st=0,ke.mode=5;case 5:if(1024&ke.flags){for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.length=st,ke.head&&(ke.head.extra_len=st),512&ke.flags&&(ye[0]=255&st,ye[1]=st>>>8&255,ke.check=Be(ke.check,ye,2,0)),ft=st=0}else ke.head&&(ke.head.extra=null);ke.mode=6;case 6:if(1024&ke.flags&&(dt<(Et=ke.length)&&(Et=dt),Et&&(ke.head&&(Re=ke.head.extra_len-ke.length,ke.head.extra||(ke.head.extra=new Array(ke.head.extra_len)),je.arraySet(ke.head.extra,Ot,rt,Et,Re)),512&ke.flags&&(ke.check=Be(ke.check,Ot,Et,rt)),dt-=Et,rt+=Et,ke.length-=Et),ke.length))break e;ke.length=0,ke.mode=7;case 7:if(2048&ke.flags){if(dt===0)break e;for(Et=0;Re=Ot[rt+Et++],ke.head&&Re&&ke.length<65536&&(ke.head.name+=String.fromCharCode(Re)),Re&&Et<dt;);if(512&ke.flags&&(ke.check=Be(ke.check,Ot,Et,rt)),dt-=Et,rt+=Et,Re)break e}else ke.head&&(ke.head.name=null);ke.length=0,ke.mode=8;case 8:if(4096&ke.flags){if(dt===0)break e;for(Et=0;Re=Ot[rt+Et++],ke.head&&Re&&ke.length<65536&&(ke.head.comment+=String.fromCharCode(Re)),Re&&Et<dt;);if(512&ke.flags&&(ke.check=Be(ke.check,Ot,Et,rt)),dt-=Et,rt+=Et,Re)break e}else ke.head&&(ke.head.comment=null);ke.mode=9;case 9:if(512&ke.flags){for(;ft<16;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(st!==(65535&ke.check)){De.msg="header crc mismatch",ke.mode=30;break}ft=st=0}ke.head&&(ke.head.hcrc=ke.flags>>9&1,ke.head.done=!0),De.adler=ke.check=0,ke.mode=12;break;case 10:for(;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}De.adler=ke.check=E(st),ft=st=0,ke.mode=11;case 11:if(ke.havedict===0)return De.next_out=wt,De.avail_out=pt,De.next_in=rt,De.avail_in=dt,ke.hold=st,ke.bits=ft,2;De.adler=ke.check=1,ke.mode=12;case 12:if(Bt===5||Bt===6)break e;case 13:if(ke.last){st>>>=7&ft,ft-=7&ft,ke.mode=27;break}for(;ft<3;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}switch(ke.last=1&st,ft-=1,3&(st>>>=1)){case 0:ke.mode=14;break;case 1:if(Ve(ke),ke.mode=20,Bt!==6)break;st>>>=2,ft-=2;break e;case 2:ke.mode=17;break;case 3:De.msg="invalid block type",ke.mode=30}st>>>=2,ft-=2;break;case 14:for(st>>>=7&ft,ft-=7&ft;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if((65535&st)!=(st>>>16^65535)){De.msg="invalid stored block lengths",ke.mode=30;break}if(ke.length=65535&st,ft=st=0,ke.mode=15,Bt===6)break e;case 15:ke.mode=16;case 16:if(Et=ke.length){if(dt<Et&&(Et=dt),pt<Et&&(Et=pt),Et===0)break e;je.arraySet(it,Ot,rt,Et,wt),dt-=Et,rt+=Et,pt-=Et,wt+=Et,ke.length-=Et;break}ke.mode=12;break;case 17:for(;ft<14;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(ke.nlen=257+(31&st),st>>>=5,ft-=5,ke.ndist=1+(31&st),st>>>=5,ft-=5,ke.ncode=4+(15&st),st>>>=4,ft-=4,286<ke.nlen||30<ke.ndist){De.msg="too many length or distance symbols",ke.mode=30;break}ke.have=0,ke.mode=18;case 18:for(;ke.have<ke.ncode;){for(;ft<3;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.lens[qe[ke.have++]]=7&st,st>>>=3,ft-=3}for(;ke.have<19;)ke.lens[qe[ke.have++]]=0;if(ke.lencode=ke.lendyn,ke.lenbits=7,Te={bits:ke.lenbits},Kt=de(0,ke.lens,0,19,ke.lencode,0,ke.work,Te),ke.lenbits=Te.bits,Kt){De.msg="invalid code lengths set",ke.mode=30;break}ke.have=0,ke.mode=19;case 19:for(;ke.have<ke.nlen+ke.ndist;){for(;un=(ce=ke.lencode[st&(1<<ke.lenbits)-1])>>>16&255,Vn=65535&ce,!((Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(Vn<16)st>>>=Hn,ft-=Hn,ke.lens[ke.have++]=Vn;else{if(Vn===16){for(pe=Hn+2;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(st>>>=Hn,ft-=Hn,ke.have===0){De.msg="invalid bit length repeat",ke.mode=30;break}Re=ke.lens[ke.have-1],Et=3+(3&st),st>>>=2,ft-=2}else if(Vn===17){for(pe=Hn+3;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ft-=Hn,Re=0,Et=3+(7&(st>>>=Hn)),st>>>=3,ft-=3}else{for(pe=Hn+7;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ft-=Hn,Re=0,Et=11+(127&(st>>>=Hn)),st>>>=7,ft-=7}if(ke.have+Et>ke.nlen+ke.ndist){De.msg="invalid bit length repeat",ke.mode=30;break}for(;Et--;)ke.lens[ke.have++]=Re}}if(ke.mode===30)break;if(ke.lens[256]===0){De.msg="invalid code -- missing end-of-block",ke.mode=30;break}if(ke.lenbits=9,Te={bits:ke.lenbits},Kt=de(Ie,ke.lens,0,ke.nlen,ke.lencode,0,ke.work,Te),ke.lenbits=Te.bits,Kt){De.msg="invalid literal/lengths set",ke.mode=30;break}if(ke.distbits=6,ke.distcode=ke.distdyn,Te={bits:ke.distbits},Kt=de(Fe,ke.lens,ke.nlen,ke.ndist,ke.distcode,0,ke.work,Te),ke.distbits=Te.bits,Kt){De.msg="invalid distances set",ke.mode=30;break}if(ke.mode=20,Bt===6)break e;case 20:ke.mode=21;case 21:if(6<=dt&&258<=pt){De.next_out=wt,De.avail_out=pt,De.next_in=rt,De.avail_in=dt,ke.hold=st,ke.bits=ft,Le(De,fn),wt=De.next_out,it=De.output,pt=De.avail_out,rt=De.next_in,Ot=De.input,dt=De.avail_in,st=ke.hold,ft=ke.bits,ke.mode===12&&(ke.back=-1);break}for(ke.back=0;un=(ce=ke.lencode[st&(1<<ke.lenbits)-1])>>>16&255,Vn=65535&ce,!((Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(un&&!(240&un)){for(yt=Hn,Kn=un,er=Vn;un=(ce=ke.lencode[er+((st&(1<<yt+Kn)-1)>>yt)])>>>16&255,Vn=65535&ce,!(yt+(Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}st>>>=yt,ft-=yt,ke.back+=yt}if(st>>>=Hn,ft-=Hn,ke.back+=Hn,ke.length=Vn,un===0){ke.mode=26;break}if(32&un){ke.back=-1,ke.mode=12;break}if(64&un){De.msg="invalid literal/length code",ke.mode=30;break}ke.extra=15&un,ke.mode=22;case 22:if(ke.extra){for(pe=ke.extra;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.length+=st&(1<<ke.extra)-1,st>>>=ke.extra,ft-=ke.extra,ke.back+=ke.extra}ke.was=ke.length,ke.mode=23;case 23:for(;un=(ce=ke.distcode[st&(1<<ke.distbits)-1])>>>16&255,Vn=65535&ce,!((Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(!(240&un)){for(yt=Hn,Kn=un,er=Vn;un=(ce=ke.distcode[er+((st&(1<<yt+Kn)-1)>>yt)])>>>16&255,Vn=65535&ce,!(yt+(Hn=ce>>>24)<=ft);){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}st>>>=yt,ft-=yt,ke.back+=yt}if(st>>>=Hn,ft-=Hn,ke.back+=Hn,64&un){De.msg="invalid distance code",ke.mode=30;break}ke.offset=Vn,ke.extra=15&un,ke.mode=24;case 24:if(ke.extra){for(pe=ke.extra;ft<pe;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}ke.offset+=st&(1<<ke.extra)-1,st>>>=ke.extra,ft-=ke.extra,ke.back+=ke.extra}if(ke.offset>ke.dmax){De.msg="invalid distance too far back",ke.mode=30;break}ke.mode=25;case 25:if(pt===0)break e;if(Et=fn-pt,ke.offset>Et){if((Et=ke.offset-Et)>ke.whave&&ke.sane){De.msg="invalid distance too far back",ke.mode=30;break}Jt=Et>ke.wnext?(Et-=ke.wnext,ke.wsize-Et):ke.wnext-Et,Et>ke.length&&(Et=ke.length),Ln=ke.window}else Ln=it,Jt=wt-ke.offset,Et=ke.length;for(pt<Et&&(Et=pt),pt-=Et,ke.length-=Et;it[wt++]=Ln[Jt++],--Et;);ke.length===0&&(ke.mode=21);break;case 26:if(pt===0)break e;it[wt++]=ke.length,pt--,ke.mode=21;break;case 27:if(ke.wrap){for(;ft<32;){if(dt===0)break e;dt--,st|=Ot[rt++]<<ft,ft+=8}if(fn-=pt,De.total_out+=fn,ke.total+=fn,fn&&(De.adler=ke.check=ke.flags?Be(ke.check,it,fn,wt-fn):me(ke.check,it,fn,wt-fn)),fn=pt,(ke.flags?st:E(st))!==ke.check){De.msg="incorrect data check",ke.mode=30;break}ft=st=0}ke.mode=28;case 28:if(ke.wrap&&ke.flags){for(;ft<32;){if(dt===0)break e;dt--,st+=Ot[rt++]<<ft,ft+=8}if(st!==(4294967295&ke.total)){De.msg="incorrect length check",ke.mode=30;break}ft=st=0}ke.mode=29;case 29:Kt=1;break e;case 30:Kt=-3;break e;case 31:return-4;case 32:default:return ie}return De.next_out=wt,De.avail_out=pt,De.next_in=rt,De.avail_in=dt,ke.hold=st,ke.bits=ft,(ke.wsize||fn!==De.avail_out&&ke.mode<30&&(ke.mode<27||Bt!==4))&&nt(De,De.output,De.next_out,fn-De.avail_out)?(ke.mode=31,-4):(rn-=De.avail_in,fn-=De.avail_out,De.total_in+=rn,De.total_out+=fn,ke.total+=fn,ke.wrap&&fn&&(De.adler=ke.check=ke.flags?Be(ke.check,it,fn,De.next_out-fn):me(ke.check,it,fn,De.next_out-fn)),De.data_type=ke.bits+(ke.last?64:0)+(ke.mode===12?128:0)+(ke.mode===20||ke.mode===15?256:0),(rn==0&&fn===0||Bt===4)&&Kt===Ce&&(Kt=-5),Kt)},Ge.inflateEnd=function(De){if(!De||!De.state)return ie;var Bt=De.state;return Bt.window&&(Bt.window=null),De.state=null,Ce},Ge.inflateGetHeader=function(De,Bt){var ke;return De&&De.state&&2&(ke=De.state).wrap?((ke.head=Bt).done=!1,Ce):ie},Ge.inflateSetDictionary=function(De,Bt){var ke,Ot=Bt.length;return De&&De.state?(ke=De.state).wrap!==0&&ke.mode!==11?ie:ke.mode===11&&me(1,Bt,Ot,0)!==ke.check?-3:nt(De,Bt,Ot,Ot)?(ke.mode=31,-4):(ke.havedict=1,Ce):ie},Ge.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(ze,at,Ge){"use strict";var je=ze("../utils/common"),me=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Be=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Le=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],de=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];at.exports=function(Ie,Fe,Ce,ie,y,a,ee,E){var te,ne,oe,he,_e,Pe,Qe,Ze,Ve,nt=E.bits,De=0,Bt=0,ke=0,Ot=0,it=0,rt=0,wt=0,dt=0,pt=0,st=0,ft=null,rn=0,fn=new je.Buf16(16),Et=new je.Buf16(16),Jt=null,Ln=0;for(De=0;De<=15;De++)fn[De]=0;for(Bt=0;Bt<ie;Bt++)fn[Fe[Ce+Bt]]++;for(it=nt,Ot=15;1<=Ot&&fn[Ot]===0;Ot--);if(Ot<it&&(it=Ot),Ot===0)return y[a++]=20971520,y[a++]=20971520,E.bits=1,0;for(ke=1;ke<Ot&&fn[ke]===0;ke++);for(it<ke&&(it=ke),De=dt=1;De<=15;De++)if(dt<<=1,(dt-=fn[De])<0)return-1;if(0<dt&&(Ie===0||Ot!==1))return-1;for(Et[1]=0,De=1;De<15;De++)Et[De+1]=Et[De]+fn[De];for(Bt=0;Bt<ie;Bt++)Fe[Ce+Bt]!==0&&(ee[Et[Fe[Ce+Bt]]++]=Bt);if(Pe=Ie===0?(ft=Jt=ee,19):Ie===1?(ft=me,rn-=257,Jt=Be,Ln-=257,256):(ft=Le,Jt=de,-1),De=ke,_e=a,wt=Bt=st=0,oe=-1,he=(pt=1<<(rt=it))-1,Ie===1&&852<pt||Ie===2&&592<pt)return 1;for(;;){for(Qe=De-wt,Ve=ee[Bt]<Pe?(Ze=0,ee[Bt]):ee[Bt]>Pe?(Ze=Jt[Ln+ee[Bt]],ft[rn+ee[Bt]]):(Ze=96,0),te=1<<De-wt,ke=ne=1<<rt;y[_e+(st>>wt)+(ne-=te)]=Qe<<24|Ze<<16|Ve|0,ne!==0;);for(te=1<<De-1;st&te;)te>>=1;if(te!==0?(st&=te-1,st+=te):st=0,Bt++,--fn[De]==0){if(De===Ot)break;De=Fe[Ce+ee[Bt]]}if(it<De&&(st&he)!==oe){for(wt===0&&(wt=it),_e+=ke,dt=1<<(rt=De-wt);rt+wt<Ot&&!((dt-=fn[rt+wt])<=0);)rt++,dt<<=1;if(pt+=1<<rt,Ie===1&&852<pt||Ie===2&&592<pt)return 1;y[oe=st&he]=it<<24|rt<<16|_e-a|0}}return st!==0&&(y[_e+st]=De-wt<<24|64<<16|0),E.bits=it,0}},{"../utils/common":41}],51:[function(ze,at,Ge){"use strict";at.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(ze,at,Ge){"use strict";var je=ze("../utils/common"),me=0,Be=1;function Le(ce){for(var ye=ce.length;0<=--ye;)ce[ye]=0}var de=0,Ie=29,Fe=256,Ce=Fe+1+Ie,ie=30,y=19,a=2*Ce+1,ee=15,E=16,te=7,ne=256,oe=16,he=17,_e=18,Pe=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Qe=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ze=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ve=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],nt=new Array(2*(Ce+2));Le(nt);var De=new Array(2*ie);Le(De);var Bt=new Array(512);Le(Bt);var ke=new Array(256);Le(ke);var Ot=new Array(Ie);Le(Ot);var it,rt,wt,dt=new Array(ie);function pt(ce,ye,qe,gt,Me){this.static_tree=ce,this.extra_bits=ye,this.extra_base=qe,this.elems=gt,this.max_length=Me,this.has_stree=ce&&ce.length}function st(ce,ye){this.dyn_tree=ce,this.max_code=0,this.stat_desc=ye}function ft(ce){return ce<256?Bt[ce]:Bt[256+(ce>>>7)]}function rn(ce,ye){ce.pending_buf[ce.pending++]=255&ye,ce.pending_buf[ce.pending++]=ye>>>8&255}function fn(ce,ye,qe){ce.bi_valid>E-qe?(ce.bi_buf|=ye<<ce.bi_valid&65535,rn(ce,ce.bi_buf),ce.bi_buf=ye>>E-ce.bi_valid,ce.bi_valid+=qe-E):(ce.bi_buf|=ye<<ce.bi_valid&65535,ce.bi_valid+=qe)}function Et(ce,ye,qe){fn(ce,qe[2*ye],qe[2*ye+1])}function Jt(ce,ye){for(var qe=0;qe|=1&ce,ce>>>=1,qe<<=1,0<--ye;);return qe>>>1}function Ln(ce,ye,qe){var gt,Me,Xe=new Array(ee+1),Pt=0;for(gt=1;gt<=ee;gt++)Xe[gt]=Pt=Pt+qe[gt-1]<<1;for(Me=0;Me<=ye;Me++){var ct=ce[2*Me+1];ct!==0&&(ce[2*Me]=Jt(Xe[ct]++,ct))}}function Hn(ce){var ye;for(ye=0;ye<Ce;ye++)ce.dyn_ltree[2*ye]=0;for(ye=0;ye<ie;ye++)ce.dyn_dtree[2*ye]=0;for(ye=0;ye<y;ye++)ce.bl_tree[2*ye]=0;ce.dyn_ltree[2*ne]=1,ce.opt_len=ce.static_len=0,ce.last_lit=ce.matches=0}function un(ce){8<ce.bi_valid?rn(ce,ce.bi_buf):0<ce.bi_valid&&(ce.pending_buf[ce.pending++]=ce.bi_buf),ce.bi_buf=0,ce.bi_valid=0}function Vn(ce,ye,qe,gt){var Me=2*ye,Xe=2*qe;return ce[Me]<ce[Xe]||ce[Me]===ce[Xe]&>[ye]<=gt[qe]}function yt(ce,ye,qe){for(var gt=ce.heap[qe],Me=qe<<1;Me<=ce.heap_len&&(Me<ce.heap_len&&Vn(ye,ce.heap[Me+1],ce.heap[Me],ce.depth)&&Me++,!Vn(ye,gt,ce.heap[Me],ce.depth));)ce.heap[qe]=ce.heap[Me],qe=Me,Me<<=1;ce.heap[qe]=gt}function Kn(ce,ye,qe){var gt,Me,Xe,Pt,ct=0;if(ce.last_lit!==0)for(;gt=ce.pending_buf[ce.d_buf+2*ct]<<8|ce.pending_buf[ce.d_buf+2*ct+1],Me=ce.pending_buf[ce.l_buf+ct],ct++,gt===0?Et(ce,Me,ye):(Et(ce,(Xe=ke[Me])+Fe+1,ye),(Pt=Pe[Xe])!==0&&fn(ce,Me-=Ot[Xe],Pt),Et(ce,Xe=ft(--gt),qe),(Pt=Qe[Xe])!==0&&fn(ce,gt-=dt[Xe],Pt)),ct<ce.last_lit;);Et(ce,ne,ye)}function er(ce,ye){var qe,gt,Me,Xe=ye.dyn_tree,Pt=ye.stat_desc.static_tree,ct=ye.stat_desc.has_stree,ot=ye.stat_desc.elems,kt=-1;for(ce.heap_len=0,ce.heap_max=a,qe=0;qe<ot;qe++)Xe[2*qe]!==0?(ce.heap[++ce.heap_len]=kt=qe,ce.depth[qe]=0):Xe[2*qe+1]=0;for(;ce.heap_len<2;)Xe[2*(Me=ce.heap[++ce.heap_len]=kt<2?++kt:0)]=1,ce.depth[Me]=0,ce.opt_len--,ct&&(ce.static_len-=Pt[2*Me+1]);for(ye.max_code=kt,qe=ce.heap_len>>1;1<=qe;qe--)yt(ce,Xe,qe);for(Me=ot;qe=ce.heap[1],ce.heap[1]=ce.heap[ce.heap_len--],yt(ce,Xe,1),gt=ce.heap[1],ce.heap[--ce.heap_max]=qe,ce.heap[--ce.heap_max]=gt,Xe[2*Me]=Xe[2*qe]+Xe[2*gt],ce.depth[Me]=(ce.depth[qe]>=ce.depth[gt]?ce.depth[qe]:ce.depth[gt])+1,Xe[2*qe+1]=Xe[2*gt+1]=Me,ce.heap[1]=Me++,yt(ce,Xe,1),2<=ce.heap_len;);ce.heap[--ce.heap_max]=ce.heap[1],function(_n,_t){var nn,Nt,yn,Xt,Jn,hr,tr=_t.dyn_tree,Dr=_t.max_code,Or=_t.stat_desc.static_tree,la=_t.stat_desc.has_stree,sa=_t.stat_desc.extra_bits,Hr=_t.stat_desc.extra_base,br=_t.stat_desc.max_length,Tr=0;for(Xt=0;Xt<=ee;Xt++)_n.bl_count[Xt]=0;for(tr[2*_n.heap[_n.heap_max]+1]=0,nn=_n.heap_max+1;nn<a;nn++)br<(Xt=tr[2*tr[2*(Nt=_n.heap[nn])+1]+1]+1)&&(Xt=br,Tr++),tr[2*Nt+1]=Xt,Dr<Nt||(_n.bl_count[Xt]++,Jn=0,Hr<=Nt&&(Jn=sa[Nt-Hr]),hr=tr[2*Nt],_n.opt_len+=hr*(Xt+Jn),la&&(_n.static_len+=hr*(Or[2*Nt+1]+Jn)));if(Tr!==0){do{for(Xt=br-1;_n.bl_count[Xt]===0;)Xt--;_n.bl_count[Xt]--,_n.bl_count[Xt+1]+=2,_n.bl_count[br]--,Tr-=2}while(0<Tr);for(Xt=br;Xt!==0;Xt--)for(Nt=_n.bl_count[Xt];Nt!==0;)Dr<(yn=_n.heap[--nn])||(tr[2*yn+1]!==Xt&&(_n.opt_len+=(Xt-tr[2*yn+1])*tr[2*yn],tr[2*yn+1]=Xt),Nt--)}}(ce,ye),Ln(Xe,kt,ce.bl_count)}function Re(ce,ye,qe){var gt,Me,Xe=-1,Pt=ye[1],ct=0,ot=7,kt=4;for(Pt===0&&(ot=138,kt=3),ye[2*(qe+1)+1]=65535,gt=0;gt<=qe;gt++)Me=Pt,Pt=ye[2*(gt+1)+1],++ct<ot&&Me===Pt||(ct<kt?ce.bl_tree[2*Me]+=ct:Me!==0?(Me!==Xe&&ce.bl_tree[2*Me]++,ce.bl_tree[2*oe]++):ct<=10?ce.bl_tree[2*he]++:ce.bl_tree[2*_e]++,Xe=Me,kt=(ct=0)===Pt?(ot=138,3):Me===Pt?(ot=6,3):(ot=7,4))}function Kt(ce,ye,qe){var gt,Me,Xe=-1,Pt=ye[1],ct=0,ot=7,kt=4;for(Pt===0&&(ot=138,kt=3),gt=0;gt<=qe;gt++)if(Me=Pt,Pt=ye[2*(gt+1)+1],!(++ct<ot&&Me===Pt)){if(ct<kt)for(;Et(ce,Me,ce.bl_tree),--ct!=0;);else Me!==0?(Me!==Xe&&(Et(ce,Me,ce.bl_tree),ct--),Et(ce,oe,ce.bl_tree),fn(ce,ct-3,2)):ct<=10?(Et(ce,he,ce.bl_tree),fn(ce,ct-3,3)):(Et(ce,_e,ce.bl_tree),fn(ce,ct-11,7));Xe=Me,kt=(ct=0)===Pt?(ot=138,3):Me===Pt?(ot=6,3):(ot=7,4)}}Le(dt);var Te=!1;function pe(ce,ye,qe,gt){fn(ce,(de<<1)+(gt?1:0),3),function(Me,Xe,Pt,ct){un(Me),ct&&(rn(Me,Pt),rn(Me,~Pt)),je.arraySet(Me.pending_buf,Me.window,Xe,Pt,Me.pending),Me.pending+=Pt}(ce,ye,qe,!0)}Ge._tr_init=function(ce){Te||(function(){var ye,qe,gt,Me,Xe,Pt=new Array(ee+1);for(Me=gt=0;Me<Ie-1;Me++)for(Ot[Me]=gt,ye=0;ye<1<<Pe[Me];ye++)ke[gt++]=Me;for(ke[gt-1]=Me,Me=Xe=0;Me<16;Me++)for(dt[Me]=Xe,ye=0;ye<1<<Qe[Me];ye++)Bt[Xe++]=Me;for(Xe>>=7;Me<ie;Me++)for(dt[Me]=Xe<<7,ye=0;ye<1<<Qe[Me]-7;ye++)Bt[256+Xe++]=Me;for(qe=0;qe<=ee;qe++)Pt[qe]=0;for(ye=0;ye<=143;)nt[2*ye+1]=8,ye++,Pt[8]++;for(;ye<=255;)nt[2*ye+1]=9,ye++,Pt[9]++;for(;ye<=279;)nt[2*ye+1]=7,ye++,Pt[7]++;for(;ye<=287;)nt[2*ye+1]=8,ye++,Pt[8]++;for(Ln(nt,Ce+1,Pt),ye=0;ye<ie;ye++)De[2*ye+1]=5,De[2*ye]=Jt(ye,5);it=new pt(nt,Pe,Fe+1,Ce,ee),rt=new pt(De,Qe,0,ie,ee),wt=new pt(new Array(0),Ze,0,y,te)}(),Te=!0),ce.l_desc=new st(ce.dyn_ltree,it),ce.d_desc=new st(ce.dyn_dtree,rt),ce.bl_desc=new st(ce.bl_tree,wt),ce.bi_buf=0,ce.bi_valid=0,Hn(ce)},Ge._tr_stored_block=pe,Ge._tr_flush_block=function(ce,ye,qe,gt){var Me,Xe,Pt=0;0<ce.level?(ce.strm.data_type===2&&(ce.strm.data_type=function(ct){var ot,kt=4093624447;for(ot=0;ot<=31;ot++,kt>>>=1)if(1&kt&&ct.dyn_ltree[2*ot]!==0)return me;if(ct.dyn_ltree[18]!==0||ct.dyn_ltree[20]!==0||ct.dyn_ltree[26]!==0)return Be;for(ot=32;ot<Fe;ot++)if(ct.dyn_ltree[2*ot]!==0)return Be;return me}(ce)),er(ce,ce.l_desc),er(ce,ce.d_desc),Pt=function(ct){var ot;for(Re(ct,ct.dyn_ltree,ct.l_desc.max_code),Re(ct,ct.dyn_dtree,ct.d_desc.max_code),er(ct,ct.bl_desc),ot=y-1;3<=ot&&ct.bl_tree[2*Ve[ot]+1]===0;ot--);return ct.opt_len+=3*(ot+1)+5+5+4,ot}(ce),Me=ce.opt_len+3+7>>>3,(Xe=ce.static_len+3+7>>>3)<=Me&&(Me=Xe)):Me=Xe=qe+5,qe+4<=Me&&ye!==-1?pe(ce,ye,qe,gt):ce.strategy===4||Xe===Me?(fn(ce,2+(gt?1:0),3),Kn(ce,nt,De)):(fn(ce,4+(gt?1:0),3),function(ct,ot,kt,_n){var _t;for(fn(ct,ot-257,5),fn(ct,kt-1,5),fn(ct,_n-4,4),_t=0;_t<_n;_t++)fn(ct,ct.bl_tree[2*Ve[_t]+1],3);Kt(ct,ct.dyn_ltree,ot-1),Kt(ct,ct.dyn_dtree,kt-1)}(ce,ce.l_desc.max_code+1,ce.d_desc.max_code+1,Pt+1),Kn(ce,ce.dyn_ltree,ce.dyn_dtree)),Hn(ce),gt&&un(ce)},Ge._tr_tally=function(ce,ye,qe){return ce.pending_buf[ce.d_buf+2*ce.last_lit]=ye>>>8&255,ce.pending_buf[ce.d_buf+2*ce.last_lit+1]=255&ye,ce.pending_buf[ce.l_buf+ce.last_lit]=255&qe,ce.last_lit++,ye===0?ce.dyn_ltree[2*qe]++:(ce.matches++,ye--,ce.dyn_ltree[2*(ke[qe]+Fe+1)]++,ce.dyn_dtree[2*ft(ye)]++),ce.last_lit===ce.lit_bufsize-1},Ge._tr_align=function(ce){fn(ce,2,3),Et(ce,ne,nt),function(ye){ye.bi_valid===16?(rn(ye,ye.bi_buf),ye.bi_buf=0,ye.bi_valid=0):8<=ye.bi_valid&&(ye.pending_buf[ye.pending++]=255&ye.bi_buf,ye.bi_buf>>=8,ye.bi_valid-=8)}(ce)}},{"../utils/common":41}],53:[function(ze,at,Ge){"use strict";at.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(ze,at,Ge){(function(je){(function(me,Be){"use strict";if(!me.setImmediate){var Le,de,Ie,Fe,Ce=1,ie={},y=!1,a=me.document,ee=Object.getPrototypeOf&&Object.getPrototypeOf(me);ee=ee&&ee.setTimeout?ee:me,Le={}.toString.call(me.process)==="[object process]"?function(oe){be.nextTick(function(){te(oe)})}:function(){if(me.postMessage&&!me.importScripts){var oe=!0,he=me.onmessage;return me.onmessage=function(){oe=!1},me.postMessage("","*"),me.onmessage=he,oe}}()?(Fe="setImmediate$"+Math.random()+"$",me.addEventListener?me.addEventListener("message",ne,!1):me.attachEvent("onmessage",ne),function(oe){me.postMessage(Fe+oe,"*")}):me.MessageChannel?((Ie=new MessageChannel).port1.onmessage=function(oe){te(oe.data)},function(oe){Ie.port2.postMessage(oe)}):a&&"onreadystatechange"in a.createElement("script")?(de=a.documentElement,function(oe){var he=a.createElement("script");he.onreadystatechange=function(){te(oe),he.onreadystatechange=null,de.removeChild(he),he=null},de.appendChild(he)}):function(oe){setTimeout(te,0,oe)},ee.setImmediate=function(oe){typeof oe!="function"&&(oe=new Function(""+oe));for(var he=new Array(arguments.length-1),_e=0;_e<he.length;_e++)he[_e]=arguments[_e+1];var Pe={callback:oe,args:he};return ie[Ce]=Pe,Le(Ce),Ce++},ee.clearImmediate=E}function E(oe){delete ie[oe]}function te(oe){if(y)setTimeout(te,0,oe);else{var he=ie[oe];if(he){y=!0;try{(function(_e){var Pe=_e.callback,Qe=_e.args;switch(Qe.length){case 0:Pe();break;case 1:Pe(Qe[0]);break;case 2:Pe(Qe[0],Qe[1]);break;case 3:Pe(Qe[0],Qe[1],Qe[2]);break;default:Pe.apply(Be,Qe)}})(he)}finally{E(oe),y=!1}}}}function ne(oe){oe.source===me&&typeof oe.data=="string"&&oe.data.indexOf(Fe)===0&&te(+oe.data.slice(Fe.length))}})(typeof self=="undefined"?je===void 0?this:je:self)}).call(this,typeof we.g!="undefined"?we.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},39417:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Qe}});var Oe=we(54476),be=we(20068),ze=we(75931),at=we(33885),Ge=we(67732),je=we(83652),me=we(31226),Be=we(42403),Le=we(158),de=we(92310),Ie=we.n(de),Fe=we(26112),Ce=we(59301),ie=we(39378),y=function(Ve){for(var nt=Ve.prefixCls,De=Ve.level,Bt=Ve.isStart,ke=Ve.isEnd,Ot="".concat(nt,"-indent-unit"),it=[],rt=0;rt<De;rt+=1){var wt;it.push(Ce.createElement("span",{key:rt,className:Ie()(Ot,(wt={},(0,be.Z)(wt,"".concat(Ot,"-start"),Bt[rt]),(0,be.Z)(wt,"".concat(Ot,"-end"),ke[rt]),wt))}))}return Ce.createElement("span",{"aria-hidden":"true",className:"".concat(nt,"-indent")},it)},a=Ce.memo(y),ee=we(67841),E=we(71430),te=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",oe="close",he="---",_e=function(Ze){(0,Be.Z)(nt,Ze);var Ve=(0,Le.Z)(nt);function nt(){var De;(0,Ge.Z)(this,nt);for(var Bt=arguments.length,ke=new Array(Bt),Ot=0;Ot<Bt;Ot++)ke[Ot]=arguments[Ot];return De=Ve.call.apply(Ve,[this].concat(ke)),De.state={dragNodeHighlight:!1},De.selectHandle=void 0,De.cacheIndent=void 0,De.onSelectorClick=function(it){var rt=De.props.context.onNodeClick;rt(it,(0,E.F)(De.props)),De.isSelectable()?De.onSelect(it):De.onCheck(it)},De.onSelectorDoubleClick=function(it){var rt=De.props.context.onNodeDoubleClick;rt(it,(0,E.F)(De.props))},De.onSelect=function(it){if(!De.isDisabled()){var rt=De.props.context.onNodeSelect;rt(it,(0,E.F)(De.props))}},De.onCheck=function(it){if(!De.isDisabled()){var rt=De.props,wt=rt.disableCheckbox,dt=rt.checked,pt=De.props.context.onNodeCheck;if(!(!De.isCheckable()||wt)){var st=!dt;pt(it,(0,E.F)(De.props),st)}}},De.onMouseEnter=function(it){var rt=De.props.context.onNodeMouseEnter;rt(it,(0,E.F)(De.props))},De.onMouseLeave=function(it){var rt=De.props.context.onNodeMouseLeave;rt(it,(0,E.F)(De.props))},De.onContextMenu=function(it){var rt=De.props.context.onNodeContextMenu;rt(it,(0,E.F)(De.props))},De.onDragStart=function(it){var rt=De.props.context.onNodeDragStart;it.stopPropagation(),De.setState({dragNodeHighlight:!0}),rt(it,(0,me.Z)(De));try{it.dataTransfer.setData("text/plain","")}catch(wt){}},De.onDragEnter=function(it){var rt=De.props.context.onNodeDragEnter;it.preventDefault(),it.stopPropagation(),rt(it,(0,me.Z)(De))},De.onDragOver=function(it){var rt=De.props.context.onNodeDragOver;it.preventDefault(),it.stopPropagation(),rt(it,(0,me.Z)(De))},De.onDragLeave=function(it){var rt=De.props.context.onNodeDragLeave;it.stopPropagation(),rt(it,(0,me.Z)(De))},De.onDragEnd=function(it){var rt=De.props.context.onNodeDragEnd;it.stopPropagation(),De.setState({dragNodeHighlight:!1}),rt(it,(0,me.Z)(De))},De.onDrop=function(it){var rt=De.props.context.onNodeDrop;it.preventDefault(),it.stopPropagation(),De.setState({dragNodeHighlight:!1}),rt(it,(0,me.Z)(De))},De.onExpand=function(it){var rt=De.props,wt=rt.loading,dt=rt.context.onNodeExpand;wt||dt(it,(0,E.F)(De.props))},De.setSelectHandle=function(it){De.selectHandle=it},De.getNodeState=function(){var it=De.props.expanded;return De.isLeaf()?null:it?ne:oe},De.hasChildren=function(){var it=De.props.eventKey,rt=De.props.context.keyEntities,wt=(0,ee.Z)(rt,it)||{},dt=wt.children;return!!(dt||[]).length},De.isLeaf=function(){var it=De.props,rt=it.isLeaf,wt=it.loaded,dt=De.props.context.loadData,pt=De.hasChildren();return rt===!1?!1:rt||!dt&&!pt||dt&&wt&&!pt},De.isDisabled=function(){var it=De.props.disabled,rt=De.props.context.disabled;return!!(rt||it)},De.isCheckable=function(){var it=De.props.checkable,rt=De.props.context.checkable;return!rt||it===!1?!1:rt},De.syncLoadData=function(it){var rt=it.expanded,wt=it.loading,dt=it.loaded,pt=De.props.context,st=pt.loadData,ft=pt.onNodeLoad;wt||st&&rt&&!De.isLeaf()&&!De.hasChildren()&&!dt&&ft((0,E.F)(De.props))},De.isDraggable=function(){var it=De.props,rt=it.data,wt=it.context.draggable;return!!(wt&&(!wt.nodeDraggable||wt.nodeDraggable(rt)))},De.renderDragHandler=function(){var it=De.props.context,rt=it.draggable,wt=it.prefixCls;return rt!=null&&rt.icon?Ce.createElement("span",{className:"".concat(wt,"-draggable-icon")},rt.icon):null},De.renderSwitcherIconDom=function(it){var rt=De.props.switcherIcon,wt=De.props.context.switcherIcon,dt=rt||wt;return typeof dt=="function"?dt((0,at.Z)((0,at.Z)({},De.props),{},{isLeaf:it})):dt},De.renderSwitcher=function(){var it=De.props.expanded,rt=De.props.context.prefixCls;if(De.isLeaf()){var wt=De.renderSwitcherIconDom(!0);return wt!==!1?Ce.createElement("span",{className:Ie()("".concat(rt,"-switcher"),"".concat(rt,"-switcher-noop"))},wt):null}var dt=Ie()("".concat(rt,"-switcher"),"".concat(rt,"-switcher_").concat(it?ne:oe)),pt=De.renderSwitcherIconDom(!1);return pt!==!1?Ce.createElement("span",{onClick:De.onExpand,className:dt},pt):null},De.renderCheckbox=function(){var it=De.props,rt=it.checked,wt=it.halfChecked,dt=it.disableCheckbox,pt=De.props.context.prefixCls,st=De.isDisabled(),ft=De.isCheckable();if(!ft)return null;var rn=typeof ft!="boolean"?ft:null;return Ce.createElement("span",{className:Ie()("".concat(pt,"-checkbox"),rt&&"".concat(pt,"-checkbox-checked"),!rt&&wt&&"".concat(pt,"-checkbox-indeterminate"),(st||dt)&&"".concat(pt,"-checkbox-disabled")),onClick:De.onCheck},rn)},De.renderIcon=function(){var it=De.props.loading,rt=De.props.context.prefixCls;return Ce.createElement("span",{className:Ie()("".concat(rt,"-iconEle"),"".concat(rt,"-icon__").concat(De.getNodeState()||"docu"),it&&"".concat(rt,"-icon_loading"))})},De.renderSelector=function(){var it=De.state.dragNodeHighlight,rt=De.props,wt=rt.title,dt=wt===void 0?he:wt,pt=rt.selected,st=rt.icon,ft=rt.loading,rn=rt.data,fn=De.props.context,Et=fn.prefixCls,Jt=fn.showIcon,Ln=fn.icon,Hn=fn.loadData,un=fn.titleRender,Vn=De.isDisabled(),yt="".concat(Et,"-node-content-wrapper"),Kn;if(Jt){var er=st||Ln;Kn=er?Ce.createElement("span",{className:Ie()("".concat(Et,"-iconEle"),"".concat(Et,"-icon__customize"))},typeof er=="function"?er(De.props):er):De.renderIcon()}else Hn&&ft&&(Kn=De.renderIcon());var Re;typeof dt=="function"?Re=dt(rn):un?Re=un(rn):Re=dt;var Kt=Ce.createElement("span",{className:"".concat(Et,"-title")},Re);return Ce.createElement("span",{ref:De.setSelectHandle,title:typeof dt=="string"?dt:"",className:Ie()("".concat(yt),"".concat(yt,"-").concat(De.getNodeState()||"normal"),!Vn&&(pt||it)&&"".concat(Et,"-node-selected")),onMouseEnter:De.onMouseEnter,onMouseLeave:De.onMouseLeave,onContextMenu:De.onContextMenu,onClick:De.onSelectorClick,onDoubleClick:De.onSelectorDoubleClick},Kn,Kt,De.renderDropIndicator())},De.renderDropIndicator=function(){var it=De.props,rt=it.disabled,wt=it.eventKey,dt=De.props.context,pt=dt.draggable,st=dt.dropLevelOffset,ft=dt.dropPosition,rn=dt.prefixCls,fn=dt.indent,Et=dt.dropIndicatorRender,Jt=dt.dragOverNodeKey,Ln=dt.direction,Hn=!!pt,un=!rt&&Hn&&Jt===wt,Vn=fn!=null?fn:De.cacheIndent;return De.cacheIndent=fn,un?Et({dropPosition:ft,dropLevelOffset:st,indent:Vn,prefixCls:rn,direction:Ln}):null},De}return(0,je.Z)(nt,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Bt=this.props.selectable,ke=this.props.context.selectable;return typeof Bt=="boolean"?Bt:ke}},{key:"render",value:function(){var Bt,ke=this.props,Ot=ke.eventKey,it=ke.className,rt=ke.style,wt=ke.dragOver,dt=ke.dragOverGapTop,pt=ke.dragOverGapBottom,st=ke.isLeaf,ft=ke.isStart,rn=ke.isEnd,fn=ke.expanded,Et=ke.selected,Jt=ke.checked,Ln=ke.halfChecked,Hn=ke.loading,un=ke.domRef,Vn=ke.active,yt=ke.data,Kn=ke.onMouseMove,er=ke.selectable,Re=(0,ze.Z)(ke,te),Kt=this.props.context,Te=Kt.prefixCls,pe=Kt.filterTreeNode,ce=Kt.keyEntities,ye=Kt.dropContainerKey,qe=Kt.dropTargetKey,gt=Kt.draggingNodeKey,Me=this.isDisabled(),Xe=(0,Fe.Z)(Re,{aria:!0,data:!0}),Pt=(0,ee.Z)(ce,Ot)||{},ct=Pt.level,ot=rn[rn.length-1],kt=this.isDraggable(),_n=!Me&&kt,_t=gt===Ot,nn=er!==void 0?{"aria-selected":!!er}:void 0;return Ce.createElement("div",(0,Oe.Z)({ref:un,className:Ie()(it,"".concat(Te,"-treenode"),(Bt={},(0,be.Z)(Bt,"".concat(Te,"-treenode-disabled"),Me),(0,be.Z)(Bt,"".concat(Te,"-treenode-switcher-").concat(fn?"open":"close"),!st),(0,be.Z)(Bt,"".concat(Te,"-treenode-checkbox-checked"),Jt),(0,be.Z)(Bt,"".concat(Te,"-treenode-checkbox-indeterminate"),Ln),(0,be.Z)(Bt,"".concat(Te,"-treenode-selected"),Et),(0,be.Z)(Bt,"".concat(Te,"-treenode-loading"),Hn),(0,be.Z)(Bt,"".concat(Te,"-treenode-active"),Vn),(0,be.Z)(Bt,"".concat(Te,"-treenode-leaf-last"),ot),(0,be.Z)(Bt,"".concat(Te,"-treenode-draggable"),kt),(0,be.Z)(Bt,"dragging",_t),(0,be.Z)(Bt,"drop-target",qe===Ot),(0,be.Z)(Bt,"drop-container",ye===Ot),(0,be.Z)(Bt,"drag-over",!Me&&wt),(0,be.Z)(Bt,"drag-over-gap-top",!Me&&dt),(0,be.Z)(Bt,"drag-over-gap-bottom",!Me&&pt),(0,be.Z)(Bt,"filter-node",pe&&pe((0,E.F)(this.props))),Bt)),style:rt,draggable:_n,"aria-grabbed":_t,onDragStart:_n?this.onDragStart:void 0,onDragEnter:kt?this.onDragEnter:void 0,onDragOver:kt?this.onDragOver:void 0,onDragLeave:kt?this.onDragLeave:void 0,onDrop:kt?this.onDrop:void 0,onDragEnd:kt?this.onDragEnd:void 0,onMouseMove:Kn},nn,Xe),Ce.createElement(a,{prefixCls:Te,level:ct,isStart:ft,isEnd:rn}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),nt}(Ce.Component),Pe=function(Ve){return Ce.createElement(ie.k.Consumer,null,function(nt){return Ce.createElement(_e,(0,Oe.Z)({},Ve,{context:nt}))})};Pe.displayName="TreeNode",Pe.isTreeNode=1;var Qe=Pe},39378:function(on,Ut,we){"use strict";we.d(Ut,{k:function(){return be}});var Oe=we(59301),be=Oe.createContext(null)},60091:function(on,Ut,we){"use strict";we.d(Ut,{O:function(){return Qe.Z},Z:function(){return Kt}});var Oe=we(54476),be=we(20068),ze=we(76190),at=we(33885),Ge=we(94480),je=we(67732),me=we(83652),Be=we(31226),Le=we(42403),de=we(158),Ie=we(92310),Fe=we.n(Ie),Ce=we(10228),ie=we(26112),y=we(48736),a=we(59301),ee=we(39378);function E(Te){var pe=Te.dropPosition,ce=Te.dropLevelOffset,ye=Te.indent,qe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(pe){case-1:qe.top=0,qe.left=-ce*ye;break;case 1:qe.bottom=0,qe.left=-ce*ye;break;case 0:qe.bottom=0,qe.left=ye;break}return a.createElement("div",{style:qe})}function te(Te){if(Te==null)throw new TypeError("Cannot destructure "+Te)}var ne=we(42978),oe=we(75931),he=we(34280),_e=we(48911),Pe=we(77900),Qe=we(39417);function Ze(Te,pe){var ce=a.useState(!1),ye=(0,ne.Z)(ce,2),qe=ye[0],gt=ye[1];a.useLayoutEffect(function(){if(qe)return Te(),function(){pe()}},[qe]),a.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var Ve=we(71430),nt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],De=function(pe,ce){var ye=pe.className,qe=pe.style,gt=pe.motion,Me=pe.motionNodes,Xe=pe.motionType,Pt=pe.onMotionStart,ct=pe.onMotionEnd,ot=pe.active,kt=pe.treeNodeRequiredProps,_n=(0,oe.Z)(pe,nt),_t=a.useState(!0),nn=(0,ne.Z)(_t,2),Nt=nn[0],yn=nn[1],Xt=a.useContext(ee.k),Jn=Xt.prefixCls,hr=Me&&Xe!=="hide";(0,he.Z)(function(){Me&&hr!==Nt&&yn(hr)},[Me]);var tr=function(){Me&&Pt()},Dr=a.useRef(!1),Or=function(){Me&&!Dr.current&&(Dr.current=!0,ct())};Ze(tr,Or);var la=function(Hr){hr===Hr&&Or()};return Me?a.createElement(Pe.default,(0,Oe.Z)({ref:ce,visible:Nt},gt,{motionAppear:Xe==="show",onVisibleChanged:la}),function(sa,Hr){var br=sa.className,Tr=sa.style;return a.createElement("div",{ref:Hr,className:Fe()("".concat(Jn,"-treenode-motion"),br),style:Tr},Me.map(function(ta){var _a=(0,Oe.Z)({},(te(ta.data),ta.data)),fo=ta.title,ea=ta.key,pi=ta.isStart,_i=ta.isEnd;delete _a.children;var na=(0,Ve.H8)(ea,kt);return a.createElement(Qe.Z,(0,Oe.Z)({},_a,na,{title:fo,active:ot,data:ta.data,key:ea,isStart:pi,isEnd:_i}))}))}):a.createElement(Qe.Z,(0,Oe.Z)({domRef:ce,className:ye,style:qe},_n,{active:ot}))};De.displayName="MotionTreeNode";var Bt=a.forwardRef(De),ke=Bt;function Ot(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ce=Te.length,ye=pe.length;if(Math.abs(ce-ye)!==1)return{add:!1,key:null};function qe(gt,Me){var Xe=new Map;gt.forEach(function(ct){Xe.set(ct,!0)});var Pt=Me.filter(function(ct){return!Xe.has(ct)});return Pt.length===1?Pt[0]:null}return ce<ye?{add:!0,key:qe(Te,pe)}:{add:!1,key:qe(pe,Te)}}function it(Te,pe,ce){var ye=Te.findIndex(function(Xe){return Xe.key===ce}),qe=Te[ye+1],gt=pe.findIndex(function(Xe){return Xe.key===ce});if(qe){var Me=pe.findIndex(function(Xe){return Xe.key===qe.key});return pe.slice(gt+1,Me)}return pe.slice(gt+1)}var rt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],wt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},dt=function(){},pt="RC_TREE_MOTION_".concat(Math.random()),st={key:pt},ft={key:pt,level:0,index:0,pos:"0",node:st,nodes:[st]},rn={parent:null,children:[],pos:ft.pos,data:st,title:null,key:pt,isStart:[],isEnd:[]};function fn(Te,pe,ce,ye){return pe===!1||!ce?Te:Te.slice(0,Math.ceil(ce/ye)+1)}function Et(Te){var pe=Te.key,ce=Te.pos;return(0,Ve.km)(pe,ce)}function Jt(Te){for(var pe=String(Te.data.key),ce=Te;ce.parent;)ce=ce.parent,pe="".concat(ce.data.key," > ").concat(pe);return pe}var Ln=a.forwardRef(function(Te,pe){var ce=Te.prefixCls,ye=Te.data,qe=Te.selectable,gt=Te.checkable,Me=Te.expandedKeys,Xe=Te.selectedKeys,Pt=Te.checkedKeys,ct=Te.loadedKeys,ot=Te.loadingKeys,kt=Te.halfCheckedKeys,_n=Te.keyEntities,_t=Te.disabled,nn=Te.dragging,Nt=Te.dragOverNodeKey,yn=Te.dropPosition,Xt=Te.motion,Jn=Te.height,hr=Te.itemHeight,tr=Te.virtual,Dr=Te.focusable,Or=Te.activeItem,la=Te.focused,sa=Te.tabIndex,Hr=Te.onKeyDown,br=Te.onFocus,Tr=Te.onBlur,ta=Te.onActiveChange,_a=Te.onListChangeStart,fo=Te.onListChangeEnd,ea=(0,oe.Z)(Te,rt),pi=a.useRef(null),_i=a.useRef(null);a.useImperativeHandle(pe,function(){return{scrollTo:function(Si){pi.current.scrollTo(Si)},getIndentWidth:function(){return _i.current.offsetWidth}}});var na=a.useState(Me),ln=(0,ne.Z)(na,2),zA=ln[0],fA=ln[1],UA=a.useState(ye),ds=(0,ne.Z)(UA,2),wi=ds[0],Gs=ds[1],SA=a.useState(ye),Ji=(0,ne.Z)(SA,2),En=Ji[0],Dn=Ji[1],vn=a.useState([]),kr=(0,ne.Z)(vn,2),Ea=kr[0],Zr=kr[1],si=a.useState(null),vo=(0,ne.Z)(si,2),Ko=vo[0],_o=vo[1],yA=a.useRef(ye);yA.current=ye;function gr(){var fi=yA.current;Gs(fi),Dn(fi),Zr([]),_o(null),fo()}(0,he.Z)(function(){fA(Me);var fi=Ot(zA,Me);if(fi.key!==null)if(fi.add){var Si=wi.findIndex(function($A){var yi=$A.key;return yi===fi.key}),Do=fn(it(wi,ye,fi.key),tr,Jn,hr),hA=wi.slice();hA.splice(Si+1,0,rn),Dn(hA),Zr(Do),_o("show")}else{var MA=ye.findIndex(function($A){var yi=$A.key;return yi===fi.key}),GA=fn(it(ye,wi,fi.key),tr,Jn,hr),Ds=ye.slice();Ds.splice(MA+1,0,rn),Dn(Ds),Zr(GA),_o("hide")}else wi!==ye&&(Gs(ye),Dn(ye))},[Me,ye]),a.useEffect(function(){nn||gr()},[nn]);var No=Xt?En:ye,Di={expandedKeys:Me,selectedKeys:Xe,loadedKeys:ct,loadingKeys:ot,checkedKeys:Pt,halfCheckedKeys:kt,dragOverNodeKey:Nt,dropPosition:yn,keyEntities:_n};return a.createElement(a.Fragment,null,la&&Or&&a.createElement("span",{style:wt,"aria-live":"assertive"},Jt(Or)),a.createElement("div",null,a.createElement("input",{style:wt,disabled:Dr===!1||_t,tabIndex:Dr!==!1?sa:null,onKeyDown:Hr,onFocus:br,onBlur:Tr,value:"",onChange:dt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(ce,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(ce,"-indent")},a.createElement("div",{ref:_i,className:"".concat(ce,"-indent-unit")}))),a.createElement(_e.Z,(0,Oe.Z)({},ea,{data:No,itemKey:Et,height:Jn,fullHeight:!1,virtual:tr,itemHeight:hr,prefixCls:"".concat(ce,"-list"),ref:pi,onVisibleChange:function(Si,Do){var hA=new Set(Si),MA=Do.filter(function(GA){return!hA.has(GA)});MA.some(function(GA){return Et(GA)===pt})&&gr()}}),function(fi){var Si=fi.pos,Do=(0,Oe.Z)({},(te(fi.data),fi.data)),hA=fi.title,MA=fi.key,GA=fi.isStart,Ds=fi.isEnd,$A=(0,Ve.km)(MA,Si);delete Do.key,delete Do.children;var yi=(0,Ve.H8)($A,Di);return a.createElement(ke,(0,Oe.Z)({},Do,yi,{title:hA,active:!!Or&&MA===Or.key,pos:Si,data:fi.data,isStart:GA,isEnd:Ds,motion:Xt,motionNodes:MA===pt?Ea:null,motionType:Ko,onMotionStart:_a,onMotionEnd:gr,treeNodeRequiredProps:Di,onMouseMove:function(){ta(null)}}))}))});Ln.displayName="NodeList";var Hn=Ln,un=we(35654),Vn=we(90782),yt=we(67841),Kn=10,er=function(Te){(0,Le.Z)(ce,Te);var pe=(0,de.Z)(ce);function ce(){var ye;(0,je.Z)(this,ce);for(var qe=arguments.length,gt=new Array(qe),Me=0;Me<qe;Me++)gt[Me]=arguments[Me];return ye=pe.call.apply(pe,[this].concat(gt)),ye.destroyed=!1,ye.delayedDragEnterLogic=void 0,ye.loadingRetryTimes={},ye.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ve.w$)()},ye.dragStartMousePosition=null,ye.dragNode=void 0,ye.currentMouseOverDroppableNodeKey=null,ye.listRef=a.createRef(),ye.onNodeDragStart=function(Xe,Pt){var ct=ye.state,ot=ct.expandedKeys,kt=ct.keyEntities,_n=ye.props.onDragStart,_t=Pt.props.eventKey;ye.dragNode=Pt,ye.dragStartMousePosition={x:Xe.clientX,y:Xe.clientY};var nn=(0,un._5)(ot,_t);ye.setState({draggingNodeKey:_t,dragChildrenKeys:(0,un.wA)(_t,kt),indent:ye.listRef.current.getIndentWidth()}),ye.setExpandedKeys(nn),window.addEventListener("dragend",ye.onWindowDragEnd),_n==null||_n({event:Xe,node:(0,Ve.F)(Pt.props)})},ye.onNodeDragEnter=function(Xe,Pt){var ct=ye.state,ot=ct.expandedKeys,kt=ct.keyEntities,_n=ct.dragChildrenKeys,_t=ct.flattenNodes,nn=ct.indent,Nt=ye.props,yn=Nt.onDragEnter,Xt=Nt.onExpand,Jn=Nt.allowDrop,hr=Nt.direction,tr=Pt.props,Dr=tr.pos,Or=tr.eventKey,la=(0,Be.Z)(ye),sa=la.dragNode;if(ye.currentMouseOverDroppableNodeKey!==Or&&(ye.currentMouseOverDroppableNodeKey=Or),!sa){ye.resetDragState();return}var Hr=(0,un.OM)(Xe,sa,Pt,nn,ye.dragStartMousePosition,Jn,_t,kt,ot,hr),br=Hr.dropPosition,Tr=Hr.dropLevelOffset,ta=Hr.dropTargetKey,_a=Hr.dropContainerKey,fo=Hr.dropTargetPos,ea=Hr.dropAllowed,pi=Hr.dragOverNodeKey;if(_n.indexOf(ta)!==-1||!ea){ye.resetDragState();return}if(ye.delayedDragEnterLogic||(ye.delayedDragEnterLogic={}),Object.keys(ye.delayedDragEnterLogic).forEach(function(_i){clearTimeout(ye.delayedDragEnterLogic[_i])}),sa.props.eventKey!==Pt.props.eventKey&&(Xe.persist(),ye.delayedDragEnterLogic[Dr]=window.setTimeout(function(){if(ye.state.draggingNodeKey!==null){var _i=(0,Ge.Z)(ot),na=(0,yt.Z)(kt,Pt.props.eventKey);na&&(na.children||[]).length&&(_i=(0,un.L0)(ot,Pt.props.eventKey)),"expandedKeys"in ye.props||ye.setExpandedKeys(_i),Xt==null||Xt(_i,{node:(0,Ve.F)(Pt.props),expanded:!0,nativeEvent:Xe.nativeEvent})}},800)),sa.props.eventKey===ta&&Tr===0){ye.resetDragState();return}ye.setState({dragOverNodeKey:pi,dropPosition:br,dropLevelOffset:Tr,dropTargetKey:ta,dropContainerKey:_a,dropTargetPos:fo,dropAllowed:ea}),yn==null||yn({event:Xe,node:(0,Ve.F)(Pt.props),expandedKeys:ot})},ye.onNodeDragOver=function(Xe,Pt){var ct=ye.state,ot=ct.dragChildrenKeys,kt=ct.flattenNodes,_n=ct.keyEntities,_t=ct.expandedKeys,nn=ct.indent,Nt=ye.props,yn=Nt.onDragOver,Xt=Nt.allowDrop,Jn=Nt.direction,hr=(0,Be.Z)(ye),tr=hr.dragNode;if(tr){var Dr=(0,un.OM)(Xe,tr,Pt,nn,ye.dragStartMousePosition,Xt,kt,_n,_t,Jn),Or=Dr.dropPosition,la=Dr.dropLevelOffset,sa=Dr.dropTargetKey,Hr=Dr.dropContainerKey,br=Dr.dropAllowed,Tr=Dr.dropTargetPos,ta=Dr.dragOverNodeKey;ot.indexOf(sa)!==-1||!br||(tr.props.eventKey===sa&&la===0?ye.state.dropPosition===null&&ye.state.dropLevelOffset===null&&ye.state.dropTargetKey===null&&ye.state.dropContainerKey===null&&ye.state.dropTargetPos===null&&ye.state.dropAllowed===!1&&ye.state.dragOverNodeKey===null||ye.resetDragState():Or===ye.state.dropPosition&&la===ye.state.dropLevelOffset&&sa===ye.state.dropTargetKey&&Hr===ye.state.dropContainerKey&&Tr===ye.state.dropTargetPos&&br===ye.state.dropAllowed&&ta===ye.state.dragOverNodeKey||ye.setState({dropPosition:Or,dropLevelOffset:la,dropTargetKey:sa,dropContainerKey:Hr,dropTargetPos:Tr,dropAllowed:br,dragOverNodeKey:ta}),yn==null||yn({event:Xe,node:(0,Ve.F)(Pt.props)}))}},ye.onNodeDragLeave=function(Xe,Pt){ye.currentMouseOverDroppableNodeKey===Pt.props.eventKey&&!Xe.currentTarget.contains(Xe.relatedTarget)&&(ye.resetDragState(),ye.currentMouseOverDroppableNodeKey=null);var ct=ye.props.onDragLeave;ct==null||ct({event:Xe,node:(0,Ve.F)(Pt.props)})},ye.onWindowDragEnd=function(Xe){ye.onNodeDragEnd(Xe,null,!0),window.removeEventListener("dragend",ye.onWindowDragEnd)},ye.onNodeDragEnd=function(Xe,Pt){var ct=ye.props.onDragEnd;ye.setState({dragOverNodeKey:null}),ye.cleanDragState(),ct==null||ct({event:Xe,node:(0,Ve.F)(Pt.props)}),ye.dragNode=null,window.removeEventListener("dragend",ye.onWindowDragEnd)},ye.onNodeDrop=function(Xe,Pt){var ct,ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,kt=ye.state,_n=kt.dragChildrenKeys,_t=kt.dropPosition,nn=kt.dropTargetKey,Nt=kt.dropTargetPos,yn=kt.dropAllowed;if(yn){var Xt=ye.props.onDrop;if(ye.setState({dragOverNodeKey:null}),ye.cleanDragState(),nn!==null){var Jn=(0,at.Z)((0,at.Z)({},(0,Ve.H8)(nn,ye.getTreeNodeRequiredProps())),{},{active:((ct=ye.getActiveItem())===null||ct===void 0?void 0:ct.key)===nn,data:(0,yt.Z)(ye.state.keyEntities,nn).node}),hr=_n.indexOf(nn)!==-1;(0,y.ZP)(!hr,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var tr=(0,un.yx)(Nt),Dr={event:Xe,node:(0,Ve.F)(Jn),dragNode:ye.dragNode?(0,Ve.F)(ye.dragNode.props):null,dragNodesKeys:[ye.dragNode.props.eventKey].concat(_n),dropToGap:_t!==0,dropPosition:_t+Number(tr[tr.length-1])};ot||Xt==null||Xt(Dr),ye.dragNode=null}}},ye.cleanDragState=function(){var Xe=ye.state.draggingNodeKey;Xe!==null&&ye.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ye.dragStartMousePosition=null,ye.currentMouseOverDroppableNodeKey=null},ye.triggerExpandActionExpand=function(Xe,Pt){var ct=ye.state,ot=ct.expandedKeys,kt=ct.flattenNodes,_n=Pt.expanded,_t=Pt.key,nn=Pt.isLeaf;if(!(nn||Xe.shiftKey||Xe.metaKey||Xe.ctrlKey)){var Nt=kt.filter(function(Xt){return Xt.key===_t})[0],yn=(0,Ve.F)((0,at.Z)((0,at.Z)({},(0,Ve.H8)(_t,ye.getTreeNodeRequiredProps())),{},{data:Nt.data}));ye.setExpandedKeys(_n?(0,un._5)(ot,_t):(0,un.L0)(ot,_t)),ye.onNodeExpand(Xe,yn)}},ye.onNodeClick=function(Xe,Pt){var ct=ye.props,ot=ct.onClick,kt=ct.expandAction;kt==="click"&&ye.triggerExpandActionExpand(Xe,Pt),ot==null||ot(Xe,Pt)},ye.onNodeDoubleClick=function(Xe,Pt){var ct=ye.props,ot=ct.onDoubleClick,kt=ct.expandAction;kt==="doubleClick"&&ye.triggerExpandActionExpand(Xe,Pt),ot==null||ot(Xe,Pt)},ye.onNodeSelect=function(Xe,Pt){var ct=ye.state.selectedKeys,ot=ye.state,kt=ot.keyEntities,_n=ot.fieldNames,_t=ye.props,nn=_t.onSelect,Nt=_t.multiple,yn=Pt.selected,Xt=Pt[_n.key],Jn=!yn;Jn?Nt?ct=(0,un.L0)(ct,Xt):ct=[Xt]:ct=(0,un._5)(ct,Xt);var hr=ct.map(function(tr){var Dr=(0,yt.Z)(kt,tr);return Dr?Dr.node:null}).filter(function(tr){return tr});ye.setUncontrolledState({selectedKeys:ct}),nn==null||nn(ct,{event:"select",selected:Jn,node:Pt,selectedNodes:hr,nativeEvent:Xe.nativeEvent})},ye.onNodeCheck=function(Xe,Pt,ct){var ot=ye.state,kt=ot.keyEntities,_n=ot.checkedKeys,_t=ot.halfCheckedKeys,nn=ye.props,Nt=nn.checkStrictly,yn=nn.onCheck,Xt=Pt.key,Jn,hr={event:"check",node:Pt,checked:ct,nativeEvent:Xe.nativeEvent};if(Nt){var tr=ct?(0,un.L0)(_n,Xt):(0,un._5)(_n,Xt),Dr=(0,un._5)(_t,Xt);Jn={checked:tr,halfChecked:Dr},hr.checkedNodes=tr.map(function(Tr){return(0,yt.Z)(kt,Tr)}).filter(function(Tr){return Tr}).map(function(Tr){return Tr.node}),ye.setUncontrolledState({checkedKeys:tr})}else{var Or=(0,Vn.S)([].concat((0,Ge.Z)(_n),[Xt]),!0,kt),la=Or.checkedKeys,sa=Or.halfCheckedKeys;if(!ct){var Hr=new Set(la);Hr.delete(Xt);var br=(0,Vn.S)(Array.from(Hr),{checked:!1,halfCheckedKeys:sa},kt);la=br.checkedKeys,sa=br.halfCheckedKeys}Jn=la,hr.checkedNodes=[],hr.checkedNodesPositions=[],hr.halfCheckedKeys=sa,la.forEach(function(Tr){var ta=(0,yt.Z)(kt,Tr);if(ta){var _a=ta.node,fo=ta.pos;hr.checkedNodes.push(_a),hr.checkedNodesPositions.push({node:_a,pos:fo})}}),ye.setUncontrolledState({checkedKeys:la},!1,{halfCheckedKeys:sa})}yn==null||yn(Jn,hr)},ye.onNodeLoad=function(Xe){var Pt=Xe.key,ct=new Promise(function(ot,kt){ye.setState(function(_n){var _t=_n.loadedKeys,nn=_t===void 0?[]:_t,Nt=_n.loadingKeys,yn=Nt===void 0?[]:Nt,Xt=ye.props,Jn=Xt.loadData,hr=Xt.onLoad;if(!Jn||nn.indexOf(Pt)!==-1||yn.indexOf(Pt)!==-1)return null;var tr=Jn(Xe);return tr.then(function(){var Dr=ye.state.loadedKeys,Or=(0,un.L0)(Dr,Pt);hr==null||hr(Or,{event:"load",node:Xe}),ye.setUncontrolledState({loadedKeys:Or}),ye.setState(function(la){return{loadingKeys:(0,un._5)(la.loadingKeys,Pt)}}),ot()}).catch(function(Dr){if(ye.setState(function(la){return{loadingKeys:(0,un._5)(la.loadingKeys,Pt)}}),ye.loadingRetryTimes[Pt]=(ye.loadingRetryTimes[Pt]||0)+1,ye.loadingRetryTimes[Pt]>=Kn){var Or=ye.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ye.setUncontrolledState({loadedKeys:(0,un.L0)(Or,Pt)}),ot()}kt(Dr)}),{loadingKeys:(0,un.L0)(yn,Pt)}})});return ct.catch(function(){}),ct},ye.onNodeMouseEnter=function(Xe,Pt){var ct=ye.props.onMouseEnter;ct==null||ct({event:Xe,node:Pt})},ye.onNodeMouseLeave=function(Xe,Pt){var ct=ye.props.onMouseLeave;ct==null||ct({event:Xe,node:Pt})},ye.onNodeContextMenu=function(Xe,Pt){var ct=ye.props.onRightClick;ct&&(Xe.preventDefault(),ct({event:Xe,node:Pt}))},ye.onFocus=function(){var Xe=ye.props.onFocus;ye.setState({focused:!0});for(var Pt=arguments.length,ct=new Array(Pt),ot=0;ot<Pt;ot++)ct[ot]=arguments[ot];Xe==null||Xe.apply(void 0,ct)},ye.onBlur=function(){var Xe=ye.props.onBlur;ye.setState({focused:!1}),ye.onActiveChange(null);for(var Pt=arguments.length,ct=new Array(Pt),ot=0;ot<Pt;ot++)ct[ot]=arguments[ot];Xe==null||Xe.apply(void 0,ct)},ye.getTreeNodeRequiredProps=function(){var Xe=ye.state,Pt=Xe.expandedKeys,ct=Xe.selectedKeys,ot=Xe.loadedKeys,kt=Xe.loadingKeys,_n=Xe.checkedKeys,_t=Xe.halfCheckedKeys,nn=Xe.dragOverNodeKey,Nt=Xe.dropPosition,yn=Xe.keyEntities;return{expandedKeys:Pt||[],selectedKeys:ct||[],loadedKeys:ot||[],loadingKeys:kt||[],checkedKeys:_n||[],halfCheckedKeys:_t||[],dragOverNodeKey:nn,dropPosition:Nt,keyEntities:yn}},ye.setExpandedKeys=function(Xe){var Pt=ye.state,ct=Pt.treeData,ot=Pt.fieldNames,kt=(0,Ve.oH)(ct,Xe,ot);ye.setUncontrolledState({expandedKeys:Xe,flattenNodes:kt},!0)},ye.onNodeExpand=function(Xe,Pt){var ct=ye.state.expandedKeys,ot=ye.state,kt=ot.listChanging,_n=ot.fieldNames,_t=ye.props,nn=_t.onExpand,Nt=_t.loadData,yn=Pt.expanded,Xt=Pt[_n.key];if(!kt){var Jn=ct.indexOf(Xt),hr=!yn;if((0,y.ZP)(yn&&Jn!==-1||!yn&&Jn===-1,"Expand state not sync with index check"),hr?ct=(0,un.L0)(ct,Xt):ct=(0,un._5)(ct,Xt),ye.setExpandedKeys(ct),nn==null||nn(ct,{node:Pt,expanded:hr,nativeEvent:Xe.nativeEvent}),hr&&Nt){var tr=ye.onNodeLoad(Pt);tr&&tr.then(function(){var Dr=(0,Ve.oH)(ye.state.treeData,ct,_n);ye.setUncontrolledState({flattenNodes:Dr})}).catch(function(){var Dr=ye.state.expandedKeys,Or=(0,un._5)(Dr,Xt);ye.setExpandedKeys(Or)})}}},ye.onListChangeStart=function(){ye.setUncontrolledState({listChanging:!0})},ye.onListChangeEnd=function(){setTimeout(function(){ye.setUncontrolledState({listChanging:!1})})},ye.onActiveChange=function(Xe){var Pt=ye.state.activeKey,ct=ye.props.onActiveChange;Pt!==Xe&&(ye.setState({activeKey:Xe}),Xe!==null&&ye.scrollTo({key:Xe}),ct==null||ct(Xe))},ye.getActiveItem=function(){var Xe=ye.state,Pt=Xe.activeKey,ct=Xe.flattenNodes;return Pt===null?null:ct.find(function(ot){var kt=ot.key;return kt===Pt})||null},ye.offsetActiveKey=function(Xe){var Pt=ye.state,ct=Pt.flattenNodes,ot=Pt.activeKey,kt=ct.findIndex(function(nn){var Nt=nn.key;return Nt===ot});kt===-1&&Xe<0&&(kt=ct.length),kt=(kt+Xe+ct.length)%ct.length;var _n=ct[kt];if(_n){var _t=_n.key;ye.onActiveChange(_t)}else ye.onActiveChange(null)},ye.onKeyDown=function(Xe){var Pt=ye.state,ct=Pt.activeKey,ot=Pt.expandedKeys,kt=Pt.checkedKeys,_n=Pt.fieldNames,_t=ye.props,nn=_t.onKeyDown,Nt=_t.checkable,yn=_t.selectable;switch(Xe.which){case Ce.Z.UP:{ye.offsetActiveKey(-1),Xe.preventDefault();break}case Ce.Z.DOWN:{ye.offsetActiveKey(1),Xe.preventDefault();break}}var Xt=ye.getActiveItem();if(Xt&&Xt.data){var Jn=ye.getTreeNodeRequiredProps(),hr=Xt.data.isLeaf===!1||!!(Xt.data[_n.children]||[]).length,tr=(0,Ve.F)((0,at.Z)((0,at.Z)({},(0,Ve.H8)(ct,Jn)),{},{data:Xt.data,active:!0}));switch(Xe.which){case Ce.Z.LEFT:{hr&&ot.includes(ct)?ye.onNodeExpand({},tr):Xt.parent&&ye.onActiveChange(Xt.parent.key),Xe.preventDefault();break}case Ce.Z.RIGHT:{hr&&!ot.includes(ct)?ye.onNodeExpand({},tr):Xt.children&&Xt.children.length&&ye.onActiveChange(Xt.children[0].key),Xe.preventDefault();break}case Ce.Z.ENTER:case Ce.Z.SPACE:{Nt&&!tr.disabled&&tr.checkable!==!1&&!tr.disableCheckbox?ye.onNodeCheck({},tr,!kt.includes(ct)):!Nt&&yn&&!tr.disabled&&tr.selectable!==!1&&ye.onNodeSelect({},tr);break}}}nn==null||nn(Xe)},ye.setUncontrolledState=function(Xe){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ye.destroyed){var ot=!1,kt=!0,_n={};Object.keys(Xe).forEach(function(_t){if(_t in ye.props){kt=!1;return}ot=!0,_n[_t]=Xe[_t]}),ot&&(!Pt||kt)&&ye.setState((0,at.Z)((0,at.Z)({},_n),ct))}},ye.scrollTo=function(Xe){ye.listRef.current.scrollTo(Xe)},ye}return(0,me.Z)(ce,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var qe=this.props.activeKey;qe!==void 0&&qe!==this.state.activeKey&&(this.setState({activeKey:qe}),qe!==null&&this.scrollTo({key:qe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var qe,gt=this.state,Me=gt.focused,Xe=gt.flattenNodes,Pt=gt.keyEntities,ct=gt.draggingNodeKey,ot=gt.activeKey,kt=gt.dropLevelOffset,_n=gt.dropContainerKey,_t=gt.dropTargetKey,nn=gt.dropPosition,Nt=gt.dragOverNodeKey,yn=gt.indent,Xt=this.props,Jn=Xt.prefixCls,hr=Xt.className,tr=Xt.style,Dr=Xt.showLine,Or=Xt.focusable,la=Xt.tabIndex,sa=la===void 0?0:la,Hr=Xt.selectable,br=Xt.showIcon,Tr=Xt.icon,ta=Xt.switcherIcon,_a=Xt.draggable,fo=Xt.checkable,ea=Xt.checkStrictly,pi=Xt.disabled,_i=Xt.motion,na=Xt.loadData,ln=Xt.filterTreeNode,zA=Xt.height,fA=Xt.itemHeight,UA=Xt.virtual,ds=Xt.titleRender,wi=Xt.dropIndicatorRender,Gs=Xt.onContextMenu,SA=Xt.onScroll,Ji=Xt.direction,En=Xt.rootClassName,Dn=Xt.rootStyle,vn=(0,ie.Z)(this.props,{aria:!0,data:!0}),kr;return _a&&((0,ze.Z)(_a)==="object"?kr=_a:typeof _a=="function"?kr={nodeDraggable:_a}:kr={}),a.createElement(ee.k.Provider,{value:{prefixCls:Jn,selectable:Hr,showIcon:br,icon:Tr,switcherIcon:ta,draggable:kr,draggingNodeKey:ct,checkable:fo,checkStrictly:ea,disabled:pi,keyEntities:Pt,dropLevelOffset:kt,dropContainerKey:_n,dropTargetKey:_t,dropPosition:nn,dragOverNodeKey:Nt,indent:yn,direction:Ji,dropIndicatorRender:wi,loadData:na,filterTreeNode:ln,titleRender:ds,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:Fe()(Jn,hr,En,(qe={},(0,be.Z)(qe,"".concat(Jn,"-show-line"),Dr),(0,be.Z)(qe,"".concat(Jn,"-focused"),Me),(0,be.Z)(qe,"".concat(Jn,"-active-focused"),ot!==null),qe)),style:Dn},a.createElement(Hn,(0,Oe.Z)({ref:this.listRef,prefixCls:Jn,style:tr,data:Xe,disabled:pi,selectable:Hr,checkable:!!fo,motion:_i,dragging:ct!==null,height:zA,itemHeight:fA,virtual:UA,focusable:Or,focused:Me,tabIndex:sa,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Gs,onScroll:SA},this.getTreeNodeRequiredProps(),vn))))}}],[{key:"getDerivedStateFromProps",value:function(qe,gt){var Me=gt.prevProps,Xe={prevProps:qe};function Pt(Or){return!Me&&Or in qe||Me&&Me[Or]!==qe[Or]}var ct,ot=gt.fieldNames;if(Pt("fieldNames")&&(ot=(0,Ve.w$)(qe.fieldNames),Xe.fieldNames=ot),Pt("treeData")?ct=qe.treeData:Pt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ct=(0,Ve.zn)(qe.children)),ct){Xe.treeData=ct;var kt=(0,Ve.I8)(ct,{fieldNames:ot});Xe.keyEntities=(0,at.Z)((0,be.Z)({},pt,ft),kt.keyEntities)}var _n=Xe.keyEntities||gt.keyEntities;if(Pt("expandedKeys")||Me&&Pt("autoExpandParent"))Xe.expandedKeys=qe.autoExpandParent||!Me&&qe.defaultExpandParent?(0,un.r7)(qe.expandedKeys,_n):qe.expandedKeys;else if(!Me&&qe.defaultExpandAll){var _t=(0,at.Z)({},_n);delete _t[pt],Xe.expandedKeys=Object.keys(_t).map(function(Or){return _t[Or].key})}else!Me&&qe.defaultExpandedKeys&&(Xe.expandedKeys=qe.autoExpandParent||qe.defaultExpandParent?(0,un.r7)(qe.defaultExpandedKeys,_n):qe.defaultExpandedKeys);if(Xe.expandedKeys||delete Xe.expandedKeys,ct||Xe.expandedKeys){var nn=(0,Ve.oH)(ct||gt.treeData,Xe.expandedKeys||gt.expandedKeys,ot);Xe.flattenNodes=nn}if(qe.selectable&&(Pt("selectedKeys")?Xe.selectedKeys=(0,un.BT)(qe.selectedKeys,qe):!Me&&qe.defaultSelectedKeys&&(Xe.selectedKeys=(0,un.BT)(qe.defaultSelectedKeys,qe))),qe.checkable){var Nt;if(Pt("checkedKeys")?Nt=(0,un.E6)(qe.checkedKeys)||{}:!Me&&qe.defaultCheckedKeys?Nt=(0,un.E6)(qe.defaultCheckedKeys)||{}:ct&&(Nt=(0,un.E6)(qe.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),Nt){var yn=Nt,Xt=yn.checkedKeys,Jn=Xt===void 0?[]:Xt,hr=yn.halfCheckedKeys,tr=hr===void 0?[]:hr;if(!qe.checkStrictly){var Dr=(0,Vn.S)(Jn,!0,_n);Jn=Dr.checkedKeys,tr=Dr.halfCheckedKeys}Xe.checkedKeys=Jn,Xe.halfCheckedKeys=tr}}return Pt("loadedKeys")&&(Xe.loadedKeys=qe.loadedKeys),Xe}}]),ce}(a.Component);er.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},er.TreeNode=Qe.Z;var Re=er,Kt=Re},35654:function(on,Ut,we){"use strict";we.d(Ut,{BT:function(){return a},E6:function(){return te},L0:function(){return de},OM:function(){return y},_5:function(){return Le},r7:function(){return ne},wA:function(){return Fe},yx:function(){return Ie}});var Oe=we(94480),be=we(76190),ze=we(48736),at=we(59301),Ge=we(39417),je=we(67841),me=we(71430),Be=null;function Le(oe,he){if(!oe)return[];var _e=oe.slice(),Pe=_e.indexOf(he);return Pe>=0&&_e.splice(Pe,1),_e}function de(oe,he){var _e=(oe||[]).slice();return _e.indexOf(he)===-1&&_e.push(he),_e}function Ie(oe){return oe.split("-")}function Fe(oe,he){var _e=[],Pe=(0,je.Z)(he,oe);function Qe(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ze.forEach(function(Ve){var nt=Ve.key,De=Ve.children;_e.push(nt),Qe(De)})}return Qe(Pe.children),_e}function Ce(oe){if(oe.parent){var he=Ie(oe.pos);return Number(he[he.length-1])===oe.parent.children.length-1}return!1}function ie(oe){var he=Ie(oe.pos);return Number(he[he.length-1])===0}function y(oe,he,_e,Pe,Qe,Ze,Ve,nt,De,Bt){var ke,Ot=oe.clientX,it=oe.clientY,rt=oe.target.getBoundingClientRect(),wt=rt.top,dt=rt.height,pt=(Bt==="rtl"?-1:1)*(((Qe==null?void 0:Qe.x)||0)-Ot),st=(pt-12)/Pe,ft=(0,je.Z)(nt,_e.props.eventKey);if(it<wt+dt/2){var rn=Ve.findIndex(function(Kt){return Kt.key===ft.key}),fn=rn<=0?0:rn-1,Et=Ve[fn].key;ft=(0,je.Z)(nt,Et)}var Jt=ft.key,Ln=ft,Hn=ft.key,un=0,Vn=0;if(!De.includes(Jt))for(var yt=0;yt<st&&Ce(ft);yt+=1)ft=ft.parent,Vn+=1;var Kn=he.props.data,er=ft.node,Re=!0;return ie(ft)&&ft.level===0&&it<wt+dt/2&&Ze({dragNode:Kn,dropNode:er,dropPosition:-1})&&ft.key===_e.props.eventKey?un=-1:(Ln.children||[]).length&&De.includes(Hn)?Ze({dragNode:Kn,dropNode:er,dropPosition:0})?un=0:Re=!1:Vn===0?st>-1.5?Ze({dragNode:Kn,dropNode:er,dropPosition:1})?un=1:Re=!1:Ze({dragNode:Kn,dropNode:er,dropPosition:0})?un=0:Ze({dragNode:Kn,dropNode:er,dropPosition:1})?un=1:Re=!1:Ze({dragNode:Kn,dropNode:er,dropPosition:1})?un=1:Re=!1,{dropPosition:un,dropLevelOffset:Vn,dropTargetKey:ft.key,dropTargetPos:ft.pos,dragOverNodeKey:Hn,dropContainerKey:un===0?null:((ke=ft.parent)===null||ke===void 0?void 0:ke.key)||null,dropAllowed:Re}}function a(oe,he){if(oe){var _e=he.multiple;return _e?oe.slice():oe.length?[oe[0]]:oe}}var ee=function(he){return he};function E(oe,he){if(!oe)return[];var _e=he||{},Pe=_e.processProps,Qe=Pe===void 0?ee:Pe,Ze=Array.isArray(oe)?oe:[oe];return Ze.map(function(Ve){var nt=Ve.children,De=_objectWithoutProperties(Ve,Be),Bt=E(nt,he);return React.createElement(TreeNode,_extends({key:De.key},Qe(De)),Bt)})}function te(oe){if(!oe)return null;var he;if(Array.isArray(oe))he={checkedKeys:oe,halfCheckedKeys:void 0};else if((0,be.Z)(oe)==="object")he={checkedKeys:oe.checked||void 0,halfCheckedKeys:oe.halfChecked||void 0};else return(0,ze.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return he}function ne(oe,he){var _e=new Set;function Pe(Qe){if(!_e.has(Qe)){var Ze=(0,je.Z)(he,Qe);if(Ze){_e.add(Qe);var Ve=Ze.parent,nt=Ze.node;nt.disabled||Ve&&Pe(Ve.key)}}}return(oe||[]).forEach(function(Qe){Pe(Qe)}),(0,Oe.Z)(_e)}},90782:function(on,Ut,we){"use strict";we.d(Ut,{S:function(){return me}});var Oe=we(48736),be=we(67841);function ze(Be,Le){var de=new Set;return Be.forEach(function(Ie){Le.has(Ie)||de.add(Ie)}),de}function at(Be){var Le=Be||{},de=Le.disabled,Ie=Le.disableCheckbox,Fe=Le.checkable;return!!(de||Ie)||Fe===!1}function Ge(Be,Le,de,Ie){for(var Fe=new Set(Be),Ce=new Set,ie=0;ie<=de;ie+=1){var y=Le.get(ie)||new Set;y.forEach(function(te){var ne=te.key,oe=te.node,he=te.children,_e=he===void 0?[]:he;Fe.has(ne)&&!Ie(oe)&&_e.filter(function(Pe){return!Ie(Pe.node)}).forEach(function(Pe){Fe.add(Pe.key)})})}for(var a=new Set,ee=de;ee>=0;ee-=1){var E=Le.get(ee)||new Set;E.forEach(function(te){var ne=te.parent,oe=te.node;if(!(Ie(oe)||!te.parent||a.has(te.parent.key))){if(Ie(te.parent.node)){a.add(ne.key);return}var he=!0,_e=!1;(ne.children||[]).filter(function(Pe){return!Ie(Pe.node)}).forEach(function(Pe){var Qe=Pe.key,Ze=Fe.has(Qe);he&&!Ze&&(he=!1),!_e&&(Ze||Ce.has(Qe))&&(_e=!0)}),he&&Fe.add(ne.key),_e&&Ce.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(Fe),halfCheckedKeys:Array.from(ze(Ce,Fe))}}function je(Be,Le,de,Ie,Fe){for(var Ce=new Set(Be),ie=new Set(Le),y=0;y<=Ie;y+=1){var a=de.get(y)||new Set;a.forEach(function(ne){var oe=ne.key,he=ne.node,_e=ne.children,Pe=_e===void 0?[]:_e;!Ce.has(oe)&&!ie.has(oe)&&!Fe(he)&&Pe.filter(function(Qe){return!Fe(Qe.node)}).forEach(function(Qe){Ce.delete(Qe.key)})})}ie=new Set;for(var ee=new Set,E=Ie;E>=0;E-=1){var te=de.get(E)||new Set;te.forEach(function(ne){var oe=ne.parent,he=ne.node;if(!(Fe(he)||!ne.parent||ee.has(ne.parent.key))){if(Fe(ne.parent.node)){ee.add(oe.key);return}var _e=!0,Pe=!1;(oe.children||[]).filter(function(Qe){return!Fe(Qe.node)}).forEach(function(Qe){var Ze=Qe.key,Ve=Ce.has(Ze);_e&&!Ve&&(_e=!1),!Pe&&(Ve||ie.has(Ze))&&(Pe=!0)}),_e||Ce.delete(oe.key),Pe&&ie.add(oe.key),ee.add(oe.key)}})}return{checkedKeys:Array.from(Ce),halfCheckedKeys:Array.from(ze(ie,Ce))}}function me(Be,Le,de,Ie){var Fe=[],Ce;Ie?Ce=Ie:Ce=at;var ie=new Set(Be.filter(function(E){var te=!!(0,be.Z)(de,E);return te||Fe.push(E),te})),y=new Map,a=0;Object.keys(de).forEach(function(E){var te=de[E],ne=te.level,oe=y.get(ne);oe||(oe=new Set,y.set(ne,oe)),oe.add(te),a=Math.max(a,ne)}),(0,Oe.ZP)(!Fe.length,"Tree missing follow keys: ".concat(Fe.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var ee;return Le===!0?ee=Ge(ie,y,a,Ce):ee=je(ie,Le.halfCheckedKeys,y,a,Ce),ee}},67841:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Oe}});function Oe(be,ze){return be[ze]}},71430:function(on,Ut,we){"use strict";we.d(Ut,{F:function(){return ne},H8:function(){return te},I8:function(){return E},km:function(){return Fe},oH:function(){return a},w$:function(){return Ce},zn:function(){return y}});var Oe=we(76190),be=we(94480),ze=we(33885),at=we(75931),Ge=we(11592),je=we(2738),me=we(48736),Be=we(67841),Le=["children"];function de(oe,he){return"".concat(oe,"-").concat(he)}function Ie(oe){return oe&&oe.type&&oe.type.isTreeNode}function Fe(oe,he){return oe!=null?oe:he}function Ce(oe){var he=oe||{},_e=he.title,Pe=he._title,Qe=he.key,Ze=he.children,Ve=_e||"title";return{title:Ve,_title:Pe||[Ve],key:Qe||"key",children:Ze||"children"}}function ie(oe,he){var _e=new Map;function Pe(Qe){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Qe||[]).forEach(function(Ve){var nt=Ve[he.key],De=Ve[he.children];warning(nt!=null,"Tree node must have a certain key: [".concat(Ze).concat(nt,"]"));var Bt=String(nt);warning(!_e.has(Bt)||nt===null||nt===void 0,"Same 'key' exist in the Tree: ".concat(Bt)),_e.set(Bt,!0),Pe(De,"".concat(Ze).concat(Bt," > "))})}Pe(oe)}function y(oe){function he(_e){var Pe=(0,Ge.Z)(_e);return Pe.map(function(Qe){if(!Ie(Qe))return(0,me.ZP)(!Qe,"Tree/TreeNode can only accept TreeNode as children."),null;var Ze=Qe.key,Ve=Qe.props,nt=Ve.children,De=(0,at.Z)(Ve,Le),Bt=(0,ze.Z)({key:Ze},De),ke=he(nt);return ke.length&&(Bt.children=ke),Bt}).filter(function(Qe){return Qe})}return he(oe)}function a(oe,he,_e){var Pe=Ce(_e),Qe=Pe._title,Ze=Pe.key,Ve=Pe.children,nt=new Set(he===!0?[]:he),De=[];function Bt(ke){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return ke.map(function(it,rt){for(var wt=de(Ot?Ot.pos:"0",rt),dt=Fe(it[Ze],wt),pt,st=0;st<Qe.length;st+=1){var ft=Qe[st];if(it[ft]!==void 0){pt=it[ft];break}}var rn=(0,ze.Z)((0,ze.Z)({},(0,je.Z)(it,[].concat((0,be.Z)(Qe),[Ze,Ve]))),{},{title:pt,key:dt,parent:Ot,pos:wt,children:null,data:it,isStart:[].concat((0,be.Z)(Ot?Ot.isStart:[]),[rt===0]),isEnd:[].concat((0,be.Z)(Ot?Ot.isEnd:[]),[rt===ke.length-1])});return De.push(rn),he===!0||nt.has(dt)?rn.children=Bt(it[Ve]||[],rn):rn.children=[],rn})}return Bt(oe),De}function ee(oe,he,_e){var Pe={};(0,Oe.Z)(_e)==="object"?Pe=_e:Pe={externalGetKey:_e},Pe=Pe||{};var Qe=Pe,Ze=Qe.childrenPropName,Ve=Qe.externalGetKey,nt=Qe.fieldNames,De=Ce(nt),Bt=De.key,ke=De.children,Ot=Ze||ke,it;Ve?typeof Ve=="string"?it=function(dt){return dt[Ve]}:typeof Ve=="function"&&(it=function(dt){return Ve(dt)}):it=function(dt,pt){return Fe(dt[Bt],pt)};function rt(wt,dt,pt,st){var ft=wt?wt[Ot]:oe,rn=wt?de(pt.pos,dt):"0",fn=wt?[].concat((0,be.Z)(st),[wt]):[];if(wt){var Et=it(wt,rn),Jt={node:wt,index:dt,pos:rn,key:Et,parentPos:pt.node?pt.pos:null,level:pt.level+1,nodes:fn};he(Jt)}ft&&ft.forEach(function(Ln,Hn){rt(Ln,Hn,{node:wt,pos:rn,level:pt?pt.level+1:-1},fn)})}rt(null)}function E(oe){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_e=he.initWrapper,Pe=he.processEntity,Qe=he.onProcessFinished,Ze=he.externalGetKey,Ve=he.childrenPropName,nt=he.fieldNames,De=arguments.length>2?arguments[2]:void 0,Bt=Ze||De,ke={},Ot={},it={posEntities:ke,keyEntities:Ot};return _e&&(it=_e(it)||it),ee(oe,function(rt){var wt=rt.node,dt=rt.index,pt=rt.pos,st=rt.key,ft=rt.parentPos,rn=rt.level,fn=rt.nodes,Et={node:wt,nodes:fn,index:dt,key:st,pos:pt,level:rn},Jt=Fe(st,pt);ke[pt]=Et,Ot[Jt]=Et,Et.parent=ke[ft],Et.parent&&(Et.parent.children=Et.parent.children||[],Et.parent.children.push(Et)),Pe&&Pe(Et,it)},{externalGetKey:Bt,childrenPropName:Ve,fieldNames:nt}),Qe&&Qe(it),it}function te(oe,he){var _e=he.expandedKeys,Pe=he.selectedKeys,Qe=he.loadedKeys,Ze=he.loadingKeys,Ve=he.checkedKeys,nt=he.halfCheckedKeys,De=he.dragOverNodeKey,Bt=he.dropPosition,ke=he.keyEntities,Ot=(0,Be.Z)(ke,oe),it={eventKey:oe,expanded:_e.indexOf(oe)!==-1,selected:Pe.indexOf(oe)!==-1,loaded:Qe.indexOf(oe)!==-1,loading:Ze.indexOf(oe)!==-1,checked:Ve.indexOf(oe)!==-1,halfChecked:nt.indexOf(oe)!==-1,pos:String(Ot?Ot.pos:""),dragOver:De===oe&&Bt===0,dragOverGapTop:De===oe&&Bt===-1,dragOverGapBottom:De===oe&&Bt===1};return it}function ne(oe){var he=oe.data,_e=oe.expanded,Pe=oe.selected,Qe=oe.checked,Ze=oe.loaded,Ve=oe.loading,nt=oe.halfChecked,De=oe.dragOver,Bt=oe.dragOverGapTop,ke=oe.dragOverGapBottom,Ot=oe.pos,it=oe.active,rt=oe.eventKey,wt=(0,ze.Z)((0,ze.Z)({},he),{},{expanded:_e,selected:Pe,checked:Qe,loaded:Ze,loading:Ve,halfChecked:nt,dragOver:De,dragOverGapTop:Bt,dragOverGapBottom:ke,pos:Ot,active:it,key:rt});return"props"in wt||Object.defineProperty(wt,"props",{get:function(){return(0,me.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),oe}}),wt}},8224:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(4676);function be(ze,at,Ge,je){var me=Oe.unstable_batchedUpdates?function(Le){Oe.unstable_batchedUpdates(Ge,Le)}:Ge;return ze!=null&&ze.addEventListener&&ze.addEventListener(at,me,je),{remove:function(){ze!=null&&ze.removeEventListener&&ze.removeEventListener(at,me,je)}}}},55468:function(on,Ut,we){"use strict";we.d(Ut,{g1:function(){return Ie},os:function(){return Ce}});var Oe=/margin|padding|width|height|max|min|offset/,be={left:!0,top:!0},ze={cssFloat:1,styleFloat:1,float:1};function at(ie){return ie.nodeType===1?ie.ownerDocument.defaultView.getComputedStyle(ie,null):{}}function Ge(ie,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return ie.offsetHeight;if(y==="width")return ie.offsetWidth}return y in be||(be[y]=Oe.test(y)),be[y]?parseFloat(a)||0:a}function je(ie,y){var a=arguments.length,ee=at(ie);return y=ze[y]?"cssFloat"in ie.style?"cssFloat":"styleFloat":y,a===1?ee:Ge(ie,y,ee[y]||ie.style[y])}function me(ie,y,a){var ee=arguments.length;if(y=ze[y]?"cssFloat"in ie.style?"cssFloat":"styleFloat":y,ee===3)return typeof a=="number"&&Oe.test(y)&&(a="".concat(a,"px")),ie.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&me(ie,E,y[E]);return at(ie)}function Be(ie){return ie===document.body?document.documentElement.clientWidth:ie.offsetWidth}function Le(ie){return ie===document.body?window.innerHeight||document.documentElement.clientHeight:ie.offsetHeight}function de(){var ie=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ie,height:y}}function Ie(){var ie=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:ie,height:y}}function Fe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ce(ie){var y=ie.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(on,Ut,we){"use strict";we.d(Ut,{G:function(){return at}});var Oe=we(47273),be=function(je){if((0,Oe.Z)()&&window.document.documentElement){var me=Array.isArray(je)?je:[je],Be=window.document.documentElement;return me.some(function(Le){return Le in Be.style})}return!1},ze=function(je,me){if(!be(je))return!1;var Be=document.createElement("div"),Le=Be.style[je];return Be.style[je]=me,Be.style[je]!==Le};function at(Ge,je){return!Array.isArray(Ge)&&je!==void 0?ze(Ge,je):be(Ge)}},51353:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Object.defineProperty(Ut,"DraggableCore",{enumerable:!0,get:function(){return Be.default}}),Ut.default=void 0;var Oe=Ie(we(59301)),be=de(we(12708)),ze=de(we(4676)),at=we(14625),Ge=we(77026),je=we(22013),me=we(80217),Be=de(we(68555)),Le=de(we(97510));function de(ee){return ee&&ee.__esModule?ee:{default:ee}}function Ie(ee,E){if(typeof WeakMap=="function")var te=new WeakMap,ne=new WeakMap;return(Ie=function(oe,he){if(!he&&oe&&oe.__esModule)return oe;var _e,Pe,Qe={__proto__:null,default:oe};if(oe===null||typeof oe!="object"&&typeof oe!="function")return Qe;if(_e=he?ne:te){if(_e.has(oe))return _e.get(oe);_e.set(oe,Qe)}for(const Ze in oe)Ze!=="default"&&{}.hasOwnProperty.call(oe,Ze)&&((Pe=(_e=Object.defineProperty)&&Object.getOwnPropertyDescriptor(oe,Ze))&&(Pe.get||Pe.set)?_e(Qe,Ze,Pe):Qe[Ze]=oe[Ze]);return Qe})(ee,E)}function Fe(){return Fe=Object.assign?Object.assign.bind():function(ee){for(var E=1;E<arguments.length;E++){var te=arguments[E];for(var ne in te)({}).hasOwnProperty.call(te,ne)&&(ee[ne]=te[ne])}return ee},Fe.apply(null,arguments)}function Ce(ee,E,te){return(E=ie(E))in ee?Object.defineProperty(ee,E,{value:te,enumerable:!0,configurable:!0,writable:!0}):ee[E]=te,ee}function ie(ee){var E=y(ee,"string");return typeof E=="symbol"?E:E+""}function y(ee,E){if(typeof ee!="object"||!ee)return ee;var te=ee[Symbol.toPrimitive];if(te!==void 0){var ne=te.call(ee,E||"default");if(typeof ne!="object")return ne;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(ee)}class a extends Oe.Component{static getDerivedStateFromProps(E,te){let{position:ne}=E,{prevPropsPosition:oe}=te;return ne&&(!oe||ne.x!==oe.x||ne.y!==oe.y)?((0,Le.default)("Draggable: getDerivedStateFromProps %j",{position:ne,prevPropsPosition:oe}),{x:ne.x,y:ne.y,prevPropsPosition:Nc({},ne)}):null}constructor(E){super(E),Ce(this,"onDragStart",(te,ne)=>{if((0,Le.default)("Draggable: onDragStart: %j",ne),this.props.onStart(te,(0,je.createDraggableData)(this,ne))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),Ce(this,"onDrag",(te,ne)=>{if(!this.state.dragging)return!1;(0,Le.default)("Draggable: onDrag: %j",ne);const oe=(0,je.createDraggableData)(this,ne),he={x:oe.x,y:oe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Pe,y:Qe}=he;he.x+=this.state.slackX,he.y+=this.state.slackY;const[Ze,Ve]=(0,je.getBoundPosition)(this,he.x,he.y);he.x=Ze,he.y=Ve,he.slackX=this.state.slackX+(Pe-he.x),he.slackY=this.state.slackY+(Qe-he.y),oe.x=he.x,oe.y=he.y,oe.deltaX=he.x-this.state.x,oe.deltaY=he.y-this.state.y}if(this.props.onDrag(te,oe)===!1)return!1;this.setState(he)}),Ce(this,"onDragStop",(te,ne)=>{if(!this.state.dragging||this.props.onStop(te,(0,je.createDraggableData)(this,ne))===!1)return!1;(0,Le.default)("Draggable: onDragStop: %j",ne);const he={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:Pe,y:Qe}=this.props.position;he.x=Pe,he.y=Qe}this.setState(he)}),this.state={dragging:!1,dragged:!1,x:E.position?E.position.x:E.defaultPosition.x,y:E.position?E.position.y:E.defaultPosition.y,prevPropsPosition:Nc({},E.position),slackX:0,slackY:0,isElementSVG:!1},E.position&&!(E.onDrag||E.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var E,te,ne;return(ne=(te=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:te.current)!=null?ne:ze.default.findDOMNode(this)}render(){const dt=this.props,{axis:E,bounds:te,children:ne,defaultPosition:oe,defaultClassName:he,defaultClassNameDragging:_e,defaultClassNameDragged:Pe,position:Qe,positionOffset:Ze,scale:Ve}=dt,nt=Uv(dt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let De={},Bt=null;const Ot=!!!Qe||this.state.dragging,it=Qe||oe,rt={x:(0,je.canDragX)(this)&&Ot?this.state.x:it.x,y:(0,je.canDragY)(this)&&Ot?this.state.y:it.y};this.state.isElementSVG?Bt=(0,Ge.createSVGTransform)(rt,Ze):De=(0,Ge.createCSSTransform)(rt,Ze);const wt=(0,at.clsx)(ne.props.className||"",he,{[_e]:this.state.dragging,[Pe]:this.state.dragged});return Oe.createElement(Be.default,Fe({},nt,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),Oe.cloneElement(Oe.Children.only(ne),{className:wt,style:Nc(Nc({},ne.props.style),De),transform:Bt}))}}Ut.default=a,Ce(a,"displayName","Draggable"),Ce(a,"propTypes",Cp(Nc({},Be.default.propTypes),{axis:be.default.oneOf(["both","x","y","none"]),bounds:be.default.oneOfType([be.default.shape({left:be.default.number,right:be.default.number,top:be.default.number,bottom:be.default.number}),be.default.string,be.default.oneOf([!1])]),defaultClassName:be.default.string,defaultClassNameDragging:be.default.string,defaultClassNameDragged:be.default.string,defaultPosition:be.default.shape({x:be.default.number,y:be.default.number}),positionOffset:be.default.shape({x:be.default.oneOfType([be.default.number,be.default.string]),y:be.default.oneOfType([be.default.number,be.default.string])}),position:be.default.shape({x:be.default.number,y:be.default.number}),className:me.dontSetMe,style:me.dontSetMe,transform:me.dontSetMe})),Ce(a,"defaultProps",Cp(Nc({},Be.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var Oe=Le(we(59301)),be=Be(we(12708)),ze=Be(we(4676)),at=we(77026),Ge=we(22013),je=we(80217),me=Be(we(97510));function Be(a){return a&&a.__esModule?a:{default:a}}function Le(a,ee){if(typeof WeakMap=="function")var E=new WeakMap,te=new WeakMap;return(Le=function(ne,oe){if(!oe&&ne&&ne.__esModule)return ne;var he,_e,Pe={__proto__:null,default:ne};if(ne===null||typeof ne!="object"&&typeof ne!="function")return Pe;if(he=oe?te:E){if(he.has(ne))return he.get(ne);he.set(ne,Pe)}for(const Qe in ne)Qe!=="default"&&{}.hasOwnProperty.call(ne,Qe)&&((_e=(he=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ne,Qe))&&(_e.get||_e.set)?he(Pe,Qe,_e):Pe[Qe]=ne[Qe]);return Pe})(a,ee)}function de(a,ee,E){return(ee=Ie(ee))in a?Object.defineProperty(a,ee,{value:E,enumerable:!0,configurable:!0,writable:!0}):a[ee]=E,a}function Ie(a){var ee=Fe(a,"string");return typeof ee=="symbol"?ee:ee+""}function Fe(a,ee){if(typeof a!="object"||!a)return a;var E=a[Symbol.toPrimitive];if(E!==void 0){var te=E.call(a,ee||"default");if(typeof te!="object")return te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ee==="string"?String:Number)(a)}const Ce={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let ie=Ce.mouse;class y extends Oe.Component{constructor(){super(...arguments),de(this,"dragging",!1),de(this,"lastX",NaN),de(this,"lastY",NaN),de(this,"touchIdentifier",null),de(this,"mounted",!1),de(this,"handleDragStart",ee=>{if(this.props.onMouseDown(ee),!this.props.allowAnyClick&&typeof ee.button=="number"&&ee.button!==0)return!1;const E=this.findDOMNode();if(!E||!E.ownerDocument||!E.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:te}=E;if(this.props.disabled||!(ee.target instanceof te.defaultView.Node)||this.props.handle&&!(0,at.matchesSelectorAndParentsTo)(ee.target,this.props.handle,E)||this.props.cancel&&(0,at.matchesSelectorAndParentsTo)(ee.target,this.props.cancel,E))return;ee.type==="touchstart"&&!this.props.allowMobileScroll&&ee.preventDefault();const ne=(0,at.getTouchIdentifier)(ee);this.touchIdentifier=ne;const oe=(0,Ge.getControlPosition)(ee,ne,this);if(oe==null)return;const{x:he,y:_e}=oe,Pe=(0,Ge.createCoreData)(this,he,_e);(0,me.default)("DraggableCore: handleDragStart: %j",Pe),(0,me.default)("calling",this.props.onStart),!(this.props.onStart(ee,Pe)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,at.addUserSelectStyles)(te),this.dragging=!0,this.lastX=he,this.lastY=_e,(0,at.addEvent)(te,ie.move,this.handleDrag),(0,at.addEvent)(te,ie.stop,this.handleDragStop))}),de(this,"handleDrag",ee=>{const E=(0,Ge.getControlPosition)(ee,this.touchIdentifier,this);if(E==null)return;let{x:te,y:ne}=E;if(Array.isArray(this.props.grid)){let _e=te-this.lastX,Pe=ne-this.lastY;if([_e,Pe]=(0,Ge.snapToGrid)(this.props.grid,_e,Pe),!_e&&!Pe)return;te=this.lastX+_e,ne=this.lastY+Pe}const oe=(0,Ge.createCoreData)(this,te,ne);if((0,me.default)("DraggableCore: handleDrag: %j",oe),this.props.onDrag(ee,oe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(_e){const Pe=document.createEvent("MouseEvents");Pe.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(Pe)}return}this.lastX=te,this.lastY=ne}),de(this,"handleDragStop",ee=>{if(!this.dragging)return;const E=(0,Ge.getControlPosition)(ee,this.touchIdentifier,this);if(E==null)return;let{x:te,y:ne}=E;if(Array.isArray(this.props.grid)){let Pe=te-this.lastX||0,Qe=ne-this.lastY||0;[Pe,Qe]=(0,Ge.snapToGrid)(this.props.grid,Pe,Qe),te=this.lastX+Pe,ne=this.lastY+Qe}const oe=(0,Ge.createCoreData)(this,te,ne);if(this.props.onStop(ee,oe)===!1||this.mounted===!1)return!1;const _e=this.findDOMNode();_e&&this.props.enableUserSelectHack&&(0,at.scheduleRemoveUserSelectStyles)(_e.ownerDocument),(0,me.default)("DraggableCore: handleDragStop: %j",oe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,_e&&((0,me.default)("DraggableCore: Removing handlers"),(0,at.removeEvent)(_e.ownerDocument,ie.move,this.handleDrag),(0,at.removeEvent)(_e.ownerDocument,ie.stop,this.handleDragStop))}),de(this,"onMouseDown",ee=>(ie=Ce.mouse,this.handleDragStart(ee))),de(this,"onMouseUp",ee=>(ie=Ce.mouse,this.handleDragStop(ee))),de(this,"onTouchStart",ee=>(ie=Ce.touch,this.handleDragStart(ee))),de(this,"onTouchEnd",ee=>(ie=Ce.touch,this.handleDragStop(ee)))}componentDidMount(){this.mounted=!0;const ee=this.findDOMNode();ee&&(0,at.addEvent)(ee,Ce.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const ee=this.findDOMNode();if(ee){const{ownerDocument:E}=ee;(0,at.removeEvent)(E,Ce.mouse.move,this.handleDrag),(0,at.removeEvent)(E,Ce.touch.move,this.handleDrag),(0,at.removeEvent)(E,Ce.mouse.stop,this.handleDragStop),(0,at.removeEvent)(E,Ce.touch.stop,this.handleDragStop),(0,at.removeEvent)(ee,Ce.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,at.scheduleRemoveUserSelectStyles)(E)}}findDOMNode(){var ee,E,te;return(ee=this.props)!=null&&ee.nodeRef?(te=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:te.current:ze.default.findDOMNode(this)}render(){return Oe.cloneElement(Oe.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Ut.default=y,de(y,"displayName","DraggableCore"),de(y,"propTypes",{allowAnyClick:be.default.bool,allowMobileScroll:be.default.bool,children:be.default.node.isRequired,disabled:be.default.bool,enableUserSelectHack:be.default.bool,offsetParent:function(a,ee){if(a[ee]&&a[ee].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:be.default.arrayOf(be.default.number),handle:be.default.string,cancel:be.default.string,nodeRef:be.default.object,onStart:be.default.func,onDrag:be.default.func,onStop:be.default.func,onMouseDown:be.default.func,scale:be.default.number,className:je.dontSetMe,style:je.dontSetMe,transform:je.dontSetMe}),de(y,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(on,Ut,we){"use strict";const{default:Oe,DraggableCore:be}=we(51353);on.exports=Oe,on.exports.default=Oe,on.exports.DraggableCore=be},77026:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.addClassName=he,Ut.addEvent=me,Ut.addUserSelectStyles=te,Ut.createCSSTransform=ie,Ut.createSVGTransform=y,Ut.getTouch=ee,Ut.getTouchIdentifier=E,Ut.getTranslation=a,Ut.innerHeight=Ie,Ut.innerWidth=Fe,Ut.matchesSelector=Ge,Ut.matchesSelectorAndParentsTo=je,Ut.offsetXYFromParent=Ce,Ut.outerHeight=Le,Ut.outerWidth=de,Ut.removeClassName=_e,Ut.removeEvent=Be,Ut.scheduleRemoveUserSelectStyles=ne;var Oe=we(80217),be=ze(we(76172));function ze(Pe,Qe){if(typeof WeakMap=="function")var Ze=new WeakMap,Ve=new WeakMap;return(ze=function(nt,De){if(!De&&nt&&nt.__esModule)return nt;var Bt,ke,Ot={__proto__:null,default:nt};if(nt===null||typeof nt!="object"&&typeof nt!="function")return Ot;if(Bt=De?Ve:Ze){if(Bt.has(nt))return Bt.get(nt);Bt.set(nt,Ot)}for(const it in nt)it!=="default"&&{}.hasOwnProperty.call(nt,it)&&((ke=(Bt=Object.defineProperty)&&Object.getOwnPropertyDescriptor(nt,it))&&(ke.get||ke.set)?Bt(Ot,it,ke):Ot[it]=nt[it]);return Ot})(Pe,Qe)}let at="";function Ge(Pe,Qe){return at||(at=(0,Oe.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Ze){return(0,Oe.isFunction)(Pe[Ze])})),(0,Oe.isFunction)(Pe[at])?Pe[at](Qe):!1}function je(Pe,Qe,Ze){let Ve=Pe;do{if(Ge(Ve,Qe))return!0;if(Ve===Ze)return!1;Ve=Ve.parentNode}while(Ve);return!1}function me(Pe,Qe,Ze,Ve){if(!Pe)return;const nt=Nc({capture:!0},Ve);Pe.addEventListener?Pe.addEventListener(Qe,Ze,nt):Pe.attachEvent?Pe.attachEvent("on"+Qe,Ze):Pe["on"+Qe]=Ze}function Be(Pe,Qe,Ze,Ve){if(!Pe)return;const nt=Nc({capture:!0},Ve);Pe.removeEventListener?Pe.removeEventListener(Qe,Ze,nt):Pe.detachEvent?Pe.detachEvent("on"+Qe,Ze):Pe["on"+Qe]=null}function Le(Pe){let Qe=Pe.clientHeight;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe+=(0,Oe.int)(Ze.borderTopWidth),Qe+=(0,Oe.int)(Ze.borderBottomWidth),Qe}function de(Pe){let Qe=Pe.clientWidth;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe+=(0,Oe.int)(Ze.borderLeftWidth),Qe+=(0,Oe.int)(Ze.borderRightWidth),Qe}function Ie(Pe){let Qe=Pe.clientHeight;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe-=(0,Oe.int)(Ze.paddingTop),Qe-=(0,Oe.int)(Ze.paddingBottom),Qe}function Fe(Pe){let Qe=Pe.clientWidth;const Ze=Pe.ownerDocument.defaultView.getComputedStyle(Pe);return Qe-=(0,Oe.int)(Ze.paddingLeft),Qe-=(0,Oe.int)(Ze.paddingRight),Qe}function Ce(Pe,Qe,Ze){const nt=Qe===Qe.ownerDocument.body?{left:0,top:0}:Qe.getBoundingClientRect(),De=(Pe.clientX+Qe.scrollLeft-nt.left)/Ze,Bt=(Pe.clientY+Qe.scrollTop-nt.top)/Ze;return{x:De,y:Bt}}function ie(Pe,Qe){const Ze=a(Pe,Qe,"px");return{[(0,be.browserPrefixToKey)("transform",be.default)]:Ze}}function y(Pe,Qe){return a(Pe,Qe,"")}function a(Pe,Qe,Ze){let{x:Ve,y:nt}=Pe,De=`translate(${Ve}${Ze},${nt}${Ze})`;if(Qe){const Bt=`${typeof Qe.x=="string"?Qe.x:Qe.x+Ze}`,ke=`${typeof Qe.y=="string"?Qe.y:Qe.y+Ze}`;De=`translate(${Bt}, ${ke})`+De}return De}function ee(Pe,Qe){return Pe.targetTouches&&(0,Oe.findInArray)(Pe.targetTouches,Ze=>Qe===Ze.identifier)||Pe.changedTouches&&(0,Oe.findInArray)(Pe.changedTouches,Ze=>Qe===Ze.identifier)}function E(Pe){if(Pe.targetTouches&&Pe.targetTouches[0])return Pe.targetTouches[0].identifier;if(Pe.changedTouches&&Pe.changedTouches[0])return Pe.changedTouches[0].identifier}function te(Pe){if(!Pe)return;let Qe=Pe.getElementById("react-draggable-style-el");Qe||(Qe=Pe.createElement("style"),Qe.type="text/css",Qe.id="react-draggable-style-el",Qe.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
|
|
|
`,Qe.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
|
`,Pe.getElementsByTagName("head")[0].appendChild(Qe)),Pe.body&&he(Pe.body,"react-draggable-transparent-selection")}function ne(Pe){window.requestAnimationFrame?window.requestAnimationFrame(()=>{oe(Pe)}):oe(Pe)}function oe(Pe){if(Pe)try{if(Pe.body&&_e(Pe.body,"react-draggable-transparent-selection"),Pe.selection)Pe.selection.empty();else{const Qe=(Pe.defaultView||window).getSelection();Qe&&Qe.type!=="Caret"&&Qe.removeAllRanges()}}catch(Qe){}}function he(Pe,Qe){Pe.classList?Pe.classList.add(Qe):Pe.className.match(new RegExp(`(?:^|\\s)${Qe}(?!\\S)`))||(Pe.className+=` ${Qe}`)}function _e(Pe,Qe){Pe.classList?Pe.classList.remove(Qe):Pe.className=Pe.className.replace(new RegExp(`(?:^|\\s)${Qe}(?!\\S)`,"g"),"")}},76172:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.browserPrefixToKey=be,Ut.browserPrefixToStyle=ze,Ut.default=void 0,Ut.getPrefix=Oe;const we=["Moz","Webkit","O","ms"];function Oe(){var Be,Le;let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const me=(Le=(Be=window.document)==null?void 0:Be.documentElement)==null?void 0:Le.style;if(!me||je in me)return"";for(let de=0;de<we.length;de++)if(be(je,we[de])in me)return we[de];return""}function be(je,me){return me?`${me}${at(je)}`:je}function ze(je,me){return me?`-${me.toLowerCase()}-${je}`:je}function at(je){let me="",Be=!0;for(let Le=0;Le<je.length;Le++)Be?(me+=je[Le].toUpperCase(),Be=!1):je[Le]==="-"?Be=!0:me+=je[Le];return me}var Ge=Ut.default=Oe()},97510:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=we;function we(){}},22013:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.canDragX=Ge,Ut.canDragY=je,Ut.createCoreData=Be,Ut.createDraggableData=Le,Ut.getBoundPosition=ze,Ut.getControlPosition=me,Ut.snapToGrid=at;var Oe=we(80217),be=we(77026);function ze(Fe,Ce,ie){if(!Fe.props.bounds)return[Ce,ie];let{bounds:y}=Fe.props;y=typeof y=="string"?y:de(y);const a=Ie(Fe);if(typeof y=="string"){const{ownerDocument:ee}=a,E=ee.defaultView;let te;if(y==="parent"?te=a.parentNode:te=a.getRootNode().querySelector(y),!(te instanceof E.HTMLElement))throw new Error('Bounds selector "'+y+'" could not find an element.');const ne=te,oe=E.getComputedStyle(a),he=E.getComputedStyle(ne);y={left:-a.offsetLeft+(0,Oe.int)(he.paddingLeft)+(0,Oe.int)(oe.marginLeft),top:-a.offsetTop+(0,Oe.int)(he.paddingTop)+(0,Oe.int)(oe.marginTop),right:(0,be.innerWidth)(ne)-(0,be.outerWidth)(a)-a.offsetLeft+(0,Oe.int)(he.paddingRight)-(0,Oe.int)(oe.marginRight),bottom:(0,be.innerHeight)(ne)-(0,be.outerHeight)(a)-a.offsetTop+(0,Oe.int)(he.paddingBottom)-(0,Oe.int)(oe.marginBottom)}}return(0,Oe.isNum)(y.right)&&(Ce=Math.min(Ce,y.right)),(0,Oe.isNum)(y.bottom)&&(ie=Math.min(ie,y.bottom)),(0,Oe.isNum)(y.left)&&(Ce=Math.max(Ce,y.left)),(0,Oe.isNum)(y.top)&&(ie=Math.max(ie,y.top)),[Ce,ie]}function at(Fe,Ce,ie){const y=Math.round(Ce/Fe[0])*Fe[0],a=Math.round(ie/Fe[1])*Fe[1];return[y,a]}function Ge(Fe){return Fe.props.axis==="both"||Fe.props.axis==="x"}function je(Fe){return Fe.props.axis==="both"||Fe.props.axis==="y"}function me(Fe,Ce,ie){const y=typeof Ce=="number"?(0,be.getTouch)(Fe,Ce):null;if(typeof Ce=="number"&&!y)return null;const a=Ie(ie),ee=ie.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,be.offsetXYFromParent)(y||Fe,ee,ie.props.scale)}function Be(Fe,Ce,ie){const y=!(0,Oe.isNum)(Fe.lastX),a=Ie(Fe);return y?{node:a,deltaX:0,deltaY:0,lastX:Ce,lastY:ie,x:Ce,y:ie}:{node:a,deltaX:Ce-Fe.lastX,deltaY:ie-Fe.lastY,lastX:Fe.lastX,lastY:Fe.lastY,x:Ce,y:ie}}function Le(Fe,Ce){const ie=Fe.props.scale;return{node:Ce.node,x:Fe.state.x+Ce.deltaX/ie,y:Fe.state.y+Ce.deltaY/ie,deltaX:Ce.deltaX/ie,deltaY:Ce.deltaY/ie,lastX:Fe.state.x,lastY:Fe.state.y}}function de(Fe){return{left:Fe.left,top:Fe.top,right:Fe.right,bottom:Fe.bottom}}function Ie(Fe){const Ce=Fe.findDOMNode();if(!Ce)throw new Error("<DraggableCore>: Unmounted during event!");return Ce}},80217:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.dontSetMe=at,Ut.findInArray=we,Ut.int=ze,Ut.isFunction=Oe,Ut.isNum=be;function we(Ge,je){for(let me=0,Be=Ge.length;me<Be;me++)if(je.apply(je,[Ge[me],me,Ge]))return Ge[me]}function Oe(Ge){return typeof Ge=="function"||Object.prototype.toString.call(Ge)==="[object Function]"}function be(Ge){return typeof Ge=="number"&&!isNaN(Ge)}function ze(Ge){return parseInt(Ge,10)}function at(Ge,je,me){if(Ge[je])return new Error(`Invalid prop ${je} passed to ${me} - do not set this, set it on the child.`)}},27774:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.SizeSensorId=Ut.SensorTabIndex=Ut.SensorClassName=void 0;var we="size-sensor-id";Ut.SizeSensorId=we;var Oe="size-sensor-object";Ut.SensorClassName=Oe;var be="-1";Ut.SensorTabIndex=be},79301:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var we=function(be){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,at=null;return function(){for(var Ge=this,je=arguments.length,me=new Array(je),Be=0;Be<je;Be++)me[Be]=arguments[Be];clearTimeout(at),at=setTimeout(function(){be.apply(Ge,me)},ze)}};Ut.default=we},79789:function(on,Ut){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var we=1,Oe=function(){return"".concat(we++)};Ut.default=Oe},47242:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.ver=Ut.clear=Ut.bind=void 0;var Oe=we(95270),be=function(je,me){var Be=(0,Oe.getSensor)(je);return Be.bind(me),function(){Be.unbind(me)}};Ut.bind=be;var ze=function(je){var me=(0,Oe.getSensor)(je);(0,Oe.removeSensor)(me)};Ut.clear=ze;var at="1.0.2";Ut.ver=at},95270:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.removeSensor=Ut.getSensor=Ut.Sensors=void 0;var Oe=at(we(79789)),be=we(57829),ze=we(27774);function at(Le){return Le&&Le.__esModule?Le:{default:Le}}var Ge={};Ut.Sensors=Ge;function je(Le){Le&&Ge[Le]&&delete Ge[Le]}var me=function(de){var Ie=de.getAttribute(ze.SizeSensorId);if(Ie&&Ge[Ie])return Ge[Ie];var Fe=(0,Oe.default)();de.setAttribute(ze.SizeSensorId,Fe);var Ce=(0,be.createSensor)(de,function(){return je(Fe)});return Ge[Fe]=Ce,Ce};Ut.getSensor=me;var Be=function(de){var Ie=de.element.getAttribute(ze.SizeSensorId);de.destroy(),je(Ie)};Ut.removeSensor=Be},57829:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.createSensor=void 0;var Oe=we(20953),be=we(55202),ze=typeof ResizeObserver!="undefined"?be.createSensor:Oe.createSensor;Ut.createSensor=ze},20953:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.createSensor=void 0;var Oe=ze(we(79301)),be=we(27774);function ze(Ge){return Ge&&Ge.__esModule?Ge:{default:Ge}}var at=function(je,me){var Be=void 0,Le=[],de=function(){getComputedStyle(je).position==="static"&&(je.style.position="relative");var a=document.createElement("object");return a.onload=function(){a.contentDocument.defaultView.addEventListener("resize",Ie),Ie()},a.style.display="block",a.style.position="absolute",a.style.top="0",a.style.left="0",a.style.height="100%",a.style.width="100%",a.style.overflow="hidden",a.style.pointerEvents="none",a.style.zIndex="-1",a.style.opacity="0",a.setAttribute("class",be.SensorClassName),a.setAttribute("tabindex",be.SensorTabIndex),a.type="text/html",je.appendChild(a),a.data="about:blank",a},Ie=(0,Oe.default)(function(){Le.forEach(function(y){y(je)})}),Fe=function(a){Be||(Be=de()),Le.indexOf(a)===-1&&Le.push(a)},Ce=function(){Be&&Be.parentNode&&(Be.contentDocument&&Be.contentDocument.defaultView.removeEventListener("resize",Ie),Be.parentNode.removeChild(Be),je.removeAttribute(be.SizeSensorId),Be=void 0,Le=[],me&&me())},ie=function(a){var ee=Le.indexOf(a);ee!==-1&&Le.splice(ee,1),Le.length===0&&Be&&Ce()};return{element:je,bind:Fe,destroy:Ce,unbind:ie}};Ut.createSensor=at},55202:function(on,Ut,we){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.createSensor=void 0;var Oe=we(27774),be=ze(we(79301));function ze(Ge){return Ge&&Ge.__esModule?Ge:{default:Ge}}var at=function(je,me){var Be=void 0,Le=[],de=(0,be.default)(function(){Le.forEach(function(y){y(je)})}),Ie=function(){var a=new ResizeObserver(de);return a.observe(je),de(),a},Fe=function(a){Be||(Be=Ie()),Le.indexOf(a)===-1&&Le.push(a)},Ce=function(){Be.disconnect(),Le=[],Be=void 0,je.removeAttribute(Oe.SizeSensorId),me&&me()},ie=function(a){var ee=Le.indexOf(a);ee!==-1&&Le.splice(ee,1),Le.length===0&&Be&&Ce()};return{element:je,bind:Fe,destroy:Ce,unbind:ie}};Ut.createSensor=at},12192:function(on){"use strict";on.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAiCAYAAAAtZZsLAAAL7klEQVR4AcyYa2xcx3XHz8zcx+7dvbt7l7t8iw9JXIt05dKN5AfKJEBVO3Rb1GVQwwhatGmBumBZIP3SFijaT2WCNl8SBAgcLhjkIeeBBE4QJDYDI4idOLbDJHIs60FTWlIUSZFc7vu99zH35sxyV5ITyZKSLxnM3NmdOTPzm/+ZM8tLCr/n6XcC/JPNlcef3lh9orPHkSu/HHlsd/Vn2sXv93XaRP302kriifW3HgfPu77eU7tXvpBYP/Nfor9T/ndjY3Rq851/hL2zgU7b9QGdhrutH7169lSPqz+uer4PPbZ5+XFj7dWhsUjXW/f19px8onv8vPaL51uQf7mVOqoQ9eExNxr94NULHxSQT+9sPa/0hD96oqfv4/1X3vxPwPRvV66MXCRsdswJTTxqsr/pQP5WgAIu5kWn9xpgbjdIxQD64ZNdwxcbES38A7Ag2hWO/sXhk+ce2njzUYWrD1/LudmVKuTvd7Xgk3tbr1ztVT98hjjgaj740+7e/3to49wnL1H6z3t1z9lqOs1xMI52IO8Z8CQqF/Gi0/mKZzm2w12VB7ciykc3w77AFrdAQjVWwIFBI9z1cLjne3sZKw2ywoFy85JP+Y/VHvX9O9xGK4AN4KBqGvxxX++/73FrFJvRjnqZBrdOkGhiusn+/p4ABVzAjk5nCtxyucutgKen42R2U/HUYr0GnaSID44L4Rr7Ts12PM/lpt0lz692eVOFm+yEGcNHo+JktJqcAkHjAjBGaZ1xPmh5L4smNLlzfhCVUxCuWOKW5wE3Na7vxmB237XUer0OhJDWJAoQSNgU2I65+PVLlS8FfYpT7mbzF/XmVKVabdmIBwcPjoIEtWIz/cZm/VlHNGCHjwEL+Dy2w9PJxcTxFYptd8wTVy+cUhrGdC5jW9x2uY1we1F3Nt+sqo1GAwghePY9oJTCsRactfj1jfJpIyJBvovOX1bKLThCDjbh4Q7vQ7hqvpl+c622oLgMOShojDJd81jeSyeXhk6sCTDsENXtywOonK8amM7tW5ZHgDtBVC5izWYb5etwYjSlFBIOA3mHL35rrXw6IhNSjpL5dSnfghNQogjbAVkFK2+lz1+uLlCHUBcpVJmyUNBjxZvghC12ierWJYHK0XJ4upBxLA7Abb+j70bM2UytqFrVG2eOEAKD1A/hTb744mrxdNhPSB3dmvLSU41ypTU5IaRVBwIBUHJ2+tJqdYFwgvuiIDHKuoKEVbxisqMctNNtAR9YO3tKKaJyadNyXJdz3dX3w/XZYjGjQgkXpQcLinkMnw59W+7iy6hcCw6VW3O2p3i+KLpbRagn4EJZJ71xvnIdjkqERUOENUge4Y633Noa0H7cEvAwKmcV9encronKEe4IuFBltprdVUEo0oYjhEDUH4LRLbL4I4RTZUIaXd78ZmN9CrKF9hIHVTAYhFAJ0vsX2sq5AIwQFjMoAyaU+004MZKKx81lApWTM/7p3DWEQ+F4yNWzofJsc3f7QDmEatljbfhCcHjPt/jGSuU5H8LxuDt/rXJpCnI3wXkuCOXCVSmd+2VlwbMJBUqByYxF4xLj7wEn1nkXoDhzvKBP5682MCA87oVAzwfzs/a1zQPlSNsc67AWgSMZfXH5fP60z4dTRfn8bnFlCrJ5/HIjK7oO0YY/XTpbb7kVXLelXCRGmSIXkz8curVynRnaKwI8sHr2FLmmTgs4Tj3uBh29GEa4bQFXBkDFQCTcvRaKwtGcsfjWxdJzPr9MaJc9v1e8MAU5hMP+ji0xwhCz9HT17eaCx3FX2CczmUX7JRb0le8IB5hagIm1C6fMXGA6v4VuBYSLuHolUpi1t6+icgKuZQaAZ08y4pAodi+uni0/5wtKoMSt+f3CuSnI5nC6dsZ7DqJhiDvhdPOctQAcgxW7JIoB0YvK3SUcDgH6vrVLf+7tyh04l+iOUQsLuA2EE9HKhF2rSKEYJEp9ydRK+blAgMlqzP7Efv7tKRBnDgVqGaELIRgA/L1Ou+c5wuG2cH+UEBoZkIgWqiZfv4NbW/O0H1T2pEedgke4bbvgua4V4RO2XVWh3jgwEWqIT5RAyA3XzTL/PgBe/RFPL8qF90GtLnrfXWQFtIr/DafpoGORDnsZA6owsvP6oT9Yx693nelPw9b/S4fdvXBI9oFHqbzle1WHnmU41A8gSTcm4i7k7S3N7LU+39sVjFZ23EKkaPyrOjhmgogSD++NjnWpDPvR/F8FR9VJ7nm2aDYdzynnYfjE5bVn8DvFcleZQvxY5XLlSlI9JqfDEckHjsfkPXUppAwswxBCsvZchIBQddvZMpxRJzncrcVKu+Ryl9U9pw4eNUHTUFjvYFGXg1PIQq63PhMcklqQYpZy2WqUCyTxgVTqn9BQNGH13vnA6JE/K7+TTyXVIzSthxDSZZK061sKy/3LMNiGFK4W56xWgw3YNewxL3mkT4vnd7xU3OmZUweOmBDww/VkO9AoF6HSZ82EB6VJ2/NsCVerFO16rkgTp+4SEoe0p2xD+scOIAkQSd2VlwxfG1JCdws3tpVcZxmDHKHJRFyLF9OQ6m3G5pR+hBRKtqcEx4FSrQS1IW+ma0idNLlnU0WCasmp75dp4jEB6eGfIB37W9Q3AEWngMymkv5hSIeCks8DJvmvqUtRuRuVxFcMASnssDgYROty3pCPKcmxiBIv5SDV14zOqX2jJmg3KYmQxUYFGiNkpntQnrRN2waUslpz64W6lHhybeMZeA/IdwPiwtCGVBEyogtITwrimewmsWUy2AeA4SjMgBIwTROu+MqGPu5P3hdW4rUMpPoboTktPnQDEo8F5xxKzRqYR9WZniFl0rZRSby0SwiZaZLEX2/cHvI3AcXqAlJ3F+R+Nx1CSEKZpGWVpR4eXlZ6uwFuUrLZbEIq2DC679OS41ElXtmD1KFKYC4c7T+AxGNBCAEBiTECymFtpm9InjRNbuMeoVJ365kmSzx9G0gqeG5ZMLovtiF1nfqIS6RQQV3qcfTlQFcUOpCEEGg0GnA+yo1DY4HkHyJkLSsgtblYMG4yTQNXXN64iIDc9Swwhnwzh4bVSdM9UFK4u2SxxEc28Qr6NXdTHHf7jJDnA+6CP+amwwHq8xAynJGW4qZ/2YhEgFKKx8cDQg4g34l6xlgimDxu+OPVDE+NVNS5uGqYfv+NMykg1xSAgQHfzGCPPNlASECKArq7afkSf/trkNh1e75WD0L+POAs+LvddERDJQmTogV5KVZXWpCMsZYZIQRy3IY1A4xjR/zJP8LAqe7x1FCJzcWUsOkTl3nLEjC4HVhXCSQG/TPD3WzSQkiCgZMx3brtKIm/uwnyzoBiUoR8w+8sKIaTDqGShBOpK0+X4mWyHA6FMG5YS0lhugUctg1i3D8aTD4Y9/fworU+mPXmYrLegvS8A8Ur4MKWQmGiLzBzOKY8yIG7EnokY9I6cCXxD5uXn3nqG0+xuwMUKyPkawjJdCutB9HdCGmUpKWBnLNsaAE8knhPop14CkgvIhvjA8qnqUuoVLc3htPWXJ8rX4dkQEBA5hByvN//JA3AIRffpZERdppQ99PghP8Dn7i3F3fxs/hjhFQ0Kx1Dd1OPSFpVfnF4v/GLUaaAwhj+TwGgHxjkLBOWG6VXeyOKLlM/syr2RiLPPzbeBCsqK2Dhe7GGkGHXg7fLhQID1hRwIqB6FFmpgJl7qVY4R3HT95ZRyZcQElBJQ3F9UUKD3bb7zfpe7tnDtgcTIIFhOXAuk5l/of/oR3w+xx1QSXBA9QcYNTNmNv+hQ1VeP452Iy6Bt/b3t14sZyZGmP2arkIwIuFO1Wbt+er2C3tHHvr5vQOK7SDkC4qzAH6eVQLN6rKV/dyZwYl/Ke4WPtNVa8JKOvvxnwxO/A8Q4n5z9Oj3eMjhSsgO/sDOv/bK6PFXanv5h2Ils3Z2P7P9WqN4Eg4/kv7qyJGvDPm9NyXNdL6NcPXx958RS/12gGIkQn5Hyzz7tcr5T6XGHimLpuXh8Y998crqydeHJv4bOgkhv9o/8t0v1zdf2kcQ0fzy2P0XPn919diZRvGEgBNtonx2cPj0NxpXn+3AibZfAQAA//+5/TE9AAAABklEQVQDAOAyzn/SMY3FAAAAAElFTkSuQmCC"},55541:function(on){"use strict";on.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAABICAYAAACa5tCtAAAAAXNSR0IArs4c6QAAC8tJREFUeF7t3Q2MHGUdBvDnmb27trSWttfdUmltb/cKCkSNQoDQREWJwSCSIgiNEYXy0Q/lK9VAAn4gAVJQoemVgkXAUEKQKiBqUpVoimhiUBqDkd7eUVuE3t71KL167d3t/O3syd6dXO12b3b3ndlnkyYlt/O+///vHfpk5uaD1p09DWZfhW8XA5gEfSQgAQlIQAKRE2A/iCfgsY3v1G773kiiv28ZwOUwmx+5nlSwBCQgAQnUnwC5HbT70dj0I85Y0BsAFIOtGHBmCfRkz0ceqwA7u/6U1LEEJCABCTgtQOZh+DngtSHVsoWkja73XcE2+ofWs+Mk5AdWAvgSDNOcblTFSUACEpBAvAXINwH8EInJG9g8b9fhmv2/wVY8iuvpmY5872UAVsLsxHjLqTsJSEACEnBKgPgdwPVIZjaTHDxSbSUF26jTlMSezk9hyF8F4jyYeUeaQD+XgAQkIAEJHLUA8Tbg/RiJhjY2L3jlaLY/qmAbc5qyt3MhhvLL4dsVAJqPZlJ9VwISkIAEJDC+ALfBQxts+mNMpfrKUSo72EaO4jonI+dfClhwmvKj5RShbSQgAQlIoK4FBgD8BGAb57S+MFGJCQfbmKO4ns4zMDS0CsBFAJomWpy2l4AEJCCBOAvwNZAbMOWYjXzP3FxYnYYabMWjuL6OOfi3fyVg18BwfFjFahwJSEACEoi4AOkD+BXI9Zid/gWH/zvUT0WCbeQ0pTUg13kBkF8Fw8dCrVyDSUACEpBAlAS64fEhNDbczxkLOytZeEWDbcxpyj3tp2CwcNP3FwFMrWRTGlsCEpCABFwR4ItIeG1obnmS5MFqVFW1YCsexe3JHos8vgKzFTBbVI0mNYcEJCABCVRVYD/ATWCijamWv1Z15vEeqVWtAsyMyGU/DQRHcThX98RVS17zSEACEqiQAPH3wo3UDXyUszJ7KzTLEYet+hHbeBXZWzvSODi4AsTlMJt5xKr1BQlIQAIScEOAGALw0+BiECZbn3ehKCeCrXia0nZOQW5w6X8vNvmwC0CqQQISkIAExhEgXge9B4DEg0wufMMlI6eCbTSM7W4/CyxcbHIhDI0uoakWCUhAAnUpEDxF3/AbJNCG5swzDJ6y7+DH2WArHsXlXpsL5K+C2dUwm+ugoUqSgAQkEG8BshewR0BvPZOZV11v1vlgGzlNaY3IZZcULjYxW+w6rOqTgAQkEHkB8iWA65Bsepyc3x+VfiITbGNPU3Z8CPSDm76XAnZMVLBVpwQkIAHnBYIngRieBr0fMJX+vfP1jlNgJIOteBS3d+csHDxw9fBRHN4bxQVQzRKQgAScEAheE2PYiEmNayv9ZJBK9xvpYBt1mrIJXdlLQLseBl1NWem9RuNLQAJxEugAvfvA6Q8xmdwXh8ZiEWxjTlN2t58NHzcA+AyCm8D1kYAEJCCBdwuQrx664vx2pDKbSAb3osXmE9t/+K1n+8nI85bCK3T0pu/Y7LBqRAISmLDAK/C872J2+olKPFl/wtWFMEBsg614mrJnx0nIDwYBd7ECLoQ9RkNIQAIRFeA20LsNyZanGNyPFuNP7IOtGHDdr30A+aFbQHxBARfjPVqtSUACYwUKpxx5M1LpzXEPtHcar5tgGwm4zvfDH7oNhs9r/5eABCQQXwHuBvgdpNIPxO13aEdas7oLtpFTlNvPRJ5rYHbWkZD0cwlIQAIREtgP4G7w2LuZSvVFqO7QSq3bYCsG3O7sEtDu1LvhQtunNJAEJFALgeC5jYYHMdX7Fqeld9eiBFfmrPtgCxbCrPC4ruBZlLcCSLqyOKpDAhKQQEkC5FY0eCs5K72tpO/H/EsKtlELbMHbvYdwO2DLdYFJzPd8tSeBWAgEv0fD1zmn9dFYtBNSEwq2cSAtt/0j8NEG4PSQnDWMBCQggfAEhl8Xsw4NvLWWb6oOr6FwR1KwHcbTgqeWdGeXwbc7AcwKl12jSUACEihTgPwDzFvBOemXyxwh9psp2I6wxPb2rmYc6L8L4OV6RFfs/39QgxJwWWA/yJuRzKytl/vRyl0MBVuJcpZr/wR82wigpcRN9DUJSEAC4QiQz6OpcRlnLOgIZ8B4j6JgO4r1NXtzKnL77wJshY7ejgJOX5WABMoTIPbBvG8glb5fR2mlEyrYSrcqftNy2z8OH8HRW7qMzbWJBCQggVIEtqApcSVnpneU8mV9Z0RAwVbm3jB89NYXXFiyUkdvZSJqMwlIYDyBgyBXM9W6VjzlCSjYynMbOXrr6TgHef9RmB03waG0uQQkIIFX0Ji4VDdaT2xHULBNzK+wte1rT6EfD8Ps3BCG0xASkEBdCnADUpOuJ+f312X7ITatYAsJc/i+t47r4PvB6cmmkIbVMBKQQNwFyF4Yl3FOZnPcW61Wfwq2kKULTy0xPg6zE0IeWsNJQAJxEyBfQAKXsrl1Z9xaq2U/CrYK6FtX1zTY3g0AllZgeA0pAQnEQYDeOiTT15McjEM7LvWgYKvgalguex3MXwNDQwWn0dASkECkBHgAxDVMtT4SqbIjVKyCrcKLNXzPG58ALFXhqTS8BCTgvAB3wLMlTC56yflSI1yggq0Ki2c9u+Yhf2AzzE6rwnSaQgIScFKAv8aUyZdw+rweJ8uLUVEKtiotpplNQq59HQxXVGlKTSMBCbgj8H2kWldz+HUz+lRYQMFWYeD/HX749252j15kWmV4TSeBWggUgsyuZWrRulpMX69zKthqsPLW3X4B8ngMsGNqML2mlIAEqiFA9IHeJUxmnqvGdJpjREDBVqO9wXLZU2H2rB7FVaMF0LQSqKQA8S+g8TymFv6lktNo7PEFFGw13DOst2MBBvznADu5hmVoaglIIEwB4mUkppzH5nm7whxWY5UuoGAr3aoi37Q92WMxaE8B9smKTKBBJSCBagpsgTfjQiaT+6o5qeYaK6Bgc2CPMLNGdLU/rCeVOLAYKkEC5QtsQqr1y3qSSPmAYW2pYAtLcoLjFB6i3JVdc+hdATdOcChtLgEJVF2A9yCVCS7nt6pPrQnfJaBgc2ynsFz7jTCs0ctLHVsYlSOB8QSCICNWM9l6j4DcEVCwubMWxUosl10K338IwCQHy1NJEpDAsMBBeN7lTGY2CcQtAQWbW+sxEm49nWcgnw8ewzXX0RJVlgTqV4B8A4nEEja3/LF+EdztXMHm7trAunceD//gz2B2qsNlqjQJ1JcA+Wd4ky7g7Pmv11fj0elWweb4Wpl1TkbX0EZdMen4Qqm8ehHYhFTDFWTLgXppOIp9KtgismrWlb0WZncANiUiJatMCcRIgP0gb2Iqc2+MmoptKwq2CC2t5TpOhJ8PXk54eoTKVqkSiLrAn+AlLmMy/Y+oN1Iv9SvYIrbSZpZArmM1zP82gKaIla9yJRAlgQHQ+yaS6TV63UyUlg1QsEVrvYrV2p72UzCIBwA7M6ItqGwJOCzAF9GIqzir9W8OF6nSDiOgYIv4rmFd2y86dL/bHTBkIt6KypdA7QWI7KH7025iatGTtS9GFZQroGArV86h7QrPmsx1rID5twBodqg0lSKBqAj0gN5tSKbb9KzHqCzZ4etUsEV/DUedngzeFODfAGA5gGSMWlMrEqiUQA7AejR63+OszN5KTaJxqyugYKuud1VmK9z7lvOXwuxawD5YlUk1iQQiJcBtIO9F0tuke9IitXAlFatgK4kpul+y7vazkcfXADtXV1FGdx1VeSgCAwB/iQTu4+zW34YyogZxUkDB5uSyhF+U9XbOwGD+cwAugtk5CrnwjTWikwIDILcAeBKNiac5s+UtJ6tUUaEKKNhC5YzGYIWQG8ifD9pnAS6G2XHRqFxVSqAEAfJNwLbC+CyaEs8ozEowi9lXFGwxW9By2rHd/8wAA2cBWAzaYoAnILgRXB8JuC5A5gF7FcatALYCTS9wzvuCS/b1qWMBBVsdL/7hWi/cPtDd0QKz4N641uE/lgY4E7BpAKcCmFb8e/D2b30kEJZA4S3Uth9gH4C+kb9bL8AOAO2FP2QWs9Odujw/LPj4jPMfECD1ZLk+UtgAAAAASUVORK5CYII="},26528:function(on,Ut,we){"use strict";on.exports=we.p+"static/detailbg.5bc9ddcf.jpg"}}]);
|
|
|
}()); |