|
|
!(function(){var L0=Object.defineProperty,z0=Object.defineProperties;var D0=Object.getOwnPropertyDescriptors;var Jl=Object.getOwnPropertySymbols;var F0=Object.prototype.hasOwnProperty,k0=Object.prototype.propertyIsEnumerable;var Ql=(on,Yt,a)=>Yt in on?L0(on,Yt,{enumerable:!0,configurable:!0,writable:!0,value:a}):on[Yt]=a,Sl=(on,Yt)=>{for(var a in Yt||(Yt={}))F0.call(Yt,a)&&Ql(on,a,Yt[a]);if(Jl)for(var a of Jl(Yt))k0.call(Yt,a)&&Ql(on,a,Yt[a]);return on},Cl=(on,Yt)=>z0(on,D0(Yt));(self.webpackChunk=self.webpackChunk||[]).push([[8891],{17207:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return ot}});var t=a(87462),Fe=a(97685),$=a(4942),Be=a(45987),G=a(67294),J=a(94184),U=a.n(J),y=a(86500),W=a(67430),l=2,H=.16,V=.05,Y=.05,T=.15,Z=5,E=4,j=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function A(Ie){var st=Ie.r,zt=Ie.g,rr=Ie.b,fr=(0,y.py)(st,zt,rr);return{h:fr.h*360,s:fr.s,v:fr.v}}function M(Ie){var st=Ie.r,zt=Ie.g,rr=Ie.b;return"#".concat((0,y.vq)(st,zt,rr,!1))}function le(Ie,st,zt){var rr=zt/100,fr={r:(st.r-Ie.r)*rr+Ie.r,g:(st.g-Ie.g)*rr+Ie.g,b:(st.b-Ie.b)*rr+Ie.b};return fr}function ee(Ie,st,zt){var rr;return Math.round(Ie.h)>=60&&Math.round(Ie.h)<=240?rr=zt?Math.round(Ie.h)-l*st:Math.round(Ie.h)+l*st:rr=zt?Math.round(Ie.h)+l*st:Math.round(Ie.h)-l*st,rr<0?rr+=360:rr>=360&&(rr-=360),rr}function C(Ie,st,zt){if(Ie.h===0&&Ie.s===0)return Ie.s;var rr;return zt?rr=Ie.s-H*st:st===E?rr=Ie.s+H:rr=Ie.s+V*st,rr>1&&(rr=1),zt&&st===Z&&rr>.1&&(rr=.1),rr<.06&&(rr=.06),Number(rr.toFixed(2))}function Le(Ie,st,zt){var rr;return zt?rr=Ie.v+Y*st:rr=Ie.v-T*st,rr>1&&(rr=1),Number(rr.toFixed(2))}function Me(Ie){for(var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zt=[],rr=(0,W.uA)(Ie),fr=Z;fr>0;fr-=1){var ht=A(rr),ln=M((0,W.uA)({h:ee(ht,fr,!0),s:C(ht,fr,!0),v:Le(ht,fr,!0)}));zt.push(ln)}zt.push(M(rr));for(var pe=1;pe<=E;pe+=1){var qt=A(rr),gr=M((0,W.uA)({h:ee(qt,pe),s:C(qt,pe),v:Le(qt,pe)}));zt.push(gr)}return st.theme==="dark"?j.map(function($r){var tn=$r.index,$n=$r.opacity,Vt=M(le((0,W.uA)(st.backgroundColor||"#141414"),(0,W.uA)(zt[tn]),$n*100));return Vt}):zt}var He={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},We={},Pe={};Object.keys(He).forEach(function(Ie){We[Ie]=Me(He[Ie]),We[Ie].primary=We[Ie][5],Pe[Ie]=Me(He[Ie],{theme:"dark",backgroundColor:"#141414"}),Pe[Ie].primary=Pe[Ie][5]});var Ne=We.red,ae=We.volcano,Ee=We.gold,R=We.orange,N=We.yellow,vt=We.lime,ve=We.green,de=We.cyan,k=We.blue,te=We.geekblue,ie=We.purple,ye=We.magenta,et=We.grey,Te=We.grey,Qe=(0,G.createContext)({}),Wt=Qe,Ut=a(1413),ze=a(71002);function Ue(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function sr(Ie,st){if(!Ie)return!1;if(Ie.contains)return Ie.contains(st);for(var zt=st;zt;){if(zt===Ie)return!0;zt=zt.parentNode}return!1}var tr="data-rc-order",$e="data-rc-priority",re="rc-util-key",g=new Map;function Xe(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},st=Ie.mark;return st?st.startsWith("data-")?st:"data-".concat(st):re}function Se(Ie){if(Ie.attachTo)return Ie.attachTo;var st=document.querySelector("head");return st||document.body}function ge(Ie){return Ie==="queue"?"prependQueue":Ie?"prepend":"append"}function fe(Ie){return Array.from((g.get(Ie)||Ie).children).filter(function(st){return st.tagName==="STYLE"})}function q(Ie){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ue())return null;var zt=st.csp,rr=st.prepend,fr=st.priority,ht=fr===void 0?0:fr,ln=ge(rr),pe=ln==="prependQueue",qt=document.createElement("style");qt.setAttribute(tr,ln),pe&&ht&&qt.setAttribute($e,"".concat(ht)),zt!=null&&zt.nonce&&(qt.nonce=zt==null?void 0:zt.nonce),qt.innerHTML=Ie;var gr=Se(st),$r=gr.firstChild;if(rr){if(pe){var tn=fe(gr).filter(function($n){if(!["prepend","prependQueue"].includes($n.getAttribute(tr)))return!1;var Vt=Number($n.getAttribute($e)||0);return ht>=Vt});if(tn.length)return gr.insertBefore(qt,tn[tn.length-1].nextSibling),qt}gr.insertBefore(qt,$r)}else gr.appendChild(qt);return qt}function we(Ie){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zt=Se(st);return fe(zt).find(function(rr){return rr.getAttribute(Xe(st))===Ie})}function Oe(Ie){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zt=we(Ie,st);if(zt){var rr=Se(st);rr.removeChild(zt)}}function Ae(Ie,st){var zt=g.get(Ie);if(!zt||!sr(document,zt)){var rr=q("",st),fr=rr.parentNode;g.set(Ie,fr),Ie.removeChild(rr)}}function Ye(){g.clear()}function At(Ie,st){var zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},rr=Se(zt);Ae(rr,zt);var fr=we(st,zt);if(fr){var ht,ln;if((ht=zt.csp)!==null&&ht!==void 0&&ht.nonce&&fr.nonce!==((ln=zt.csp)===null||ln===void 0?void 0:ln.nonce)){var pe;fr.nonce=(pe=zt.csp)===null||pe===void 0?void 0:pe.nonce}return fr.innerHTML!==Ie&&(fr.innerHTML=Ie),fr}var qt=q(Ie,zt);return qt.setAttribute(Xe(zt),st),qt}function Bt(Ie){var st;return Ie==null||(st=Ie.getRootNode)===null||st===void 0?void 0:st.call(Ie)}function cr(Ie){return Bt(Ie)instanceof ShadowRoot}function ur(Ie){return cr(Ie)?Bt(Ie):null}var Et={},ut=[],Mt=function(st){ut.push(st)};function Kt(Ie,st){if(0)var zt}function Qt(Ie,st){if(0)var zt}function St(){Et={}}function pr(Ie,st,zt){!st&&!Et[zt]&&(Ie(!1,zt),Et[zt]=!0)}function Ur(Ie,st){pr(Kt,Ie,st)}function Lt(Ie,st){pr(Qt,Ie,st)}Ur.preMessage=Mt,Ur.resetWarned=St,Ur.noteOnce=Lt;var lr=Ur;function _t(Ie){return Ie.replace(/-(.)/g,function(st,zt){return zt.toUpperCase()})}function w(Ie,st){lr(Ie,"[@ant-design/icons] ".concat(st))}function P(Ie){return(0,ze.Z)(Ie)==="object"&&typeof Ie.name=="string"&&typeof Ie.theme=="string"&&((0,ze.Z)(Ie.icon)==="object"||typeof Ie.icon=="function")}function Pt(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Ie).reduce(function(st,zt){var rr=Ie[zt];switch(zt){case"class":st.className=rr,delete st.class;break;default:delete st[zt],st[_t(zt)]=rr}return st},{})}function ne(Ie,st,zt){return zt?G.createElement(Ie.tag,(0,Ut.Z)((0,Ut.Z)({key:st},Pt(Ie.attrs)),zt),(Ie.children||[]).map(function(rr,fr){return ne(rr,"".concat(st,"-").concat(Ie.tag,"-").concat(fr))})):G.createElement(Ie.tag,(0,Ut.Z)({key:st},Pt(Ie.attrs)),(Ie.children||[]).map(function(rr,fr){return ne(rr,"".concat(st,"-").concat(Ie.tag,"-").concat(fr))}))}function ke(Ie){return Me(Ie)[0]}function Mr(Ie){return Ie?Array.isArray(Ie)?Ie:[Ie]:[]}var Pr={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},En=`
|
|
|
.anticon {
|
|
|
display: inline-block;
|
|
|
color: inherit;
|
|
|
font-style: normal;
|
|
|
line-height: 0;
|
|
|
text-align: center;
|
|
|
text-transform: none;
|
|
|
vertical-align: -0.125em;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
.anticon > * {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.anticon svg {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.anticon::before {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.anticon .anticon-icon {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.anticon[tabindex] {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.anticon-spin::before,
|
|
|
.anticon-spin {
|
|
|
display: inline-block;
|
|
|
-webkit-animation: loadingCircle 1s infinite linear;
|
|
|
animation: loadingCircle 1s infinite linear;
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
`,Nn=function(st){var zt=(0,G.useContext)(Wt),rr=zt.csp,fr=zt.prefixCls,ht=En;fr&&(ht=ht.replace(/anticon/g,fr)),(0,G.useEffect)(function(){var ln=st.current,pe=ur(ln);At(ht,"@ant-design-icons",{prepend:!0,csp:rr,attachTo:pe})},[])},mn=["icon","className","onClick","style","primaryColor","secondaryColor"],yn={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Cn(Ie){var st=Ie.primaryColor,zt=Ie.secondaryColor;yn.primaryColor=st,yn.secondaryColor=zt||ke(st),yn.calculated=!!zt}function L(){return(0,Ut.Z)({},yn)}var x=function(st){var zt=st.icon,rr=st.className,fr=st.onClick,ht=st.style,ln=st.primaryColor,pe=st.secondaryColor,qt=(0,Be.Z)(st,mn),gr=G.useRef(),$r=yn;if(ln&&($r={primaryColor:ln,secondaryColor:pe||ke(ln)}),Nn(gr),w(P(zt),"icon should be icon definiton, but got ".concat(zt)),!P(zt))return null;var tn=zt;return tn&&typeof tn.icon=="function"&&(tn=(0,Ut.Z)((0,Ut.Z)({},tn),{},{icon:tn.icon($r.primaryColor,$r.secondaryColor)})),ne(tn.icon,"svg-".concat(tn.name),(0,Ut.Z)((0,Ut.Z)({className:rr,onClick:fr,style:ht,"data-icon":tn.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},qt),{},{ref:gr}))};x.displayName="IconReact",x.getTwoToneColors=L,x.setTwoToneColors=Cn;var Dr=x;function K(Ie){var st=Mr(Ie),zt=(0,Fe.Z)(st,2),rr=zt[0],fr=zt[1];return Dr.setTwoToneColors({primaryColor:rr,secondaryColor:fr})}function Tt(){var Ie=Dr.getTwoToneColors();return Ie.calculated?[Ie.primaryColor,Ie.secondaryColor]:Ie.primaryColor}var Xt=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];K(k.primary);var ar=G.forwardRef(function(Ie,st){var zt,rr=Ie.className,fr=Ie.icon,ht=Ie.spin,ln=Ie.rotate,pe=Ie.tabIndex,qt=Ie.onClick,gr=Ie.twoToneColor,$r=(0,Be.Z)(Ie,Xt),tn=G.useContext(Wt),$n=tn.prefixCls,Vt=$n===void 0?"anticon":$n,yr=tn.rootClassName,jr=U()(yr,Vt,(zt={},(0,$.Z)(zt,"".concat(Vt,"-").concat(fr.name),!!fr.name),(0,$.Z)(zt,"".concat(Vt,"-spin"),!!ht||fr.name==="loading"),zt),rr),Er=pe;Er===void 0&&qt&&(Er=-1);var Kr=ln?{msTransform:"rotate(".concat(ln,"deg)"),transform:"rotate(".concat(ln,"deg)")}:void 0,Jr=Mr(gr),mt=(0,Fe.Z)(Jr,2),Jt=mt[0],nr=mt[1];return G.createElement("span",(0,t.Z)({role:"img","aria-label":fr.name},$r,{ref:st,tabIndex:Er,onClick:qt,className:jr}),G.createElement(Dr,{icon:fr,primaryColor:Jt,secondaryColor:nr,style:Kr}))});ar.displayName="AntdIcon",ar.getTwoToneColor=Tt,ar.setTwoToneColor=K;var ot=ar},30153:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},52310:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},33463:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={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"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},87725:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},16646:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},73475:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},84249:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={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"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},42922:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},55304:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={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"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},33859:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},22751:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={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"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},3407:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},24018:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},40043:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},38308:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},17663:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},53978:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},54262:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return U}});var t=a(87462),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Be=$,G=a(17207),J=function(W,l){return Fe.createElement(G.Z,(0,t.Z)({},W,{ref:l,icon:Be}))},U=Fe.forwardRef(J)},81897:function(){"use strict"},98787:function(on,Yt,a){"use strict";a.d(Yt,{o2:function(){return G},yT:function(){return J}});var t=a(96641),Fe=a(8796);const $=Fe.i.map(U=>`${U}-inverse`),Be=["success","processing","error","default","warning"];function G(U){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,t.Z)($),(0,t.Z)(Fe.i)).includes(U):Fe.i.includes(U)}function J(U){return Be.includes(U)}},38780:function(on,Yt){"use strict";const a=function(){const t=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Fe=1;Fe<arguments.length;Fe++){const $=Fe<0||arguments.length<=Fe?void 0:arguments[Fe];$&&Object.keys($).forEach(Be=>{const G=$[Be];G!==void 0&&(t[Be]=G)})}return t};Yt.Z=a},78290:function(on,Yt,a){"use strict";var t=a(67294),Fe=a(30186);const $=Be=>{let G;return typeof Be=="object"&&(Be!=null&&Be.clearIcon)?G=Be:Be&&(G={clearIcon:t.createElement(Fe.Z,null)}),G};Yt.Z=$},81643:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return t}});const t=Fe=>Fe?typeof Fe=="function"?Fe():Fe:null},66367:function(on,Yt,a){"use strict";a.d(Yt,{F:function(){return t}});function t($){return $!=null&&$===$.window}const Fe=$=>{var Be,G;if(typeof window=="undefined")return 0;let J=0;return t($)?J=$.pageYOffset:$ instanceof Document?J=$.documentElement.scrollTop:($ instanceof HTMLElement||$)&&(J=$.scrollTop),$&&!t($)&&typeof J!="number"&&(J=(G=((Be=$.ownerDocument)!==null&&Be!==void 0?Be:$).documentElement)===null||G===void 0?void 0:G.scrollTop),J};Yt.Z=Fe},80636:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return J}});var t=a(97414);function Fe(U,y,W,l){if(l===!1)return{adjustX:!1,adjustY:!1};const H=l&&typeof l=="object"?l:{},V={};switch(U){case"top":case"bottom":V.shiftX=y.arrowOffsetHorizontal*2+W,V.shiftY=!0,V.adjustY=!0;break;case"left":case"right":V.shiftY=y.arrowOffsetVertical*2+W,V.shiftX=!0,V.adjustX=!0;break}const Y=Object.assign(Object.assign({},V),H);return Y.shiftX||(Y.adjustX=!0),Y.shiftY||(Y.adjustY=!0),Y}const $={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Be={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},G=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function J(U){const{arrowWidth:y,autoAdjustOverflow:W,arrowPointAtCenter:l,offset:H,borderRadius:V,visibleFirst:Y}=U,T=y/2,Z={};return Object.keys($).forEach(E=>{const j=l&&Be[E]||$[E],A=Object.assign(Object.assign({},j),{offset:[0,0],dynamicInset:!0});switch(Z[E]=A,G.has(E)&&(A.autoArrow=!1),E){case"top":case"topLeft":case"topRight":A.offset[1]=-T-H;break;case"bottom":case"bottomLeft":case"bottomRight":A.offset[1]=T+H;break;case"left":case"leftTop":case"leftBottom":A.offset[0]=-T-H;break;case"right":case"rightTop":case"rightBottom":A.offset[0]=T+H;break}const M=(0,t.wZ)({contentRadius:V,limitVerticalRadius:!0});if(l)switch(E){case"topLeft":case"bottomLeft":A.offset[0]=-M.arrowOffsetHorizontal-T;break;case"topRight":case"bottomRight":A.offset[0]=M.arrowOffsetHorizontal+T;break;case"leftTop":case"rightTop":A.offset[1]=-M.arrowOffsetHorizontal*2+T;break;case"leftBottom":case"rightBottom":A.offset[1]=M.arrowOffsetHorizontal*2-T;break}A.overflow=Fe(E,M,y,W),Y&&(A.htmlRegion="visibleFirst")}),Z}},58375:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return Be}});var t=a(96523);function Fe(G,J,U,y){const W=U-J;return G/=y/2,G<1?W/2*G*G*G+J:W/2*((G-=2)*G*G+2)+J}var $=a(66367);function Be(G){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:U=()=>window,callback:y,duration:W=450}=J,l=U(),H=(0,$.Z)(l),V=Date.now(),Y=()=>{const Z=Date.now()-V,E=Fe(Z>W?W:Z,H,G,W);(0,$.F)(l)?l.scrollTo(window.pageXOffset,E):l instanceof Document||l.constructor.name==="HTMLDocument"?l.documentElement.scrollTop=E:l.scrollTop=E,Z<W?(0,t.Z)(Y):typeof y=="function"&&y()};(0,t.Z)(Y)}},9708:function(on,Yt,a){"use strict";a.d(Yt,{F:function(){return G},Z:function(){return Be}});var t=a(13144),Fe=a.n(t);const $=null;function Be(J,U,y){return Fe()({[`${J}-status-success`]:U==="success",[`${J}-status-warning`]:U==="warning",[`${J}-status-error`]:U==="error",[`${J}-status-validating`]:U==="validating",[`${J}-has-feedback`]:y})}const G=(J,U)=>U||J},48783:function(on,Yt,a){"use strict";var t=a(96641),Fe=a(96523);function $(Be){let G;const J=y=>()=>{G=null,Be.apply(void 0,(0,t.Z)(y))},U=function(){if(G==null){for(var y=arguments.length,W=new Array(y),l=0;l<y;l++)W[l]=arguments[l];G=(0,Fe.Z)(J(W))}};return U.cancel=()=>{Fe.Z.cancel(G),G=null},U}Yt.Z=$},30291:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return le}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(38978),G=a(48783),J=a(53124),U=a(83559);const y=ee=>{const{componentCls:C}=ee;return{[C]:{position:"fixed",zIndex:ee.zIndexPopup}}},W=ee=>({zIndexPopup:ee.zIndexBase+10});var l=(0,U.I$)("Affix",y,W);function H(ee){return ee!==window?ee.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function V(ee,C,Le){if(Le!==void 0&&Math.round(C.top)>Math.round(ee.top)-Le)return Le+C.top}function Y(ee,C,Le){if(Le!==void 0&&Math.round(C.bottom)<Math.round(ee.bottom)+Le){const Me=window.innerHeight-C.bottom;return Le+Me}}var T=function(ee,C){var Le={};for(var Me in ee)Object.prototype.hasOwnProperty.call(ee,Me)&&C.indexOf(Me)<0&&(Le[Me]=ee[Me]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Me=Object.getOwnPropertySymbols(ee);He<Me.length;He++)C.indexOf(Me[He])<0&&Object.prototype.propertyIsEnumerable.call(ee,Me[He])&&(Le[Me[He]]=ee[Me[He]]);return Le};const Z=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function E(){return typeof window!="undefined"?window:null}const j=0,A=1;var le=t.forwardRef((ee,C)=>{var Le;const{style:Me,offsetTop:He,offsetBottom:We,prefixCls:Pe,className:Ne,rootClassName:ae,children:Ee,target:R,onChange:N,onTestUpdatePosition:vt}=ee,ve=T(ee,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:de,getTargetContainer:k}=t.useContext(J.E_),te=de("affix",Pe),[ie,ye]=t.useState(!1),[et,Te]=t.useState(),[Qe,Wt]=t.useState(),Ut=t.useRef(j),ze=t.useRef(null),Ue=t.useRef(null),sr=t.useRef(null),tr=t.useRef(null),$e=t.useRef(null),re=(Le=R!=null?R:k)!==null&&Le!==void 0?Le:E,g=We===void 0&&He===void 0?0:He,Xe=()=>{if(Ut.current!==A||!tr.current||!sr.current||!re)return;const cr=re();if(cr){const ur={status:j},Et=H(sr.current);if(Et.top===0&&Et.left===0&&Et.width===0&&Et.height===0)return;const ut=H(cr),Mt=V(Et,ut,g),Kt=Y(Et,ut,We);Mt!==void 0?(ur.affixStyle={position:"fixed",top:Mt,width:Et.width,height:Et.height},ur.placeholderStyle={width:Et.width,height:Et.height}):Kt!==void 0&&(ur.affixStyle={position:"fixed",bottom:Kt,width:Et.width,height:Et.height},ur.placeholderStyle={width:Et.width,height:Et.height}),ur.lastAffix=!!ur.affixStyle,ie!==ur.lastAffix&&(N==null||N(ur.lastAffix)),Ut.current=ur.status,Te(ur.affixStyle),Wt(ur.placeholderStyle),ye(ur.lastAffix)}},Se=()=>{Ut.current=A,Xe()},ge=(0,G.Z)(()=>{Se()}),fe=(0,G.Z)(()=>{if(re&&et){const cr=re();if(cr&&sr.current){const ur=H(cr),Et=H(sr.current),ut=V(Et,ur,g),Mt=Y(Et,ur,We);if(ut!==void 0&&et.top===ut||Mt!==void 0&&et.bottom===Mt)return}}Se()}),q=()=>{const cr=re==null?void 0:re();cr&&(Z.forEach(ur=>{var Et;Ue.current&&((Et=ze.current)===null||Et===void 0||Et.removeEventListener(ur,Ue.current)),cr==null||cr.addEventListener(ur,fe)}),ze.current=cr,Ue.current=fe)},we=()=>{$e.current&&(clearTimeout($e.current),$e.current=null);const cr=re==null?void 0:re();Z.forEach(ur=>{var Et;cr==null||cr.removeEventListener(ur,fe),Ue.current&&((Et=ze.current)===null||Et===void 0||Et.removeEventListener(ur,Ue.current))}),ge.cancel(),fe.cancel()};t.useImperativeHandle(C,()=>({updatePosition:ge})),t.useEffect(()=>($e.current=setTimeout(q),()=>we()),[]),t.useEffect(()=>{q()},[R,et,ie]),t.useEffect(()=>{ge()},[R,He,We]);const[Oe,Ae,Ye]=l(te),At=$()(ae,Ae,te,Ye),Bt=$()({[At]:et});return Oe(t.createElement(Be.Z,{onResize:ge},t.createElement("div",Object.assign({style:Me,className:Ne,ref:sr},ve),et&&t.createElement("div",{style:Qe,"aria-hidden":"true"}),t.createElement("div",{className:Bt,ref:tr,style:et},t.createElement(Be.Z,{onResize:ge},Ee)))))})},63960:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return A}});var t=a(10366),Fe=a(8745),$=a(88044),Be=a(67294),G=a(13144),J=a.n(G),U=a(37419),y=a(87263),W=a(53124);const{Option:l}=$.default;function H(M){return(M==null?void 0:M.type)&&(M.type.isSelectOption||M.type.isSelectOptGroup)}const V=(M,le)=>{var ee;const{prefixCls:C,className:Le,popupClassName:Me,dropdownClassName:He,children:We,dataSource:Pe}=M,Ne=(0,U.Z)(We);let ae;Ne.length===1&&Be.isValidElement(Ne[0])&&!H(Ne[0])&&([ae]=Ne);const Ee=ae?()=>ae:void 0;let R;Ne.length&&H(Ne[0])?R=We:R=Pe?Pe.map(de=>{if(Be.isValidElement(de))return de;switch(typeof de){case"string":return Be.createElement(l,{key:de,value:de},de);case"object":{const{value:k}=de;return Be.createElement(l,{key:k,value:k},de.text)}default:return}}):[];const{getPrefixCls:N}=Be.useContext(W.E_),vt=N("select",C),[ve]=(0,y.Cn)("SelectLike",(ee=M.dropdownStyle)===null||ee===void 0?void 0:ee.zIndex);return Be.createElement($.default,Object.assign({ref:le,suffixIcon:null},(0,t.Z)(M,["dataSource","dropdownClassName"]),{prefixCls:vt,popupClassName:Me||He,dropdownStyle:Object.assign(Object.assign({},M.dropdownStyle),{zIndex:ve}),className:J()(`${vt}-auto-complete`,Le),mode:$.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:Ee}),R)};var T=Be.forwardRef(V);const{Option:Z}=$.default,E=(0,Fe.Z)(T,"dropdownAlign",M=>(0,t.Z)(M,["visible"])),j=T;j.Option=Z,j._InternalPanelDoNotUseOrYouWillBeFired=E;var A=j},85673:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return ve}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(37419),G=a(1337),J=a(96159),U=a(53124),y=a(15558),W=a(59690);const l=de=>{let{children:k}=de;const{getPrefixCls:te}=t.useContext(U.E_),ie=te("breadcrumb");return t.createElement("li",{className:`${ie}-separator`,"aria-hidden":"true"},k===""?k:k||"/")};l.__ANT_BREADCRUMB_SEPARATOR=!0;var H=l,V=function(de,k){var te={};for(var ie in de)Object.prototype.hasOwnProperty.call(de,ie)&&k.indexOf(ie)<0&&(te[ie]=de[ie]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,ie=Object.getOwnPropertySymbols(de);ye<ie.length;ye++)k.indexOf(ie[ye])<0&&Object.prototype.propertyIsEnumerable.call(de,ie[ye])&&(te[ie[ye]]=de[ie[ye]]);return te};function Y(de,k){if(de.title===void 0||de.title===null)return null;const te=Object.keys(k).join("|");return typeof de.title=="object"?de.title:String(de.title).replace(new RegExp(`:(${te})`,"g"),(ie,ye)=>k[ye]||ie)}function T(de,k,te,ie){if(te==null)return null;const{className:ye,onClick:et}=k,Te=V(k,["className","onClick"]),Qe=Object.assign(Object.assign({},(0,G.Z)(Te,{data:!0,aria:!0})),{onClick:et});return ie!==void 0?t.createElement("a",Object.assign({},Qe,{className:$()(`${de}-link`,ye),href:ie}),te):t.createElement("span",Object.assign({},Qe,{className:$()(`${de}-link`,ye)}),te)}function Z(de,k){return(ie,ye,et,Te,Qe)=>{if(k)return k(ie,ye,et,Te);const Wt=Y(ie,ye);return T(de,ie,Wt,Qe)}}var E=function(de,k){var te={};for(var ie in de)Object.prototype.hasOwnProperty.call(de,ie)&&k.indexOf(ie)<0&&(te[ie]=de[ie]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,ie=Object.getOwnPropertySymbols(de);ye<ie.length;ye++)k.indexOf(ie[ye])<0&&Object.prototype.propertyIsEnumerable.call(de,ie[ye])&&(te[ie[ye]]=de[ie[ye]]);return te};const j=de=>{const{prefixCls:k,separator:te="/",children:ie,menu:ye,overlay:et,dropdownProps:Te,href:Qe}=de,Ut=(ze=>{if(ye||et){const Ue=Object.assign({},Te);if(ye){const sr=ye||{},{items:tr}=sr,$e=E(sr,["items"]);Ue.menu=Object.assign(Object.assign({},$e),{items:tr==null?void 0:tr.map((re,g)=>{var{key:Xe,title:Se,label:ge,path:fe}=re,q=E(re,["key","title","label","path"]);let we=ge!=null?ge:Se;return fe&&(we=t.createElement("a",{href:`${Qe}${fe}`},we)),Object.assign(Object.assign({},q),{key:Xe!=null?Xe:g,label:we})})})}else et&&(Ue.overlay=et);return t.createElement(W.Z,Object.assign({placement:"bottom"},Ue),t.createElement("span",{className:`${k}-overlay-link`},ze,t.createElement(y.Z,null)))}return ze})(ie);return Ut!=null?t.createElement(t.Fragment,null,t.createElement("li",null,Ut),te&&t.createElement(H,null,te)):null},A=de=>{const{prefixCls:k,children:te,href:ie}=de,ye=E(de,["prefixCls","children","href"]),{getPrefixCls:et}=t.useContext(U.E_),Te=et("breadcrumb",k);return t.createElement(j,Object.assign({},ye,{prefixCls:Te}),T(Te,ye,te,ie))};A.__ANT_BREADCRUMB_ITEM=!0;var M=A,le=a(16777),ee=a(14747),C=a(83559),Le=a(43259);const Me=de=>{const{componentCls:k,iconCls:te,calc:ie}=de;return{[k]:Object.assign(Object.assign({},(0,ee.Wf)(de)),{color:de.itemColor,fontSize:de.fontSize,[te]:{fontSize:de.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:de.linkColor,transition:`color ${de.motionDurationMid}`,padding:`0 ${(0,le.unit)(de.paddingXXS)}`,borderRadius:de.borderRadiusSM,height:de.fontHeight,display:"inline-block",marginInline:ie(de.marginXXS).mul(-1).equal(),"&:hover":{color:de.linkHoverColor,backgroundColor:de.colorBgTextHover}},(0,ee.Qy)(de)),"li:last-child":{color:de.lastItemColor},[`${k}-separator`]:{marginInline:de.separatorMargin,color:de.separatorColor},[`${k}-link`]:{[`
|
|
|
> ${te} + span,
|
|
|
> ${te} + a
|
|
|
`]:{marginInlineStart:de.marginXXS}},[`${k}-overlay-link`]:{borderRadius:de.borderRadiusSM,height:de.fontHeight,display:"inline-block",padding:`0 ${(0,le.unit)(de.paddingXXS)}`,marginInline:ie(de.marginXXS).mul(-1).equal(),[`> ${te}`]:{marginInlineStart:de.marginXXS,fontSize:de.fontSizeIcon},"&:hover":{color:de.linkHoverColor,backgroundColor:de.colorBgTextHover,a:{color:de.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${de.componentCls}-rtl`]:{direction:"rtl"}})}},He=de=>({itemColor:de.colorTextDescription,lastItemColor:de.colorText,iconFontSize:de.fontSize,linkColor:de.colorTextDescription,linkHoverColor:de.colorText,separatorColor:de.colorTextDescription,separatorMargin:de.marginXS});var We=(0,C.I$)("Breadcrumb",de=>{const k=(0,Le.mergeToken)(de,{});return Me(k)},He),Pe=function(de,k){var te={};for(var ie in de)Object.prototype.hasOwnProperty.call(de,ie)&&k.indexOf(ie)<0&&(te[ie]=de[ie]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,ie=Object.getOwnPropertySymbols(de);ye<ie.length;ye++)k.indexOf(ie[ye])<0&&Object.prototype.propertyIsEnumerable.call(de,ie[ye])&&(te[ie[ye]]=de[ie[ye]]);return te};function Ne(de){const{breadcrumbName:k,children:te}=de,ie=Pe(de,["breadcrumbName","children"]),ye=Object.assign({title:k},ie);return te&&(ye.menu={items:te.map(et=>{var{breadcrumbName:Te}=et,Qe=Pe(et,["breadcrumbName"]);return Object.assign(Object.assign({},Qe),{title:Te})})}),ye}function ae(de,k){return(0,t.useMemo)(()=>de||(k?k.map(Ne):null),[de,k])}var Ee=function(de,k){var te={};for(var ie in de)Object.prototype.hasOwnProperty.call(de,ie)&&k.indexOf(ie)<0&&(te[ie]=de[ie]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,ie=Object.getOwnPropertySymbols(de);ye<ie.length;ye++)k.indexOf(ie[ye])<0&&Object.prototype.propertyIsEnumerable.call(de,ie[ye])&&(te[ie[ye]]=de[ie[ye]]);return te};const R=(de,k)=>{if(k===void 0)return k;let te=(k||"").replace(/^\//,"");return Object.keys(de).forEach(ie=>{te=te.replace(`:${ie}`,de[ie])}),te},N=de=>{const{prefixCls:k,separator:te="/",style:ie,className:ye,rootClassName:et,routes:Te,items:Qe,children:Wt,itemRender:Ut,params:ze={}}=de,Ue=Ee(de,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:sr,direction:tr,breadcrumb:$e}=t.useContext(U.E_);let re;const g=sr("breadcrumb",k),[Xe,Se,ge]=We(g),fe=ae(Qe,Te),q=Z(g,Ut);if(fe&&fe.length>0){const Ae=[],Ye=Qe||Te;re=fe.map((At,Bt)=>{const{path:cr,key:ur,type:Et,menu:ut,overlay:Mt,onClick:Kt,className:Qt,separator:St,dropdownProps:pr}=At,Ur=R(ze,cr);Ur!==void 0&&Ae.push(Ur);const Lt=ur!=null?ur:Bt;if(Et==="separator")return t.createElement(H,{key:Lt},St);const lr={},_t=Bt===fe.length-1;ut?lr.menu=ut:Mt&&(lr.overlay=Mt);let{href:w}=At;return Ae.length&&Ur!==void 0&&(w=`#/${Ae.join("/")}`),t.createElement(j,Object.assign({key:Lt},lr,(0,G.Z)(At,{data:!0,aria:!0}),{className:Qt,dropdownProps:pr,href:w,separator:_t?"":te,onClick:Kt,prefixCls:g}),q(At,ze,Ye,Ae,w))})}else if(Wt){const Ae=(0,Be.Z)(Wt).length;re=(0,Be.Z)(Wt).map((Ye,At)=>{if(!Ye)return Ye;const Bt=At===Ae-1;return(0,J.Tm)(Ye,{separator:Bt?"":te,key:At})})}const we=$()(g,$e==null?void 0:$e.className,{[`${g}-rtl`]:tr==="rtl"},ye,et,Se,ge),Oe=Object.assign(Object.assign({},$e==null?void 0:$e.style),ie);return Xe(t.createElement("nav",Object.assign({className:we,style:Oe},Ue),t.createElement("ol",null,re)))};N.Item=M,N.Separator=H;var vt=N,ve=vt},38089:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return Xe}});var t=a(96641),Fe=a(67294),$=a(13144),Be=a.n($),G=a(13272),J=a(10366),U=a(87263),y=a(33603),W=a(8745),l=a(9708),H=a(53124),V=a(88258),Y=a(98866),T=a(35792),Z=a(98675),E=a(65223),j=a(27833),A=a(30307),M=a(15030),le=a(43277),ee=a(78642),C=a(4173);function Le(Se,ge){const{getPrefixCls:fe,direction:q,renderEmpty:we}=Fe.useContext(H.E_),Oe=ge||q,Ae=fe("select",Se),Ye=fe("cascader",Se);return[Ae,Ye,Oe,we]}var Me=Le;function He(Se,ge){return Fe.useMemo(()=>ge?Fe.createElement("span",{className:`${Se}-checkbox-inner`}):!1,[ge])}var We=a(55007),Pe=a(77322),Ne=a(79269),Ee=(Se,ge,fe)=>{let q=fe;fe||(q=ge?Fe.createElement(We.Z,null):Fe.createElement(Ne.Z,null));const we=Fe.createElement("span",{className:`${Se}-menu-item-loading-icon`},Fe.createElement(Pe.Z,{spin:!0}));return Fe.useMemo(()=>[q,we],[q])},R=a(80110),N=a(83559),vt=a(16777),ve=a(63185),de=a(14747),te=Se=>{const{prefixCls:ge,componentCls:fe}=Se,q=`${fe}-menu-item`,we=`
|
|
|
&${q}-expand ${q}-expand-icon,
|
|
|
${q}-loading-icon
|
|
|
`;return[(0,ve.C2)(`${ge}-checkbox`,Se),{[fe]:{"&-checkbox":{top:0,marginInlineEnd:Se.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${fe}-menu-empty`]:{[`${fe}-menu`]:{width:"100%",height:"auto",[q]:{color:Se.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:Se.controlItemWidth,height:Se.dropdownHeight,margin:0,padding:Se.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,vt.unit)(Se.lineWidth)} ${Se.lineType} ${Se.colorSplit}`},"&-item":Object.assign(Object.assign({},de.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Se.optionPadding,lineHeight:Se.lineHeight,cursor:"pointer",transition:`all ${Se.motionDurationMid}`,borderRadius:Se.borderRadiusSM,"&:hover":{background:Se.controlItemBgHover},"&-disabled":{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[we]:{color:Se.colorTextDisabled}},[`&-active:not(${q}-disabled)`]:{"&, &:hover":{color:Se.optionSelectedColor,fontWeight:Se.optionSelectedFontWeight,backgroundColor:Se.optionSelectedBg}},"&-content":{flex:"auto"},[we]:{marginInlineStart:Se.paddingXXS,color:Se.colorTextDescription,fontSize:Se.fontSizeIcon},"&-keyword":{color:Se.colorHighlight}})}}}]};const ie=Se=>{const{componentCls:ge,antCls:fe}=Se;return[{[ge]:{width:Se.controlWidth}},{[`${ge}-dropdown`]:[{[`&${fe}-select-dropdown`]:{padding:0}},te(Se)]},{[`${ge}-dropdown-rtl`]:{direction:"rtl"}},(0,R.c)(Se)]},ye=Se=>{const ge=Math.round((Se.controlHeight-Se.fontSize*Se.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Se.controlItemBgActive,optionSelectedFontWeight:Se.fontWeightStrong,optionPadding:`${ge}px ${Se.paddingSM}px`,menuPadding:Se.paddingXXS,optionSelectedColor:Se.colorText}};var et=(0,N.I$)("Cascader",Se=>[ie(Se)],ye);const Te=Se=>{const{componentCls:ge}=Se;return{[`${ge}-panel`]:[te(Se),{display:"inline-flex",border:`${(0,vt.unit)(Se.lineWidth)} ${Se.lineType} ${Se.colorSplit}`,borderRadius:Se.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${ge}-menus`]:{alignItems:"stretch"},[`${ge}-menu`]:{height:"auto"},"&-empty":{padding:Se.paddingXXS}}]}};var Qe=(0,N.A1)(["Cascader","Panel"],Se=>Te(Se),ye);function Wt(Se){const{prefixCls:ge,className:fe,multiple:q,rootClassName:we,notFoundContent:Oe,direction:Ae,expandIcon:Ye,disabled:At}=Se,Bt=Fe.useContext(Y.Z),cr=At!=null?At:Bt,[ur,Et,ut,Mt]=Me(ge,Ae),Kt=(0,T.Z)(Et),[Qt,St,pr]=et(Et,Kt);Qe(Et);const Ur=ut==="rtl",[Lt,lr]=Ee(ur,Ur,Ye),_t=Oe||(Mt==null?void 0:Mt("Cascader"))||Fe.createElement(V.Z,{componentName:"Cascader"}),w=He(Et,q);return Qt(Fe.createElement(G.s,Object.assign({},Se,{checkable:w,prefixCls:Et,className:Be()(fe,St,we,pr,Kt),notFoundContent:_t,direction:ut,expandIcon:Lt,loadingIcon:lr,disabled:cr})))}var Ut=Wt,ze=function(Se,ge){var fe={};for(var q in Se)Object.prototype.hasOwnProperty.call(Se,q)&&ge.indexOf(q)<0&&(fe[q]=Se[q]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,q=Object.getOwnPropertySymbols(Se);we<q.length;we++)ge.indexOf(q[we])<0&&Object.prototype.propertyIsEnumerable.call(Se,q[we])&&(fe[q[we]]=Se[q[we]]);return fe};const{SHOW_CHILD:Ue,SHOW_PARENT:sr}=G.default;function tr(Se,ge,fe){const q=Se.toLowerCase().split(ge).reduce((Ae,Ye,At)=>At===0?[Ye]:[].concat((0,t.Z)(Ae),[ge,Ye]),[]),we=[];let Oe=0;return q.forEach((Ae,Ye)=>{const At=Oe+Ae.length;let Bt=Se.slice(Oe,At);Oe=At,Ye%2===1&&(Bt=Fe.createElement("span",{className:`${fe}-menu-item-keyword`,key:`separator-${Ye}`},Bt)),we.push(Bt)}),we}const $e=(Se,ge,fe,q)=>{const we=[],Oe=Se.toLowerCase();return ge.forEach((Ae,Ye)=>{Ye!==0&&we.push(" / ");let At=Ae[q.label];const Bt=typeof At;(Bt==="string"||Bt==="number")&&(At=tr(String(At),Oe,fe)),we.push(At)}),we},re=Fe.forwardRef((Se,ge)=>{var fe;const{prefixCls:q,size:we,disabled:Oe,className:Ae,rootClassName:Ye,multiple:At,bordered:Bt=!0,transitionName:cr,choiceTransitionName:ur="",popupClassName:Et,dropdownClassName:ut,expandIcon:Mt,placement:Kt,showSearch:Qt,allowClear:St=!0,notFoundContent:pr,direction:Ur,getPopupContainer:Lt,status:lr,showArrow:_t,builtinPlacements:w,style:P,variant:Pt}=Se,ne=ze(Se,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),ke=(0,J.Z)(ne,["suffixIcon"]),{getPrefixCls:Mr,getPopupContainer:Pr,className:En,style:Nn}=(0,H.dj)("cascader"),{popupOverflow:mn}=Fe.useContext(H.E_),{status:yn,hasFeedback:Cn,isFormItemInput:L,feedbackIcon:x}=Fe.useContext(E.aM),Dr=(0,l.F)(yn,lr),[K,Tt,Xt,ar]=Me(q,Ur),ot=Xt==="rtl",Ie=Mr(),st=(0,T.Z)(K),[zt,rr,fr]=(0,M.Z)(K,st),ht=(0,T.Z)(Tt),[ln]=et(Tt,ht),{compactSize:pe,compactItemClassnames:qt}=(0,C.ri)(K,Ur),[gr,$r]=(0,j.Z)("cascader",Pt,Bt),tn=pr||(ar==null?void 0:ar("Cascader"))||Fe.createElement(V.Z,{componentName:"Cascader"}),$n=Be()(Et||ut,`${Tt}-dropdown`,{[`${Tt}-dropdown-rtl`]:Xt==="rtl"},Ye,st,ht,rr,fr),Vt=Fe.useMemo(()=>{if(!Qt)return Qt;let Gr={render:$e};return typeof Qt=="object"&&(Gr=Object.assign(Object.assign({},Gr),Qt)),Gr},[Qt]),yr=(0,Z.Z)(Gr=>{var Kn;return(Kn=we!=null?we:pe)!==null&&Kn!==void 0?Kn:Gr}),jr=Fe.useContext(Y.Z),Er=Oe!=null?Oe:jr,[Kr,Jr]=Ee(K,ot,Mt),mt=He(Tt,At),Jt=(0,ee.Z)(Se.suffixIcon,_t),{suffixIcon:nr,removeIcon:dr,clearIcon:Rr}=(0,le.Z)(Object.assign(Object.assign({},Se),{hasFeedback:Cn,feedbackIcon:x,showSuffixIcon:Jt,multiple:At,prefixCls:K,componentName:"Cascader"})),Sn=Fe.useMemo(()=>Kt!==void 0?Kt:ot?"bottomRight":"bottomLeft",[Kt,ot]),an=St===!0?{clearIcon:Rr}:St,[An]=(0,U.Cn)("SelectLike",(fe=ke.dropdownStyle)===null||fe===void 0?void 0:fe.zIndex),zn=Fe.createElement(G.default,Object.assign({prefixCls:K,className:Be()(!q&&Tt,{[`${K}-lg`]:yr==="large",[`${K}-sm`]:yr==="small",[`${K}-rtl`]:ot,[`${K}-${gr}`]:$r,[`${K}-in-form-item`]:L},(0,l.Z)(K,Dr,Cn),qt,En,Ae,Ye,st,ht,rr,fr),disabled:Er,style:Object.assign(Object.assign({},Nn),P)},ke,{builtinPlacements:(0,A.Z)(w,mn),direction:Xt,placement:Sn,notFoundContent:tn,allowClear:an,showSearch:Vt,expandIcon:Kr,suffixIcon:nr,removeIcon:dr,loadingIcon:Jr,checkable:mt,dropdownClassName:$n,dropdownPrefixCls:q||Tt,dropdownStyle:Object.assign(Object.assign({},ke.dropdownStyle),{zIndex:An}),choiceTransitionName:(0,y.m)(Ie,"",ur),transitionName:(0,y.m)(Ie,"slide-up",cr),getPopupContainer:Lt||Pr,ref:ge}));return ln(zt(zn))}),g=(0,W.Z)(re,"dropdownAlign",Se=>(0,J.Z)(Se,["visible"]));re.SHOW_PARENT=sr,re.SHOW_CHILD=Ue,re.Panel=Ut,re._InternalPanelDoNotUseOrYouWillBeFired=g;var Xe=re},84567:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return We}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(95860),G=a(17799),J=a(45353),U=a(92429),y=a(53124),W=a(98866),l=a(35792),H=a(65223),Y=t.createContext(null),T=a(63185),Z=a(5273),E=function(Pe,Ne){var ae={};for(var Ee in Pe)Object.prototype.hasOwnProperty.call(Pe,Ee)&&Ne.indexOf(Ee)<0&&(ae[Ee]=Pe[Ee]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,Ee=Object.getOwnPropertySymbols(Pe);R<Ee.length;R++)Ne.indexOf(Ee[R])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ee[R])&&(ae[Ee[R]]=Pe[Ee[R]]);return ae};const j=(Pe,Ne)=>{var ae;const{prefixCls:Ee,className:R,rootClassName:N,children:vt,indeterminate:ve=!1,style:de,onMouseEnter:k,onMouseLeave:te,skipGroup:ie=!1,disabled:ye}=Pe,et=E(Pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Te,direction:Qe,checkbox:Wt}=t.useContext(y.E_),Ut=t.useContext(Y),{isFormItemInput:ze}=t.useContext(H.aM),Ue=t.useContext(W.Z),sr=(ae=(Ut==null?void 0:Ut.disabled)||ye)!==null&&ae!==void 0?ae:Ue,tr=t.useRef(et.value),$e=t.useRef(null),re=(0,G.sQ)(Ne,$e);t.useEffect(()=>{Ut==null||Ut.registerValue(et.value)},[]),t.useEffect(()=>{if(!ie)return et.value!==tr.current&&(Ut==null||Ut.cancelValue(tr.current),Ut==null||Ut.registerValue(et.value),tr.current=et.value),()=>Ut==null?void 0:Ut.cancelValue(et.value)},[et.value]),t.useEffect(()=>{var At;!((At=$e.current)===null||At===void 0)&&At.input&&($e.current.input.indeterminate=ve)},[ve]);const g=Te("checkbox",Ee),Xe=(0,l.Z)(g),[Se,ge,fe]=(0,T.ZP)(g,Xe),q=Object.assign({},et);Ut&&!ie&&(q.onChange=function(){et.onChange&&et.onChange.apply(et,arguments),Ut.toggleOption&&Ut.toggleOption({label:vt,value:et.value})},q.name=Ut.name,q.checked=Ut.value.includes(et.value));const we=$()(`${g}-wrapper`,{[`${g}-rtl`]:Qe==="rtl",[`${g}-wrapper-checked`]:q.checked,[`${g}-wrapper-disabled`]:sr,[`${g}-wrapper-in-form-item`]:ze},Wt==null?void 0:Wt.className,R,N,fe,Xe,ge),Oe=$()({[`${g}-indeterminate`]:ve},U.A,ge),[Ae,Ye]=(0,Z.Z)(q.onClick);return Se(t.createElement(J.Z,{component:"Checkbox",disabled:sr},t.createElement("label",{className:we,style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),de),onMouseEnter:k,onMouseLeave:te,onClick:Ae},t.createElement(Be.Z,Object.assign({},q,{onClick:Ye,prefixCls:g,className:Oe,disabled:sr,ref:re})),vt!==void 0&&t.createElement("span",{className:`${g}-label`},vt))))};var M=t.forwardRef(j),le=a(96641),ee=a(10366),C=function(Pe,Ne){var ae={};for(var Ee in Pe)Object.prototype.hasOwnProperty.call(Pe,Ee)&&Ne.indexOf(Ee)<0&&(ae[Ee]=Pe[Ee]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,Ee=Object.getOwnPropertySymbols(Pe);R<Ee.length;R++)Ne.indexOf(Ee[R])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ee[R])&&(ae[Ee[R]]=Pe[Ee[R]]);return ae},Me=t.forwardRef((Pe,Ne)=>{const{defaultValue:ae,children:Ee,options:R=[],prefixCls:N,className:vt,rootClassName:ve,style:de,onChange:k}=Pe,te=C(Pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ie,direction:ye}=t.useContext(y.E_),[et,Te]=t.useState(te.value||ae||[]),[Qe,Wt]=t.useState([]);t.useEffect(()=>{"value"in te&&Te(te.value||[])},[te.value]);const Ut=t.useMemo(()=>R.map(Oe=>typeof Oe=="string"||typeof Oe=="number"?{label:Oe,value:Oe}:Oe),[R]),ze=Oe=>{Wt(Ae=>Ae.filter(Ye=>Ye!==Oe))},Ue=Oe=>{Wt(Ae=>[].concat((0,le.Z)(Ae),[Oe]))},sr=Oe=>{const Ae=et.indexOf(Oe.value),Ye=(0,le.Z)(et);Ae===-1?Ye.push(Oe.value):Ye.splice(Ae,1),"value"in te||Te(Ye),k==null||k(Ye.filter(At=>Qe.includes(At)).sort((At,Bt)=>{const cr=Ut.findIndex(Et=>Et.value===At),ur=Ut.findIndex(Et=>Et.value===Bt);return cr-ur}))},tr=ie("checkbox",N),$e=`${tr}-group`,re=(0,l.Z)(tr),[g,Xe,Se]=(0,T.ZP)(tr,re),ge=(0,ee.Z)(te,["value","disabled"]),fe=R.length?Ut.map(Oe=>t.createElement(M,{prefixCls:tr,key:Oe.value.toString(),disabled:"disabled"in Oe?Oe.disabled:te.disabled,value:Oe.value,checked:et.includes(Oe.value),onChange:Oe.onChange,className:`${$e}-item`,style:Oe.style,title:Oe.title,id:Oe.id,required:Oe.required},Oe.label)):Ee,q={toggleOption:sr,value:et,disabled:te.disabled,name:te.name,registerValue:Ue,cancelValue:ze},we=$()($e,{[`${$e}-rtl`]:ye==="rtl"},vt,ve,Se,re,Xe);return g(t.createElement("div",Object.assign({className:we,style:de},ge,{ref:Ne}),t.createElement(Y.Provider,{value:q},fe)))});const He=M;He.Group=Me,He.__ANT_CHECKBOX=!0;var We=He},63185:function(on,Yt,a){"use strict";a.d(Yt,{C2:function(){return J}});var t=a(16777),Fe=a(14747),$=a(43259),Be=a(83559);const G=U=>{const{checkboxCls:y}=U,W=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,Fe.Wf)(U)),{display:"inline-flex",flexWrap:"wrap",columnGap:U.marginXS,[`> ${U.antCls}-row`]:{flex:1}}),[W]:Object.assign(Object.assign({},(0,Fe.Wf)(U)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${W}`]:{marginInlineStart:0},[`&${W}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,Fe.Wf)(U)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:U.borderRadiusSM,alignSelf:"center",[`${y}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${y}-inner`]:Object.assign({},(0,Fe.oN)(U))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:U.checkboxSize,height:U.checkboxSize,direction:"ltr",backgroundColor:U.colorBgContainer,border:`${(0,t.unit)(U.lineWidth)} ${U.lineType} ${U.colorBorder}`,borderRadius:U.borderRadiusSM,borderCollapse:"separate",transition:`all ${U.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:U.calc(U.checkboxSize).div(14).mul(5).equal(),height:U.calc(U.checkboxSize).div(14).mul(8).equal(),border:`${(0,t.unit)(U.lineWidthBold)} solid ${U.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${U.motionDurationFast} ${U.motionEaseInBack}, opacity ${U.motionDurationFast}`}},"& + span":{paddingInlineStart:U.paddingXS,paddingInlineEnd:U.paddingXS}})},{[`
|
|
|
${W}:not(${W}-disabled),
|
|
|
${y}:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{borderColor:U.colorPrimary}},[`${W}:not(${W}-disabled)`]:{[`&:hover ${y}-checked:not(${y}-disabled) ${y}-inner`]:{backgroundColor:U.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${y}-checked:not(${y}-disabled):after`]:{borderColor:U.colorPrimaryHover}}},{[`${y}-checked`]:{[`${y}-inner`]:{backgroundColor:U.colorPrimary,borderColor:U.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${U.motionDurationMid} ${U.motionEaseOutBack} ${U.motionDurationFast}`}}},[`
|
|
|
${W}-checked:not(${W}-disabled),
|
|
|
${y}-checked:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{backgroundColor:U.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${U.colorBgContainer} !important`,borderColor:`${U.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:U.calc(U.fontSizeLG).div(2).equal(),height:U.calc(U.fontSizeLG).div(2).equal(),backgroundColor:U.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${U.colorBgContainer} !important`,borderColor:`${U.colorPrimary} !important`}}}},{[`${W}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:U.colorBgContainerDisabled,borderColor:U.colorBorder,"&:after":{borderColor:U.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:U.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:U.colorTextDisabled}}}]};function J(U,y){const W=(0,$.mergeToken)(y,{checkboxCls:`.${U}`,checkboxSize:y.controlInteractiveSize});return[G(W)]}Yt.ZP=(0,Be.I$)("Checkbox",(U,y)=>{let{prefixCls:W}=y;return[J(W,U)]})},5273:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return $}});var t=a(67294),Fe=a(96523);function $(Be){const G=t.useRef(null),J=()=>{Fe.Z.cancel(G.current),G.current=null};return[()=>{J(),G.current=(0,Fe.Z)(()=>{G.current=null})},W=>{G.current&&(W.stopPropagation(),J()),Be==null||Be(W)}]}},69234:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return Pe}});var t=a(67294),Fe=a(79269),$=a(13144),Be=a.n($),G=a(3510),J=a(37419),U=a(10366),y=a(33603),W=a(96159),l=a(53124),H=a(98675),Y=t.forwardRef((Ne,ae)=>{const{getPrefixCls:Ee}=t.useContext(l.E_),{prefixCls:R,className:N,showArrow:vt=!0}=Ne,ve=Ee("collapse",R),de=Be()({[`${ve}-no-arrow`]:!vt},N);return t.createElement(G.default.Panel,Object.assign({ref:ae},Ne,{prefixCls:ve,className:de}))}),T=a(16777),Z=a(14747),E=a(33507),j=a(83559),A=a(43259);const M=Ne=>{const{componentCls:ae,contentBg:Ee,padding:R,headerBg:N,headerPadding:vt,collapseHeaderPaddingSM:ve,collapseHeaderPaddingLG:de,collapsePanelBorderRadius:k,lineWidth:te,lineType:ie,colorBorder:ye,colorText:et,colorTextHeading:Te,colorTextDisabled:Qe,fontSizeLG:Wt,lineHeight:Ut,lineHeightLG:ze,marginSM:Ue,paddingSM:sr,paddingLG:tr,paddingXS:$e,motionDurationSlow:re,fontSizeIcon:g,contentPadding:Xe,fontHeight:Se,fontHeightLG:ge}=Ne,fe=`${(0,T.unit)(te)} ${ie} ${ye}`;return{[ae]:Object.assign(Object.assign({},(0,Z.Wf)(Ne)),{backgroundColor:N,border:fe,borderRadius:k,"&-rtl":{direction:"rtl"},[`& > ${ae}-item`]:{borderBottom:fe,"&:first-child":{[`
|
|
|
&,
|
|
|
& > ${ae}-header`]:{borderRadius:`${(0,T.unit)(k)} ${(0,T.unit)(k)} 0 0`}},"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${ae}-header`]:{borderRadius:`0 0 ${(0,T.unit)(k)} ${(0,T.unit)(k)}`}},[`> ${ae}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:vt,color:Te,lineHeight:Ut,cursor:"pointer",transition:`all ${re}, visibility 0s`},(0,Z.Qy)(Ne)),{[`> ${ae}-header-text`]:{flex:"auto"},[`${ae}-expand-icon`]:{height:Se,display:"flex",alignItems:"center",paddingInlineEnd:Ue},[`${ae}-arrow`]:Object.assign(Object.assign({},(0,Z.Ro)()),{fontSize:g,transition:`transform ${re}`,svg:{transition:`transform ${re}`}}),[`${ae}-header-text`]:{marginInlineEnd:"auto"}}),[`${ae}-collapsible-header`]:{cursor:"default",[`${ae}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ae}-collapsible-icon`]:{cursor:"unset",[`${ae}-expand-icon`]:{cursor:"pointer"}}},[`${ae}-content`]:{color:et,backgroundColor:Ee,borderTop:fe,[`& > ${ae}-content-box`]:{padding:Xe},"&-hidden":{display:"none"}},"&-small":{[`> ${ae}-item`]:{[`> ${ae}-header`]:{padding:ve,paddingInlineStart:$e,[`> ${ae}-expand-icon`]:{marginInlineStart:Ne.calc(sr).sub($e).equal()}},[`> ${ae}-content > ${ae}-content-box`]:{padding:sr}}},"&-large":{[`> ${ae}-item`]:{fontSize:Wt,lineHeight:ze,[`> ${ae}-header`]:{padding:de,paddingInlineStart:R,[`> ${ae}-expand-icon`]:{height:ge,marginInlineStart:Ne.calc(tr).sub(R).equal()}},[`> ${ae}-content > ${ae}-content-box`]:{padding:tr}}},[`${ae}-item:last-child`]:{borderBottom:0,[`> ${ae}-content`]:{borderRadius:`0 0 ${(0,T.unit)(k)} ${(0,T.unit)(k)}`}},[`& ${ae}-item-disabled > ${ae}-header`]:{"\n &,\n & > .arrow\n ":{color:Qe,cursor:"not-allowed"}},[`&${ae}-icon-position-end`]:{[`& > ${ae}-item`]:{[`> ${ae}-header`]:{[`${ae}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Ue}}}}})}},le=Ne=>{const{componentCls:ae}=Ne,Ee=`> ${ae}-item > ${ae}-header ${ae}-arrow`;return{[`${ae}-rtl`]:{[Ee]:{transform:"rotate(180deg)"}}}},ee=Ne=>{const{componentCls:ae,headerBg:Ee,paddingXXS:R,colorBorder:N}=Ne;return{[`${ae}-borderless`]:{backgroundColor:Ee,border:0,[`> ${ae}-item`]:{borderBottom:`1px solid ${N}`},[`
|
|
|
> ${ae}-item:last-child,
|
|
|
> ${ae}-item:last-child ${ae}-header
|
|
|
`]:{borderRadius:0},[`> ${ae}-item:last-child`]:{borderBottom:0},[`> ${ae}-item > ${ae}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ae}-item > ${ae}-content > ${ae}-content-box`]:{paddingTop:R}}}},C=Ne=>{const{componentCls:ae,paddingSM:Ee}=Ne;return{[`${ae}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ae}-item`]:{borderBottom:0,[`> ${ae}-content`]:{backgroundColor:"transparent",border:0,[`> ${ae}-content-box`]:{paddingBlock:Ee}}}}}},Le=Ne=>({headerPadding:`${Ne.paddingSM}px ${Ne.padding}px`,headerBg:Ne.colorFillAlter,contentPadding:`${Ne.padding}px 16px`,contentBg:Ne.colorBgContainer});var Me=(0,j.I$)("Collapse",Ne=>{const ae=(0,A.mergeToken)(Ne,{collapseHeaderPaddingSM:`${(0,T.unit)(Ne.paddingXS)} ${(0,T.unit)(Ne.paddingSM)}`,collapseHeaderPaddingLG:`${(0,T.unit)(Ne.padding)} ${(0,T.unit)(Ne.paddingLG)}`,collapsePanelBorderRadius:Ne.borderRadiusLG});return[M(ae),ee(ae),C(ae),le(ae),(0,E.Z)(ae)]},Le),We=Object.assign(t.forwardRef((Ne,ae)=>{const{getPrefixCls:Ee,direction:R,expandIcon:N,className:vt,style:ve}=(0,l.dj)("collapse"),{prefixCls:de,className:k,rootClassName:te,style:ie,bordered:ye=!0,ghost:et,size:Te,expandIconPosition:Qe="start",children:Wt,expandIcon:Ut}=Ne,ze=(0,H.Z)(we=>{var Oe;return(Oe=Te!=null?Te:we)!==null&&Oe!==void 0?Oe:"middle"}),Ue=Ee("collapse",de),sr=Ee(),[tr,$e,re]=Me(Ue),g=t.useMemo(()=>Qe==="left"?"start":Qe==="right"?"end":Qe,[Qe]),Xe=Ut!=null?Ut:N,Se=t.useCallback(function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Oe=typeof Xe=="function"?Xe(we):t.createElement(Fe.Z,{rotate:we.isActive?R==="rtl"?-90:90:void 0,"aria-label":we.isActive?"expanded":"collapsed"});return(0,W.Tm)(Oe,()=>{var Ae;return{className:Be()((Ae=Oe==null?void 0:Oe.props)===null||Ae===void 0?void 0:Ae.className,`${Ue}-arrow`)}})},[Xe,Ue]),ge=Be()(`${Ue}-icon-position-${g}`,{[`${Ue}-borderless`]:!ye,[`${Ue}-rtl`]:R==="rtl",[`${Ue}-ghost`]:!!et,[`${Ue}-${ze}`]:ze!=="middle"},vt,k,te,$e,re),fe=Object.assign(Object.assign({},(0,y.Z)(sr)),{motionAppear:!1,leavedClassName:`${Ue}-content-hidden`}),q=t.useMemo(()=>Wt?(0,J.Z)(Wt).map((we,Oe)=>{var Ae,Ye;const At=we.props;if(At!=null&&At.disabled){const Bt=(Ae=we.key)!==null&&Ae!==void 0?Ae:String(Oe),cr=Object.assign(Object.assign({},(0,U.Z)(we.props,["disabled"])),{key:Bt,collapsible:(Ye=At.collapsible)!==null&&Ye!==void 0?Ye:"disabled"});return(0,W.Tm)(we,cr)}return we}):null,[Wt]);return tr(t.createElement(G.default,Object.assign({ref:ae,openMotion:fe},(0,U.Z)(Ne,["rootClassName"]),{expandIcon:Se,prefixCls:Ue,className:ge,style:Object.assign(Object.assign({},ve),ie)}),q))}),{Panel:Y}),Pe=We},88258:function(on,Yt,a){"use strict";var t=a(67294),Fe=a(53124),$=a(32983);const Be=G=>{const{componentName:J}=G,{getPrefixCls:U}=(0,t.useContext)(Fe.E_),y=U("empty");switch(J){case"Table":case"List":return t.createElement($.Z,{image:$.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return t.createElement($.Z,{image:$.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return t.createElement($.Z,null)}};Yt.Z=Be},18046:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return ar}});var t=a(63697),Fe=a(8745),$=a(67294),Be=a(83963),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},J=G,U=a(84180),y=function(Ie,st){return $.createElement(U.Z,(0,Be.Z)({},Ie,{ref:st,icon:J}))},W=$.forwardRef(y),l=W,H={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},V=H,Y=function(Ie,st){return $.createElement(U.Z,(0,Be.Z)({},Ie,{ref:st,icon:V}))},T=$.forwardRef(Y),Z=T,E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},j=E,A=function(Ie,st){return $.createElement(U.Z,(0,Be.Z)({},Ie,{ref:st,icon:j}))},M=$.forwardRef(A),le=M,ee=a(13144),C=a.n(ee),Le=a(24465),Me=a(89942),He=a(87263),We=a(9708),Pe=a(53124),Ne=a(98866),ae=a(35792),Ee=a(98675),R=a(65223),N=a(27833),vt=a(10110),ve=a(4173),de=a(87206),k=a(16777),te=a(47673),ie=a(20353),ye=a(14747),et=a(80110),Te=a(67771),Qe=a(33297),Wt=a(79511),Ut=a(83559),ze=a(43259),Ue=a(16928);const sr=(ot,Ie)=>{const{componentCls:st,controlHeight:zt}=ot,rr=Ie?`${st}-${Ie}`:"",fr=(0,Ue.gp)(ot);return[{[`${st}-multiple${rr}`]:{paddingBlock:fr.containerPadding,paddingInlineStart:fr.basePadding,minHeight:zt,[`${st}-selection-item`]:{height:fr.itemHeight,lineHeight:(0,k.unit)(fr.itemLineHeight)}}}]};var $e=ot=>{const{componentCls:Ie,calc:st,lineWidth:zt}=ot,rr=(0,ze.mergeToken)(ot,{fontHeight:ot.fontSize,selectHeight:ot.controlHeightSM,multipleSelectItemHeight:ot.multipleItemHeightSM,borderRadius:ot.borderRadiusSM,borderRadiusSM:ot.borderRadiusXS,controlHeight:ot.controlHeightSM}),fr=(0,ze.mergeToken)(ot,{fontHeight:st(ot.multipleItemHeightLG).sub(st(zt).mul(2).equal()).equal(),fontSize:ot.fontSizeLG,selectHeight:ot.controlHeightLG,multipleSelectItemHeight:ot.multipleItemHeightLG,borderRadius:ot.borderRadiusLG,borderRadiusSM:ot.borderRadius,controlHeight:ot.controlHeightLG});return[sr(rr,"small"),sr(ot),sr(fr,"large"),{[`${Ie}${Ie}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Ie}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Ie}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ot.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${ot.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:ot.colorTextPlaceholder,pointerEvents:"none"}}},(0,Ue._z)(ot)),{[`${Ie}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},re=a(24327);const g=ot=>{const{pickerCellCls:Ie,pickerCellInnerCls:st,cellHeight:zt,borderRadiusSM:rr,motionDurationMid:fr,cellHoverBg:ht,lineWidth:ln,lineType:pe,colorPrimary:qt,cellActiveWithRangeBg:gr,colorTextLightSolid:$r,colorTextDisabled:tn,cellBgDisabled:$n,colorFillSecondary:Vt}=ot;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:zt,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[st]:{position:"relative",zIndex:2,display:"inline-block",minWidth:zt,height:zt,lineHeight:(0,k.unit)(zt),borderRadius:rr,transition:`background ${fr}`},[`&:hover:not(${Ie}-in-view):not(${Ie}-disabled),
|
|
|
&:hover:not(${Ie}-selected):not(${Ie}-range-start):not(${Ie}-range-end):not(${Ie}-disabled)`]:{[st]:{background:ht}},[`&-in-view${Ie}-today ${st}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,k.unit)(ln)} ${pe} ${qt}`,borderRadius:rr,content:'""'}},[`&-in-view${Ie}-in-range,
|
|
|
&-in-view${Ie}-range-start,
|
|
|
&-in-view${Ie}-range-end`]:{position:"relative",[`&:not(${Ie}-disabled):before`]:{background:gr}},[`&-in-view${Ie}-selected,
|
|
|
&-in-view${Ie}-range-start,
|
|
|
&-in-view${Ie}-range-end`]:{[`&:not(${Ie}-disabled) ${st}`]:{color:$r,background:qt},[`&${Ie}-disabled ${st}`]:{background:Vt}},[`&-in-view${Ie}-range-start:not(${Ie}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Ie}-range-end:not(${Ie}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Ie}-range-start:not(${Ie}-range-end) ${st}`]:{borderStartStartRadius:rr,borderEndStartRadius:rr,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ie}-range-end:not(${Ie}-range-start) ${st}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:rr,borderEndEndRadius:rr},"&-disabled":{color:tn,cursor:"not-allowed",[st]:{background:"transparent"},"&::before":{background:$n}},[`&-disabled${Ie}-today ${st}::before`]:{borderColor:tn}}},Xe=ot=>{const{componentCls:Ie,pickerCellCls:st,pickerCellInnerCls:zt,pickerYearMonthCellWidth:rr,pickerControlIconSize:fr,cellWidth:ht,paddingSM:ln,paddingXS:pe,paddingXXS:qt,colorBgContainer:gr,lineWidth:$r,lineType:tn,borderRadiusLG:$n,colorPrimary:Vt,colorTextHeading:yr,colorSplit:jr,pickerControlIconBorderWidth:Er,colorIcon:Kr,textHeight:Jr,motionDurationMid:mt,colorIconHover:Jt,fontWeightStrong:nr,cellHeight:dr,pickerCellPaddingVertical:Rr,colorTextDisabled:Sn,colorText:an,fontSize:An,motionDurationSlow:zn,withoutTimeCellHeight:Gr,pickerQuarterPanelContentHeight:Kn,borderRadiusSM:In,colorTextLightSolid:ha,cellHoverBg:Oa,timeColumnHeight:Ca,timeColumnWidth:ra,timeCellHeight:p,controlItemBgActive:c,marginXXS:d,pickerDatePanelPaddingHorizontal:v,pickerControlIconMargin:I}=ot,b=ot.calc(ht).mul(7).add(ot.calc(v).mul(2)).equal();return{[Ie]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:gr,borderRadius:$n,outline:"none","&-focused":{borderColor:Vt},"&-rtl":{[`${Ie}-prev-icon,
|
|
|
${Ie}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Ie}-next-icon,
|
|
|
${Ie}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Ie}-time-panel`]:{[`${Ie}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:b},"&-header":{display:"flex",padding:`0 ${(0,k.unit)(pe)}`,color:yr,borderBottom:`${(0,k.unit)($r)} ${tn} ${jr}`,"> *":{flex:"none"},button:{padding:0,color:Kr,lineHeight:(0,k.unit)(Jr),background:"transparent",border:0,cursor:"pointer",transition:`color ${mt}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:An,"&:hover":{color:Jt},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:nr,lineHeight:(0,k.unit)(Jr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:pe},"&:hover":{color:Vt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:fr,height:fr,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:fr,height:fr,border:"0 solid currentcolor",borderBlockStartWidth:Er,borderInlineStartWidth:Er,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:I,insetInlineStart:I,display:"inline-block",width:fr,height:fr,border:"0 solid currentcolor",borderBlockStartWidth:Er,borderInlineStartWidth:Er,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:dr,fontWeight:"normal"},th:{height:ot.calc(dr).add(ot.calc(Rr).mul(2)).equal(),color:an,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,k.unit)(Rr)} 0`,color:Sn,cursor:"pointer","&-in-view":{color:an}},g(ot)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ie}-content`]:{height:ot.calc(Gr).mul(4).equal()},[zt]:{padding:`0 ${(0,k.unit)(pe)}`}},"&-quarter-panel":{[`${Ie}-content`]:{height:Kn}},"&-decade-panel":{[zt]:{padding:`0 ${(0,k.unit)(ot.calc(pe).div(2).equal())}`},[`${Ie}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ie}-body`]:{padding:`0 ${(0,k.unit)(pe)}`},[zt]:{width:rr}},"&-date-panel":{[`${Ie}-body`]:{padding:`${(0,k.unit)(pe)} ${(0,k.unit)(v)}`},[`${Ie}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Ie}-cell`]:{[`&:hover ${zt},
|
|
|
&-selected ${zt},
|
|
|
${zt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${mt}`},"&:first-child:before":{borderStartStartRadius:In,borderEndStartRadius:In},"&:last-child:before":{borderStartEndRadius:In,borderEndEndRadius:In}},"&:hover td:before":{background:Oa},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${st}`]:{"&:before":{background:Vt},[`&${Ie}-cell-week`]:{color:new re.FastColor(ha).setA(.5).toHexString()},[zt]:{color:ha}}},"&-range-hover td:before":{background:c}}},"&-week-panel, &-date-panel-show-week":{[`${Ie}-body`]:{padding:`${(0,k.unit)(pe)} ${(0,k.unit)(ln)}`},[`${Ie}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Ie}-time-panel`]:{borderInlineStart:`${(0,k.unit)($r)} ${tn} ${jr}`},[`${Ie}-date-panel,
|
|
|
${Ie}-time-panel`]:{transition:`opacity ${zn}`},"&-active":{[`${Ie}-date-panel,
|
|
|
${Ie}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Ie}-content`]:{display:"flex",flex:"auto",height:Ca},"&-column":{flex:"1 0 auto",width:ra,margin:`${(0,k.unit)(qt)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${mt}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:ot.colorTextTertiary,borderRadius:ot.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${ot.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,k.unit)(p)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,k.unit)($r)} ${tn} ${jr}`},"&-active":{background:new re.FastColor(c).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Ie}-time-panel-cell`]:{marginInline:d,[`${Ie}-time-panel-cell-inner`]:{display:"block",width:ot.calc(ra).sub(ot.calc(d).mul(2)).equal(),height:p,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:ot.calc(ra).sub(p).div(2).equal(),color:an,lineHeight:(0,k.unit)(p),borderRadius:In,cursor:"pointer",transition:`background ${mt}`,"&:hover":{background:Oa}},"&-selected":{[`${Ie}-time-panel-cell-inner`]:{background:c}},"&-disabled":{[`${Ie}-time-panel-cell-inner`]:{color:Sn,background:"transparent",cursor:"not-allowed"}}}}}}}}};var ge=ot=>{const{componentCls:Ie,textHeight:st,lineWidth:zt,paddingSM:rr,antCls:fr,colorPrimary:ht,cellActiveWithRangeBg:ln,colorPrimaryBorder:pe,lineType:qt,colorSplit:gr}=ot;return{[`${Ie}-dropdown`]:{[`${Ie}-footer`]:{borderTop:`${(0,k.unit)(zt)} ${qt} ${gr}`,"&-extra":{padding:`0 ${(0,k.unit)(rr)}`,lineHeight:(0,k.unit)(ot.calc(st).sub(ot.calc(zt).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,k.unit)(zt)} ${qt} ${gr}`}}},[`${Ie}-panels + ${Ie}-footer ${Ie}-ranges`]:{justifyContent:"space-between"},[`${Ie}-ranges`]:{marginBlock:0,paddingInline:(0,k.unit)(rr),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,k.unit)(ot.calc(st).sub(ot.calc(zt).mul(2)).equal()),display:"inline-block"},[`${Ie}-now-btn-disabled`]:{pointerEvents:"none",color:ot.colorTextDisabled},[`${Ie}-preset > ${fr}-tag-blue`]:{color:ht,background:ln,borderColor:pe,cursor:"pointer"},[`${Ie}-ok`]:{paddingBlock:ot.calc(zt).mul(2).equal(),marginInlineStart:"auto"}}}}};const fe=ot=>{const{componentCls:Ie,controlHeightLG:st,paddingXXS:zt,padding:rr}=ot;return{pickerCellCls:`${Ie}-cell`,pickerCellInnerCls:`${Ie}-cell-inner`,pickerYearMonthCellWidth:ot.calc(st).mul(1.5).equal(),pickerQuarterPanelContentHeight:ot.calc(st).mul(1.4).equal(),pickerCellPaddingVertical:ot.calc(zt).add(ot.calc(zt).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ot.calc(rr).add(ot.calc(zt).div(2)).equal()}},q=ot=>{const{colorBgContainerDisabled:Ie,controlHeight:st,controlHeightSM:zt,controlHeightLG:rr,paddingXXS:fr,lineWidth:ht}=ot,ln=fr*2,pe=ht*2,qt=Math.min(st-ln,st-pe),gr=Math.min(zt-ln,zt-pe),$r=Math.min(rr-ln,rr-pe);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(fr/2),cellHoverBg:ot.controlItemBgHover,cellActiveWithRangeBg:ot.controlItemBgActive,cellHoverWithRangeBg:new re.FastColor(ot.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new re.FastColor(ot.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Ie,timeColumnWidth:rr*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:zt*1.5,cellHeight:zt,textHeight:rr,withoutTimeCellHeight:rr*1.65,multipleItemBg:ot.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:qt,multipleItemHeightSM:gr,multipleItemHeightLG:$r,multipleSelectorBgDisabled:Ie,multipleItemColorDisabled:ot.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},we=ot=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,ie.T)(ot)),q(ot)),(0,Wt.w)(ot)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ot.zIndexPopupBase+50});var Oe=a(93900),Ye=ot=>{const{componentCls:Ie}=ot;return{[Ie]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oe.qG)(ot)),(0,Oe.vc)(ot)),(0,Oe.H8)(ot)),(0,Oe.Mu)(ot)),{"&-outlined":{[`&${Ie}-multiple ${Ie}-selection-item`]:{background:ot.multipleItemBg,border:`${(0,k.unit)(ot.lineWidth)} ${ot.lineType} ${ot.multipleItemBorderColor}`}},"&-filled":{[`&${Ie}-multiple ${Ie}-selection-item`]:{background:ot.colorBgContainer,border:`${(0,k.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorSplit}`}},"&-borderless":{[`&${Ie}-multiple ${Ie}-selection-item`]:{background:ot.multipleItemBg,border:`${(0,k.unit)(ot.lineWidth)} ${ot.lineType} ${ot.multipleItemBorderColor}`}},"&-underlined":{[`&${Ie}-multiple ${Ie}-selection-item`]:{background:ot.multipleItemBg,border:`${(0,k.unit)(ot.lineWidth)} ${ot.lineType} ${ot.multipleItemBorderColor}`}}}]}};const At=(ot,Ie,st,zt)=>{const rr=ot.calc(st).add(2).equal(),fr=ot.max(ot.calc(Ie).sub(rr).div(2).equal(),0),ht=ot.max(ot.calc(Ie).sub(rr).sub(fr).equal(),0);return{padding:`${(0,k.unit)(fr)} ${(0,k.unit)(zt)} ${(0,k.unit)(ht)}`}},Bt=ot=>{const{componentCls:Ie,colorError:st,colorWarning:zt}=ot;return{[`${Ie}:not(${Ie}-disabled):not([disabled])`]:{[`&${Ie}-status-error`]:{[`${Ie}-active-bar`]:{background:st}},[`&${Ie}-status-warning`]:{[`${Ie}-active-bar`]:{background:zt}}}}},cr=ot=>{const{componentCls:Ie,antCls:st,controlHeight:zt,paddingInline:rr,lineWidth:fr,lineType:ht,colorBorder:ln,borderRadius:pe,motionDurationMid:qt,colorTextDisabled:gr,colorTextPlaceholder:$r,controlHeightLG:tn,fontSizeLG:$n,controlHeightSM:Vt,paddingInlineSM:yr,paddingXS:jr,marginXS:Er,colorTextDescription:Kr,lineWidthBold:Jr,colorPrimary:mt,motionDurationSlow:Jt,zIndexPopup:nr,paddingXXS:dr,sizePopupArrow:Rr,colorBgElevated:Sn,borderRadiusLG:an,boxShadowSecondary:An,borderRadiusSM:zn,colorSplit:Gr,cellHoverBg:Kn,presetsWidth:In,presetsMaxWidth:ha,boxShadowPopoverArrow:Oa,fontHeight:Ca,fontHeightLG:ra,lineHeightLG:p}=ot;return[{[Ie]:Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(ot)),At(ot,zt,Ca,rr)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:pe,transition:`border ${qt}, box-shadow ${qt}, background ${qt}`,[`${Ie}-prefix`]:{flex:"0 0 auto",marginInlineEnd:ot.inputAffixPadding},[`${Ie}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:ot.fontSize,lineHeight:ot.lineHeight,transition:`all ${qt}`},(0,te.nz)($r)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:gr,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:$r}}},"&-large":Object.assign(Object.assign({},At(ot,tn,ra,rr)),{[`${Ie}-input > input`]:{fontSize:$n,lineHeight:p}}),"&-small":Object.assign({},At(ot,Vt,Ca,yr)),[`${Ie}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ot.calc(jr).div(2).equal(),color:gr,lineHeight:1,pointerEvents:"none",transition:`opacity ${qt}, color ${qt}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Er}}},[`${Ie}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:gr,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${qt}, color ${qt}`,"> *":{verticalAlign:"top"},"&:hover":{color:Kr}},"&:hover":{[`${Ie}-clear`]:{opacity:1},[`${Ie}-suffix:not(:last-child)`]:{opacity:0}},[`${Ie}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:$n,color:gr,fontSize:$n,verticalAlign:"top",cursor:"default",[`${Ie}-focused &`]:{color:Kr},[`${Ie}-range-separator &`]:{[`${Ie}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Ie}-active-bar`]:{bottom:ot.calc(fr).mul(-1).equal(),height:Jr,background:mt,opacity:0,transition:`all ${Jt} ease-out`,pointerEvents:"none"},[`&${Ie}-focused`]:{[`${Ie}-active-bar`]:{opacity:1}},[`${Ie}-range-separator`]:{alignItems:"center",padding:`0 ${(0,k.unit)(jr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Ie}-clear`]:{insetInlineEnd:rr},[`&${Ie}-small`]:{[`${Ie}-clear`]:{insetInlineEnd:yr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(ot)),Xe(ot)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:nr,[`&${Ie}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Ie}-dropdown-placement-bottomLeft,
|
|
|
&${Ie}-dropdown-placement-bottomRight`]:{[`${Ie}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Ie}-dropdown-placement-topLeft,
|
|
|
&${Ie}-dropdown-placement-topRight`]:{[`${Ie}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${st}-slide-up-appear, &${st}-slide-up-enter`]:{[`${Ie}-range-arrow${Ie}-range-arrow`]:{transition:"none"}},[`&${st}-slide-up-enter${st}-slide-up-enter-active${Ie}-dropdown-placement-topLeft,
|
|
|
&${st}-slide-up-enter${st}-slide-up-enter-active${Ie}-dropdown-placement-topRight,
|
|
|
&${st}-slide-up-appear${st}-slide-up-appear-active${Ie}-dropdown-placement-topLeft,
|
|
|
&${st}-slide-up-appear${st}-slide-up-appear-active${Ie}-dropdown-placement-topRight`]:{animationName:Te.Qt},[`&${st}-slide-up-enter${st}-slide-up-enter-active${Ie}-dropdown-placement-bottomLeft,
|
|
|
&${st}-slide-up-enter${st}-slide-up-enter-active${Ie}-dropdown-placement-bottomRight,
|
|
|
&${st}-slide-up-appear${st}-slide-up-appear-active${Ie}-dropdown-placement-bottomLeft,
|
|
|
&${st}-slide-up-appear${st}-slide-up-appear-active${Ie}-dropdown-placement-bottomRight`]:{animationName:Te.fJ},[`&${st}-slide-up-leave ${Ie}-panel-container`]:{pointerEvents:"none"},[`&${st}-slide-up-leave${st}-slide-up-leave-active${Ie}-dropdown-placement-topLeft,
|
|
|
&${st}-slide-up-leave${st}-slide-up-leave-active${Ie}-dropdown-placement-topRight`]:{animationName:Te.ly},[`&${st}-slide-up-leave${st}-slide-up-leave-active${Ie}-dropdown-placement-bottomLeft,
|
|
|
&${st}-slide-up-leave${st}-slide-up-leave-active${Ie}-dropdown-placement-bottomRight`]:{animationName:Te.Uw},[`${Ie}-panel > ${Ie}-time-panel`]:{paddingTop:dr},[`${Ie}-range-wrapper`]:{display:"flex",position:"relative"},[`${Ie}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:ot.calc(rr).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Jt} ease-out`},(0,Wt.W)(ot,Sn,Oa)),{"&:before":{insetInlineStart:ot.calc(rr).mul(1.5).equal()}}),[`${Ie}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Sn,borderRadius:an,boxShadow:An,transition:`margin ${Jt}`,display:"inline-block",pointerEvents:"auto",[`${Ie}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Ie}-presets`]:{display:"flex",flexDirection:"column",minWidth:In,maxWidth:ha,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:jr,borderInlineEnd:`${(0,k.unit)(fr)} ${ht} ${Gr}`,li:Object.assign(Object.assign({},ye.vS),{borderRadius:zn,paddingInline:jr,paddingBlock:ot.calc(Vt).sub(Ca).div(2).equal(),cursor:"pointer",transition:`all ${Jt}`,"+ li":{marginTop:Er},"&:hover":{background:Kn}})}},[`${Ie}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Ie}-panel`]:{borderWidth:0}}},[`${Ie}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Ie}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:ln}}}}),"&-dropdown-range":{padding:`${(0,k.unit)(ot.calc(Rr).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Ie}-separator`]:{transform:"scale(-1, 1)"},[`${Ie}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Te.oN)(ot,"slide-up"),(0,Te.oN)(ot,"slide-down"),(0,Qe.Fm)(ot,"move-up"),(0,Qe.Fm)(ot,"move-down")]};var ur=(0,Ut.I$)("DatePicker",ot=>{const Ie=(0,ze.mergeToken)((0,ie.e)(ot),fe(ot),{inputPaddingHorizontalBase:ot.calc(ot.paddingSM).sub(1).equal(),multipleSelectItemHeight:ot.multipleItemHeight,selectHeight:ot.controlHeight});return[ge(Ie),cr(Ie),Ye(Ie),Bt(Ie),$e(Ie),(0,et.c)(ot,{focusElCls:`${ot.componentCls}-focused`})]},we),Et=a(43277);function ut(ot,Ie,st){return st!==void 0?st:Ie==="year"&&ot.lang.yearPlaceholder?ot.lang.yearPlaceholder:Ie==="quarter"&&ot.lang.quarterPlaceholder?ot.lang.quarterPlaceholder:Ie==="month"&&ot.lang.monthPlaceholder?ot.lang.monthPlaceholder:Ie==="week"&&ot.lang.weekPlaceholder?ot.lang.weekPlaceholder:Ie==="time"&&ot.timePickerLocale.placeholder?ot.timePickerLocale.placeholder:ot.lang.placeholder}function Mt(ot,Ie,st){return st!==void 0?st:Ie==="year"&&ot.lang.yearPlaceholder?ot.lang.rangeYearPlaceholder:Ie==="quarter"&&ot.lang.quarterPlaceholder?ot.lang.rangeQuarterPlaceholder:Ie==="month"&&ot.lang.monthPlaceholder?ot.lang.rangeMonthPlaceholder:Ie==="week"&&ot.lang.weekPlaceholder?ot.lang.rangeWeekPlaceholder:Ie==="time"&&ot.timePickerLocale.placeholder?ot.timePickerLocale.rangePlaceholder:ot.lang.rangePlaceholder}function Kt(ot,Ie){const{allowClear:st=!0}=ot,{clearIcon:zt,removeIcon:rr}=(0,Et.Z)(Object.assign(Object.assign({},ot),{prefixCls:Ie,componentName:"DatePicker"}));return[$.useMemo(()=>st===!1?!1:Object.assign({clearIcon:zt},st===!0?{}:st),[st,zt]),rr]}const[Qt,St]=["week","WeekPicker"],[pr,Ur]=["month","MonthPicker"],[Lt,lr]=["year","YearPicker"],[_t,w]=["quarter","QuarterPicker"],[P,Pt]=["time","TimePicker"];var ne=a(85804),Mr=ot=>$.createElement(ne.ZP,Object.assign({size:"small",type:"primary"},ot));function Pr(ot){return(0,$.useMemo)(()=>Object.assign({button:Mr},ot),[ot])}var En=function(ot,Ie){var st={};for(var zt in ot)Object.prototype.hasOwnProperty.call(ot,zt)&&Ie.indexOf(zt)<0&&(st[zt]=ot[zt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rr=0,zt=Object.getOwnPropertySymbols(ot);rr<zt.length;rr++)Ie.indexOf(zt[rr])<0&&Object.prototype.propertyIsEnumerable.call(ot,zt[rr])&&(st[zt[rr]]=ot[zt[rr]]);return st},mn=ot=>(0,$.forwardRef)((st,zt)=>{var rr;const{prefixCls:fr,getPopupContainer:ht,components:ln,className:pe,style:qt,placement:gr,size:$r,disabled:tn,bordered:$n=!0,placeholder:Vt,popupClassName:yr,dropdownClassName:jr,status:Er,rootClassName:Kr,variant:Jr,picker:mt}=st,Jt=En(st,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),nr=$.useRef(null),{getPrefixCls:dr,direction:Rr,getPopupContainer:Sn,rangePicker:an}=(0,$.useContext)(Pe.E_),An=dr("picker",fr),{compactSize:zn,compactItemClassnames:Gr}=(0,ve.ri)(An,Rr),Kn=dr(),[In,ha]=(0,N.Z)("rangePicker",Jr,$n),Oa=(0,ae.Z)(An),[Ca,ra,p]=ur(An,Oa),[c]=Kt(st,An),d=Pr(ln),v=(0,Ee.Z)(Gt=>{var oe;return(oe=$r!=null?$r:zn)!==null&&oe!==void 0?oe:Gt}),I=$.useContext(Ne.Z),b=tn!=null?tn:I,B=(0,$.useContext)(R.aM),{hasFeedback:X,status:_,feedbackIcon:Ce}=B,_e=$.createElement($.Fragment,null,mt===P?$.createElement(Z,null):$.createElement(l,null),X&&Ce);(0,$.useImperativeHandle)(zt,()=>nr.current);const[Ge]=(0,vt.Z)("Calendar",de.Z),nt=Object.assign(Object.assign({},Ge),st.locale),[me]=(0,He.Cn)("DatePicker",(rr=st.popupStyle)===null||rr===void 0?void 0:rr.zIndex);return Ca($.createElement(Me.Z,{space:!0},$.createElement(Le.Sq,Object.assign({separator:$.createElement("span",{"aria-label":"to",className:`${An}-separator`},$.createElement(le,null)),disabled:b,ref:nr,placement:gr,placeholder:Mt(nt,mt,Vt),suffixIcon:_e,prevIcon:$.createElement("span",{className:`${An}-prev-icon`}),nextIcon:$.createElement("span",{className:`${An}-next-icon`}),superPrevIcon:$.createElement("span",{className:`${An}-super-prev-icon`}),superNextIcon:$.createElement("span",{className:`${An}-super-next-icon`}),transitionName:`${Kn}-slide-up`,picker:mt},Jt,{className:C()({[`${An}-${v}`]:v,[`${An}-${In}`]:ha},(0,We.Z)(An,(0,We.F)(_,Er),X),ra,Gr,pe,an==null?void 0:an.className,p,Oa,Kr),style:Object.assign(Object.assign({},an==null?void 0:an.style),qt),locale:nt.lang,prefixCls:An,getPopupContainer:ht||Sn,generateConfig:ot,components:d,direction:Rr,classNames:{popup:C()(ra,yr||jr,p,Oa,Kr)},styles:{popup:Object.assign(Object.assign({},st.popupStyle),{zIndex:me})},allowClear:c}))))}),yn=function(ot,Ie){var st={};for(var zt in ot)Object.prototype.hasOwnProperty.call(ot,zt)&&Ie.indexOf(zt)<0&&(st[zt]=ot[zt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rr=0,zt=Object.getOwnPropertySymbols(ot);rr<zt.length;rr++)Ie.indexOf(zt[rr])<0&&Object.prototype.propertyIsEnumerable.call(ot,zt[rr])&&(st[zt[rr]]=ot[zt[rr]]);return st},L=ot=>{const Ie=(pe,qt)=>{const gr=qt===Pt?"timePicker":"datePicker";return(0,$.forwardRef)((tn,$n)=>{var Vt;const{prefixCls:yr,getPopupContainer:jr,components:Er,style:Kr,className:Jr,rootClassName:mt,size:Jt,bordered:nr,placement:dr,placeholder:Rr,popupClassName:Sn,dropdownClassName:an,disabled:An,status:zn,variant:Gr,onCalendarChange:Kn}=tn,In=yn(tn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:ha,direction:Oa,getPopupContainer:Ca,[gr]:ra}=(0,$.useContext)(Pe.E_),p=ha("picker",yr),{compactSize:c,compactItemClassnames:d}=(0,ve.ri)(p,Oa),v=$.useRef(null),[I,b]=(0,N.Z)("datePicker",Gr,nr),B=(0,ae.Z)(p),[X,_,Ce]=ur(p,B);(0,$.useImperativeHandle)($n,()=>v.current);const _e={showToday:!0},Ge=pe||tn.picker,nt=ha(),{onSelect:me,multiple:Gt}=In,oe=me&&pe==="time"&&!Gt,jt=(Zr,br,Br)=>{Kn==null||Kn(Zr,br,Br),oe&&me(Zr)},[lt,Zt]=Kt(tn,p),wr=Pr(Er),cn=(0,Ee.Z)(Zr=>{var br;return(br=Jt!=null?Jt:c)!==null&&br!==void 0?br:Zr}),vn=$.useContext(Ne.Z),On=An!=null?An:vn,qr=(0,$.useContext)(R.aM),{hasFeedback:kt,status:un,feedbackIcon:gn}=qr,yt=$.createElement($.Fragment,null,Ge==="time"?$.createElement(Z,null):$.createElement(l,null),kt&&gn),[Ct]=(0,vt.Z)("DatePicker",de.Z),ir=Object.assign(Object.assign({},Ct),tn.locale),[Rt]=(0,He.Cn)("DatePicker",(Vt=tn.popupStyle)===null||Vt===void 0?void 0:Vt.zIndex);return X($.createElement(Me.Z,{space:!0},$.createElement(Le.ZP,Object.assign({ref:v,placeholder:ut(ir,Ge,Rr),suffixIcon:yt,placement:dr,prevIcon:$.createElement("span",{className:`${p}-prev-icon`}),nextIcon:$.createElement("span",{className:`${p}-next-icon`}),superPrevIcon:$.createElement("span",{className:`${p}-super-prev-icon`}),superNextIcon:$.createElement("span",{className:`${p}-super-next-icon`}),transitionName:`${nt}-slide-up`,picker:pe,onCalendarChange:jt},_e,In,{locale:ir.lang,className:C()({[`${p}-${cn}`]:cn,[`${p}-${I}`]:b},(0,We.Z)(p,(0,We.F)(un,zn),kt),_,d,ra==null?void 0:ra.className,Jr,Ce,B,mt),style:Object.assign(Object.assign({},ra==null?void 0:ra.style),Kr),prefixCls:p,getPopupContainer:jr||Ca,generateConfig:ot,components:wr,direction:Oa,disabled:On,classNames:{popup:C()(_,Ce,B,mt,Sn||an)},styles:{popup:Object.assign(Object.assign({},tn.popupStyle),{zIndex:Rt})},allowClear:lt,removeIcon:Zt}))))})},st=Ie(),zt=Ie(Qt,St),rr=Ie(pr,Ur),fr=Ie(Lt,lr),ht=Ie(_t,w),ln=Ie(P,Pt);return{DatePicker:st,WeekPicker:zt,MonthPicker:rr,YearPicker:fr,TimePicker:ln,QuarterPicker:ht}},Dr=ot=>{const{DatePicker:Ie,WeekPicker:st,MonthPicker:zt,YearPicker:rr,TimePicker:fr,QuarterPicker:ht}=L(ot),ln=mn(ot),pe=Ie;return pe.WeekPicker=st,pe.MonthPicker=zt,pe.YearPicker=rr,pe.RangePicker=ln,pe.TimePicker=fr,pe.QuarterPicker=ht,pe};const K=Dr(t.Z),Tt=(0,Fe.Z)(K,"popupAlign",void 0,"picker");K._InternalPanelDoNotUseOrYouWillBeFired=Tt;const Xt=(0,Fe.Z)(K.RangePicker,"popupAlign",void 0,"picker");K._InternalRangePanelDoNotUseOrYouWillBeFired=Xt,K.generatePicker=Dr;var ar=K},96074:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return T}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(53124),G=a(16777),J=a(14747),U=a(83559),y=a(43259);const W=Z=>{const{componentCls:E,sizePaddingEdgeHorizontal:j,colorSplit:A,lineWidth:M,textPaddingInline:le,orientationMargin:ee,verticalMarginInline:C}=Z;return{[E]:Object.assign(Object.assign({},(0,J.Wf)(Z)),{borderBlockStart:`${(0,G.unit)(M)} solid ${A}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:C,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,G.unit)(M)} solid ${A}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,G.unit)(Z.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${E}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,G.unit)(Z.dividerHorizontalWithTextGutterMargin)} 0`,color:Z.colorTextHeading,fontWeight:500,fontSize:Z.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${A}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,G.unit)(M)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${E}-with-text-start`]:{"&::before":{width:`calc(${ee} * 100%)`},"&::after":{width:`calc(100% - ${ee} * 100%)`}},[`&-horizontal${E}-with-text-end`]:{"&::before":{width:`calc(100% - ${ee} * 100%)`},"&::after":{width:`calc(${ee} * 100%)`}},[`${E}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:le},"&-dashed":{background:"none",borderColor:A,borderStyle:"dashed",borderWidth:`${(0,G.unit)(M)} 0 0`},[`&-horizontal${E}-with-text${E}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${E}-dashed`]:{borderInlineStartWidth:M,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:A,borderStyle:"dotted",borderWidth:`${(0,G.unit)(M)} 0 0`},[`&-horizontal${E}-with-text${E}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${E}-dotted`]:{borderInlineStartWidth:M,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${E}-with-text`]:{color:Z.colorText,fontWeight:"normal",fontSize:Z.fontSize},[`&-horizontal${E}-with-text-start${E}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${E}-inner-text`]:{paddingInlineStart:j}},[`&-horizontal${E}-with-text-end${E}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${E}-inner-text`]:{paddingInlineEnd:j}}})}},l=Z=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Z.marginXS});var H=(0,U.I$)("Divider",Z=>{const E=(0,y.mergeToken)(Z,{dividerHorizontalWithTextGutterMargin:Z.margin,dividerHorizontalGutterMargin:Z.marginLG,sizePaddingEdgeHorizontal:0});return[W(E)]},l,{unitless:{orientationMargin:!0}}),V=function(Z,E){var j={};for(var A in Z)Object.prototype.hasOwnProperty.call(Z,A)&&E.indexOf(A)<0&&(j[A]=Z[A]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,A=Object.getOwnPropertySymbols(Z);M<A.length;M++)E.indexOf(A[M])<0&&Object.prototype.propertyIsEnumerable.call(Z,A[M])&&(j[A[M]]=Z[A[M]]);return j},T=Z=>{const{getPrefixCls:E,direction:j,className:A,style:M}=(0,Be.dj)("divider"),{prefixCls:le,type:ee="horizontal",orientation:C="center",orientationMargin:Le,className:Me,rootClassName:He,children:We,dashed:Pe,variant:Ne="solid",plain:ae,style:Ee}=Z,R=V(Z,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),N=E("divider",le),[vt,ve,de]=H(N),k=!!We,te=t.useMemo(()=>C==="left"?j==="rtl"?"end":"start":C==="right"?j==="rtl"?"start":"end":C,[j,C]),ie=te==="start"&&Le!=null,ye=te==="end"&&Le!=null,et=$()(N,A,ve,de,`${N}-${ee}`,{[`${N}-with-text`]:k,[`${N}-with-text-${te}`]:k,[`${N}-dashed`]:!!Pe,[`${N}-${Ne}`]:Ne!=="solid",[`${N}-plain`]:!!ae,[`${N}-rtl`]:j==="rtl",[`${N}-no-default-orientation-margin-start`]:ie,[`${N}-no-default-orientation-margin-end`]:ye},Me,He),Te=t.useMemo(()=>typeof Le=="number"?Le:/^\d+$/.test(Le)?Number(Le):Le,[Le]),Qe={marginInlineStart:ie?Te:void 0,marginInlineEnd:ye?Te:void 0};return vt(t.createElement("div",Object.assign({className:et,style:Object.assign(Object.assign({},M),Ee)},R,{role:"separator"}),We&&ee!=="vertical"&&t.createElement("span",{className:`${N}-inner-text`,style:Qe},We)))}},95012:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return vt}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(42289),G=a(89942),J=a(87263),U=a(33603),y=a(43945),W=a(53124),l=a(16569),H=a(69760),V=a(48054),T=ve=>{var de,k;const{prefixCls:te,title:ie,footer:ye,extra:et,loading:Te,onClose:Qe,headerStyle:Wt,bodyStyle:Ut,footerStyle:ze,children:Ue,classNames:sr,styles:tr}=ve,$e=(0,W.dj)("drawer"),re=t.useCallback(fe=>t.createElement("button",{type:"button",onClick:Qe,"aria-label":"Close",className:`${te}-close`},fe),[Qe]),[g,Xe]=(0,H.Z)((0,H.w)(ve),(0,H.w)($e),{closable:!0,closeIconRender:re}),Se=t.useMemo(()=>{var fe,q;return!ie&&!g?null:t.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(fe=$e.styles)===null||fe===void 0?void 0:fe.header),Wt),tr==null?void 0:tr.header),className:$()(`${te}-header`,{[`${te}-header-close-only`]:g&&!ie&&!et},(q=$e.classNames)===null||q===void 0?void 0:q.header,sr==null?void 0:sr.header)},t.createElement("div",{className:`${te}-header-title`},Xe,ie&&t.createElement("div",{className:`${te}-title`},ie)),et&&t.createElement("div",{className:`${te}-extra`},et))},[g,Xe,et,Wt,te,ie]),ge=t.useMemo(()=>{var fe,q;if(!ye)return null;const we=`${te}-footer`;return t.createElement("div",{className:$()(we,(fe=$e.classNames)===null||fe===void 0?void 0:fe.footer,sr==null?void 0:sr.footer),style:Object.assign(Object.assign(Object.assign({},(q=$e.styles)===null||q===void 0?void 0:q.footer),ze),tr==null?void 0:tr.footer)},ye)},[ye,ze,te]);return t.createElement(t.Fragment,null,Se,t.createElement("div",{className:$()(`${te}-body`,sr==null?void 0:sr.body,(de=$e.classNames)===null||de===void 0?void 0:de.body),style:Object.assign(Object.assign(Object.assign({},(k=$e.styles)===null||k===void 0?void 0:k.body),Ut),tr==null?void 0:tr.body)},Te?t.createElement(V.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${te}-body-skeleton`}):Ue),ge)},Z=a(16777),E=a(14747),j=a(83559),A=a(43259);const M=ve=>{const de="100%";return{left:`translateX(-${de})`,right:`translateX(${de})`,top:`translateY(-${de})`,bottom:`translateY(${de})`}[ve]},le=(ve,de)=>({"&-enter, &-appear":Object.assign(Object.assign({},ve),{"&-active":de}),"&-leave":Object.assign(Object.assign({},de),{"&-active":ve})}),ee=(ve,de)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${de}`}}},le({opacity:ve},{opacity:1})),C=(ve,de)=>[ee(.7,de),le({transform:M(ve)},{transform:"none"})];var Me=ve=>{const{componentCls:de,motionDurationSlow:k}=ve;return{[de]:{[`${de}-mask-motion`]:ee(0,k),[`${de}-panel-motion`]:["left","right","top","bottom"].reduce((te,ie)=>Object.assign(Object.assign({},te),{[`&-${ie}`]:C(ie,k)}),{})}}};const He=ve=>{const{borderRadiusSM:de,componentCls:k,zIndexPopup:te,colorBgMask:ie,colorBgElevated:ye,motionDurationSlow:et,motionDurationMid:Te,paddingXS:Qe,padding:Wt,paddingLG:Ut,fontSizeLG:ze,lineHeightLG:Ue,lineWidth:sr,lineType:tr,colorSplit:$e,marginXS:re,colorIcon:g,colorIconHover:Xe,colorBgTextHover:Se,colorBgTextActive:ge,colorText:fe,fontWeightStrong:q,footerPaddingBlock:we,footerPaddingInline:Oe,calc:Ae}=ve,Ye=`${k}-content-wrapper`;return{[k]:{position:"fixed",inset:0,zIndex:te,pointerEvents:"none",color:fe,"&-pure":{position:"relative",background:ye,display:"flex",flexDirection:"column",[`&${k}-left`]:{boxShadow:ve.boxShadowDrawerLeft},[`&${k}-right`]:{boxShadow:ve.boxShadowDrawerRight},[`&${k}-top`]:{boxShadow:ve.boxShadowDrawerUp},[`&${k}-bottom`]:{boxShadow:ve.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${k}-mask`]:{position:"absolute",inset:0,zIndex:te,background:ie,pointerEvents:"auto"},[Ye]:{position:"absolute",zIndex:te,maxWidth:"100vw",transition:`all ${et}`,"&-hidden":{display:"none"}},[`&-left > ${Ye}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ve.boxShadowDrawerLeft},[`&-right > ${Ye}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ve.boxShadowDrawerRight},[`&-top > ${Ye}`]:{top:0,insetInline:0,boxShadow:ve.boxShadowDrawerUp},[`&-bottom > ${Ye}`]:{bottom:0,insetInline:0,boxShadow:ve.boxShadowDrawerDown},[`${k}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:ye,pointerEvents:"auto"},[`${k}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Z.unit)(Wt)} ${(0,Z.unit)(Ut)}`,fontSize:ze,lineHeight:Ue,borderBottom:`${(0,Z.unit)(sr)} ${tr} ${$e}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${k}-extra`]:{flex:"none"},[`${k}-close`]:Object.assign({display:"inline-flex",width:Ae(ze).add(Qe).equal(),height:Ae(ze).add(Qe).equal(),borderRadius:de,justifyContent:"center",alignItems:"center",marginInlineEnd:re,color:g,fontWeight:q,fontSize:ze,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Te}`,textRendering:"auto","&:hover":{color:Xe,backgroundColor:Se,textDecoration:"none"},"&:active":{backgroundColor:ge}},(0,E.Qy)(ve)),[`${k}-title`]:{flex:1,margin:0,fontWeight:ve.fontWeightStrong,fontSize:ze,lineHeight:Ue},[`${k}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ut,overflow:"auto",[`${k}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${k}-footer`]:{flexShrink:0,padding:`${(0,Z.unit)(we)} ${(0,Z.unit)(Oe)}`,borderTop:`${(0,Z.unit)(sr)} ${tr} ${$e}`},"&-rtl":{direction:"rtl"}}}},We=ve=>({zIndexPopup:ve.zIndexPopupBase,footerPaddingBlock:ve.paddingXS,footerPaddingInline:ve.padding});var Pe=(0,j.I$)("Drawer",ve=>{const de=(0,A.mergeToken)(ve,{});return[He(de),Me(de)]},We),Ne=function(ve,de){var k={};for(var te in ve)Object.prototype.hasOwnProperty.call(ve,te)&&de.indexOf(te)<0&&(k[te]=ve[te]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,te=Object.getOwnPropertySymbols(ve);ie<te.length;ie++)de.indexOf(te[ie])<0&&Object.prototype.propertyIsEnumerable.call(ve,te[ie])&&(k[te[ie]]=ve[te[ie]]);return k};const ae=null,Ee={distance:180},R=ve=>{var de;const{rootClassName:k,width:te,height:ie,size:ye="default",mask:et=!0,push:Te=Ee,open:Qe,afterOpenChange:Wt,onClose:Ut,prefixCls:ze,getContainer:Ue,style:sr,className:tr,visible:$e,afterVisibleChange:re,maskStyle:g,drawerStyle:Xe,contentWrapperStyle:Se}=ve,ge=Ne(ve,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:fe,getPrefixCls:q,direction:we,className:Oe,style:Ae,classNames:Ye,styles:At}=(0,W.dj)("drawer"),Bt=q("drawer",ze),[cr,ur,Et]=Pe(Bt),ut=Ue===void 0&&fe?()=>fe(document.body):Ue,Mt=$()({"no-mask":!et,[`${Bt}-rtl`]:we==="rtl"},k,ur,Et),Kt=t.useMemo(()=>te!=null?te:ye==="large"?736:378,[te,ye]),Qt=t.useMemo(()=>ie!=null?ie:ye==="large"?736:378,[ie,ye]),St={motionName:(0,U.m)(Bt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},pr=P=>({motionName:(0,U.m)(Bt,`panel-motion-${P}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ur=(0,l.H)(),[Lt,lr]=(0,J.Cn)("Drawer",ge.zIndex),{classNames:_t={},styles:w={}}=ge;return cr(t.createElement(G.Z,{form:!0,space:!0},t.createElement(y.Z.Provider,{value:lr},t.createElement(Be.Z,Object.assign({prefixCls:Bt,onClose:Ut,maskMotion:St,motion:pr},ge,{classNames:{mask:$()(_t.mask,Ye.mask),content:$()(_t.content,Ye.content),wrapper:$()(_t.wrapper,Ye.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},w.mask),g),At.mask),content:Object.assign(Object.assign(Object.assign({},w.content),Xe),At.content),wrapper:Object.assign(Object.assign(Object.assign({},w.wrapper),Se),At.wrapper)},open:Qe!=null?Qe:$e,mask:et,push:Te,width:Kt,height:Qt,style:Object.assign(Object.assign({},Ae),sr),className:$()(Oe,tr),rootClassName:Mt,getContainer:ut,afterOpenChange:Wt!=null?Wt:re,panelRef:Ur,zIndex:Lt}),t.createElement(T,Object.assign({prefixCls:Bt},ge,{onClose:Ut}))))))},N=ve=>{const{prefixCls:de,style:k,className:te,placement:ie="right"}=ve,ye=Ne(ve,["prefixCls","style","className","placement"]),{getPrefixCls:et}=t.useContext(W.E_),Te=et("drawer",de),[Qe,Wt,Ut]=Pe(Te),ze=$()(Te,`${Te}-pure`,`${Te}-${ie}`,Wt,Ut,te);return Qe(t.createElement("div",{className:ze,style:k},t.createElement(T,Object.assign({prefixCls:Te},ye))))};R._InternalPanelDoNotUseOrYouWillBeFired=N;var vt=R},59690:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return Ur}});var t=a(67294),Fe=a(55007),$=a(79269),Be=a(13144),G=a.n(Be);function J(){return J=Object.assign?Object.assign.bind():function(Lt){for(var lr=1;lr<arguments.length;lr++){var _t=arguments[lr];for(var w in _t)Object.prototype.hasOwnProperty.call(_t,w)&&(Lt[w]=_t[w])}return Lt},J.apply(this,arguments)}function U(Lt){"@babel/helpers - typeof";return U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(lr){return typeof lr}:function(lr){return lr&&typeof Symbol=="function"&&lr.constructor===Symbol&&lr!==Symbol.prototype?"symbol":typeof lr},U(Lt)}function y(Lt,lr){if(U(Lt)!=="object"||Lt===null)return Lt;var _t=Lt[Symbol.toPrimitive];if(_t!==void 0){var w=_t.call(Lt,lr||"default");if(U(w)!=="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(lr==="string"?String:Number)(Lt)}function W(Lt){var lr=y(Lt,"string");return U(lr)==="symbol"?lr:String(lr)}function l(Lt,lr,_t){return lr=W(lr),lr in Lt?Object.defineProperty(Lt,lr,{value:_t,enumerable:!0,configurable:!0,writable:!0}):Lt[lr]=_t,Lt}function H(Lt){if(Array.isArray(Lt))return Lt}function V(Lt,lr){var _t=Lt==null?null:typeof Symbol!="undefined"&&Lt[Symbol.iterator]||Lt["@@iterator"];if(_t!=null){var w,P,Pt,ne,ke=[],Mr=!0,Pr=!1;try{if(Pt=(_t=_t.call(Lt)).next,lr===0){if(Object(_t)!==_t)return;Mr=!1}else for(;!(Mr=(w=Pt.call(_t)).done)&&(ke.push(w.value),ke.length!==lr);Mr=!0);}catch(En){Pr=!0,P=En}finally{try{if(!Mr&&_t.return!=null&&(ne=_t.return(),Object(ne)!==ne))return}finally{if(Pr)throw P}}return ke}}function Y(Lt,lr){(lr==null||lr>Lt.length)&&(lr=Lt.length);for(var _t=0,w=new Array(lr);_t<lr;_t++)w[_t]=Lt[_t];return w}function T(Lt,lr){if(Lt){if(typeof Lt=="string")return Y(Lt,lr);var _t=Object.prototype.toString.call(Lt).slice(8,-1);if(_t==="Object"&&Lt.constructor&&(_t=Lt.constructor.name),_t==="Map"||_t==="Set")return Array.from(Lt);if(_t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_t))return Y(Lt,lr)}}function Z(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E(Lt,lr){return H(Lt)||V(Lt,lr)||T(Lt,lr)||Z()}function j(Lt,lr){if(Lt==null)return{};var _t={},w=Object.keys(Lt),P,Pt;for(Pt=0;Pt<w.length;Pt++)P=w[Pt],!(lr.indexOf(P)>=0)&&(_t[P]=Lt[P]);return _t}function A(Lt,lr){if(Lt==null)return{};var _t=j(Lt,lr),w,P;if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(Lt);for(P=0;P<Pt.length;P++)w=Pt[P],!(lr.indexOf(w)>=0)&&Object.prototype.propertyIsEnumerable.call(Lt,w)&&(_t[w]=Lt[w])}return _t}var M=a(98280),le=a(17689),ee=a.n(le),C=a(17799),Le=a(92389),Me=a(96523),He=Le.Z.ESC,We=Le.Z.TAB;function Pe(Lt){var lr=Lt.visible,_t=Lt.triggerRef,w=Lt.onVisibleChange,P=Lt.autoFocus,Pt=Lt.overlayRef,ne=t.useRef(!1),ke=function(){if(lr){var Nn,mn;(Nn=_t.current)===null||Nn===void 0||(mn=Nn.focus)===null||mn===void 0||mn.call(Nn),w==null||w(!1)}},Mr=function(){var Nn;return(Nn=Pt.current)!==null&&Nn!==void 0&&Nn.focus?(Pt.current.focus(),ne.current=!0,!0):!1},Pr=function(Nn){switch(Nn.keyCode){case He:ke();break;case We:{var mn=!1;ne.current||(mn=Mr()),mn?Nn.preventDefault():ke();break}}};t.useEffect(function(){return lr?(window.addEventListener("keydown",Pr),P&&(0,Me.Z)(Mr,3),function(){window.removeEventListener("keydown",Pr),ne.current=!1}):function(){ne.current=!1}},[lr])}var Ne=(0,t.forwardRef)(function(Lt,lr){var _t=Lt.overlay,w=Lt.arrow,P=Lt.prefixCls,Pt=(0,t.useMemo)(function(){var ke;return typeof _t=="function"?ke=_t():ke=_t,ke},[_t]),ne=(0,C.sQ)(lr,(0,C.C4)(Pt));return t.createElement(t.Fragment,null,w&&t.createElement("div",{className:"".concat(P,"-arrow")}),t.cloneElement(Pt,{ref:(0,C.Yr)(Pt)?ne:void 0}))}),ae=Ne,Ee={adjustX:1,adjustY:1},R=[0,0],N={topLeft:{points:["bl","tl"],overflow:Ee,offset:[0,-4],targetOffset:R},top:{points:["bc","tc"],overflow:Ee,offset:[0,-4],targetOffset:R},topRight:{points:["br","tr"],overflow:Ee,offset:[0,-4],targetOffset:R},bottomLeft:{points:["tl","bl"],overflow:Ee,offset:[0,4],targetOffset:R},bottom:{points:["tc","bc"],overflow:Ee,offset:[0,4],targetOffset:R},bottomRight:{points:["tr","br"],overflow:Ee,offset:[0,4],targetOffset:R}},vt=N,ve=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function de(Lt,lr){var _t,w=Lt.arrow,P=w===void 0?!1:w,Pt=Lt.prefixCls,ne=Pt===void 0?"rc-dropdown":Pt,ke=Lt.transitionName,Mr=Lt.animation,Pr=Lt.align,En=Lt.placement,Nn=En===void 0?"bottomLeft":En,mn=Lt.placements,yn=mn===void 0?vt:mn,Cn=Lt.getPopupContainer,L=Lt.showAction,x=Lt.hideAction,Dr=Lt.overlayClassName,K=Lt.overlayStyle,Tt=Lt.visible,Xt=Lt.trigger,ar=Xt===void 0?["hover"]:Xt,ot=Lt.autoFocus,Ie=Lt.overlay,st=Lt.children,zt=Lt.onVisibleChange,rr=A(Lt,ve),fr=t.useState(),ht=E(fr,2),ln=ht[0],pe=ht[1],qt="visible"in Lt?Tt:ln,gr=t.useRef(null),$r=t.useRef(null),tn=t.useRef(null);t.useImperativeHandle(lr,function(){return gr.current});var $n=function(nr){pe(nr),zt==null||zt(nr)};Pe({visible:qt,triggerRef:tn,onVisibleChange:$n,autoFocus:ot,overlayRef:$r});var Vt=function(nr){var dr=Lt.onOverlayClick;pe(!1),dr&&dr(nr)},yr=function(){return t.createElement(ae,{ref:$r,overlay:Ie,prefixCls:ne,arrow:P})},jr=function(){return typeof Ie=="function"?yr:yr()},Er=function(){var nr=Lt.minOverlayWidthMatchTrigger,dr=Lt.alignPoint;return"minOverlayWidthMatchTrigger"in Lt?nr:!dr},Kr=function(){var nr=Lt.openClassName;return nr!==void 0?nr:"".concat(ne,"-open")},Jr=t.cloneElement(st,{className:ee()((_t=st.props)===null||_t===void 0?void 0:_t.className,qt&&Kr()),ref:(0,C.Yr)(st)?(0,C.sQ)(tn,(0,C.C4)(st)):void 0}),mt=x;return!mt&&ar.indexOf("contextMenu")!==-1&&(mt=["click"]),t.createElement(M.Z,J({builtinPlacements:yn},rr,{prefixCls:ne,ref:gr,popupClassName:ee()(Dr,l({},"".concat(ne,"-show-arrow"),P)),popupStyle:K,action:ar,showAction:L,hideAction:mt,popupPlacement:Nn,popupAlign:Pr,popupTransitionName:ke,popupAnimation:Mr,popupVisible:qt,stretch:Er()?"minWidth":"",popup:jr(),onPopupVisibleChange:$n,onPopupClick:Vt,getPopupContainer:Cn}),Jr)}var k=t.forwardRef(de),te=k,ie=a(77527),ye=a(5663),et=a(10366),Te=a(87263),Wt=Lt=>typeof Lt!="object"&&typeof Lt!="function"||Lt===null,Ut=a(80636),ze=a(8745),Ue=a(96159),sr=a(27288),tr=a(43945),$e=a(53124),re=a(35792),g=a(50136),Xe=a(76529),Se=a(15729),ge=a(16777),fe=a(14747),q=a(67771),we=a(33297),Oe=a(50438),Ae=a(97414),Ye=a(79511),At=a(83559),Bt=a(43259),ur=Lt=>{const{componentCls:lr,menuCls:_t,colorError:w,colorTextLightSolid:P}=Lt,Pt=`${_t}-item`;return{[`${lr}, ${lr}-menu-submenu`]:{[`${_t} ${Pt}`]:{[`&${Pt}-danger:not(${Pt}-disabled)`]:{color:w,"&:hover":{color:P,backgroundColor:w}}}}}};const Et=Lt=>{const{componentCls:lr,menuCls:_t,zIndexPopup:w,dropdownArrowDistance:P,sizePopupArrow:Pt,antCls:ne,iconCls:ke,motionDurationMid:Mr,paddingBlock:Pr,fontSize:En,dropdownEdgeChildPadding:Nn,colorTextDisabled:mn,fontSizeIcon:yn,controlPaddingHorizontal:Cn,colorBgElevated:L}=Lt;return[{[lr]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:w,display:"block","&::before":{position:"absolute",insetBlock:Lt.calc(Pt).div(2).sub(P).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ne}-btn`]:{[`& > ${ke}-down, & > ${ne}-btn-icon > ${ke}-down`]:{fontSize:yn}},[`${lr}-wrap`]:{position:"relative",[`${ne}-btn > ${ke}-down`]:{fontSize:yn},[`${ke}-down::before`]:{transition:`transform ${Mr}`}},[`${lr}-wrap-open`]:{[`${ke}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ne}-slide-down-enter${ne}-slide-down-enter-active${lr}-placement-bottomLeft,
|
|
|
&${ne}-slide-down-appear${ne}-slide-down-appear-active${lr}-placement-bottomLeft,
|
|
|
&${ne}-slide-down-enter${ne}-slide-down-enter-active${lr}-placement-bottom,
|
|
|
&${ne}-slide-down-appear${ne}-slide-down-appear-active${lr}-placement-bottom,
|
|
|
&${ne}-slide-down-enter${ne}-slide-down-enter-active${lr}-placement-bottomRight,
|
|
|
&${ne}-slide-down-appear${ne}-slide-down-appear-active${lr}-placement-bottomRight`]:{animationName:q.fJ},[`&${ne}-slide-up-enter${ne}-slide-up-enter-active${lr}-placement-topLeft,
|
|
|
&${ne}-slide-up-appear${ne}-slide-up-appear-active${lr}-placement-topLeft,
|
|
|
&${ne}-slide-up-enter${ne}-slide-up-enter-active${lr}-placement-top,
|
|
|
&${ne}-slide-up-appear${ne}-slide-up-appear-active${lr}-placement-top,
|
|
|
&${ne}-slide-up-enter${ne}-slide-up-enter-active${lr}-placement-topRight,
|
|
|
&${ne}-slide-up-appear${ne}-slide-up-appear-active${lr}-placement-topRight`]:{animationName:q.Qt},[`&${ne}-slide-down-leave${ne}-slide-down-leave-active${lr}-placement-bottomLeft,
|
|
|
&${ne}-slide-down-leave${ne}-slide-down-leave-active${lr}-placement-bottom,
|
|
|
&${ne}-slide-down-leave${ne}-slide-down-leave-active${lr}-placement-bottomRight`]:{animationName:q.Uw},[`&${ne}-slide-up-leave${ne}-slide-up-leave-active${lr}-placement-topLeft,
|
|
|
&${ne}-slide-up-leave${ne}-slide-up-leave-active${lr}-placement-top,
|
|
|
&${ne}-slide-up-leave${ne}-slide-up-leave-active${lr}-placement-topRight`]:{animationName:q.ly}}},(0,Ae.ZP)(Lt,L,{arrowPlacement:{top:!0,bottom:!0}}),{[`${lr} ${_t}`]:{position:"relative",margin:0},[`${_t}-submenu-popup`]:{position:"absolute",zIndex:w,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${lr}, ${lr}-menu-submenu`]:Object.assign(Object.assign({},(0,fe.Wf)(Lt)),{[_t]:Object.assign(Object.assign({padding:Nn,listStyleType:"none",backgroundColor:L,backgroundClip:"padding-box",borderRadius:Lt.borderRadiusLG,outline:"none",boxShadow:Lt.boxShadowSecondary},(0,fe.Qy)(Lt)),{"&:empty":{padding:0,boxShadow:"none"},[`${_t}-item-group-title`]:{padding:`${(0,ge.unit)(Pr)} ${(0,ge.unit)(Cn)}`,color:Lt.colorTextDescription,transition:`all ${Mr}`},[`${_t}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${_t}-item-icon`]:{minWidth:En,marginInlineEnd:Lt.marginXS,fontSize:Lt.fontSizeSM},[`${_t}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Mr}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${_t}-item-extra`]:{paddingInlineStart:Lt.padding,marginInlineStart:"auto",fontSize:Lt.fontSizeSM,color:Lt.colorTextDescription}},[`${_t}-item, ${_t}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,ge.unit)(Pr)} ${(0,ge.unit)(Cn)}`,color:Lt.colorText,fontWeight:"normal",fontSize:En,lineHeight:Lt.lineHeight,cursor:"pointer",transition:`all ${Mr}`,borderRadius:Lt.borderRadiusSM,"&:hover, &-active":{backgroundColor:Lt.controlItemBgHover}},(0,fe.Qy)(Lt)),{"&-selected":{color:Lt.colorPrimary,backgroundColor:Lt.controlItemBgActive,"&:hover, &-active":{backgroundColor:Lt.controlItemBgActiveHover}},"&-disabled":{color:mn,cursor:"not-allowed","&:hover":{color:mn,backgroundColor:L,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,ge.unit)(Lt.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Lt.colorSplit},[`${lr}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Lt.paddingXS,[`${lr}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Lt.colorTextDescription,fontSize:yn,fontStyle:"normal"}}}),[`${_t}-item-group-list`]:{margin:`0 ${(0,ge.unit)(Lt.marginXS)}`,padding:0,listStyle:"none"},[`${_t}-submenu-title`]:{paddingInlineEnd:Lt.calc(Cn).add(Lt.fontSizeSM).equal()},[`${_t}-submenu-vertical`]:{position:"relative"},[`${_t}-submenu${_t}-submenu-disabled ${lr}-menu-submenu-title`]:{[`&, ${lr}-menu-submenu-arrow-icon`]:{color:mn,backgroundColor:L,cursor:"not-allowed"}},[`${_t}-submenu-selected ${lr}-menu-submenu-title`]:{color:Lt.colorPrimary}})})},[(0,q.oN)(Lt,"slide-up"),(0,q.oN)(Lt,"slide-down"),(0,we.Fm)(Lt,"move-up"),(0,we.Fm)(Lt,"move-down"),(0,Oe._y)(Lt,"zoom-big")]]},ut=Lt=>Object.assign(Object.assign({zIndexPopup:Lt.zIndexPopupBase+50,paddingBlock:(Lt.controlHeight-Lt.fontSize*Lt.lineHeight)/2},(0,Ae.wZ)({contentRadius:Lt.borderRadiusLG,limitVerticalRadius:!0})),(0,Ye.w)(Lt));var Mt=(0,At.I$)("Dropdown",Lt=>{const{marginXXS:lr,sizePopupArrow:_t,paddingXXS:w,componentCls:P}=Lt,Pt=(0,Bt.mergeToken)(Lt,{menuCls:`${P}-menu`,dropdownArrowDistance:Lt.calc(_t).div(2).add(lr).equal(),dropdownEdgeChildPadding:w});return[Et(Pt),ur(Pt)]},ut,{resetStyle:!1});const Kt=null,Qt=Lt=>{var lr;const{menu:_t,arrow:w,prefixCls:P,children:Pt,trigger:ne,disabled:ke,dropdownRender:Mr,getPopupContainer:Pr,overlayClassName:En,rootClassName:Nn,overlayStyle:mn,open:yn,onOpenChange:Cn,visible:L,onVisibleChange:x,mouseEnterDelay:Dr=.15,mouseLeaveDelay:K=.1,autoAdjustOverflow:Tt=!0,placement:Xt="",overlay:ar,transitionName:ot}=Lt,{getPopupContainer:Ie,getPrefixCls:st,direction:zt,dropdown:rr}=t.useContext($e.E_),fr=(0,sr.ln)("Dropdown"),ht=t.useMemo(()=>{const zn=st();return ot!==void 0?ot:Xt.includes("top")?`${zn}-slide-down`:`${zn}-slide-up`},[st,Xt,ot]),ln=t.useMemo(()=>Xt?Xt.includes("Center")?Xt.slice(0,Xt.indexOf("Center")):Xt:zt==="rtl"?"bottomRight":"bottomLeft",[Xt,zt]),pe=st("dropdown",P),qt=(0,re.Z)(pe),[gr,$r,tn]=Mt(pe,qt),[,$n]=(0,Se.ZP)(),Vt=t.Children.only(Wt(Pt)?t.createElement("span",null,Pt):Pt),yr=(0,Ue.Tm)(Vt,{className:G()(`${pe}-trigger`,{[`${pe}-rtl`]:zt==="rtl"},Vt.props.className),disabled:(lr=Vt.props.disabled)!==null&&lr!==void 0?lr:ke}),jr=ke?[]:ne,Er=!!(jr!=null&&jr.includes("contextMenu")),[Kr,Jr]=(0,ye.Z)(!1,{value:yn!=null?yn:L}),mt=(0,ie.Z)(zn=>{Cn==null||Cn(zn,{source:"trigger"}),x==null||x(zn),Jr(zn)}),Jt=G()(En,Nn,$r,tn,qt,rr==null?void 0:rr.className,{[`${pe}-rtl`]:zt==="rtl"}),nr=(0,Ut.Z)({arrowPointAtCenter:typeof w=="object"&&w.pointAtCenter,autoAdjustOverflow:Tt,offset:$n.marginXXS,arrowWidth:w?$n.sizePopupArrow:0,borderRadius:$n.borderRadius}),dr=t.useCallback(()=>{_t!=null&&_t.selectable&&(_t!=null&&_t.multiple)||(Cn==null||Cn(!1,{source:"menu"}),Jr(!1))},[_t==null?void 0:_t.selectable,_t==null?void 0:_t.multiple]),Rr=()=>{let zn;return _t!=null&&_t.items?zn=t.createElement(g.default,Object.assign({},_t)):typeof ar=="function"?zn=ar():zn=ar,Mr&&(zn=Mr(zn)),zn=t.Children.only(typeof zn=="string"?t.createElement("span",null,zn):zn),t.createElement(Xe.J,{prefixCls:`${pe}-menu`,rootClassName:G()(tn,qt),expandIcon:t.createElement("span",{className:`${pe}-menu-submenu-arrow`},zt==="rtl"?t.createElement(Fe.Z,{className:`${pe}-menu-submenu-arrow-icon`}):t.createElement($.Z,{className:`${pe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:dr,validator:Gr=>{let{mode:Kn}=Gr}},zn)},[Sn,an]=(0,Te.Cn)("Dropdown",mn==null?void 0:mn.zIndex);let An=t.createElement(te,Object.assign({alignPoint:Er},(0,et.Z)(Lt,["rootClassName"]),{mouseEnterDelay:Dr,mouseLeaveDelay:K,visible:Kr,builtinPlacements:nr,arrow:!!w,overlayClassName:Jt,prefixCls:pe,getPopupContainer:Pr||Ie,transitionName:ht,trigger:jr,overlay:Rr,placement:ln,onVisibleChange:mt,overlayStyle:Object.assign(Object.assign(Object.assign({},rr==null?void 0:rr.style),mn),{zIndex:Sn})}),yr);return Sn&&(An=t.createElement(tr.Z.Provider,{value:an},An)),gr(An)},St=(0,ze.Z)(Qt,"align",void 0,"dropdown",Lt=>Lt),pr=Lt=>t.createElement(St,Object.assign({},Lt),t.createElement("span",null));Qt._InternalPanelDoNotUseOrYouWillBeFired=pr;var Ur=Qt},85418:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return T}});var t=a(59690),Fe=a(67294),$=a(64582),Be=a(13144),G=a.n(Be),J=a(85804),U=a(53124),y=a(78957),W=a(4173),l=function(Z,E){var j={};for(var A in Z)Object.prototype.hasOwnProperty.call(Z,A)&&E.indexOf(A)<0&&(j[A]=Z[A]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,A=Object.getOwnPropertySymbols(Z);M<A.length;M++)E.indexOf(A[M])<0&&Object.prototype.propertyIsEnumerable.call(Z,A[M])&&(j[A[M]]=Z[A[M]]);return j};const H=Z=>{const{getPopupContainer:E,getPrefixCls:j,direction:A}=Fe.useContext(U.E_),{prefixCls:M,type:le="default",danger:ee,disabled:C,loading:Le,onClick:Me,htmlType:He,children:We,className:Pe,menu:Ne,arrow:ae,autoFocus:Ee,overlay:R,trigger:N,align:vt,open:ve,onOpenChange:de,placement:k,getPopupContainer:te,href:ie,icon:ye=Fe.createElement($.Z,null),title:et,buttonsRender:Te=Ae=>Ae,mouseEnterDelay:Qe,mouseLeaveDelay:Wt,overlayClassName:Ut,overlayStyle:ze,destroyPopupOnHide:Ue,dropdownRender:sr}=Z,tr=l(Z,["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"]),$e=j("dropdown",M),re=`${$e}-button`,g={menu:Ne,arrow:ae,autoFocus:Ee,align:vt,disabled:C,trigger:C?[]:N,onOpenChange:de,getPopupContainer:te||E,mouseEnterDelay:Qe,mouseLeaveDelay:Wt,overlayClassName:Ut,overlayStyle:ze,destroyPopupOnHide:Ue,dropdownRender:sr},{compactSize:Xe,compactItemClassnames:Se}=(0,W.ri)($e,A),ge=G()(re,Se,Pe);"overlay"in Z&&(g.overlay=R),"open"in Z&&(g.open=ve),"placement"in Z?g.placement=k:g.placement=A==="rtl"?"bottomLeft":"bottomRight";const fe=Fe.createElement(J.ZP,{type:le,danger:ee,disabled:C,loading:Le,onClick:Me,htmlType:He,href:ie,title:et},We),q=Fe.createElement(J.ZP,{type:le,danger:ee,icon:ye}),[we,Oe]=Te([fe,q]);return Fe.createElement(y.Z.Compact,Object.assign({className:ge,size:Xe,block:!0},tr),we,Fe.createElement(t.Z,Object.assign({},g),Oe))};H.__ANT_BUTTON=!0;var V=H;const Y=t.Z;Y.Button=V;var T=Y},32983:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return le}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(10110),G=a(24327),J=a(15729),y=()=>{const[,ee]=(0,J.ZP)(),[C]=(0,Be.Z)("Empty"),Me=new G.FastColor(ee.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return t.createElement("svg",{style:Me,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,(C==null?void 0:C.description)||"Empty"),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("g",{transform:"translate(24 31.67)"},t.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),t.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),t.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),t.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),t.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),t.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),t.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},t.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),t.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},l=()=>{const[,ee]=(0,J.ZP)(),[C]=(0,Be.Z)("Empty"),{colorFill:Le,colorFillTertiary:Me,colorFillQuaternary:He,colorBgContainer:We}=ee,{borderColor:Pe,shadowColor:Ne,contentColor:ae}=(0,t.useMemo)(()=>({borderColor:new G.FastColor(Le).onBackground(We).toHexString(),shadowColor:new G.FastColor(Me).onBackground(We).toHexString(),contentColor:new G.FastColor(He).onBackground(We).toHexString()}),[Le,Me,He,We]);return t.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,(C==null?void 0:C.description)||"Empty"),t.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},t.createElement("ellipse",{fill:Ne,cx:"32",cy:"33",rx:"32",ry:"7"}),t.createElement("g",{fillRule:"nonzero",stroke:Pe},t.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),t.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:ae}))))},H=a(83559),V=a(43259);const Y=ee=>{const{componentCls:C,margin:Le,marginXS:Me,marginXL:He,fontSize:We,lineHeight:Pe}=ee;return{[C]:{marginInline:Me,fontSize:We,lineHeight:Pe,textAlign:"center",[`${C}-image`]:{height:ee.emptyImgHeight,marginBottom:Me,opacity:ee.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${C}-description`]:{color:ee.colorTextDescription},[`${C}-footer`]:{marginTop:Le},"&-normal":{marginBlock:He,color:ee.colorTextDescription,[`${C}-description`]:{color:ee.colorTextDescription},[`${C}-image`]:{height:ee.emptyImgHeightMD}},"&-small":{marginBlock:Me,color:ee.colorTextDescription,[`${C}-image`]:{height:ee.emptyImgHeightSM}}}}};var T=(0,H.I$)("Empty",ee=>{const{componentCls:C,controlHeightLG:Le,calc:Me}=ee,He=(0,V.mergeToken)(ee,{emptyImgCls:`${C}-img`,emptyImgHeight:Me(Le).mul(2.5).equal(),emptyImgHeightMD:Le,emptyImgHeightSM:Me(Le).mul(.875).equal()});return[Y(He)]}),Z=a(53124),E=function(ee,C){var Le={};for(var Me in ee)Object.prototype.hasOwnProperty.call(ee,Me)&&C.indexOf(Me)<0&&(Le[Me]=ee[Me]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Me=Object.getOwnPropertySymbols(ee);He<Me.length;He++)C.indexOf(Me[He])<0&&Object.prototype.propertyIsEnumerable.call(ee,Me[He])&&(Le[Me[He]]=ee[Me[He]]);return Le};const j=t.createElement(y,null),A=t.createElement(l,null),M=ee=>{const{className:C,rootClassName:Le,prefixCls:Me,image:He=j,description:We,children:Pe,imageStyle:Ne,style:ae,classNames:Ee,styles:R}=ee,N=E(ee,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:vt,direction:ve,className:de,style:k,classNames:te,styles:ie}=(0,Z.dj)("empty"),ye=vt("empty",Me),[et,Te,Qe]=T(ye),[Wt]=(0,Be.Z)("Empty"),Ut=typeof We!="undefined"?We:Wt==null?void 0:Wt.description,ze=typeof Ut=="string"?Ut:"empty";let Ue=null;return typeof He=="string"?Ue=t.createElement("img",{alt:ze,src:He}):Ue=He,et(t.createElement("div",Object.assign({className:$()(Te,Qe,ye,de,{[`${ye}-normal`]:He===A,[`${ye}-rtl`]:ve==="rtl"},C,Le,te.root,Ee==null?void 0:Ee.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},ie.root),k),R==null?void 0:R.root),ae)},N),t.createElement("div",{className:$()(`${ye}-image`,te.image,Ee==null?void 0:Ee.image),style:Object.assign(Object.assign(Object.assign({},Ne),ie.image),R==null?void 0:R.image)},Ue),Ut&&t.createElement("div",{className:$()(`${ye}-description`,te.description,Ee==null?void 0:Ee.description),style:Object.assign(Object.assign({},ie.description),R==null?void 0:R.description)},Ut),Pe&&t.createElement("div",{className:$()(`${ye}-footer`,te.footer,Ee==null?void 0:Ee.footer),style:Object.assign(Object.assign({},ie.footer),R==null?void 0:R.footer)},Pe)))};M.PRESENTED_IMAGE_DEFAULT=j,M.PRESENTED_IMAGE_SIMPLE=A;var le=M},27833:function(on,Yt,a){"use strict";var t=a(67294),Fe=a(65223),$=a(53124);const Be=function(G,J){let U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,W;const{variant:l,[G]:H}=t.useContext($.E_),V=t.useContext(Fe.pg),Y=H==null?void 0:H.variant;let T;typeof J!="undefined"?T=J:U===!1?T="borderless":T=(W=(y=V!=null?V:Y)!==null&&y!==void 0?y:l)!==null&&W!==void 0?W:"outlined";const Z=$.tr.includes(T);return[T,Z]};Yt.Z=Be},91773:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return Jr}});var t=a(65223),Fe=a(96641),$=a(67294),Be=a(13144),G=a.n(Be),J=a(15602),U=a(33603),y=a(35792);function W(mt){const[Jt,nr]=$.useState(mt);return $.useEffect(()=>{const dr=setTimeout(()=>{nr(mt)},mt.length?0:10);return()=>{clearTimeout(dr)}},[mt]),Jt}var l=a(16777),H=a(14747),V=a(50438),Y=a(33507),T=a(43259),Z=a(83559),j=mt=>{const{componentCls:Jt}=mt,nr=`${Jt}-show-help`,dr=`${Jt}-show-help-item`;return{[nr]:{transition:`opacity ${mt.motionDurationFast} ${mt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[dr]:{overflow:"hidden",transition:`height ${mt.motionDurationFast} ${mt.motionEaseInOut},
|
|
|
opacity ${mt.motionDurationFast} ${mt.motionEaseInOut},
|
|
|
transform ${mt.motionDurationFast} ${mt.motionEaseInOut} !important`,[`&${dr}-appear, &${dr}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${dr}-leave-active`]:{transform:"translateY(-5px)"}}}}};const A=mt=>({legend:{display:"block",width:"100%",marginBottom:mt.marginLG,padding:0,color:mt.colorTextDescription,fontSize:mt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,l.unit)(mt.lineWidth)} ${mt.lineType} ${mt.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,l.unit)(mt.controlOutlineWidth)} ${mt.controlOutline}`},output:{display:"block",paddingTop:15,color:mt.colorText,fontSize:mt.fontSize,lineHeight:mt.lineHeight}}),M=(mt,Jt)=>{const{formItemCls:nr}=mt;return{[nr]:{[`${nr}-label > label`]:{height:Jt},[`${nr}-control-input`]:{minHeight:Jt}}}},le=mt=>{const{componentCls:Jt}=mt;return{[mt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,H.Wf)(mt)),A(mt)),{[`${Jt}-text`]:{display:"inline-block",paddingInlineEnd:mt.paddingSM},"&-small":Object.assign({},M(mt,mt.controlHeightSM)),"&-large":Object.assign({},M(mt,mt.controlHeightLG))})}},ee=mt=>{const{formItemCls:Jt,iconCls:nr,rootPrefixCls:dr,antCls:Rr,labelRequiredMarkColor:Sn,labelColor:an,labelFontSize:An,labelHeight:zn,labelColonMarginInlineStart:Gr,labelColonMarginInlineEnd:Kn,itemMarginBottom:In}=mt;return{[Jt]:Object.assign(Object.assign({},(0,H.Wf)(mt)),{marginBottom:In,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${Rr}-row`]:{display:"none"},"&-has-warning":{[`${Jt}-split`]:{color:mt.colorError}},"&-has-error":{[`${Jt}-split`]:{color:mt.colorWarning}},[`${Jt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:mt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:zn,color:an,fontSize:An,[`> ${nr}`]:{fontSize:mt.fontSize,verticalAlign:"top"},[`&${Jt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:mt.marginXXS,color:Sn,fontSize:mt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Jt}-required-mark-hidden, &${Jt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Jt}-optional`]:{display:"inline-block",marginInlineStart:mt.marginXXS,color:mt.colorTextDescription,[`&${Jt}-required-mark-hidden`]:{display:"none"}},[`${Jt}-tooltip`]:{color:mt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:mt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Gr,marginInlineEnd:Kn},[`&${Jt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Jt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${dr}-col-'"]):not([class*="' ${dr}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:mt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Jt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:mt.colorTextDescription,fontSize:mt.fontSize,lineHeight:mt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:mt.controlHeightSM,transition:`color ${mt.motionDurationMid} ${mt.motionEaseOut}`},"&-explain":{"&-error":{color:mt.colorError},"&-warning":{color:mt.colorWarning}}},[`&-with-help ${Jt}-explain`]:{height:"auto",opacity:1},[`${Jt}-feedback-icon`]:{fontSize:mt.fontSize,textAlign:"center",visibility:"visible",animationName:V.kr,animationDuration:mt.motionDurationMid,animationTimingFunction:mt.motionEaseOutBack,pointerEvents:"none","&-success":{color:mt.colorSuccess},"&-error":{color:mt.colorError},"&-warning":{color:mt.colorWarning},"&-validating":{color:mt.colorPrimary}}})}},C=(mt,Jt)=>{const{formItemCls:nr}=mt;return{[`${Jt}-horizontal`]:{[`${nr}-label`]:{flexGrow:0},[`${nr}-control`]:{flex:"1 1 0",minWidth:0},[`${nr}-label[class$='-24'], ${nr}-label[class*='-24 ']`]:{[`& + ${nr}-control`]:{minWidth:"unset"}}}}},Le=mt=>{const{componentCls:Jt,formItemCls:nr,inlineItemMarginBottom:dr}=mt;return{[`${Jt}-inline`]:{display:"flex",flexWrap:"wrap",[nr]:{flex:"none",marginInlineEnd:mt.margin,marginBottom:dr,"&-row":{flexWrap:"nowrap"},[`> ${nr}-label,
|
|
|
> ${nr}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${nr}-label`]:{flex:"none"},[`${Jt}-text`]:{display:"inline-block"},[`${nr}-has-feedback`]:{display:"inline-block"}}}}},Me=mt=>({padding:mt.verticalLabelPadding,margin:mt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),He=mt=>{const{componentCls:Jt,formItemCls:nr,rootPrefixCls:dr}=mt;return{[`${nr} ${nr}-label`]:Me(mt),[`${Jt}:not(${Jt}-inline)`]:{[nr]:{flexWrap:"wrap",[`${nr}-label, ${nr}-control`]:{[`&:not([class*=" ${dr}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},We=mt=>{const{componentCls:Jt,formItemCls:nr,antCls:dr}=mt;return{[`${Jt}-vertical`]:{[`${nr}:not(${nr}-horizontal)`]:{[`${nr}-row`]:{flexDirection:"column"},[`${nr}-label > label`]:{height:"auto"},[`${nr}-control`]:{width:"100%"},[`${nr}-label,
|
|
|
${dr}-col-24${nr}-label,
|
|
|
${dr}-col-xl-24${nr}-label`]:Me(mt)}},[`@media (max-width: ${(0,l.unit)(mt.screenXSMax)})`]:[He(mt),{[Jt]:{[`${nr}:not(${nr}-horizontal)`]:{[`${dr}-col-xs-24${nr}-label`]:Me(mt)}}}],[`@media (max-width: ${(0,l.unit)(mt.screenSMMax)})`]:{[Jt]:{[`${nr}:not(${nr}-horizontal)`]:{[`${dr}-col-sm-24${nr}-label`]:Me(mt)}}},[`@media (max-width: ${(0,l.unit)(mt.screenMDMax)})`]:{[Jt]:{[`${nr}:not(${nr}-horizontal)`]:{[`${dr}-col-md-24${nr}-label`]:Me(mt)}}},[`@media (max-width: ${(0,l.unit)(mt.screenLGMax)})`]:{[Jt]:{[`${nr}:not(${nr}-horizontal)`]:{[`${dr}-col-lg-24${nr}-label`]:Me(mt)}}}}},Pe=mt=>{const{formItemCls:Jt,antCls:nr}=mt;return{[`${Jt}-vertical`]:{[`${Jt}-row`]:{flexDirection:"column"},[`${Jt}-label > label`]:{height:"auto"},[`${Jt}-control`]:{width:"100%"}},[`${Jt}-vertical ${Jt}-label,
|
|
|
${nr}-col-24${Jt}-label,
|
|
|
${nr}-col-xl-24${Jt}-label`]:Me(mt),[`@media (max-width: ${(0,l.unit)(mt.screenXSMax)})`]:[He(mt),{[Jt]:{[`${nr}-col-xs-24${Jt}-label`]:Me(mt)}}],[`@media (max-width: ${(0,l.unit)(mt.screenSMMax)})`]:{[Jt]:{[`${nr}-col-sm-24${Jt}-label`]:Me(mt)}},[`@media (max-width: ${(0,l.unit)(mt.screenMDMax)})`]:{[Jt]:{[`${nr}-col-md-24${Jt}-label`]:Me(mt)}},[`@media (max-width: ${(0,l.unit)(mt.screenLGMax)})`]:{[Jt]:{[`${nr}-col-lg-24${Jt}-label`]:Me(mt)}}}},Ne=mt=>({labelRequiredMarkColor:mt.colorError,labelColor:mt.colorTextHeading,labelFontSize:mt.fontSize,labelHeight:mt.controlHeight,labelColonMarginInlineStart:mt.marginXXS/2,labelColonMarginInlineEnd:mt.marginXS,itemMarginBottom:mt.marginLG,verticalLabelPadding:`0 0 ${mt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),ae=(mt,Jt)=>(0,T.mergeToken)(mt,{formItemCls:`${mt.componentCls}-item`,rootPrefixCls:Jt});var Ee=(0,Z.I$)("Form",(mt,Jt)=>{let{rootPrefixCls:nr}=Jt;const dr=ae(mt,nr);return[le(dr),ee(dr),j(dr),C(dr,dr.componentCls),C(dr,dr.formItemCls),Le(dr),We(dr),Pe(dr),(0,Y.Z)(dr),V.kr]},Ne,{order:-1e3});const R=[];function N(mt,Jt,nr){let dr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof mt=="string"?mt:`${Jt}-${dr}`,error:mt,errorStatus:nr}}var ve=mt=>{let{help:Jt,helpStatus:nr,errors:dr=R,warnings:Rr=R,className:Sn,fieldId:an,onVisibleChanged:An}=mt;const{prefixCls:zn}=$.useContext(t.Rk),Gr=`${zn}-item-explain`,Kn=(0,y.Z)(zn),[In,ha,Oa]=Ee(zn,Kn),Ca=$.useMemo(()=>(0,U.Z)(zn),[zn]),ra=W(dr),p=W(Rr),c=$.useMemo(()=>Jt!=null?[N(Jt,"help",nr)]:[].concat((0,Fe.Z)(ra.map((I,b)=>N(I,"error","error",b))),(0,Fe.Z)(p.map((I,b)=>N(I,"warning","warning",b)))),[Jt,nr,ra,p]),d=$.useMemo(()=>{const I={};return c.forEach(b=>{let{key:B}=b;I[B]=(I[B]||0)+1}),c.map((b,B)=>Object.assign(Object.assign({},b),{key:I[b.key]>1?`${b.key}-fallback-${B}`:b.key}))},[c]),v={};return an&&(v.id=`${an}_help`),In($.createElement(J.default,{motionDeadline:Ca.motionDeadline,motionName:`${zn}-show-help`,visible:!!d.length,onVisibleChanged:An},I=>{const{className:b,style:B}=I;return $.createElement("div",Object.assign({},v,{className:G()(Gr,b,Oa,Kn,Sn,ha),style:B}),$.createElement(J.CSSMotionList,Object.assign({keys:d},(0,U.Z)(zn),{motionName:`${zn}-show-help-item`,component:!1}),X=>{const{key:_,error:Ce,errorStatus:_e,className:Ge,style:nt}=X;return $.createElement("div",{key:_,className:G()(Ge,{[`${Gr}-${_e}`]:_e}),style:nt},Ce)}))}))},de=a(9003),k=a(53124),te=a(98866),ie=a(98675),ye=a(97647),et=a(79292),Te=a(17423);const Qe=["parentNode"],Wt="form_item";function Ut(mt){return mt===void 0||mt===!1?[]:Array.isArray(mt)?mt:[mt]}function ze(mt,Jt){if(!mt.length)return;const nr=mt.join("_");return Jt?`${Jt}_${nr}`:Qe.includes(nr)?`${Wt}_${nr}`:nr}function Ue(mt,Jt,nr,dr,Rr,Sn){let an=dr;return Sn!==void 0?an=Sn:nr.validating?an="validating":mt.length?an="error":Jt.length?an="warning":(nr.touched||Rr&&nr.validated)&&(an="success"),an}var sr=function(mt,Jt){var nr={};for(var dr in mt)Object.prototype.hasOwnProperty.call(mt,dr)&&Jt.indexOf(dr)<0&&(nr[dr]=mt[dr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,dr=Object.getOwnPropertySymbols(mt);Rr<dr.length;Rr++)Jt.indexOf(dr[Rr])<0&&Object.prototype.propertyIsEnumerable.call(mt,dr[Rr])&&(nr[dr[Rr]]=mt[dr[Rr]]);return nr};function tr(mt){return Ut(mt).join("_")}function $e(mt,Jt){const nr=Jt.getFieldInstance(mt),dr=(0,et.bn)(nr);if(dr)return dr;const Rr=ze(Ut(mt),Jt.__INTERNAL__.name);if(Rr)return document.getElementById(Rr)}function re(mt){const[Jt]=(0,de.useForm)(),nr=$.useRef({}),dr=$.useMemo(()=>mt!=null?mt:Object.assign(Object.assign({},Jt),{__INTERNAL__:{itemRef:Rr=>Sn=>{const an=tr(Rr);Sn?nr.current[an]=Sn:delete nr.current[an]}},scrollToField:function(Rr){let Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:an}=Sn,An=sr(Sn,["focus"]),zn=$e(Rr,dr);zn&&((0,Te.Z)(zn,Object.assign({scrollMode:"if-needed",block:"nearest"},An)),an&&dr.focusField(Rr))},focusField:Rr=>{var Sn,an;const An=dr.getFieldInstance(Rr);typeof(An==null?void 0:An.focus)=="function"?An.focus():(an=(Sn=$e(Rr,dr))===null||Sn===void 0?void 0:Sn.focus)===null||an===void 0||an.call(Sn)},getFieldInstance:Rr=>{const Sn=tr(Rr);return nr.current[Sn]}}),[mt,Jt]);return[dr]}var g=a(37920),Xe=function(mt,Jt){var nr={};for(var dr in mt)Object.prototype.hasOwnProperty.call(mt,dr)&&Jt.indexOf(dr)<0&&(nr[dr]=mt[dr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,dr=Object.getOwnPropertySymbols(mt);Rr<dr.length;Rr++)Jt.indexOf(dr[Rr])<0&&Object.prototype.propertyIsEnumerable.call(mt,dr[Rr])&&(nr[dr[Rr]]=mt[dr[Rr]]);return nr};const Se=(mt,Jt)=>{const nr=$.useContext(te.Z),{getPrefixCls:dr,direction:Rr,requiredMark:Sn,colon:an,scrollToFirstError:An,className:zn,style:Gr}=(0,k.dj)("form"),{prefixCls:Kn,className:In,rootClassName:ha,size:Oa,disabled:Ca=nr,form:ra,colon:p,labelAlign:c,labelWrap:d,labelCol:v,wrapperCol:I,hideRequiredMark:b,layout:B="horizontal",scrollToFirstError:X,requiredMark:_,onFinishFailed:Ce,name:_e,style:Ge,feedbackIcons:nt,variant:me}=mt,Gt=Xe(mt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),oe=(0,ie.Z)(Oa),jt=$.useContext(g.Z),lt=$.useMemo(()=>_!==void 0?_:b?!1:Sn!==void 0?Sn:!0,[b,_,Sn]),Zt=p!=null?p:an,wr=dr("form",Kn),cn=(0,y.Z)(wr),[vn,On,qr]=Ee(wr,cn),kt=G()(wr,`${wr}-${B}`,{[`${wr}-hide-required-mark`]:lt===!1,[`${wr}-rtl`]:Rr==="rtl",[`${wr}-${oe}`]:oe},qr,cn,On,zn,In,ha),[un]=re(ra),{__INTERNAL__:gn}=un;gn.name=_e;const yt=$.useMemo(()=>({name:_e,labelAlign:c,labelCol:v,labelWrap:d,wrapperCol:I,vertical:B==="vertical",colon:Zt,requiredMark:lt,itemRef:gn.itemRef,form:un,feedbackIcons:nt}),[_e,c,v,I,B,Zt,lt,un,nt]),Ct=$.useRef(null);$.useImperativeHandle(Jt,()=>{var Zr;return Object.assign(Object.assign({},un),{nativeElement:(Zr=Ct.current)===null||Zr===void 0?void 0:Zr.nativeElement})});const ir=(Zr,br)=>{if(Zr){let Br={block:"nearest"};typeof Zr=="object"&&(Br=Object.assign(Object.assign({},Br),Zr)),un.scrollToField(br,Br)}},Rt=Zr=>{if(Ce==null||Ce(Zr),Zr.errorFields.length){const br=Zr.errorFields[0].name;if(X!==void 0){ir(X,br);return}An!==void 0&&ir(An,br)}};return vn($.createElement(t.pg.Provider,{value:me},$.createElement(te.n,{disabled:Ca},$.createElement(ye.Z.Provider,{value:oe},$.createElement(t.RV,{validateMessages:jt},$.createElement(t.q3.Provider,{value:yt},$.createElement(de.default,Object.assign({id:_e},Gt,{name:_e,onFinishFailed:Rt,form:un,ref:Ct,style:Object.assign(Object.assign({},Gr),Ge),className:kt}))))))))};var fe=$.forwardRef(Se),q=a(9475),we=a(17799),Oe=a(96159),Ae=a(27288),Ye=a(37419);function At(mt){if(typeof mt=="function")return mt;const Jt=(0,Ye.Z)(mt);return Jt.length<=1?Jt[0]:Jt}const Bt=()=>{const{status:mt,errors:Jt=[],warnings:nr=[]}=$.useContext(t.aM);return{status:mt,errors:Jt,warnings:nr}};Bt.Context=t.aM;var cr=Bt,ur=a(96523);function Et(mt){const[Jt,nr]=$.useState(mt),dr=$.useRef(null),Rr=$.useRef([]),Sn=$.useRef(!1);$.useEffect(()=>(Sn.current=!1,()=>{Sn.current=!0,ur.Z.cancel(dr.current),dr.current=null}),[]);function an(An){Sn.current||(dr.current===null&&(Rr.current=[],dr.current=(0,ur.Z)(()=>{dr.current=null,nr(zn=>{let Gr=zn;return Rr.current.forEach(Kn=>{Gr=Kn(Gr)}),Gr})})),Rr.current.push(An))}return[Jt,an]}function ut(){const{itemRef:mt}=$.useContext(t.q3),Jt=$.useRef({});function nr(dr,Rr){const Sn=Rr&&typeof Rr=="object"&&(0,we.C4)(Rr),an=dr.join("_");return(Jt.current.name!==an||Jt.current.originRef!==Sn)&&(Jt.current.name=an,Jt.current.originRef=Sn,Jt.current.ref=(0,we.sQ)(mt(dr),Sn)),Jt.current.ref}return nr}var Mt=a(48130),Kt=a(14075),Qt=a(10366),St=a(17621),pr=a(60276),Ur=a(21584);const Lt=mt=>{const{formItemCls:Jt}=mt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Jt}-control`]:{display:"flex"}}}};var lr=(0,Z.bk)(["Form","item-item"],(mt,Jt)=>{let{rootPrefixCls:nr}=Jt;const dr=ae(mt,nr);return[Lt(dr)]}),_t=function(mt,Jt){var nr={};for(var dr in mt)Object.prototype.hasOwnProperty.call(mt,dr)&&Jt.indexOf(dr)<0&&(nr[dr]=mt[dr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,dr=Object.getOwnPropertySymbols(mt);Rr<dr.length;Rr++)Jt.indexOf(dr[Rr])<0&&Object.prototype.propertyIsEnumerable.call(mt,dr[Rr])&&(nr[dr[Rr]]=mt[dr[Rr]]);return nr};const w=24;var Pt=mt=>{const{prefixCls:Jt,status:nr,labelCol:dr,wrapperCol:Rr,children:Sn,errors:an,warnings:An,_internalItemRender:zn,extra:Gr,help:Kn,fieldId:In,marginBottom:ha,onErrorVisibleChanged:Oa,label:Ca}=mt,ra=`${Jt}-item`,p=$.useContext(t.q3),c=$.useMemo(()=>{let Gt=Object.assign({},Rr||p.wrapperCol||{});return Ca===null&&!dr&&!Rr&&p.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(jt=>{const lt=jt?[jt]:[],Zt=(0,pr.U2)(p.labelCol,lt),wr=typeof Zt=="object"?Zt:{},cn=(0,pr.U2)(Gt,lt),vn=typeof cn=="object"?cn:{};"span"in wr&&!("offset"in vn)&&wr.span<w&&(Gt=(0,pr.t8)(Gt,[].concat(lt,["offset"]),wr.span))}),Gt},[Rr,p]),d=G()(`${ra}-control`,c.className),v=$.useMemo(()=>{const{labelCol:Gt,wrapperCol:oe}=p;return _t(p,["labelCol","wrapperCol"])},[p]),I=$.useRef(null),[b,B]=$.useState(0);(0,Kt.Z)(()=>{Gr&&I.current?B(I.current.clientHeight):B(0)},[Gr]);const X=$.createElement("div",{className:`${ra}-control-input`},$.createElement("div",{className:`${ra}-control-input-content`},Sn)),_=$.useMemo(()=>({prefixCls:Jt,status:nr}),[Jt,nr]),Ce=ha!==null||an.length||An.length?$.createElement(t.Rk.Provider,{value:_},$.createElement(ve,{fieldId:In,errors:an,warnings:An,help:Kn,helpStatus:nr,className:`${ra}-explain-connected`,onVisibleChanged:Oa})):null,_e={};In&&(_e.id=`${In}_extra`);const Ge=Gr?$.createElement("div",Object.assign({},_e,{className:`${ra}-extra`,ref:I}),Gr):null,nt=Ce||Ge?$.createElement("div",{className:`${ra}-additional`,style:ha?{minHeight:ha+b}:{}},Ce,Ge):null,me=zn&&zn.mark==="pro_table_render"&&zn.render?zn.render(mt,{input:X,errorList:Ce,extra:Ge}):$.createElement($.Fragment,null,X,nt);return $.createElement(t.q3.Provider,{value:v},$.createElement(Ur.Z,Object.assign({},c,{className:d}),me),$.createElement(lr,{prefixCls:Jt}))},ne=a(83963),ke={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Mr=ke,Pr=a(84180),En=function(Jt,nr){return $.createElement(Pr.Z,(0,ne.Z)({},Jt,{ref:nr,icon:Mr}))},Nn=$.forwardRef(En),mn=Nn,yn=a(10110),Cn=a(24457),L=a(83062),x=function(mt,Jt){var nr={};for(var dr in mt)Object.prototype.hasOwnProperty.call(mt,dr)&&Jt.indexOf(dr)<0&&(nr[dr]=mt[dr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,dr=Object.getOwnPropertySymbols(mt);Rr<dr.length;Rr++)Jt.indexOf(dr[Rr])<0&&Object.prototype.propertyIsEnumerable.call(mt,dr[Rr])&&(nr[dr[Rr]]=mt[dr[Rr]]);return nr};function Dr(mt){return mt?typeof mt=="object"&&!$.isValidElement(mt)?mt:{title:mt}:null}var Tt=mt=>{let{prefixCls:Jt,label:nr,htmlFor:dr,labelCol:Rr,labelAlign:Sn,colon:an,required:An,requiredMark:zn,tooltip:Gr,vertical:Kn}=mt;var In;const[ha]=(0,yn.Z)("Form"),{labelAlign:Oa,labelCol:Ca,labelWrap:ra,colon:p}=$.useContext(t.q3);if(!nr)return null;const c=Rr||Ca||{},d=Sn||Oa,v=`${Jt}-item-label`,I=G()(v,d==="left"&&`${v}-left`,c.className,{[`${v}-wrap`]:!!ra});let b=nr;const B=an===!0||p!==!1&&an!==!1;B&&!Kn&&typeof nr=="string"&&nr.trim()&&(b=nr.replace(/[:|:]\s*$/,""));const _=Dr(Gr);if(_){const{icon:Gt=$.createElement(mn,null)}=_,oe=x(_,["icon"]),jt=$.createElement(L.Z,Object.assign({},oe),$.cloneElement(Gt,{className:`${Jt}-item-tooltip`,title:"",onClick:lt=>{lt.preventDefault()},tabIndex:null}));b=$.createElement($.Fragment,null,b,jt)}const Ce=zn==="optional",_e=typeof zn=="function",Ge=zn===!1;_e?b=zn(b,{required:!!An}):Ce&&!An&&(b=$.createElement($.Fragment,null,b,$.createElement("span",{className:`${Jt}-item-optional`,title:""},(ha==null?void 0:ha.optional)||((In=Cn.Z.Form)===null||In===void 0?void 0:In.optional))));let nt;Ge?nt="hidden":(Ce||_e)&&(nt="optional");const me=G()({[`${Jt}-item-required`]:An,[`${Jt}-item-required-mark-${nt}`]:nt,[`${Jt}-item-no-colon`]:!B});return $.createElement(Ur.Z,Object.assign({},c,{className:I}),$.createElement("label",{htmlFor:dr,className:me,title:typeof nr=="string"?nr:""},b))},Xt=a(23526),ar=a(30186),ot=a(39291),Ie=a(77322);const st={success:Xt.Z,warning:ot.Z,error:ar.Z,validating:Ie.Z};function zt(mt){let{children:Jt,errors:nr,warnings:dr,hasFeedback:Rr,validateStatus:Sn,prefixCls:an,meta:An,noStyle:zn}=mt;const Gr=`${an}-item`,{feedbackIcons:Kn}=$.useContext(t.q3),In=Ue(nr,dr,An,null,!!Rr,Sn),{isFormItemInput:ha,status:Oa,hasFeedback:Ca,feedbackIcon:ra}=$.useContext(t.aM),p=$.useMemo(()=>{var c;let d;if(Rr){const I=Rr!==!0&&Rr.icons||Kn,b=In&&((c=I==null?void 0:I({status:In,errors:nr,warnings:dr}))===null||c===void 0?void 0:c[In]),B=In&&st[In];d=b!==!1&&B?$.createElement("span",{className:G()(`${Gr}-feedback-icon`,`${Gr}-feedback-icon-${In}`)},b||$.createElement(B,null)):null}const v={status:In||"",errors:nr,warnings:dr,hasFeedback:!!Rr,feedbackIcon:d,isFormItemInput:!0};return zn&&(v.status=(In!=null?In:Oa)||"",v.isFormItemInput=ha,v.hasFeedback=!!(Rr!=null?Rr:Ca),v.feedbackIcon=Rr!==void 0?v.feedbackIcon:ra),v},[In,Rr,zn,ha,Oa]);return $.createElement(t.aM.Provider,{value:p},Jt)}var rr=function(mt,Jt){var nr={};for(var dr in mt)Object.prototype.hasOwnProperty.call(mt,dr)&&Jt.indexOf(dr)<0&&(nr[dr]=mt[dr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,dr=Object.getOwnPropertySymbols(mt);Rr<dr.length;Rr++)Jt.indexOf(dr[Rr])<0&&Object.prototype.propertyIsEnumerable.call(mt,dr[Rr])&&(nr[dr[Rr]]=mt[dr[Rr]]);return nr};function fr(mt){const{prefixCls:Jt,className:nr,rootClassName:dr,style:Rr,help:Sn,errors:an,warnings:An,validateStatus:zn,meta:Gr,hasFeedback:Kn,hidden:In,children:ha,fieldId:Oa,required:Ca,isRequired:ra,onSubItemMetaChange:p,layout:c}=mt,d=rr(mt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),v=`${Jt}-item`,{requiredMark:I,vertical:b}=$.useContext(t.q3),B=b||c==="vertical",X=$.useRef(null),_=W(an),Ce=W(An),_e=Sn!=null,Ge=!!(_e||an.length||An.length),nt=!!X.current&&(0,Mt.Z)(X.current),[me,Gt]=$.useState(null);(0,Kt.Z)(()=>{if(Ge&&X.current){const wr=getComputedStyle(X.current);Gt(parseInt(wr.marginBottom,10))}},[Ge,nt]);const oe=wr=>{wr||Gt(null)},lt=function(){let wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const cn=wr?_:Gr.errors,vn=wr?Ce:Gr.warnings;return Ue(cn,vn,Gr,"",!!Kn,zn)}(),Zt=G()(v,nr,dr,{[`${v}-with-help`]:_e||_.length||Ce.length,[`${v}-has-feedback`]:lt&&Kn,[`${v}-has-success`]:lt==="success",[`${v}-has-warning`]:lt==="warning",[`${v}-has-error`]:lt==="error",[`${v}-is-validating`]:lt==="validating",[`${v}-hidden`]:In,[`${v}-${c}`]:c});return $.createElement("div",{className:Zt,style:Rr,ref:X},$.createElement(St.Z,Object.assign({className:`${v}-row`},(0,Qt.Z)(d,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),$.createElement(Tt,Object.assign({htmlFor:Oa},mt,{requiredMark:I,required:Ca!=null?Ca:ra,prefixCls:Jt,vertical:B})),$.createElement(Pt,Object.assign({},mt,Gr,{errors:_,warnings:Ce,prefixCls:Jt,status:lt,help:Sn,marginBottom:me,onErrorVisibleChanged:oe}),$.createElement(t.qI.Provider,{value:p},$.createElement(zt,{prefixCls:Jt,meta:Gr,errors:Gr.errors,warnings:Gr.warnings,hasFeedback:Kn,validateStatus:lt},ha)))),!!me&&$.createElement("div",{className:`${v}-margin-offset`,style:{marginBottom:-me}}))}const ht="__SPLIT__",ln=null;function pe(mt,Jt){const nr=Object.keys(mt),dr=Object.keys(Jt);return nr.length===dr.length&&nr.every(Rr=>{const Sn=mt[Rr],an=Jt[Rr];return Sn===an||typeof Sn=="function"||typeof an=="function"})}const qt=$.memo(mt=>{let{children:Jt}=mt;return Jt},(mt,Jt)=>pe(mt.control,Jt.control)&&mt.update===Jt.update&&mt.childProps.length===Jt.childProps.length&&mt.childProps.every((nr,dr)=>nr===Jt.childProps[dr]));function gr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function $r(mt){const{name:Jt,noStyle:nr,className:dr,dependencies:Rr,prefixCls:Sn,shouldUpdate:an,rules:An,children:zn,required:Gr,label:Kn,messageVariables:In,trigger:ha="onChange",validateTrigger:Oa,hidden:Ca,help:ra,layout:p}=mt,{getPrefixCls:c}=$.useContext(k.E_),{name:d}=$.useContext(t.q3),v=At(zn),I=typeof v=="function",b=$.useContext(t.qI),{validateTrigger:B}=$.useContext(de.FieldContext),X=Oa!==void 0?Oa:B,_=Jt!=null,Ce=c("form",Sn),_e=(0,y.Z)(Ce),[Ge,nt,me]=Ee(Ce,_e),Gt=(0,Ae.ln)("Form.Item"),oe=$.useContext(de.ListContext),jt=$.useRef(null),[lt,Zt]=Et({}),[wr,cn]=(0,q.Z)(()=>gr()),vn=Ct=>{const ir=oe==null?void 0:oe.getKey(Ct.name);if(cn(Ct.destroy?gr():Ct,!0),nr&&ra!==!1&&b){let Rt=Ct.name;if(Ct.destroy)Rt=jt.current||Rt;else if(ir!==void 0){const[Zr,br]=ir;Rt=[Zr].concat((0,Fe.Z)(br)),jt.current=Rt}b(Ct,Rt)}},On=(Ct,ir)=>{Zt(Rt=>{const Zr=Object.assign({},Rt),Br=[].concat((0,Fe.Z)(Ct.name.slice(0,-1)),(0,Fe.Z)(ir)).join(ht);return Ct.destroy?delete Zr[Br]:Zr[Br]=Ct,Zr})},[qr,kt]=$.useMemo(()=>{const Ct=(0,Fe.Z)(wr.errors),ir=(0,Fe.Z)(wr.warnings);return Object.values(lt).forEach(Rt=>{Ct.push.apply(Ct,(0,Fe.Z)(Rt.errors||[])),ir.push.apply(ir,(0,Fe.Z)(Rt.warnings||[]))}),[Ct,ir]},[lt,wr.errors,wr.warnings]),un=ut();function gn(Ct,ir,Rt){return nr&&!Ca?$.createElement(zt,{prefixCls:Ce,hasFeedback:mt.hasFeedback,validateStatus:mt.validateStatus,meta:wr,errors:qr,warnings:kt,noStyle:!0},Ct):$.createElement(fr,Object.assign({key:"row"},mt,{className:G()(dr,me,_e,nt),prefixCls:Ce,fieldId:ir,isRequired:Rt,errors:qr,warnings:kt,meta:wr,onSubItemMetaChange:On,layout:p}),Ct)}if(!_&&!I&&!Rr)return Ge(gn(v));let yt={};return typeof Kn=="string"?yt.label=Kn:Jt&&(yt.label=String(Jt)),In&&(yt=Object.assign(Object.assign({},yt),In)),Ge($.createElement(de.Field,Object.assign({},mt,{messageVariables:yt,trigger:ha,validateTrigger:X,onMetaChange:vn}),(Ct,ir,Rt)=>{const Zr=Ut(Jt).length&&ir?ir.name:[],br=ze(Zr,d),Br=Gr!==void 0?Gr:!!(An!=null&&An.some(kr=>{if(kr&&typeof kr=="object"&&kr.required&&!kr.warningOnly)return!0;if(typeof kr=="function"){const Un=kr(Rt);return(Un==null?void 0:Un.required)&&!(Un!=null&&Un.warningOnly)}return!1})),Fr=Object.assign({},Ct);let Xr=null;if(Array.isArray(v)&&_)Xr=v;else if(!(I&&(!(an||Rr)||_))){if(!(Rr&&!I&&!_))if($.isValidElement(v)){const kr=Object.assign(Object.assign({},v.props),Fr);if(kr.id||(kr.id=br),ra||qr.length>0||kt.length>0||mt.extra){const be=[];(ra||qr.length>0)&&be.push(`${br}_help`),mt.extra&&be.push(`${br}_extra`),kr["aria-describedby"]=be.join(" ")}qr.length>0&&(kr["aria-invalid"]="true"),Br&&(kr["aria-required"]="true"),(0,we.Yr)(v)&&(kr.ref=un(Zr,v)),new Set([].concat((0,Fe.Z)(Ut(ha)),(0,Fe.Z)(Ut(X)))).forEach(be=>{kr[be]=function(){for(var ce,Je,dt,Nt,$t,er=arguments.length,It=new Array(er),Cr=0;Cr<er;Cr++)It[Cr]=arguments[Cr];(dt=Fr[be])===null||dt===void 0||(ce=dt).call.apply(ce,[Fr].concat(It)),($t=(Nt=v.props)[be])===null||$t===void 0||(Je=$t).call.apply(Je,[Nt].concat(It))}});const Ke=[kr["aria-required"],kr["aria-invalid"],kr["aria-describedby"]];Xr=$.createElement(qt,{control:Fr,update:v,childProps:Ke},(0,Oe.Tm)(v,kr))}else I&&(an||Rr)&&!_?Xr=v(Rt):Xr=v}return gn(Xr,br,Br)}))}const tn=$r;tn.useStatus=cr;var $n=tn,Vt=function(mt,Jt){var nr={};for(var dr in mt)Object.prototype.hasOwnProperty.call(mt,dr)&&Jt.indexOf(dr)<0&&(nr[dr]=mt[dr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,dr=Object.getOwnPropertySymbols(mt);Rr<dr.length;Rr++)Jt.indexOf(dr[Rr])<0&&Object.prototype.propertyIsEnumerable.call(mt,dr[Rr])&&(nr[dr[Rr]]=mt[dr[Rr]]);return nr},jr=mt=>{var{prefixCls:Jt,children:nr}=mt,dr=Vt(mt,["prefixCls","children"]);const{getPrefixCls:Rr}=$.useContext(k.E_),Sn=Rr("form",Jt),an=$.useMemo(()=>({prefixCls:Sn,status:"error"}),[Sn]);return $.createElement(de.List,Object.assign({},dr),(An,zn,Gr)=>$.createElement(t.Rk.Provider,{value:an},nr(An.map(Kn=>Object.assign(Object.assign({},Kn),{fieldKey:Kn.key})),zn,{errors:Gr.errors,warnings:Gr.warnings})))};function Er(){const{form:mt}=$.useContext(t.q3);return mt}const Kr=fe;Kr.Item=$n,Kr.List=jr,Kr.ErrorList=ve,Kr.useForm=re,Kr.useFormInstance=Er,Kr.useWatch=de.useWatch,Kr.Provider=t.RV,Kr.create=()=>{};var Jr=Kr},30264:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return ur}});var t=a(67294),Fe=a(43481),$=a(13144),Be=a.n($),G=a(64909),J=a(87263),U=a(33603),y=a(53124),W=a(35792),l=a(10110),H=a(85846),V=a(55007),Y=a(79269),T=a(83963),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},E=Z,j=a(84180),A=function(ut,Mt){return t.createElement(j.Z,(0,T.Z)({},ut,{ref:Mt,icon:E}))},M=t.forwardRef(A),le=M,ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},C=ee,Le=function(ut,Mt){return t.createElement(j.Z,(0,T.Z)({},ut,{ref:Mt,icon:C}))},Me=t.forwardRef(Le),He=Me,We={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Pe=We,Ne=function(ut,Mt){return t.createElement(j.Z,(0,T.Z)({},ut,{ref:Mt,icon:Pe}))},ae=t.forwardRef(Ne),Ee=ae,R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},N=R,vt=function(ut,Mt){return t.createElement(j.Z,(0,T.Z)({},ut,{ref:Mt,icon:N}))},ve=t.forwardRef(vt),de=ve,k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},te=k,ie=function(ut,Mt){return t.createElement(j.Z,(0,T.Z)({},ut,{ref:Mt,icon:te}))},ye=t.forwardRef(ie),et=ye,Te=a(16777),Qe=a(24327),Wt=a(71194),Ut=a(14747),ze=a(50438),Ue=a(16932),sr=a(83559),tr=a(43259);const $e=Et=>({position:Et||"absolute",inset:0}),re=Et=>{const{iconCls:ut,motionDurationSlow:Mt,paddingXXS:Kt,marginXXS:Qt,prefixCls:St,colorTextLightSolid:pr}=Et;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:pr,background:new Qe.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Mt}`,[`.${St}-mask-info`]:Object.assign(Object.assign({},Ut.vS),{padding:`0 ${(0,Te.unit)(Kt)}`,[ut]:{marginInlineEnd:Qt,svg:{verticalAlign:"baseline"}}})}},g=Et=>{const{previewCls:ut,modalMaskBg:Mt,paddingSM:Kt,marginXL:Qt,margin:St,paddingLG:pr,previewOperationColorDisabled:Ur,previewOperationHoverColor:Lt,motionDurationSlow:lr,iconCls:_t,colorTextLightSolid:w}=Et,P=new Qe.FastColor(Mt).setA(.1),Pt=P.clone().setA(.2);return{[`${ut}-footer`]:{position:"fixed",bottom:Qt,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Et.previewOperationColor,transform:"translateX(-50%)"},[`${ut}-progress`]:{marginBottom:St},[`${ut}-close`]:{position:"fixed",top:Qt,right:{_skip_check_:!0,value:Qt},display:"flex",color:w,backgroundColor:P.toRgbString(),borderRadius:"50%",padding:Kt,outline:0,border:0,cursor:"pointer",transition:`all ${lr}`,"&:hover":{backgroundColor:Pt.toRgbString()},[`& > ${_t}`]:{fontSize:Et.previewOperationSize}},[`${ut}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Te.unit)(pr)}`,backgroundColor:P.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Kt,padding:Kt,cursor:"pointer",transition:`all ${lr}`,userSelect:"none",[`&:not(${ut}-operations-operation-disabled):hover > ${_t}`]:{color:Lt},"&-disabled":{color:Ur,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${_t}`]:{fontSize:Et.previewOperationSize}}}}},Xe=Et=>{const{modalMaskBg:ut,iconCls:Mt,previewOperationColorDisabled:Kt,previewCls:Qt,zIndexPopup:St,motionDurationSlow:pr}=Et,Ur=new Qe.FastColor(ut).setA(.1),Lt=Ur.clone().setA(.2);return{[`${Qt}-switch-left, ${Qt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Et.calc(St).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Et.imagePreviewSwitchSize,height:Et.imagePreviewSwitchSize,marginTop:Et.calc(Et.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Et.previewOperationColor,background:Ur.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${pr}`,userSelect:"none","&:hover":{background:Lt.toRgbString()},"&-disabled":{"&, &:hover":{color:Kt,background:"transparent",cursor:"not-allowed",[`> ${Mt}`]:{cursor:"not-allowed"}}},[`> ${Mt}`]:{fontSize:Et.previewOperationSize}},[`${Qt}-switch-left`]:{insetInlineStart:Et.marginSM},[`${Qt}-switch-right`]:{insetInlineEnd:Et.marginSM}}},Se=Et=>{const{motionEaseOut:ut,previewCls:Mt,motionDurationSlow:Kt,componentCls:Qt}=Et;return[{[`${Qt}-preview-root`]:{[Mt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Mt}-body`]:Object.assign(Object.assign({},$e()),{overflow:"hidden"}),[`${Mt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Kt} ${ut} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},$e()),{transition:`transform ${Kt} ${ut} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Mt}-moving`]:{[`${Mt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Qt}-preview-root`]:{[`${Mt}-wrap`]:{zIndex:Et.zIndexPopup}}},{[`${Qt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Et.calc(Et.zIndexPopup).add(1).equal()},"&":[g(Et),Xe(Et)]}]},ge=Et=>{const{componentCls:ut}=Et;return{[ut]:{position:"relative",display:"inline-block",[`${ut}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ut}-img-placeholder`]:{backgroundColor:Et.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ut}-mask`]:Object.assign({},re(Et)),[`${ut}-mask:hover`]:{opacity:1},[`${ut}-placeholder`]:Object.assign({},$e())}}},fe=Et=>{const{previewCls:ut}=Et;return{[`${ut}-root`]:(0,ze._y)(Et,"zoom"),"&":(0,Ue.J$)(Et,!0)}},q=Et=>({zIndexPopup:Et.zIndexPopupBase+80,previewOperationColor:new Qe.FastColor(Et.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Qe.FastColor(Et.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Qe.FastColor(Et.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Et.fontSizeIcon*1.5});var we=(0,sr.I$)("Image",Et=>{const ut=`${Et.componentCls}-preview`,Mt=(0,tr.mergeToken)(Et,{previewCls:ut,modalMaskBg:new Qe.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Et.controlHeightLG});return[ge(Mt),Se(Mt),(0,Wt.QA)((0,tr.mergeToken)(Mt,{componentCls:ut})),fe(Mt)]},q),Oe=function(Et,ut){var Mt={};for(var Kt in Et)Object.prototype.hasOwnProperty.call(Et,Kt)&&ut.indexOf(Kt)<0&&(Mt[Kt]=Et[Kt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Kt=Object.getOwnPropertySymbols(Et);Qt<Kt.length;Qt++)ut.indexOf(Kt[Qt])<0&&Object.prototype.propertyIsEnumerable.call(Et,Kt[Qt])&&(Mt[Kt[Qt]]=Et[Kt[Qt]]);return Mt};const Ae={rotateLeft:t.createElement(le,null),rotateRight:t.createElement(He,null),zoomIn:t.createElement(de,null),zoomOut:t.createElement(et,null),close:t.createElement(H.Z,null),left:t.createElement(V.Z,null),right:t.createElement(Y.Z,null),flipX:t.createElement(Ee,null),flipY:t.createElement(Ee,{rotate:90})};var At=Et=>{var{previewPrefixCls:ut,preview:Mt}=Et,Kt=Oe(Et,["previewPrefixCls","preview"]);const{getPrefixCls:Qt}=t.useContext(y.E_),St=Qt("image",ut),pr=`${St}-preview`,Ur=Qt(),Lt=(0,W.Z)(St),[lr,_t,w]=we(St,Lt),[P]=(0,J.Cn)("ImagePreview",typeof Mt=="object"?Mt.zIndex:void 0),Pt=t.useMemo(()=>{var ne;if(Mt===!1)return Mt;const ke=typeof Mt=="object"?Mt:{},Mr=Be()(_t,w,Lt,(ne=ke.rootClassName)!==null&&ne!==void 0?ne:"");return Object.assign(Object.assign({},ke),{transitionName:(0,U.m)(Ur,"zoom",ke.transitionName),maskTransitionName:(0,U.m)(Ur,"fade",ke.maskTransitionName),rootClassName:Mr,zIndex:P})},[Mt]);return lr(t.createElement(G.Z.PreviewGroup,Object.assign({preview:Pt,previewPrefixCls:pr,icons:Ae},Kt)))},Bt=function(Et,ut){var Mt={};for(var Kt in Et)Object.prototype.hasOwnProperty.call(Et,Kt)&&ut.indexOf(Kt)<0&&(Mt[Kt]=Et[Kt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Kt=Object.getOwnPropertySymbols(Et);Qt<Kt.length;Qt++)ut.indexOf(Kt[Qt])<0&&Object.prototype.propertyIsEnumerable.call(Et,Kt[Qt])&&(Mt[Kt[Qt]]=Et[Kt[Qt]]);return Mt};const cr=Et=>{const{prefixCls:ut,preview:Mt,className:Kt,rootClassName:Qt,style:St}=Et,pr=Bt(Et,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Ur,getPopupContainer:Lt,className:lr,style:_t,preview:w}=(0,y.dj)("image"),[P]=(0,l.Z)("Image"),Pt=Ur("image",ut),ne=Ur(),ke=(0,W.Z)(Pt),[Mr,Pr,En]=we(Pt,ke),Nn=Be()(Qt,Pr,En,ke),mn=Be()(Kt,Pr,lr),[yn]=(0,J.Cn)("ImagePreview",typeof Mt=="object"?Mt.zIndex:void 0),Cn=t.useMemo(()=>{if(Mt===!1)return Mt;const x=typeof Mt=="object"?Mt:{},{getContainer:Dr,closeIcon:K,rootClassName:Tt}=x,Xt=Bt(x,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:t.createElement("div",{className:`${Pt}-mask-info`},t.createElement(Fe.Z,null),P==null?void 0:P.preview),icons:Ae},Xt),{rootClassName:Be()(Nn,Tt),getContainer:Dr!=null?Dr:Lt,transitionName:(0,U.m)(ne,"zoom",x.transitionName),maskTransitionName:(0,U.m)(ne,"fade",x.maskTransitionName),zIndex:yn,closeIcon:K!=null?K:w==null?void 0:w.closeIcon})},[Mt,P,w==null?void 0:w.closeIcon]),L=Object.assign(Object.assign({},_t),St);return Mr(t.createElement(G.Z,Object.assign({prefixCls:Pt,preview:Cn,rootClassName:Nn,className:mn,style:L},pr)))};cr.PreviewGroup=At;var ur=cr},37720:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return de}});var t=a(67294),Fe=a(15558),$=a(61058),Be=a(13144),G=a.n(Be),J=a(1671),U=a(89942),y=a(9708),W=a(53124),l=a(31282),H=a(98866),V=a(35792),Y=a(98675),T=a(65223),Z=a(27833),E=a(4173),j=a(16777),A=a(47673),M=a(20353),le=a(93900),ee=a(14747),C=a(80110),Le=a(83559),Me=a(43259),He=a(24327);const We=k=>{var te;const ie=(te=k.handleVisible)!==null&&te!==void 0?te:"auto",ye=k.controlHeightSM-k.lineWidth*2;return Object.assign(Object.assign({},(0,M.T)(k)),{controlWidth:90,handleWidth:ye,handleFontSize:k.fontSize/2,handleVisible:ie,handleActiveBg:k.colorFillAlter,handleBg:k.colorBgContainer,filledHandleBg:new He.FastColor(k.colorFillSecondary).onBackground(k.colorBgContainer).toHexString(),handleHoverColor:k.colorPrimary,handleBorderColor:k.colorBorder,handleOpacity:ie===!0?1:0,handleVisibleWidth:ie===!0?ye:0})},Pe=(k,te)=>{let{componentCls:ie,borderRadiusSM:ye,borderRadiusLG:et}=k;const Te=te==="lg"?et:ye;return{[`&-${te}`]:{[`${ie}-handler-wrap`]:{borderStartEndRadius:Te,borderEndEndRadius:Te},[`${ie}-handler-up`]:{borderStartEndRadius:Te},[`${ie}-handler-down`]:{borderEndEndRadius:Te}}}},Ne=k=>{const{componentCls:te,lineWidth:ie,lineType:ye,borderRadius:et,inputFontSizeSM:Te,inputFontSizeLG:Qe,controlHeightLG:Wt,controlHeightSM:Ut,colorError:ze,paddingInlineSM:Ue,paddingBlockSM:sr,paddingBlockLG:tr,paddingInlineLG:$e,colorTextDescription:re,motionDurationMid:g,handleHoverColor:Xe,handleOpacity:Se,paddingInline:ge,paddingBlock:fe,handleBg:q,handleActiveBg:we,colorTextDisabled:Oe,borderRadiusSM:Ae,borderRadiusLG:Ye,controlWidth:At,handleBorderColor:Bt,filledHandleBg:cr,lineHeightLG:ur,calc:Et}=k;return[{[te]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ee.Wf)(k)),(0,A.ik)(k)),{display:"inline-block",width:At,margin:0,padding:0,borderRadius:et}),(0,le.qG)(k,{[`${te}-handler-wrap`]:{background:q,[`${te}-handler-down`]:{borderBlockStart:`${(0,j.unit)(ie)} ${ye} ${Bt}`}}})),(0,le.H8)(k,{[`${te}-handler-wrap`]:{background:cr,[`${te}-handler-down`]:{borderBlockStart:`${(0,j.unit)(ie)} ${ye} ${Bt}`}},"&:focus-within":{[`${te}-handler-wrap`]:{background:q}}})),(0,le.vc)(k,{[`${te}-handler-wrap`]:{background:q,[`${te}-handler-down`]:{borderBlockStart:`${(0,j.unit)(ie)} ${ye} ${Bt}`}}})),(0,le.Mu)(k)),{"&-rtl":{direction:"rtl",[`${te}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Qe,lineHeight:ur,borderRadius:Ye,[`input${te}-input`]:{height:Et(Wt).sub(Et(ie).mul(2)).equal(),padding:`${(0,j.unit)(tr)} ${(0,j.unit)($e)}`}},"&-sm":{padding:0,fontSize:Te,borderRadius:Ae,[`input${te}-input`]:{height:Et(Ut).sub(Et(ie).mul(2)).equal(),padding:`${(0,j.unit)(sr)} ${(0,j.unit)(Ue)}`}},"&-out-of-range":{[`${te}-input-wrap`]:{input:{color:ze}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ee.Wf)(k)),(0,A.s7)(k)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${te}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${te}-group-addon`]:{borderRadius:Ye,fontSize:k.fontSizeLG}},"&-sm":{[`${te}-group-addon`]:{borderRadius:Ae}}},(0,le.ir)(k)),(0,le.S5)(k)),{[`&:not(${te}-compact-first-item):not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}, ${te}-group-addon`]:{borderRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-first-item`]:{[`${te}, ${te}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-last-item`]:{[`${te}, ${te}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${te}-input`]:{cursor:"not-allowed"},[te]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ee.Wf)(k)),{width:"100%",padding:`${(0,j.unit)(fe)} ${(0,j.unit)(ge)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:et,outline:0,transition:`all ${g} linear`,appearance:"textfield",fontSize:"inherit"}),(0,A.nz)(k.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${te}-handler-wrap, &-focused ${te}-handler-wrap`]:{width:k.handleWidth,opacity:1}})},{[te]:Object.assign(Object.assign(Object.assign({[`${te}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:k.handleVisibleWidth,opacity:Se,height:"100%",borderStartStartRadius:0,borderStartEndRadius:et,borderEndEndRadius:et,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${g}`,overflow:"hidden",[`${te}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${te}-handler-up-inner,
|
|
|
${te}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:k.handleFontSize}}},[`${te}-handler`]:{height:"50%",overflow:"hidden",color:re,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,j.unit)(ie)} ${ye} ${Bt}`,transition:`all ${g} linear`,"&:active":{background:we},"&:hover":{height:"60%",[`
|
|
|
${te}-handler-up-inner,
|
|
|
${te}-handler-down-inner
|
|
|
`]:{color:Xe}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ee.Ro)()),{color:re,transition:`all ${g} linear`,userSelect:"none"})},[`${te}-handler-up`]:{borderStartEndRadius:et},[`${te}-handler-down`]:{borderEndEndRadius:et}},Pe(k,"lg")),Pe(k,"sm")),{"&-disabled, &-readonly":{[`${te}-handler-wrap`]:{display:"none"},[`${te}-input`]:{color:"inherit"}},[`
|
|
|
${te}-handler-up-disabled,
|
|
|
${te}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${te}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${te}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Oe}})}]},ae=k=>{const{componentCls:te,paddingBlock:ie,paddingInline:ye,inputAffixPadding:et,controlWidth:Te,borderRadiusLG:Qe,borderRadiusSM:Wt,paddingInlineLG:Ut,paddingInlineSM:ze,paddingBlockLG:Ue,paddingBlockSM:sr,motionDurationMid:tr}=k;return{[`${te}-affix-wrapper`]:Object.assign(Object.assign({[`input${te}-input`]:{padding:`${(0,j.unit)(ie)} 0`}},(0,A.ik)(k)),{position:"relative",display:"inline-flex",alignItems:"center",width:Te,padding:0,paddingInlineStart:ye,"&-lg":{borderRadius:Qe,paddingInlineStart:Ut,[`input${te}-input`]:{padding:`${(0,j.unit)(Ue)} 0`}},"&-sm":{borderRadius:Wt,paddingInlineStart:ze,[`input${te}-input`]:{padding:`${(0,j.unit)(sr)} 0`}},[`&:not(${te}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${te}-disabled`]:{background:"transparent"},[`> div${te}`]:{width:"100%",border:"none",outline:"none",[`&${te}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${te}-handler-wrap`]:{zIndex:2},[te]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:et},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:ye,marginInlineStart:et,transition:`margin ${tr}`}},[`&:hover ${te}-handler-wrap, &-focused ${te}-handler-wrap`]:{width:k.handleWidth,opacity:1},[`&:not(${te}-affix-wrapper-without-controls):hover ${te}-suffix`]:{marginInlineEnd:k.calc(k.handleWidth).add(ye).equal()}})}};var Ee=(0,Le.I$)("InputNumber",k=>{const te=(0,Me.mergeToken)(k,(0,M.e)(k));return[Ne(te),ae(te),(0,C.c)(te)]},We,{unitless:{handleOpacity:!0}}),R=function(k,te){var ie={};for(var ye in k)Object.prototype.hasOwnProperty.call(k,ye)&&te.indexOf(ye)<0&&(ie[ye]=k[ye]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,ye=Object.getOwnPropertySymbols(k);et<ye.length;et++)te.indexOf(ye[et])<0&&Object.prototype.propertyIsEnumerable.call(k,ye[et])&&(ie[ye[et]]=k[ye[et]]);return ie};const N=t.forwardRef((k,te)=>{const{getPrefixCls:ie,direction:ye}=t.useContext(W.E_),et=t.useRef(null);t.useImperativeHandle(te,()=>et.current);const{className:Te,rootClassName:Qe,size:Wt,disabled:Ut,prefixCls:ze,addonBefore:Ue,addonAfter:sr,prefix:tr,suffix:$e,bordered:re,readOnly:g,status:Xe,controls:Se,variant:ge}=k,fe=R(k,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),q=ie("input-number",ze),we=(0,V.Z)(q),[Oe,Ae,Ye]=Ee(q,we),{compactSize:At,compactItemClassnames:Bt}=(0,E.ri)(q,ye);let cr=t.createElement($.Z,{className:`${q}-handler-up-inner`}),ur=t.createElement(Fe.Z,{className:`${q}-handler-down-inner`});const Et=typeof Se=="boolean"?Se:void 0;typeof Se=="object"&&(cr=typeof Se.upIcon=="undefined"?cr:t.createElement("span",{className:`${q}-handler-up-inner`},Se.upIcon),ur=typeof Se.downIcon=="undefined"?ur:t.createElement("span",{className:`${q}-handler-down-inner`},Se.downIcon));const{hasFeedback:ut,status:Mt,isFormItemInput:Kt,feedbackIcon:Qt}=t.useContext(T.aM),St=(0,y.F)(Mt,Xe),pr=(0,Y.Z)(ke=>{var Mr;return(Mr=Wt!=null?Wt:At)!==null&&Mr!==void 0?Mr:ke}),Ur=t.useContext(H.Z),Lt=Ut!=null?Ut:Ur,[lr,_t]=(0,Z.Z)("inputNumber",ge,re),w=ut&&t.createElement(t.Fragment,null,Qt),P=G()({[`${q}-lg`]:pr==="large",[`${q}-sm`]:pr==="small",[`${q}-rtl`]:ye==="rtl",[`${q}-in-form-item`]:Kt},Ae),Pt=`${q}-group`,ne=t.createElement(J.Z,Object.assign({ref:et,disabled:Lt,className:G()(Ye,we,Te,Qe,Bt),upHandler:cr,downHandler:ur,prefixCls:q,readOnly:g,controls:Et,prefix:tr,suffix:w||$e,addonBefore:Ue&&t.createElement(U.Z,{form:!0,space:!0},Ue),addonAfter:sr&&t.createElement(U.Z,{form:!0,space:!0},sr),classNames:{input:P,variant:G()({[`${q}-${lr}`]:_t},(0,y.Z)(q,St,ut)),affixWrapper:G()({[`${q}-affix-wrapper-sm`]:pr==="small",[`${q}-affix-wrapper-lg`]:pr==="large",[`${q}-affix-wrapper-rtl`]:ye==="rtl",[`${q}-affix-wrapper-without-controls`]:Se===!1||Lt},Ae),wrapper:G()({[`${Pt}-rtl`]:ye==="rtl"},Ae),groupWrapper:G()({[`${q}-group-wrapper-sm`]:pr==="small",[`${q}-group-wrapper-lg`]:pr==="large",[`${q}-group-wrapper-rtl`]:ye==="rtl",[`${q}-group-wrapper-${lr}`]:_t},(0,y.Z)(`${q}-group-wrapper`,St,ut),Ae)}},fe));return Oe(ne)}),vt=N,ve=k=>t.createElement(l.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},t.createElement(N,Object.assign({},k)));vt._InternalPanelDoNotUseOrYouWillBeFired=ve;var de=vt},82586:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return ee}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(67656),G=a(17799),J=a(89942),U=a(78290),y=a(9708),W=a(53124),l=a(98866),H=a(35792),V=a(98675),Y=a(65223),T=a(27833),Z=a(4173),E=a(72922),j=a(47673);function A(C){return!!(C.prefix||C.suffix||C.allowClear||C.showCount)}var M=function(C,Le){var Me={};for(var He in C)Object.prototype.hasOwnProperty.call(C,He)&&Le.indexOf(He)<0&&(Me[He]=C[He]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,He=Object.getOwnPropertySymbols(C);We<He.length;We++)Le.indexOf(He[We])<0&&Object.prototype.propertyIsEnumerable.call(C,He[We])&&(Me[He[We]]=C[He[We]]);return Me},ee=(0,t.forwardRef)((C,Le)=>{const{prefixCls:Me,bordered:He=!0,status:We,size:Pe,disabled:Ne,onBlur:ae,onFocus:Ee,suffix:R,allowClear:N,addonAfter:vt,addonBefore:ve,className:de,style:k,styles:te,rootClassName:ie,onChange:ye,classNames:et,variant:Te}=C,Qe=M(C,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Wt,direction:Ut,allowClear:ze,autoComplete:Ue,className:sr,style:tr,classNames:$e,styles:re}=(0,W.dj)("input"),g=Wt("input",Me),Xe=(0,t.useRef)(null),Se=(0,H.Z)(g),[ge,fe,q]=(0,j.TI)(g,ie),[we]=(0,j.ZP)(g,Se),{compactSize:Oe,compactItemClassnames:Ae}=(0,Z.ri)(g,Ut),Ye=(0,V.Z)(P=>{var Pt;return(Pt=Pe!=null?Pe:Oe)!==null&&Pt!==void 0?Pt:P}),At=t.useContext(l.Z),Bt=Ne!=null?Ne:At,{status:cr,hasFeedback:ur,feedbackIcon:Et}=(0,t.useContext)(Y.aM),ut=(0,y.F)(cr,We),Mt=A(C)||!!ur,Kt=(0,t.useRef)(Mt),Qt=(0,E.Z)(Xe,!0),St=P=>{Qt(),ae==null||ae(P)},pr=P=>{Qt(),Ee==null||Ee(P)},Ur=P=>{Qt(),ye==null||ye(P)},Lt=(ur||R)&&t.createElement(t.Fragment,null,R,ur&&Et),lr=(0,U.Z)(N!=null?N:ze),[_t,w]=(0,T.Z)("input",Te,He);return ge(we(t.createElement(Be.default,Object.assign({ref:(0,G.sQ)(Le,Xe),prefixCls:g,autoComplete:Ue},Qe,{disabled:Bt,onBlur:St,onFocus:pr,style:Object.assign(Object.assign({},tr),k),styles:Object.assign(Object.assign({},re),te),suffix:Lt,allowClear:lr,className:$()(de,ie,q,Se,Ae,sr),onChange:Ur,addonBefore:ve&&t.createElement(J.Z,{form:!0,space:!0},ve),addonAfter:vt&&t.createElement(J.Z,{form:!0,space:!0},vt),classNames:Object.assign(Object.assign(Object.assign({},et),$e),{input:$()({[`${g}-sm`]:Ye==="small",[`${g}-lg`]:Ye==="large",[`${g}-rtl`]:Ut==="rtl"},et==null?void 0:et.input,$e.input,fe),variant:$()({[`${g}-${_t}`]:w},(0,y.Z)(g,ut)),affixWrapper:$()({[`${g}-affix-wrapper-sm`]:Ye==="small",[`${g}-affix-wrapper-lg`]:Ye==="large",[`${g}-affix-wrapper-rtl`]:Ut==="rtl"},fe),wrapper:$()({[`${g}-group-rtl`]:Ut==="rtl"},fe),groupWrapper:$()({[`${g}-group-wrapper-sm`]:Ye==="small",[`${g}-group-wrapper-lg`]:Ye==="large",[`${g}-group-wrapper-rtl`]:Ut==="rtl",[`${g}-group-wrapper-${_t}`]:w},(0,y.Z)(`${g}-group-wrapper`,ut,ur),fe)})}))))})},35301:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return Le}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(15927),G=a(78290),J=a(9708),U=a(53124),y=a(98866),W=a(35792),l=a(98675),H=a(65223),V=a(27833),Y=a(4173),T=a(87887),Z=a(47673),E=a(83559),j=a(43259),A=a(20353);const M=Me=>{const{componentCls:He,paddingLG:We}=Me,Pe=`${He}-textarea`;return{[`textarea${He}`]:{maxWidth:"100%",height:"auto",minHeight:Me.controlHeight,lineHeight:Me.lineHeight,verticalAlign:"bottom",transition:`all ${Me.motionDurationSlow}`,resize:"vertical",[`&${He}-mouse-active`]:{transition:`all ${Me.motionDurationSlow}, height 0s, width 0s`}},[`${He}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Pe]:{position:"relative","&-show-count":{[`> ${He}`]:{height:"100%"},[`${He}-data-count`]:{position:"absolute",bottom:Me.calc(Me.fontSize).mul(Me.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Me.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${He},
|
|
|
&-affix-wrapper${Pe}-has-feedback ${He}
|
|
|
`]:{paddingInlineEnd:We},[`&-affix-wrapper${He}-affix-wrapper`]:{padding:0,[`> textarea${He}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Me.calc(Me.controlHeight).sub(Me.calc(Me.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${He}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${He}-clear-icon`]:{position:"absolute",insetInlineEnd:Me.paddingInline,insetBlockStart:Me.paddingXS},[`${Pe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Me.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${He}-affix-wrapper-sm`]:{[`${He}-suffix`]:{[`${He}-clear-icon`]:{insetInlineEnd:Me.paddingInlineSM}}}}}};var le=(0,E.I$)(["Input","TextArea"],Me=>{const He=(0,j.mergeToken)(Me,(0,A.e)(Me));return[M(He)]},A.T,{resetFont:!1}),ee=function(Me,He){var We={};for(var Pe in Me)Object.prototype.hasOwnProperty.call(Me,Pe)&&He.indexOf(Pe)<0&&(We[Pe]=Me[Pe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Pe=Object.getOwnPropertySymbols(Me);Ne<Pe.length;Ne++)He.indexOf(Pe[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Me,Pe[Ne])&&(We[Pe[Ne]]=Me[Pe[Ne]]);return We},Le=(0,t.forwardRef)((Me,He)=>{var We;const{prefixCls:Pe,bordered:Ne=!0,size:ae,disabled:Ee,status:R,allowClear:N,classNames:vt,rootClassName:ve,className:de,style:k,styles:te,variant:ie,showCount:ye,onMouseDown:et,onResize:Te}=Me,Qe=ee(Me,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Wt,direction:Ut,allowClear:ze,autoComplete:Ue,className:sr,style:tr,classNames:$e,styles:re}=(0,U.dj)("textArea"),g=t.useContext(y.Z),Xe=Ee!=null?Ee:g,{status:Se,hasFeedback:ge,feedbackIcon:fe}=t.useContext(H.aM),q=(0,J.F)(Se,R),we=t.useRef(null);t.useImperativeHandle(He,()=>{var w;return{resizableTextArea:(w=we.current)===null||w===void 0?void 0:w.resizableTextArea,focus:P=>{var Pt,ne;(0,T.nH)((ne=(Pt=we.current)===null||Pt===void 0?void 0:Pt.resizableTextArea)===null||ne===void 0?void 0:ne.textArea,P)},blur:()=>{var P;return(P=we.current)===null||P===void 0?void 0:P.blur()}}});const Oe=Wt("input",Pe),Ae=(0,W.Z)(Oe),[Ye,At,Bt]=(0,Z.TI)(Oe,ve),[cr]=le(Oe,Ae),{compactSize:ur,compactItemClassnames:Et}=(0,Y.ri)(Oe,Ut),ut=(0,l.Z)(w=>{var P;return(P=ae!=null?ae:ur)!==null&&P!==void 0?P:w}),[Mt,Kt]=(0,V.Z)("textArea",ie,Ne),Qt=(0,G.Z)(N!=null?N:ze),[St,pr]=t.useState(!1),[Ur,Lt]=t.useState(!1),lr=w=>{pr(!0),et==null||et(w);const P=()=>{pr(!1),document.removeEventListener("mouseup",P)};document.addEventListener("mouseup",P)},_t=w=>{var P,Pt;if(Te==null||Te(w),St&&typeof getComputedStyle=="function"){const ne=(Pt=(P=we.current)===null||P===void 0?void 0:P.nativeElement)===null||Pt===void 0?void 0:Pt.querySelector("textarea");ne&&getComputedStyle(ne).resize==="both"&&Lt(!0)}};return Ye(cr(t.createElement(Be.default,Object.assign({autoComplete:Ue},Qe,{style:Object.assign(Object.assign({},tr),k),styles:Object.assign(Object.assign({},re),te),disabled:Xe,allowClear:Qt,className:$()(Bt,Ae,de,ve,Et,sr,Ur&&`${Oe}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},vt),$e),{textarea:$()({[`${Oe}-sm`]:ut==="small",[`${Oe}-lg`]:ut==="large"},At,vt==null?void 0:vt.textarea,$e.textarea,St&&`${Oe}-mouse-active`),variant:$()({[`${Oe}-${Mt}`]:Kt},(0,J.Z)(Oe,q)),affixWrapper:$()(`${Oe}-textarea-affix-wrapper`,{[`${Oe}-affix-wrapper-rtl`]:Ut==="rtl",[`${Oe}-affix-wrapper-sm`]:ut==="small",[`${Oe}-affix-wrapper-lg`]:ut==="large",[`${Oe}-textarea-show-count`]:ye||((We=Me.count)===null||We===void 0?void 0:We.show)},At)}),prefixCls:Oe,suffix:ge&&t.createElement("span",{className:`${Oe}-textarea-suffix`},fe),showCount:ye,ref:we,onResize:_t,onMouseDown:lr}))))})},72922:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return Fe}});var t=a(67294);function Fe($,Be){const G=(0,t.useRef)([]),J=()=>{G.current.push(setTimeout(()=>{var U,y,W,l;!((U=$.current)===null||U===void 0)&&U.input&&((y=$.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((W=$.current)===null||W===void 0)&&W.input.hasAttribute("value"))&&((l=$.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return(0,t.useEffect)(()=>(Be&&J(),()=>G.current.forEach(U=>{U&&clearTimeout(U)})),[]),J}},28802:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return fe}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(53124),G=a(65223),J=a(47673),y=q=>{const{getPrefixCls:we,direction:Oe}=(0,t.useContext)(Be.E_),{prefixCls:Ae,className:Ye}=q,At=we("input-group",Ae),Bt=we("input"),[cr,ur,Et]=(0,J.ZP)(Bt),ut=$()(At,Et,{[`${At}-lg`]:q.size==="large",[`${At}-sm`]:q.size==="small",[`${At}-compact`]:q.compact,[`${At}-rtl`]:Oe==="rtl"},ur,Ye),Mt=(0,t.useContext)(G.aM),Kt=(0,t.useMemo)(()=>Object.assign(Object.assign({},Mt),{isFormItemInput:!1}),[Mt]);return cr(t.createElement("span",{className:ut,style:q.style,onMouseEnter:q.onMouseEnter,onMouseLeave:q.onMouseLeave,onFocus:q.onFocus,onBlur:q.onBlur},t.createElement(G.aM.Provider,{value:Kt},q.children)))},W=a(82586),l=a(96641),H=a(77527),V=a(1337),Y=a(9708),T=a(98675),Z=a(83559),E=a(43259),j=a(20353);const A=q=>{const{componentCls:we,paddingXS:Oe}=q;return{[we]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:Oe,"&-rtl":{direction:"rtl"},[`${we}-input`]:{textAlign:"center",paddingInline:q.paddingXXS},[`&${we}-sm ${we}-input`]:{paddingInline:q.calc(q.paddingXXS).div(2).equal()},[`&${we}-lg ${we}-input`]:{paddingInline:q.paddingXS}}}};var M=(0,Z.I$)(["Input","OTP"],q=>{const we=(0,E.mergeToken)(q,(0,j.e)(q));return[A(we)]},j.T),le=a(96523),ee=function(q,we){var Oe={};for(var Ae in q)Object.prototype.hasOwnProperty.call(q,Ae)&&we.indexOf(Ae)<0&&(Oe[Ae]=q[Ae]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ae=Object.getOwnPropertySymbols(q);Ye<Ae.length;Ye++)we.indexOf(Ae[Ye])<0&&Object.prototype.propertyIsEnumerable.call(q,Ae[Ye])&&(Oe[Ae[Ye]]=q[Ae[Ye]]);return Oe},Le=t.forwardRef((q,we)=>{const{value:Oe,onChange:Ae,onActiveChange:Ye,index:At,mask:Bt}=q,cr=ee(q,["value","onChange","onActiveChange","index","mask"]),ur=Oe&&typeof Bt=="string"?Bt:Oe,Et=St=>{Ae(At,St.target.value)},ut=t.useRef(null);t.useImperativeHandle(we,()=>ut.current);const Mt=()=>{(0,le.Z)(()=>{var St;const pr=(St=ut.current)===null||St===void 0?void 0:St.input;document.activeElement===pr&&pr&&pr.select()})},Kt=St=>{const{key:pr,ctrlKey:Ur,metaKey:Lt}=St;pr==="ArrowLeft"?Ye(At-1):pr==="ArrowRight"?Ye(At+1):pr==="z"&&(Ur||Lt)&&St.preventDefault(),Mt()},Qt=St=>{St.key==="Backspace"&&!Oe&&Ye(At-1),Mt()};return t.createElement(W.Z,Object.assign({type:Bt===!0?"password":"text"},cr,{ref:ut,value:ur,onInput:Et,onFocus:Mt,onKeyDown:Kt,onKeyUp:Qt,onMouseDown:Mt,onMouseUp:Mt}))}),Me=function(q,we){var Oe={};for(var Ae in q)Object.prototype.hasOwnProperty.call(q,Ae)&&we.indexOf(Ae)<0&&(Oe[Ae]=q[Ae]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ae=Object.getOwnPropertySymbols(q);Ye<Ae.length;Ye++)we.indexOf(Ae[Ye])<0&&Object.prototype.propertyIsEnumerable.call(q,Ae[Ye])&&(Oe[Ae[Ye]]=q[Ae[Ye]]);return Oe};function He(q){return(q||"").split("")}const We=q=>{const{index:we,prefixCls:Oe,separator:Ae}=q,Ye=typeof Ae=="function"?Ae(we):Ae;return Ye?t.createElement("span",{className:`${Oe}-separator`},Ye):null};var Ne=t.forwardRef((q,we)=>{const{prefixCls:Oe,length:Ae=6,size:Ye,defaultValue:At,value:Bt,onChange:cr,formatter:ur,separator:Et,variant:ut,disabled:Mt,status:Kt,autoFocus:Qt,mask:St,type:pr,onInput:Ur,inputMode:Lt}=q,lr=Me(q,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:_t,direction:w}=t.useContext(Be.E_),P=_t("otp",Oe),Pt=(0,V.Z)(lr,{aria:!0,data:!0,attr:!0}),[ne,ke,Mr]=M(P),Pr=(0,T.Z)(Ie=>Ye!=null?Ye:Ie),En=t.useContext(G.aM),Nn=(0,Y.F)(En.status,Kt),mn=t.useMemo(()=>Object.assign(Object.assign({},En),{status:Nn,hasFeedback:!1,feedbackIcon:null}),[En,Nn]),yn=t.useRef(null),Cn=t.useRef({});t.useImperativeHandle(we,()=>({focus:()=>{var Ie;(Ie=Cn.current[0])===null||Ie===void 0||Ie.focus()},blur:()=>{var Ie;for(let st=0;st<Ae;st+=1)(Ie=Cn.current[st])===null||Ie===void 0||Ie.blur()},nativeElement:yn.current}));const L=Ie=>ur?ur(Ie):Ie,[x,Dr]=t.useState(()=>He(L(At||"")));t.useEffect(()=>{Bt!==void 0&&Dr(He(Bt))},[Bt]);const K=(0,H.Z)(Ie=>{Dr(Ie),Ur&&Ur(Ie),cr&&Ie.length===Ae&&Ie.every(st=>st)&&Ie.some((st,zt)=>x[zt]!==st)&&cr(Ie.join(""))}),Tt=(0,H.Z)((Ie,st)=>{let zt=(0,l.Z)(x);for(let fr=0;fr<Ie;fr+=1)zt[fr]||(zt[fr]="");st.length<=1?zt[Ie]=st:zt=zt.slice(0,Ie).concat(He(st)),zt=zt.slice(0,Ae);for(let fr=zt.length-1;fr>=0&&!zt[fr];fr-=1)zt.pop();const rr=L(zt.map(fr=>fr||" ").join(""));return zt=He(rr).map((fr,ht)=>fr===" "&&!zt[ht]?zt[ht]:fr),zt}),Xt=(Ie,st)=>{var zt;const rr=Tt(Ie,st),fr=Math.min(Ie+st.length,Ae-1);fr!==Ie&&rr[Ie]!==void 0&&((zt=Cn.current[fr])===null||zt===void 0||zt.focus()),K(rr)},ar=Ie=>{var st;(st=Cn.current[Ie])===null||st===void 0||st.focus()},ot={variant:ut,disabled:Mt,status:Nn,mask:St,type:pr,inputMode:Lt};return ne(t.createElement("div",Object.assign({},Pt,{ref:yn,className:$()(P,{[`${P}-sm`]:Pr==="small",[`${P}-lg`]:Pr==="large",[`${P}-rtl`]:w==="rtl"},Mr,ke)}),t.createElement(G.aM.Provider,{value:mn},Array.from({length:Ae}).map((Ie,st)=>{const zt=`otp-${st}`,rr=x[st]||"";return t.createElement(t.Fragment,{key:zt},t.createElement(Le,Object.assign({ref:fr=>{Cn.current[st]=fr},index:st,size:Pr,htmlSize:1,className:`${P}-input`,onChange:Xt,value:rr,onActiveChange:ar,autoFocus:st===0&&Qt},ot)),st<Ae-1&&t.createElement(We,{separator:Et,index:st,prefixCls:P}))}))))}),ae=a(83963),Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},R=Ee,N=a(84180),vt=function(we,Oe){return t.createElement(N.Z,(0,ae.Z)({},we,{ref:Oe,icon:R}))},ve=t.forwardRef(vt),de=ve,k=a(43481),te=a(10366),ie=a(17799),ye=a(98866),et=a(72922),Te=function(q,we){var Oe={};for(var Ae in q)Object.prototype.hasOwnProperty.call(q,Ae)&&we.indexOf(Ae)<0&&(Oe[Ae]=q[Ae]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ae=Object.getOwnPropertySymbols(q);Ye<Ae.length;Ye++)we.indexOf(Ae[Ye])<0&&Object.prototype.propertyIsEnumerable.call(q,Ae[Ye])&&(Oe[Ae[Ye]]=q[Ae[Ye]]);return Oe};const Qe=q=>q?t.createElement(k.Z,null):t.createElement(de,null),Wt={click:"onClick",hover:"onMouseOver"};var ze=t.forwardRef((q,we)=>{const{disabled:Oe,action:Ae="click",visibilityToggle:Ye=!0,iconRender:At=Qe}=q,Bt=t.useContext(ye.Z),cr=Oe!=null?Oe:Bt,ur=typeof Ye=="object"&&Ye.visible!==void 0,[Et,ut]=(0,t.useState)(()=>ur?Ye.visible:!1),Mt=(0,t.useRef)(null);t.useEffect(()=>{ur&&ut(Ye.visible)},[ur,Ye]);const Kt=(0,et.Z)(Mt),Qt=()=>{var Pr;if(cr)return;Et&&Kt();const En=!Et;ut(En),typeof Ye=="object"&&((Pr=Ye.onVisibleChange)===null||Pr===void 0||Pr.call(Ye,En))},St=Pr=>{const En=Wt[Ae]||"",Nn=At(Et),mn={[En]:Qt,className:`${Pr}-icon`,key:"passwordIcon",onMouseDown:yn=>{yn.preventDefault()},onMouseUp:yn=>{yn.preventDefault()}};return t.cloneElement(t.isValidElement(Nn)?Nn:t.createElement("span",null,Nn),mn)},{className:pr,prefixCls:Ur,inputPrefixCls:Lt,size:lr}=q,_t=Te(q,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:w}=t.useContext(Be.E_),P=w("input",Lt),Pt=w("input-password",Ur),ne=Ye&&St(Pt),ke=$()(Pt,pr,{[`${Pt}-${lr}`]:!!lr}),Mr=Object.assign(Object.assign({},(0,te.Z)(_t,["suffix","iconRender","visibilityToggle"])),{type:Et?"text":"password",className:ke,prefixCls:P,suffix:ne});return lr&&(Mr.size=lr),t.createElement(W.Z,Object.assign({ref:(0,ie.sQ)(we,Mt)},Mr))}),Ue=a(47880),sr=a(96159),tr=a(85804),$e=a(4173),re=function(q,we){var Oe={};for(var Ae in q)Object.prototype.hasOwnProperty.call(q,Ae)&&we.indexOf(Ae)<0&&(Oe[Ae]=q[Ae]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ae=Object.getOwnPropertySymbols(q);Ye<Ae.length;Ye++)we.indexOf(Ae[Ye])<0&&Object.prototype.propertyIsEnumerable.call(q,Ae[Ye])&&(Oe[Ae[Ye]]=q[Ae[Ye]]);return Oe},Xe=t.forwardRef((q,we)=>{const{prefixCls:Oe,inputPrefixCls:Ae,className:Ye,size:At,suffix:Bt,enterButton:cr=!1,addonAfter:ur,loading:Et,disabled:ut,onSearch:Mt,onChange:Kt,onCompositionStart:Qt,onCompositionEnd:St}=q,pr=re(q,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ur,direction:Lt}=t.useContext(Be.E_),lr=t.useRef(!1),_t=Ur("input-search",Oe),w=Ur("input",Ae),{compactSize:P}=(0,$e.ri)(_t,Lt),Pt=(0,T.Z)(Xt=>{var ar;return(ar=At!=null?At:P)!==null&&ar!==void 0?ar:Xt}),ne=t.useRef(null),ke=Xt=>{Xt!=null&&Xt.target&&Xt.type==="click"&&Mt&&Mt(Xt.target.value,Xt,{source:"clear"}),Kt==null||Kt(Xt)},Mr=Xt=>{var ar;document.activeElement===((ar=ne.current)===null||ar===void 0?void 0:ar.input)&&Xt.preventDefault()},Pr=Xt=>{var ar,ot;Mt&&Mt((ot=(ar=ne.current)===null||ar===void 0?void 0:ar.input)===null||ot===void 0?void 0:ot.value,Xt,{source:"input"})},En=Xt=>{lr.current||Et||Pr(Xt)},Nn=typeof cr=="boolean"?t.createElement(Ue.Z,null):null,mn=`${_t}-button`;let yn;const Cn=cr||{},L=Cn.type&&Cn.type.__ANT_BUTTON===!0;L||Cn.type==="button"?yn=(0,sr.Tm)(Cn,Object.assign({onMouseDown:Mr,onClick:Xt=>{var ar,ot;(ot=(ar=Cn==null?void 0:Cn.props)===null||ar===void 0?void 0:ar.onClick)===null||ot===void 0||ot.call(ar,Xt),Pr(Xt)},key:"enterButton"},L?{className:mn,size:Pt}:{})):yn=t.createElement(tr.ZP,{className:mn,type:cr?"primary":void 0,size:Pt,disabled:ut,key:"enterButton",onMouseDown:Mr,onClick:Pr,loading:Et,icon:Nn},cr),ur&&(yn=[yn,(0,sr.Tm)(ur,{key:"addonAfter"})]);const x=$()(_t,{[`${_t}-rtl`]:Lt==="rtl",[`${_t}-${Pt}`]:!!Pt,[`${_t}-with-button`]:!!cr},Ye),Dr=Object.assign(Object.assign({},pr),{className:x,prefixCls:w,type:"search"}),K=Xt=>{lr.current=!0,Qt==null||Qt(Xt)},Tt=Xt=>{lr.current=!1,St==null||St(Xt)};return t.createElement(W.Z,Object.assign({ref:(0,ie.sQ)(ne,we),onPressEnter:En},Dr,{size:Pt,onCompositionStart:K,onCompositionEnd:Tt,addonAfter:yn,suffix:Bt,onChange:ke,disabled:ut}))}),Se=a(35301);const ge=W.Z;ge.Group=y,ge.Search=Xe,ge.TextArea=Se.Z,ge.Password=ze,ge.OTP=Ne;var fe=ge},47673:function(on,Yt,a){"use strict";a.d(Yt,{TI:function(){return le},ik:function(){return V},nz:function(){return y},s7:function(){return Y},x0:function(){return H}});var t=a(16777),Fe=a(14747),$=a(80110),Be=a(83559),G=a(43259),J=a(20353),U=a(93900);const y=ee=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:ee,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),W=ee=>({borderColor:ee.activeBorderColor,boxShadow:ee.activeShadow,outline:0,backgroundColor:ee.activeBg}),l=ee=>{const{paddingBlockLG:C,lineHeightLG:Le,borderRadiusLG:Me,paddingInlineLG:He}=ee;return{padding:`${(0,t.unit)(C)} ${(0,t.unit)(He)}`,fontSize:ee.inputFontSizeLG,lineHeight:Le,borderRadius:Me}},H=ee=>({padding:`${(0,t.unit)(ee.paddingBlockSM)} ${(0,t.unit)(ee.paddingInlineSM)}`,fontSize:ee.inputFontSizeSM,borderRadius:ee.borderRadiusSM}),V=ee=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,t.unit)(ee.paddingBlock)} ${(0,t.unit)(ee.paddingInline)}`,color:ee.colorText,fontSize:ee.inputFontSize,lineHeight:ee.lineHeight,borderRadius:ee.borderRadius,transition:`all ${ee.motionDurationMid}`},y(ee.colorTextPlaceholder)),{"&-lg":Object.assign({},l(ee)),"&-sm":Object.assign({},H(ee)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Y=ee=>{const{componentCls:C,antCls:Le}=ee;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:ee.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${C}, &-lg > ${C}-group-addon`]:Object.assign({},l(ee)),[`&-sm ${C}, &-sm > ${C}-group-addon`]:Object.assign({},H(ee)),[`&-lg ${Le}-select-single ${Le}-select-selector`]:{height:ee.controlHeightLG},[`&-sm ${Le}-select-single ${Le}-select-selector`]:{height:ee.controlHeightSM},[`> ${C}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${C}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,t.unit)(ee.paddingInline)}`,color:ee.colorText,fontWeight:"normal",fontSize:ee.inputFontSize,textAlign:"center",borderRadius:ee.borderRadius,transition:`all ${ee.motionDurationSlow}`,lineHeight:1,[`${Le}-select`]:{margin:`${(0,t.unit)(ee.calc(ee.paddingBlock).add(1).mul(-1).equal())} ${(0,t.unit)(ee.calc(ee.paddingInline).mul(-1).equal())}`,[`&${Le}-select-single:not(${Le}-select-customize-input):not(${Le}-pagination-size-changer)`]:{[`${Le}-select-selector`]:{backgroundColor:"inherit",border:`${(0,t.unit)(ee.lineWidth)} ${ee.lineType} transparent`,boxShadow:"none"}}},[`${Le}-cascader-picker`]:{margin:`-9px ${(0,t.unit)(ee.calc(ee.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${Le}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[C]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${C}-search-with-button &`]:{zIndex:0}}},[`> ${C}:first-child, ${C}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Le}-select ${Le}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${C}-affix-wrapper`]:{[`&:not(:first-child) ${C}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${C}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${C}:last-child, ${C}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Le}-select ${Le}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${C}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${C}-search &`]:{borderStartStartRadius:ee.borderRadius,borderEndStartRadius:ee.borderRadius}},[`&:not(:first-child), ${C}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${C}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Fe.dF)()),{[`${C}-group-addon, ${C}-group-wrap, > ${C}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:ee.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${C}-affix-wrapper,
|
|
|
& > ${C}-number-affix-wrapper,
|
|
|
& > ${Le}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:ee.calc(ee.lineWidth).mul(-1).equal(),borderInlineEndWidth:ee.lineWidth},[C]:{float:"none"},[`& > ${Le}-select > ${Le}-select-selector,
|
|
|
& > ${Le}-select-auto-complete ${C},
|
|
|
& > ${Le}-cascader-picker ${C},
|
|
|
& > ${C}-group-wrapper ${C}`]:{borderInlineEndWidth:ee.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${Le}-select-focused`]:{zIndex:1},[`& > ${Le}-select > ${Le}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${Le}-select:first-child > ${Le}-select-selector,
|
|
|
& > ${Le}-select-auto-complete:first-child ${C},
|
|
|
& > ${Le}-cascader-picker:first-child ${C}`]:{borderStartStartRadius:ee.borderRadius,borderEndStartRadius:ee.borderRadius},[`& > *:last-child,
|
|
|
& > ${Le}-select:last-child > ${Le}-select-selector,
|
|
|
& > ${Le}-cascader-picker:last-child ${C},
|
|
|
& > ${Le}-cascader-picker-focused:last-child ${C}`]:{borderInlineEndWidth:ee.lineWidth,borderStartEndRadius:ee.borderRadius,borderEndEndRadius:ee.borderRadius},[`& > ${Le}-select-auto-complete ${C}`]:{verticalAlign:"top"},[`${C}-group-wrapper + ${C}-group-wrapper`]:{marginInlineStart:ee.calc(ee.lineWidth).mul(-1).equal(),[`${C}-affix-wrapper`]:{borderRadius:0}},[`${C}-group-wrapper:not(:last-child)`]:{[`&${C}-search > ${C}-group`]:{[`& > ${C}-group-addon > ${C}-search-button`]:{borderRadius:0},[`& > ${C}`]:{borderStartStartRadius:ee.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ee.borderRadius}}}})}},T=ee=>{const{componentCls:C,controlHeightSM:Le,lineWidth:Me,calc:He}=ee,Pe=He(Le).sub(He(Me).mul(2)).sub(16).div(2).equal();return{[C]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(ee)),V(ee)),(0,U.qG)(ee)),(0,U.H8)(ee)),(0,U.Mu)(ee)),(0,U.vc)(ee)),{'&[type="color"]':{height:ee.controlHeight,[`&${C}-lg`]:{height:ee.controlHeightLG},[`&${C}-sm`]:{height:Le,paddingTop:Pe,paddingBottom:Pe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},Z=ee=>{const{componentCls:C}=ee;return{[`${C}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:ee.colorTextQuaternary,fontSize:ee.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${ee.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:ee.colorTextTertiary},"&:active":{color:ee.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,t.unit)(ee.inputAffixPadding)}`}}}},E=ee=>{const{componentCls:C,inputAffixPadding:Le,colorTextDescription:Me,motionDurationSlow:He,colorIcon:We,colorIconHover:Pe,iconCls:Ne}=ee,ae=`${C}-affix-wrapper`,Ee=`${C}-affix-wrapper-disabled`;return{[ae]:Object.assign(Object.assign(Object.assign(Object.assign({},V(ee)),{display:"inline-flex",[`&:not(${C}-disabled):hover`]:{zIndex:1,[`${C}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${C}`]:{padding:0},[`> input${C}, > textarea${C}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[C]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:ee.paddingXS}},"&-show-count-suffix":{color:Me},"&-show-count-has-suffix":{marginInlineEnd:ee.paddingXXS},"&-prefix":{marginInlineEnd:Le},"&-suffix":{marginInlineStart:Le}}}),Z(ee)),{[`${Ne}${C}-password-icon`]:{color:We,cursor:"pointer",transition:`all ${He}`,"&:hover":{color:Pe}}}),[`${C}-underlined`]:{borderRadius:0},[Ee]:{[`${Ne}${C}-password-icon`]:{color:We,cursor:"not-allowed","&:hover":{color:We}}}}},j=ee=>{const{componentCls:C,borderRadiusLG:Le,borderRadiusSM:Me}=ee;return{[`${C}-group`]:Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(ee)),Y(ee)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${C}-group-addon`]:{borderRadius:Le,fontSize:ee.inputFontSizeLG}},"&-sm":{[`${C}-group-addon`]:{borderRadius:Me}}},(0,U.ir)(ee)),(0,U.S5)(ee)),{[`&:not(${C}-compact-first-item):not(${C}-compact-last-item)${C}-compact-item`]:{[`${C}, ${C}-group-addon`]:{borderRadius:0}},[`&:not(${C}-compact-last-item)${C}-compact-first-item`]:{[`${C}, ${C}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${C}-compact-first-item)${C}-compact-last-item`]:{[`${C}, ${C}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${C}-compact-last-item)${C}-compact-item`]:{[`${C}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${C}-compact-first-item)${C}-compact-item`]:{[`${C}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},A=ee=>{const{componentCls:C,antCls:Le}=ee,Me=`${C}-search`;return{[Me]:{[C]:{"&:hover, &:focus":{[`+ ${C}-group-addon ${Me}-button:not(${Le}-btn-primary)`]:{borderInlineStartColor:ee.colorPrimaryHover}}},[`${C}-affix-wrapper`]:{height:ee.controlHeight,borderRadius:0},[`${C}-lg`]:{lineHeight:ee.calc(ee.lineHeightLG).sub(2e-4).equal()},[`> ${C}-group`]:{[`> ${C}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Me}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${Me}-button:not(${Le}-btn-primary)`]:{color:ee.colorTextDescription,"&:hover":{color:ee.colorPrimaryHover},"&:active":{color:ee.colorPrimaryActive},[`&${Le}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Me}-button`]:{height:ee.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${C}-affix-wrapper, ${Me}-button`]:{height:ee.controlHeightLG}},"&-small":{[`${C}-affix-wrapper, ${Me}-button`]:{height:ee.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${C}-compact-item`]:{[`&:not(${C}-compact-last-item)`]:{[`${C}-group-addon`]:{[`${C}-search-button`]:{marginInlineEnd:ee.calc(ee.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${C}-compact-first-item)`]:{[`${C},${C}-affix-wrapper`]:{borderRadius:0}},[`> ${C}-group-addon ${C}-search-button,
|
|
|
> ${C},
|
|
|
${C}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${C}-affix-wrapper-focused`]:{zIndex:2}}}}},M=ee=>{const{componentCls:C}=ee;return{[`${C}-out-of-range`]:{[`&, & input, & textarea, ${C}-show-count-suffix, ${C}-data-count`]:{color:ee.colorError}}}},le=(0,Be.I$)(["Input","Shared"],ee=>{const C=(0,G.mergeToken)(ee,(0,J.e)(ee));return[T(C),E(C)]},J.T,{resetFont:!1});Yt.ZP=(0,Be.I$)(["Input","Component"],ee=>{const C=(0,G.mergeToken)(ee,(0,J.e)(ee));return[j(C),A(C),M(C),(0,$.c)(C)]},J.T,{resetFont:!1})},20353:function(on,Yt,a){"use strict";a.d(Yt,{T:function(){return $},e:function(){return Fe}});var t=a(43259);function Fe(Be){return(0,t.mergeToken)(Be,{inputAffixPadding:Be.paddingXXS})}const $=Be=>{const{controlHeight:G,fontSize:J,lineHeight:U,lineWidth:y,controlHeightSM:W,controlHeightLG:l,fontSizeLG:H,lineHeightLG:V,paddingSM:Y,controlPaddingHorizontalSM:T,controlPaddingHorizontal:Z,colorFillAlter:E,colorPrimaryHover:j,colorPrimary:A,controlOutlineWidth:M,controlOutline:le,colorErrorOutline:ee,colorWarningOutline:C,colorBgContainer:Le,inputFontSize:Me,inputFontSizeLG:He,inputFontSizeSM:We}=Be,Pe=Me||J,Ne=We||Pe,ae=He||H,Ee=Math.round((G-Pe*U)/2*10)/10-y,R=Math.round((W-Ne*U)/2*10)/10-y,N=Math.ceil((l-ae*V)/2*10)/10-y;return{paddingBlock:Math.max(Ee,0),paddingBlockSM:Math.max(R,0),paddingBlockLG:Math.max(N,0),paddingInline:Y-y,paddingInlineSM:T-y,paddingInlineLG:Z-y,addonBg:E,activeBorderColor:A,hoverBorderColor:j,activeShadow:`0 0 0 ${M}px ${le}`,errorActiveShadow:`0 0 0 ${M}px ${ee}`,warningActiveShadow:`0 0 0 ${M}px ${C}`,hoverBg:Le,activeBg:Le,inputFontSize:Pe,inputFontSizeLG:ae,inputFontSizeSM:Ne}}},93900:function(on,Yt,a){"use strict";a.d(Yt,{$U:function(){return G},H8:function(){return Y},Mu:function(){return l},S5:function(){return Z},Xy:function(){return Be},ir:function(){return W},qG:function(){return U},vc:function(){return A}});var t=a(16777),Fe=a(43259);const $=M=>({borderColor:M.hoverBorderColor,backgroundColor:M.hoverBg}),Be=M=>({color:M.colorTextDisabled,backgroundColor:M.colorBgContainerDisabled,borderColor:M.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},$((0,Fe.mergeToken)(M,{hoverBorderColor:M.colorBorder,hoverBg:M.colorBgContainerDisabled})))}),G=(M,le)=>({background:M.colorBgContainer,borderWidth:M.lineWidth,borderStyle:M.lineType,borderColor:le.borderColor,"&:hover":{borderColor:le.hoverBorderColor,backgroundColor:M.hoverBg},"&:focus, &:focus-within":{borderColor:le.activeBorderColor,boxShadow:le.activeShadow,outline:0,backgroundColor:M.activeBg}}),J=(M,le)=>({[`&${M.componentCls}-status-${le.status}:not(${M.componentCls}-disabled)`]:Object.assign(Object.assign({},G(M,le)),{[`${M.componentCls}-prefix, ${M.componentCls}-suffix`]:{color:le.affixColor}}),[`&${M.componentCls}-status-${le.status}${M.componentCls}-disabled`]:{borderColor:le.borderColor}}),U=(M,le)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},G(M,{borderColor:M.colorBorder,hoverBorderColor:M.hoverBorderColor,activeBorderColor:M.activeBorderColor,activeShadow:M.activeShadow})),{[`&${M.componentCls}-disabled, &[disabled]`]:Object.assign({},Be(M))}),J(M,{status:"error",borderColor:M.colorError,hoverBorderColor:M.colorErrorBorderHover,activeBorderColor:M.colorError,activeShadow:M.errorActiveShadow,affixColor:M.colorError})),J(M,{status:"warning",borderColor:M.colorWarning,hoverBorderColor:M.colorWarningBorderHover,activeBorderColor:M.colorWarning,activeShadow:M.warningActiveShadow,affixColor:M.colorWarning})),le)}),y=(M,le)=>({[`&${M.componentCls}-group-wrapper-status-${le.status}`]:{[`${M.componentCls}-group-addon`]:{borderColor:le.addonBorderColor,color:le.addonColor}}}),W=M=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${M.componentCls}-group`]:{"&-addon":{background:M.addonBg,border:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},y(M,{status:"error",addonBorderColor:M.colorError,addonColor:M.colorErrorText})),y(M,{status:"warning",addonBorderColor:M.colorWarning,addonColor:M.colorWarningText})),{[`&${M.componentCls}-group-wrapper-disabled`]:{[`${M.componentCls}-group-addon`]:Object.assign({},Be(M))}})}),l=(M,le)=>{const{componentCls:ee}=M;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${ee}-disabled, &[disabled]`]:{color:M.colorTextDisabled,cursor:"not-allowed"},[`&${ee}-status-error`]:{"&, & input, & textarea":{color:M.colorError}},[`&${ee}-status-warning`]:{"&, & input, & textarea":{color:M.colorWarning}}},le)}},H=(M,le)=>{var ee;return{background:le.bg,borderWidth:M.lineWidth,borderStyle:M.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(ee=le==null?void 0:le.inputColor)!==null&&ee!==void 0?ee:"unset"},"&:hover":{background:le.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:le.activeBorderColor,backgroundColor:M.activeBg}}},V=(M,le)=>({[`&${M.componentCls}-status-${le.status}:not(${M.componentCls}-disabled)`]:Object.assign(Object.assign({},H(M,le)),{[`${M.componentCls}-prefix, ${M.componentCls}-suffix`]:{color:le.affixColor}})}),Y=(M,le)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},H(M,{bg:M.colorFillTertiary,hoverBg:M.colorFillSecondary,activeBorderColor:M.activeBorderColor})),{[`&${M.componentCls}-disabled, &[disabled]`]:Object.assign({},Be(M))}),V(M,{status:"error",bg:M.colorErrorBg,hoverBg:M.colorErrorBgHover,activeBorderColor:M.colorError,inputColor:M.colorErrorText,affixColor:M.colorError})),V(M,{status:"warning",bg:M.colorWarningBg,hoverBg:M.colorWarningBgHover,activeBorderColor:M.colorWarning,inputColor:M.colorWarningText,affixColor:M.colorWarning})),le)}),T=(M,le)=>({[`&${M.componentCls}-group-wrapper-status-${le.status}`]:{[`${M.componentCls}-group-addon`]:{background:le.addonBg,color:le.addonColor}}}),Z=M=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${M.componentCls}-group`]:{"&-addon":{background:M.colorFillTertiary},[`${M.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorSplit}`}}}},T(M,{status:"error",addonBg:M.colorErrorBg,addonColor:M.colorErrorText})),T(M,{status:"warning",addonBg:M.colorWarningBg,addonColor:M.colorWarningText})),{[`&${M.componentCls}-group-wrapper-disabled`]:{[`${M.componentCls}-group`]:{"&-addon":{background:M.colorFillTertiary,color:M.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorBorder}`,borderTop:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorBorder}`,borderBottom:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorBorder}`,borderTop:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorBorder}`,borderBottom:`${(0,t.unit)(M.lineWidth)} ${M.lineType} ${M.colorBorder}`}}}})}),E=(M,le)=>({background:M.colorBgContainer,borderWidth:`${(0,t.unit)(M.lineWidth)} 0`,borderStyle:`${M.lineType} none`,borderColor:`transparent transparent ${le.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${le.borderColor} transparent`,backgroundColor:M.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${le.borderColor} transparent`,outline:0,backgroundColor:M.activeBg}}),j=(M,le)=>({[`&${M.componentCls}-status-${le.status}:not(${M.componentCls}-disabled)`]:Object.assign(Object.assign({},E(M,le)),{[`${M.componentCls}-prefix, ${M.componentCls}-suffix`]:{color:le.affixColor}}),[`&${M.componentCls}-status-${le.status}${M.componentCls}-disabled`]:{borderColor:`transparent transparent ${le.borderColor} transparent`}}),A=(M,le)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},E(M,{borderColor:M.colorBorder,hoverBorderColor:M.hoverBorderColor,activeBorderColor:M.activeBorderColor,activeShadow:M.activeShadow})),{[`&${M.componentCls}-disabled, &[disabled]`]:{color:M.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${M.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),j(M,{status:"error",borderColor:M.colorError,hoverBorderColor:M.colorErrorBorderHover,activeBorderColor:M.colorError,activeShadow:M.errorActiveShadow,affixColor:M.colorError})),j(M,{status:"warning",borderColor:M.colorWarning,hoverBorderColor:M.colorWarningBorderHover,activeBorderColor:M.colorWarning,activeShadow:M.warningActiveShadow,affixColor:M.colorWarning})),le)})},25787:function(on,Yt,a){"use strict";a.d(Yt,{D:function(){return Me},Z:function(){return Pe}});var t=a(67294),Fe=a(83963),$={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"},Be=$,G=a(84180),J=function(ae,Ee){return t.createElement(G.Z,(0,Fe.Z)({},ae,{ref:Ee,icon:Be}))},U=t.forwardRef(J),y=U,W=a(55007),l=a(79269),H=a(13144),V=a.n(H),Y=a(10366),T=a(53124),Z=a(82401),E=a(16777),j=a(24793),A=a(83559);const M=Ne=>{const{componentCls:ae,siderBg:Ee,motionDurationMid:R,motionDurationSlow:N,antCls:vt,triggerHeight:ve,triggerColor:de,triggerBg:k,headerHeight:te,zeroTriggerWidth:ie,zeroTriggerHeight:ye,borderRadiusLG:et,lightSiderBg:Te,lightTriggerColor:Qe,lightTriggerBg:Wt,bodyBg:Ut}=Ne;return{[ae]:{position:"relative",minWidth:0,background:Ee,transition:`all ${R}, background 0s`,"&-has-trigger":{paddingBottom:ve},"&-right":{order:1},[`${ae}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${vt}-menu${vt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${ae}-children`]:{overflow:"hidden"},[`${ae}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ve,color:de,lineHeight:(0,E.unit)(ve),textAlign:"center",background:k,cursor:"pointer",transition:`all ${R}`},[`${ae}-zero-width-trigger`]:{position:"absolute",top:te,insetInlineEnd:Ne.calc(ie).mul(-1).equal(),zIndex:1,width:ie,height:ye,color:de,fontSize:Ne.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ee,borderRadius:`0 ${(0,E.unit)(et)} ${(0,E.unit)(et)} 0`,cursor:"pointer",transition:`background ${N} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${N}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ne.calc(ie).mul(-1).equal(),borderRadius:`${(0,E.unit)(et)} 0 0 ${(0,E.unit)(et)}`}},"&-light":{background:Te,[`${ae}-trigger`]:{color:Qe,background:Wt},[`${ae}-zero-width-trigger`]:{color:Qe,background:Wt,border:`1px solid ${Ut}`,borderInlineStart:0}}}}};var le=(0,A.I$)(["Layout","Sider"],Ne=>[M(Ne)],j.eh,{deprecatedTokens:j.jn}),ee=function(Ne,ae){var Ee={};for(var R in Ne)Object.prototype.hasOwnProperty.call(Ne,R)&&ae.indexOf(R)<0&&(Ee[R]=Ne[R]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,R=Object.getOwnPropertySymbols(Ne);N<R.length;N++)ae.indexOf(R[N])<0&&Object.prototype.propertyIsEnumerable.call(Ne,R[N])&&(Ee[R[N]]=Ne[R[N]]);return Ee};const C={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Le=Ne=>!Number.isNaN(Number.parseFloat(Ne))&&isFinite(Ne),Me=t.createContext({}),He=(()=>{let Ne=0;return function(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ne+=1,`${ae}${Ne}`}})();var Pe=t.forwardRef((Ne,ae)=>{const{prefixCls:Ee,className:R,trigger:N,children:vt,defaultCollapsed:ve=!1,theme:de="dark",style:k={},collapsible:te=!1,reverseArrow:ie=!1,width:ye=200,collapsedWidth:et=80,zeroWidthTriggerStyle:Te,breakpoint:Qe,onCollapse:Wt,onBreakpoint:Ut}=Ne,ze=ee(Ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ue}=(0,t.useContext)(Z.V),[sr,tr]=(0,t.useState)("collapsed"in Ne?Ne.collapsed:ve),[$e,re]=(0,t.useState)(!1);(0,t.useEffect)(()=>{"collapsed"in Ne&&tr(Ne.collapsed)},[Ne.collapsed]);const g=(Ur,Lt)=>{"collapsed"in Ne||tr(Ur),Wt==null||Wt(Ur,Lt)},{getPrefixCls:Xe,direction:Se}=(0,t.useContext)(T.E_),ge=Xe("layout-sider",Ee),[fe,q,we]=le(ge),Oe=(0,t.useRef)(null);Oe.current=Ur=>{re(Ur.matches),Ut==null||Ut(Ur.matches),sr!==Ur.matches&&g(Ur.matches,"responsive")},(0,t.useEffect)(()=>{function Ur(lr){return Oe.current(lr)}let Lt;if(typeof window!="undefined"){const{matchMedia:lr}=window;if(lr&&Qe&&Qe in C){Lt=lr(`screen and (max-width: ${C[Qe]})`);try{Lt.addEventListener("change",Ur)}catch(_t){Lt.addListener(Ur)}Ur(Lt)}}return()=>{try{Lt==null||Lt.removeEventListener("change",Ur)}catch(lr){Lt==null||Lt.removeListener(Ur)}}},[Qe]),(0,t.useEffect)(()=>{const Ur=He("ant-sider-");return Ue.addSider(Ur),()=>Ue.removeSider(Ur)},[]);const Ae=()=>{g(!sr,"clickTrigger")},Ye=(0,Y.Z)(ze,["collapsed"]),At=sr?et:ye,Bt=Le(At)?`${At}px`:String(At),cr=parseFloat(String(et||0))===0?t.createElement("span",{onClick:Ae,className:V()(`${ge}-zero-width-trigger`,`${ge}-zero-width-trigger-${ie?"right":"left"}`),style:Te},N||t.createElement(y,null)):null,ur=Se==="rtl"==!ie,Mt={expanded:ur?t.createElement(l.Z,null):t.createElement(W.Z,null),collapsed:ur?t.createElement(W.Z,null):t.createElement(l.Z,null)}[sr?"collapsed":"expanded"],Kt=N!==null?cr||t.createElement("div",{className:`${ge}-trigger`,onClick:Ae,style:{width:Bt}},N||Mt):null,Qt=Object.assign(Object.assign({},k),{flex:`0 0 ${Bt}`,maxWidth:Bt,minWidth:Bt,width:Bt}),St=V()(ge,`${ge}-${de}`,{[`${ge}-collapsed`]:!!sr,[`${ge}-has-trigger`]:te&&N!==null&&!cr,[`${ge}-below`]:!!$e,[`${ge}-zero-width`]:parseFloat(Bt)===0},R,q,we),pr=t.useMemo(()=>({siderCollapsed:sr}),[sr]);return fe(t.createElement(Me.Provider,{value:pr},t.createElement("aside",Object.assign({className:St},Ye,{style:Qt,ref:ae}),t.createElement("div",{className:`${ge}-children`},vt),te||$e&&cr?Kt:null)))})},82401:function(on,Yt,a){"use strict";a.d(Yt,{V:function(){return Fe}});var t=a(67294);const Fe=t.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},26058:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return C}});var t=a(96641),Fe=a(67294),$=a(13144),Be=a.n($),G=a(10366),J=a(53124),U=a(82401),y=a(37419),W=a(25787);function l(Le,Me,He){return typeof He=="boolean"?He:Le.length?!0:(0,y.Z)(Me).some(Pe=>Pe.type===W.Z)}var H=a(24793),V=function(Le,Me){var He={};for(var We in Le)Object.prototype.hasOwnProperty.call(Le,We)&&Me.indexOf(We)<0&&(He[We]=Le[We]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,We=Object.getOwnPropertySymbols(Le);Pe<We.length;Pe++)Me.indexOf(We[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Le,We[Pe])&&(He[We[Pe]]=Le[We[Pe]]);return He};function Y(Le){let{suffixCls:Me,tagName:He,displayName:We}=Le;return Pe=>Fe.forwardRef((ae,Ee)=>Fe.createElement(Pe,Object.assign({ref:Ee,suffixCls:Me,tagName:He},ae)))}const T=Fe.forwardRef((Le,Me)=>{const{prefixCls:He,suffixCls:We,className:Pe,tagName:Ne}=Le,ae=V(Le,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ee}=Fe.useContext(J.E_),R=Ee("layout",He),[N,vt,ve]=(0,H.ZP)(R),de=We?`${R}-${We}`:R;return N(Fe.createElement(Ne,Object.assign({className:Be()(He||de,Pe,vt,ve),ref:Me},ae)))}),Z=Fe.forwardRef((Le,Me)=>{const{direction:He}=Fe.useContext(J.E_),[We,Pe]=Fe.useState([]),{prefixCls:Ne,className:ae,rootClassName:Ee,children:R,hasSider:N,tagName:vt,style:ve}=Le,de=V(Le,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),k=(0,G.Z)(de,["suffixCls"]),{getPrefixCls:te,className:ie,style:ye}=(0,J.dj)("layout"),et=te("layout",Ne),Te=l(We,R,N),[Qe,Wt,Ut]=(0,H.ZP)(et),ze=Be()(et,{[`${et}-has-sider`]:Te,[`${et}-rtl`]:He==="rtl"},ie,ae,Ee,Wt,Ut),Ue=Fe.useMemo(()=>({siderHook:{addSider:sr=>{Pe(tr=>[].concat((0,t.Z)(tr),[sr]))},removeSider:sr=>{Pe(tr=>tr.filter($e=>$e!==sr))}}}),[]);return Qe(Fe.createElement(U.V.Provider,{value:Ue},Fe.createElement(vt,Object.assign({ref:Me,className:ze,style:Object.assign(Object.assign({},ye),ve)},k),R)))}),E=Y({tagName:"div",displayName:"Layout"})(Z),j=Y({suffixCls:"header",tagName:"header",displayName:"Header"})(T),A=Y({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(T),M=Y({suffixCls:"content",tagName:"main",displayName:"Content"})(T);var le=E;const ee=le;ee.Header=j,ee.Footer=A,ee.Content=M,ee.Sider=W.Z,ee._InternalSiderContext=W.D;var C=ee},24793:function(on,Yt,a){"use strict";a.d(Yt,{eh:function(){return Be},jn:function(){return G}});var t=a(16777),Fe=a(83559);const $=J=>{const{antCls:U,componentCls:y,colorText:W,footerBg:l,headerHeight:H,headerPadding:V,headerColor:Y,footerPadding:T,fontSize:Z,bodyBg:E,headerBg:j}=J;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:E,"&, *":{boxSizing:"border-box"},[`&${y}-has-sider`]:{flexDirection:"row",[`> ${y}, > ${y}-content`]:{width:0}},[`${y}-header, &${y}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${y}-header`]:{height:H,padding:V,color:Y,lineHeight:(0,t.unit)(H),background:j,[`${U}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:T,color:W,fontSize:Z,background:l},[`${y}-content`]:{flex:"auto",color:W,minHeight:0}}},Be=J=>{const{colorBgLayout:U,controlHeight:y,controlHeightLG:W,colorText:l,controlHeightSM:H,marginXXS:V,colorTextLightSolid:Y,colorBgContainer:T}=J,Z=W*1.25;return{colorBgHeader:"#001529",colorBgBody:U,colorBgTrigger:"#002140",bodyBg:U,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${Z}px`,headerColor:l,footerPadding:`${H}px ${Z}px`,footerBg:U,siderBg:"#001529",triggerHeight:W+V*2,triggerBg:"#002140",triggerColor:Y,zeroTriggerWidth:W,zeroTriggerHeight:W,lightSiderBg:T,lightTriggerBg:T,lightTriggerColor:l}},G=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Yt.ZP=(0,Fe.I$)("Layout",J=>[$(J)],Be,{deprecatedTokens:G})},76529:function(on,Yt,a){"use strict";a.d(Yt,{J:function(){return J}});var t=a(67294),Fe=a(17799),$=a(89942),Be=function(U,y){var W={};for(var l in U)Object.prototype.hasOwnProperty.call(U,l)&&y.indexOf(l)<0&&(W[l]=U[l]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,l=Object.getOwnPropertySymbols(U);H<l.length;H++)y.indexOf(l[H])<0&&Object.prototype.propertyIsEnumerable.call(U,l[H])&&(W[l[H]]=U[l[H]]);return W};const G=t.createContext(null),J=t.forwardRef((U,y)=>{const{children:W}=U,l=Be(U,["children"]),H=t.useContext(G),V=t.useMemo(()=>Object.assign(Object.assign({},H),l),[H,l.prefixCls,l.mode,l.selectable,l.rootClassName]),Y=(0,Fe.t4)(W),T=(0,Fe.x1)(y,Y?(0,Fe.C4)(W):null);return t.createElement(G.Provider,{value:V},t.createElement($.Z,{space:!0},Y?t.cloneElement(W,{ref:T}):W))});Yt.Z=G},50136:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return fe}});var t=a(67294),Fe=a(78595),$=a(25787),Be=a(64582),G=a(13144),J=a.n(G),U=a(77527),y=a(10366),W=a(33603),l=a(96159),H=a(53124),V=a(35792),T=(0,t.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Z=function(q,we){var Oe={};for(var Ae in q)Object.prototype.hasOwnProperty.call(q,Ae)&&we.indexOf(Ae)<0&&(Oe[Ae]=q[Ae]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ae=Object.getOwnPropertySymbols(q);Ye<Ae.length;Ye++)we.indexOf(Ae[Ye])<0&&Object.prototype.propertyIsEnumerable.call(q,Ae[Ye])&&(Oe[Ae[Ye]]=q[Ae[Ye]]);return Oe},j=q=>{const{prefixCls:we,className:Oe,dashed:Ae}=q,Ye=Z(q,["prefixCls","className","dashed"]),{getPrefixCls:At}=t.useContext(H.E_),Bt=At("menu",we),cr=J()({[`${Bt}-item-divider-dashed`]:!!Ae},Oe);return t.createElement(Fe.iz,Object.assign({className:cr},Ye))},A=a(37419),M=a(83062),ee=q=>{var we;const{className:Oe,children:Ae,icon:Ye,title:At,danger:Bt,extra:cr}=q,{prefixCls:ur,firstLevel:Et,direction:ut,disableMenuItemTitleTooltip:Mt,inlineCollapsed:Kt}=t.useContext(T),Qt=_t=>{const w=Ae==null?void 0:Ae[0],P=t.createElement("span",{className:J()(`${ur}-title-content`,{[`${ur}-title-content-with-extra`]:!!cr||cr===0})},Ae);return(!Ye||t.isValidElement(Ae)&&Ae.type==="span")&&Ae&&_t&&Et&&typeof w=="string"?t.createElement("div",{className:`${ur}-inline-collapsed-noicon`},w.charAt(0)):P},{siderCollapsed:St}=t.useContext($.D);let pr=At;typeof At=="undefined"?pr=Et?Ae:"":At===!1&&(pr="");const Ur={title:pr};!St&&!Kt&&(Ur.title=null,Ur.open=!1);const Lt=(0,A.Z)(Ae).length;let lr=t.createElement(Fe.ck,Object.assign({},(0,y.Z)(q,["title","icon","danger"]),{className:J()({[`${ur}-item-danger`]:Bt,[`${ur}-item-only-child`]:(Ye?Lt+1:Lt)===1},Oe),title:typeof At=="string"?At:void 0}),(0,l.Tm)(Ye,{className:J()(t.isValidElement(Ye)?(we=Ye.props)===null||we===void 0?void 0:we.className:"",`${ur}-item-icon`)}),Qt(Kt));return Mt||(lr=t.createElement(M.Z,Object.assign({},Ur,{placement:ut==="rtl"?"left":"right",classNames:{root:`${ur}-inline-collapsed-tooltip`}}),lr)),lr},C=a(76529),Le=a(16777),Me=a(24327),He=a(14747),We=a(33507),Pe=a(67771),Ne=a(50438),ae=a(83559),Ee=a(43259),N=q=>{const{componentCls:we,motionDurationSlow:Oe,horizontalLineHeight:Ae,colorSplit:Ye,lineWidth:At,lineType:Bt,itemPaddingInline:cr}=q;return{[`${we}-horizontal`]:{lineHeight:Ae,border:0,borderBottom:`${(0,Le.unit)(At)} ${Bt} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${we}-item, ${we}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:cr},[`> ${we}-item:hover,
|
|
|
> ${we}-item-active,
|
|
|
> ${we}-submenu ${we}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${we}-item, ${we}-submenu-title`]:{transition:[`border-color ${Oe}`,`background ${Oe}`].join(",")},[`${we}-submenu-arrow`]:{display:"none"}}}},ve=q=>{let{componentCls:we,menuArrowOffset:Oe,calc:Ae}=q;return{[`${we}-rtl`]:{direction:"rtl"},[`${we}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${we}-rtl${we}-vertical,
|
|
|
${we}-submenu-rtl ${we}-vertical`]:{[`${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Le.unit)(Ae(Oe).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Le.unit)(Oe)})`}}}}};const de=q=>Object.assign({},(0,He.oN)(q));var te=(q,we)=>{const{componentCls:Oe,itemColor:Ae,itemSelectedColor:Ye,subMenuItemSelectedColor:At,groupTitleColor:Bt,itemBg:cr,subMenuItemBg:ur,itemSelectedBg:Et,activeBarHeight:ut,activeBarWidth:Mt,activeBarBorderWidth:Kt,motionDurationSlow:Qt,motionEaseInOut:St,motionEaseOut:pr,itemPaddingInline:Ur,motionDurationMid:Lt,itemHoverColor:lr,lineType:_t,colorSplit:w,itemDisabledColor:P,dangerItemColor:Pt,dangerItemHoverColor:ne,dangerItemSelectedColor:ke,dangerItemActiveBg:Mr,dangerItemSelectedBg:Pr,popupBg:En,itemHoverBg:Nn,itemActiveBg:mn,menuSubMenuBg:yn,horizontalItemSelectedColor:Cn,horizontalItemSelectedBg:L,horizontalItemBorderRadius:x,horizontalItemHoverBg:Dr}=q;return{[`${Oe}-${we}, ${Oe}-${we} > ${Oe}`]:{color:Ae,background:cr,[`&${Oe}-root:focus-visible`]:Object.assign({},de(q)),[`${Oe}-item`]:{"&-group-title, &-extra":{color:Bt}},[`${Oe}-submenu-selected > ${Oe}-submenu-title`]:{color:At},[`${Oe}-item, ${Oe}-submenu-title`]:{color:Ae,[`&:not(${Oe}-item-disabled):focus-visible`]:Object.assign({},de(q))},[`${Oe}-item-disabled, ${Oe}-submenu-disabled`]:{color:`${P} !important`},[`${Oe}-item:not(${Oe}-item-selected):not(${Oe}-submenu-selected)`]:{[`&:hover, > ${Oe}-submenu-title:hover`]:{color:lr}},[`&:not(${Oe}-horizontal)`]:{[`${Oe}-item:not(${Oe}-item-selected)`]:{"&:hover":{backgroundColor:Nn},"&:active":{backgroundColor:mn}},[`${Oe}-submenu-title`]:{"&:hover":{backgroundColor:Nn},"&:active":{backgroundColor:mn}}},[`${Oe}-item-danger`]:{color:Pt,[`&${Oe}-item:hover`]:{[`&:not(${Oe}-item-selected):not(${Oe}-submenu-selected)`]:{color:ne}},[`&${Oe}-item:active`]:{background:Mr}},[`${Oe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Oe}-item-selected`]:{color:Ye,[`&${Oe}-item-danger`]:{color:ke},"a, a:hover":{color:"inherit"}},[`& ${Oe}-item-selected`]:{backgroundColor:Et,[`&${Oe}-item-danger`]:{backgroundColor:Pr}},[`&${Oe}-submenu > ${Oe}`]:{backgroundColor:yn},[`&${Oe}-popup > ${Oe}`]:{backgroundColor:En},[`&${Oe}-submenu-popup > ${Oe}`]:{backgroundColor:En},[`&${Oe}-horizontal`]:Object.assign(Object.assign({},we==="dark"?{borderBottom:0}:{}),{[`> ${Oe}-item, > ${Oe}-submenu`]:{top:Kt,marginTop:q.calc(Kt).mul(-1).equal(),marginBottom:0,borderRadius:x,"&::after":{position:"absolute",insetInline:Ur,bottom:0,borderBottom:`${(0,Le.unit)(ut)} solid transparent`,transition:`border-color ${Qt} ${St}`,content:'""'},"&:hover, &-active, &-open":{background:Dr,"&::after":{borderBottomWidth:ut,borderBottomColor:Cn}},"&-selected":{color:Cn,backgroundColor:L,"&:hover":{backgroundColor:L},"&::after":{borderBottomWidth:ut,borderBottomColor:Cn}}}}),[`&${Oe}-root`]:{[`&${Oe}-inline, &${Oe}-vertical`]:{borderInlineEnd:`${(0,Le.unit)(Kt)} ${_t} ${w}`}},[`&${Oe}-inline`]:{[`${Oe}-sub${Oe}-inline`]:{background:ur},[`${Oe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Le.unit)(Mt)} solid ${Ye}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Lt} ${pr}`,`opacity ${Lt} ${pr}`].join(","),content:'""'},[`&${Oe}-item-danger`]:{"&::after":{borderInlineEndColor:ke}}},[`${Oe}-selected, ${Oe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Lt} ${St}`,`opacity ${Lt} ${St}`].join(",")}}}}}};const ie=q=>{const{componentCls:we,itemHeight:Oe,itemMarginInline:Ae,padding:Ye,menuArrowSize:At,marginXS:Bt,itemMarginBlock:cr,itemWidth:ur,itemPaddingInline:Et}=q,ut=q.calc(At).add(Ye).add(Bt).equal();return{[`${we}-item`]:{position:"relative",overflow:"hidden"},[`${we}-item, ${we}-submenu-title`]:{height:Oe,lineHeight:(0,Le.unit)(Oe),paddingInline:Et,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ae,marginBlock:cr,width:ur},[`> ${we}-item,
|
|
|
> ${we}-submenu > ${we}-submenu-title`]:{height:Oe,lineHeight:(0,Le.unit)(Oe)},[`${we}-item-group-list ${we}-submenu-title,
|
|
|
${we}-submenu-title`]:{paddingInlineEnd:ut}}};var et=q=>{const{componentCls:we,iconCls:Oe,itemHeight:Ae,colorTextLightSolid:Ye,dropdownWidth:At,controlHeightLG:Bt,motionEaseOut:cr,paddingXL:ur,itemMarginInline:Et,fontSizeLG:ut,motionDurationFast:Mt,motionDurationSlow:Kt,paddingXS:Qt,boxShadowSecondary:St,collapsedWidth:pr,collapsedIconSize:Ur}=q,Lt={height:Ae,lineHeight:(0,Le.unit)(Ae),listStylePosition:"inside",listStyleType:"disc"};return[{[we]:{"&-inline, &-vertical":Object.assign({[`&${we}-root`]:{boxShadow:"none"}},ie(q))},[`${we}-submenu-popup`]:{[`${we}-vertical`]:Object.assign(Object.assign({},ie(q)),{boxShadow:St})}},{[`${we}-submenu-popup ${we}-vertical${we}-sub`]:{minWidth:At,maxHeight:`calc(100vh - ${(0,Le.unit)(q.calc(Bt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${we}-inline`]:{width:"100%",[`&${we}-root`]:{[`${we}-item, ${we}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Kt}`,`background ${Kt}`,`padding ${Mt} ${cr}`].join(","),[`> ${we}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${we}-sub${we}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${we}-submenu > ${we}-submenu-title`]:Lt,[`& ${we}-item-group-title`]:{paddingInlineStart:ur}},[`${we}-item`]:Lt}},{[`${we}-inline-collapsed`]:{width:pr,[`&${we}-root`]:{[`${we}-item, ${we}-submenu ${we}-submenu-title`]:{[`> ${we}-inline-collapsed-noicon`]:{fontSize:ut,textAlign:"center"}}},[`> ${we}-item,
|
|
|
> ${we}-item-group > ${we}-item-group-list > ${we}-item,
|
|
|
> ${we}-item-group > ${we}-item-group-list > ${we}-submenu > ${we}-submenu-title,
|
|
|
> ${we}-submenu > ${we}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Le.unit)(q.calc(Ur).div(2).equal())} - ${(0,Le.unit)(Et)})`,textOverflow:"clip",[`
|
|
|
${we}-submenu-arrow,
|
|
|
${we}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${we}-item-icon, ${Oe}`]:{margin:0,fontSize:Ur,lineHeight:(0,Le.unit)(Ae),"+ span":{display:"inline-block",opacity:0}}},[`${we}-item-icon, ${Oe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${we}-item-icon, ${Oe}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${we}-item-group-title`]:Object.assign(Object.assign({},He.vS),{paddingInline:Qt})}}]};const Te=q=>{const{componentCls:we,motionDurationSlow:Oe,motionDurationMid:Ae,motionEaseInOut:Ye,motionEaseOut:At,iconCls:Bt,iconSize:cr,iconMarginInlineEnd:ur}=q;return{[`${we}-item, ${we}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Oe}`,`background ${Oe}`,`padding calc(${Oe} + 0.1s) ${Ye}`].join(","),[`${we}-item-icon, ${Bt}`]:{minWidth:cr,fontSize:cr,transition:[`font-size ${Ae} ${At}`,`margin ${Oe} ${Ye}`,`color ${Oe}`].join(","),"+ span":{marginInlineStart:ur,opacity:1,transition:[`opacity ${Oe} ${Ye}`,`margin ${Oe}`,`color ${Oe}`].join(",")}},[`${we}-item-icon`]:Object.assign({},(0,He.Ro)()),[`&${we}-item-only-child`]:{[`> ${Bt}, > ${we}-item-icon`]:{marginInlineEnd:0}}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${we}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Qe=q=>{const{componentCls:we,motionDurationSlow:Oe,motionEaseInOut:Ae,borderRadius:Ye,menuArrowSize:At,menuArrowOffset:Bt}=q;return{[`${we}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:q.margin,width:At,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Oe} ${Ae}, opacity ${Oe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:q.calc(At).mul(.6).equal(),height:q.calc(At).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${Oe} ${Ae}`,`transform ${Oe} ${Ae}`,`top ${Oe} ${Ae}`,`color ${Oe} ${Ae}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Le.unit)(q.calc(Bt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Le.unit)(Bt)})`}}}}},Wt=q=>{const{antCls:we,componentCls:Oe,fontSize:Ae,motionDurationSlow:Ye,motionDurationMid:At,motionEaseInOut:Bt,paddingXS:cr,padding:ur,colorSplit:Et,lineWidth:ut,zIndexPopup:Mt,borderRadiusLG:Kt,subMenuItemBorderRadius:Qt,menuArrowSize:St,menuArrowOffset:pr,lineType:Ur,groupTitleLineHeight:Lt,groupTitleFontSize:lr}=q;return[{"":{[Oe]:Object.assign(Object.assign({},(0,He.dF)()),{"&-hidden":{display:"none"}})},[`${Oe}-submenu-hidden`]:{display:"none"}},{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.Wf)(q)),(0,He.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ae,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ye} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Oe}-item`]:{flex:"none"}},[`${Oe}-item, ${Oe}-submenu, ${Oe}-submenu-title`]:{borderRadius:q.itemBorderRadius},[`${Oe}-item-group-title`]:{padding:`${(0,Le.unit)(cr)} ${(0,Le.unit)(ur)}`,fontSize:lr,lineHeight:Lt,transition:`all ${Ye}`},[`&-horizontal ${Oe}-submenu`]:{transition:[`border-color ${Ye} ${Bt}`,`background ${Ye} ${Bt}`].join(",")},[`${Oe}-submenu, ${Oe}-submenu-inline`]:{transition:[`border-color ${Ye} ${Bt}`,`background ${Ye} ${Bt}`,`padding ${At} ${Bt}`].join(",")},[`${Oe}-submenu ${Oe}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${Bt}`,`padding ${Ye} ${Bt}`].join(",")},[`${Oe}-title-content`]:{transition:`color ${Ye}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${we}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Oe}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:q.padding}},[`${Oe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Oe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Et,borderStyle:Ur,borderWidth:0,borderTopWidth:ut,marginBlock:ut,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Te(q)),{[`${Oe}-item-group`]:{[`${Oe}-item-group-list`]:{margin:0,padding:0,[`${Oe}-item, ${Oe}-submenu-title`]:{paddingInline:`${(0,Le.unit)(q.calc(Ae).mul(2).equal())} ${(0,Le.unit)(ur)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Mt,borderRadius:Kt,boxShadow:"none",transformOrigin:"0 0",[`&${Oe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Oe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Kt},Te(q)),Qe(q)),{[`${Oe}-item, ${Oe}-submenu > ${Oe}-submenu-title`]:{borderRadius:Qt},[`${Oe}-submenu-title::after`]:{transition:`transform ${Ye} ${Bt}`}})},"\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:q.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:q.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:q.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:q.paddingXS}}}),Qe(q)),{[`&-inline-collapsed ${Oe}-submenu-arrow,
|
|
|
&-inline ${Oe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Le.unit)(pr)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Le.unit)(q.calc(pr).mul(-1).equal())})`}},[`${Oe}-submenu-open${Oe}-submenu-inline > ${Oe}-submenu-title > ${Oe}-submenu-arrow`]:{transform:`translateY(${(0,Le.unit)(q.calc(St).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Le.unit)(q.calc(pr).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Le.unit)(pr)})`}}})},{[`${we}-layout-header`]:{[Oe]:{lineHeight:"inherit"}}}]},Ut=q=>{var we,Oe,Ae;const{colorPrimary:Ye,colorError:At,colorTextDisabled:Bt,colorErrorBg:cr,colorText:ur,colorTextDescription:Et,colorBgContainer:ut,colorFillAlter:Mt,colorFillContent:Kt,lineWidth:Qt,lineWidthBold:St,controlItemBgActive:pr,colorBgTextHover:Ur,controlHeightLG:Lt,lineHeight:lr,colorBgElevated:_t,marginXXS:w,padding:P,fontSize:Pt,controlHeightSM:ne,fontSizeLG:ke,colorTextLightSolid:Mr,colorErrorHover:Pr}=q,En=(we=q.activeBarWidth)!==null&&we!==void 0?we:0,Nn=(Oe=q.activeBarBorderWidth)!==null&&Oe!==void 0?Oe:Qt,mn=(Ae=q.itemMarginInline)!==null&&Ae!==void 0?Ae:q.marginXXS,yn=new Me.FastColor(Mr).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:q.zIndexPopupBase+50,radiusItem:q.borderRadiusLG,itemBorderRadius:q.borderRadiusLG,radiusSubMenuItem:q.borderRadiusSM,subMenuItemBorderRadius:q.borderRadiusSM,colorItemText:ur,itemColor:ur,colorItemTextHover:ur,itemHoverColor:ur,colorItemTextHoverHorizontal:Ye,horizontalItemHoverColor:Ye,colorGroupTitle:Et,groupTitleColor:Et,colorItemTextSelected:Ye,itemSelectedColor:Ye,subMenuItemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:ut,itemBg:ut,colorItemBgHover:Ur,itemHoverBg:Ur,colorItemBgActive:Kt,itemActiveBg:pr,colorSubItemBg:Mt,subMenuItemBg:Mt,colorItemBgSelected:pr,itemSelectedBg:pr,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:En,colorActiveBarHeight:St,activeBarHeight:St,colorActiveBarBorderSize:Qt,activeBarBorderWidth:Nn,colorItemTextDisabled:Bt,itemDisabledColor:Bt,colorDangerItemText:At,dangerItemColor:At,colorDangerItemTextHover:At,dangerItemHoverColor:At,colorDangerItemTextSelected:At,dangerItemSelectedColor:At,colorDangerItemBgActive:cr,dangerItemActiveBg:cr,colorDangerItemBgSelected:cr,dangerItemSelectedBg:cr,itemMarginInline:mn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Lt,groupTitleLineHeight:lr,collapsedWidth:Lt*2,popupBg:_t,itemMarginBlock:w,itemPaddingInline:P,horizontalLineHeight:`${Lt*1.15}px`,iconSize:Pt,iconMarginInlineEnd:ne-Pt,collapsedIconSize:ke,groupTitleFontSize:Pt,darkItemDisabledColor:new Me.FastColor(Mr).setA(.25).toRgbString(),darkItemColor:yn,darkDangerItemColor:At,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Mr,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:At,darkItemHoverBg:"transparent",darkGroupTitleColor:yn,darkItemHoverColor:Mr,darkDangerItemHoverColor:Pr,darkDangerItemSelectedColor:Mr,darkDangerItemActiveBg:At,itemWidth:En?`calc(100% + ${Nn}px)`:`calc(100% - ${mn*2}px)`}};var ze=function(q){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:q,Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,ae.I$)("Menu",Ye=>{const{colorBgElevated:At,controlHeightLG:Bt,fontSize:cr,darkItemColor:ur,darkDangerItemColor:Et,darkItemBg:ut,darkSubMenuItemBg:Mt,darkItemSelectedColor:Kt,darkItemSelectedBg:Qt,darkDangerItemSelectedBg:St,darkItemHoverBg:pr,darkGroupTitleColor:Ur,darkItemHoverColor:Lt,darkItemDisabledColor:lr,darkDangerItemHoverColor:_t,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:P,popupBg:Pt,darkPopupBg:ne}=Ye,ke=Ye.calc(cr).div(7).mul(5).equal(),Mr=(0,Ee.mergeToken)(Ye,{menuArrowSize:ke,menuHorizontalHeight:Ye.calc(Bt).mul(1.15).equal(),menuArrowOffset:Ye.calc(ke).mul(.25).equal(),menuSubMenuBg:At,calc:Ye.calc,popupBg:Pt}),Pr=(0,Ee.mergeToken)(Mr,{itemColor:ur,itemHoverColor:Lt,groupTitleColor:Ur,itemSelectedColor:Kt,subMenuItemSelectedColor:Kt,itemBg:ut,popupBg:ne,subMenuItemBg:Mt,itemActiveBg:"transparent",itemSelectedBg:Qt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:pr,itemDisabledColor:lr,dangerItemColor:Et,dangerItemHoverColor:_t,dangerItemSelectedColor:w,dangerItemActiveBg:P,dangerItemSelectedBg:St,menuSubMenuBg:Mt,horizontalItemSelectedColor:Kt,horizontalItemSelectedBg:Qt});return[Wt(Mr),N(Mr),et(Mr),te(Mr,"light"),te(Pr,"dark"),ve(Mr),(0,We.Z)(Mr),(0,Pe.oN)(Mr,"slide-up"),(0,Pe.oN)(Mr,"slide-down"),(0,Ne._y)(Mr,"zoom-big")]},Ut,{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"]],injectStyle:Oe,unitless:{groupTitleLineHeight:!0}})(q,we)},Ue=a(87263),tr=q=>{var we;const{popupClassName:Oe,icon:Ae,title:Ye,theme:At}=q,Bt=t.useContext(T),{prefixCls:cr,inlineCollapsed:ur,theme:Et}=Bt,ut=(0,Fe.Xl)();let Mt;if(!Ae)Mt=ur&&!ut.length&&Ye&&typeof Ye=="string"?t.createElement("div",{className:`${cr}-inline-collapsed-noicon`},Ye.charAt(0)):t.createElement("span",{className:`${cr}-title-content`},Ye);else{const St=t.isValidElement(Ye)&&Ye.type==="span";Mt=t.createElement(t.Fragment,null,(0,l.Tm)(Ae,{className:J()(t.isValidElement(Ae)?(we=Ae.props)===null||we===void 0?void 0:we.className:"",`${cr}-item-icon`)}),St?Ye:t.createElement("span",{className:`${cr}-title-content`},Ye))}const Kt=t.useMemo(()=>Object.assign(Object.assign({},Bt),{firstLevel:!1}),[Bt]),[Qt]=(0,Ue.Cn)("Menu");return t.createElement(T.Provider,{value:Kt},t.createElement(Fe.Wd,Object.assign({},(0,y.Z)(q,["icon"]),{title:Mt,popupClassName:J()(cr,Oe,`${cr}-${At||Et}`),popupStyle:Object.assign({zIndex:Qt},q.popupStyle)})))},$e=function(q,we){var Oe={};for(var Ae in q)Object.prototype.hasOwnProperty.call(q,Ae)&&we.indexOf(Ae)<0&&(Oe[Ae]=q[Ae]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ae=Object.getOwnPropertySymbols(q);Ye<Ae.length;Ye++)we.indexOf(Ae[Ye])<0&&Object.prototype.propertyIsEnumerable.call(q,Ae[Ye])&&(Oe[Ae[Ye]]=q[Ae[Ye]]);return Oe};function re(q){return q===null||q===!1}const g={item:ee,submenu:tr,divider:j};var Se=(0,t.forwardRef)((q,we)=>{var Oe;const Ae=t.useContext(C.Z),Ye=Ae||{},{getPrefixCls:At,getPopupContainer:Bt,direction:cr,menu:ur}=t.useContext(H.E_),Et=At(),{prefixCls:ut,className:Mt,style:Kt,theme:Qt="light",expandIcon:St,_internalDisableMenuItemTitleTooltip:pr,inlineCollapsed:Ur,siderCollapsed:Lt,rootClassName:lr,mode:_t,selectable:w,onClick:P,overflowedIndicatorPopupClassName:Pt}=q,ne=$e(q,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ke=(0,y.Z)(ne,["collapsedWidth"]);(Oe=Ye.validator)===null||Oe===void 0||Oe.call(Ye,{mode:_t});const Mr=(0,U.Z)(function(){var ar;P==null||P.apply(void 0,arguments),(ar=Ye.onClick)===null||ar===void 0||ar.call(Ye)}),Pr=Ye.mode||_t,En=w!=null?w:Ye.selectable,Nn=Ur!=null?Ur:Lt,mn={horizontal:{motionName:`${Et}-slide-up`},inline:(0,W.Z)(Et),other:{motionName:`${Et}-zoom-big`}},yn=At("menu",ut||Ye.prefixCls),Cn=(0,V.Z)(yn),[L,x,Dr]=ze(yn,Cn,!Ae),K=J()(`${yn}-${Qt}`,ur==null?void 0:ur.className,Mt),Tt=t.useMemo(()=>{var ar,ot;if(typeof St=="function"||re(St))return St||null;if(typeof Ye.expandIcon=="function"||re(Ye.expandIcon))return Ye.expandIcon||null;if(typeof(ur==null?void 0:ur.expandIcon)=="function"||re(ur==null?void 0:ur.expandIcon))return(ur==null?void 0:ur.expandIcon)||null;const Ie=(ar=St!=null?St:Ye==null?void 0:Ye.expandIcon)!==null&&ar!==void 0?ar:ur==null?void 0:ur.expandIcon;return(0,l.Tm)(Ie,{className:J()(`${yn}-submenu-expand-icon`,t.isValidElement(Ie)?(ot=Ie.props)===null||ot===void 0?void 0:ot.className:void 0)})},[St,Ye==null?void 0:Ye.expandIcon,ur==null?void 0:ur.expandIcon,yn]),Xt=t.useMemo(()=>({prefixCls:yn,inlineCollapsed:Nn||!1,direction:cr,firstLevel:!0,theme:Qt,mode:Pr,disableMenuItemTitleTooltip:pr}),[yn,Nn,cr,pr,Qt]);return L(t.createElement(C.Z.Provider,{value:null},t.createElement(T.Provider,{value:Xt},t.createElement(Fe.ZP,Object.assign({getPopupContainer:Bt,overflowedIndicator:t.createElement(Be.Z,null),overflowedIndicatorPopupClassName:J()(yn,`${yn}-${Qt}`,Pt),mode:Pr,selectable:En,onClick:Mr},ke,{inlineCollapsed:Nn,style:Object.assign(Object.assign({},ur==null?void 0:ur.style),Kt),className:K,prefixCls:yn,direction:cr,defaultMotions:mn,expandIcon:Tt,ref:we,rootClassName:J()(lr,x,Ye.rootClassName,Dr,Cn),_internalComponents:g})))))});const ge=(0,t.forwardRef)((q,we)=>{const Oe=(0,t.useRef)(null),Ae=t.useContext($.D);return(0,t.useImperativeHandle)(we,()=>({menu:Oe.current,focus:Ye=>{var At;(At=Oe.current)===null||At===void 0||At.focus(Ye)}})),t.createElement(Se,Object.assign({ref:Oe},q,Ae))});ge.Item=ee,ge.SubMenu=tr,ge.Divider=j,ge.ItemGroup=Fe.BW;var fe=ge},14845:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return $e}});var t=a(67294),Fe=a(83963),$={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"},Be=$,G=a(84180),J=function(g,Xe){return t.createElement(G.Z,(0,Fe.Z)({},g,{ref:Xe,icon:Be}))},U=t.forwardRef(J),y=U,W={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"},l=W,H=function(g,Xe){return t.createElement(G.Z,(0,Fe.Z)({},g,{ref:Xe,icon:l}))},V=t.forwardRef(H),Y=V,T=a(55007),Z=a(79269),E=a(13144),j=a.n(E),A=a(31457),M=a(62906),le=a(53124),ee=a(98675),C=a(25378),Le=a(10110),Me=a(88044),He=a(15729),We=a(16777),Pe=a(47673),Ne=a(20353),ae=a(93900),Ee=a(14747),R=a(43259),N=a(83559);const vt=re=>{const{componentCls:g}=re;return{[`${g}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${g}-item-link`]:{color:re.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${g}-item-link`]:{color:re.colorTextDisabled,cursor:"not-allowed"}}},[`&${g}-disabled`]:{cursor:"not-allowed",[`${g}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:re.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:re.colorBorder,backgroundColor:re.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:re.itemActiveBgDisabled},a:{color:re.itemActiveColorDisabled}}},[`${g}-item-link`]:{color:re.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${g}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${g}-simple-pager`]:{color:re.colorTextDisabled},[`${g}-jump-prev, ${g}-jump-next`]:{[`${g}-item-link-icon`]:{opacity:0},[`${g}-item-ellipsis`]:{opacity:1}}},[`&${g}-simple`]:{[`${g}-prev, ${g}-next`]:{[`&${g}-disabled ${g}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ve=re=>{const{componentCls:g}=re;return{[`&${g}-mini ${g}-total-text, &${g}-mini ${g}-simple-pager`]:{height:re.itemSizeSM,lineHeight:(0,We.unit)(re.itemSizeSM)},[`&${g}-mini ${g}-item`]:{minWidth:re.itemSizeSM,height:re.itemSizeSM,margin:0,lineHeight:(0,We.unit)(re.calc(re.itemSizeSM).sub(2).equal())},[`&${g}-mini ${g}-prev, &${g}-mini ${g}-next`]:{minWidth:re.itemSizeSM,height:re.itemSizeSM,margin:0,lineHeight:(0,We.unit)(re.itemSizeSM)},[`&${g}-mini:not(${g}-disabled)`]:{[`${g}-prev, ${g}-next`]:{[`&:hover ${g}-item-link`]:{backgroundColor:re.colorBgTextHover},[`&:active ${g}-item-link`]:{backgroundColor:re.colorBgTextActive},[`&${g}-disabled:hover ${g}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${g}-mini ${g}-prev ${g}-item-link,
|
|
|
&${g}-mini ${g}-next ${g}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:re.itemSizeSM,lineHeight:(0,We.unit)(re.itemSizeSM)}},[`&${g}-mini ${g}-jump-prev, &${g}-mini ${g}-jump-next`]:{height:re.itemSizeSM,marginInlineEnd:0,lineHeight:(0,We.unit)(re.itemSizeSM)},[`&${g}-mini ${g}-options`]:{marginInlineStart:re.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:re.miniOptionsSizeChangerTop},"&-quick-jumper":{height:re.itemSizeSM,lineHeight:(0,We.unit)(re.itemSizeSM),input:Object.assign(Object.assign({},(0,Pe.x0)(re)),{width:re.paginationMiniQuickJumperInputWidth,height:re.controlHeightSM})}}}},de=re=>{const{componentCls:g}=re;return{[`
|
|
|
&${g}-simple ${g}-prev,
|
|
|
&${g}-simple ${g}-next
|
|
|
`]:{height:re.itemSizeSM,lineHeight:(0,We.unit)(re.itemSizeSM),verticalAlign:"top",[`${g}-item-link`]:{height:re.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:re.colorBgTextHover},"&:active":{backgroundColor:re.colorBgTextActive},"&::after":{height:re.itemSizeSM,lineHeight:(0,We.unit)(re.itemSizeSM)}}},[`&${g}-simple ${g}-simple-pager`]:{display:"inline-block",height:re.itemSizeSM,marginInlineEnd:re.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,We.unit)(re.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:re.itemInputBg,border:`${(0,We.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`,borderRadius:re.borderRadius,outline:"none",transition:`border-color ${re.motionDurationMid}`,color:"inherit","&:hover":{borderColor:re.colorPrimary},"&:focus":{borderColor:re.colorPrimaryHover,boxShadow:`${(0,We.unit)(re.inputOutlineOffset)} 0 ${(0,We.unit)(re.controlOutlineWidth)} ${re.controlOutline}`},"&[disabled]":{color:re.colorTextDisabled,backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,cursor:"not-allowed"}}}}},k=re=>{const{componentCls:g}=re;return{[`${g}-jump-prev, ${g}-jump-next`]:{outline:0,[`${g}-item-container`]:{position:"relative",[`${g}-item-link-icon`]:{color:re.colorPrimary,fontSize:re.fontSizeSM,opacity:0,transition:`all ${re.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${g}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:re.colorTextDisabled,letterSpacing:re.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:re.paginationEllipsisTextIndent,opacity:1,transition:`all ${re.motionDurationMid}`}},"&:hover":{[`${g}-item-link-icon`]:{opacity:1},[`${g}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${g}-prev,
|
|
|
${g}-jump-prev,
|
|
|
${g}-jump-next
|
|
|
`]:{marginInlineEnd:re.marginXS},[`
|
|
|
${g}-prev,
|
|
|
${g}-next,
|
|
|
${g}-jump-prev,
|
|
|
${g}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:re.itemSize,height:re.itemSize,color:re.colorText,fontFamily:re.fontFamily,lineHeight:(0,We.unit)(re.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:re.borderRadius,cursor:"pointer",transition:`all ${re.motionDurationMid}`},[`${g}-prev, ${g}-next`]:{outline:0,button:{color:re.colorText,cursor:"pointer",userSelect:"none"},[`${g}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:re.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,We.unit)(re.lineWidth)} ${re.lineType} transparent`,borderRadius:re.borderRadius,outline:"none",transition:`all ${re.motionDurationMid}`},[`&:hover ${g}-item-link`]:{backgroundColor:re.colorBgTextHover},[`&:active ${g}-item-link`]:{backgroundColor:re.colorBgTextActive},[`&${g}-disabled:hover`]:{[`${g}-item-link`]:{backgroundColor:"transparent"}}},[`${g}-slash`]:{marginInlineEnd:re.paginationSlashMarginInlineEnd,marginInlineStart:re.paginationSlashMarginInlineStart},[`${g}-options`]:{display:"inline-block",marginInlineStart:re.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:re.controlHeight,marginInlineStart:re.marginXS,lineHeight:(0,We.unit)(re.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Pe.ik)(re)),(0,ae.$U)(re,{borderColor:re.colorBorder,hoverBorderColor:re.colorPrimaryHover,activeBorderColor:re.colorPrimary,activeShadow:re.activeShadow})),{"&[disabled]":Object.assign({},(0,ae.Xy)(re)),width:re.calc(re.controlHeightLG).mul(1.25).equal(),height:re.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:re.marginXS,marginInlineEnd:re.marginXS})}}}},te=re=>{const{componentCls:g}=re;return{[`${g}-item`]:{display:"inline-block",minWidth:re.itemSize,height:re.itemSize,marginInlineEnd:re.marginXS,fontFamily:re.fontFamily,lineHeight:(0,We.unit)(re.calc(re.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:re.itemBg,border:`${(0,We.unit)(re.lineWidth)} ${re.lineType} transparent`,borderRadius:re.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,We.unit)(re.paginationItemPaddingInline)}`,color:re.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${g}-item-active)`]:{"&:hover":{transition:`all ${re.motionDurationMid}`,backgroundColor:re.colorBgTextHover},"&:active":{backgroundColor:re.colorBgTextActive}},"&-active":{fontWeight:re.fontWeightStrong,backgroundColor:re.itemActiveBg,borderColor:re.colorPrimary,a:{color:re.colorPrimary},"&:hover":{borderColor:re.colorPrimaryHover},"&:hover a":{color:re.colorPrimaryHover}}}}},ie=re=>{const{componentCls:g}=re;return{[g]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(re)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${g}-total-text`]:{display:"inline-block",height:re.itemSize,marginInlineEnd:re.marginXS,lineHeight:(0,We.unit)(re.calc(re.itemSize).sub(2).equal()),verticalAlign:"middle"}}),te(re)),k(re)),de(re)),ve(re)),vt(re)),{[`@media only screen and (max-width: ${re.screenLG}px)`]:{[`${g}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${re.screenSM}px)`]:{[`${g}-options`]:{display:"none"}}}),[`&${re.componentCls}-rtl`]:{direction:"rtl"}}},ye=re=>{const{componentCls:g}=re;return{[`${g}:not(${g}-disabled)`]:{[`${g}-item`]:Object.assign({},(0,Ee.Qy)(re)),[`${g}-jump-prev, ${g}-jump-next`]:{"&:focus-visible":Object.assign({[`${g}-item-link-icon`]:{opacity:1},[`${g}-item-ellipsis`]:{opacity:0}},(0,Ee.oN)(re))},[`${g}-prev, ${g}-next`]:{[`&:focus-visible ${g}-item-link`]:Object.assign({},(0,Ee.oN)(re))}}}},et=re=>Object.assign({itemBg:re.colorBgContainer,itemSize:re.controlHeight,itemSizeSM:re.controlHeightSM,itemActiveBg:re.colorBgContainer,itemLinkBg:re.colorBgContainer,itemActiveColorDisabled:re.colorTextDisabled,itemActiveBgDisabled:re.controlItemBgActiveDisabled,itemInputBg:re.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Ne.T)(re)),Te=re=>(0,R.mergeToken)(re,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:re.calc(re.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:re.calc(re.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:re.calc(re.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:re.calc(re.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:re.marginSM,paginationSlashMarginInlineEnd:re.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ne.e)(re));var Qe=(0,N.I$)("Pagination",re=>{const g=Te(re);return[ie(g),ye(g)]},et);const Wt=re=>{const{componentCls:g}=re;return{[`${g}${g}-bordered${g}-disabled:not(${g}-mini)`]:{"&, &:hover":{[`${g}-item-link`]:{borderColor:re.colorBorder}},"&:focus-visible":{[`${g}-item-link`]:{borderColor:re.colorBorder}},[`${g}-item, ${g}-item-link`]:{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,[`&:hover:not(${g}-item-active)`]:{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,a:{color:re.colorTextDisabled}},[`&${g}-item-active`]:{backgroundColor:re.itemActiveBgDisabled}},[`${g}-prev, ${g}-next`]:{"&:hover button":{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,color:re.colorTextDisabled},[`${g}-item-link`]:{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder}}},[`${g}${g}-bordered:not(${g}-mini)`]:{[`${g}-prev, ${g}-next`]:{"&:hover button":{borderColor:re.colorPrimaryHover,backgroundColor:re.itemBg},[`${g}-item-link`]:{backgroundColor:re.itemLinkBg,borderColor:re.colorBorder},[`&:hover ${g}-item-link`]:{borderColor:re.colorPrimary,backgroundColor:re.itemBg,color:re.colorPrimary},[`&${g}-disabled`]:{[`${g}-item-link`]:{borderColor:re.colorBorder,color:re.colorTextDisabled}}},[`${g}-item`]:{backgroundColor:re.itemBg,border:`${(0,We.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`,[`&:hover:not(${g}-item-active)`]:{borderColor:re.colorPrimary,backgroundColor:re.itemBg,a:{color:re.colorPrimary}},"&-active":{borderColor:re.colorPrimary}}}}};var Ut=(0,N.bk)(["Pagination","bordered"],re=>{const g=Te(re);return[Wt(g)]},et);function ze(re){return(0,t.useMemo)(()=>typeof re=="boolean"?[re,{}]:re&&typeof re=="object"?[!0,re]:[void 0,void 0],[re])}var Ue=function(re,g){var Xe={};for(var Se in re)Object.prototype.hasOwnProperty.call(re,Se)&&g.indexOf(Se)<0&&(Xe[Se]=re[Se]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Se=Object.getOwnPropertySymbols(re);ge<Se.length;ge++)g.indexOf(Se[ge])<0&&Object.prototype.propertyIsEnumerable.call(re,Se[ge])&&(Xe[Se[ge]]=re[Se[ge]]);return Xe},tr=re=>{const{align:g,prefixCls:Xe,selectPrefixCls:Se,className:ge,rootClassName:fe,style:q,size:we,locale:Oe,responsive:Ae,showSizeChanger:Ye,selectComponentClass:At,pageSizeOptions:Bt}=re,cr=Ue(re,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:ur}=(0,C.Z)(Ae),[,Et]=(0,He.ZP)(),{getPrefixCls:ut,direction:Mt,showSizeChanger:Kt,className:Qt,style:St}=(0,le.dj)("pagination"),pr=ut("pagination",Xe),[Ur,Lt,lr]=Qe(pr),_t=(0,ee.Z)(we),w=_t==="small"||!!(ur&&!_t&&Ae),[P]=(0,Le.Z)("Pagination",M.Z),Pt=Object.assign(Object.assign({},P),Oe),[ne,ke]=ze(Ye),[Mr,Pr]=ze(Kt),En=ne!=null?ne:Mr,Nn=ke!=null?ke:Pr,mn=At||Me.default,yn=t.useMemo(()=>Bt?Bt.map(Tt=>Number(Tt)):void 0,[Bt]),Cn=Tt=>{var Xt;const{disabled:ar,size:ot,onSizeChange:Ie,"aria-label":st,className:zt,options:rr}=Tt,{className:fr,onChange:ht}=Nn||{},ln=(Xt=rr.find(pe=>String(pe.value)===String(ot)))===null||Xt===void 0?void 0:Xt.value;return t.createElement(mn,Object.assign({disabled:ar,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:pe=>pe.parentNode,"aria-label":st,options:rr},Nn,{value:ln,onChange:(pe,qt)=>{Ie==null||Ie(pe),ht==null||ht(pe,qt)},size:w?"small":"middle",className:j()(zt,fr)}))},L=t.useMemo(()=>{const Tt=t.createElement("span",{className:`${pr}-item-ellipsis`},"\u2022\u2022\u2022"),Xt=t.createElement("button",{className:`${pr}-item-link`,type:"button",tabIndex:-1},Mt==="rtl"?t.createElement(Z.Z,null):t.createElement(T.Z,null)),ar=t.createElement("button",{className:`${pr}-item-link`,type:"button",tabIndex:-1},Mt==="rtl"?t.createElement(T.Z,null):t.createElement(Z.Z,null)),ot=t.createElement("a",{className:`${pr}-item-link`},t.createElement("div",{className:`${pr}-item-container`},Mt==="rtl"?t.createElement(Y,{className:`${pr}-item-link-icon`}):t.createElement(y,{className:`${pr}-item-link-icon`}),Tt)),Ie=t.createElement("a",{className:`${pr}-item-link`},t.createElement("div",{className:`${pr}-item-container`},Mt==="rtl"?t.createElement(y,{className:`${pr}-item-link-icon`}):t.createElement(Y,{className:`${pr}-item-link-icon`}),Tt));return{prevIcon:Xt,nextIcon:ar,jumpPrevIcon:ot,jumpNextIcon:Ie}},[Mt,pr]),x=ut("select",Se),Dr=j()({[`${pr}-${g}`]:!!g,[`${pr}-mini`]:w,[`${pr}-rtl`]:Mt==="rtl",[`${pr}-bordered`]:Et.wireframe},Qt,ge,fe,Lt,lr),K=Object.assign(Object.assign({},St),q);return Ur(t.createElement(t.Fragment,null,Et.wireframe&&t.createElement(Ut,{prefixCls:pr}),t.createElement(A.Z,Object.assign({},L,cr,{style:K,prefixCls:pr,selectPrefixCls:x,className:Dr,locale:Pt,pageSizeOptions:yn,showSizeChanger:En,sizeChangerRender:Cn}))))},$e=tr},86738:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return Pe}});var t=a(67294),Fe=a(39291),$=a(13144),Be=a.n($),G=a(5663),J=a(10366),U=a(53124),y=a(55241),W=a(86743),l=a(81643),H=a(85804),V=a(33671),Y=a(10110),T=a(24457),Z=a(66330),E=a(83559);const j=Ne=>{const{componentCls:ae,iconCls:Ee,antCls:R,zIndexPopup:N,colorText:vt,colorWarning:ve,marginXXS:de,marginXS:k,fontSize:te,fontWeightStrong:ie,colorTextHeading:ye}=Ne;return{[ae]:{zIndex:N,[`&${R}-popover`]:{fontSize:te},[`${ae}-message`]:{marginBottom:k,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${ae}-message-icon ${Ee}`]:{color:ve,fontSize:te,lineHeight:1,marginInlineEnd:k},[`${ae}-title`]:{fontWeight:ie,color:ye,"&:only-child":{fontWeight:"normal"}},[`${ae}-description`]:{marginTop:de,color:vt}},[`${ae}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:k}}}}},A=Ne=>{const{zIndexPopupBase:ae}=Ne;return{zIndexPopup:ae+60}};var M=(0,E.I$)("Popconfirm",Ne=>j(Ne),A,{resetStyle:!1}),le=function(Ne,ae){var Ee={};for(var R in Ne)Object.prototype.hasOwnProperty.call(Ne,R)&&ae.indexOf(R)<0&&(Ee[R]=Ne[R]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,R=Object.getOwnPropertySymbols(Ne);N<R.length;N++)ae.indexOf(R[N])<0&&Object.prototype.propertyIsEnumerable.call(Ne,R[N])&&(Ee[R[N]]=Ne[R[N]]);return Ee};const ee=Ne=>{const{prefixCls:ae,okButtonProps:Ee,cancelButtonProps:R,title:N,description:vt,cancelText:ve,okText:de,okType:k="primary",icon:te=t.createElement(Fe.Z,null),showCancel:ie=!0,close:ye,onConfirm:et,onCancel:Te,onPopupClick:Qe}=Ne,{getPrefixCls:Wt}=t.useContext(U.E_),[Ut]=(0,Y.Z)("Popconfirm",T.Z.Popconfirm),ze=(0,l.Z)(N),Ue=(0,l.Z)(vt);return t.createElement("div",{className:`${ae}-inner-content`,onClick:Qe},t.createElement("div",{className:`${ae}-message`},te&&t.createElement("span",{className:`${ae}-message-icon`},te),t.createElement("div",{className:`${ae}-message-text`},ze&&t.createElement("div",{className:`${ae}-title`},ze),Ue&&t.createElement("div",{className:`${ae}-description`},Ue))),t.createElement("div",{className:`${ae}-buttons`},ie&&t.createElement(H.ZP,Object.assign({onClick:Te,size:"small"},R),ve||(Ut==null?void 0:Ut.cancelText)),t.createElement(W.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,V.nx)(k)),Ee),actionFn:et,close:ye,prefixCls:Wt("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},de||(Ut==null?void 0:Ut.okText))))};var Le=Ne=>{const{prefixCls:ae,placement:Ee,className:R,style:N}=Ne,vt=le(Ne,["prefixCls","placement","className","style"]),{getPrefixCls:ve}=t.useContext(U.E_),de=ve("popconfirm",ae),[k]=M(de);return k(t.createElement(Z.ZP,{placement:Ee,className:Be()(de,R),style:N,content:t.createElement(ee,Object.assign({prefixCls:de},vt))}))},Me=function(Ne,ae){var Ee={};for(var R in Ne)Object.prototype.hasOwnProperty.call(Ne,R)&&ae.indexOf(R)<0&&(Ee[R]=Ne[R]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,R=Object.getOwnPropertySymbols(Ne);N<R.length;N++)ae.indexOf(R[N])<0&&Object.prototype.propertyIsEnumerable.call(Ne,R[N])&&(Ee[R[N]]=Ne[R[N]]);return Ee};const We=t.forwardRef((Ne,ae)=>{var Ee,R;const{prefixCls:N,placement:vt="top",trigger:ve="click",okType:de="primary",icon:k=t.createElement(Fe.Z,null),children:te,overlayClassName:ie,onOpenChange:ye,onVisibleChange:et,overlayStyle:Te,styles:Qe,classNames:Wt}=Ne,Ut=Me(Ne,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:ze,className:Ue,style:sr,classNames:tr,styles:$e}=(0,U.dj)("popconfirm"),[re,g]=(0,G.Z)(!1,{value:(Ee=Ne.open)!==null&&Ee!==void 0?Ee:Ne.visible,defaultValue:(R=Ne.defaultOpen)!==null&&R!==void 0?R:Ne.defaultVisible}),Xe=(At,Bt)=>{g(At,!0),et==null||et(At),ye==null||ye(At,Bt)},Se=At=>{Xe(!1,At)},ge=At=>{var Bt;return(Bt=Ne.onConfirm)===null||Bt===void 0?void 0:Bt.call(void 0,At)},fe=At=>{var Bt;Xe(!1,At),(Bt=Ne.onCancel)===null||Bt===void 0||Bt.call(void 0,At)},q=(At,Bt)=>{const{disabled:cr=!1}=Ne;cr||Xe(At,Bt)},we=ze("popconfirm",N),Oe=Be()(we,Ue,ie,tr.root,Wt==null?void 0:Wt.root),Ae=Be()(tr.body,Wt==null?void 0:Wt.body),[Ye]=M(we);return Ye(t.createElement(y.Z,Object.assign({},(0,J.Z)(Ut,["title"]),{trigger:ve,placement:vt,onOpenChange:q,open:re,ref:ae,classNames:{root:Oe,body:Ae},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},$e.root),sr),Te),Qe==null?void 0:Qe.root),body:Object.assign(Object.assign({},$e.body),Qe==null?void 0:Qe.body)},content:t.createElement(ee,Object.assign({okType:de,icon:k},Ne,{prefixCls:we,close:Se,onConfirm:ge,onCancel:fe})),"data-popover-inject":!0}),te))});We._InternalPanelDoNotUseOrYouWillBeFired=Le;var Pe=We},66330:function(on,Yt,a){"use strict";a.d(Yt,{aV:function(){return W},t5:function(){return l}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(36697),G=a(81643),J=a(53124),U=a(20136),y=function(V,Y){var T={};for(var Z in V)Object.prototype.hasOwnProperty.call(V,Z)&&Y.indexOf(Z)<0&&(T[Z]=V[Z]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,Z=Object.getOwnPropertySymbols(V);E<Z.length;E++)Y.indexOf(Z[E])<0&&Object.prototype.propertyIsEnumerable.call(V,Z[E])&&(T[Z[E]]=V[Z[E]]);return T};const W=V=>{let{title:Y,content:T,prefixCls:Z}=V;return!Y&&!T?null:t.createElement(t.Fragment,null,Y&&t.createElement("div",{className:`${Z}-title`},Y),T&&t.createElement("div",{className:`${Z}-inner-content`},T))},l=V=>{const{hashId:Y,prefixCls:T,className:Z,style:E,placement:j="top",title:A,content:M,children:le}=V,ee=(0,G.Z)(A),C=(0,G.Z)(M),Le=$()(Y,T,`${T}-pure`,`${T}-placement-${j}`,Z);return t.createElement("div",{className:Le,style:E},t.createElement("div",{className:`${T}-arrow`}),t.createElement(Be.G,Object.assign({},V,{className:Y,prefixCls:T}),le||t.createElement(W,{prefixCls:T,title:ee,content:C})))},H=V=>{const{prefixCls:Y,className:T}=V,Z=y(V,["prefixCls","className"]),{getPrefixCls:E}=t.useContext(J.E_),j=E("popover",Y),[A,M,le]=(0,U.Z)(j);return A(t.createElement(l,Object.assign({},Z,{prefixCls:j,hashId:M,className:$()(T,le)})))};Yt.ZP=H},55241:function(on,Yt,a){"use strict";var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(5663),G=a(92389),J=a(81643),U=a(33603),y=a(96159),W=a(83062),l=a(66330),H=a(53124),V=a(20136),Y=function(E,j){var A={};for(var M in E)Object.prototype.hasOwnProperty.call(E,M)&&j.indexOf(M)<0&&(A[M]=E[M]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,M=Object.getOwnPropertySymbols(E);le<M.length;le++)j.indexOf(M[le])<0&&Object.prototype.propertyIsEnumerable.call(E,M[le])&&(A[M[le]]=E[M[le]]);return A};const Z=t.forwardRef((E,j)=>{var A,M;const{prefixCls:le,title:ee,content:C,overlayClassName:Le,placement:Me="top",trigger:He="hover",children:We,mouseEnterDelay:Pe=.1,mouseLeaveDelay:Ne=.1,onOpenChange:ae,overlayStyle:Ee={},styles:R,classNames:N}=E,vt=Y(E,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:ve,className:de,style:k,classNames:te,styles:ie}=(0,H.dj)("popover"),ye=ve("popover",le),[et,Te,Qe]=(0,V.Z)(ye),Wt=ve(),Ut=$()(Le,Te,Qe,de,te.root,N==null?void 0:N.root),ze=$()(te.body,N==null?void 0:N.body),[Ue,sr]=(0,Be.Z)(!1,{value:(A=E.open)!==null&&A!==void 0?A:E.visible,defaultValue:(M=E.defaultOpen)!==null&&M!==void 0?M:E.defaultVisible}),tr=(Se,ge)=>{sr(Se,!0),ae==null||ae(Se,ge)},$e=Se=>{Se.keyCode===G.Z.ESC&&tr(!1,Se)},re=Se=>{tr(Se)},g=(0,J.Z)(ee),Xe=(0,J.Z)(C);return et(t.createElement(W.Z,Object.assign({placement:Me,trigger:He,mouseEnterDelay:Pe,mouseLeaveDelay:Ne},vt,{prefixCls:ye,classNames:{root:Ut,body:ze},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},ie.root),k),Ee),R==null?void 0:R.root),body:Object.assign(Object.assign({},ie.body),R==null?void 0:R.body)},ref:j,open:Ue,onOpenChange:re,overlay:g||Xe?t.createElement(l.aV,{prefixCls:ye,title:g,content:Xe}):null,transitionName:(0,U.m)(Wt,"zoom-big",vt.transitionName),"data-popover-inject":!0}),(0,y.Tm)(We,{onKeyDown:Se=>{var ge,fe;t.isValidElement(We)&&((fe=We==null?void 0:(ge=We.props).onKeyDown)===null||fe===void 0||fe.call(ge,Se)),$e(Se)}})))});Z._InternalPanelDoNotUseOrYouWillBeFired=l.ZP,Yt.Z=Z},20136:function(on,Yt,a){"use strict";var t=a(14747),Fe=a(50438),$=a(97414),Be=a(79511),G=a(8796),J=a(83559),U=a(43259);const y=H=>{const{componentCls:V,popoverColor:Y,titleMinWidth:T,fontWeightStrong:Z,innerPadding:E,boxShadowSecondary:j,colorTextHeading:A,borderRadiusLG:M,zIndexPopup:le,titleMarginBottom:ee,colorBgElevated:C,popoverBg:Le,titleBorderBottom:Me,innerContentPadding:He,titlePadding:We}=H;return[{[V]:Object.assign(Object.assign({},(0,t.Wf)(H)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:le,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":C,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${V}-content`]:{position:"relative"},[`${V}-inner`]:{backgroundColor:Le,backgroundClip:"padding-box",borderRadius:M,boxShadow:j,padding:E},[`${V}-title`]:{minWidth:T,marginBottom:ee,color:A,fontWeight:Z,borderBottom:Me,padding:We},[`${V}-inner-content`]:{color:Y,padding:He}})},(0,$.ZP)(H,"var(--antd-arrow-background-color)"),{[`${V}-pure`]:{position:"relative",maxWidth:"none",margin:H.sizePopupArrow,display:"inline-block",[`${V}-content`]:{display:"inline-block"}}}]},W=H=>{const{componentCls:V}=H;return{[V]:G.i.map(Y=>{const T=H[`${Y}6`];return{[`&${V}-${Y}`]:{"--antd-arrow-background-color":T,[`${V}-inner`]:{backgroundColor:T},[`${V}-arrow`]:{background:"transparent"}}}})}},l=H=>{const{lineWidth:V,controlHeight:Y,fontHeight:T,padding:Z,wireframe:E,zIndexPopupBase:j,borderRadiusLG:A,marginXS:M,lineType:le,colorSplit:ee,paddingSM:C}=H,Le=Y-T,Me=Le/2,He=Le/2-V,We=Z;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:j+30},(0,Be.w)(H)),(0,$.wZ)({contentRadius:A,limitVerticalRadius:!0})),{innerPadding:E?0:12,titleMarginBottom:E?0:M,titlePadding:E?`${Me}px ${We}px ${He}px`:0,titleBorderBottom:E?`${V}px ${le} ${ee}`:"none",innerContentPadding:E?`${C}px ${We}px`:0})};Yt.Z=(0,J.I$)("Popover",H=>{const{colorBgElevated:V,colorText:Y}=H,T=(0,U.mergeToken)(H,{popoverBg:V,popoverColor:Y});return[y(T),W(T),(0,Fe._y)(T,"zoom-big")]},l,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},26410:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return tr}});var t=a(67294),Fe=a(24327),$=a(23526),Be=a(60068),G=a(30186),J=a(85846),U=a(13144),y=a.n(U),W=a(10366),l=a(53124),H=a(43579),V=a(83062),Y=a(65409);function T($e){return!$e||$e<0?0:$e>100?100:$e}function Z($e){let{success:re,successPercent:g}=$e,Xe=g;return re&&"progress"in re&&(Xe=re.progress),re&&"percent"in re&&(Xe=re.percent),Xe}const E=$e=>{let{percent:re,success:g,successPercent:Xe}=$e;const Se=T(Z({success:g,successPercent:Xe}));return[Se,T(T(re)-Se)]},j=$e=>{let{success:re={},strokeColor:g}=$e;const{strokeColor:Xe}=re;return[Xe||Y.presetPrimaryColors.green,g||null]},A=($e,re,g)=>{var Xe,Se,ge,fe;let q=-1,we=-1;if(re==="step"){const Oe=g.steps,Ae=g.strokeWidth;typeof $e=="string"||typeof $e=="undefined"?(q=$e==="small"?2:14,we=Ae!=null?Ae:8):typeof $e=="number"?[q,we]=[$e,$e]:[q=14,we=8]=Array.isArray($e)?$e:[$e.width,$e.height],q*=Oe}else if(re==="line"){const Oe=g==null?void 0:g.strokeWidth;typeof $e=="string"||typeof $e=="undefined"?we=Oe||($e==="small"?6:8):typeof $e=="number"?[q,we]=[$e,$e]:[q=-1,we=8]=Array.isArray($e)?$e:[$e.width,$e.height]}else(re==="circle"||re==="dashboard")&&(typeof $e=="string"||typeof $e=="undefined"?[q,we]=$e==="small"?[60,60]:[120,120]:typeof $e=="number"?[q,we]=[$e,$e]:Array.isArray($e)&&(q=(Se=(Xe=$e[0])!==null&&Xe!==void 0?Xe:$e[1])!==null&&Se!==void 0?Se:120,we=(fe=(ge=$e[0])!==null&&ge!==void 0?ge:$e[1])!==null&&fe!==void 0?fe:120));return[q,we]},M=3,le=$e=>M/$e*100;var C=$e=>{const{prefixCls:re,trailColor:g=null,strokeLinecap:Xe="round",gapPosition:Se,gapDegree:ge,width:fe=120,type:q,children:we,success:Oe,size:Ae=fe,steps:Ye}=$e,[At,Bt]=A(Ae,"circle");let{strokeWidth:cr}=$e;cr===void 0&&(cr=Math.max(le(At),6));const ur={width:At,height:Bt,fontSize:At*.15+6},Et=t.useMemo(()=>{if(ge||ge===0)return ge;if(q==="dashboard")return 75},[ge,q]),ut=E($e),Mt=Se||q==="dashboard"&&"bottom"||void 0,Kt=Object.prototype.toString.call($e.strokeColor)==="[object Object]",Qt=j({success:Oe,strokeColor:$e.strokeColor}),St=y()(`${re}-inner`,{[`${re}-circle-gradient`]:Kt}),pr=t.createElement(H.Cd,{steps:Ye,percent:Ye?ut[1]:ut,strokeWidth:cr,trailWidth:cr,strokeColor:Ye?Qt[1]:Qt,strokeLinecap:Xe,trailColor:g,prefixCls:re,gapDegree:Et,gapPosition:Mt}),Ur=At<=20,Lt=t.createElement("div",{className:St,style:ur},pr,!Ur&&we);return Ur?t.createElement(V.Z,{title:we},Lt):Lt},Le=a(16777),Me=a(14747),He=a(83559),We=a(43259);const Pe="--progress-line-stroke-color",Ne="--progress-percent",ae=$e=>{const re=$e?"100%":"-100%";return new Le.Keyframes(`antProgress${$e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${re}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${re}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ee=$e=>{const{componentCls:re,iconCls:g}=$e;return{[re]:Object.assign(Object.assign({},(0,Me.Wf)($e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:$e.fontSize},[`${re}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${re}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:$e.remainingColor,borderRadius:$e.lineBorderRadius},[`${re}-inner:not(${re}-circle-gradient)`]:{[`${re}-circle-path`]:{stroke:$e.defaultColor}},[`${re}-success-bg, ${re}-bg`]:{position:"relative",background:$e.defaultColor,borderRadius:$e.lineBorderRadius,transition:`all ${$e.motionDurationSlow} ${$e.motionEaseInOutCirc}`},[`${re}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${re}-text`]:{width:"max-content",marginInlineStart:0,marginTop:$e.marginXXS}},[`${re}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Pe})`]},height:"100%",width:`calc(1 / var(${Ne}) * 100%)`,display:"block"},[`&${re}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${re}-text-inner`]:{color:$e.colorWhite,[`&${re}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${re}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:$e.colorSuccess},[`${re}-text`]:{display:"inline-block",marginInlineStart:$e.marginXS,color:$e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[g]:{fontSize:$e.fontSize},[`&${re}-text-outer`]:{width:"max-content"},[`&${re}-text-outer${re}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:$e.marginXS}},[`${re}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Le.unit)($e.paddingXXS)}`,[`&${re}-text-start`]:{justifyContent:"start"},[`&${re}-text-end`]:{justifyContent:"end"}},[`&${re}-status-active`]:{[`${re}-bg::before`]:{position:"absolute",inset:0,backgroundColor:$e.colorBgContainer,borderRadius:$e.lineBorderRadius,opacity:0,animationName:ae(),animationDuration:$e.progressActiveMotionDuration,animationTimingFunction:$e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${re}-rtl${re}-status-active`]:{[`${re}-bg::before`]:{animationName:ae(!0)}},[`&${re}-status-exception`]:{[`${re}-bg`]:{backgroundColor:$e.colorError},[`${re}-text`]:{color:$e.colorError}},[`&${re}-status-exception ${re}-inner:not(${re}-circle-gradient)`]:{[`${re}-circle-path`]:{stroke:$e.colorError}},[`&${re}-status-success`]:{[`${re}-bg`]:{backgroundColor:$e.colorSuccess},[`${re}-text`]:{color:$e.colorSuccess}},[`&${re}-status-success ${re}-inner:not(${re}-circle-gradient)`]:{[`${re}-circle-path`]:{stroke:$e.colorSuccess}}})}},R=$e=>{const{componentCls:re,iconCls:g}=$e;return{[re]:{[`${re}-circle-trail`]:{stroke:$e.remainingColor},[`&${re}-circle ${re}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${re}-circle ${re}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:$e.circleTextColor,fontSize:$e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[g]:{fontSize:$e.circleIconFontSize}},[`${re}-circle&-status-exception`]:{[`${re}-text`]:{color:$e.colorError}},[`${re}-circle&-status-success`]:{[`${re}-text`]:{color:$e.colorSuccess}}},[`${re}-inline-circle`]:{lineHeight:1,[`${re}-inner`]:{verticalAlign:"bottom"}}}},N=$e=>{const{componentCls:re}=$e;return{[re]:{[`${re}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:$e.progressStepMinWidth,marginInlineEnd:$e.progressStepMarginInlineEnd,backgroundColor:$e.remainingColor,transition:`all ${$e.motionDurationSlow}`,"&-active":{backgroundColor:$e.defaultColor}}}}}},vt=$e=>{const{componentCls:re,iconCls:g}=$e;return{[re]:{[`${re}-small&-line, ${re}-small&-line ${re}-text ${g}`]:{fontSize:$e.fontSizeSM}}}},ve=$e=>({circleTextColor:$e.colorText,defaultColor:$e.colorInfo,remainingColor:$e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${$e.fontSize/$e.fontSizeSM}em`});var de=(0,He.I$)("Progress",$e=>{const re=$e.calc($e.marginXXS).div(2).equal(),g=(0,We.mergeToken)($e,{progressStepMarginInlineEnd:re,progressStepMinWidth:re,progressActiveMotionDuration:"2.4s"});return[Ee(g),R(g),N(g),vt(g)]},ve),k=function($e,re){var g={};for(var Xe in $e)Object.prototype.hasOwnProperty.call($e,Xe)&&re.indexOf(Xe)<0&&(g[Xe]=$e[Xe]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Xe=Object.getOwnPropertySymbols($e);Se<Xe.length;Se++)re.indexOf(Xe[Se])<0&&Object.prototype.propertyIsEnumerable.call($e,Xe[Se])&&(g[Xe[Se]]=$e[Xe[Se]]);return g};const te=$e=>{let re=[];return Object.keys($e).forEach(g=>{const Xe=parseFloat(g.replace(/%/g,""));Number.isNaN(Xe)||re.push({key:Xe,value:$e[g]})}),re=re.sort((g,Xe)=>g.key-Xe.key),re.map(g=>{let{key:Xe,value:Se}=g;return`${Se} ${Xe}%`}).join(", ")},ie=($e,re)=>{const{from:g=Y.presetPrimaryColors.blue,to:Xe=Y.presetPrimaryColors.blue,direction:Se=re==="rtl"?"to left":"to right"}=$e,ge=k($e,["from","to","direction"]);if(Object.keys(ge).length!==0){const q=te(ge),we=`linear-gradient(${Se}, ${q})`;return{background:we,[Pe]:we}}const fe=`linear-gradient(${Se}, ${g}, ${Xe})`;return{background:fe,[Pe]:fe}};var et=$e=>{const{prefixCls:re,direction:g,percent:Xe,size:Se,strokeWidth:ge,strokeColor:fe,strokeLinecap:q="round",children:we,trailColor:Oe=null,percentPosition:Ae,success:Ye}=$e,{align:At,type:Bt}=Ae,cr=fe&&typeof fe!="string"?ie(fe,g):{[Pe]:fe,background:fe},ur=q==="square"||q==="butt"?0:void 0,Et=Se!=null?Se:[-1,ge||(Se==="small"?6:8)],[ut,Mt]=A(Et,"line",{strokeWidth:ge}),Kt={backgroundColor:Oe||void 0,borderRadius:ur},Qt=Object.assign(Object.assign({width:`${T(Xe)}%`,height:Mt,borderRadius:ur},cr),{[Ne]:T(Xe)/100}),St=Z($e),pr={width:`${T(St)}%`,height:Mt,borderRadius:ur,backgroundColor:Ye==null?void 0:Ye.strokeColor},Ur={width:ut<0?"100%":ut},Lt=t.createElement("div",{className:`${re}-inner`,style:Kt},t.createElement("div",{className:y()(`${re}-bg`,`${re}-bg-${Bt}`),style:Qt},Bt==="inner"&&we),St!==void 0&&t.createElement("div",{className:`${re}-success-bg`,style:pr})),lr=Bt==="outer"&&At==="start",_t=Bt==="outer"&&At==="end";return Bt==="outer"&&At==="center"?t.createElement("div",{className:`${re}-layout-bottom`},Lt,we):t.createElement("div",{className:`${re}-outer`,style:Ur},lr&&we,Lt,_t&&we)},Qe=$e=>{const{size:re,steps:g,rounding:Xe=Math.round,percent:Se=0,strokeWidth:ge=8,strokeColor:fe,trailColor:q=null,prefixCls:we,children:Oe}=$e,Ae=Xe(g*(Se/100)),Ye=re==="small"?2:14,At=re!=null?re:[Ye,ge],[Bt,cr]=A(At,"step",{steps:g,strokeWidth:ge}),ur=Bt/g,Et=Array.from({length:g});for(let ut=0;ut<g;ut++){const Mt=Array.isArray(fe)?fe[ut]:fe;Et[ut]=t.createElement("div",{key:ut,className:y()(`${we}-steps-item`,{[`${we}-steps-item-active`]:ut<=Ae-1}),style:{backgroundColor:ut<=Ae-1?Mt:q,width:ur,height:cr}})}return t.createElement("div",{className:`${we}-steps-outer`},Et,Oe)},Wt=function($e,re){var g={};for(var Xe in $e)Object.prototype.hasOwnProperty.call($e,Xe)&&re.indexOf(Xe)<0&&(g[Xe]=$e[Xe]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Xe=Object.getOwnPropertySymbols($e);Se<Xe.length;Se++)re.indexOf(Xe[Se])<0&&Object.prototype.propertyIsEnumerable.call($e,Xe[Se])&&(g[Xe[Se]]=$e[Xe[Se]]);return g};const Ut=null,ze=["normal","exception","active","success"];var sr=t.forwardRef(($e,re)=>{const{prefixCls:g,className:Xe,rootClassName:Se,steps:ge,strokeColor:fe,percent:q=0,size:we="default",showInfo:Oe=!0,type:Ae="line",status:Ye,format:At,style:Bt,percentPosition:cr={}}=$e,ur=Wt($e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Et="end",type:ut="outer"}=cr,Mt=Array.isArray(fe)?fe[0]:fe,Kt=typeof fe=="string"||Array.isArray(fe)?fe:void 0,Qt=t.useMemo(()=>{if(Mt){const Nn=typeof Mt=="string"?Mt:Object.values(Mt)[0];return new Fe.FastColor(Nn).isLight()}return!1},[fe]),St=t.useMemo(()=>{var Nn,mn;const yn=Z($e);return parseInt(yn!==void 0?(Nn=yn!=null?yn:0)===null||Nn===void 0?void 0:Nn.toString():(mn=q!=null?q:0)===null||mn===void 0?void 0:mn.toString(),10)},[q,$e.success,$e.successPercent]),pr=t.useMemo(()=>!ze.includes(Ye)&&St>=100?"success":Ye||"normal",[Ye,St]),{getPrefixCls:Ur,direction:Lt,progress:lr}=t.useContext(l.E_),_t=Ur("progress",g),[w,P,Pt]=de(_t),ne=Ae==="line",ke=ne&&!ge,Mr=t.useMemo(()=>{if(!Oe)return null;const Nn=Z($e);let mn;const yn=At||(L=>`${L}%`),Cn=ne&&Qt&&ut==="inner";return ut==="inner"||At||pr!=="exception"&&pr!=="success"?mn=yn(T(q),T(Nn)):pr==="exception"?mn=ne?t.createElement(G.Z,null):t.createElement(J.Z,null):pr==="success"&&(mn=ne?t.createElement($.Z,null):t.createElement(Be.Z,null)),t.createElement("span",{className:y()(`${_t}-text`,{[`${_t}-text-bright`]:Cn,[`${_t}-text-${Et}`]:ke,[`${_t}-text-${ut}`]:ke}),title:typeof mn=="string"?mn:void 0},mn)},[Oe,q,St,pr,Ae,_t,At]);let Pr;Ae==="line"?Pr=ge?t.createElement(Qe,Object.assign({},$e,{strokeColor:Kt,prefixCls:_t,steps:typeof ge=="object"?ge.count:ge}),Mr):t.createElement(et,Object.assign({},$e,{strokeColor:Mt,prefixCls:_t,direction:Lt,percentPosition:{align:Et,type:ut}}),Mr):(Ae==="circle"||Ae==="dashboard")&&(Pr=t.createElement(C,Object.assign({},$e,{strokeColor:Mt,prefixCls:_t,progressStatus:pr}),Mr));const En=y()(_t,`${_t}-status-${pr}`,{[`${_t}-${Ae==="dashboard"&&"circle"||Ae}`]:Ae!=="line",[`${_t}-inline-circle`]:Ae==="circle"&&A(we,"circle")[0]<=20,[`${_t}-line`]:ke,[`${_t}-line-align-${Et}`]:ke,[`${_t}-line-position-${ut}`]:ke,[`${_t}-steps`]:ge,[`${_t}-show-info`]:Oe,[`${_t}-${we}`]:typeof we=="string",[`${_t}-rtl`]:Lt==="rtl"},lr==null?void 0:lr.className,Xe,Se,P,Pt);return w(t.createElement("div",Object.assign({ref:re,style:Object.assign(Object.assign({},lr==null?void 0:lr.style),Bt),className:En,role:"progressbar","aria-valuenow":St,"aria-valuemin":0,"aria-valuemax":100},(0,W.Z)(ur,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Pr))}),tr=sr},98813:function(on,Yt,a){"use strict";a.d(Yt,{ZP:function(){return tr}});var t=a(67294),Fe=a.t(t,2),$=a(13144),Be=a.n($),G=a(5663),J=a(1337),U=a(53124),y=a(35792),W=a(98675);const l=t.createContext(null),H=l.Provider;var V=l;const Y=t.createContext(null),T=Y.Provider;var Z=a(95860),E=a(17799),j=a(45353),A=a(92429),M=a(5273),le=a(98866),ee=a(65223),C=a(16777),Le=a(14747),Me=a(83559),He=a(43259);const We=$e=>{const{componentCls:re,antCls:g}=$e,Xe=`${re}-group`;return{[Xe]:Object.assign(Object.assign({},(0,Le.Wf)($e)),{display:"inline-block",fontSize:0,[`&${Xe}-rtl`]:{direction:"rtl"},[`&${Xe}-block`]:{display:"flex"},[`${g}-badge ${g}-badge-count`]:{zIndex:1},[`> ${g}-badge:not(:first-child) > ${g}-button-wrapper`]:{borderInlineStart:"none"}})}},Pe=$e=>{const{componentCls:re,wrapperMarginInlineEnd:g,colorPrimary:Xe,radioSize:Se,motionDurationSlow:ge,motionDurationMid:fe,motionEaseInOutCirc:q,colorBgContainer:we,colorBorder:Oe,lineWidth:Ae,colorBgContainerDisabled:Ye,colorTextDisabled:At,paddingXS:Bt,dotColorDisabled:cr,lineType:ur,radioColor:Et,radioBgColor:ut,calc:Mt}=$e,Kt=`${re}-inner`,St=Mt(Se).sub(Mt(4).mul(2)),pr=Mt(1).mul(Se).equal({unit:!0});return{[`${re}-wrapper`]:Object.assign(Object.assign({},(0,Le.Wf)($e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:g,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${re}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:$e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${re}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,C.unit)(Ae)} ${ur} ${Xe}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[re]:Object.assign(Object.assign({},(0,Le.Wf)($e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${re}-wrapper:hover &,
|
|
|
&:hover ${Kt}`]:{borderColor:Xe},[`${re}-input:focus-visible + ${Kt}`]:Object.assign({},(0,Le.oN)($e)),[`${re}:hover::after, ${re}-wrapper:hover &::after`]:{visibility:"visible"},[`${re}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:pr,height:pr,marginBlockStart:Mt(1).mul(Se).div(-2).equal({unit:!0}),marginInlineStart:Mt(1).mul(Se).div(-2).equal({unit:!0}),backgroundColor:Et,borderBlockStart:0,borderInlineStart:0,borderRadius:pr,transform:"scale(0)",opacity:0,transition:`all ${ge} ${q}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:pr,height:pr,backgroundColor:we,borderColor:Oe,borderStyle:"solid",borderWidth:Ae,borderRadius:"50%",transition:`all ${fe}`},[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${re}-checked`]:{[Kt]:{borderColor:Xe,backgroundColor:ut,"&::after":{transform:`scale(${$e.calc($e.dotSize).div(Se).equal()})`,opacity:1,transition:`all ${ge} ${q}`}}},[`${re}-disabled`]:{cursor:"not-allowed",[Kt]:{backgroundColor:Ye,borderColor:Oe,cursor:"not-allowed","&::after":{backgroundColor:cr}},[`${re}-input`]:{cursor:"not-allowed"},[`${re}-disabled + span`]:{color:At,cursor:"not-allowed"},[`&${re}-checked`]:{[Kt]:{"&::after":{transform:`scale(${Mt(St).div(Se).equal()})`}}}},[`span${re} + *`]:{paddingInlineStart:Bt,paddingInlineEnd:Bt}})}},Ne=$e=>{const{buttonColor:re,controlHeight:g,componentCls:Xe,lineWidth:Se,lineType:ge,colorBorder:fe,motionDurationSlow:q,motionDurationMid:we,buttonPaddingInline:Oe,fontSize:Ae,buttonBg:Ye,fontSizeLG:At,controlHeightLG:Bt,controlHeightSM:cr,paddingXS:ur,borderRadius:Et,borderRadiusSM:ut,borderRadiusLG:Mt,buttonCheckedBg:Kt,buttonSolidCheckedColor:Qt,colorTextDisabled:St,colorBgContainerDisabled:pr,buttonCheckedBgDisabled:Ur,buttonCheckedColorDisabled:Lt,colorPrimary:lr,colorPrimaryHover:_t,colorPrimaryActive:w,buttonSolidCheckedBg:P,buttonSolidCheckedHoverBg:Pt,buttonSolidCheckedActiveBg:ne,calc:ke}=$e;return{[`${Xe}-button-wrapper`]:{position:"relative",display:"inline-block",height:g,margin:0,paddingInline:Oe,paddingBlock:0,color:re,fontSize:Ae,lineHeight:(0,C.unit)(ke(g).sub(ke(Se).mul(2)).equal()),background:Ye,border:`${(0,C.unit)(Se)} ${ge} ${fe}`,borderBlockStartWidth:ke(Se).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:Se,cursor:"pointer",transition:[`color ${we}`,`background ${we}`,`box-shadow ${we}`].join(","),a:{color:re},[`> ${Xe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:ke(Se).mul(-1).equal(),insetInlineStart:ke(Se).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Se,paddingInline:0,backgroundColor:fe,transition:`background-color ${q}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,C.unit)(Se)} ${ge} ${fe}`,borderStartStartRadius:Et,borderEndStartRadius:Et},"&:last-child":{borderStartEndRadius:Et,borderEndEndRadius:Et},"&:first-child:last-child":{borderRadius:Et},[`${Xe}-group-large &`]:{height:Bt,fontSize:At,lineHeight:(0,C.unit)(ke(Bt).sub(ke(Se).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Mt,borderEndStartRadius:Mt},"&:last-child":{borderStartEndRadius:Mt,borderEndEndRadius:Mt}},[`${Xe}-group-small &`]:{height:cr,paddingInline:ke(ur).sub(Se).equal(),paddingBlock:0,lineHeight:(0,C.unit)(ke(cr).sub(ke(Se).mul(2)).equal()),"&:first-child":{borderStartStartRadius:ut,borderEndStartRadius:ut},"&:last-child":{borderStartEndRadius:ut,borderEndEndRadius:ut}},"&:hover":{position:"relative",color:lr},"&:has(:focus-visible)":Object.assign({},(0,Le.oN)($e)),[`${Xe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Xe}-button-wrapper-disabled)`]:{zIndex:1,color:lr,background:Kt,borderColor:lr,"&::before":{backgroundColor:lr},"&:first-child":{borderColor:lr},"&:hover":{color:_t,borderColor:_t,"&::before":{backgroundColor:_t}},"&:active":{color:w,borderColor:w,"&::before":{backgroundColor:w}}},[`${Xe}-group-solid &-checked:not(${Xe}-button-wrapper-disabled)`]:{color:Qt,background:P,borderColor:P,"&:hover":{color:Qt,background:Pt,borderColor:Pt},"&:active":{color:Qt,background:ne,borderColor:ne}},"&-disabled":{color:St,backgroundColor:pr,borderColor:fe,cursor:"not-allowed","&:first-child, &:hover":{color:St,backgroundColor:pr,borderColor:fe}},[`&-disabled${Xe}-button-wrapper-checked`]:{color:Lt,backgroundColor:Ur,borderColor:fe,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ae=$e=>{const{wireframe:re,padding:g,marginXS:Xe,lineWidth:Se,fontSizeLG:ge,colorText:fe,colorBgContainer:q,colorTextDisabled:we,controlItemBgActiveDisabled:Oe,colorTextLightSolid:Ae,colorPrimary:Ye,colorPrimaryHover:At,colorPrimaryActive:Bt,colorWhite:cr}=$e,ur=4,Et=ge,ut=re?Et-ur*2:Et-(ur+Se)*2;return{radioSize:Et,dotSize:ut,dotColorDisabled:we,buttonSolidCheckedColor:Ae,buttonSolidCheckedBg:Ye,buttonSolidCheckedHoverBg:At,buttonSolidCheckedActiveBg:Bt,buttonBg:q,buttonCheckedBg:q,buttonColor:fe,buttonCheckedBgDisabled:Oe,buttonCheckedColorDisabled:we,buttonPaddingInline:g-Se,wrapperMarginInlineEnd:Xe,radioColor:re?Ye:cr,radioBgColor:re?q:Ye}};var Ee=(0,Me.I$)("Radio",$e=>{const{controlOutline:re,controlOutlineWidth:g}=$e,Xe=`0 0 0 ${(0,C.unit)(g)} ${re}`,Se=Xe,ge=(0,He.mergeToken)($e,{radioFocusShadow:Xe,radioButtonFocusShadow:Se});return[We(ge),Pe(ge),Ne(ge)]},ae,{unitless:{radioSize:!0,dotSize:!0}}),R=function($e,re){var g={};for(var Xe in $e)Object.prototype.hasOwnProperty.call($e,Xe)&&re.indexOf(Xe)<0&&(g[Xe]=$e[Xe]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Xe=Object.getOwnPropertySymbols($e);Se<Xe.length;Se++)re.indexOf(Xe[Se])<0&&Object.prototype.propertyIsEnumerable.call($e,Xe[Se])&&(g[Xe[Se]]=$e[Xe[Se]]);return g};const N=($e,re)=>{var g,Xe;const Se=t.useContext(V),ge=t.useContext(Y),{getPrefixCls:fe,direction:q,radio:we}=t.useContext(U.E_),Oe=t.useRef(null),Ae=(0,E.sQ)(re,Oe),{isFormItemInput:Ye}=t.useContext(ee.aM),At=Mr=>{var Pr,En;(Pr=$e.onChange)===null||Pr===void 0||Pr.call($e,Mr),(En=Se==null?void 0:Se.onChange)===null||En===void 0||En.call(Se,Mr)},{prefixCls:Bt,className:cr,rootClassName:ur,children:Et,style:ut,title:Mt}=$e,Kt=R($e,["prefixCls","className","rootClassName","children","style","title"]),Qt=fe("radio",Bt),St=((Se==null?void 0:Se.optionType)||ge)==="button",pr=St?`${Qt}-button`:Qt,Ur=(0,y.Z)(Qt),[Lt,lr,_t]=Ee(Qt,Ur),w=Object.assign({},Kt),P=t.useContext(le.Z);Se&&(w.name=Se.name,w.onChange=At,w.checked=$e.value===Se.value,w.disabled=(g=w.disabled)!==null&&g!==void 0?g:Se.disabled),w.disabled=(Xe=w.disabled)!==null&&Xe!==void 0?Xe:P;const Pt=Be()(`${pr}-wrapper`,{[`${pr}-wrapper-checked`]:w.checked,[`${pr}-wrapper-disabled`]:w.disabled,[`${pr}-wrapper-rtl`]:q==="rtl",[`${pr}-wrapper-in-form-item`]:Ye,[`${pr}-wrapper-block`]:!!(Se!=null&&Se.block)},we==null?void 0:we.className,cr,ur,lr,_t,Ur),[ne,ke]=(0,M.Z)(w.onClick);return Lt(t.createElement(j.Z,{component:"Radio",disabled:w.disabled},t.createElement("label",{className:Pt,style:Object.assign(Object.assign({},we==null?void 0:we.style),ut),onMouseEnter:$e.onMouseEnter,onMouseLeave:$e.onMouseLeave,title:Mt,onClick:ne},t.createElement(Z.Z,Object.assign({},w,{className:Be()(w.className,{[A.A]:!St}),type:"radio",prefixCls:pr,ref:Ae,onClick:ke})),Et!==void 0?t.createElement("span",{className:`${pr}-label`},Et):null)))};var ve=t.forwardRef(N),de=a(32002),k=a(86318);function te(){var $e=(0,k.Z)({},Fe);return $e.useId}var ie=0;function ye(){}var et=te(),Te=et?function(re){var g=et();return re||g}:function(re){var g=t.useState("ssr-id"),Xe=(0,de.Z)(g,2),Se=Xe[0],ge=Xe[1];return t.useEffect(function(){var fe=ie;ie+=1,ge("rc_unique_".concat(fe))},[]),re||Se};const Qe=t.forwardRef(($e,re)=>{const{getPrefixCls:g,direction:Xe}=t.useContext(U.E_),Se=Te(),{prefixCls:ge,className:fe,rootClassName:q,options:we,buttonStyle:Oe="outline",disabled:Ae,children:Ye,size:At,style:Bt,id:cr,optionType:ur,name:Et=Se,defaultValue:ut,value:Mt,block:Kt=!1,onChange:Qt,onMouseEnter:St,onMouseLeave:pr,onFocus:Ur,onBlur:Lt}=$e,[lr,_t]=(0,G.Z)(ut,{value:Mt}),w=t.useCallback(Cn=>{const L=lr,x=Cn.target.value;"value"in $e||_t(x),x!==L&&(Qt==null||Qt(Cn))},[lr,_t,Qt]),P=g("radio",ge),Pt=`${P}-group`,ne=(0,y.Z)(P),[ke,Mr,Pr]=Ee(P,ne);let En=Ye;we&&we.length>0&&(En=we.map(Cn=>typeof Cn=="string"||typeof Cn=="number"?t.createElement(ve,{key:Cn.toString(),prefixCls:P,disabled:Ae,value:Cn,checked:lr===Cn},Cn):t.createElement(ve,{key:`radio-group-value-options-${Cn.value}`,prefixCls:P,disabled:Cn.disabled||Ae,value:Cn.value,checked:lr===Cn.value,title:Cn.title,style:Cn.style,id:Cn.id,required:Cn.required},Cn.label)));const Nn=(0,W.Z)(At),mn=Be()(Pt,`${Pt}-${Oe}`,{[`${Pt}-${Nn}`]:Nn,[`${Pt}-rtl`]:Xe==="rtl",[`${Pt}-block`]:Kt},fe,q,Mr,Pr,ne),yn=t.useMemo(()=>({onChange:w,value:lr,disabled:Ae,name:Et,optionType:ur,block:Kt}),[w,lr,Ae,Et,ur,Kt]);return ke(t.createElement("div",Object.assign({},(0,J.Z)($e,{aria:!0,data:!0}),{className:mn,style:Bt,onMouseEnter:St,onMouseLeave:pr,onFocus:Ur,onBlur:Lt,id:cr,ref:re}),t.createElement(H,{value:yn},En)))});var Wt=t.memo(Qe),Ut=function($e,re){var g={};for(var Xe in $e)Object.prototype.hasOwnProperty.call($e,Xe)&&re.indexOf(Xe)<0&&(g[Xe]=$e[Xe]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Xe=Object.getOwnPropertySymbols($e);Se<Xe.length;Se++)re.indexOf(Xe[Se])<0&&Object.prototype.propertyIsEnumerable.call($e,Xe[Se])&&(g[Xe[Se]]=$e[Xe[Se]]);return g};const ze=($e,re)=>{const{getPrefixCls:g}=t.useContext(U.E_),{prefixCls:Xe}=$e,Se=Ut($e,["prefixCls"]),ge=g("radio",Xe);return t.createElement(T,{value:"button"},t.createElement(ve,Object.assign({prefixCls:ge},Se,{type:"radio",ref:re})))};var Ue=t.forwardRef(ze);const sr=ve;sr.Button=Ue,sr.Group=Wt,sr.__ANT_RADIO=!0;var tr=sr},57097:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return We}});var t=a(67294),Fe=a(83963),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Be=$,G=a(84180),J=function(Ne,ae){return t.createElement(G.Z,(0,Fe.Z)({},Ne,{ref:ae,icon:Be}))},U=t.forwardRef(J),y=U,W=a(13144),l=a.n(W),H=a(71032),V=a(53124),Y=a(83062),T=a(16777),Z=a(14747),E=a(83559),j=a(43259);const A=Pe=>{const{componentCls:Ne}=Pe;return{[`${Ne}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Pe.marginXS},"> div":{transition:`all ${Pe.motionDurationMid}, outline 0s`,"&:hover":{transform:Pe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,T.unit)(Pe.lineWidth)} dashed ${Pe.starColor}`,transform:Pe.starHoverScale}},"&-first, &-second":{color:Pe.starBg,transition:`all ${Pe.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ne}-star-first, &-half ${Ne}-star-second`]:{opacity:1},[`&-half ${Ne}-star-first, &-full ${Ne}-star-second`]:{color:"inherit"}}}},M=Pe=>({[`&-rtl${Pe.componentCls}`]:{direction:"rtl"}}),le=Pe=>{const{componentCls:Ne}=Pe;return{[Ne]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Z.Wf)(Pe)),{display:"inline-block",margin:0,padding:0,color:Pe.starColor,fontSize:Pe.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Ne} ${Ne}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),A(Pe)),M(Pe))}},ee=Pe=>({starColor:Pe.yellow6,starSize:Pe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Pe.colorFillContent});var C=(0,E.I$)("Rate",Pe=>{const Ne=(0,j.mergeToken)(Pe,{});return[le(Ne)]},ee),Le=a(98866),Me=function(Pe,Ne){var ae={};for(var Ee in Pe)Object.prototype.hasOwnProperty.call(Pe,Ee)&&Ne.indexOf(Ee)<0&&(ae[Ee]=Pe[Ee]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,Ee=Object.getOwnPropertySymbols(Pe);R<Ee.length;R++)Ne.indexOf(Ee[R])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ee[R])&&(ae[Ee[R]]=Pe[Ee[R]]);return ae},We=t.forwardRef((Pe,Ne)=>{const{prefixCls:ae,className:Ee,rootClassName:R,style:N,tooltips:vt,character:ve=t.createElement(y,null),disabled:de}=Pe,k=Me(Pe,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),te=(tr,$e)=>{let{index:re}=$e;return vt?t.createElement(Y.Z,{title:vt[re]},tr):tr},{getPrefixCls:ie,direction:ye,rate:et}=t.useContext(V.E_),Te=ie("rate",ae),[Qe,Wt,Ut]=C(Te),ze=Object.assign(Object.assign({},et==null?void 0:et.style),N),Ue=t.useContext(Le.Z),sr=de!=null?de:Ue;return Qe(t.createElement(H.Z,Object.assign({ref:Ne,character:ve,characterRender:te,disabled:sr},k,{className:l()(Ee,R,Wt,Ut,et==null?void 0:et.className),style:ze,prefixCls:Te,direction:ye})))})},88044:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return $o}});var t=a(67294),Fe=a(13144),$=a.n(Fe);function Be(){return Be=Object.assign?Object.assign.bind():function(se){for(var xe=1;xe<arguments.length;xe++){var ct=arguments[xe];for(var gt in ct)Object.prototype.hasOwnProperty.call(ct,gt)&&(se[gt]=ct[gt])}return se},Be.apply(this,arguments)}function G(se,xe){(xe==null||xe>se.length)&&(xe=se.length);for(var ct=0,gt=new Array(xe);ct<xe;ct++)gt[ct]=se[ct];return gt}function J(se){if(Array.isArray(se))return G(se)}function U(se){if(typeof Symbol!="undefined"&&se[Symbol.iterator]!=null||se["@@iterator"]!=null)return Array.from(se)}function y(se,xe){if(se){if(typeof se=="string")return G(se,xe);var ct=Object.prototype.toString.call(se).slice(8,-1);if(ct==="Object"&&se.constructor&&(ct=se.constructor.name),ct==="Map"||ct==="Set")return Array.from(se);if(ct==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ct))return G(se,xe)}}function W(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(se){return J(se)||U(se)||y(se)||W()}function H(se){"@babel/helpers - typeof";return H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(xe){return typeof xe}:function(xe){return xe&&typeof Symbol=="function"&&xe.constructor===Symbol&&xe!==Symbol.prototype?"symbol":typeof xe},H(se)}function V(se,xe){if(H(se)!=="object"||se===null)return se;var ct=se[Symbol.toPrimitive];if(ct!==void 0){var gt=ct.call(se,xe||"default");if(H(gt)!=="object")return gt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(xe==="string"?String:Number)(se)}function Y(se){var xe=V(se,"string");return H(xe)==="symbol"?xe:String(xe)}function T(se,xe,ct){return xe=Y(xe),xe in se?Object.defineProperty(se,xe,{value:ct,enumerable:!0,configurable:!0,writable:!0}):se[xe]=ct,se}function Z(se,xe){var ct=Object.keys(se);if(Object.getOwnPropertySymbols){var gt=Object.getOwnPropertySymbols(se);xe&&(gt=gt.filter(function(vr){return Object.getOwnPropertyDescriptor(se,vr).enumerable})),ct.push.apply(ct,gt)}return ct}function E(se){for(var xe=1;xe<arguments.length;xe++){var ct=arguments[xe]!=null?arguments[xe]:{};xe%2?Z(Object(ct),!0).forEach(function(gt){T(se,gt,ct[gt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(se,Object.getOwnPropertyDescriptors(ct)):Z(Object(ct)).forEach(function(gt){Object.defineProperty(se,gt,Object.getOwnPropertyDescriptor(ct,gt))})}return se}function j(se){if(Array.isArray(se))return se}function A(se,xe){var ct=se==null?null:typeof Symbol!="undefined"&&se[Symbol.iterator]||se["@@iterator"];if(ct!=null){var gt,vr,Vr,fn,Zn=[],Wn=!0,wn=!1;try{if(Vr=(ct=ct.call(se)).next,xe===0){if(Object(ct)!==ct)return;Wn=!1}else for(;!(Wn=(gt=Vr.call(ct)).done)&&(Zn.push(gt.value),Zn.length!==xe);Wn=!0);}catch(_n){wn=!0,vr=_n}finally{try{if(!Wn&&ct.return!=null&&(fn=ct.return(),Object(fn)!==fn))return}finally{if(wn)throw vr}}return Zn}}function M(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function le(se,xe){return j(se)||A(se,xe)||y(se,xe)||M()}function ee(se,xe){if(se==null)return{};var ct={},gt=Object.keys(se),vr,Vr;for(Vr=0;Vr<gt.length;Vr++)vr=gt[Vr],!(xe.indexOf(vr)>=0)&&(ct[vr]=se[vr]);return ct}function C(se,xe){if(se==null)return{};var ct=ee(se,xe),gt,vr;if(Object.getOwnPropertySymbols){var Vr=Object.getOwnPropertySymbols(se);for(vr=0;vr<Vr.length;vr++)gt=Vr[vr],!(xe.indexOf(gt)>=0)&&Object.prototype.propertyIsEnumerable.call(se,gt)&&(ct[gt]=se[gt])}return ct}function Le(se){var xe=t.useRef();xe.current=se;var ct=t.useCallback(function(){for(var gt,vr=arguments.length,Vr=new Array(vr),fn=0;fn<vr;fn++)Vr[fn]=arguments[fn];return(gt=xe.current)===null||gt===void 0?void 0:gt.call.apply(gt,[xe].concat(Vr))},[]);return ct}function Me(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var He=Me()?t.useLayoutEffect:t.useEffect,We=He,Pe=function(xe,ct){var gt=t.useRef(!0);He(function(){if(!gt.current)return xe()},ct),He(function(){return gt.current=!1,function(){gt.current=!0}},[])};function Ne(se){var xe=t.useRef(!1),ct=t.useState(se),gt=le(ct,2),vr=gt[0],Vr=gt[1];t.useEffect(function(){return xe.current=!1,function(){xe.current=!0}},[]);function fn(Zn,Wn){Wn&&xe.current||Vr(Zn)}return[vr,fn]}function ae(se){return se!==void 0}function Ee(se,xe){var ct=xe||{},gt=ct.defaultValue,vr=ct.value,Vr=ct.onChange,fn=ct.postState,Zn=Ne(function(){return ae(vr)?vr:ae(gt)?typeof gt=="function"?gt():gt:typeof se=="function"?se():se}),Wn=le(Zn,2),wn=Wn[0],_n=Wn[1],la=vr!==void 0?vr:wn,Ia=fn?fn(la):la,Yn=Le(Vr),ma=Ne([la]),pa=le(ma,2),ta=pa[0],Ta=pa[1];Pe(function(){var eo=ta[0];wn!==eo&&Yn(wn,eo)},[ta]),Pe(function(){ae(vr)||_n(vr)},[vr]);var Za=Le(function(eo,$a){_n(eo,$a),Ta([la],$a)});return[Ia,Za]}var R={};function N(se,xe){}function vt(se,xe){}function ve(){R={}}function de(se,xe,ct){!xe&&!R[ct]&&(se(!1,ct),R[ct]=!0)}function k(se,xe){de(N,se,xe)}function te(se,xe){de(vt,se,xe)}var ie=k,ye=a(73234),et=a.n(ye),Te=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var se=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(se)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(se==null?void 0:se.substr(0,4))},Qe=a(47655);function Wt(se,xe,ct){var gt=t.useRef({});return(!("value"in gt.current)||ct(gt.current.condition,xe))&&(gt.current.value=se(),gt.current.condition=xe),gt.current.value}function Ut(se,xe){typeof se=="function"?se(xe):H(se)==="object"&&se&&"current"in se&&(se.current=xe)}function ze(){for(var se=arguments.length,xe=new Array(se),ct=0;ct<se;ct++)xe[ct]=arguments[ct];var gt=xe.filter(function(vr){return vr});return gt.length<=1?gt[0]:function(vr){xe.forEach(function(Vr){Ut(Vr,vr)})}}function Ue(){for(var se=arguments.length,xe=new Array(se),ct=0;ct<se;ct++)xe[ct]=arguments[ct];return Wt(function(){return ze.apply(void 0,xe)},xe,function(gt,vr){return gt.length===vr.length&>.every(function(Vr,fn){return Vr===vr[fn]})})}function sr(se){var xe,ct,gt=isMemo(se)?se.type.type:se.type;return!(typeof gt=="function"&&!((xe=gt.prototype)!==null&&xe!==void 0&&xe.render)||typeof se=="function"&&!((ct=se.prototype)!==null&&ct!==void 0&&ct.render))}var tr=function(xe){var ct=xe.className,gt=xe.customizeIcon,vr=xe.customizeIconProps,Vr=xe.children,fn=xe.onMouseDown,Zn=xe.onClick,Wn=typeof gt=="function"?gt(vr):gt;return t.createElement("span",{className:ct,onMouseDown:function(_n){_n.preventDefault(),fn==null||fn(_n)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Zn,"aria-hidden":!0},Wn!==void 0?Wn:t.createElement("span",{className:et()(ct.split(/\s+/).map(function(wn){return"".concat(wn,"-icon")}))},Vr))},$e=tr,re=function(xe,ct,gt,vr,Vr){var fn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Zn=arguments.length>6?arguments[6]:void 0,Wn=arguments.length>7?arguments[7]:void 0,wn=t.useMemo(function(){if(H(vr)==="object")return vr.clearIcon;if(Vr)return Vr},[vr,Vr]),_n=t.useMemo(function(){return!!(!fn&&vr&&(gt.length||Zn)&&!(Wn==="combobox"&&Zn===""))},[vr,fn,gt.length,Zn,Wn]);return{allowClear:_n,clearIcon:t.createElement($e,{className:"".concat(xe,"-clear"),onMouseDown:ct,customizeIcon:wn},"\xD7")}},g=t.createContext(null);function Xe(){return t.useContext(g)}function Se(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,xe=t.useState(!1),ct=le(xe,2),gt=ct[0],vr=ct[1],Vr=t.useRef(null),fn=function(){window.clearTimeout(Vr.current)};t.useEffect(function(){return fn},[]);var Zn=function(wn,_n){fn(),Vr.current=window.setTimeout(function(){vr(wn),_n&&_n()},se)};return[gt,Zn,fn]}function ge(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,xe=t.useRef(null),ct=t.useRef(null);t.useEffect(function(){return function(){window.clearTimeout(ct.current)}},[]);function gt(vr){(vr||xe.current===null)&&(xe.current=vr),window.clearTimeout(ct.current),ct.current=window.setTimeout(function(){xe.current=null},se)}return[function(){return xe.current},gt]}function fe(se,xe,ct,gt){var vr=t.useRef(null);vr.current={open:xe,triggerOpen:ct,customizedTrigger:gt},t.useEffect(function(){function Vr(fn){var Zn;if(!((Zn=vr.current)!==null&&Zn!==void 0&&Zn.customizedTrigger)){var Wn=fn.target;Wn.shadowRoot&&fn.composed&&(Wn=fn.composedPath()[0]||Wn),vr.current.open&&se().filter(function(wn){return wn}).every(function(wn){return!wn.contains(Wn)&&wn!==Wn})&&vr.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Vr),function(){return window.removeEventListener("mousedown",Vr)}},[])}var q={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(xe){var ct=xe.keyCode;if(xe.altKey&&!xe.ctrlKey||xe.metaKey||ct>=q.F1&&ct<=q.F12)return!1;switch(ct){case q.ALT:case q.CAPS_LOCK:case q.CONTEXT_MENU:case q.CTRL:case q.DOWN:case q.END:case q.ESC:case q.HOME:case q.INSERT:case q.LEFT:case q.MAC_FF_META:case q.META:case q.NUMLOCK:case q.NUM_CENTER:case q.PAGE_DOWN:case q.PAGE_UP:case q.PAUSE:case q.PRINT_SCREEN:case q.RIGHT:case q.SHIFT:case q.UP:case q.WIN_KEY:case q.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(xe){if(xe>=q.ZERO&&xe<=q.NINE||xe>=q.NUM_ZERO&&xe<=q.NUM_MULTIPLY||xe>=q.A&&xe<=q.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&xe===0)return!0;switch(xe){case q.SPACE:case q.QUESTION_MARK:case q.NUM_PLUS:case q.NUM_MINUS:case q.NUM_PERIOD:case q.NUM_DIVISION:case q.SEMICOLON:case q.DASH:case q.EQUALS:case q.COMMA:case q.PERIOD:case q.SLASH:case q.APOSTROPHE:case q.SINGLE_QUOTE:case q.OPEN_SQUARE_BRACKET:case q.BACKSLASH:case q.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},we=q;function Oe(se){return se&&![we.ESC,we.SHIFT,we.BACKSPACE,we.TAB,we.WIN_KEY,we.ALT,we.META,we.WIN_KEY_RIGHT,we.CTRL,we.SEMICOLON,we.EQUALS,we.CAPS_LOCK,we.CONTEXT_MENU,we.F1,we.F2,we.F3,we.F4,we.F5,we.F6,we.F7,we.F8,we.F9,we.F10,we.F11,we.F12].includes(se)}var Ae=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,Ye=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,At="".concat(Ae," ").concat(Ye).split(/[\s\n]+/),Bt="aria-",cr="data-";function ur(se,xe){return se.indexOf(xe)===0}function Et(se){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ct;xe===!1?ct={aria:!0,data:!0,attr:!0}:xe===!0?ct={aria:!0}:ct=E({},xe);var gt={};return Object.keys(se).forEach(function(vr){(ct.aria&&(vr==="role"||ur(vr,Bt))||ct.data&&ur(vr,cr)||ct.attr&&At.includes(vr))&&(gt[vr]=se[vr])}),gt}function ut(){return ut=Object.assign?Object.assign.bind():function(se){for(var xe=1;xe<arguments.length;xe++){var ct=arguments[xe];for(var gt in ct)Object.prototype.hasOwnProperty.call(ct,gt)&&(se[gt]=ct[gt])}return se},ut.apply(this,arguments)}function Mt(se){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(xe){return typeof xe}:function(xe){return xe&&typeof Symbol=="function"&&xe.constructor===Symbol&&xe!==Symbol.prototype?"symbol":typeof xe},Mt(se)}function Kt(se,xe){if(Mt(se)!=="object"||se===null)return se;var ct=se[Symbol.toPrimitive];if(ct!==void 0){var gt=ct.call(se,xe||"default");if(Mt(gt)!=="object")return gt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(xe==="string"?String:Number)(se)}function Qt(se){var xe=Kt(se,"string");return Mt(xe)==="symbol"?xe:String(xe)}function St(se,xe,ct){return xe=Qt(xe),xe in se?Object.defineProperty(se,xe,{value:ct,enumerable:!0,configurable:!0,writable:!0}):se[xe]=ct,se}function pr(se,xe){var ct=Object.keys(se);if(Object.getOwnPropertySymbols){var gt=Object.getOwnPropertySymbols(se);xe&&(gt=gt.filter(function(vr){return Object.getOwnPropertyDescriptor(se,vr).enumerable})),ct.push.apply(ct,gt)}return ct}function Ur(se){for(var xe=1;xe<arguments.length;xe++){var ct=arguments[xe]!=null?arguments[xe]:{};xe%2?pr(Object(ct),!0).forEach(function(gt){St(se,gt,ct[gt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(se,Object.getOwnPropertyDescriptors(ct)):pr(Object(ct)).forEach(function(gt){Object.defineProperty(se,gt,Object.getOwnPropertyDescriptor(ct,gt))})}return se}function Lt(se){if(Array.isArray(se))return se}function lr(se,xe){var ct=se==null?null:typeof Symbol!="undefined"&&se[Symbol.iterator]||se["@@iterator"];if(ct!=null){var gt,vr,Vr,fn,Zn=[],Wn=!0,wn=!1;try{if(Vr=(ct=ct.call(se)).next,xe===0){if(Object(ct)!==ct)return;Wn=!1}else for(;!(Wn=(gt=Vr.call(ct)).done)&&(Zn.push(gt.value),Zn.length!==xe);Wn=!0);}catch(_n){wn=!0,vr=_n}finally{try{if(!Wn&&ct.return!=null&&(fn=ct.return(),Object(fn)!==fn))return}finally{if(wn)throw vr}}return Zn}}function _t(se,xe){(xe==null||xe>se.length)&&(xe=se.length);for(var ct=0,gt=new Array(xe);ct<xe;ct++)gt[ct]=se[ct];return gt}function w(se,xe){if(se){if(typeof se=="string")return _t(se,xe);var ct=Object.prototype.toString.call(se).slice(8,-1);if(ct==="Object"&&se.constructor&&(ct=se.constructor.name),ct==="Map"||ct==="Set")return Array.from(se);if(ct==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ct))return _t(se,xe)}}function P(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pt(se,xe){return Lt(se)||lr(se,xe)||w(se,xe)||P()}function ne(se,xe){if(se==null)return{};var ct={},gt=Object.keys(se),vr,Vr;for(Vr=0;Vr<gt.length;Vr++)vr=gt[Vr],!(xe.indexOf(vr)>=0)&&(ct[vr]=se[vr]);return ct}function ke(se,xe){if(se==null)return{};var ct=ne(se,xe),gt,vr;if(Object.getOwnPropertySymbols){var Vr=Object.getOwnPropertySymbols(se);for(vr=0;vr<Vr.length;vr++)gt=Vr[vr],!(xe.indexOf(gt)>=0)&&Object.prototype.propertyIsEnumerable.call(se,gt)&&(ct[gt]=se[gt])}return ct}var Mr=a(14958),Pr=a.n(Mr),En=a(3559);function Nn(se){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=[];return t.Children.forEach(se,function(gt){gt==null&&!xe.keepEmpty||(Array.isArray(gt)?ct=ct.concat(Nn(gt)):(0,En.isFragment)(gt)&>.props?ct=ct.concat(Nn(gt.props.children,xe)):ct.push(gt))}),ct}var mn={};function yn(se,xe){}function Cn(se,xe){}function L(){mn={}}function x(se,xe,ct){!xe&&!mn[ct]&&(se(!1,ct),mn[ct]=!0)}function Dr(se,xe){x(yn,se,xe)}function K(se,xe){x(Cn,se,xe)}var Tt=null;function Xt(se,xe,ct){var gt=React.useRef({});return(!("value"in gt.current)||ct(gt.current.condition,xe))&&(gt.current.value=se(),gt.current.condition=xe),gt.current.value}function ar(se,xe){typeof se=="function"?se(xe):Mt(se)==="object"&&se&&"current"in se&&(se.current=xe)}function ot(){for(var se=arguments.length,xe=new Array(se),ct=0;ct<se;ct++)xe[ct]=arguments[ct];var gt=xe.filter(function(vr){return vr});return gt.length<=1?gt[0]:function(vr){xe.forEach(function(Vr){ar(Vr,vr)})}}function Ie(){for(var se=arguments.length,xe=new Array(se),ct=0;ct<se;ct++)xe[ct]=arguments[ct];return useMemo(function(){return ot.apply(void 0,xe)},xe,function(gt,vr){return gt.length===vr.length&>.every(function(Vr,fn){return Vr===vr[fn]})})}function st(se){var xe,ct,gt=(0,En.isMemo)(se)?se.type.type:se.type;return!(typeof gt=="function"&&!((xe=gt.prototype)!==null&&xe!==void 0&&xe.render)||typeof se=="function"&&!((ct=se.prototype)!==null&&ct!==void 0&&ct.render))}var zt=a(73935);function rr(se){return se instanceof HTMLElement||se instanceof SVGElement}function fr(se){return rr(se)?se:se instanceof t.Component?zt.findDOMNode(se):null}var ht=a(91033),ln=new Map;function pe(se){se.forEach(function(xe){var ct,gt=xe.target;(ct=ln.get(gt))===null||ct===void 0||ct.forEach(function(vr){return vr(gt)})})}var qt=new ht.Z(pe),gr=null,$r=null;function tn(se,xe){ln.has(se)||(ln.set(se,new Set),qt.observe(se)),ln.get(se).add(xe)}function $n(se,xe){ln.has(se)&&(ln.get(se).delete(xe),ln.get(se).size||(qt.unobserve(se),ln.delete(se)))}function Vt(se,xe){if(!(se instanceof xe))throw new TypeError("Cannot call a class as a function")}function yr(se,xe){for(var ct=0;ct<xe.length;ct++){var gt=xe[ct];gt.enumerable=gt.enumerable||!1,gt.configurable=!0,"value"in gt&&(gt.writable=!0),Object.defineProperty(se,Qt(gt.key),gt)}}function jr(se,xe,ct){return xe&&yr(se.prototype,xe),ct&&yr(se,ct),Object.defineProperty(se,"prototype",{writable:!1}),se}function Er(se,xe){return Er=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(gt,vr){return gt.__proto__=vr,gt},Er(se,xe)}function Kr(se,xe){if(typeof xe!="function"&&xe!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(xe&&xe.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),Object.defineProperty(se,"prototype",{writable:!1}),xe&&Er(se,xe)}function Jr(se){return Jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ct){return ct.__proto__||Object.getPrototypeOf(ct)},Jr(se)}function mt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(se){return!1}}function Jt(se){if(se===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function nr(se,xe){if(xe&&(Mt(xe)==="object"||typeof xe=="function"))return xe;if(xe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jt(se)}function dr(se){var xe=mt();return function(){var gt=Jr(se),vr;if(xe){var Vr=Jr(this).constructor;vr=Reflect.construct(gt,arguments,Vr)}else vr=gt.apply(this,arguments);return nr(this,vr)}}var Rr=function(se){Kr(ct,se);var xe=dr(ct);function ct(){return Vt(this,ct),xe.apply(this,arguments)}return jr(ct,[{key:"render",value:function(){return this.props.children}}]),ct}(t.Component),Sn=t.createContext(null);function an(se){var xe=se.children,ct=se.onBatchResize,gt=t.useRef(0),vr=t.useRef([]),Vr=t.useContext(Sn),fn=t.useCallback(function(Zn,Wn,wn){gt.current+=1;var _n=gt.current;vr.current.push({size:Zn,element:Wn,data:wn}),Promise.resolve().then(function(){_n===gt.current&&(ct==null||ct(vr.current),vr.current=[])}),Vr==null||Vr(Zn,Wn,wn)},[ct,Vr]);return t.createElement(Sn.Provider,{value:fn},xe)}function An(se,xe){var ct=se.children,gt=se.disabled,vr=t.useRef(null),Vr=t.useRef(null),fn=t.useContext(Sn),Zn=typeof ct=="function",Wn=Zn?ct(vr):ct,wn=t.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),_n=!Zn&&t.isValidElement(Wn)&&st(Wn),la=_n?Wn.ref:null,Ia=t.useMemo(function(){return ot(la,vr)},[la,vr]),Yn=function(){return fr(vr.current)||fr(Vr.current)};t.useImperativeHandle(xe,function(){return Yn()});var ma=t.useRef(se);ma.current=se;var pa=t.useCallback(function(ta){var Ta=ma.current,Za=Ta.onResize,eo=Ta.data,$a=ta.getBoundingClientRect(),Ga=$a.width,xa=$a.height,Ka=ta.offsetWidth,Ra=ta.offsetHeight,oo=Math.floor(Ga),fo=Math.floor(xa);if(wn.current.width!==oo||wn.current.height!==fo||wn.current.offsetWidth!==Ka||wn.current.offsetHeight!==Ra){var no={width:oo,height:fo,offsetWidth:Ka,offsetHeight:Ra};wn.current=no;var yo=Ka===Math.round(Ga)?Ga:Ka,Ja=Ra===Math.round(xa)?xa:Ra,Eo=Ur(Ur({},no),{},{offsetWidth:yo,offsetHeight:Ja});fn==null||fn(Eo,ta,eo),Za&&Promise.resolve().then(function(){Za(Eo,ta)})}},[]);return t.useEffect(function(){var ta=Yn();return ta&&!gt&&tn(ta,pa),function(){return $n(ta,pa)}},[vr.current,gt]),t.createElement(Rr,{ref:Vr},_n?t.cloneElement(Wn,{ref:Ia}):Wn)}var zn=t.forwardRef(An),Gr=zn,Kn="rc-observer-key";function In(se,xe){var ct=se.children,gt=typeof ct=="function"?[ct]:Nn(ct);return gt.map(function(vr,Vr){var fn=(vr==null?void 0:vr.key)||"".concat(Kn,"-").concat(Vr);return t.createElement(Gr,ut({},se,{key:fn,ref:Vr===0?xe:void 0}),vr)})}var ha=t.forwardRef(In);ha.Collection=an;var Oa=ha;function Ca(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ra=Ca()?t.useLayoutEffect:t.useEffect,p=function(xe,ct){var gt=t.useRef(!0);ra(function(){return xe(gt.current)},ct),ra(function(){return gt.current=!1,function(){gt.current=!0}},[])},c=function(xe,ct){p(function(gt){if(!gt)return xe()},ct)},d=p,v=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],I=void 0;function b(se,xe){var ct=se.prefixCls,gt=se.invalidate,vr=se.item,Vr=se.renderItem,fn=se.responsive,Zn=se.responsiveDisabled,Wn=se.registerSize,wn=se.itemKey,_n=se.className,la=se.style,Ia=se.children,Yn=se.display,ma=se.order,pa=se.component,ta=pa===void 0?"div":pa,Ta=ke(se,v),Za=fn&&!Yn;function eo(Ra){Wn(wn,Ra)}t.useEffect(function(){return function(){eo(null)}},[]);var $a=Vr&&vr!==I?Vr(vr):Ia,Ga;gt||(Ga={opacity:Za?0:1,height:Za?0:I,overflowY:Za?"hidden":I,order:fn?ma:I,pointerEvents:Za?"none":I,position:Za?"absolute":I});var xa={};Za&&(xa["aria-hidden"]=!0);var Ka=t.createElement(ta,ut({className:Pr()(!gt&&ct,_n),style:Ur(Ur({},Ga),la)},xa,Ta,{ref:xe}),$a);return fn&&(Ka=t.createElement(Oa,{onResize:function(oo){var fo=oo.offsetWidth;eo(fo)},disabled:Zn},Ka)),Ka}var B=t.forwardRef(b);B.displayName="Item";var X=B;function _(se){var xe=t.useRef();xe.current=se;var ct=t.useCallback(function(){for(var gt,vr=arguments.length,Vr=new Array(vr),fn=0;fn<vr;fn++)Vr[fn]=arguments[fn];return(gt=xe.current)===null||gt===void 0?void 0:gt.call.apply(gt,[xe].concat(Vr))},[]);return ct}var Ce=function(xe){return+setTimeout(xe,16)},_e=function(xe){return clearTimeout(xe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ce=function(xe){return window.requestAnimationFrame(xe)},_e=function(xe){return window.cancelAnimationFrame(xe)});var Ge=0,nt=new Map;function me(se){nt.delete(se)}var Gt=function(xe){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ge+=1;var gt=Ge;function vr(Vr){if(Vr===0)me(gt),xe();else{var fn=Ce(function(){vr(Vr-1)});nt.set(gt,fn)}}return vr(ct),gt};Gt.cancel=function(se){var xe=nt.get(se);return me(xe),_e(xe)};var oe=Gt;function jt(se){if(typeof MessageChannel=="undefined")oe(se);else{var xe=new MessageChannel;xe.port1.onmessage=function(){return se()},xe.port2.postMessage(void 0)}}function lt(){var se=t.useRef(null),xe=function(gt){se.current||(se.current=[],jt(function(){(0,zt.unstable_batchedUpdates)(function(){se.current.forEach(function(vr){vr()}),se.current=null})})),se.current.push(gt)};return xe}function Zt(se,xe){var ct=t.useState(xe),gt=Pt(ct,2),vr=gt[0],Vr=gt[1],fn=_(function(Zn){se(function(){Vr(Zn)})});return[vr,fn]}var wr=t.createContext(null),cn=["component"],vn=["className"],On=["className"],qr=function(xe,ct){var gt=t.useContext(wr);if(!gt){var vr=xe.component,Vr=vr===void 0?"div":vr,fn=ke(xe,cn);return t.createElement(Vr,ut({},fn,{ref:ct}))}var Zn=gt.className,Wn=ke(gt,vn),wn=xe.className,_n=ke(xe,On);return t.createElement(wr.Provider,{value:null},t.createElement(X,ut({ref:ct,className:Pr()(Zn,wn)},Wn,_n)))},kt=t.forwardRef(qr);kt.displayName="RawItem";var un=kt,gn=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],yt="responsive",Ct="invalidate";function ir(se){return"+ ".concat(se.length," ...")}function Rt(se,xe){var ct=se.prefixCls,gt=ct===void 0?"rc-overflow":ct,vr=se.data,Vr=vr===void 0?[]:vr,fn=se.renderItem,Zn=se.renderRawItem,Wn=se.itemKey,wn=se.itemWidth,_n=wn===void 0?10:wn,la=se.ssr,Ia=se.style,Yn=se.className,ma=se.maxCount,pa=se.renderRest,ta=se.renderRawRest,Ta=se.suffix,Za=se.component,eo=Za===void 0?"div":Za,$a=se.itemComponent,Ga=se.onVisibleChange,xa=ke(se,gn),Ka=la==="full",Ra=lt(),oo=Zt(Ra,null),fo=Pt(oo,2),no=fo[0],yo=fo[1],Ja=no||0,Eo=Zt(Ra,new Map),io=Pt(Eo,2),po=io[0],Vo=io[1],So=Zt(Ra,0),Qa=Pt(So,2),it=Qa[0],ja=Qa[1],ko=Zt(Ra,0),ti=Pt(ko,2),Co=ti[0],To=ti[1],ri=Zt(Ra,0),Ro=Pt(ri,2),yi=Ro[0],Si=Ro[1],_o=(0,t.useState)(null),Na=Pt(_o,2),wa=Na[0],Da=Na[1],to=(0,t.useState)(null),ya=Pt(to,2),La=ya[0],bo=ya[1],S=t.useMemo(function(){return La===null&&Ka?Number.MAX_SAFE_INTEGER:La||0},[La,no]),Re=(0,t.useState)(!1),Ft=Pt(Re,2),hr=Ft[0],F=Ft[1],r="".concat(gt,"-item"),o=Math.max(it,Co),s=ma===yt,h=Vr.length&&s,z=ma===Ct,ue=h||typeof ma=="number"&&Vr.length>ma,De=(0,t.useMemo)(function(){var Ve=Vr;return h?no===null&&Ka?Ve=Vr:Ve=Vr.slice(0,Math.min(Vr.length,Ja/_n)):typeof ma=="number"&&(Ve=Vr.slice(0,ma)),Ve},[Vr,_n,no,ma,h]),tt=(0,t.useMemo)(function(){return h?Vr.slice(S+1):Vr.slice(De.length)},[Vr,De,h,S]),Ot=(0,t.useCallback)(function(Ve,qe){var Dt;return typeof Wn=="function"?Wn(Ve):(Dt=Wn&&(Ve==null?void 0:Ve[Wn]))!==null&&Dt!==void 0?Dt:qe},[Wn]),or=(0,t.useCallback)(fn||function(Ve){return Ve},[fn]);function xr(Ve,qe,Dt){La===Ve&&(qe===void 0||qe===wa)||(bo(Ve),Dt||(F(Ve<Vr.length-1),Ga==null||Ga(Ve)),qe!==void 0&&Da(qe))}function Wr(Ve,qe){yo(qe.clientWidth)}function pn(Ve,qe){Vo(function(Dt){var mr=new Map(Dt);return qe===null?mr.delete(Ve):mr.set(Ve,qe),mr})}function Pn(Ve,qe){To(qe),ja(Co)}function Fn(Ve,qe){Si(qe)}function ea(Ve){return po.get(Ot(De[Ve],Ve))}d(function(){if(Ja&&typeof o=="number"&&De){var Ve=yi,qe=De.length,Dt=qe-1;if(!qe){xr(0,null);return}for(var mr=0;mr<qe;mr+=1){var Nr=ea(mr);if(Ka&&(Nr=Nr||0),Nr===void 0){xr(mr-1,void 0,!0);break}if(Ve+=Nr,Dt===0&&Ve<=Ja||mr===Dt-1&&Ve+ea(Dt)<=Ja){xr(Dt,null);break}else if(Ve+o>Ja){xr(mr-1,Ve-Nr-yi+Co);break}}Ta&&ea(0)+yi>Ja&&Da(null)}},[Ja,po,Co,yi,Ot,De]);var fa=hr&&!!tt.length,u={};wa!==null&&h&&(u={position:"absolute",left:wa,top:0});var e={prefixCls:r,responsive:h,component:$a,invalidate:z},n=Zn?function(Ve,qe){var Dt=Ot(Ve,qe);return t.createElement(wr.Provider,{key:Dt,value:Ur(Ur({},e),{},{order:qe,item:Ve,itemKey:Dt,registerSize:pn,display:qe<=S})},Zn(Ve,qe))}:function(Ve,qe){var Dt=Ot(Ve,qe);return t.createElement(X,ut({},e,{order:qe,key:Dt,item:Ve,renderItem:or,itemKey:Dt,registerSize:pn,display:qe<=S}))},f,O={order:fa?S:Number.MAX_SAFE_INTEGER,className:"".concat(r,"-rest"),registerSize:Pn,display:fa};if(ta)ta&&(f=t.createElement(wr.Provider,{value:Ur(Ur({},e),O)},ta(tt)));else{var Q=pa||ir;f=t.createElement(X,ut({},e,O),typeof Q=="function"?Q(tt):Q)}var je=t.createElement(eo,ut({className:Pr()(!z&>,Yn),style:Ia,ref:xe},xa),De.map(n),ue?f:null,Ta&&t.createElement(X,ut({},e,{responsive:s,responsiveDisabled:!h,order:S,className:"".concat(r,"-suffix"),registerSize:Fn,display:!0,style:u}),Ta));return s&&(je=t.createElement(Oa,{onResize:Wr,disabled:!h},je)),je}var Zr=t.forwardRef(Rt);Zr.displayName="Overflow",Zr.Item=un,Zr.RESPONSIVE=yt,Zr.INVALIDATE=Ct;var br=Zr,Br=br,Fr=function(xe,ct){var gt,vr=xe.prefixCls,Vr=xe.id,fn=xe.inputElement,Zn=xe.disabled,Wn=xe.tabIndex,wn=xe.autoFocus,_n=xe.autoComplete,la=xe.editable,Ia=xe.activeDescendantId,Yn=xe.value,ma=xe.maxLength,pa=xe.onKeyDown,ta=xe.onMouseDown,Ta=xe.onChange,Za=xe.onPaste,eo=xe.onCompositionStart,$a=xe.onCompositionEnd,Ga=xe.onBlur,xa=xe.open,Ka=xe.attrs,Ra=fn||t.createElement("input",null),oo=Ra,fo=oo.ref,no=oo.props,yo=no.onKeyDown,Ja=no.onChange,Eo=no.onMouseDown,io=no.onCompositionStart,po=no.onCompositionEnd,Vo=no.onBlur,So=no.style;return"maxLength"in Ra.props,Ra=t.cloneElement(Ra,E(E(E({type:"search"},no),{},{id:Vr,ref:ze(ct,fo),disabled:Zn,tabIndex:Wn,autoComplete:_n||"off",autoFocus:wn,className:et()("".concat(vr,"-selection-search-input"),(gt=Ra)===null||gt===void 0||(gt=gt.props)===null||gt===void 0?void 0:gt.className),role:"combobox","aria-expanded":xa||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Vr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Vr,"_list"),"aria-activedescendant":xa?Ia:void 0},Ka),{},{value:la?Yn:"",maxLength:ma,readOnly:!la,unselectable:la?null:"on",style:E(E({},So),{},{opacity:la?null:0}),onKeyDown:function(it){pa(it),yo&&yo(it)},onMouseDown:function(it){ta(it),Eo&&Eo(it)},onChange:function(it){Ta(it),Ja&&Ja(it)},onCompositionStart:function(it){eo(it),io&&io(it)},onCompositionEnd:function(it){$a(it),po&&po(it)},onPaste:Za,onBlur:function(it){Ga(it),Vo&&Vo(it)}})),Ra},Xr=t.forwardRef(Fr),kr=Xr;function Un(se){return Array.isArray(se)?se:se!==void 0?[se]:[]}var Ke=typeof window!="undefined"&&window.document&&window.document.documentElement,be=Ke;function ce(se){return se!=null}function Je(se){return!se&&se!==0}function dt(se){return["string","number"].includes(H(se))}function Nt(se){var xe=void 0;return se&&(dt(se.title)?xe=se.title.toString():dt(se.label)&&(xe=se.label.toString())),xe}function $t(se,xe){be?t.useLayoutEffect(se,xe):t.useEffect(se,xe)}function er(se){var xe;return(xe=se.key)!==null&&xe!==void 0?xe:se.value}var It=function(xe){xe.preventDefault(),xe.stopPropagation()},Cr=function(xe){var ct=xe.id,gt=xe.prefixCls,vr=xe.values,Vr=xe.open,fn=xe.searchValue,Zn=xe.autoClearSearchValue,Wn=xe.inputRef,wn=xe.placeholder,_n=xe.disabled,la=xe.mode,Ia=xe.showSearch,Yn=xe.autoFocus,ma=xe.autoComplete,pa=xe.activeDescendantId,ta=xe.tabIndex,Ta=xe.removeIcon,Za=xe.maxTagCount,eo=xe.maxTagTextLength,$a=xe.maxTagPlaceholder,Ga=$a===void 0?function(to){return"+ ".concat(to.length," ...")}:$a,xa=xe.tagRender,Ka=xe.onToggleOpen,Ra=xe.onRemove,oo=xe.onInputChange,fo=xe.onInputPaste,no=xe.onInputKeyDown,yo=xe.onInputMouseDown,Ja=xe.onInputCompositionStart,Eo=xe.onInputCompositionEnd,io=xe.onInputBlur,po=t.useRef(null),Vo=(0,t.useState)(0),So=le(Vo,2),Qa=So[0],it=So[1],ja=(0,t.useState)(!1),ko=le(ja,2),ti=ko[0],Co=ko[1],To="".concat(gt,"-selection"),ri=Vr||la==="multiple"&&Zn===!1||la==="tags"?fn:"",Ro=la==="tags"||la==="multiple"&&Zn===!1||Ia&&(Vr||ti);$t(function(){it(po.current.scrollWidth)},[ri]);var yi=function(ya,La,bo,S,Re){return t.createElement("span",{title:Nt(ya),className:et()("".concat(To,"-item"),T({},"".concat(To,"-item-disabled"),bo))},t.createElement("span",{className:"".concat(To,"-item-content")},La),S&&t.createElement($e,{className:"".concat(To,"-item-remove"),onMouseDown:It,onClick:Re,customizeIcon:Ta},"\xD7"))},Si=function(ya,La,bo,S,Re,Ft){var hr=function(r){It(r),Ka(!Vr)};return t.createElement("span",{onMouseDown:hr},xa({label:La,value:ya,disabled:bo,closable:S,onClose:Re,isMaxTag:!!Ft}))},_o=function(ya){var La=ya.disabled,bo=ya.label,S=ya.value,Re=!_n&&!La,Ft=bo;if(typeof eo=="number"&&(typeof bo=="string"||typeof bo=="number")){var hr=String(Ft);hr.length>eo&&(Ft="".concat(hr.slice(0,eo),"..."))}var F=function(o){o&&o.stopPropagation(),Ra(ya)};return typeof xa=="function"?Si(S,Ft,La,Re,F):yi(ya,Ft,La,Re,F)},Na=function(ya){if(!vr.length)return null;var La=typeof Ga=="function"?Ga(ya):Ga;return typeof xa=="function"?Si(void 0,La,!1,!1,void 0,!0):yi({title:La},La,!1)},wa=t.createElement("div",{className:"".concat(To,"-search"),style:{width:Qa},onFocus:function(){Co(!0)},onBlur:function(){Co(!1)}},t.createElement(kr,{ref:Wn,open:Vr,prefixCls:gt,id:ct,inputElement:null,disabled:_n,autoFocus:Yn,autoComplete:ma,editable:Ro,activeDescendantId:pa,value:ri,onKeyDown:no,onMouseDown:yo,onChange:oo,onPaste:fo,onCompositionStart:Ja,onCompositionEnd:Eo,onBlur:io,tabIndex:ta,attrs:Et(xe,!0)}),t.createElement("span",{ref:po,className:"".concat(To,"-search-mirror"),"aria-hidden":!0},ri,"\xA0")),Da=t.createElement(Br,{prefixCls:"".concat(To,"-overflow"),data:vr,renderItem:_o,renderRest:Na,suffix:wa,itemKey:er,maxCount:Za});return t.createElement("span",{className:"".concat(To,"-wrap")},Da,!vr.length&&!ri&&t.createElement("span",{className:"".concat(To,"-placeholder")},wn))},Hr=Cr,sn=function(xe){var ct=xe.inputElement,gt=xe.prefixCls,vr=xe.id,Vr=xe.inputRef,fn=xe.disabled,Zn=xe.autoFocus,Wn=xe.autoComplete,wn=xe.activeDescendantId,_n=xe.mode,la=xe.open,Ia=xe.values,Yn=xe.placeholder,ma=xe.tabIndex,pa=xe.showSearch,ta=xe.searchValue,Ta=xe.activeValue,Za=xe.maxLength,eo=xe.onInputKeyDown,$a=xe.onInputMouseDown,Ga=xe.onInputChange,xa=xe.onInputPaste,Ka=xe.onInputCompositionStart,Ra=xe.onInputCompositionEnd,oo=xe.onInputBlur,fo=xe.title,no=t.useState(!1),yo=le(no,2),Ja=yo[0],Eo=yo[1],io=_n==="combobox",po=io||pa,Vo=Ia[0],So=ta||"";io&&Ta&&!Ja&&(So=Ta),t.useEffect(function(){io&&Eo(!1)},[io,Ta]);var Qa=_n!=="combobox"&&!la&&!pa?!1:!!So,it=fo===void 0?Nt(Vo):fo,ja=t.useMemo(function(){return Vo?null:t.createElement("span",{className:"".concat(gt,"-selection-placeholder"),style:Qa?{visibility:"hidden"}:void 0},Yn)},[Vo,Qa,Yn,gt]);return t.createElement("span",{className:"".concat(gt,"-selection-wrap")},t.createElement("span",{className:"".concat(gt,"-selection-search")},t.createElement(kr,{ref:Vr,prefixCls:gt,id:vr,open:la,inputElement:ct,disabled:fn,autoFocus:Zn,autoComplete:Wn,editable:po,activeDescendantId:wn,value:So,onKeyDown:eo,onMouseDown:$a,onChange:function(ti){Eo(!0),Ga(ti)},onPaste:xa,onCompositionStart:Ka,onCompositionEnd:Ra,onBlur:oo,tabIndex:ma,attrs:Et(xe,!0),maxLength:io?Za:void 0})),!io&&Vo?t.createElement("span",{className:"".concat(gt,"-selection-item"),title:it,style:Qa?{visibility:"hidden"}:void 0},Vo.label):null,ja)},Qr=sn,bt=function(xe,ct){var gt=(0,t.useRef)(null),vr=(0,t.useRef)(!1),Vr=xe.prefixCls,fn=xe.open,Zn=xe.mode,Wn=xe.showSearch,wn=xe.tokenWithEnter,_n=xe.disabled,la=xe.prefix,Ia=xe.autoClearSearchValue,Yn=xe.onSearch,ma=xe.onSearchSubmit,pa=xe.onToggleOpen,ta=xe.onInputKeyDown,Ta=xe.onInputBlur,Za=xe.domRef;t.useImperativeHandle(ct,function(){return{focus:function(it){gt.current.focus(it)},blur:function(){gt.current.blur()}}});var eo=ge(0),$a=le(eo,2),Ga=$a[0],xa=$a[1],Ka=function(it){var ja=it.which,ko=gt.current instanceof HTMLTextAreaElement;!ko&&fn&&(ja===we.UP||ja===we.DOWN)&&it.preventDefault(),ta&&ta(it),ja===we.ENTER&&Zn==="tags"&&!vr.current&&!fn&&(ma==null||ma(it.target.value)),!(ko&&!fn&&~[we.UP,we.DOWN,we.LEFT,we.RIGHT].indexOf(ja))&&Oe(ja)&&pa(!0)},Ra=function(){xa(!0)},oo=(0,t.useRef)(null),fo=function(it){Yn(it,!0,vr.current)!==!1&&pa(!0)},no=function(){vr.current=!0},yo=function(it){vr.current=!1,Zn!=="combobox"&&fo(it.target.value)},Ja=function(it){var ja=it.target.value;if(wn&&oo.current&&/[\r\n]/.test(oo.current)){var ko=oo.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ja=ja.replace(ko,oo.current)}oo.current=null,fo(ja)},Eo=function(it){var ja=it.clipboardData,ko=ja==null?void 0:ja.getData("text");oo.current=ko||""},io=function(it){var ja=it.target;if(ja!==gt.current){var ko=document.body.style.msTouchAction!==void 0;ko?setTimeout(function(){gt.current.focus()}):gt.current.focus()}},po=function(it){var ja=Ga();it.target!==gt.current&&!ja&&!(Zn==="combobox"&&_n)&&it.preventDefault(),(Zn!=="combobox"&&(!Wn||!ja)||!fn)&&(fn&&Ia!==!1&&Yn("",!0,!1),pa())},Vo={inputRef:gt,onInputKeyDown:Ka,onInputMouseDown:Ra,onInputChange:Ja,onInputPaste:Eo,onInputCompositionStart:no,onInputCompositionEnd:yo,onInputBlur:Ta},So=Zn==="multiple"||Zn==="tags"?t.createElement(Hr,Be({},xe,Vo)):t.createElement(Qr,Be({},xe,Vo));return t.createElement("div",{ref:Za,className:"".concat(Vr,"-selector"),onClick:io,onMouseDown:po},la&&t.createElement("div",{className:"".concat(Vr,"-prefix")},la),So)},xt=t.forwardRef(bt),rn=xt,Mn=a(98280),zr=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],dn=function(xe){var ct=xe===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"}}},nn=function(xe,ct){var gt=xe.prefixCls,vr=xe.disabled,Vr=xe.visible,fn=xe.children,Zn=xe.popupElement,Wn=xe.animation,wn=xe.transitionName,_n=xe.dropdownStyle,la=xe.dropdownClassName,Ia=xe.direction,Yn=Ia===void 0?"ltr":Ia,ma=xe.placement,pa=xe.builtinPlacements,ta=xe.dropdownMatchSelectWidth,Ta=xe.dropdownRender,Za=xe.dropdownAlign,eo=xe.getPopupContainer,$a=xe.empty,Ga=xe.getTriggerDOMNode,xa=xe.onPopupVisibleChange,Ka=xe.onPopupMouseEnter,Ra=C(xe,zr),oo="".concat(gt,"-dropdown"),fo=Zn;Ta&&(fo=Ta(Zn));var no=t.useMemo(function(){return pa||dn(ta)},[pa,ta]),yo=Wn?"".concat(oo,"-").concat(Wn):wn,Ja=typeof ta=="number",Eo=t.useMemo(function(){return Ja?null:ta===!1?"minWidth":"width"},[ta,Ja]),io=_n;Ja&&(io=E(E({},io),{},{width:ta}));var po=t.useRef(null);return t.useImperativeHandle(ct,function(){return{getPopupElement:function(){var So;return(So=po.current)===null||So===void 0?void 0:So.popupElement}}}),t.createElement(Mn.Z,Be({},Ra,{showAction:xa?["click"]:[],hideAction:xa?["click"]:[],popupPlacement:ma||(Yn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:no,prefixCls:oo,popupTransitionName:yo,popup:t.createElement("div",{onMouseEnter:Ka},fo),ref:po,stretch:Eo,popupAlign:Za,popupVisible:Vr,getPopupContainer:eo,popupClassName:et()(la,T({},"".concat(oo,"-empty"),$a)),popupStyle:io,getTriggerDOMNode:Ga,onPopupVisibleChange:xa}),fn)},xn=t.forwardRef(nn),Ln=xn;function qn(se){return j(se)||U(se)||y(se)||M()}function Jn(se,xe){var ct=se.key,gt;return"value"in se&&(gt=se.value),ct!=null?ct:gt!==void 0?gt:"rc-index-key-".concat(xe)}function Qn(se){return typeof se!="undefined"&&!Number.isNaN(se)}function Fa(se,xe){var ct=se||{},gt=ct.label,vr=ct.value,Vr=ct.options,fn=ct.groupLabel,Zn=gt||(xe?"children":"label");return{label:Zn,value:vr||"value",options:Vr||"options",groupLabel:fn||Zn}}function Ea(se){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=xe.fieldNames,gt=xe.childrenAsData,vr=[],Vr=Fa(ct,!1),fn=Vr.label,Zn=Vr.value,Wn=Vr.options,wn=Vr.groupLabel;function _n(la,Ia){Array.isArray(la)&&la.forEach(function(Yn){if(Ia||!(Wn in Yn)){var ma=Yn[Zn];vr.push({key:Jn(Yn,vr.length),groupOption:Ia,data:Yn,label:Yn[fn],value:ma})}else{var pa=Yn[wn];pa===void 0&>&&(pa=Yn.label),vr.push({key:Jn(Yn,vr.length),group:!0,data:Yn,label:pa}),_n(Yn[Wn],!0)}})}return _n(se,!1),vr}function Xn(se){var xe=E({},se);return"props"in xe||Object.defineProperty(xe,"props",{get:function(){return ie(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),xe}}),xe}var jn=function(xe,ct,gt){if(!ct||!ct.length)return null;var vr=!1,Vr=function Zn(Wn,wn){var _n=qn(wn),la=_n[0],Ia=_n.slice(1);if(!la)return[Wn];var Yn=Wn.split(la);return vr=vr||Yn.length>1,Yn.reduce(function(ma,pa){return[].concat(l(ma),l(Zn(pa,Ia)))},[]).filter(Boolean)},fn=Vr(xe,ct);return vr?typeof gt!="undefined"?fn.slice(0,gt):fn:null},Vn=t.createContext(null),ka=Vn;function ba(se){var xe=se.visible,ct=se.values;if(!xe)return null;var gt=50;return t.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(ct.slice(0,gt).map(function(vr){var Vr=vr.label,fn=vr.value;return["number","string"].includes(H(Vr))?Vr:fn}).join(", ")),ct.length>gt?", ...":null)}var ho=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Va=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ha=function(xe){return xe==="tags"||xe==="multiple"},Yo=t.forwardRef(function(se,xe){var ct,gt=se.id,vr=se.prefixCls,Vr=se.className,fn=se.showSearch,Zn=se.tagRender,Wn=se.direction,wn=se.omitDomProps,_n=se.displayValues,la=se.onDisplayValuesChange,Ia=se.emptyOptions,Yn=se.notFoundContent,ma=Yn===void 0?"Not Found":Yn,pa=se.onClear,ta=se.mode,Ta=se.disabled,Za=se.loading,eo=se.getInputElement,$a=se.getRawInputElement,Ga=se.open,xa=se.defaultOpen,Ka=se.onDropdownVisibleChange,Ra=se.activeValue,oo=se.onActiveValueChange,fo=se.activeDescendantId,no=se.searchValue,yo=se.autoClearSearchValue,Ja=se.onSearch,Eo=se.onSearchSplit,io=se.tokenSeparators,po=se.allowClear,Vo=se.prefix,So=se.suffixIcon,Qa=se.clearIcon,it=se.OptionList,ja=se.animation,ko=se.transitionName,ti=se.dropdownStyle,Co=se.dropdownClassName,To=se.dropdownMatchSelectWidth,ri=se.dropdownRender,Ro=se.dropdownAlign,yi=se.placement,Si=se.builtinPlacements,_o=se.getPopupContainer,Na=se.showAction,wa=Na===void 0?[]:Na,Da=se.onFocus,to=se.onBlur,ya=se.onKeyUp,La=se.onKeyDown,bo=se.onMouseDown,S=C(se,ho),Re=Ha(ta),Ft=(fn!==void 0?fn:Re)||ta==="combobox",hr=E({},S);Va.forEach(function(jo){delete hr[jo]}),wn==null||wn.forEach(function(jo){delete hr[jo]});var F=t.useState(!1),r=le(F,2),o=r[0],s=r[1];t.useEffect(function(){s(Te())},[]);var h=t.useRef(null),z=t.useRef(null),ue=t.useRef(null),De=t.useRef(null),tt=t.useRef(null),Ot=t.useRef(!1),or=Se(),xr=le(or,3),Wr=xr[0],pn=xr[1],Pn=xr[2];t.useImperativeHandle(xe,function(){var jo,so;return{focus:(jo=De.current)===null||jo===void 0?void 0:jo.focus,blur:(so=De.current)===null||so===void 0?void 0:so.blur,scrollTo:function(zi){var pi;return(pi=tt.current)===null||pi===void 0?void 0:pi.scrollTo(zi)},nativeElement:h.current||z.current}});var Fn=t.useMemo(function(){var jo;if(ta!=="combobox")return no;var so=(jo=_n[0])===null||jo===void 0?void 0:jo.value;return typeof so=="string"||typeof so=="number"?String(so):""},[no,ta,_n]),ea=ta==="combobox"&&typeof eo=="function"&&eo()||null,fa=typeof $a=="function"&&$a(),u=Ue(z,fa==null||(ct=fa.props)===null||ct===void 0?void 0:ct.ref),e=t.useState(!1),n=le(e,2),f=n[0],O=n[1];We(function(){O(!0)},[]);var Q=Ee(!1,{defaultValue:xa,value:Ga}),je=le(Q,2),Ve=je[0],qe=je[1],Dt=f?Ve:!1,mr=!ma&&Ia;(Ta||mr&&Dt&&ta==="combobox")&&(Dt=!1);var Nr=mr?!1:Dt,Ir=t.useCallback(function(jo){var so=jo!==void 0?jo:!Dt;Ta||(qe(so),Dt!==so&&(Ka==null||Ka(so)))},[Ta,Dt,qe,Ka]),Ar=t.useMemo(function(){return(io||[]).some(function(jo){return[`
|
|
|
`,`\r
|
|
|
`].includes(jo)})},[io]),Yr=t.useContext(ka)||{},hn=Yr.maxCount,kn=Yr.rawValues,Gn=function(so,Fi,zi){if(!(Re&&Qn(hn)&&(kn==null?void 0:kn.size)>=hn)){var pi=!0,Uo=so;oo==null||oo(null);var xi=jn(so,io,Qn(hn)?hn-kn.size:void 0),as=zi?null:xi;return ta!=="combobox"&&as&&(Uo="",Eo==null||Eo(as),Ir(!1),pi=!1),Ja&&Fn!==Uo&&Ja(Uo,{source:Fi?"typing":"effect"}),pi}},ua=function(so){!so||!so.trim()||Ja(so,{source:"submit"})};t.useEffect(function(){!Dt&&!Re&&ta!=="combobox"&&Gn("",!1,!1)},[Dt]),t.useEffect(function(){Ve&&Ta&&qe(!1),Ta&&!Ot.current&&pn(!1)},[Ta]);var da=ge(),Ba=le(da,2),ga=Ba[0],Wa=Ba[1],Ya=t.useRef(!1),Lo=function(so){var Fi=ga(),zi=so.key,pi=zi==="Enter";if(pi&&(ta!=="combobox"&&so.preventDefault(),Dt||Ir(!0)),Wa(!!Fn),zi==="Backspace"&&!Fi&&Re&&!Fn&&_n.length){for(var Uo=l(_n),xi=null,as=Uo.length-1;as>=0;as-=1){var ds=Uo[as];if(!ds.disabled){Uo.splice(as,1),xi=ds;break}}xi&&la(Uo,{type:"remove",values:[xi]})}for(var ws=arguments.length,fs=new Array(ws>1?ws-1:0),Ss=1;Ss<ws;Ss++)fs[Ss-1]=arguments[Ss];if(Dt&&(!pi||!Ya.current)){var As;pi&&(Ya.current=!0),(As=tt.current)===null||As===void 0||As.onKeyDown.apply(As,[so].concat(fs))}La==null||La.apply(void 0,[so].concat(fs))},vo=function(so){for(var Fi=arguments.length,zi=new Array(Fi>1?Fi-1:0),pi=1;pi<Fi;pi++)zi[pi-1]=arguments[pi];if(Dt){var Uo;(Uo=tt.current)===null||Uo===void 0||Uo.onKeyUp.apply(Uo,[so].concat(zi))}so.key==="Enter"&&(Ya.current=!1),ya==null||ya.apply(void 0,[so].concat(zi))},Ci=function(so){var Fi=_n.filter(function(zi){return zi!==so});la(Fi,{type:"remove",values:[so]})},Zo=function(){Ya.current=!1},Ho=t.useRef(!1),Pi=function(){pn(!0),Ta||(Da&&!Ho.current&&Da.apply(void 0,arguments),wa.includes("focus")&&Ir(!0)),Ho.current=!0},ni=function(){Ot.current=!0,pn(!1,function(){Ho.current=!1,Ot.current=!1,Ir(!1)}),!Ta&&(Fn&&(ta==="tags"?Ja(Fn,{source:"submit"}):ta==="multiple"&&Ja("",{source:"blur"})),to&&to.apply(void 0,arguments))},Oi=[];t.useEffect(function(){return function(){Oi.forEach(function(jo){return clearTimeout(jo)}),Oi.splice(0,Oi.length)}},[]);var Ki=function(so){var Fi,zi=so.target,pi=(Fi=ue.current)===null||Fi===void 0?void 0:Fi.getPopupElement();if(pi&&pi.contains(zi)){var Uo=setTimeout(function(){var ws=Oi.indexOf(Uo);if(ws!==-1&&Oi.splice(ws,1),Pn(),!o&&!pi.contains(document.activeElement)){var fs;(fs=De.current)===null||fs===void 0||fs.focus()}});Oi.push(Uo)}for(var xi=arguments.length,as=new Array(xi>1?xi-1:0),ds=1;ds<xi;ds++)as[ds-1]=arguments[ds];bo==null||bo.apply(void 0,[so].concat(as))},_i=t.useState({}),Xi=le(_i,2),ps=Xi[1];function ji(){ps({})}var Li;fa&&(Li=function(so){Ir(so)}),fe(function(){var jo;return[h.current,(jo=ue.current)===null||jo===void 0?void 0:jo.getPopupElement()]},Nr,Ir,!!fa);var Oo=t.useMemo(function(){return E(E({},se),{},{notFoundContent:ma,open:Dt,triggerOpen:Nr,id:gt,showSearch:Ft,multiple:Re,toggleOpen:Ir})},[se,ma,Nr,Dt,gt,Ft,Re,Ir]),Wo=!!So||Za,hi;Wo&&(hi=t.createElement($e,{className:et()("".concat(vr,"-arrow"),T({},"".concat(vr,"-arrow-loading"),Za)),customizeIcon:So,customizeIconProps:{loading:Za,searchValue:Fn,open:Dt,focused:Wr,showSearch:Ft}}));var mi=function(){var so;pa==null||pa(),(so=De.current)===null||so===void 0||so.focus(),la([],{type:"clear",values:_n}),Gn("",!1,!1)},rs=re(vr,mi,_n,po,Qa,Ta,Fn,ta),Yi=rs.allowClear,ns=rs.clearIcon,vs=t.createElement(it,{ref:tt}),xs=et()(vr,Vr,T(T(T(T(T(T(T(T(T(T({},"".concat(vr,"-focused"),Wr),"".concat(vr,"-multiple"),Re),"".concat(vr,"-single"),!Re),"".concat(vr,"-allow-clear"),po),"".concat(vr,"-show-arrow"),Wo),"".concat(vr,"-disabled"),Ta),"".concat(vr,"-loading"),Za),"".concat(vr,"-open"),Dt),"".concat(vr,"-customize-input"),ea),"".concat(vr,"-show-search"),Ft)),Bs=t.createElement(Ln,{ref:ue,disabled:Ta,prefixCls:vr,visible:Nr,popupElement:vs,animation:ja,transitionName:ko,dropdownStyle:ti,dropdownClassName:Co,direction:Wn,dropdownMatchSelectWidth:To,dropdownRender:ri,dropdownAlign:Ro,placement:yi,builtinPlacements:Si,getPopupContainer:_o,empty:Ia,getTriggerDOMNode:function(so){return z.current||so},onPopupVisibleChange:Li,onPopupMouseEnter:ji},fa?t.cloneElement(fa,{ref:u}):t.createElement(rn,Be({},se,{domRef:z,prefixCls:vr,inputElement:ea,ref:De,id:gt,prefix:Vo,showSearch:Ft,autoClearSearchValue:yo,mode:ta,activeDescendantId:fo,tagRender:Zn,values:_n,open:Dt,onToggleOpen:Ir,activeValue:Ra,searchValue:Fn,onSearch:Gn,onSearchSubmit:ua,onRemove:Ci,tokenWithEnter:Ar,onInputBlur:Zo}))),Is;return fa?Is=Bs:Is=t.createElement("div",Be({className:xs},hr,{ref:h,onMouseDown:Ki,onKeyDown:Lo,onKeyUp:vo,onFocus:Pi,onBlur:ni}),t.createElement(ba,{visible:Wr&&!Dt,values:_n}),Bs,hi,Yi&&ns),t.createElement(g.Provider,{value:Oo},Is)}),na=Yo,gi=function(){return null};gi.isSelectOptGroup=!0;var ro=gi,qo=function(){return null};qo.isSelectOption=!0;var Jo=qo;function _a(se,xe){var ct=E({},se);return Array.isArray(xe)&&xe.forEach(function(gt){delete ct[gt]}),ct}var Sa=a(73299);function mo(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var oi=["disabled","title","children","style","className"];function lo(se){return typeof se=="string"||typeof se=="number"}var Go=function(xe,ct){var gt=Xe(),vr=gt.prefixCls,Vr=gt.id,fn=gt.open,Zn=gt.multiple,Wn=gt.mode,wn=gt.searchValue,_n=gt.toggleOpen,la=gt.notFoundContent,Ia=gt.onPopupScroll,Yn=t.useContext(ka),ma=Yn.maxCount,pa=Yn.flattenOptions,ta=Yn.onActiveValue,Ta=Yn.defaultActiveFirstOption,Za=Yn.onSelect,eo=Yn.menuItemSelectedIcon,$a=Yn.rawValues,Ga=Yn.fieldNames,xa=Yn.virtual,Ka=Yn.direction,Ra=Yn.listHeight,oo=Yn.listItemHeight,fo=Yn.optionRender,no="".concat(vr,"-item"),yo=Wt(function(){return pa},[fn,pa],function(Na,wa){return wa[0]&&Na[1]!==wa[1]}),Ja=t.useRef(null),Eo=t.useMemo(function(){return Zn&&Qn(ma)&&($a==null?void 0:$a.size)>=ma},[Zn,ma,$a==null?void 0:$a.size]),io=function(wa){wa.preventDefault()},po=function(wa){var Da;(Da=Ja.current)===null||Da===void 0||Da.scrollTo(typeof wa=="number"?{index:wa}:wa)},Vo=t.useCallback(function(Na){return Wn==="combobox"?!1:$a.has(Na)},[Wn,l($a).toString(),$a.size]),So=function(wa){for(var Da=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,to=yo.length,ya=0;ya<to;ya+=1){var La=(wa+ya*Da+to)%to,bo=yo[La]||{},S=bo.group,Re=bo.data;if(!S&&!(Re!=null&&Re.disabled)&&(Vo(Re.value)||!Eo))return La}return-1},Qa=t.useState(function(){return So(0)}),it=le(Qa,2),ja=it[0],ko=it[1],ti=function(wa){var Da=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ko(wa);var to={source:Da?"keyboard":"mouse"},ya=yo[wa];if(!ya){ta(null,-1,to);return}ta(ya.value,wa,to)};(0,t.useEffect)(function(){ti(Ta!==!1?So(0):-1)},[yo.length,wn]);var Co=t.useCallback(function(Na){return Wn==="combobox"?String(Na).toLowerCase()===wn.toLowerCase():$a.has(Na)},[Wn,wn,l($a).toString(),$a.size]);(0,t.useEffect)(function(){var Na=setTimeout(function(){if(!Zn&&fn&&$a.size===1){var Da=Array.from($a)[0],to=yo.findIndex(function(ya){var La=ya.data;return La.value===Da});to!==-1&&(ti(to),po(to))}});if(fn){var wa;(wa=Ja.current)===null||wa===void 0||wa.scrollTo(void 0)}return function(){return clearTimeout(Na)}},[fn,wn]);var To=function(wa){wa!==void 0&&Za(wa,{selected:!$a.has(wa)}),Zn||_n(!1)};if(t.useImperativeHandle(ct,function(){return{onKeyDown:function(wa){var Da=wa.which,to=wa.ctrlKey;switch(Da){case we.N:case we.P:case we.UP:case we.DOWN:{var ya=0;if(Da===we.UP?ya=-1:Da===we.DOWN?ya=1:mo()&&to&&(Da===we.N?ya=1:Da===we.P&&(ya=-1)),ya!==0){var La=So(ja+ya,ya);po(La),ti(La,!0)}break}case we.TAB:case we.ENTER:{var bo,S=yo[ja];S&&!(S!=null&&(bo=S.data)!==null&&bo!==void 0&&bo.disabled)&&!Eo?To(S.value):To(void 0),fn&&wa.preventDefault();break}case we.ESC:_n(!1),fn&&wa.stopPropagation()}},onKeyUp:function(){},scrollTo:function(wa){po(wa)}}}),yo.length===0)return t.createElement("div",{role:"listbox",id:"".concat(Vr,"_list"),className:"".concat(no,"-empty"),onMouseDown:io},la);var ri=Object.keys(Ga).map(function(Na){return Ga[Na]}),Ro=function(wa){return wa.label};function yi(Na,wa){var Da=Na.group;return{role:Da?"presentation":"option",id:"".concat(Vr,"_list_").concat(wa)}}var Si=function(wa){var Da=yo[wa];if(!Da)return null;var to=Da.data||{},ya=to.value,La=Da.group,bo=Et(to,!0),S=Ro(Da);return Da?t.createElement("div",Be({"aria-label":typeof S=="string"&&!La?S:null},bo,{key:wa},yi(Da,wa),{"aria-selected":Co(ya)}),ya):null},_o={role:"listbox",id:"".concat(Vr,"_list")};return t.createElement(t.Fragment,null,xa&&t.createElement("div",Be({},_o,{style:{height:0,width:0,overflow:"hidden"}}),Si(ja-1),Si(ja),Si(ja+1)),t.createElement(Sa.Z,{itemKey:"key",ref:Ja,data:yo,height:Ra,itemHeight:oo,fullHeight:!1,onMouseDown:io,onScroll:Ia,virtual:xa,direction:Ka,innerProps:xa?null:_o},function(Na,wa){var Da=Na.group,to=Na.groupOption,ya=Na.data,La=Na.label,bo=Na.value,S=ya.key;if(Da){var Re,Ft=(Re=ya.title)!==null&&Re!==void 0?Re:lo(La)?La.toString():void 0;return t.createElement("div",{className:et()(no,"".concat(no,"-group"),ya.className),title:Ft},La!==void 0?La:S)}var hr=ya.disabled,F=ya.title,r=ya.children,o=ya.style,s=ya.className,h=C(ya,oi),z=_a(h,ri),ue=Vo(bo),De=hr||!ue&&Eo,tt="".concat(no,"-option"),Ot=et()(no,tt,s,T(T(T(T({},"".concat(tt,"-grouped"),to),"".concat(tt,"-active"),ja===wa&&!De),"".concat(tt,"-disabled"),De),"".concat(tt,"-selected"),ue)),or=Ro(Na),xr=!eo||typeof eo=="function"||ue,Wr=typeof or=="number"?or:or||bo,pn=lo(Wr)?Wr.toString():void 0;return F!==void 0&&(pn=F),t.createElement("div",Be({},Et(z),xa?{}:yi(Na,wa),{"aria-selected":Co(bo),className:Ot,title:pn,onMouseMove:function(){ja===wa||De||ti(wa)},onClick:function(){De||To(bo)},style:o}),t.createElement("div",{className:"".concat(tt,"-content")},typeof fo=="function"?fo(Na,{index:wa}):Wr),t.isValidElement(eo)||ue,xr&&t.createElement($e,{className:"".concat(no,"-option-state"),customizeIcon:eo,customizeIconProps:{value:bo,disabled:De,isSelected:ue}},ue?"\u2713":null))}))},ii=t.forwardRef(Go),Dn=ii,Xa=function(se,xe){var ct=t.useRef({values:new Map,options:new Map}),gt=t.useMemo(function(){var Vr=ct.current,fn=Vr.values,Zn=Vr.options,Wn=se.map(function(la){if(la.label===void 0){var Ia;return E(E({},la),{},{label:(Ia=fn.get(la.value))===null||Ia===void 0?void 0:Ia.label})}return la}),wn=new Map,_n=new Map;return Wn.forEach(function(la){wn.set(la.value,la),_n.set(la.value,xe.get(la.value)||Zn.get(la.value))}),ct.current.values=wn,ct.current.options=_n,Wn},[se,xe]),vr=t.useCallback(function(Vr){return xe.get(Vr)||ct.current.options.get(Vr)},[xe]);return[gt,vr]};function ia(se,xe){return Un(se).join("").toUpperCase().includes(xe)}var aa=function(se,xe,ct,gt,vr){return t.useMemo(function(){if(!ct||gt===!1)return se;var Vr=xe.options,fn=xe.label,Zn=xe.value,Wn=[],wn=typeof gt=="function",_n=ct.toUpperCase(),la=wn?gt:function(Yn,ma){return vr?ia(ma[vr],_n):ma[Vr]?ia(ma[fn!=="children"?fn:"label"],_n):ia(ma[Zn],_n)},Ia=wn?function(Yn){return Xn(Yn)}:function(Yn){return Yn};return se.forEach(function(Yn){if(Yn[Vr]){var ma=la(ct,Ia(Yn));if(ma)Wn.push(Yn);else{var pa=Yn[Vr].filter(function(ta){return la(ct,Ia(ta))});pa.length&&Wn.push(E(E({},Yn),{},T({},Vr,pa)))}return}la(ct,Ia(Yn))&&Wn.push(Yn)}),Wn},[se,gt,vr,ct,xe])},Aa=0,za=Me();function Io(){var se;return za?(se=Aa,Aa+=1):se="TEST_OR_SSR",se}function No(se){var xe=t.useState(),ct=le(xe,2),gt=ct[0],vr=ct[1];return t.useEffect(function(){vr("rc_select_".concat(Io()))},[]),se||gt}function ei(se){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=[];return t.Children.forEach(se,function(gt){gt==null&&!xe.keepEmpty||(Array.isArray(gt)?ct=ct.concat(ei(gt)):(0,Qe.isFragment)(gt)&>.props?ct=ct.concat(ei(gt.props.children,xe)):ct.push(gt))}),ct}var di=["children","value"],sa=["children"];function Ua(se){var xe=se,ct=xe.key,gt=xe.props,vr=gt.children,Vr=gt.value,fn=C(gt,di);return E({key:ct,value:Vr!==void 0?Vr:ct,children:vr},fn)}function go(se){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ei(se).map(function(ct,gt){if(!t.isValidElement(ct)||!ct.type)return null;var vr=ct,Vr=vr.type.isSelectOptGroup,fn=vr.key,Zn=vr.props,Wn=Zn.children,wn=C(Zn,sa);return xe||!Vr?Ua(ct):E(E({key:"__RC_SELECT_GRP__".concat(fn===null?gt:fn,"__"),label:fn},wn),{},{options:go(Wn)})}).filter(function(ct){return ct})}var wo=function(xe,ct,gt,vr,Vr){return t.useMemo(function(){var fn=xe,Zn=!xe;Zn&&(fn=go(ct));var Wn=new Map,wn=new Map,_n=function(Yn,ma,pa){pa&&typeof pa=="string"&&Yn.set(ma[pa],ma)},la=function Ia(Yn){for(var ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pa=0;pa<Yn.length;pa+=1){var ta=Yn[pa];!ta[gt.options]||ma?(Wn.set(ta[gt.value],ta),_n(wn,ta,gt.label),_n(wn,ta,vr),_n(wn,ta,Vr)):Ia(ta[gt.options],!0)}};return la(fn),{options:fn,valueOptions:Wn,labelOptions:wn}},[xe,ct,gt,vr,Vr])},Ko=wo;function si(se){var xe=t.useRef();xe.current=se;var ct=t.useCallback(function(){return xe.current.apply(xe,arguments)},[]);return ct}function Bo(se){var xe=se.mode,ct=se.options,gt=se.children,vr=se.backfill,Vr=se.allowClear,fn=se.placeholder,Zn=se.getInputElement,Wn=se.showSearch,wn=se.onSearch,_n=se.defaultOpen,la=se.autoFocus,Ia=se.labelInValue,Yn=se.value,ma=se.inputValue,pa=se.optionLabelProp,ta=isMultiple(xe),Ta=Wn!==void 0?Wn:ta||xe==="combobox",Za=ct||convertChildrenToData(gt);if(warning(xe!=="tags"||Za.every(function(xa){return!xa.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),xe==="tags"||xe==="combobox"){var eo=Za.some(function(xa){return xa.options?xa.options.some(function(Ka){return typeof("value"in Ka?Ka.value:Ka.key)=="number"}):typeof("value"in xa?xa.value:xa.key)=="number"});warning(!eo,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(xe!=="combobox"||!pa,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(xe==="combobox"||!vr,"`backfill` only works with `combobox` mode."),warning(xe==="combobox"||!Zn,"`getInputElement` only work with `combobox` mode."),noteOnce(xe!=="combobox"||!Zn||!Vr||!fn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),wn&&!Ta&&xe!=="combobox"&&xe!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!_n||la,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Yn!=null){var $a=toArray(Yn);warning(!Ia||$a.every(function(xa){return _typeof(xa)==="object"&&("key"in xa||"value"in xa)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ta||Array.isArray(Yn),"`value` should be array when `mode` is `multiple` or `tags`")}if(gt){var Ga=null;toNodeArray(gt).some(function(xa){if(!React.isValidElement(xa)||!xa.type)return!1;var Ka=xa,Ra=Ka.type;if(Ra.isSelectOption)return!1;if(Ra.isSelectOptGroup){var oo=toNodeArray(xa.props.children).every(function(fo){return!React.isValidElement(fo)||!xa.type||fo.type.isSelectOption?!0:(Ga=fo.type,!1)});return!oo}return Ga=Ra,!0}),Ga&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ga.displayName||Ga.name||Ga,"`.")),warning(ma===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ni(se,xe){if(se){var ct=function gt(vr){for(var Vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fn=0;fn<vr.length;fn++){var Zn=vr[fn];if(Zn[xe==null?void 0:xe.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Vr&&Array.isArray(Zn[xe==null?void 0:xe.options])&>(Zn[xe==null?void 0:xe.options],!0))break}};ct(se)}}var Mi=null,co=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Ao=["inputValue"];function Mo(se){return!se||H(se)!=="object"}var li=t.forwardRef(function(se,xe){var ct=se.id,gt=se.mode,vr=se.prefixCls,Vr=vr===void 0?"rc-select":vr,fn=se.backfill,Zn=se.fieldNames,Wn=se.inputValue,wn=se.searchValue,_n=se.onSearch,la=se.autoClearSearchValue,Ia=la===void 0?!0:la,Yn=se.onSelect,ma=se.onDeselect,pa=se.dropdownMatchSelectWidth,ta=pa===void 0?!0:pa,Ta=se.filterOption,Za=se.filterSort,eo=se.optionFilterProp,$a=se.optionLabelProp,Ga=se.options,xa=se.optionRender,Ka=se.children,Ra=se.defaultActiveFirstOption,oo=se.menuItemSelectedIcon,fo=se.virtual,no=se.direction,yo=se.listHeight,Ja=yo===void 0?200:yo,Eo=se.listItemHeight,io=Eo===void 0?20:Eo,po=se.labelRender,Vo=se.value,So=se.defaultValue,Qa=se.labelInValue,it=se.onChange,ja=se.maxCount,ko=C(se,co),ti=No(ct),Co=Ha(gt),To=!!(!Ga&&Ka),ri=t.useMemo(function(){return Ta===void 0&>==="combobox"?!1:Ta},[Ta,gt]),Ro=t.useMemo(function(){return Fa(Zn,To)},[JSON.stringify(Zn),To]),yi=Ee("",{value:wn!==void 0?wn:Wn,postState:function(Ar){return Ar||""}}),Si=le(yi,2),_o=Si[0],Na=Si[1],wa=Ko(Ga,Ka,Ro,eo,$a),Da=wa.valueOptions,to=wa.labelOptions,ya=wa.options,La=t.useCallback(function(Ir){var Ar=Un(Ir);return Ar.map(function(Yr){var hn,kn,Gn,ua,da;if(Mo(Yr))hn=Yr;else{var Ba;Gn=Yr.key,kn=Yr.label,hn=(Ba=Yr.value)!==null&&Ba!==void 0?Ba:Gn}var ga=Da.get(hn);if(ga){var Wa;if(kn===void 0&&(kn=ga==null?void 0:ga[$a||Ro.label]),Gn===void 0&&(Gn=(Wa=ga==null?void 0:ga.key)!==null&&Wa!==void 0?Wa:hn),ua=ga==null?void 0:ga.disabled,da=ga==null?void 0:ga.title,0)var Ya}return{label:kn,value:hn,key:Gn,disabled:ua,title:da}})},[Ro,$a,Da]),bo=Ee(So,{value:Vo}),S=le(bo,2),Re=S[0],Ft=S[1],hr=t.useMemo(function(){var Ir,Ar=Co&&Re===null?[]:Re,Yr=La(Ar);return gt==="combobox"&&Je((Ir=Yr[0])===null||Ir===void 0?void 0:Ir.value)?[]:Yr},[Re,La,gt,Co]),F=Xa(hr,Da),r=le(F,2),o=r[0],s=r[1],h=t.useMemo(function(){if(!gt&&o.length===1){var Ir=o[0];if(Ir.value===null&&(Ir.label===null||Ir.label===void 0))return[]}return o.map(function(Ar){var Yr;return E(E({},Ar),{},{label:(Yr=typeof po=="function"?po(Ar):Ar.label)!==null&&Yr!==void 0?Yr:Ar.value})})},[gt,o,po]),z=t.useMemo(function(){return new Set(o.map(function(Ir){return Ir.value}))},[o]);t.useEffect(function(){if(gt==="combobox"){var Ir,Ar=(Ir=o[0])===null||Ir===void 0?void 0:Ir.value;Na(ce(Ar)?String(Ar):"")}},[o]);var ue=si(function(Ir,Ar){var Yr=Ar!=null?Ar:Ir;return T(T({},Ro.value,Ir),Ro.label,Yr)}),De=t.useMemo(function(){if(gt!=="tags")return ya;var Ir=l(ya),Ar=function(hn){return Da.has(hn)};return l(o).sort(function(Yr,hn){return Yr.value<hn.value?-1:1}).forEach(function(Yr){var hn=Yr.value;Ar(hn)||Ir.push(ue(hn,Yr.label))}),Ir},[ue,ya,Da,o,gt]),tt=aa(De,Ro,_o,ri,eo),Ot=t.useMemo(function(){return gt!=="tags"||!_o||tt.some(function(Ir){return Ir[eo||"value"]===_o})||tt.some(function(Ir){return Ir[Ro.value]===_o})?tt:[ue(_o)].concat(l(tt))},[ue,eo,gt,tt,_o,Ro]),or=function Ir(Ar){var Yr=l(Ar).sort(function(hn,kn){return Za(hn,kn,{searchValue:_o})});return Yr.map(function(hn){return Array.isArray(hn.options)?E(E({},hn),{},{options:hn.options.length>0?Ir(hn.options):hn.options}):hn})},xr=t.useMemo(function(){return Za?or(Ot):Ot},[Ot,Za,_o]),Wr=t.useMemo(function(){return Ea(xr,{fieldNames:Ro,childrenAsData:To})},[xr,Ro,To]),pn=function(Ar){var Yr=La(Ar);if(Ft(Yr),it&&(Yr.length!==o.length||Yr.some(function(Gn,ua){var da;return((da=o[ua])===null||da===void 0?void 0:da.value)!==(Gn==null?void 0:Gn.value)}))){var hn=Qa?Yr:Yr.map(function(Gn){return Gn.value}),kn=Yr.map(function(Gn){return Xn(s(Gn.value))});it(Co?hn:hn[0],Co?kn:kn[0])}},Pn=t.useState(null),Fn=le(Pn,2),ea=Fn[0],fa=Fn[1],u=t.useState(0),e=le(u,2),n=e[0],f=e[1],O=Ra!==void 0?Ra:gt!=="combobox",Q=t.useCallback(function(Ir,Ar){var Yr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},hn=Yr.source,kn=hn===void 0?"keyboard":hn;f(Ar),fn&>==="combobox"&&Ir!==null&&kn==="keyboard"&&fa(String(Ir))},[fn,gt]),je=function(Ar,Yr,hn){var kn=function(){var Ci,Zo=s(Ar);return[Qa?{label:Zo==null?void 0:Zo[Ro.label],value:Ar,key:(Ci=Zo==null?void 0:Zo.key)!==null&&Ci!==void 0?Ci:Ar}:Ar,Xn(Zo)]};if(Yr&&Yn){var Gn=kn(),ua=le(Gn,2),da=ua[0],Ba=ua[1];Yn(da,Ba)}else if(!Yr&&ma&&hn!=="clear"){var ga=kn(),Wa=le(ga,2),Ya=Wa[0],Lo=Wa[1];ma(Ya,Lo)}},Ve=si(function(Ir,Ar){var Yr,hn=Co?Ar.selected:!0;hn?Yr=Co?[].concat(l(o),[Ir]):[Ir]:Yr=o.filter(function(kn){return kn.value!==Ir}),pn(Yr),je(Ir,hn),gt==="combobox"?fa(""):(!Ha||Ia)&&(Na(""),fa(""))}),qe=function(Ar,Yr){pn(Ar);var hn=Yr.type,kn=Yr.values;(hn==="remove"||hn==="clear")&&kn.forEach(function(Gn){je(Gn.value,!1,hn)})},Dt=function(Ar,Yr){if(Na(Ar),fa(null),Yr.source==="submit"){var hn=(Ar||"").trim();if(hn){var kn=Array.from(new Set([].concat(l(z),[hn])));pn(kn),je(hn,!0),Na("")}return}Yr.source!=="blur"&&(gt==="combobox"&&pn(Ar),_n==null||_n(Ar))},mr=function(Ar){var Yr=Ar;gt!=="tags"&&(Yr=Ar.map(function(kn){var Gn=to.get(kn);return Gn==null?void 0:Gn.value}).filter(function(kn){return kn!==void 0}));var hn=Array.from(new Set([].concat(l(z),l(Yr))));pn(hn),hn.forEach(function(kn){je(kn,!0)})},Nr=t.useMemo(function(){var Ir=fo!==!1&&ta!==!1;return E(E({},wa),{},{flattenOptions:Wr,onActiveValue:Q,defaultActiveFirstOption:O,onSelect:Ve,menuItemSelectedIcon:oo,rawValues:z,fieldNames:Ro,virtual:Ir,direction:no,listHeight:Ja,listItemHeight:io,childrenAsData:To,maxCount:ja,optionRender:xa})},[ja,wa,Wr,Q,O,Ve,oo,z,Ro,fo,ta,no,Ja,io,To,xa]);return t.createElement(ka.Provider,{value:Nr},t.createElement(na,Be({},ko,{id:ti,prefixCls:Vr,ref:xe,omitDomProps:Ao,mode:gt,displayValues:h,onDisplayValuesChange:qe,direction:no,searchValue:_o,onSearch:Dt,autoClearSearchValue:Ia,onSearchSplit:mr,dropdownMatchSelectWidth:ta,OptionList:Dn,emptyOptions:!Wr.length,activeValue:ea,activeDescendantId:"".concat(ti,"_list_").concat(n)})))}),Po=li;Po.Option=Jo,Po.OptGroup=ro;var ao=Po,Qo=ao,uo=a(10366),fi=a(87263),Do=a(33603),Ii=a(8745),bi=a(9708),es=a(53124),Ma=a(88258),Ji=a(98866),$i=a(35792),Ai=a(98675),Ti=a(65223),Zi=a(27833),Ei=a(4173),Di=a(15729),Fo=a(30307),Gi=a(15030),ft=a(43277),is=a(78642),Qi=function(se,xe){var ct={};for(var gt in se)Object.prototype.hasOwnProperty.call(se,gt)&&xe.indexOf(gt)<0&&(ct[gt]=se[gt]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,gt=Object.getOwnPropertySymbols(se);vr<gt.length;vr++)xe.indexOf(gt[vr])<0&&Object.prototype.propertyIsEnumerable.call(se,gt[vr])&&(ct[gt[vr]]=se[gt[vr]]);return ct};const ts="SECRET_COMBOBOX_MODE_DO_NOT_USE",Bi=(se,xe)=>{var ct;const{prefixCls:gt,bordered:vr,className:Vr,rootClassName:fn,getPopupContainer:Zn,popupClassName:Wn,dropdownClassName:wn,listHeight:_n=256,placement:la,listItemHeight:Ia,size:Yn,disabled:ma,notFoundContent:pa,status:ta,builtinPlacements:Ta,dropdownMatchSelectWidth:Za,popupMatchSelectWidth:eo,direction:$a,style:Ga,allowClear:xa,variant:Ka,dropdownStyle:Ra,transitionName:oo,tagRender:fo,maxCount:no,prefix:yo}=se,Ja=Qi(se,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:Eo,getPrefixCls:io,renderEmpty:po,direction:Vo,virtual:So,popupMatchSelectWidth:Qa,popupOverflow:it}=t.useContext(es.E_),ja=(0,es.dj)("select"),[,ko]=(0,Di.ZP)(),ti=Ia!=null?Ia:ko==null?void 0:ko.controlHeight,Co=io("select",gt),To=io(),ri=$a!=null?$a:Vo,{compactSize:Ro,compactItemClassnames:yi}=(0,Ei.ri)(Co,ri),[Si,_o]=(0,Zi.Z)("select",Ka,vr),Na=(0,$i.Z)(Co),[wa,Da,to]=(0,Gi.Z)(Co,Na),ya=t.useMemo(()=>{const{mode:ea}=se;if(ea!=="combobox")return ea===ts?"combobox":ea},[se.mode]),La=ya==="multiple"||ya==="tags",bo=(0,is.Z)(se.suffixIcon,se.showArrow),S=(ct=eo!=null?eo:Za)!==null&&ct!==void 0?ct:Qa,{status:Re,hasFeedback:Ft,isFormItemInput:hr,feedbackIcon:F}=t.useContext(Ti.aM),r=(0,bi.F)(Re,ta);let o;pa!==void 0?o=pa:ya==="combobox"?o=null:o=(po==null?void 0:po("Select"))||t.createElement(Ma.Z,{componentName:"Select"});const{suffixIcon:s,itemIcon:h,removeIcon:z,clearIcon:ue}=(0,ft.Z)(Object.assign(Object.assign({},Ja),{multiple:La,hasFeedback:Ft,feedbackIcon:F,showSuffixIcon:bo,prefixCls:Co,componentName:"Select"})),De=xa===!0?{clearIcon:ue}:xa,tt=(0,uo.Z)(Ja,["suffixIcon","itemIcon"]),Ot=$()(Wn||wn,{[`${Co}-dropdown-${ri}`]:ri==="rtl"},fn,to,Na,Da),or=(0,Ai.Z)(ea=>{var fa;return(fa=Yn!=null?Yn:Ro)!==null&&fa!==void 0?fa:ea}),xr=t.useContext(Ji.Z),Wr=ma!=null?ma:xr,pn=$()({[`${Co}-lg`]:or==="large",[`${Co}-sm`]:or==="small",[`${Co}-rtl`]:ri==="rtl",[`${Co}-${Si}`]:_o,[`${Co}-in-form-item`]:hr},(0,bi.Z)(Co,r,Ft),yi,ja.className,Vr,fn,to,Na,Da),Pn=t.useMemo(()=>la!==void 0?la:ri==="rtl"?"bottomRight":"bottomLeft",[la,ri]),[Fn]=(0,fi.Cn)("SelectLike",Ra==null?void 0:Ra.zIndex);return wa(t.createElement(Qo,Object.assign({ref:xe,virtual:So,showSearch:ja.showSearch},tt,{style:Object.assign(Object.assign({},ja.style),Ga),dropdownMatchSelectWidth:S,transitionName:(0,Do.m)(To,"slide-up",oo),builtinPlacements:(0,Fo.Z)(Ta,it),listHeight:_n,listItemHeight:ti,mode:ya,prefixCls:Co,placement:Pn,direction:ri,prefix:yo,suffixIcon:s,menuItemSelectedIcon:h,removeIcon:z,allowClear:De,notFoundContent:o,className:pn,getPopupContainer:Zn||Eo,dropdownClassName:Ot,disabled:Wr,dropdownStyle:Object.assign(Object.assign({},Ra),{zIndex:Fn}),maxCount:La?no:void 0,tagRender:La?fo:void 0})))},Wi=t.forwardRef(Bi),Pa=(0,Ii.Z)(Wi,"dropdownAlign");Wi.SECRET_COMBOBOX_MODE_DO_NOT_USE=ts,Wi.Option=Jo,Wi.OptGroup=ro,Wi._InternalPanelDoNotUseOrYouWillBeFired=Pa;var $o=Wi},30307:function(on,Yt){"use strict";const a=Fe=>{const Be={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Fe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Be),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Be),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Be),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Be),{points:["br","tr"],offset:[0,-4]})}};function t(Fe,$){return Fe||a($)}Yt.Z=t},15030:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return R}});var t=a(14747),Fe=a(80110),$=a(83559),Be=a(43259),G=a(67771),J=a(33297);const U=N=>{const{optionHeight:vt,optionFontSize:ve,optionLineHeight:de,optionPadding:k}=N;return{position:"relative",display:"block",minHeight:vt,padding:k,color:N.colorText,fontWeight:"normal",fontSize:ve,lineHeight:de,boxSizing:"border-box"}};var W=N=>{const{antCls:vt,componentCls:ve}=N,de=`${ve}-item`,k=`&${vt}-slide-up-enter${vt}-slide-up-enter-active`,te=`&${vt}-slide-up-appear${vt}-slide-up-appear-active`,ie=`&${vt}-slide-up-leave${vt}-slide-up-leave-active`,ye=`${ve}-dropdown-placement-`,et=`${de}-option-selected`;return[{[`${ve}-dropdown`]:Object.assign(Object.assign({},(0,t.Wf)(N)),{position:"absolute",top:-9999,zIndex:N.zIndexPopup,boxSizing:"border-box",padding:N.paddingXXS,overflow:"hidden",fontSize:N.fontSize,fontVariant:"initial",backgroundColor:N.colorBgElevated,borderRadius:N.borderRadiusLG,outline:"none",boxShadow:N.boxShadowSecondary,[`
|
|
|
${k}${ye}bottomLeft,
|
|
|
${te}${ye}bottomLeft
|
|
|
`]:{animationName:G.fJ},[`
|
|
|
${k}${ye}topLeft,
|
|
|
${te}${ye}topLeft,
|
|
|
${k}${ye}topRight,
|
|
|
${te}${ye}topRight
|
|
|
`]:{animationName:G.Qt},[`${ie}${ye}bottomLeft`]:{animationName:G.Uw},[`
|
|
|
${ie}${ye}topLeft,
|
|
|
${ie}${ye}topRight
|
|
|
`]:{animationName:G.ly},"&-hidden":{display:"none"},[de]:Object.assign(Object.assign({},U(N)),{cursor:"pointer",transition:`background ${N.motionDurationSlow} ease`,borderRadius:N.borderRadiusSM,"&-group":{color:N.colorTextDescription,fontSize:N.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},t.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${de}-option-disabled)`]:{backgroundColor:N.optionActiveBg},[`&-selected:not(${de}-option-disabled)`]:{color:N.optionSelectedColor,fontWeight:N.optionSelectedFontWeight,backgroundColor:N.optionSelectedBg,[`${de}-option-state`]:{color:N.colorPrimary}},"&-disabled":{[`&${de}-option-selected`]:{backgroundColor:N.colorBgContainerDisabled},color:N.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:N.calc(N.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},U(N)),{color:N.colorTextDisabled})}),[`${et}:has(+ ${et})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${et}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,G.oN)(N,"slide-up"),(0,G.oN)(N,"slide-down"),(0,J.Fm)(N,"move-up"),(0,J.Fm)(N,"move-down")]},l=a(16928),H=a(16777);function V(N,vt){const{componentCls:ve,inputPaddingHorizontalBase:de,borderRadius:k}=N,te=N.calc(N.controlHeight).sub(N.calc(N.lineWidth).mul(2)).equal(),ie=vt?`${ve}-${vt}`:"";return{[`${ve}-single${ie}`]:{fontSize:N.fontSize,height:N.controlHeight,[`${ve}-selector`]:Object.assign(Object.assign({},(0,t.Wf)(N,!0)),{display:"flex",borderRadius:k,flex:"1 1 auto",[`${ve}-selection-wrap:after`]:{lineHeight:(0,H.unit)(te)},[`${ve}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${ve}-selection-item,
|
|
|
${ve}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,H.unit)(te),transition:`all ${N.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ve}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ve}-selection-item:empty:after`,`${ve}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${ve}-show-arrow ${ve}-selection-item,
|
|
|
&${ve}-show-arrow ${ve}-selection-search,
|
|
|
&${ve}-show-arrow ${ve}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:N.showArrowPaddingInlineEnd},[`&${ve}-open ${ve}-selection-item`]:{color:N.colorTextPlaceholder},[`&:not(${ve}-customize-input)`]:{[`${ve}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,H.unit)(de)}`,[`${ve}-selection-search-input`]:{height:te,fontSize:N.fontSize},"&:after":{lineHeight:(0,H.unit)(te)}}},[`&${ve}-customize-input`]:{[`${ve}-selector`]:{"&:after":{display:"none"},[`${ve}-selection-search`]:{position:"static",width:"100%"},[`${ve}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,H.unit)(de)}`,"&:after":{display:"none"}}}}}}}function Y(N){const{componentCls:vt}=N,ve=N.calc(N.controlPaddingHorizontalSM).sub(N.lineWidth).equal();return[V(N),V((0,Be.mergeToken)(N,{controlHeight:N.controlHeightSM,borderRadius:N.borderRadiusSM}),"sm"),{[`${vt}-single${vt}-sm`]:{[`&:not(${vt}-customize-input)`]:{[`${vt}-selector`]:{padding:`0 ${(0,H.unit)(ve)}`},[`&${vt}-show-arrow ${vt}-selection-search`]:{insetInlineEnd:N.calc(ve).add(N.calc(N.fontSize).mul(1.5)).equal()},[`
|
|
|
&${vt}-show-arrow ${vt}-selection-item,
|
|
|
&${vt}-show-arrow ${vt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:N.calc(N.fontSize).mul(1.5).equal()}}}},V((0,Be.mergeToken)(N,{controlHeight:N.singleItemHeightLG,fontSize:N.fontSizeLG,borderRadius:N.borderRadiusLG}),"lg")]}const T=N=>{const{fontSize:vt,lineHeight:ve,lineWidth:de,controlHeight:k,controlHeightSM:te,controlHeightLG:ie,paddingXXS:ye,controlPaddingHorizontal:et,zIndexPopupBase:Te,colorText:Qe,fontWeightStrong:Wt,controlItemBgActive:Ut,controlItemBgHover:ze,colorBgContainer:Ue,colorFillSecondary:sr,colorBgContainerDisabled:tr,colorTextDisabled:$e,colorPrimaryHover:re,colorPrimary:g,controlOutline:Xe}=N,Se=ye*2,ge=de*2,fe=Math.min(k-Se,k-ge),q=Math.min(te-Se,te-ge),we=Math.min(ie-Se,ie-ge);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(ye/2),zIndexPopup:Te+50,optionSelectedColor:Qe,optionSelectedFontWeight:Wt,optionSelectedBg:Ut,optionActiveBg:ze,optionPadding:`${(k-vt*ve)/2}px ${et}px`,optionFontSize:vt,optionLineHeight:ve,optionHeight:k,selectorBg:Ue,clearBg:Ue,singleItemHeightLG:ie,multipleItemBg:sr,multipleItemBorderColor:"transparent",multipleItemHeight:fe,multipleItemHeightSM:q,multipleItemHeightLG:we,multipleSelectorBgDisabled:tr,multipleItemColorDisabled:$e,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(N.fontSize*1.25),hoverBorderColor:re,activeBorderColor:g,activeOutlineColor:Xe,selectAffixPadding:ye}},Z=(N,vt)=>{const{componentCls:ve,antCls:de,controlOutlineWidth:k}=N;return{[`&:not(${ve}-customize-input) ${ve}-selector`]:{border:`${(0,H.unit)(N.lineWidth)} ${N.lineType} ${vt.borderColor}`,background:N.selectorBg},[`&:not(${ve}-disabled):not(${ve}-customize-input):not(${de}-pagination-size-changer)`]:{[`&:hover ${ve}-selector`]:{borderColor:vt.hoverBorderHover},[`${ve}-focused& ${ve}-selector`]:{borderColor:vt.activeBorderColor,boxShadow:`0 0 0 ${(0,H.unit)(k)} ${vt.activeOutlineColor}`,outline:0},[`${ve}-prefix`]:{color:vt.color}}}},E=(N,vt)=>({[`&${N.componentCls}-status-${vt.status}`]:Object.assign({},Z(N,vt))}),j=N=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Z(N,{borderColor:N.colorBorder,hoverBorderHover:N.hoverBorderColor,activeBorderColor:N.activeBorderColor,activeOutlineColor:N.activeOutlineColor,color:N.colorText})),E(N,{status:"error",borderColor:N.colorError,hoverBorderHover:N.colorErrorHover,activeBorderColor:N.colorError,activeOutlineColor:N.colorErrorOutline,color:N.colorError})),E(N,{status:"warning",borderColor:N.colorWarning,hoverBorderHover:N.colorWarningHover,activeBorderColor:N.colorWarning,activeOutlineColor:N.colorWarningOutline,color:N.colorWarning})),{[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{background:N.colorBgContainerDisabled,color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.multipleItemBg,border:`${(0,H.unit)(N.lineWidth)} ${N.lineType} ${N.multipleItemBorderColor}`}})}),A=(N,vt)=>{const{componentCls:ve,antCls:de}=N;return{[`&:not(${ve}-customize-input) ${ve}-selector`]:{background:vt.bg,border:`${(0,H.unit)(N.lineWidth)} ${N.lineType} transparent`,color:vt.color},[`&:not(${ve}-disabled):not(${ve}-customize-input):not(${de}-pagination-size-changer)`]:{[`&:hover ${ve}-selector`]:{background:vt.hoverBg},[`${ve}-focused& ${ve}-selector`]:{background:N.selectorBg,borderColor:vt.activeBorderColor,outline:0}}}},M=(N,vt)=>({[`&${N.componentCls}-status-${vt.status}`]:Object.assign({},A(N,vt))}),le=N=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},A(N,{bg:N.colorFillTertiary,hoverBg:N.colorFillSecondary,activeBorderColor:N.activeBorderColor,color:N.colorText})),M(N,{status:"error",bg:N.colorErrorBg,hoverBg:N.colorErrorBgHover,activeBorderColor:N.colorError,color:N.colorError})),M(N,{status:"warning",bg:N.colorWarningBg,hoverBg:N.colorWarningBgHover,activeBorderColor:N.colorWarning,color:N.colorWarning})),{[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{borderColor:N.colorBorder,background:N.colorBgContainerDisabled,color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.colorBgContainer,border:`${(0,H.unit)(N.lineWidth)} ${N.lineType} ${N.colorSplit}`}})}),ee=N=>({"&-borderless":{[`${N.componentCls}-selector`]:{background:"transparent",border:`${(0,H.unit)(N.lineWidth)} ${N.lineType} transparent`},[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.multipleItemBg,border:`${(0,H.unit)(N.lineWidth)} ${N.lineType} ${N.multipleItemBorderColor}`},[`&${N.componentCls}-status-error`]:{[`${N.componentCls}-prefix, ${N.componentCls}-selection-item`]:{color:N.colorError}},[`&${N.componentCls}-status-warning`]:{[`${N.componentCls}-prefix, ${N.componentCls}-selection-item`]:{color:N.colorWarning}}}}),C=(N,vt)=>{const{componentCls:ve,antCls:de}=N;return{[`&:not(${ve}-customize-input) ${ve}-selector`]:{borderWidth:`0 0 ${(0,H.unit)(N.lineWidth)} 0`,borderStyle:`none none ${N.lineType} none`,borderColor:vt.borderColor,background:N.selectorBg,borderRadius:0},[`&:not(${ve}-disabled):not(${ve}-customize-input):not(${de}-pagination-size-changer)`]:{[`&:hover ${ve}-selector`]:{borderColor:vt.hoverBorderHover},[`${ve}-focused& ${ve}-selector`]:{borderColor:vt.activeBorderColor,outline:0},[`${ve}-prefix`]:{color:vt.color}}}},Le=(N,vt)=>({[`&${N.componentCls}-status-${vt.status}`]:Object.assign({},C(N,vt))}),Me=N=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},C(N,{borderColor:N.colorBorder,hoverBorderHover:N.hoverBorderColor,activeBorderColor:N.activeBorderColor,activeOutlineColor:N.activeOutlineColor,color:N.colorText})),Le(N,{status:"error",borderColor:N.colorError,hoverBorderHover:N.colorErrorHover,activeBorderColor:N.colorError,activeOutlineColor:N.colorErrorOutline,color:N.colorError})),Le(N,{status:"warning",borderColor:N.colorWarning,hoverBorderHover:N.colorWarningHover,activeBorderColor:N.colorWarning,activeOutlineColor:N.colorWarningOutline,color:N.colorWarning})),{[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.multipleItemBg,border:`${(0,H.unit)(N.lineWidth)} ${N.lineType} ${N.multipleItemBorderColor}`}})});var We=N=>({[N.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},j(N)),le(N)),ee(N)),Me(N))});const Pe=N=>{const{componentCls:vt}=N;return{position:"relative",transition:`all ${N.motionDurationMid} ${N.motionEaseInOut}`,input:{cursor:"pointer"},[`${vt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${vt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ne=N=>{const{componentCls:vt}=N;return{[`${vt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},ae=N=>{const{antCls:vt,componentCls:ve,inputPaddingHorizontalBase:de,iconCls:k}=N;return{[ve]:Object.assign(Object.assign({},(0,t.Wf)(N)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ve}-customize-input) ${ve}-selector`]:Object.assign(Object.assign({},Pe(N)),Ne(N)),[`${ve}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},t.vS),{[`> ${vt}-typography`]:{display:"inline"}}),[`${ve}-selection-placeholder`]:Object.assign(Object.assign({},t.vS),{flex:1,color:N.colorTextPlaceholder,pointerEvents:"none"}),[`${ve}-arrow`]:Object.assign(Object.assign({},(0,t.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:de,height:N.fontSizeIcon,marginTop:N.calc(N.fontSizeIcon).mul(-1).div(2).equal(),color:N.colorTextQuaternary,fontSize:N.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${N.motionDurationSlow} ease`,[k]:{verticalAlign:"top",transition:`transform ${N.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ve}-suffix)`]:{pointerEvents:"auto"}},[`${ve}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ve}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ve}-prefix`]:{flex:"none",marginInlineEnd:N.selectAffixPadding},[`${ve}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:de,zIndex:1,display:"inline-block",width:N.fontSizeIcon,height:N.fontSizeIcon,marginTop:N.calc(N.fontSizeIcon).mul(-1).div(2).equal(),color:N.colorTextQuaternary,fontSize:N.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${N.motionDurationMid} ease, opacity ${N.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:N.colorTextTertiary}},[`&:hover ${ve}-clear`]:{opacity:1,background:N.colorBgBase,borderRadius:"50%"}}),[`${ve}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ve}-has-feedback`]:{[`${ve}-clear`]:{insetInlineEnd:N.calc(de).add(N.fontSize).add(N.paddingXS).equal()}}}}}},Ee=N=>{const{componentCls:vt}=N;return[{[vt]:{[`&${vt}-in-form-item`]:{width:"100%"}}},ae(N),Y(N),(0,l.ZP)(N),W(N),{[`${vt}-rtl`]:{direction:"rtl"}},(0,Fe.c)(N,{borderElCls:`${vt}-selector`,focusElCls:`${vt}-focused`})]};var R=(0,$.I$)("Select",(N,vt)=>{let{rootPrefixCls:ve}=vt;const de=(0,Be.mergeToken)(N,{rootPrefixCls:ve,inputPaddingHorizontalBase:N.calc(N.paddingSM).sub(1).equal(),multipleSelectItemHeight:N.multipleItemHeight,selectHeight:N.controlHeight});return[Ee(de),We(de)]},T,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},16928:function(on,Yt,a){"use strict";a.d(Yt,{_z:function(){return J},gp:function(){return Be}});var t=a(16777),Fe=a(14747),$=a(43259);const Be=l=>{const{multipleSelectItemHeight:H,paddingXXS:V,lineWidth:Y,INTERNAL_FIXED_ITEM_MARGIN:T}=l,Z=l.max(l.calc(V).sub(Y).equal(),0),E=l.max(l.calc(Z).sub(T).equal(),0);return{basePadding:Z,containerPadding:E,itemHeight:(0,t.unit)(H),itemLineHeight:(0,t.unit)(l.calc(H).sub(l.calc(l.lineWidth).mul(2)).equal())}},G=l=>{const{multipleSelectItemHeight:H,selectHeight:V,lineWidth:Y}=l;return l.calc(V).sub(H).div(2).sub(Y).equal()},J=l=>{const{componentCls:H,iconCls:V,borderRadiusSM:Y,motionDurationSlow:T,paddingXS:Z,multipleItemColorDisabled:E,multipleItemBorderColorDisabled:j,colorIcon:A,colorIconHover:M,INTERNAL_FIXED_ITEM_MARGIN:le}=l;return{[`${H}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${H}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:le,borderRadius:Y,cursor:"default",transition:`font-size ${T}, line-height ${T}, height ${T}`,marginInlineEnd:l.calc(le).mul(2).equal(),paddingInlineStart:Z,paddingInlineEnd:l.calc(Z).div(2).equal(),[`${H}-disabled&`]:{color:E,borderColor:j,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:l.calc(Z).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Fe.Ro)()),{display:"inline-flex",alignItems:"center",color:A,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${V}`]:{verticalAlign:"-0.2em"},"&:hover":{color:M}})}}}},U=(l,H)=>{const{componentCls:V,INTERNAL_FIXED_ITEM_MARGIN:Y}=l,T=`${V}-selection-overflow`,Z=l.multipleSelectItemHeight,E=G(l),j=H?`${V}-${H}`:"",A=Be(l);return{[`${V}-multiple${j}`]:Object.assign(Object.assign({},J(l)),{[`${V}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:A.basePadding,paddingBlock:A.containerPadding,borderRadius:l.borderRadius,[`${V}-disabled&`]:{background:l.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,t.unit)(Y)} 0`,lineHeight:(0,t.unit)(Z),visibility:"hidden",content:'"\\a0"'}},[`${V}-selection-item`]:{height:A.itemHeight,lineHeight:(0,t.unit)(A.itemLineHeight)},[`${V}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,t.unit)(Z),marginBlock:Y}},[`${V}-prefix`]:{marginInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(A.basePadding).equal()},[`${T}-item + ${T}-item,
|
|
|
${V}-prefix + ${V}-selection-wrap
|
|
|
`]:{[`${V}-selection-search`]:{marginInlineStart:0},[`${V}-selection-placeholder`]:{insetInlineStart:0}},[`${T}-item-suffix`]:{minHeight:A.itemHeight,marginBlock:Y},[`${V}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(E).equal(),"\n &-input,\n &-mirror\n ":{height:Z,fontFamily:l.fontFamily,lineHeight:(0,t.unit)(Z),transition:`all ${l.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${V}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(A.basePadding).equal(),insetInlineEnd:l.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${l.motionDurationSlow}`}})}};function y(l,H){const{componentCls:V}=l,Y=H?`${V}-${H}`:"",T={[`${V}-multiple${Y}`]:{fontSize:l.fontSize,[`${V}-selector`]:{[`${V}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${V}-show-arrow ${V}-selector,
|
|
|
&${V}-allow-clear ${V}-selector
|
|
|
`]:{paddingInlineEnd:l.calc(l.fontSizeIcon).add(l.controlPaddingHorizontal).equal()}}};return[U(l,H),T]}const W=l=>{const{componentCls:H}=l,V=(0,$.mergeToken)(l,{selectHeight:l.controlHeightSM,multipleSelectItemHeight:l.multipleItemHeightSM,borderRadius:l.borderRadiusSM,borderRadiusSM:l.borderRadiusXS}),Y=(0,$.mergeToken)(l,{fontSize:l.fontSizeLG,selectHeight:l.controlHeightLG,multipleSelectItemHeight:l.multipleItemHeightLG,borderRadius:l.borderRadiusLG,borderRadiusSM:l.borderRadius});return[y(l),y(V,"sm"),{[`${H}-multiple${H}-sm`]:{[`${H}-selection-placeholder`]:{insetInline:l.calc(l.controlPaddingHorizontalSM).sub(l.lineWidth).equal()},[`${H}-selection-search`]:{marginInlineStart:2}}},y(Y,"lg")]};Yt.ZP=W},43277:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(67294),Fe=a(60068),$=a(30186),Be=a(85846),G=a(15558),J=a(77322),U=a(47880);function y(W){let{suffixIcon:l,clearIcon:H,menuItemSelectedIcon:V,removeIcon:Y,loading:T,multiple:Z,hasFeedback:E,prefixCls:j,showSuffixIcon:A,feedbackIcon:M,showArrow:le,componentName:ee}=W;const C=H!=null?H:t.createElement($.Z,null),Le=Pe=>l===null&&!E&&!le?null:t.createElement(t.Fragment,null,A!==!1&&Pe,E&&M);let Me=null;if(l!==void 0)Me=Le(l);else if(T)Me=Le(t.createElement(J.Z,{spin:!0}));else{const Pe=`${j}-suffix`;Me=Ne=>{let{open:ae,showSearch:Ee}=Ne;return Le(ae&&Ee?t.createElement(U.Z,{className:Pe}):t.createElement(G.Z,{className:Pe}))}}let He=null;V!==void 0?He=V:Z?He=t.createElement(Fe.Z,null):He=null;let We=null;return Y!==void 0?We=Y:We=t.createElement(Be.Z,null),{clearIcon:C,suffixIcon:Me,itemIcon:He,removeIcon:We}}},78642:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return t}});function t(Fe,$){return $!==void 0?$:Fe!==null}},78957:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return j}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(37419);function G(A){return["small","middle","large"].includes(A)}function J(A){return A?typeof A=="number"&&!Number.isNaN(A):!1}var U=a(53124),y=a(4173);const W=t.createContext({latestIndex:0}),l=W.Provider;var V=A=>{let{className:M,index:le,children:ee,split:C,style:Le}=A;const{latestIndex:Me}=t.useContext(W);return ee==null?null:t.createElement(t.Fragment,null,t.createElement("div",{className:M,style:Le},ee),le<Me&&C&&t.createElement("span",{className:`${M}-split`},C))},Y=a(51916),T=function(A,M){var le={};for(var ee in A)Object.prototype.hasOwnProperty.call(A,ee)&&M.indexOf(ee)<0&&(le[ee]=A[ee]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,ee=Object.getOwnPropertySymbols(A);C<ee.length;C++)M.indexOf(ee[C])<0&&Object.prototype.propertyIsEnumerable.call(A,ee[C])&&(le[ee[C]]=A[ee[C]]);return le};const E=t.forwardRef((A,M)=>{var le;const{getPrefixCls:ee,direction:C,size:Le,className:Me,style:He,classNames:We,styles:Pe}=(0,U.dj)("space"),{size:Ne=Le!=null?Le:"small",align:ae,className:Ee,rootClassName:R,children:N,direction:vt="horizontal",prefixCls:ve,split:de,style:k,wrap:te=!1,classNames:ie,styles:ye}=A,et=T(A,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Te,Qe]=Array.isArray(Ne)?Ne:[Ne,Ne],Wt=G(Qe),Ut=G(Te),ze=J(Qe),Ue=J(Te),sr=(0,Be.Z)(N,{keepEmpty:!0}),tr=ae===void 0&&vt==="horizontal"?"center":ae,$e=ee("space",ve),[re,g,Xe]=(0,Y.Z)($e),Se=$()($e,Me,g,`${$e}-${vt}`,{[`${$e}-rtl`]:C==="rtl",[`${$e}-align-${tr}`]:tr,[`${$e}-gap-row-${Qe}`]:Wt,[`${$e}-gap-col-${Te}`]:Ut},Ee,R,Xe),ge=$()(`${$e}-item`,(le=ie==null?void 0:ie.item)!==null&&le!==void 0?le:We.item);let fe=0;const q=sr.map((Ae,Ye)=>{var At;Ae!=null&&(fe=Ye);const Bt=(Ae==null?void 0:Ae.key)||`${ge}-${Ye}`;return t.createElement(V,{className:ge,key:Bt,index:Ye,split:de,style:(At=ye==null?void 0:ye.item)!==null&&At!==void 0?At:Pe.item},Ae)}),we=t.useMemo(()=>({latestIndex:fe}),[fe]);if(sr.length===0)return null;const Oe={};return te&&(Oe.flexWrap="wrap"),!Ut&&Ue&&(Oe.columnGap=Te),!Wt&&ze&&(Oe.rowGap=Qe),re(t.createElement("div",Object.assign({ref:M,className:Se,style:Object.assign(Object.assign(Object.assign({},Oe),He),k)},et),t.createElement(l,{value:we},q)))});E.Compact=y.ZP;var j=E},55054:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return Ne}});var t=a(67294),Fe=a(57838),$=a(96159),Be=a(13144),G=a.n(Be),J=a(1337),U=a(53124),y=a(48054),l=ae=>{const{value:Ee,formatter:R,precision:N,decimalSeparator:vt,groupSeparator:ve="",prefixCls:de}=ae;let k;if(typeof R=="function")k=R(Ee);else{const te=String(Ee),ie=te.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ie||te==="-")k=te;else{const ye=ie[1];let et=ie[2]||"0",Te=ie[4]||"";et=et.replace(/\B(?=(\d{3})+(?!\d))/g,ve),typeof N=="number"&&(Te=Te.padEnd(N,"0").slice(0,N>0?N:0)),Te&&(Te=`${vt}${Te}`),k=[t.createElement("span",{key:"int",className:`${de}-content-value-int`},ye,et),Te&&t.createElement("span",{key:"decimal",className:`${de}-content-value-decimal`},Te)]}}return t.createElement("span",{className:`${de}-content-value`},k)},H=a(14747),V=a(83559),Y=a(43259);const T=ae=>{const{componentCls:Ee,marginXXS:R,padding:N,colorTextDescription:vt,titleFontSize:ve,colorTextHeading:de,contentFontSize:k,fontFamily:te}=ae;return{[Ee]:Object.assign(Object.assign({},(0,H.Wf)(ae)),{[`${Ee}-title`]:{marginBottom:R,color:vt,fontSize:ve},[`${Ee}-skeleton`]:{paddingTop:N},[`${Ee}-content`]:{color:de,fontSize:k,fontFamily:te,[`${Ee}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ee}-content-prefix, ${Ee}-content-suffix`]:{display:"inline-block"},[`${Ee}-content-prefix`]:{marginInlineEnd:R},[`${Ee}-content-suffix`]:{marginInlineStart:R}}})}},Z=ae=>{const{fontSizeHeading3:Ee,fontSize:R}=ae;return{titleFontSize:R,contentFontSize:Ee}};var E=(0,V.I$)("Statistic",ae=>{const Ee=(0,Y.mergeToken)(ae,{});return[T(Ee)]},Z),j=function(ae,Ee){var R={};for(var N in ae)Object.prototype.hasOwnProperty.call(ae,N)&&Ee.indexOf(N)<0&&(R[N]=ae[N]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,N=Object.getOwnPropertySymbols(ae);vt<N.length;vt++)Ee.indexOf(N[vt])<0&&Object.prototype.propertyIsEnumerable.call(ae,N[vt])&&(R[N[vt]]=ae[N[vt]]);return R},M=ae=>{const{prefixCls:Ee,className:R,rootClassName:N,style:vt,valueStyle:ve,value:de=0,title:k,valueRender:te,prefix:ie,suffix:ye,loading:et=!1,formatter:Te,precision:Qe,decimalSeparator:Wt=".",groupSeparator:Ut=",",onMouseEnter:ze,onMouseLeave:Ue}=ae,sr=j(ae,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:tr,direction:$e,className:re,style:g}=(0,U.dj)("statistic"),Xe=tr("statistic",Ee),[Se,ge,fe]=E(Xe),q=t.createElement(l,{decimalSeparator:Wt,groupSeparator:Ut,prefixCls:Xe,formatter:Te,precision:Qe,value:de}),we=G()(Xe,{[`${Xe}-rtl`]:$e==="rtl"},re,R,N,ge,fe),Oe=(0,J.Z)(sr,{aria:!0,data:!0});return Se(t.createElement("div",Object.assign({},Oe,{className:we,style:Object.assign(Object.assign({},g),vt),onMouseEnter:ze,onMouseLeave:Ue}),k&&t.createElement("div",{className:`${Xe}-title`},k),t.createElement(y.Z,{paragraph:!1,loading:et,className:`${Xe}-skeleton`},t.createElement("div",{style:ve,className:`${Xe}-content`},ie&&t.createElement("span",{className:`${Xe}-content-prefix`},ie),te?te(q):q,ye&&t.createElement("span",{className:`${Xe}-content-suffix`},ye)))))};const le=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function ee(ae,Ee){let R=ae;const N=/\[[^\]]*]/g,vt=(Ee.match(N)||[]).map(te=>te.slice(1,-1)),ve=Ee.replace(N,"[]"),de=le.reduce((te,ie)=>{let[ye,et]=ie;if(te.includes(ye)){const Te=Math.floor(R/et);return R-=Te*et,te.replace(new RegExp(`${ye}+`,"g"),Qe=>{const Wt=Qe.length;return Te.toString().padStart(Wt,"0")})}return te},ve);let k=0;return de.replace(N,()=>{const te=vt[k];return k+=1,te})}function C(ae,Ee){const{format:R=""}=Ee,N=new Date(ae).getTime(),vt=Date.now(),ve=Math.max(N-vt,0);return ee(ve,R)}var Le=function(ae,Ee){var R={};for(var N in ae)Object.prototype.hasOwnProperty.call(ae,N)&&Ee.indexOf(N)<0&&(R[N]=ae[N]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,N=Object.getOwnPropertySymbols(ae);vt<N.length;vt++)Ee.indexOf(N[vt])<0&&Object.prototype.propertyIsEnumerable.call(ae,N[vt])&&(R[N[vt]]=ae[N[vt]]);return R};const Me=1e3/30;function He(ae){return new Date(ae).getTime()}const We=ae=>{const{value:Ee,format:R="HH:mm:ss",onChange:N,onFinish:vt}=ae,ve=Le(ae,["value","format","onChange","onFinish"]),de=(0,Fe.Z)(),k=t.useRef(null),te=()=>{vt==null||vt(),k.current&&(clearInterval(k.current),k.current=null)},ie=()=>{const Te=He(Ee);Te>=Date.now()&&(k.current=setInterval(()=>{de(),N==null||N(Te-Date.now()),Te<Date.now()&&te()},Me))};t.useEffect(()=>(ie(),()=>{k.current&&(clearInterval(k.current),k.current=null)}),[Ee]);const ye=(Te,Qe)=>C(Te,Object.assign(Object.assign({},Qe),{format:R})),et=Te=>(0,$.Tm)(Te,{title:void 0});return t.createElement(M,Object.assign({},ve,{value:Ee,valueRender:et,formatter:ye}))};var Pe=t.memo(We);M.Countdown=Pe;var Ne=M},33507:function(on,Yt){"use strict";const a=t=>({[t.componentCls]:{[`${t.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${t.motionDurationMid} ${t.motionEaseInOut},
|
|
|
opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}},[`${t.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${t.motionDurationMid} ${t.motionEaseInOut},
|
|
|
opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}}});Yt.Z=a},33297:function(on,Yt,a){"use strict";a.d(Yt,{Fm:function(){return V}});var t=a(16777),Fe=a(93590);const $=new t.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Be=new t.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),G=new t.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),J=new t.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),U=new t.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),y=new t.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),W=new t.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new t.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),H={"move-up":{inKeyframes:W,outKeyframes:l},"move-down":{inKeyframes:$,outKeyframes:Be},"move-left":{inKeyframes:G,outKeyframes:J},"move-right":{inKeyframes:U,outKeyframes:y}},V=(Y,T)=>{const{antCls:Z}=Y,E=`${Z}-${T}`,{inKeyframes:j,outKeyframes:A}=H[T];return[(0,Fe.R)(E,j,A,Y.motionDurationMid),{[`
|
|
|
${E}-enter,
|
|
|
${E}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:Y.motionEaseOutCirc},[`${E}-leave`]:{animationTimingFunction:Y.motionEaseInOutCirc}}]}},67771:function(on,Yt,a){"use strict";a.d(Yt,{Qt:function(){return G},Uw:function(){return Be},fJ:function(){return $},ly:function(){return J},oN:function(){return V}});var t=a(16777),Fe=a(93590);const $=new t.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Be=new t.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),G=new t.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),J=new t.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),U=new t.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),y=new t.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),W=new t.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),l=new t.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),H={"slide-up":{inKeyframes:$,outKeyframes:Be},"slide-down":{inKeyframes:G,outKeyframes:J},"slide-left":{inKeyframes:U,outKeyframes:y},"slide-right":{inKeyframes:W,outKeyframes:l}},V=(Y,T)=>{const{antCls:Z}=Y,E=`${Z}-${T}`,{inKeyframes:j,outKeyframes:A}=H[T];return[(0,Fe.R)(E,j,A,Y.motionDurationMid),{[`
|
|
|
${E}-enter,
|
|
|
${E}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Y.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${E}-leave`]:{animationTimingFunction:Y.motionEaseInQuint}}]}},97414:function(on,Yt,a){"use strict";a.d(Yt,{ZP:function(){return J},qN:function(){return $},wZ:function(){return Be}});var t=a(16777),Fe=a(79511);const $=8;function Be(U){const{contentRadius:y,limitVerticalRadius:W}=U,l=y>12?y+2:12;return{arrowOffsetHorizontal:l,arrowOffsetVertical:W?$:l}}function G(U,y){return U?y:{}}function J(U,y,W){const{componentCls:l,boxShadowPopoverArrow:H,arrowOffsetVertical:V,arrowOffsetHorizontal:Y}=U,{arrowDistance:T=0,arrowPlacement:Z={left:!0,right:!0,top:!0,bottom:!0}}=W||{};return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({[`${l}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,Fe.W)(U,y,H)),{"&:before":{background:y}})]},G(!!Z.top,{[[`&-placement-top > ${l}-arrow`,`&-placement-topLeft > ${l}-arrow`,`&-placement-topRight > ${l}-arrow`].join(",")]:{bottom:T,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${l}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":Y,[`> ${l}-arrow`]:{left:{_skip_check_:!0,value:Y}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,t.unit)(Y)})`,[`> ${l}-arrow`]:{right:{_skip_check_:!0,value:Y}}}})),G(!!Z.bottom,{[[`&-placement-bottom > ${l}-arrow`,`&-placement-bottomLeft > ${l}-arrow`,`&-placement-bottomRight > ${l}-arrow`].join(",")]:{top:T,transform:"translateY(-100%)"},[`&-placement-bottom > ${l}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":Y,[`> ${l}-arrow`]:{left:{_skip_check_:!0,value:Y}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,t.unit)(Y)})`,[`> ${l}-arrow`]:{right:{_skip_check_:!0,value:Y}}}})),G(!!Z.left,{[[`&-placement-left > ${l}-arrow`,`&-placement-leftTop > ${l}-arrow`,`&-placement-leftBottom > ${l}-arrow`].join(",")]:{right:{_skip_check_:!0,value:T},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${l}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${l}-arrow`]:{top:V},[`&-placement-leftBottom > ${l}-arrow`]:{bottom:V}})),G(!!Z.right,{[[`&-placement-right > ${l}-arrow`,`&-placement-rightTop > ${l}-arrow`,`&-placement-rightBottom > ${l}-arrow`].join(",")]:{left:{_skip_check_:!0,value:T},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${l}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${l}-arrow`]:{top:V},[`&-placement-rightBottom > ${l}-arrow`]:{bottom:V}}))}}},79511:function(on,Yt,a){"use strict";a.d(Yt,{W:function(){return $},w:function(){return Fe}});var t=a(16777);function Fe(Be){const{sizePopupArrow:G,borderRadiusXS:J,borderRadiusOuter:U}=Be,y=G/2,W=0,l=y,H=U*1/Math.sqrt(2),V=y-U*(1-1/Math.sqrt(2)),Y=y-J*(1/Math.sqrt(2)),T=U*(Math.sqrt(2)-1)+J*(1/Math.sqrt(2)),Z=2*y-Y,E=T,j=2*y-H,A=V,M=2*y-W,le=l,ee=y*Math.sqrt(2)+U*(Math.sqrt(2)-2),C=U*(Math.sqrt(2)-1),Le=`polygon(${C}px 100%, 50% ${C}px, ${2*y-C}px 100%, ${C}px 100%)`,Me=`path('M ${W} ${l} A ${U} ${U} 0 0 0 ${H} ${V} L ${Y} ${T} A ${J} ${J} 0 0 1 ${Z} ${E} L ${j} ${A} A ${U} ${U} 0 0 0 ${M} ${le} Z')`;return{arrowShadowWidth:ee,arrowPath:Me,arrowPolygon:Le}}const $=(Be,G,J)=>{const{sizePopupArrow:U,arrowPolygon:y,arrowPath:W,arrowShadowWidth:l,borderRadiusXS:H,calc:V}=Be;return{pointerEvents:"none",width:U,height:U,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:U,height:V(U).div(2).equal(),background:G,clipPath:{_multi_value_:!0,value:[y,W]},content:'""'},"&::after":{content:'""',position:"absolute",width:l,height:l,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,t.unit)(H)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:J,zIndex:0,background:"transparent"}}}},59637:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return We}});var t=a(67294),Fe=a(77322),$=a(13144),Be=a.n($),G=a(58212),J=a(5663),U=a(45353),y=a(53124),W=a(98866),l=a(98675),H=a(16777),V=a(24327),Y=a(14747),T=a(83559),Z=a(43259);const E=Pe=>{const{componentCls:Ne,trackHeightSM:ae,trackPadding:Ee,trackMinWidthSM:R,innerMinMarginSM:N,innerMaxMarginSM:vt,handleSizeSM:ve,calc:de}=Pe,k=`${Ne}-inner`,te=(0,H.unit)(de(ve).add(de(Ee).mul(2)).equal()),ie=(0,H.unit)(de(vt).mul(2).equal());return{[Ne]:{[`&${Ne}-small`]:{minWidth:R,height:ae,lineHeight:(0,H.unit)(ae),[`${Ne}-inner`]:{paddingInlineStart:vt,paddingInlineEnd:N,[`${k}-checked, ${k}-unchecked`]:{minHeight:ae},[`${k}-checked`]:{marginInlineStart:`calc(-100% + ${te} - ${ie})`,marginInlineEnd:`calc(100% - ${te} + ${ie})`},[`${k}-unchecked`]:{marginTop:de(ae).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Ne}-handle`]:{width:ve,height:ve},[`${Ne}-loading-icon`]:{top:de(de(ve).sub(Pe.switchLoadingIconSize)).div(2).equal(),fontSize:Pe.switchLoadingIconSize},[`&${Ne}-checked`]:{[`${Ne}-inner`]:{paddingInlineStart:N,paddingInlineEnd:vt,[`${k}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${k}-unchecked`]:{marginInlineStart:`calc(100% - ${te} + ${ie})`,marginInlineEnd:`calc(-100% + ${te} - ${ie})`}},[`${Ne}-handle`]:{insetInlineStart:`calc(100% - ${(0,H.unit)(de(ve).add(Ee).equal())})`}},[`&:not(${Ne}-disabled):active`]:{[`&:not(${Ne}-checked) ${k}`]:{[`${k}-unchecked`]:{marginInlineStart:de(Pe.marginXXS).div(2).equal(),marginInlineEnd:de(Pe.marginXXS).mul(-1).div(2).equal()}},[`&${Ne}-checked ${k}`]:{[`${k}-checked`]:{marginInlineStart:de(Pe.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:de(Pe.marginXXS).div(2).equal()}}}}}}},j=Pe=>{const{componentCls:Ne,handleSize:ae,calc:Ee}=Pe;return{[Ne]:{[`${Ne}-loading-icon${Pe.iconCls}`]:{position:"relative",top:Ee(Ee(ae).sub(Pe.fontSize)).div(2).equal(),color:Pe.switchLoadingIconColor,verticalAlign:"top"},[`&${Ne}-checked ${Ne}-loading-icon`]:{color:Pe.switchColor}}}},A=Pe=>{const{componentCls:Ne,trackPadding:ae,handleBg:Ee,handleShadow:R,handleSize:N,calc:vt}=Pe,ve=`${Ne}-handle`;return{[Ne]:{[ve]:{position:"absolute",top:ae,insetInlineStart:ae,width:N,height:N,transition:`all ${Pe.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ee,borderRadius:vt(N).div(2).equal(),boxShadow:R,transition:`all ${Pe.switchDuration} ease-in-out`,content:'""'}},[`&${Ne}-checked ${ve}`]:{insetInlineStart:`calc(100% - ${(0,H.unit)(vt(N).add(ae).equal())})`},[`&:not(${Ne}-disabled):active`]:{[`${ve}::before`]:{insetInlineEnd:Pe.switchHandleActiveInset,insetInlineStart:0},[`&${Ne}-checked ${ve}::before`]:{insetInlineEnd:0,insetInlineStart:Pe.switchHandleActiveInset}}}}},M=Pe=>{const{componentCls:Ne,trackHeight:ae,trackPadding:Ee,innerMinMargin:R,innerMaxMargin:N,handleSize:vt,calc:ve}=Pe,de=`${Ne}-inner`,k=(0,H.unit)(ve(vt).add(ve(Ee).mul(2)).equal()),te=(0,H.unit)(ve(N).mul(2).equal());return{[Ne]:{[de]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:N,paddingInlineEnd:R,transition:`padding-inline-start ${Pe.switchDuration} ease-in-out, padding-inline-end ${Pe.switchDuration} ease-in-out`,[`${de}-checked, ${de}-unchecked`]:{display:"block",color:Pe.colorTextLightSolid,fontSize:Pe.fontSizeSM,transition:`margin-inline-start ${Pe.switchDuration} ease-in-out, margin-inline-end ${Pe.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:ae},[`${de}-checked`]:{marginInlineStart:`calc(-100% + ${k} - ${te})`,marginInlineEnd:`calc(100% - ${k} + ${te})`},[`${de}-unchecked`]:{marginTop:ve(ae).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Ne}-checked ${de}`]:{paddingInlineStart:R,paddingInlineEnd:N,[`${de}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${de}-unchecked`]:{marginInlineStart:`calc(100% - ${k} + ${te})`,marginInlineEnd:`calc(-100% + ${k} - ${te})`}},[`&:not(${Ne}-disabled):active`]:{[`&:not(${Ne}-checked) ${de}`]:{[`${de}-unchecked`]:{marginInlineStart:ve(Ee).mul(2).equal(),marginInlineEnd:ve(Ee).mul(-1).mul(2).equal()}},[`&${Ne}-checked ${de}`]:{[`${de}-checked`]:{marginInlineStart:ve(Ee).mul(-1).mul(2).equal(),marginInlineEnd:ve(Ee).mul(2).equal()}}}}}},le=Pe=>{const{componentCls:Ne,trackHeight:ae,trackMinWidth:Ee}=Pe;return{[Ne]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(Pe)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ee,height:ae,lineHeight:(0,H.unit)(ae),verticalAlign:"middle",background:Pe.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Pe.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ne}-disabled)`]:{background:Pe.colorTextTertiary}}),(0,Y.Qy)(Pe)),{[`&${Ne}-checked`]:{background:Pe.switchColor,[`&:hover:not(${Ne}-disabled)`]:{background:Pe.colorPrimaryHover}},[`&${Ne}-loading, &${Ne}-disabled`]:{cursor:"not-allowed",opacity:Pe.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ne}-rtl`]:{direction:"rtl"}})}},ee=Pe=>{const{fontSize:Ne,lineHeight:ae,controlHeight:Ee,colorWhite:R}=Pe,N=Ne*ae,vt=Ee/2,ve=2,de=N-ve*2,k=vt-ve*2;return{trackHeight:N,trackHeightSM:vt,trackMinWidth:de*2+ve*4,trackMinWidthSM:k*2+ve*2,trackPadding:ve,handleBg:R,handleSize:de,handleSizeSM:k,handleShadow:`0 2px 4px 0 ${new V.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:de/2,innerMaxMargin:de+ve+ve*2,innerMinMarginSM:k/2,innerMaxMarginSM:k+ve+ve*2}};var C=(0,T.I$)("Switch",Pe=>{const Ne=(0,Z.mergeToken)(Pe,{switchDuration:Pe.motionDurationMid,switchColor:Pe.colorPrimary,switchDisabledOpacity:Pe.opacityLoading,switchLoadingIconSize:Pe.calc(Pe.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Pe.opacityLoading})`,switchHandleActiveInset:"-30%"});return[le(Ne),M(Ne),A(Ne),j(Ne),E(Ne)]},ee),Le=function(Pe,Ne){var ae={};for(var Ee in Pe)Object.prototype.hasOwnProperty.call(Pe,Ee)&&Ne.indexOf(Ee)<0&&(ae[Ee]=Pe[Ee]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,Ee=Object.getOwnPropertySymbols(Pe);R<Ee.length;R++)Ne.indexOf(Ee[R])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ee[R])&&(ae[Ee[R]]=Pe[Ee[R]]);return ae};const He=t.forwardRef((Pe,Ne)=>{const{prefixCls:ae,size:Ee,disabled:R,loading:N,className:vt,rootClassName:ve,style:de,checked:k,value:te,defaultChecked:ie,defaultValue:ye,onChange:et}=Pe,Te=Le(Pe,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Qe,Wt]=(0,J.Z)(!1,{value:k!=null?k:te,defaultValue:ie!=null?ie:ye}),{getPrefixCls:Ut,direction:ze,switch:Ue}=t.useContext(y.E_),sr=t.useContext(W.Z),tr=(R!=null?R:sr)||N,$e=Ut("switch",ae),re=t.createElement("div",{className:`${$e}-handle`},N&&t.createElement(Fe.Z,{className:`${$e}-loading-icon`})),[g,Xe,Se]=C($e),ge=(0,l.Z)(Ee),fe=Be()(Ue==null?void 0:Ue.className,{[`${$e}-small`]:ge==="small",[`${$e}-loading`]:N,[`${$e}-rtl`]:ze==="rtl"},vt,ve,Xe,Se),q=Object.assign(Object.assign({},Ue==null?void 0:Ue.style),de),we=function(){Wt(arguments.length<=0?void 0:arguments[0]),et==null||et.apply(void 0,arguments)};return g(t.createElement(U.Z,{component:"Switch"},t.createElement(G.Z,Object.assign({},Te,{checked:Qe,onChange:we,prefixCls:$e,className:fe,style:q,disabled:tr,ref:Ne,loadingIcon:re}))))});He.__ANT_SWITCH=!0;var We=He},57399:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return Ke}});var t=a(67294),Fe=a(29104),Be=be=>null,J=be=>null,U=a(96641),y=a(15558),W=a(13144),l=a.n(W),H=a(10225),V=a(17341),Y=a(1089),T=a(5663);function Z(be){const[ce,Je]=(0,t.useState)(null);return[(0,t.useCallback)(($t,er,It)=>{const Cr=ce!=null?ce:$t,Hr=Math.min(Cr||0,$t),sn=Math.max(Cr||0,$t),Qr=er.slice(Hr,sn+1).map(rn=>be(rn)),bt=Qr.some(rn=>!It.has(rn)),xt=[];return Qr.forEach(rn=>{bt?(It.has(rn)||xt.push(rn),It.add(rn)):(It.delete(rn),xt.push(rn))}),Je(bt?sn:null),xt},[ce]),$t=>{Je($t)}]}var E=a(27288),j=a(84567),A=a(85418),M=a(98813);const le={},ee="SELECT_ALL",C="SELECT_INVERT",Le="SELECT_NONE",Me=[],He=(be,ce)=>{let Je=[];return(ce||[]).forEach(dt=>{Je.push(dt),dt&&typeof dt=="object"&&be in dt&&(Je=[].concat((0,U.Z)(Je),(0,U.Z)(He(be,dt[be]))))}),Je};var Pe=(be,ce)=>{const{preserveSelectedRowKeys:Je,selectedRowKeys:dt,defaultSelectedRowKeys:Nt,getCheckboxProps:$t,onChange:er,onSelect:It,onSelectAll:Cr,onSelectInvert:Hr,onSelectNone:sn,onSelectMultiple:Qr,columnWidth:bt,type:xt,selections:rn,fixed:Mn,renderCell:zr,hideSelectAll:dn,checkStrictly:nn=!0}=ce||{},{prefixCls:xn,data:Ln,pageData:qn,getRecordByKey:Jn,getRowKey:Qn,expandType:Fa,childrenColumnName:Ea,locale:Xn,getPopupContainer:jn}=be,Vn=(0,E.ln)("Table"),[ka,ba]=Z(Dn=>Dn),[ho,Va]=(0,T.Z)(dt||Nt||Me,{value:dt}),Ha=t.useRef(new Map),Yo=(0,t.useCallback)(Dn=>{if(Je){const Xa=new Map;Dn.forEach(ia=>{let aa=Jn(ia);!aa&&Ha.current.has(ia)&&(aa=Ha.current.get(ia)),Xa.set(ia,aa)}),Ha.current=Xa}},[Jn,Je]);t.useEffect(()=>{Yo(ho)},[ho]);const na=(0,t.useMemo)(()=>He(Ea,qn),[Ea,qn]),{keyEntities:gi}=(0,t.useMemo)(()=>{if(nn)return{keyEntities:null};let Dn=Ln;if(Je){const Xa=new Set(na.map((aa,Aa)=>Qn(aa,Aa))),ia=Array.from(Ha.current).reduce((aa,Aa)=>{let[za,Io]=Aa;return Xa.has(za)?aa:aa.concat(Io)},[]);Dn=[].concat((0,U.Z)(Dn),(0,U.Z)(ia))}return(0,Y.I8)(Dn,{externalGetKey:Qn,childrenPropName:Ea})},[Ln,Qn,nn,Ea,Je,na]),ro=(0,t.useMemo)(()=>{const Dn=new Map;return na.forEach((Xa,ia)=>{const aa=Qn(Xa,ia),Aa=($t?$t(Xa):null)||{};Dn.set(aa,Aa)}),Dn},[na,Qn,$t]),qo=(0,t.useCallback)(Dn=>{const Xa=Qn(Dn);let ia;return ro.has(Xa)?ia=ro.get(Qn(Dn)):ia=$t?$t(Dn):void 0,!!(ia!=null&&ia.disabled)},[ro,Qn]),[Jo,_a]=(0,t.useMemo)(()=>{if(nn)return[ho||[],[]];const{checkedKeys:Dn,halfCheckedKeys:Xa}=(0,V.S)(ho,!0,gi,qo);return[Dn||[],Xa]},[ho,nn,gi,qo]),Sa=(0,t.useMemo)(()=>{const Dn=xt==="radio"?Jo.slice(0,1):Jo;return new Set(Dn)},[Jo,xt]),mo=(0,t.useMemo)(()=>xt==="radio"?new Set:new Set(_a),[_a,xt]);t.useEffect(()=>{ce||Va(Me)},[!!ce]);const oi=(0,t.useCallback)((Dn,Xa)=>{let ia,aa;Yo(Dn),Je?(ia=Dn,aa=Dn.map(Aa=>Ha.current.get(Aa))):(ia=[],aa=[],Dn.forEach(Aa=>{const za=Jn(Aa);za!==void 0&&(ia.push(Aa),aa.push(za))})),Va(ia),er==null||er(ia,aa,{type:Xa})},[Va,Jn,er,Je]),lo=(0,t.useCallback)((Dn,Xa,ia,aa)=>{if(It){const Aa=ia.map(za=>Jn(za));It(Jn(Dn),Xa,Aa,aa)}oi(ia,"single")},[It,Jn,oi]),Go=(0,t.useMemo)(()=>!rn||dn?null:(rn===!0?[ee,C,Le]:rn).map(Xa=>Xa===ee?{key:"all",text:Xn.selectionAll,onSelect(){oi(Ln.map((ia,aa)=>Qn(ia,aa)).filter(ia=>{const aa=ro.get(ia);return!(aa!=null&&aa.disabled)||Sa.has(ia)}),"all")}}:Xa===C?{key:"invert",text:Xn.selectInvert,onSelect(){const ia=new Set(Sa);qn.forEach((Aa,za)=>{const Io=Qn(Aa,za),No=ro.get(Io);No!=null&&No.disabled||(ia.has(Io)?ia.delete(Io):ia.add(Io))});const aa=Array.from(ia);Hr&&(Vn.deprecated(!1,"onSelectInvert","onChange"),Hr(aa)),oi(aa,"invert")}}:Xa===Le?{key:"none",text:Xn.selectNone,onSelect(){sn==null||sn(),oi(Array.from(Sa).filter(ia=>{const aa=ro.get(ia);return aa==null?void 0:aa.disabled}),"none")}}:Xa).map(Xa=>Object.assign(Object.assign({},Xa),{onSelect:function(){for(var ia,aa,Aa=arguments.length,za=new Array(Aa),Io=0;Io<Aa;Io++)za[Io]=arguments[Io];(aa=Xa.onSelect)===null||aa===void 0||(ia=aa).call.apply(ia,[Xa].concat(za)),ba(null)}})),[rn,Sa,qn,Qn,Hr,oi]);return[(0,t.useCallback)(Dn=>{var Xa;if(!ce)return Dn.filter(co=>co!==le);let ia=(0,U.Z)(Dn);const aa=new Set(Sa),Aa=na.map(Qn).filter(co=>!ro.get(co).disabled),za=Aa.every(co=>aa.has(co)),Io=Aa.some(co=>aa.has(co)),No=()=>{const co=[];za?Aa.forEach(Mo=>{aa.delete(Mo),co.push(Mo)}):Aa.forEach(Mo=>{aa.has(Mo)||(aa.add(Mo),co.push(Mo))});const Ao=Array.from(aa);Cr==null||Cr(!za,Ao.map(Mo=>Jn(Mo)),co.map(Mo=>Jn(Mo))),oi(Ao,"all"),ba(null)};let ei,di;if(xt!=="radio"){let co;if(Go){const ao={getPopupContainer:jn,items:Go.map((Qo,uo)=>{const{key:fi,text:Do,onSelect:Ii}=Qo;return{key:fi!=null?fi:uo,onClick:()=>{Ii==null||Ii(Aa)},label:Do}})};co=t.createElement("div",{className:`${xn}-selection-extra`},t.createElement(A.Z,{menu:ao,getPopupContainer:jn},t.createElement("span",null,t.createElement(y.Z,null))))}const Ao=na.map((ao,Qo)=>{const uo=Qn(ao,Qo),fi=ro.get(uo)||{};return Object.assign({checked:aa.has(uo)},fi)}).filter(ao=>{let{disabled:Qo}=ao;return Qo}),Mo=!!Ao.length&&Ao.length===na.length,li=Mo&&Ao.every(ao=>{let{checked:Qo}=ao;return Qo}),Po=Mo&&Ao.some(ao=>{let{checked:Qo}=ao;return Qo});di=t.createElement(j.default,{checked:Mo?li:!!na.length&&za,indeterminate:Mo?!li&&Po:!za&&Io,onChange:No,disabled:na.length===0||Mo,"aria-label":co?"Custom selection":"Select all",skipGroup:!0}),ei=!dn&&t.createElement("div",{className:`${xn}-selection`},di,co)}let sa;xt==="radio"?sa=(co,Ao,Mo)=>{const li=Qn(Ao,Mo),Po=aa.has(li),ao=ro.get(li);return{node:t.createElement(M.ZP,Object.assign({},ao,{checked:Po,onClick:Qo=>{var uo;Qo.stopPropagation(),(uo=ao==null?void 0:ao.onClick)===null||uo===void 0||uo.call(ao,Qo)},onChange:Qo=>{var uo;aa.has(li)||lo(li,!0,[li],Qo.nativeEvent),(uo=ao==null?void 0:ao.onChange)===null||uo===void 0||uo.call(ao,Qo)}})),checked:Po}}:sa=(co,Ao,Mo)=>{var li;const Po=Qn(Ao,Mo),ao=aa.has(Po),Qo=mo.has(Po),uo=ro.get(Po);let fi;return Fa==="nest"?fi=Qo:fi=(li=uo==null?void 0:uo.indeterminate)!==null&&li!==void 0?li:Qo,{node:t.createElement(j.default,Object.assign({},uo,{indeterminate:fi,checked:ao,skipGroup:!0,onClick:Do=>{var Ii;Do.stopPropagation(),(Ii=uo==null?void 0:uo.onClick)===null||Ii===void 0||Ii.call(uo,Do)},onChange:Do=>{var Ii;const{nativeEvent:bi}=Do,{shiftKey:es}=bi,Ma=Aa.findIndex($i=>$i===Po),Ji=Jo.some($i=>Aa.includes($i));if(es&&nn&&Ji){const $i=ka(Ma,Aa,aa),Ai=Array.from(aa);Qr==null||Qr(!ao,Ai.map(Ti=>Jn(Ti)),$i.map(Ti=>Jn(Ti))),oi(Ai,"multiple")}else{const $i=Jo;if(nn){const Ai=ao?(0,H._5)($i,Po):(0,H.L0)($i,Po);lo(Po,!ao,Ai,bi)}else{const Ai=(0,V.S)([].concat((0,U.Z)($i),[Po]),!0,gi,qo),{checkedKeys:Ti,halfCheckedKeys:Zi}=Ai;let Ei=Ti;if(ao){const Di=new Set(Ti);Di.delete(Po),Ei=(0,V.S)(Array.from(Di),{checked:!1,halfCheckedKeys:Zi},gi,qo).checkedKeys}lo(Po,!ao,Ei,bi)}}ba(ao?null:Ma),(Ii=uo==null?void 0:uo.onChange)===null||Ii===void 0||Ii.call(uo,Do)}})),checked:ao}};const Ua=(co,Ao,Mo)=>{const{node:li,checked:Po}=sa(co,Ao,Mo);return zr?zr(Po,Ao,Mo,li):li};if(!ia.includes(le))if(ia.findIndex(co=>{var Ao;return((Ao=co[Fe.vP])===null||Ao===void 0?void 0:Ao.columnType)==="EXPAND_COLUMN"})===0){const[co,...Ao]=ia;ia=[co,le].concat((0,U.Z)(Ao))}else ia=[le].concat((0,U.Z)(ia));const go=ia.indexOf(le);ia=ia.filter((co,Ao)=>co!==le||Ao===go);const wo=ia[go-1],Ko=ia[go+1];let si=Mn;si===void 0&&((Ko==null?void 0:Ko.fixed)!==void 0?si=Ko.fixed:(wo==null?void 0:wo.fixed)!==void 0&&(si=wo.fixed)),si&&wo&&((Xa=wo[Fe.vP])===null||Xa===void 0?void 0:Xa.columnType)==="EXPAND_COLUMN"&&wo.fixed===void 0&&(wo.fixed=si);const Bo=l()(`${xn}-selection-col`,{[`${xn}-selection-col-with-dropdown`]:rn&&xt==="checkbox"}),Ni=()=>ce!=null&&ce.columnTitle?typeof ce.columnTitle=="function"?ce.columnTitle(di):ce.columnTitle:ei,Mi={fixed:si,width:bt,className:`${xn}-selection-column`,title:Ni(),render:Ua,onCell:ce.onCell,[Fe.vP]:{className:Bo}};return ia.map(co=>co===le?Mi:co)},[Qn,na,ce,Jo,Sa,mo,bt,Go,Fa,ro,Qr,lo,qo]),Sa]},Ne=a(54768),ae=a(10366);function Ee(be,ce){return be._antProxy=be._antProxy||{},Object.keys(ce).forEach(Je=>{if(!(Je in be._antProxy)){const dt=be[Je];be._antProxy[Je]=dt,be[Je]=ce[Je]}}),be}function R(be,ce){return(0,t.useImperativeHandle)(be,()=>{const Je=ce(),{nativeElement:dt}=Je;return typeof Proxy!="undefined"?new Proxy(dt,{get(Nt,$t){return Je[$t]?Je[$t]:Reflect.get(Nt,$t)}}):Ee(dt,Je)})}var N=a(58375),vt=a(53124),ve=a(88258),de=a(35792),k=a(98675),te=a(25378),ie=a(24457),ye=a(14845),et=a(74330),Te=a(15729);function Qe(be){return ce=>{const{prefixCls:Je,onExpand:dt,record:Nt,expanded:$t,expandable:er}=ce,It=`${Je}-row-expand-icon`;return t.createElement("button",{type:"button",onClick:Cr=>{dt(Nt,Cr),Cr.stopPropagation()},className:l()(It,{[`${It}-spaced`]:!er,[`${It}-expanded`]:er&&$t,[`${It}-collapsed`]:er&&!$t}),"aria-label":$t?be.collapse:be.expand,"aria-expanded":$t})}}var Wt=Qe;function Ut(be){return(Je,dt)=>{const Nt=Je.querySelector(`.${be}-container`);let $t=dt;if(Nt){const er=getComputedStyle(Nt),It=parseInt(er.borderLeftWidth,10),Cr=parseInt(er.borderRightWidth,10);$t=dt-It-Cr}return $t}}const ze=(be,ce)=>"key"in be&&be.key!==void 0&&be.key!==null?be.key:be.dataIndex?Array.isArray(be.dataIndex)?be.dataIndex.join("."):be.dataIndex:ce;function Ue(be,ce){return ce?`${ce}-${be}`:`${be}`}const sr=(be,ce)=>typeof be=="function"?be(ce):be,tr=(be,ce)=>{const Je=sr(be,ce);return Object.prototype.toString.call(Je)==="[object Object]"?"":Je};var $e=a(83963),re={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"},g=re,Xe=a(84180),Se=function(ce,Je){return t.createElement(Xe.Z,(0,$e.Z)({},ce,{ref:Je,icon:g}))},ge=t.forwardRef(Se),fe=ge,q=a(7699),we=a(38780),Oe=a(57838);function Ae(be){const ce=t.useRef(be),Je=(0,Oe.Z)();return[()=>ce.current,dt=>{ce.current=dt,Je()}]}var Ye=a(85804),At=a(32983),Bt=a(50136),cr=a(76529),ur=a(51380),Et=a(47880),ut=a(82586),Kt=be=>{const{value:ce,filterSearch:Je,tablePrefixCls:dt,locale:Nt,onChange:$t}=be;return Je?t.createElement("div",{className:`${dt}-filter-dropdown-search`},t.createElement(ut.Z,{prefix:t.createElement(Et.Z,null),placeholder:Nt.filterSearchPlaceholder,onChange:$t,value:ce,htmlSize:1,className:`${dt}-filter-dropdown-search-input`})):null},Qt=a(92389);const St=be=>{const{keyCode:ce}=be;ce===Qt.Z.ENTER&&be.stopPropagation()};var Ur=t.forwardRef((be,ce)=>t.createElement("div",{className:be.className,onClick:Je=>Je.stopPropagation(),onKeyDown:St,ref:ce},be.children));function Lt(be){let ce=[];return(be||[]).forEach(Je=>{let{value:dt,children:Nt}=Je;ce.push(dt),Nt&&(ce=[].concat((0,U.Z)(ce),(0,U.Z)(Lt(Nt))))}),ce}function lr(be){return be.some(ce=>{let{children:Je}=ce;return Je})}function _t(be,ce){return typeof ce=="string"||typeof ce=="number"?ce==null?void 0:ce.toString().toLowerCase().includes(be.trim().toLowerCase()):!1}function w(be){let{filters:ce,prefixCls:Je,filteredKeys:dt,filterMultiple:Nt,searchValue:$t,filterSearch:er}=be;return ce.map((It,Cr)=>{const Hr=String(It.value);if(It.children)return{key:Hr||Cr,label:It.text,popupClassName:`${Je}-dropdown-submenu`,children:w({filters:It.children,prefixCls:Je,filteredKeys:dt,filterMultiple:Nt,searchValue:$t,filterSearch:er})};const sn=Nt?j.default:M.ZP,Qr={key:It.value!==void 0?Hr:Cr,label:t.createElement(t.Fragment,null,t.createElement(sn,{checked:dt.includes(Hr)}),t.createElement("span",null,It.text))};return $t.trim()?typeof er=="function"?er($t,It)?Qr:null:_t($t,It.text)?Qr:null:Qr})}function P(be){return be||[]}var ne=be=>{var ce,Je,dt,Nt;const{tablePrefixCls:$t,prefixCls:er,column:It,dropdownPrefixCls:Cr,columnKey:Hr,filterOnClose:sn,filterMultiple:Qr,filterMode:bt="menu",filterSearch:xt=!1,filterState:rn,triggerFilter:Mn,locale:zr,children:dn,getPopupContainer:nn,rootClassName:xn}=be,{filterResetToDefaultFilteredValue:Ln,defaultFilteredValue:qn,filterDropdownProps:Jn={},filterDropdownOpen:Qn,filterDropdownVisible:Fa,onFilterDropdownVisibleChange:Ea,onFilterDropdownOpenChange:Xn}=It,[jn,Vn]=t.useState(!1),ka=!!(rn&&(!((ce=rn.filteredKeys)===null||ce===void 0)&&ce.length||rn.forceFiltered)),ba=sa=>{var Ua;Vn(sa),(Ua=Jn.onOpenChange)===null||Ua===void 0||Ua.call(Jn,sa),Xn==null||Xn(sa),Ea==null||Ea(sa)},ho=(Nt=(dt=(Je=Jn.open)!==null&&Je!==void 0?Je:Qn)!==null&&dt!==void 0?dt:Fa)!==null&&Nt!==void 0?Nt:jn,Va=rn==null?void 0:rn.filteredKeys,[Ha,Yo]=Ae(P(Va)),na=sa=>{let{selectedKeys:Ua}=sa;Yo(Ua)},gi=(sa,Ua)=>{let{node:go,checked:wo}=Ua;na(Qr?{selectedKeys:sa}:{selectedKeys:wo&&go.key?[go.key]:[]})};t.useEffect(()=>{jn&&na({selectedKeys:P(Va)})},[Va]);const[ro,qo]=t.useState([]),Jo=sa=>{qo(sa)},[_a,Sa]=t.useState(""),mo=sa=>{const{value:Ua}=sa.target;Sa(Ua)};t.useEffect(()=>{jn||Sa("")},[jn]);const oi=sa=>{const Ua=sa!=null&&sa.length?sa:null;if(Ua===null&&(!rn||!rn.filteredKeys)||(0,q.Z)(Ua,rn==null?void 0:rn.filteredKeys,!0))return null;Mn({column:It,key:Hr,filteredKeys:Ua})},lo=()=>{ba(!1),oi(Ha())},Go=function(){let{confirm:sa,closeDropdown:Ua}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};sa&&oi([]),Ua&&ba(!1),Sa(""),Yo(Ln?(qn||[]).map(go=>String(go)):[])},ii=function(){let{closeDropdown:sa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};sa&&ba(!1),oi(Ha())},Dn=(sa,Ua)=>{Ua.source==="trigger"&&(sa&&Va!==void 0&&Yo(P(Va)),ba(sa),!sa&&!It.filterDropdown&&sn&&lo())},Xa=l()({[`${Cr}-menu-without-submenu`]:!lr(It.filters||[])}),ia=sa=>{if(sa.target.checked){const Ua=Lt(It==null?void 0:It.filters).map(go=>String(go));Yo(Ua)}else Yo([])},aa=sa=>{let{filters:Ua}=sa;return(Ua||[]).map((go,wo)=>{const Ko=String(go.value),si={title:go.text,key:go.value!==void 0?Ko:String(wo)};return go.children&&(si.children=aa({filters:go.children})),si})},Aa=sa=>{var Ua;return Object.assign(Object.assign({},sa),{text:sa.title,value:sa.key,children:((Ua=sa.children)===null||Ua===void 0?void 0:Ua.map(go=>Aa(go)))||[]})};let za;const{direction:Io,renderEmpty:No}=t.useContext(vt.E_);if(typeof It.filterDropdown=="function")za=It.filterDropdown({prefixCls:`${Cr}-custom`,setSelectedKeys:sa=>na({selectedKeys:sa}),selectedKeys:Ha(),confirm:ii,clearFilters:Go,filters:It.filters,visible:ho,close:()=>{ba(!1)}});else if(It.filterDropdown)za=It.filterDropdown;else{const sa=Ha()||[],Ua=()=>{var wo,Ko;const si=(wo=No==null?void 0:No("Table.filter"))!==null&&wo!==void 0?wo:t.createElement(At.Z,{image:At.Z.PRESENTED_IMAGE_SIMPLE,description:zr.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((It.filters||[]).length===0)return si;if(bt==="tree")return t.createElement(t.Fragment,null,t.createElement(Kt,{filterSearch:xt,value:_a,onChange:mo,tablePrefixCls:$t,locale:zr}),t.createElement("div",{className:`${$t}-filter-dropdown-tree`},Qr?t.createElement(j.default,{checked:sa.length===Lt(It.filters).length,indeterminate:sa.length>0&&sa.length<Lt(It.filters).length,className:`${$t}-filter-dropdown-checkall`,onChange:ia},(Ko=zr==null?void 0:zr.filterCheckall)!==null&&Ko!==void 0?Ko:zr==null?void 0:zr.filterCheckAll):null,t.createElement(ur.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Qr,checkStrictly:!Qr,className:`${Cr}-menu`,onCheck:gi,checkedKeys:sa,selectedKeys:sa,showIcon:!1,treeData:aa({filters:It.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:_a.trim()?Mi=>typeof xt=="function"?xt(_a,Aa(Mi)):_t(_a,Mi.title):void 0})));const Bo=w({filters:It.filters||[],filterSearch:xt,prefixCls:er,filteredKeys:Ha(),filterMultiple:Qr,searchValue:_a}),Ni=Bo.every(Mi=>Mi===null);return t.createElement(t.Fragment,null,t.createElement(Kt,{filterSearch:xt,value:_a,onChange:mo,tablePrefixCls:$t,locale:zr}),Ni?si:t.createElement(Bt.default,{selectable:!0,multiple:Qr,prefixCls:`${Cr}-menu`,className:Xa,onSelect:na,onDeselect:na,selectedKeys:sa,getPopupContainer:nn,openKeys:ro,onOpenChange:Jo,items:Bo}))},go=()=>Ln?(0,q.Z)((qn||[]).map(wo=>String(wo)),sa,!0):sa.length===0;za=t.createElement(t.Fragment,null,Ua(),t.createElement("div",{className:`${er}-dropdown-btns`},t.createElement(Ye.ZP,{type:"link",size:"small",disabled:go(),onClick:()=>Go()},zr.filterReset),t.createElement(Ye.ZP,{type:"primary",size:"small",onClick:lo},zr.filterConfirm)))}It.filterDropdown&&(za=t.createElement(cr.J,{selectable:void 0},za)),za=t.createElement(Ur,{className:`${er}-dropdown`},za);const ei=()=>{let sa;return typeof It.filterIcon=="function"?sa=It.filterIcon(ka):It.filterIcon?sa=It.filterIcon:sa=t.createElement(fe,null),t.createElement("span",{role:"button",tabIndex:-1,className:l()(`${er}-trigger`,{active:ka}),onClick:Ua=>{Ua.stopPropagation()}},sa)},di=(0,we.Z)({trigger:["click"],placement:Io==="rtl"?"bottomLeft":"bottomRight",children:ei(),getPopupContainer:nn},Object.assign(Object.assign({},Jn),{rootClassName:l()(xn,Jn.rootClassName),open:ho,onOpenChange:Dn,dropdownRender:()=>typeof(Jn==null?void 0:Jn.dropdownRender)=="function"?Jn.dropdownRender(za):za}));return t.createElement("div",{className:`${er}-column`},t.createElement("span",{className:`${$t}-column-title`},dn),t.createElement(A.Z,Object.assign({},di)))};const ke=(be,ce,Je)=>{let dt=[];return(be||[]).forEach((Nt,$t)=>{var er;const It=Ue($t,Je);if(Nt.filters||"filterDropdown"in Nt||"onFilter"in Nt)if("filteredValue"in Nt){let Cr=Nt.filteredValue;"filterDropdown"in Nt||(Cr=(er=Cr==null?void 0:Cr.map(String))!==null&&er!==void 0?er:Cr),dt.push({column:Nt,key:ze(Nt,It),filteredKeys:Cr,forceFiltered:Nt.filtered})}else dt.push({column:Nt,key:ze(Nt,It),filteredKeys:ce&&Nt.defaultFilteredValue?Nt.defaultFilteredValue:void 0,forceFiltered:Nt.filtered});"children"in Nt&&(dt=[].concat((0,U.Z)(dt),(0,U.Z)(ke(Nt.children,ce,It))))}),dt};function Mr(be,ce,Je,dt,Nt,$t,er,It,Cr){return Je.map((Hr,sn)=>{const Qr=Ue(sn,It),{filterOnClose:bt=!0,filterMultiple:xt=!0,filterMode:rn,filterSearch:Mn}=Hr;let zr=Hr;if(zr.filters||zr.filterDropdown){const dn=ze(zr,Qr),nn=dt.find(xn=>{let{key:Ln}=xn;return dn===Ln});zr=Object.assign(Object.assign({},zr),{title:xn=>t.createElement(ne,{tablePrefixCls:be,prefixCls:`${be}-filter`,dropdownPrefixCls:ce,column:zr,columnKey:dn,filterState:nn,filterOnClose:bt,filterMultiple:xt,filterMode:rn,filterSearch:Mn,triggerFilter:$t,locale:Nt,getPopupContainer:er,rootClassName:Cr},sr(Hr.title,xn))})}return"children"in zr&&(zr=Object.assign(Object.assign({},zr),{children:Mr(be,ce,zr.children,dt,Nt,$t,er,Qr,Cr)})),zr})}const Pr=be=>{const ce={};return be.forEach(Je=>{let{key:dt,filteredKeys:Nt,column:$t}=Je;const er=dt,{filters:It,filterDropdown:Cr}=$t;if(Cr)ce[er]=Nt||null;else if(Array.isArray(Nt)){const Hr=Lt(It);ce[er]=Hr.filter(sn=>Nt.includes(String(sn)))}else ce[er]=null}),ce},En=(be,ce,Je)=>ce.reduce((Nt,$t)=>{const{column:{onFilter:er,filters:It},filteredKeys:Cr}=$t;return er&&Cr&&Cr.length?Nt.map(Hr=>Object.assign({},Hr)).filter(Hr=>Cr.some(sn=>{const Qr=Lt(It),bt=Qr.findIndex(rn=>String(rn)===String(sn)),xt=bt!==-1?Qr[bt]:sn;return Hr[Je]&&(Hr[Je]=En(Hr[Je],ce,Je)),er(xt,Hr)})):Nt},be),Nn=be=>be.flatMap(ce=>"children"in ce?[ce].concat((0,U.Z)(Nn(ce.children||[]))):[ce]);var yn=be=>{const{prefixCls:ce,dropdownPrefixCls:Je,mergedColumns:dt,onFilterChange:Nt,getPopupContainer:$t,locale:er,rootClassName:It}=be,Cr=(0,E.ln)("Table"),Hr=t.useMemo(()=>Nn(dt||[]),[dt]),[sn,Qr]=t.useState(()=>ke(Hr,!0)),bt=t.useMemo(()=>{const zr=ke(Hr,!1);if(zr.length===0)return zr;let dn=!0,nn=!0;if(zr.forEach(xn=>{let{filteredKeys:Ln}=xn;Ln!==void 0?dn=!1:nn=!1}),dn){const xn=(Hr||[]).map((Ln,qn)=>ze(Ln,Ue(qn)));return sn.filter(Ln=>{let{key:qn}=Ln;return xn.includes(qn)}).map(Ln=>{const qn=Hr[xn.findIndex(Jn=>Jn===Ln.key)];return Object.assign(Object.assign({},Ln),{column:Object.assign(Object.assign({},Ln.column),qn),forceFiltered:qn.filtered})})}return zr},[Hr,sn]),xt=t.useMemo(()=>Pr(bt),[bt]),rn=zr=>{const dn=bt.filter(nn=>{let{key:xn}=nn;return xn!==zr.key});dn.push(zr),Qr(dn),Nt(Pr(dn),dn)};return[zr=>Mr(ce,Je,zr,bt,er,rn,$t,void 0,It),bt,xt]},L=(be,ce,Je)=>{const dt=t.useRef({});function Nt($t){var er;if(!dt.current||dt.current.data!==be||dt.current.childrenColumnName!==ce||dt.current.getRowKey!==Je){let Cr=function(Hr){Hr.forEach((sn,Qr)=>{const bt=Je(sn,Qr);It.set(bt,sn),sn&&typeof sn=="object"&&ce in sn&&Cr(sn[ce]||[])})};const It=new Map;Cr(be),dt.current={data:be,childrenColumnName:ce,kvMap:It,getRowKey:Je}}return(er=dt.current.kvMap)===null||er===void 0?void 0:er.get($t)}return[Nt]},x=function(be,ce){var Je={};for(var dt in be)Object.prototype.hasOwnProperty.call(be,dt)&&ce.indexOf(dt)<0&&(Je[dt]=be[dt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,dt=Object.getOwnPropertySymbols(be);Nt<dt.length;Nt++)ce.indexOf(dt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(be,dt[Nt])&&(Je[dt[Nt]]=be[dt[Nt]]);return Je};const Dr=10;function K(be,ce){const Je={current:be.current,pageSize:be.pageSize};return Object.keys(ce&&typeof ce=="object"?ce:{}).forEach(Nt=>{const $t=be[Nt];typeof $t!="function"&&(Je[Nt]=$t)}),Je}function Tt(be,ce,Je){const dt=Je&&typeof Je=="object"?Je:{},{total:Nt=0}=dt,$t=x(dt,["total"]),[er,It]=(0,t.useState)(()=>({current:"defaultCurrent"in $t?$t.defaultCurrent:1,pageSize:"defaultPageSize"in $t?$t.defaultPageSize:Dr})),Cr=(0,we.Z)(er,$t,{total:Nt>0?Nt:be}),Hr=Math.ceil((Nt||be)/Cr.pageSize);Cr.current>Hr&&(Cr.current=Hr||1);const sn=(bt,xt)=>{It({current:bt!=null?bt:1,pageSize:xt||Cr.pageSize})},Qr=(bt,xt)=>{var rn;Je&&((rn=Je.onChange)===null||rn===void 0||rn.call(Je,bt,xt)),sn(bt,xt),ce(bt,xt||(Cr==null?void 0:Cr.pageSize))};return Je===!1?[{},()=>{}]:[Object.assign(Object.assign({},Cr),{onChange:Qr}),sn]}var Xt=Tt,ar={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"},ot=ar,Ie=function(ce,Je){return t.createElement(Xe.Z,(0,$e.Z)({},ce,{ref:Je,icon:ot}))},st=t.forwardRef(Ie),zt=st,rr={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"},fr=rr,ht=function(ce,Je){return t.createElement(Xe.Z,(0,$e.Z)({},ce,{ref:Je,icon:fr}))},ln=t.forwardRef(ht),pe=ln,qt=a(83062);const gr="ascend",$r="descend",tn=be=>typeof be.sorter=="object"&&typeof be.sorter.multiple=="number"?be.sorter.multiple:!1,$n=be=>typeof be=="function"?be:be&&typeof be=="object"&&be.compare?be.compare:!1,Vt=(be,ce)=>ce?be[be.indexOf(ce)+1]:be[0],yr=(be,ce,Je)=>{let dt=[];const Nt=($t,er)=>{dt.push({column:$t,key:ze($t,er),multiplePriority:tn($t),sortOrder:$t.sortOrder})};return(be||[]).forEach(($t,er)=>{const It=Ue(er,Je);$t.children?("sortOrder"in $t&&Nt($t,It),dt=[].concat((0,U.Z)(dt),(0,U.Z)(yr($t.children,ce,It)))):$t.sorter&&("sortOrder"in $t?Nt($t,It):ce&&$t.defaultSortOrder&&dt.push({column:$t,key:ze($t,It),multiplePriority:tn($t),sortOrder:$t.defaultSortOrder}))}),dt},jr=(be,ce,Je,dt,Nt,$t,er,It)=>(ce||[]).map((Hr,sn)=>{const Qr=Ue(sn,It);let bt=Hr;if(bt.sorter){const xt=bt.sortDirections||Nt,rn=bt.showSorterTooltip===void 0?er:bt.showSorterTooltip,Mn=ze(bt,Qr),zr=Je.find(Ea=>{let{key:Xn}=Ea;return Xn===Mn}),dn=zr?zr.sortOrder:null,nn=Vt(xt,dn);let xn;if(Hr.sortIcon)xn=Hr.sortIcon({sortOrder:dn});else{const Ea=xt.includes(gr)&&t.createElement(pe,{className:l()(`${be}-column-sorter-up`,{active:dn===gr})}),Xn=xt.includes($r)&&t.createElement(zt,{className:l()(`${be}-column-sorter-down`,{active:dn===$r})});xn=t.createElement("span",{className:l()(`${be}-column-sorter`,{[`${be}-column-sorter-full`]:!!(Ea&&Xn)})},t.createElement("span",{className:`${be}-column-sorter-inner`,"aria-hidden":"true"},Ea,Xn))}const{cancelSort:Ln,triggerAsc:qn,triggerDesc:Jn}=$t||{};let Qn=Ln;nn===$r?Qn=Jn:nn===gr&&(Qn=qn);const Fa=typeof rn=="object"?Object.assign({title:Qn},rn):{title:Qn};bt=Object.assign(Object.assign({},bt),{className:l()(bt.className,{[`${be}-column-sort`]:dn}),title:Ea=>{const Xn=`${be}-column-sorters`,jn=t.createElement("span",{className:`${be}-column-title`},sr(Hr.title,Ea)),Vn=t.createElement("div",{className:Xn},jn,xn);return rn?typeof rn!="boolean"&&(rn==null?void 0:rn.target)==="sorter-icon"?t.createElement("div",{className:`${Xn} ${be}-column-sorters-tooltip-target-sorter`},jn,t.createElement(qt.Z,Object.assign({},Fa),xn)):t.createElement(qt.Z,Object.assign({},Fa),Vn):Vn},onHeaderCell:Ea=>{var Xn;const jn=((Xn=Hr.onHeaderCell)===null||Xn===void 0?void 0:Xn.call(Hr,Ea))||{},Vn=jn.onClick,ka=jn.onKeyDown;jn.onClick=Va=>{dt({column:Hr,key:Mn,sortOrder:nn,multiplePriority:tn(Hr)}),Vn==null||Vn(Va)},jn.onKeyDown=Va=>{Va.keyCode===Qt.Z.ENTER&&(dt({column:Hr,key:Mn,sortOrder:nn,multiplePriority:tn(Hr)}),ka==null||ka(Va))};const ba=tr(Hr.title,{}),ho=ba==null?void 0:ba.toString();return dn&&(jn["aria-sort"]=dn==="ascend"?"ascending":"descending"),jn["aria-label"]=ho||"",jn.className=l()(jn.className,`${be}-column-has-sorters`),jn.tabIndex=0,Hr.ellipsis&&(jn.title=(ba!=null?ba:"").toString()),jn}})}return"children"in bt&&(bt=Object.assign(Object.assign({},bt),{children:jr(be,bt.children,Je,dt,Nt,$t,er,Qr)})),bt}),Er=be=>{const{column:ce,sortOrder:Je}=be;return{column:ce,order:Je,field:ce.dataIndex,columnKey:ce.key}},Kr=be=>{const ce=be.filter(Je=>{let{sortOrder:dt}=Je;return dt}).map(Er);if(ce.length===0&&be.length){const Je=be.length-1;return Object.assign(Object.assign({},Er(be[Je])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ce.length<=1?ce[0]||{}:ce},Jr=(be,ce,Je)=>{const dt=ce.slice().sort((er,It)=>It.multiplePriority-er.multiplePriority),Nt=be.slice(),$t=dt.filter(er=>{let{column:{sorter:It},sortOrder:Cr}=er;return $n(It)&&Cr});return $t.length?Nt.sort((er,It)=>{for(let Cr=0;Cr<$t.length;Cr+=1){const Hr=$t[Cr],{column:{sorter:sn},sortOrder:Qr}=Hr,bt=$n(sn);if(bt&&Qr){const xt=bt(er,It,Qr);if(xt!==0)return Qr===gr?xt:-xt}}return 0}).map(er=>{const It=er[Je];return It?Object.assign(Object.assign({},er),{[Je]:Jr(It,ce,Je)}):er}):Nt};var Jt=be=>{const{prefixCls:ce,mergedColumns:Je,sortDirections:dt,tableLocale:Nt,showSorterTooltip:$t,onSorterChange:er}=be,[It,Cr]=t.useState(yr(Je,!0)),Hr=(Mn,zr)=>{const dn=[];return Mn.forEach((nn,xn)=>{const Ln=Ue(xn,zr);if(dn.push(ze(nn,Ln)),Array.isArray(nn.children)){const qn=Hr(nn.children,Ln);dn.push.apply(dn,(0,U.Z)(qn))}}),dn},sn=t.useMemo(()=>{let Mn=!0;const zr=yr(Je,!1);if(!zr.length){const Ln=Hr(Je);return It.filter(qn=>{let{key:Jn}=qn;return Ln.includes(Jn)})}const dn=[];function nn(Ln){Mn?dn.push(Ln):dn.push(Object.assign(Object.assign({},Ln),{sortOrder:null}))}let xn=null;return zr.forEach(Ln=>{xn===null?(nn(Ln),Ln.sortOrder&&(Ln.multiplePriority===!1?Mn=!1:xn=!0)):(xn&&Ln.multiplePriority!==!1||(Mn=!1),nn(Ln))}),dn},[Je,It]),Qr=t.useMemo(()=>{var Mn,zr;const dn=sn.map(nn=>{let{column:xn,sortOrder:Ln}=nn;return{column:xn,order:Ln}});return{sortColumns:dn,sortColumn:(Mn=dn[0])===null||Mn===void 0?void 0:Mn.column,sortOrder:(zr=dn[0])===null||zr===void 0?void 0:zr.order}},[sn]),bt=Mn=>{let zr;Mn.multiplePriority===!1||!sn.length||sn[0].multiplePriority===!1?zr=[Mn]:zr=[].concat((0,U.Z)(sn.filter(dn=>{let{key:nn}=dn;return nn!==Mn.key})),[Mn]),Cr(zr),er(Kr(zr),zr)};return[Mn=>jr(ce,Mn,sn,bt,dt,Nt,$t),sn,Qr,()=>Kr(sn)]};const nr=(be,ce)=>be.map(dt=>{const Nt=Object.assign({},dt);return Nt.title=sr(dt.title,ce),"children"in Nt&&(Nt.children=nr(Nt.children,ce)),Nt});var Rr=be=>[t.useCallback(Je=>nr(Je,be),[be])],an=(0,Fe.Q$)((be,ce)=>{const{_renderTimes:Je}=be,{_renderTimes:dt}=ce;return Je!==dt}),zn=(0,Fe.TN)((be,ce)=>{const{_renderTimes:Je}=be,{_renderTimes:dt}=ce;return Je!==dt}),Gr=a(16777),Kn=a(24327),In=a(14747),ha=a(83559),Oa=a(43259),ra=be=>{const{componentCls:ce,lineWidth:Je,lineType:dt,tableBorderColor:Nt,tableHeaderBg:$t,tablePaddingVertical:er,tablePaddingHorizontal:It,calc:Cr}=be,Hr=`${(0,Gr.unit)(Je)} ${dt} ${Nt}`,sn=(Qr,bt,xt)=>({[`&${ce}-${Qr}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`${(0,Gr.unit)(Cr(bt).mul(-1).equal())}
|
|
|
${(0,Gr.unit)(Cr(Cr(xt).add(Je)).mul(-1).equal())}`}}}}}});return{[`${ce}-wrapper`]:{[`${ce}${ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ce}-title`]:{border:Hr,borderBottom:0},[`> ${ce}-container`]:{borderInlineStart:Hr,borderTop:Hr,[`
|
|
|
> ${ce}-content,
|
|
|
> ${ce}-header,
|
|
|
> ${ce}-body,
|
|
|
> ${ce}-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:Hr},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Hr},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ce}-cell-fix-right-first::after`]:{borderInlineEnd:Hr}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`${(0,Gr.unit)(Cr(er).mul(-1).equal())} ${(0,Gr.unit)(Cr(Cr(It).add(Je)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Je,bottom:0,borderInlineEnd:Hr,content:'""'}}}}}},[`&${ce}-scroll-horizontal`]:{[`> ${ce}-container > ${ce}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ce}-expanded-row,
|
|
|
> tr${ce}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},sn("middle",be.tablePaddingVerticalMiddle,be.tablePaddingHorizontalMiddle)),sn("small",be.tablePaddingVerticalSmall,be.tablePaddingHorizontalSmall)),{[`> ${ce}-footer`]:{border:Hr,borderTop:0}}),[`${ce}-cell`]:{[`${ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Gr.unit)(Je)} 0 ${(0,Gr.unit)(Je)} ${$t}`}},[`${ce}-bordered ${ce}-cell-scrollbar`]:{borderInlineEnd:Hr}}}},c=be=>{const{componentCls:ce}=be;return{[`${ce}-wrapper`]:{[`${ce}-cell-ellipsis`]:Object.assign(Object.assign({},In.vS),{wordBreak:"keep-all",[`
|
|
|
&${ce}-cell-fix-left-last,
|
|
|
&${ce}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},v=be=>{const{componentCls:ce}=be;return{[`${ce}-wrapper`]:{[`${ce}-tbody > tr${ce}-placeholder`]:{textAlign:"center",color:be.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:be.colorBgContainer}}}}},b=be=>{const{componentCls:ce,antCls:Je,motionDurationSlow:dt,lineWidth:Nt,paddingXS:$t,lineType:er,tableBorderColor:It,tableExpandIconBg:Cr,tableExpandColumnWidth:Hr,borderRadius:sn,tablePaddingVertical:Qr,tablePaddingHorizontal:bt,tableExpandedRowBg:xt,paddingXXS:rn,expandIconMarginTop:Mn,expandIconSize:zr,expandIconHalfInner:dn,expandIconScale:nn,calc:xn}=be,Ln=`${(0,Gr.unit)(Nt)} ${er} ${It}`,qn=xn(rn).sub(Nt).equal();return{[`${ce}-wrapper`]:{[`${ce}-expand-icon-col`]:{width:Hr},[`${ce}-row-expand-icon-cell`]:{textAlign:"center",[`${ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ce}-row-indent`]:{height:1,float:"left"},[`${ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,In.Nd)(be)),{position:"relative",float:"left",width:zr,height:zr,color:"inherit",lineHeight:(0,Gr.unit)(zr),background:Cr,border:Ln,borderRadius:sn,transform:`scale(${nn})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${dt} ease-out`,content:'""'},"&::before":{top:dn,insetInlineEnd:qn,insetInlineStart:qn,height:Nt},"&::after":{top:qn,bottom:qn,insetInlineStart:dn,width:Nt,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"}}),[`${ce}-row-indent + ${ce}-row-expand-icon`]:{marginTop:Mn,marginInlineEnd:$t},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:xt}},[`${Je}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Gr.unit)(xn(Qr).mul(-1).equal())} ${(0,Gr.unit)(xn(bt).mul(-1).equal())}`,padding:`${(0,Gr.unit)(Qr)} ${(0,Gr.unit)(bt)}`}}}},X=be=>{const{componentCls:ce,antCls:Je,iconCls:dt,tableFilterDropdownWidth:Nt,tableFilterDropdownSearchWidth:$t,paddingXXS:er,paddingXS:It,colorText:Cr,lineWidth:Hr,lineType:sn,tableBorderColor:Qr,headerIconColor:bt,fontSizeSM:xt,tablePaddingHorizontal:rn,borderRadius:Mn,motionDurationSlow:zr,colorTextDescription:dn,colorPrimary:nn,tableHeaderFilterActiveBg:xn,colorTextDisabled:Ln,tableFilterDropdownBg:qn,tableFilterDropdownHeight:Jn,controlItemBgHover:Qn,controlItemBgActive:Fa,boxShadowSecondary:Ea,filterDropdownMenuBg:Xn,calc:jn}=be,Vn=`${Je}-dropdown`,ka=`${ce}-filter-dropdown`,ba=`${Je}-tree`,ho=`${(0,Gr.unit)(Hr)} ${sn} ${Qr}`;return[{[`${ce}-wrapper`]:{[`${ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:jn(er).mul(-1).equal(),marginInline:`${(0,Gr.unit)(er)} ${(0,Gr.unit)(jn(rn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Gr.unit)(er)}`,color:bt,fontSize:xt,borderRadius:Mn,cursor:"pointer",transition:`all ${zr}`,"&:hover":{color:dn,background:xn},"&.active":{color:nn}}}},{[`${Je}-dropdown`]:{[ka]:Object.assign(Object.assign({},(0,In.Wf)(be)),{minWidth:Nt,backgroundColor:qn,borderRadius:Mn,boxShadow:Ea,overflow:"hidden",[`${Vn}-menu`]:{maxHeight:Jn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Xn,"&:empty::after":{display:"block",padding:`${(0,Gr.unit)(It)} 0`,color:Ln,fontSize:xt,textAlign:"center",content:'"Not Found"'}},[`${ka}-tree`]:{paddingBlock:`${(0,Gr.unit)(It)} 0`,paddingInline:It,[ba]:{padding:0},[`${ba}-treenode ${ba}-node-content-wrapper:hover`]:{backgroundColor:Qn},[`${ba}-treenode-checkbox-checked ${ba}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Fa}}},[`${ka}-search`]:{padding:It,borderBottom:ho,"&-input":{input:{minWidth:$t},[dt]:{color:Ln}}},[`${ka}-checkall`]:{width:"100%",marginBottom:er,marginInlineStart:er},[`${ka}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Gr.unit)(jn(It).sub(Hr).equal())} ${(0,Gr.unit)(It)}`,overflow:"hidden",borderTop:ho}})}},{[`${Je}-dropdown ${ka}, ${ka}-submenu`]:{[`${Je}-checkbox-wrapper + span`]:{paddingInlineStart:It,color:Cr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ce=be=>{const{componentCls:ce,lineWidth:Je,colorSplit:dt,motionDurationSlow:Nt,zIndexTableFixed:$t,tableBg:er,zIndexTableSticky:It,calc:Cr}=be,Hr=dt;return{[`${ce}-wrapper`]:{[`
|
|
|
${ce}-cell-fix-left,
|
|
|
${ce}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:$t,background:er},[`
|
|
|
${ce}-cell-fix-left-first::after,
|
|
|
${ce}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Cr(Je).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},[`${ce}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${ce}-cell-fix-right-first::after,
|
|
|
${ce}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:Cr(Je).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},[`${ce}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Cr(It).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ce}-ping-left`]:{[`&:not(${ce}-has-fix-left) ${ce}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Hr}`},[`
|
|
|
${ce}-cell-fix-left-first::after,
|
|
|
${ce}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Hr}`},[`${ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ce}-ping-right`]:{[`&:not(${ce}-has-fix-right) ${ce}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Hr}`},[`
|
|
|
${ce}-cell-fix-right-first::after,
|
|
|
${ce}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Hr}`}},[`${ce}-fixed-column-gapped`]:{[`
|
|
|
${ce}-cell-fix-left-first::after,
|
|
|
${ce}-cell-fix-left-last::after,
|
|
|
${ce}-cell-fix-right-first::after,
|
|
|
${ce}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},Ge=be=>{const{componentCls:ce,antCls:Je,margin:dt}=be;return{[`${ce}-wrapper`]:{[`${ce}-pagination${Je}-pagination`]:{margin:`${(0,Gr.unit)(dt)} 0`},[`${ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:be.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},me=be=>{const{componentCls:ce,tableRadius:Je}=be;return{[`${ce}-wrapper`]:{[ce]:{[`${ce}-title, ${ce}-header`]:{borderRadius:`${(0,Gr.unit)(Je)} ${(0,Gr.unit)(Je)} 0 0`},[`${ce}-title + ${ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ce}-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:Je,borderStartEndRadius:Je,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Je},"> *:last-child":{borderStartEndRadius:Je}}},"&-footer":{borderRadius:`0 0 ${(0,Gr.unit)(Je)} ${(0,Gr.unit)(Je)}`}}}}},oe=be=>{const{componentCls:ce}=be;return{[`${ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ce}-pagination-left`]:{justifyContent:"flex-end"},[`${ce}-pagination-right`]:{justifyContent:"flex-start"},[`${ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ce}-row-indent`]:{float:"right"}}}}},lt=be=>{const{componentCls:ce,antCls:Je,iconCls:dt,fontSizeIcon:Nt,padding:$t,paddingXS:er,headerIconColor:It,headerIconHoverColor:Cr,tableSelectionColumnWidth:Hr,tableSelectedRowBg:sn,tableSelectedRowHoverBg:Qr,tableRowHoverBg:bt,tablePaddingHorizontal:xt,calc:rn}=be;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:Hr,[`&${ce}-selection-col-with-dropdown`]:{width:rn(Hr).add(Nt).add(rn($t).div(4)).equal()}},[`${ce}-bordered ${ce}-selection-col`]:{width:rn(Hr).add(rn(er).mul(2)).equal(),[`&${ce}-selection-col-with-dropdown`]:{width:rn(Hr).add(Nt).add(rn($t).div(4)).add(rn(er).mul(2)).equal()}},[`
|
|
|
table tr th${ce}-selection-column,
|
|
|
table tr td${ce}-selection-column,
|
|
|
${ce}-selection-column
|
|
|
`]:{paddingInlineEnd:be.paddingXS,paddingInlineStart:be.paddingXS,textAlign:"center",[`${Je}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ce}-selection-column${ce}-cell-fix-left`]:{zIndex:rn(be.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${be.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Gr.unit)(rn(xt).div(4).equal()),[dt]:{color:It,fontSize:Nt,verticalAlign:"baseline","&:hover":{color:Cr}}},[`${ce}-tbody`]:{[`${ce}-row`]:{[`&${ce}-row-selected`]:{[`> ${ce}-cell`]:{background:sn,"&-row-hover":{background:Qr}}},[`> ${ce}-cell-row-hover`]:{background:bt}}}}}},wr=be=>{const{componentCls:ce,tableExpandColumnWidth:Je,calc:dt}=be,Nt=($t,er,It,Cr)=>({[`${ce}${ce}-${$t}`]:{fontSize:Cr,[`
|
|
|
${ce}-title,
|
|
|
${ce}-footer,
|
|
|
${ce}-cell,
|
|
|
${ce}-thead > tr > th,
|
|
|
${ce}-tbody > tr > th,
|
|
|
${ce}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,Gr.unit)(er)} ${(0,Gr.unit)(It)}`},[`${ce}-filter-trigger`]:{marginInlineEnd:(0,Gr.unit)(dt(It).div(2).mul(-1).equal())},[`${ce}-expanded-row-fixed`]:{margin:`${(0,Gr.unit)(dt(er).mul(-1).equal())} ${(0,Gr.unit)(dt(It).mul(-1).equal())}`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:(0,Gr.unit)(dt(er).mul(-1).equal()),marginInline:`${(0,Gr.unit)(dt(Je).sub(It).equal())} ${(0,Gr.unit)(dt(It).mul(-1).equal())}`}},[`${ce}-selection-extra`]:{paddingInlineStart:(0,Gr.unit)(dt(It).div(4).equal())}}});return{[`${ce}-wrapper`]:Object.assign(Object.assign({},Nt("middle",be.tablePaddingVerticalMiddle,be.tablePaddingHorizontalMiddle,be.tableFontSizeMiddle)),Nt("small",be.tablePaddingVerticalSmall,be.tablePaddingHorizontalSmall,be.tableFontSizeSmall))}},vn=be=>{const{componentCls:ce,marginXXS:Je,fontSizeIcon:dt,headerIconColor:Nt,headerIconHoverColor:$t}=be;return{[`${ce}-wrapper`]:{[`${ce}-thead th${ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${be.motionDurationSlow}, left 0s`,"&:hover":{background:be.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:be.colorPrimary},[`
|
|
|
&${ce}-cell-fix-left:hover,
|
|
|
&${ce}-cell-fix-right:hover
|
|
|
`]:{background:be.tableFixedHeaderSortActiveBg}},[`${ce}-thead th${ce}-column-sort`]:{background:be.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ce}-column-sort`]:{background:be.tableBodySortBg},[`${ce}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ce}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ce}-column-sorter`]:{marginInlineStart:Je,color:Nt,fontSize:0,transition:`color ${be.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:dt,"&.active":{color:be.colorPrimary}},[`${ce}-column-sorter-up + ${ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ce}-column-sorters:hover ${ce}-column-sorter`]:{color:$t}}}},qr=be=>{const{componentCls:ce,opacityLoading:Je,tableScrollThumbBg:dt,tableScrollThumbBgHover:Nt,tableScrollThumbSize:$t,tableScrollBg:er,zIndexTableSticky:It,stickyScrollBarBorderRadius:Cr,lineWidth:Hr,lineType:sn,tableBorderColor:Qr}=be,bt=`${(0,Gr.unit)(Hr)} ${sn} ${Qr}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:It,background:be.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Gr.unit)($t)} !important`,zIndex:It,display:"flex",alignItems:"center",background:er,borderTop:bt,opacity:Je,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:$t,backgroundColor:dt,borderRadius:Cr,transition:`all ${be.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Nt}}}}}}},un=be=>{const{componentCls:ce,lineWidth:Je,tableBorderColor:dt,calc:Nt}=be,$t=`${(0,Gr.unit)(Je)} ${be.lineType} ${dt}`;return{[`${ce}-wrapper`]:{[`${ce}-summary`]:{position:"relative",zIndex:be.zIndexTableFixed,background:be.tableBg,"> tr":{"> th, > td":{borderBottom:$t}}},[`div${ce}-summary`]:{boxShadow:`0 ${(0,Gr.unit)(Nt(Je).mul(-1).equal())} 0 ${dt}`}}}},yt=be=>{const{componentCls:ce,motionDurationMid:Je,lineWidth:dt,lineType:Nt,tableBorderColor:$t,calc:er}=be,It=`${(0,Gr.unit)(dt)} ${Nt} ${$t}`,Cr=`${ce}-expanded-row-cell`;return{[`${ce}-wrapper`]:{[`${ce}-tbody-virtual`]:{[`${ce}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${ce}-row,
|
|
|
& > div:not(${ce}-row) > ${ce}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ce}-cell`]:{borderBottom:It,transition:`background ${Je}`},[`${ce}-expanded-row`]:{[`${Cr}${Cr}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Gr.unit)(dt)})`,borderInlineEnd:"none"}}},[`${ce}-bordered`]:{[`${ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:It,position:"absolute"},[`${ce}-cell`]:{borderInlineEnd:It,[`&${ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:er(dt).mul(-1).equal(),borderInlineStart:It}}},[`&${ce}-virtual`]:{[`${ce}-placeholder ${ce}-cell`]:{borderInlineEnd:It,borderBottom:It}}}}}};const Ct=be=>{const{componentCls:ce,fontWeightStrong:Je,tablePaddingVertical:dt,tablePaddingHorizontal:Nt,tableExpandColumnWidth:$t,lineWidth:er,lineType:It,tableBorderColor:Cr,tableFontSize:Hr,tableBg:sn,tableRadius:Qr,tableHeaderTextColor:bt,motionDurationMid:xt,tableHeaderBg:rn,tableHeaderCellSplitColor:Mn,tableFooterTextColor:zr,tableFooterBg:dn,calc:nn}=be,xn=`${(0,Gr.unit)(er)} ${It} ${Cr}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,In.dF)()),{[ce]:Object.assign(Object.assign({},(0,In.Wf)(be)),{fontSize:Hr,background:sn,borderRadius:`${(0,Gr.unit)(Qr)} ${(0,Gr.unit)(Qr)} 0 0`,scrollbarColor:`${be.tableScrollThumbBg} ${be.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Gr.unit)(Qr)} ${(0,Gr.unit)(Qr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${ce}-cell,
|
|
|
${ce}-thead > tr > th,
|
|
|
${ce}-tbody > tr > th,
|
|
|
${ce}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,Gr.unit)(dt)} ${(0,Gr.unit)(Nt)}`,overflowWrap:"break-word"},[`${ce}-title`]:{padding:`${(0,Gr.unit)(dt)} ${(0,Gr.unit)(Nt)}`},[`${ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:bt,fontWeight:Je,textAlign:"start",background:rn,borderBottom:xn,transition:`background ${xt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ce}-selection-column):not(${ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Mn,transform:"translateY(-50%)",transition:`background-color ${xt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${xt}, border-color ${xt}`,borderBottom:xn,[`
|
|
|
> ${ce}-wrapper:only-child,
|
|
|
> ${ce}-expanded-row-fixed > ${ce}-wrapper:only-child
|
|
|
`]:{[ce]:{marginBlock:(0,Gr.unit)(nn(dt).mul(-1).equal()),marginInline:`${(0,Gr.unit)(nn($t).sub(Nt).equal())}
|
|
|
${(0,Gr.unit)(nn(Nt).mul(-1).equal())}`,[`${ce}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:bt,fontWeight:Je,textAlign:"start",background:rn,borderBottom:xn,transition:`background ${xt} ease`}}},[`${ce}-footer`]:{padding:`${(0,Gr.unit)(dt)} ${(0,Gr.unit)(Nt)}`,color:zr,background:dn}})}},ir=be=>{const{colorFillAlter:ce,colorBgContainer:Je,colorTextHeading:dt,colorFillSecondary:Nt,colorFillContent:$t,controlItemBgActive:er,controlItemBgActiveHover:It,padding:Cr,paddingSM:Hr,paddingXS:sn,colorBorderSecondary:Qr,borderRadiusLG:bt,controlHeight:xt,colorTextPlaceholder:rn,fontSize:Mn,fontSizeSM:zr,lineHeight:dn,lineWidth:nn,colorIcon:xn,colorIconHover:Ln,opacityLoading:qn,controlInteractiveSize:Jn}=be,Qn=new Kn.FastColor(Nt).onBackground(Je).toHexString(),Fa=new Kn.FastColor($t).onBackground(Je).toHexString(),Ea=new Kn.FastColor(ce).onBackground(Je).toHexString(),Xn=new Kn.FastColor(xn),jn=new Kn.FastColor(Ln),Vn=Jn/2-nn,ka=Vn*2+nn*3;return{headerBg:Ea,headerColor:dt,headerSortActiveBg:Qn,headerSortHoverBg:Fa,bodySortBg:Ea,rowHoverBg:Ea,rowSelectedBg:er,rowSelectedHoverBg:It,rowExpandedBg:ce,cellPaddingBlock:Cr,cellPaddingInline:Cr,cellPaddingBlockMD:Hr,cellPaddingInlineMD:sn,cellPaddingBlockSM:sn,cellPaddingInlineSM:sn,borderColor:Qr,headerBorderRadius:bt,footerBg:Ea,footerColor:dt,cellFontSize:Mn,cellFontSizeMD:Mn,cellFontSizeSM:Mn,headerSplitColor:Qr,fixedHeaderSortActiveBg:Qn,headerFilterHoverBg:$t,filterDropdownMenuBg:Je,filterDropdownBg:Je,expandIconBg:Je,selectionColumnWidth:xt,stickyScrollBarBg:rn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Mn*dn-nn*3)/2-Math.ceil((zr*1.4-nn*3)/2),headerIconColor:Xn.clone().setA(Xn.a*qn).toRgbString(),headerIconHoverColor:jn.clone().setA(jn.a*qn).toRgbString(),expandIconHalfInner:Vn,expandIconSize:ka,expandIconScale:Jn/ka}},Rt=2;var Zr=(0,ha.I$)("Table",be=>{const{colorTextHeading:ce,colorSplit:Je,colorBgContainer:dt,controlInteractiveSize:Nt,headerBg:$t,headerColor:er,headerSortActiveBg:It,headerSortHoverBg:Cr,bodySortBg:Hr,rowHoverBg:sn,rowSelectedBg:Qr,rowSelectedHoverBg:bt,rowExpandedBg:xt,cellPaddingBlock:rn,cellPaddingInline:Mn,cellPaddingBlockMD:zr,cellPaddingInlineMD:dn,cellPaddingBlockSM:nn,cellPaddingInlineSM:xn,borderColor:Ln,footerBg:qn,footerColor:Jn,headerBorderRadius:Qn,cellFontSize:Fa,cellFontSizeMD:Ea,cellFontSizeSM:Xn,headerSplitColor:jn,fixedHeaderSortActiveBg:Vn,headerFilterHoverBg:ka,filterDropdownBg:ba,expandIconBg:ho,selectionColumnWidth:Va,stickyScrollBarBg:Ha,calc:Yo}=be,na=(0,Oa.mergeToken)(be,{tableFontSize:Fa,tableBg:dt,tableRadius:Qn,tablePaddingVertical:rn,tablePaddingHorizontal:Mn,tablePaddingVerticalMiddle:zr,tablePaddingHorizontalMiddle:dn,tablePaddingVerticalSmall:nn,tablePaddingHorizontalSmall:xn,tableBorderColor:Ln,tableHeaderTextColor:er,tableHeaderBg:$t,tableFooterTextColor:Jn,tableFooterBg:qn,tableHeaderCellSplitColor:jn,tableHeaderSortBg:It,tableHeaderSortHoverBg:Cr,tableBodySortBg:Hr,tableFixedHeaderSortActiveBg:Vn,tableHeaderFilterActiveBg:ka,tableFilterDropdownBg:ba,tableRowHoverBg:sn,tableSelectedRowBg:Qr,tableSelectedRowHoverBg:bt,zIndexTableFixed:Rt,zIndexTableSticky:Yo(Rt).add(1).equal({unit:!1}),tableFontSizeMiddle:Ea,tableFontSizeSmall:Xn,tableSelectionColumnWidth:Va,tableExpandIconBg:ho,tableExpandColumnWidth:Yo(Nt).add(Yo(be.padding).mul(2)).equal(),tableExpandedRowBg:xt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ha,tableScrollThumbBgHover:ce,tableScrollBg:Je});return[Ct(na),Ge(na),un(na),vn(na),X(na),ra(na),me(na),b(na),un(na),v(na),lt(na),Ce(na),qr(na),c(na),wr(na),oe(na),yt(na)]},ir,{unitless:{expandIconScale:!0}});const br=[],Br=(be,ce)=>{var Je,dt;const{prefixCls:Nt,className:$t,rootClassName:er,style:It,size:Cr,bordered:Hr,dropdownPrefixCls:sn,dataSource:Qr,pagination:bt,rowSelection:xt,rowKey:rn="key",rowClassName:Mn,columns:zr,children:dn,childrenColumnName:nn,onChange:xn,getPopupContainer:Ln,loading:qn,expandIcon:Jn,expandable:Qn,expandedRowRender:Fa,expandIconColumnIndex:Ea,indentSize:Xn,scroll:jn,sortDirections:Vn,locale:ka,showSorterTooltip:ba={target:"full-header"},virtual:ho}=be,Va=(0,E.ln)("Table"),Ha=t.useMemo(()=>zr||(0,Ne.L)(dn),[zr,dn]),Yo=t.useMemo(()=>Ha.some(Pa=>Pa.responsive),[Ha]),na=(0,te.Z)(Yo),gi=t.useMemo(()=>{const Pa=new Set(Object.keys(na).filter($o=>na[$o]));return Ha.filter($o=>!$o.responsive||$o.responsive.some(se=>Pa.has(se)))},[Ha,na]),ro=(0,ae.Z)(be,["className","style","columns"]),{locale:qo=ie.Z,direction:Jo,table:_a,renderEmpty:Sa,getPrefixCls:mo,getPopupContainer:oi}=t.useContext(vt.E_),lo=(0,k.Z)(Cr),Go=Object.assign(Object.assign({},qo.Table),ka),ii=Qr||br,Dn=mo("table",Nt),Xa=mo("dropdown",sn),[,ia]=(0,Te.ZP)(),aa=(0,de.Z)(Dn),[Aa,za,Io]=Zr(Dn,aa),No=Object.assign(Object.assign({childrenColumnName:nn,expandIconColumnIndex:Ea},Qn),{expandIcon:(Je=Qn==null?void 0:Qn.expandIcon)!==null&&Je!==void 0?Je:(dt=_a==null?void 0:_a.expandable)===null||dt===void 0?void 0:dt.expandIcon}),{childrenColumnName:ei="children"}=No,di=t.useMemo(()=>ii.some(Pa=>Pa==null?void 0:Pa[ei])?"nest":Fa||Qn!=null&&Qn.expandedRowRender?"row":null,[ii]),sa={body:t.useRef(null)},Ua=Ut(Dn),go=t.useRef(null),wo=t.useRef(null);R(ce,()=>Object.assign(Object.assign({},wo.current),{nativeElement:go.current}));const Ko=t.useMemo(()=>typeof rn=="function"?rn:Pa=>Pa==null?void 0:Pa[rn],[rn]),[si]=L(ii,ei,Ko),Bo={},Ni=function(Pa,$o){let se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var xe,ct,gt,vr;const Vr=Object.assign(Object.assign({},Bo),Pa);se&&((xe=Bo.resetPagination)===null||xe===void 0||xe.call(Bo),!((ct=Vr.pagination)===null||ct===void 0)&&ct.current&&(Vr.pagination.current=1),bt&&((gt=bt.onChange)===null||gt===void 0||gt.call(bt,1,(vr=Vr.pagination)===null||vr===void 0?void 0:vr.pageSize))),jn&&jn.scrollToFirstRowOnChange!==!1&&sa.body.current&&(0,N.Z)(0,{getContainer:()=>sa.body.current}),xn==null||xn(Vr.pagination,Vr.filters,Vr.sorter,{currentDataSource:En(Jr(ii,Vr.sorterStates,ei),Vr.filterStates,ei),action:$o})},Mi=(Pa,$o)=>{Ni({sorter:Pa,sorterStates:$o},"sort",!1)},[co,Ao,Mo,li]=Jt({prefixCls:Dn,mergedColumns:gi,onSorterChange:Mi,sortDirections:Vn||["ascend","descend"],tableLocale:Go,showSorterTooltip:ba}),Po=t.useMemo(()=>Jr(ii,Ao,ei),[ii,Ao]);Bo.sorter=li(),Bo.sorterStates=Ao;const ao=(Pa,$o)=>{Ni({filters:Pa,filterStates:$o},"filter",!0)},[Qo,uo,fi]=yn({prefixCls:Dn,locale:Go,dropdownPrefixCls:Xa,mergedColumns:gi,onFilterChange:ao,getPopupContainer:Ln||oi,rootClassName:l()(er,aa)}),Do=En(Po,uo,ei);Bo.filters=fi,Bo.filterStates=uo;const Ii=t.useMemo(()=>{const Pa={};return Object.keys(fi).forEach($o=>{fi[$o]!==null&&(Pa[$o]=fi[$o])}),Object.assign(Object.assign({},Mo),{filters:Pa})},[Mo,fi]),[bi]=Rr(Ii),es=(Pa,$o)=>{Ni({pagination:Object.assign(Object.assign({},Bo.pagination),{current:Pa,pageSize:$o})},"paginate")},[Ma,Ji]=Xt(Do.length,es,bt);Bo.pagination=bt===!1?{}:K(Ma,bt),Bo.resetPagination=Ji;const $i=t.useMemo(()=>{if(bt===!1||!Ma.pageSize)return Do;const{current:Pa=1,total:$o,pageSize:se=Dr}=Ma;return Do.length<$o?Do.length>se?Do.slice((Pa-1)*se,Pa*se):Do:Do.slice((Pa-1)*se,Pa*se)},[!!bt,Do,Ma==null?void 0:Ma.current,Ma==null?void 0:Ma.pageSize,Ma==null?void 0:Ma.total]),[Ai,Ti]=Pe({prefixCls:Dn,data:Do,pageData:$i,getRowKey:Ko,getRecordByKey:si,expandType:di,childrenColumnName:ei,locale:Go,getPopupContainer:Ln||oi},xt),Zi=(Pa,$o,se)=>{let xe;return typeof Mn=="function"?xe=l()(Mn(Pa,$o,se)):xe=l()(Mn),l()({[`${Dn}-row-selected`]:Ti.has(Ko(Pa,$o))},xe)};No.__PARENT_RENDER_ICON__=No.expandIcon,No.expandIcon=No.expandIcon||Jn||Wt(Go),di==="nest"&&No.expandIconColumnIndex===void 0?No.expandIconColumnIndex=xt?1:0:No.expandIconColumnIndex>0&&xt&&(No.expandIconColumnIndex-=1),typeof No.indentSize!="number"&&(No.indentSize=typeof Xn=="number"?Xn:15);const Ei=t.useCallback(Pa=>bi(Ai(Qo(co(Pa)))),[co,Qo,Ai]);let Di,Fo;if(bt!==!1&&(Ma!=null&&Ma.total)){let Pa;Ma.size?Pa=Ma.size:Pa=lo==="small"||lo==="middle"?"small":void 0;const $o=ct=>t.createElement(ye.Z,Object.assign({},Ma,{className:l()(`${Dn}-pagination ${Dn}-pagination-${ct}`,Ma.className),size:Pa})),se=Jo==="rtl"?"left":"right",{position:xe}=Ma;if(xe!==null&&Array.isArray(xe)){const ct=xe.find(Vr=>Vr.includes("top")),gt=xe.find(Vr=>Vr.includes("bottom")),vr=xe.every(Vr=>`${Vr}`=="none");!ct&&!gt&&!vr&&(Fo=$o(se)),ct&&(Di=$o(ct.toLowerCase().replace("top",""))),gt&&(Fo=$o(gt.toLowerCase().replace("bottom","")))}else Fo=$o(se)}let Gi;typeof qn=="boolean"?Gi={spinning:qn}:typeof qn=="object"&&(Gi=Object.assign({spinning:!0},qn));const ft=l()(Io,aa,`${Dn}-wrapper`,_a==null?void 0:_a.className,{[`${Dn}-wrapper-rtl`]:Jo==="rtl"},$t,er,za),is=Object.assign(Object.assign({},_a==null?void 0:_a.style),It),Qi=typeof(ka==null?void 0:ka.emptyText)!="undefined"?ka.emptyText:(Sa==null?void 0:Sa("Table"))||t.createElement(ve.Z,{componentName:"Table"}),ts=ho?zn:an,Bi={},Wi=t.useMemo(()=>{const{fontSize:Pa,lineHeight:$o,lineWidth:se,padding:xe,paddingXS:ct,paddingSM:gt}=ia,vr=Math.floor(Pa*$o);switch(lo){case"middle":return gt*2+vr+se;case"small":return ct*2+vr+se;default:return xe*2+vr+se}},[ia,lo]);return ho&&(Bi.listItemHeight=Wi),Aa(t.createElement("div",{ref:go,className:ft,style:is},t.createElement(et.Z,Object.assign({spinning:!1},Gi),Di,t.createElement(ts,Object.assign({},Bi,ro,{ref:wo,columns:gi,direction:Jo,expandable:No,prefixCls:Dn,className:l()({[`${Dn}-middle`]:lo==="middle",[`${Dn}-small`]:lo==="small",[`${Dn}-bordered`]:Hr,[`${Dn}-empty`]:ii.length===0},Io,aa,za),data:$i,rowKey:Ko,rowClassName:Zi,emptyText:Qi,internalHooks:Fe.RQ,internalRefs:sa,transformColumns:Ei,getContainerWidth:Ua})),Fo)))};var Fr=t.forwardRef(Br);const Xr=(be,ce)=>{const Je=t.useRef(0);return Je.current+=1,t.createElement(Fr,Object.assign({},be,{ref:ce,_renderTimes:Je.current}))},kr=t.forwardRef(Xr);kr.SELECTION_COLUMN=le,kr.EXPAND_COLUMN=Fe.w2,kr.SELECTION_ALL=ee,kr.SELECTION_INVERT=C,kr.SELECTION_NONE=Le,kr.Column=Be,kr.ColumnGroup=J,kr.Summary=Fe.ER;var Un=kr,Ke=Un},55238:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return Ut}});var t=a(67294),Fe=a(85846),$=a(64582),Be=a(83963),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},J=G,U=a(84180),y=function(Ue,sr){return t.createElement(U.Z,(0,Be.Z)({},Ue,{ref:sr,icon:J}))},W=t.forwardRef(y),l=W,H=a(13144),V=a.n(H),Y=a(88068),T=a(53124),Z=a(35792),E=a(98675),j=a(33603);const A={motionAppear:!1,motionEnter:!0,motionLeave:!0};function M(ze){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},sr;return Ue===!1?sr={inkBar:!1,tabPane:!1}:Ue===!0?sr={inkBar:!0,tabPane:!0}:sr=Object.assign({inkBar:!0},typeof Ue=="object"?Ue:{}),sr.tabPane&&(sr.tabPaneMotion=Object.assign(Object.assign({},A),{motionName:(0,j.m)(ze,"switch")})),sr}var le=a(37419),ee=function(ze,Ue){var sr={};for(var tr in ze)Object.prototype.hasOwnProperty.call(ze,tr)&&Ue.indexOf(tr)<0&&(sr[tr]=ze[tr]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,tr=Object.getOwnPropertySymbols(ze);$e<tr.length;$e++)Ue.indexOf(tr[$e])<0&&Object.prototype.propertyIsEnumerable.call(ze,tr[$e])&&(sr[tr[$e]]=ze[tr[$e]]);return sr};function C(ze){return ze.filter(Ue=>Ue)}function Le(ze,Ue){if(ze)return ze;const sr=(0,le.Z)(Ue).map(tr=>{if(t.isValidElement(tr)){const{key:$e,props:re}=tr,g=re||{},{tab:Xe}=g,Se=ee(g,["tab"]);return Object.assign(Object.assign({key:String($e)},Se),{label:Xe})}return null});return C(sr)}var Me=a(16777),He=a(14747),We=a(83559),Pe=a(43259),Ne=a(67771),Ee=ze=>{const{componentCls:Ue,motionDurationSlow:sr}=ze;return[{[Ue]:{[`${Ue}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${sr}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${sr}`}}}}},[(0,Ne.oN)(ze,"slide-up"),(0,Ne.oN)(ze,"slide-down")]]};const R=ze=>{const{componentCls:Ue,tabsCardPadding:sr,cardBg:tr,cardGutter:$e,colorBorderSecondary:re,itemSelectedColor:g}=ze;return{[`${Ue}-card`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{margin:0,padding:sr,background:tr,border:`${(0,Me.unit)(ze.lineWidth)} ${ze.lineType} ${re}`,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOut}`},[`${Ue}-tab-active`]:{color:g,background:ze.colorBgContainer},[`${Ue}-tab-focus`]:Object.assign({},(0,He.oN)(ze,-3)),[`${Ue}-ink-bar`]:{visibility:"hidden"},[`& ${Ue}-tab${Ue}-tab-focus ${Ue}-tab-btn`]:{outline:"none"}},[`&${Ue}-top, &${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab + ${Ue}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,Me.unit)($e)}}}},[`&${Ue}-top`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:`${(0,Me.unit)(ze.borderRadiusLG)} ${(0,Me.unit)(ze.borderRadiusLG)} 0 0`},[`${Ue}-tab-active`]:{borderBottomColor:ze.colorBgContainer}}},[`&${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:`0 0 ${(0,Me.unit)(ze.borderRadiusLG)} ${(0,Me.unit)(ze.borderRadiusLG)}`},[`${Ue}-tab-active`]:{borderTopColor:ze.colorBgContainer}}},[`&${Ue}-left, &${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab + ${Ue}-tab`]:{marginTop:(0,Me.unit)($e)}}},[`&${Ue}-left`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,Me.unit)(ze.borderRadiusLG)} 0 0 ${(0,Me.unit)(ze.borderRadiusLG)}`}},[`${Ue}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:ze.colorBgContainer}}}},[`&${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,Me.unit)(ze.borderRadiusLG)} ${(0,Me.unit)(ze.borderRadiusLG)} 0`}},[`${Ue}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:ze.colorBgContainer}}}}}}},N=ze=>{const{componentCls:Ue,itemHoverColor:sr,dropdownEdgeChildVerticalPadding:tr}=ze;return{[`${Ue}-dropdown`]:Object.assign(Object.assign({},(0,He.Wf)(ze)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ze.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Ue}-dropdown-menu`]:{maxHeight:ze.tabsDropdownHeight,margin:0,padding:`${(0,Me.unit)(tr)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:ze.colorBgContainer,backgroundClip:"padding-box",borderRadius:ze.borderRadiusLG,outline:"none",boxShadow:ze.boxShadowSecondary,"&-item":Object.assign(Object.assign({},He.vS),{display:"flex",alignItems:"center",minWidth:ze.tabsDropdownWidth,margin:0,padding:`${(0,Me.unit)(ze.paddingXXS)} ${(0,Me.unit)(ze.paddingSM)}`,color:ze.colorText,fontWeight:"normal",fontSize:ze.fontSize,lineHeight:ze.lineHeight,cursor:"pointer",transition:`all ${ze.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:ze.marginSM},color:ze.colorTextDescription,fontSize:ze.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:sr}},"&:hover":{background:ze.controlItemBgHover},"&-disabled":{"&, &:hover":{color:ze.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},vt=ze=>{const{componentCls:Ue,margin:sr,colorBorderSecondary:tr,horizontalMargin:$e,verticalItemPadding:re,verticalItemMargin:g,calc:Xe}=ze;return{[`${Ue}-top, ${Ue}-bottom`]:{flexDirection:"column",[`> ${Ue}-nav, > div > ${Ue}-nav`]:{margin:$e,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,Me.unit)(ze.lineWidth)} ${ze.lineType} ${tr}`,content:"''"},[`${Ue}-ink-bar`]:{height:ze.lineWidthBold,"&-animated":{transition:`width ${ze.motionDurationSlow}, left ${ze.motionDurationSlow},
|
|
|
right ${ze.motionDurationSlow}`}},[`${Ue}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:ze.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:ze.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:ze.boxShadowTabsOverflowRight},[`&${Ue}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Ue}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Ue}-top`]:{[`> ${Ue}-nav,
|
|
|
> div > ${Ue}-nav`]:{"&::before":{bottom:0},[`${Ue}-ink-bar`]:{bottom:0}}},[`${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{order:1,marginTop:sr,marginBottom:0,"&::before":{top:0},[`${Ue}-ink-bar`]:{top:0}},[`> ${Ue}-content-holder, > div > ${Ue}-content-holder`]:{order:0}},[`${Ue}-left, ${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{flexDirection:"column",minWidth:Xe(ze.controlHeight).mul(1.25).equal(),[`${Ue}-tab`]:{padding:re,textAlign:"center"},[`${Ue}-tab + ${Ue}-tab`]:{margin:g},[`${Ue}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:ze.controlHeight},"&::before":{top:0,boxShadow:ze.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:ze.boxShadowTabsOverflowBottom},[`&${Ue}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Ue}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Ue}-ink-bar`]:{width:ze.lineWidthBold,"&-animated":{transition:`height ${ze.motionDurationSlow}, top ${ze.motionDurationSlow}`}},[`${Ue}-nav-list, ${Ue}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Ue}-left`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Ue}-content-holder, > div > ${Ue}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,Me.unit)(Xe(ze.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,Me.unit)(ze.lineWidth)} ${ze.lineType} ${ze.colorBorder}`},[`> ${Ue}-content > ${Ue}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:ze.paddingLG}}}},[`${Ue}-right`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{order:1,[`${Ue}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Ue}-content-holder, > div > ${Ue}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:Xe(ze.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,Me.unit)(ze.lineWidth)} ${ze.lineType} ${ze.colorBorder}`},[`> ${Ue}-content > ${Ue}-tabpane`]:{paddingRight:{_skip_check_:!0,value:ze.paddingLG}}}}}},ve=ze=>{const{componentCls:Ue,cardPaddingSM:sr,cardPaddingLG:tr,horizontalItemPaddingSM:$e,horizontalItemPaddingLG:re}=ze;return{[Ue]:{"&-small":{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:$e,fontSize:ze.titleFontSizeSM}}},"&-large":{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:re,fontSize:ze.titleFontSizeLG}}}},[`${Ue}-card`]:{[`&${Ue}-small`]:{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:sr}},[`&${Ue}-bottom`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:`0 0 ${(0,Me.unit)(ze.borderRadius)} ${(0,Me.unit)(ze.borderRadius)}`}},[`&${Ue}-top`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:`${(0,Me.unit)(ze.borderRadius)} ${(0,Me.unit)(ze.borderRadius)} 0 0`}},[`&${Ue}-right`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,Me.unit)(ze.borderRadius)} ${(0,Me.unit)(ze.borderRadius)} 0`}}},[`&${Ue}-left`]:{[`> ${Ue}-nav ${Ue}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,Me.unit)(ze.borderRadius)} 0 0 ${(0,Me.unit)(ze.borderRadius)}`}}}},[`&${Ue}-large`]:{[`> ${Ue}-nav`]:{[`${Ue}-tab`]:{padding:tr}}}}}},de=ze=>{const{componentCls:Ue,itemActiveColor:sr,itemHoverColor:tr,iconCls:$e,tabsHorizontalItemMargin:re,horizontalItemPadding:g,itemSelectedColor:Xe,itemColor:Se}=ze,ge=`${Ue}-tab`;return{[ge]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:g,fontSize:ze.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Se,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:sr}},"&-btn":{outline:"none",transition:`all ${ze.motionDurationSlow}`,[`${ge}-icon:not(:last-child)`]:{marginInlineEnd:ze.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:ze.calc(ze.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:ze.marginXS},color:ze.colorTextDescription,fontSize:ze.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${ze.motionDurationSlow}`,"&:hover":{color:ze.colorTextHeading}},(0,He.Qy)(ze)),"&:hover":{color:tr},[`&${ge}-active ${ge}-btn`]:{color:Xe,textShadow:ze.tabsActiveTextShadow},[`&${ge}-focus ${ge}-btn`]:Object.assign({},(0,He.oN)(ze)),[`&${ge}-disabled`]:{color:ze.colorTextDisabled,cursor:"not-allowed"},[`&${ge}-disabled ${ge}-btn, &${ge}-disabled ${Ue}-remove`]:{"&:focus, &:active":{color:ze.colorTextDisabled}},[`& ${ge}-remove ${$e}`]:{margin:0},[`${$e}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:ze.marginSM}}},[`${ge} + ${ge}`]:{margin:{_skip_check_:!0,value:re}}}},k=ze=>{const{componentCls:Ue,tabsHorizontalItemMarginRTL:sr,iconCls:tr,cardGutter:$e,calc:re}=ze;return{[`${Ue}-rtl`]:{direction:"rtl",[`${Ue}-nav`]:{[`${Ue}-tab`]:{margin:{_skip_check_:!0,value:sr},[`${Ue}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[tr]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,Me.unit)(ze.marginSM)}},[`${Ue}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,Me.unit)(ze.marginXS)},marginLeft:{_skip_check_:!0,value:(0,Me.unit)(re(ze.marginXXS).mul(-1).equal())},[tr]:{margin:0}}}},[`&${Ue}-left`]:{[`> ${Ue}-nav`]:{order:1},[`> ${Ue}-content-holder`]:{order:0}},[`&${Ue}-right`]:{[`> ${Ue}-nav`]:{order:0},[`> ${Ue}-content-holder`]:{order:1}},[`&${Ue}-card${Ue}-top, &${Ue}-card${Ue}-bottom`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-tab + ${Ue}-tab`]:{marginRight:{_skip_check_:!0,value:$e},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Ue}-dropdown-rtl`]:{direction:"rtl"},[`${Ue}-menu-item`]:{[`${Ue}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},te=ze=>{const{componentCls:Ue,tabsCardPadding:sr,cardHeight:tr,cardGutter:$e,itemHoverColor:re,itemActiveColor:g,colorBorderSecondary:Xe}=ze;return{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.Wf)(ze)),{display:"flex",[`> ${Ue}-nav, > div > ${Ue}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Ue}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${ze.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Ue}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${ze.motionDurationSlow}`},[`${Ue}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Ue}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Ue}-nav-more`]:{position:"relative",padding:sr,background:"transparent",border:0,color:ze.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:ze.calc(ze.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${Ue}-nav-add`]:Object.assign({minWidth:tr,marginLeft:{_skip_check_:!0,value:$e},padding:(0,Me.unit)(ze.paddingXS),background:"transparent",border:`${(0,Me.unit)(ze.lineWidth)} ${ze.lineType} ${Xe}`,borderRadius:`${(0,Me.unit)(ze.borderRadiusLG)} ${(0,Me.unit)(ze.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:ze.colorText,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOut}`,"&:hover":{color:re},"&:active, &:focus:not(:focus-visible)":{color:g}},(0,He.Qy)(ze,-3))},[`${Ue}-extra-content`]:{flex:"none"},[`${Ue}-ink-bar`]:{position:"absolute",background:ze.inkBarColor,pointerEvents:"none"}}),de(ze)),{[`${Ue}-content`]:{position:"relative",width:"100%"},[`${Ue}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Ue}-tabpane`]:Object.assign(Object.assign({},(0,He.Qy)(ze)),{"&-hidden":{display:"none"}})}),[`${Ue}-centered`]:{[`> ${Ue}-nav, > div > ${Ue}-nav`]:{[`${Ue}-nav-wrap`]:{[`&:not([class*='${Ue}-nav-wrap-ping']) > ${Ue}-nav-list`]:{margin:"auto"}}}}}},ie=ze=>{const Ue=ze.controlHeightLG;return{zIndexPopup:ze.zIndexPopupBase+50,cardBg:ze.colorFillAlter,cardHeight:Ue,cardPadding:`${(Ue-Math.round(ze.fontSize*ze.lineHeight))/2-ze.lineWidth}px ${ze.padding}px`,cardPaddingSM:`${ze.paddingXXS*1.5}px ${ze.padding}px`,cardPaddingLG:`${ze.paddingXS}px ${ze.padding}px ${ze.paddingXXS*1.5}px`,titleFontSize:ze.fontSize,titleFontSizeLG:ze.fontSizeLG,titleFontSizeSM:ze.fontSize,inkBarColor:ze.colorPrimary,horizontalMargin:`0 0 ${ze.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${ze.paddingSM}px 0`,horizontalItemPaddingSM:`${ze.paddingXS}px 0`,horizontalItemPaddingLG:`${ze.padding}px 0`,verticalItemPadding:`${ze.paddingXS}px ${ze.paddingLG}px`,verticalItemMargin:`${ze.margin}px 0 0 0`,itemColor:ze.colorText,itemSelectedColor:ze.colorPrimary,itemHoverColor:ze.colorPrimaryHover,itemActiveColor:ze.colorPrimaryActive,cardGutter:ze.marginXXS/2}};var ye=(0,We.I$)("Tabs",ze=>{const Ue=(0,Pe.mergeToken)(ze,{tabsCardPadding:ze.cardPadding,dropdownEdgeChildVerticalPadding:ze.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,Me.unit)(ze.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,Me.unit)(ze.horizontalItemGutter)}`});return[ve(Ue),k(Ue),vt(Ue),N(Ue),R(Ue),te(Ue),Ee(Ue)]},ie),Te=()=>null,Qe=function(ze,Ue){var sr={};for(var tr in ze)Object.prototype.hasOwnProperty.call(ze,tr)&&Ue.indexOf(tr)<0&&(sr[tr]=ze[tr]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,tr=Object.getOwnPropertySymbols(ze);$e<tr.length;$e++)Ue.indexOf(tr[$e])<0&&Object.prototype.propertyIsEnumerable.call(ze,tr[$e])&&(sr[tr[$e]]=ze[tr[$e]]);return sr};const Wt=ze=>{var Ue,sr,tr,$e,re,g,Xe,Se,ge,fe,q;const{type:we,className:Oe,rootClassName:Ae,size:Ye,onEdit:At,hideAdd:Bt,centered:cr,addIcon:ur,removeIcon:Et,moreIcon:ut,more:Mt,popupClassName:Kt,children:Qt,items:St,animated:pr,style:Ur,indicatorSize:Lt,indicator:lr}=ze,_t=Qe(ze,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:w}=_t,{direction:P,tabs:Pt,getPrefixCls:ne,getPopupContainer:ke}=t.useContext(T.E_),Mr=ne("tabs",w),Pr=(0,Z.Z)(Mr),[En,Nn,mn]=ye(Mr,Pr);let yn;we==="editable-card"&&(yn={onEdit:(Xt,ar)=>{let{key:ot,event:Ie}=ar;At==null||At(Xt==="add"?Ie:ot,Xt)},removeIcon:(Ue=Et!=null?Et:Pt==null?void 0:Pt.removeIcon)!==null&&Ue!==void 0?Ue:t.createElement(Fe.Z,null),addIcon:(ur!=null?ur:Pt==null?void 0:Pt.addIcon)||t.createElement(l,null),showAdd:Bt!==!0});const Cn=ne(),L=(0,E.Z)(Ye),x=Le(St,Qt),Dr=M(Mr,pr),K=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),Ur),Tt={align:(sr=lr==null?void 0:lr.align)!==null&&sr!==void 0?sr:(tr=Pt==null?void 0:Pt.indicator)===null||tr===void 0?void 0:tr.align,size:(Xe=(re=($e=lr==null?void 0:lr.size)!==null&&$e!==void 0?$e:Lt)!==null&&re!==void 0?re:(g=Pt==null?void 0:Pt.indicator)===null||g===void 0?void 0:g.size)!==null&&Xe!==void 0?Xe:Pt==null?void 0:Pt.indicatorSize};return En(t.createElement(Y.Z,Object.assign({direction:P,getPopupContainer:ke},_t,{items:x,className:V()({[`${Mr}-${L}`]:L,[`${Mr}-card`]:["card","editable-card"].includes(we),[`${Mr}-editable-card`]:we==="editable-card",[`${Mr}-centered`]:cr},Pt==null?void 0:Pt.className,Oe,Ae,Nn,mn,Pr),popupClassName:V()(Kt,Nn,mn,Pr),style:K,editable:yn,more:Object.assign({icon:(q=(fe=(ge=(Se=Pt==null?void 0:Pt.more)===null||Se===void 0?void 0:Se.icon)!==null&&ge!==void 0?ge:Pt==null?void 0:Pt.moreIcon)!==null&&fe!==void 0?fe:ut)!==null&&q!==void 0?q:t.createElement($.Z,null),transitionName:`${Cn}-slide-up`},Mt),prefixCls:Mr,animated:Dr,indicator:Tt})))};Wt.TabPane=Te;var Ut=Wt},66309:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return R}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(10366),G=a(98787),J=a(69760),U=a(96159),y=a(45353),W=a(53124),l=a(16777),H=a(24327),V=a(14747),Y=a(43259),T=a(83559);const Z=N=>{const{paddingXXS:vt,lineWidth:ve,tagPaddingHorizontal:de,componentCls:k,calc:te}=N,ie=te(de).sub(ve).equal(),ye=te(vt).sub(ve).equal();return{[k]:Object.assign(Object.assign({},(0,V.Wf)(N)),{display:"inline-block",height:"auto",marginInlineEnd:N.marginXS,paddingInline:ie,fontSize:N.tagFontSize,lineHeight:N.tagLineHeight,whiteSpace:"nowrap",background:N.defaultBg,border:`${(0,l.unit)(N.lineWidth)} ${N.lineType} ${N.colorBorder}`,borderRadius:N.borderRadiusSM,opacity:1,transition:`all ${N.motionDurationMid}`,textAlign:"start",position:"relative",[`&${k}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:N.defaultColor},[`${k}-close-icon`]:{marginInlineStart:ye,fontSize:N.tagIconSize,color:N.colorTextDescription,cursor:"pointer",transition:`all ${N.motionDurationMid}`,"&:hover":{color:N.colorTextHeading}},[`&${k}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${N.iconCls}-close, ${N.iconCls}-close:hover`]:{color:N.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${k}-checkable-checked):hover`]:{color:N.colorPrimary,backgroundColor:N.colorFillSecondary},"&:active, &-checked":{color:N.colorTextLightSolid},"&-checked":{backgroundColor:N.colorPrimary,"&:hover":{backgroundColor:N.colorPrimaryHover}},"&:active":{backgroundColor:N.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${N.iconCls} + span, > span + ${N.iconCls}`]:{marginInlineStart:ie}}),[`${k}-borderless`]:{borderColor:"transparent",background:N.tagBorderlessBg}}},E=N=>{const{lineWidth:vt,fontSizeIcon:ve,calc:de}=N,k=N.fontSizeSM;return(0,Y.mergeToken)(N,{tagFontSize:k,tagLineHeight:(0,l.unit)(de(N.lineHeightSM).mul(k).equal()),tagIconSize:de(ve).sub(de(vt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:N.defaultBg})},j=N=>({defaultBg:new H.FastColor(N.colorFillQuaternary).onBackground(N.colorBgContainer).toHexString(),defaultColor:N.colorText});var A=(0,T.I$)("Tag",N=>{const vt=E(N);return Z(vt)},j),M=function(N,vt){var ve={};for(var de in N)Object.prototype.hasOwnProperty.call(N,de)&&vt.indexOf(de)<0&&(ve[de]=N[de]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,de=Object.getOwnPropertySymbols(N);k<de.length;k++)vt.indexOf(de[k])<0&&Object.prototype.propertyIsEnumerable.call(N,de[k])&&(ve[de[k]]=N[de[k]]);return ve},ee=t.forwardRef((N,vt)=>{const{prefixCls:ve,style:de,className:k,checked:te,onChange:ie,onClick:ye}=N,et=M(N,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Te,tag:Qe}=t.useContext(W.E_),Wt=$e=>{ie==null||ie(!te),ye==null||ye($e)},Ut=Te("tag",ve),[ze,Ue,sr]=A(Ut),tr=$()(Ut,`${Ut}-checkable`,{[`${Ut}-checkable-checked`]:te},Qe==null?void 0:Qe.className,k,Ue,sr);return ze(t.createElement("span",Object.assign({},et,{ref:vt,style:Object.assign(Object.assign({},de),Qe==null?void 0:Qe.style),className:tr,onClick:Wt})))}),C=a(98719);const Le=N=>(0,C.Z)(N,(vt,ve)=>{let{textColor:de,lightBorderColor:k,lightColor:te,darkColor:ie}=ve;return{[`${N.componentCls}${N.componentCls}-${vt}`]:{color:de,background:te,borderColor:k,"&-inverse":{color:N.colorTextLightSolid,background:ie,borderColor:ie},[`&${N.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Me=(0,T.bk)(["Tag","preset"],N=>{const vt=E(N);return Le(vt)},j);function He(N){return typeof N!="string"?N:N.charAt(0).toUpperCase()+N.slice(1)}const We=(N,vt,ve)=>{const de=He(ve);return{[`${N.componentCls}${N.componentCls}-${vt}`]:{color:N[`color${ve}`],background:N[`color${de}Bg`],borderColor:N[`color${de}Border`],[`&${N.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Pe=(0,T.bk)(["Tag","status"],N=>{const vt=E(N);return[We(vt,"success","Success"),We(vt,"processing","Info"),We(vt,"error","Error"),We(vt,"warning","Warning")]},j),Ne=function(N,vt){var ve={};for(var de in N)Object.prototype.hasOwnProperty.call(N,de)&&vt.indexOf(de)<0&&(ve[de]=N[de]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,de=Object.getOwnPropertySymbols(N);k<de.length;k++)vt.indexOf(de[k])<0&&Object.prototype.propertyIsEnumerable.call(N,de[k])&&(ve[de[k]]=N[de[k]]);return ve};const Ee=t.forwardRef((N,vt)=>{const{prefixCls:ve,className:de,rootClassName:k,style:te,children:ie,icon:ye,color:et,onClose:Te,bordered:Qe=!0,visible:Wt}=N,Ut=Ne(N,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:ze,direction:Ue,tag:sr}=t.useContext(W.E_),[tr,$e]=t.useState(!0),re=(0,Be.Z)(Ut,["closeIcon","closable"]);t.useEffect(()=>{Wt!==void 0&&$e(Wt)},[Wt]);const g=(0,G.o2)(et),Xe=(0,G.yT)(et),Se=g||Xe,ge=Object.assign(Object.assign({backgroundColor:et&&!Se?et:void 0},sr==null?void 0:sr.style),te),fe=ze("tag",ve),[q,we,Oe]=A(fe),Ae=$()(fe,sr==null?void 0:sr.className,{[`${fe}-${et}`]:Se,[`${fe}-has-color`]:et&&!Se,[`${fe}-hidden`]:!tr,[`${fe}-rtl`]:Ue==="rtl",[`${fe}-borderless`]:!Qe},de,k,we,Oe),Ye=ut=>{ut.stopPropagation(),Te==null||Te(ut),!ut.defaultPrevented&&$e(!1)},[,At]=(0,J.Z)((0,J.w)(N),(0,J.w)(sr),{closable:!1,closeIconRender:ut=>{const Mt=t.createElement("span",{className:`${fe}-close-icon`,onClick:Ye},ut);return(0,U.wm)(ut,Mt,Kt=>({onClick:Qt=>{var St;(St=Kt==null?void 0:Kt.onClick)===null||St===void 0||St.call(Kt,Qt),Ye(Qt)},className:$()(Kt==null?void 0:Kt.className,`${fe}-close-icon`)}))}}),Bt=typeof Ut.onClick=="function"||ie&&ie.type==="a",cr=ye||null,ur=cr?t.createElement(t.Fragment,null,cr,ie&&t.createElement("span",null,ie)):ie,Et=t.createElement("span",Object.assign({},re,{ref:vt,className:Ae,style:ge}),ur,At,g&&t.createElement(Me,{key:"preset",prefixCls:fe}),Xe&&t.createElement(Pe,{key:"status",prefixCls:fe}));return q(Bt?t.createElement(y.Z,{component:"Tag"},Et):Et)});Ee.CheckableTag=ee;var R=Ee},98719:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return Fe}});var t=a(8796);function Fe($,Be){return t.i.reduce((G,J)=>{const U=$[`${J}1`],y=$[`${J}3`],W=$[`${J}6`],l=$[`${J}7`];return Object.assign(Object.assign({},G),Be(J,{lightColor:U,lightBorderColor:y,darkColor:W,textColor:l}))},{})}},83062:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return vt}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(36697),G=a(5663),J=a(89942),U=a(87263),y=a(33603),W=a(80636),l=a(96159),H=a(27288),V=a(43945),Y=a(15729),T=a(53124),Z=a(16777),E=a(14747),j=a(50438),A=a(97414),M=a(79511),le=a(98719),ee=a(43259),C=a(83559);const Le=ve=>{const{calc:de,componentCls:k,tooltipMaxWidth:te,tooltipColor:ie,tooltipBg:ye,tooltipBorderRadius:et,zIndexPopup:Te,controlHeight:Qe,boxShadowSecondary:Wt,paddingSM:Ut,paddingXS:ze,arrowOffsetHorizontal:Ue,sizePopupArrow:sr}=ve,tr=de(et).add(sr).add(Ue).equal(),$e=de(et).mul(2).add(sr).equal();return[{[k]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.Wf)(ve)),{position:"absolute",zIndex:Te,display:"block",width:"max-content",maxWidth:te,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":ye,[`${k}-inner`]:{minWidth:$e,minHeight:Qe,padding:`${(0,Z.unit)(ve.calc(Ut).div(2).equal())} ${(0,Z.unit)(ze)}`,color:ie,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ye,borderRadius:et,boxShadow:Wt,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:tr},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${k}-inner`]:{borderRadius:ve.min(et,A.qN)}},[`${k}-content`]:{position:"relative"}}),(0,le.Z)(ve,(re,g)=>{let{darkColor:Xe}=g;return{[`&${k}-${re}`]:{[`${k}-inner`]:{backgroundColor:Xe},[`${k}-arrow`]:{"--antd-arrow-background-color":Xe}}}})),{"&-rtl":{direction:"rtl"}})},(0,A.ZP)(ve,"var(--antd-arrow-background-color)"),{[`${k}-pure`]:{position:"relative",maxWidth:"none",margin:ve.sizePopupArrow}}]},Me=ve=>Object.assign(Object.assign({zIndexPopup:ve.zIndexPopupBase+70},(0,A.wZ)({contentRadius:ve.borderRadius,limitVerticalRadius:!0})),(0,M.w)((0,ee.mergeToken)(ve,{borderRadiusOuter:Math.min(ve.borderRadiusOuter,4)})));var He=function(ve){let de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,C.I$)("Tooltip",te=>{const{borderRadius:ie,colorTextLightSolid:ye,colorBgSpotlight:et}=te,Te=(0,ee.mergeToken)(te,{tooltipMaxWidth:250,tooltipColor:ye,tooltipBorderRadius:ie,tooltipBg:et});return[Le(Te),(0,j._y)(te,"zoom-big-fast")]},Me,{resetStyle:!1,injectStyle:de})(ve)},We=a(98787);function Pe(ve,de){const k=(0,We.o2)(de),te=$()({[`${ve}-${de}`]:de&&k}),ie={},ye={};return de&&!k&&(ie.background=de,ye["--antd-arrow-background-color"]=de),{className:te,overlayStyle:ie,arrowStyle:ye}}var ae=ve=>{const{prefixCls:de,className:k,placement:te="top",title:ie,color:ye,overlayInnerStyle:et}=ve,{getPrefixCls:Te}=t.useContext(T.E_),Qe=Te("tooltip",de),[Wt,Ut,ze]=He(Qe),Ue=Pe(Qe,ye),sr=Ue.arrowStyle,tr=Object.assign(Object.assign({},et),Ue.overlayStyle),$e=$()(Ut,ze,Qe,`${Qe}-pure`,`${Qe}-placement-${te}`,k,Ue.className);return Wt(t.createElement("div",{className:$e,style:sr},t.createElement("div",{className:`${Qe}-arrow`}),t.createElement(Be.G,Object.assign({},ve,{className:Ut,prefixCls:Qe,overlayInnerStyle:tr}),ie)))},Ee=function(ve,de){var k={};for(var te in ve)Object.prototype.hasOwnProperty.call(ve,te)&&de.indexOf(te)<0&&(k[te]=ve[te]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,te=Object.getOwnPropertySymbols(ve);ie<te.length;ie++)de.indexOf(te[ie])<0&&Object.prototype.propertyIsEnumerable.call(ve,te[ie])&&(k[te[ie]]=ve[te[ie]]);return k};const N=t.forwardRef((ve,de)=>{var k,te;const{prefixCls:ie,openClassName:ye,getTooltipContainer:et,color:Te,overlayInnerStyle:Qe,children:Wt,afterOpenChange:Ut,afterVisibleChange:ze,destroyTooltipOnHide:Ue,arrow:sr=!0,title:tr,overlay:$e,builtinPlacements:re,arrowPointAtCenter:g=!1,autoAdjustOverflow:Xe=!0,motion:Se,getPopupContainer:ge,placement:fe="top",mouseEnterDelay:q=.1,mouseLeaveDelay:we=.1,overlayStyle:Oe,rootClassName:Ae,overlayClassName:Ye,styles:At,classNames:Bt}=ve,cr=Ee(ve,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),ur=!!sr,[,Et]=(0,Y.ZP)(),{getPopupContainer:ut,getPrefixCls:Mt,direction:Kt,className:Qt,style:St,classNames:pr,styles:Ur}=(0,T.dj)("tooltip"),Lt=(0,H.ln)("Tooltip"),lr=t.useRef(null),_t=()=>{var fr;(fr=lr.current)===null||fr===void 0||fr.forceAlign()};t.useImperativeHandle(de,()=>{var fr,ht;return{forceAlign:_t,forcePopupAlign:()=>{Lt.deprecated(!1,"forcePopupAlign","forceAlign"),_t()},nativeElement:(fr=lr.current)===null||fr===void 0?void 0:fr.nativeElement,popupElement:(ht=lr.current)===null||ht===void 0?void 0:ht.popupElement}});const[w,P]=(0,G.Z)(!1,{value:(k=ve.open)!==null&&k!==void 0?k:ve.visible,defaultValue:(te=ve.defaultOpen)!==null&&te!==void 0?te:ve.defaultVisible}),Pt=!tr&&!$e&&tr!==0,ne=fr=>{var ht,ln;P(Pt?!1:fr),Pt||((ht=ve.onOpenChange)===null||ht===void 0||ht.call(ve,fr),(ln=ve.onVisibleChange)===null||ln===void 0||ln.call(ve,fr))},ke=t.useMemo(()=>{var fr,ht;let ln=g;return typeof sr=="object"&&(ln=(ht=(fr=sr.pointAtCenter)!==null&&fr!==void 0?fr:sr.arrowPointAtCenter)!==null&&ht!==void 0?ht:g),re||(0,W.Z)({arrowPointAtCenter:ln,autoAdjustOverflow:Xe,arrowWidth:ur?Et.sizePopupArrow:0,borderRadius:Et.borderRadius,offset:Et.marginXXS,visibleFirst:!0})},[g,sr,re,Et]),Mr=t.useMemo(()=>tr===0?tr:$e||tr||"",[$e,tr]),Pr=t.createElement(J.Z,{space:!0},typeof Mr=="function"?Mr():Mr),En=Mt("tooltip",ie),Nn=Mt(),mn=ve["data-popover-inject"];let yn=w;!("open"in ve)&&!("visible"in ve)&&Pt&&(yn=!1);const Cn=t.isValidElement(Wt)&&!(0,l.M2)(Wt)?Wt:t.createElement("span",null,Wt),L=Cn.props,x=!L.className||typeof L.className=="string"?$()(L.className,ye||`${En}-open`):L.className,[Dr,K,Tt]=He(En,!mn),Xt=Pe(En,Te),ar=Xt.arrowStyle,ot=$()(Ye,{[`${En}-rtl`]:Kt==="rtl"},Xt.className,Ae,K,Tt,Qt,pr.root,Bt==null?void 0:Bt.root),Ie=$()(pr.body,Bt==null?void 0:Bt.body),[st,zt]=(0,U.Cn)("Tooltip",cr.zIndex),rr=t.createElement(Be.Z,Object.assign({},cr,{zIndex:st,showArrow:ur,placement:fe,mouseEnterDelay:q,mouseLeaveDelay:we,prefixCls:En,classNames:{root:ot,body:Ie},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ar),Ur.root),St),Oe),At==null?void 0:At.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},Ur.body),Qe),At==null?void 0:At.body),Xt.overlayStyle)},getTooltipContainer:ge||et||ut,ref:lr,builtinPlacements:ke,overlay:Pr,visible:yn,onVisibleChange:ne,afterVisibleChange:Ut!=null?Ut:ze,arrowContent:t.createElement("span",{className:`${En}-arrow-content`}),motion:{motionName:(0,y.m)(Nn,"zoom-big-fast",ve.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ue}),yn?(0,l.Tm)(Cn,{className:x}):Cn);return Dr(t.createElement(V.Z.Provider,{value:zt},rr))});N._InternalPanelDoNotUseOrYouWillBeFired=ae;var vt=N},31221:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return te}});var t=a(67294),Fe=a(45420),$=a(13144),Be=a.n($),G=a(87263),J=a(80636),U=a(43945),y=a(53124),W=a(15729),l=a(96641),H=a(85846),V=a(85804),Y=a(10110),T=a(24457);function Z(ie){return ie!=null}var j=ie=>{var ye,et;const{stepProps:Te,current:Qe,type:Wt,indicatorsRender:Ut}=ie,{prefixCls:ze,total:Ue=1,title:sr,onClose:tr,onPrev:$e,onNext:re,onFinish:g,cover:Xe,description:Se,nextButtonProps:ge,prevButtonProps:fe,type:q,closable:we}=Te,Oe=q!=null?q:Wt,Ae=t.createElement("button",{type:"button",onClick:tr,className:`${ze}-close`},(we==null?void 0:we.closeIcon)||t.createElement(H.Z,{className:`${ze}-close-icon`})),Ye=Qe===Ue-1,At=()=>{var St;$e==null||$e(),(St=fe==null?void 0:fe.onClick)===null||St===void 0||St.call(fe)},Bt=()=>{var St;Ye?g==null||g():re==null||re(),(St=ge==null?void 0:ge.onClick)===null||St===void 0||St.call(ge)},cr=Z(sr)?t.createElement("div",{className:`${ze}-header`},t.createElement("div",{className:`${ze}-title`},sr)):null,ur=Z(Se)?t.createElement("div",{className:`${ze}-description`},Se):null,Et=Z(Xe)?t.createElement("div",{className:`${ze}-cover`},Xe):null;let ut;Ut?ut=Ut(Qe,Ue):ut=(0,l.Z)(Array.from({length:Ue}).keys()).map((St,pr)=>t.createElement("span",{key:St,className:Be()(pr===Qe&&`${ze}-indicator-active`,`${ze}-indicator`)}));const Mt=Oe==="primary"?"default":"primary",Kt={type:"default",ghost:Oe==="primary"},[Qt]=(0,Y.Z)("Tour",T.Z.Tour);return t.createElement("div",{className:`${ze}-content`},t.createElement("div",{className:`${ze}-inner`},we&&Ae,Et,cr,ur,t.createElement("div",{className:`${ze}-footer`},Ue>1&&t.createElement("div",{className:`${ze}-indicators`},ut),t.createElement("div",{className:`${ze}-buttons`},Qe!==0?t.createElement(V.ZP,Object.assign({},Kt,fe,{onClick:At,size:"small",className:Be()(`${ze}-prev-btn`,fe==null?void 0:fe.className)}),(ye=fe==null?void 0:fe.children)!==null&&ye!==void 0?ye:Qt==null?void 0:Qt.Previous):null,t.createElement(V.ZP,Object.assign({type:Mt},ge,{onClick:Bt,size:"small",className:Be()(`${ze}-next-btn`,ge==null?void 0:ge.className)}),(et=ge==null?void 0:ge.children)!==null&&et!==void 0?et:Ye?Qt==null?void 0:Qt.Finish:Qt==null?void 0:Qt.Next)))))},A=a(69760),M=a(8745),le=a(96159),ee=a(66330),C=a(16777),Le=a(24327),Me=a(14747),He=a(97414),We=a(79511),Pe=a(83559),Ne=a(43259);const ae=ie=>{const{componentCls:ye,padding:et,paddingXS:Te,borderRadius:Qe,borderRadiusXS:Wt,colorPrimary:Ut,colorFill:ze,indicatorHeight:Ue,indicatorWidth:sr,boxShadowTertiary:tr,zIndexPopup:$e,colorBgElevated:re,fontWeightStrong:g,marginXS:Xe,colorTextLightSolid:Se,tourBorderRadius:ge,colorWhite:fe,primaryNextBtnHoverBg:q,closeBtnSize:we,motionDurationSlow:Oe,antCls:Ae,primaryPrevBtnBg:Ye}=ie;return[{[ye]:Object.assign(Object.assign({},(0,Me.Wf)(ie)),{position:"absolute",zIndex:$e,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":re,"&-pure":{maxWidth:"100%",position:"relative"},[`&${ye}-hidden`]:{display:"none"},[`${ye}-content`]:{position:"relative"},[`${ye}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:ge,boxShadow:tr,position:"relative",backgroundColor:re,border:"none",backgroundClip:"padding-box",[`${ye}-close`]:Object.assign({position:"absolute",top:et,insetInlineEnd:et,color:ie.colorIcon,background:"none",border:"none",width:we,height:we,borderRadius:ie.borderRadiusSM,transition:`background-color ${ie.motionDurationMid}, color ${ie.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:ie.colorIconHover,backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive}},(0,Me.Qy)(ie)),[`${ye}-cover`]:{textAlign:"center",padding:`${(0,C.unit)(ie.calc(et).add(we).add(Te).equal())} ${(0,C.unit)(et)} 0`,img:{width:"100%"}},[`${ye}-header`]:{padding:`${(0,C.unit)(et)} ${(0,C.unit)(et)} ${(0,C.unit)(Te)}`,width:`calc(100% - ${(0,C.unit)(we)})`,wordBreak:"break-word",[`${ye}-title`]:{fontWeight:g}},[`${ye}-description`]:{padding:`0 ${(0,C.unit)(et)}`,wordWrap:"break-word"},[`${ye}-footer`]:{padding:`${(0,C.unit)(Te)} ${(0,C.unit)(et)} ${(0,C.unit)(et)}`,textAlign:"end",borderRadius:`0 0 ${(0,C.unit)(Wt)} ${(0,C.unit)(Wt)}`,display:"flex",[`${ye}-indicators`]:{display:"inline-block",[`${ye}-indicator`]:{width:sr,height:Ue,display:"inline-block",borderRadius:"50%",background:ze,"&:not(:last-child)":{marginInlineEnd:Ue},"&-active":{background:Ut}}},[`${ye}-buttons`]:{marginInlineStart:"auto",[`${Ae}-btn`]:{marginInlineStart:Xe}}}},[`${ye}-primary, &${ye}-primary`]:{"--antd-arrow-background-color":Ut,[`${ye}-inner`]:{color:Se,textAlign:"start",textDecoration:"none",backgroundColor:Ut,borderRadius:Qe,boxShadow:tr,[`${ye}-close`]:{color:Se},[`${ye}-indicators`]:{[`${ye}-indicator`]:{background:Ye,"&-active":{background:Se}}},[`${ye}-prev-btn`]:{color:Se,borderColor:Ye,backgroundColor:Ut,"&:hover":{backgroundColor:Ye,borderColor:"transparent"}},[`${ye}-next-btn`]:{color:Ut,borderColor:"transparent",background:fe,"&:hover":{background:q}}}}}),[`${ye}-mask`]:{[`${ye}-placeholder-animated`]:{transition:`all ${Oe}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${ye}-inner`]:{borderRadius:ie.min(ge,He.qN)}}},(0,He.ZP)(ie,"var(--antd-arrow-background-color)")]},Ee=ie=>Object.assign(Object.assign({zIndexPopup:ie.zIndexPopupBase+70,closeBtnSize:ie.fontSize*ie.lineHeight,primaryPrevBtnBg:new Le.FastColor(ie.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new Le.FastColor(ie.colorBgTextHover).onBackground(ie.colorWhite).toRgbString()},(0,He.wZ)({contentRadius:ie.borderRadiusLG,limitVerticalRadius:!0})),(0,We.w)(ie));var R=(0,Pe.I$)("Tour",ie=>{const{borderRadiusLG:ye}=ie,et=(0,Ne.mergeToken)(ie,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:ye});return[ae(et)]},Ee),N=function(ie,ye){var et={};for(var Te in ie)Object.prototype.hasOwnProperty.call(ie,Te)&&ye.indexOf(Te)<0&&(et[Te]=ie[Te]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Te=Object.getOwnPropertySymbols(ie);Qe<Te.length;Qe++)ye.indexOf(Te[Qe])<0&&Object.prototype.propertyIsEnumerable.call(ie,Te[Qe])&&(et[Te[Qe]]=ie[Te[Qe]]);return et};const vt=ie=>{const{prefixCls:ye,current:et=0,total:Te=6,className:Qe,style:Wt,type:Ut,closable:ze,closeIcon:Ue}=ie,sr=N(ie,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:tr}=t.useContext(y.E_),$e=tr("tour",ye),[re,g,Xe]=R($e),[Se,ge]=(0,A.Z)({closable:ze,closeIcon:Ue},null,{closable:!0,closeIconRender:fe=>t.isValidElement(fe)?(0,le.Tm)(fe,{className:Be()(fe.props.className,`${$e}-close-icon`)}):fe});return re(t.createElement(ee.t5,{prefixCls:$e,hashId:g,className:Be()(Qe,`${$e}-pure`,Ut&&`${$e}-${Ut}`,Xe),style:Wt},t.createElement(j,{stepProps:Object.assign(Object.assign({},sr),{prefixCls:$e,total:Te,closable:Se?{closeIcon:ge}:void 0}),current:et,type:Ut})))};var ve=(0,M.i)(vt),de=function(ie,ye){var et={};for(var Te in ie)Object.prototype.hasOwnProperty.call(ie,Te)&&ye.indexOf(Te)<0&&(et[Te]=ie[Te]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Te=Object.getOwnPropertySymbols(ie);Qe<Te.length;Qe++)ye.indexOf(Te[Qe])<0&&Object.prototype.propertyIsEnumerable.call(ie,Te[Qe])&&(et[Te[Qe]]=ie[Te[Qe]]);return et};const k=ie=>{const{prefixCls:ye,type:et,rootClassName:Te,indicatorsRender:Qe,steps:Wt,closeIcon:Ut}=ie,ze=de(ie,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:Ue,direction:sr,tour:tr}=(0,t.useContext)(y.E_),$e=Ue("tour",ye),[re,g,Xe]=R($e),[,Se]=(0,W.ZP)(),ge=t.useMemo(()=>Wt==null?void 0:Wt.map(Ye=>{var At;return Object.assign(Object.assign({},Ye),{className:Be()(Ye.className,{[`${$e}-primary`]:((At=Ye.type)!==null&&At!==void 0?At:et)==="primary"})})}),[Wt,et]),fe=Ye=>{var At;return(0,J.Z)({arrowPointAtCenter:(At=Ye==null?void 0:Ye.arrowPointAtCenter)!==null&&At!==void 0?At:!0,autoAdjustOverflow:!0,offset:Se.marginXXS,arrowWidth:Se.sizePopupArrow,borderRadius:Se.borderRadius})},q=Be()({[`${$e}-rtl`]:sr==="rtl"},g,Xe,Te),we=(Ye,At)=>t.createElement(j,{type:et,stepProps:Ye,current:At,indicatorsRender:Qe}),[Oe,Ae]=(0,G.Cn)("Tour",ze.zIndex);return re(t.createElement(U.Z.Provider,{value:Ae},t.createElement(Fe.Z,Object.assign({},ze,{closeIcon:Ut!=null?Ut:tr==null?void 0:tr.closeIcon,zIndex:Oe,rootClassName:q,prefixCls:$e,animated:!0,renderPanel:we,builtinPlacements:fe,steps:ge}))))};k._InternalPanelDoNotUseOrYouWillBeFired=ve;var te=k},60024:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return te}});var t=a(67294),Fe=a(13144),$=a.n(Fe),Be=a(48387),G=a(10366),J=a(87263),U=a(33603),y=a(8745),W=a(9708),l=a(53124),H=a(88258),V=a(98866),Y=a(35792),T=a(98675),Z=a(65223),E=a(27833),j=a(30307),A=a(15030),M=a(43277),le=a(78642),ee=a(4173),C=a(15729),Le=a(7349),Me=a(16777),He=a(63185),We=a(43259),Pe=a(83559),Ne=a(40561);const ae=ie=>{const{componentCls:ye,treePrefixCls:et,colorBgElevated:Te}=ie,Qe=`.${et}`;return[{[`${ye}-dropdown`]:[{padding:`${(0,Me.unit)(ie.paddingXS)} ${(0,Me.unit)(ie.calc(ie.paddingXS).div(2).equal())}`},(0,Ne.Yk)(et,(0,We.mergeToken)(ie,{colorBgContainer:Te}),!1),{[Qe]:{borderRadius:0,[`${Qe}-list-holder-inner`]:{alignItems:"stretch",[`${Qe}-treenode`]:{[`${Qe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,He.C2)(`${et}-checkbox`,ie),{"&-rtl":{direction:"rtl",[`${Qe}-switcher${Qe}-switcher_close`]:{[`${Qe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Ee=null;function R(ie,ye,et){return(0,Pe.I$)("TreeSelect",Te=>{const Qe=(0,We.mergeToken)(Te,{treePrefixCls:ye});return[ae(Qe)]},Ne.TM)(ie,et)}var N=function(ie,ye){var et={};for(var Te in ie)Object.prototype.hasOwnProperty.call(ie,Te)&&ye.indexOf(Te)<0&&(et[Te]=ie[Te]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Te=Object.getOwnPropertySymbols(ie);Qe<Te.length;Qe++)ye.indexOf(Te[Qe])<0&&Object.prototype.propertyIsEnumerable.call(ie,Te[Qe])&&(et[Te[Qe]]=ie[Te[Qe]]);return et};const vt=(ie,ye)=>{var et;const{prefixCls:Te,size:Qe,disabled:Wt,bordered:Ut=!0,className:ze,rootClassName:Ue,treeCheckable:sr,multiple:tr,listHeight:$e=256,listItemHeight:re,placement:g,notFoundContent:Xe,switcherIcon:Se,treeLine:ge,getPopupContainer:fe,popupClassName:q,dropdownClassName:we,treeIcon:Oe=!1,transitionName:Ae,choiceTransitionName:Ye="",status:At,treeExpandAction:Bt,builtinPlacements:cr,dropdownMatchSelectWidth:ur,popupMatchSelectWidth:Et,allowClear:ut,variant:Mt,dropdownStyle:Kt,tagRender:Qt,maxCount:St,showCheckedStrategy:pr,treeCheckStrictly:Ur}=ie,Lt=N(ie,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:lr,getPrefixCls:_t,renderEmpty:w,direction:P,virtual:Pt,popupMatchSelectWidth:ne,popupOverflow:ke}=t.useContext(l.E_),[,Mr]=(0,C.ZP)(),Pr=re!=null?re:(Mr==null?void 0:Mr.controlHeightSM)+(Mr==null?void 0:Mr.paddingXXS),En=_t(),Nn=_t("select",Te),mn=_t("select-tree",Te),yn=_t("tree-select",Te),{compactSize:Cn,compactItemClassnames:L}=(0,ee.ri)(Nn,P),x=(0,Y.Z)(Nn),Dr=(0,Y.Z)(yn),[K,Tt,Xt]=(0,A.Z)(Nn,x),[ar]=R(yn,mn,Dr),[ot,Ie]=(0,E.Z)("treeSelect",Mt,Ut),st=$()(q||we,`${yn}-dropdown`,{[`${yn}-dropdown-rtl`]:P==="rtl"},Ue,Xt,x,Dr,Tt),zt=!!(sr||tr),rr=t.useMemo(()=>{if(!(St&&(pr==="SHOW_ALL"&&!Ur||pr==="SHOW_PARENT")))return St},[St,pr,Ur]),fr=(0,le.Z)(ie.suffixIcon,ie.showArrow),ht=(et=Et!=null?Et:ur)!==null&&et!==void 0?et:ne,{status:ln,hasFeedback:pe,isFormItemInput:qt,feedbackIcon:gr}=t.useContext(Z.aM),$r=(0,W.F)(ln,At),{suffixIcon:tn,removeIcon:$n,clearIcon:Vt}=(0,M.Z)(Object.assign(Object.assign({},Lt),{multiple:zt,showSuffixIcon:fr,hasFeedback:pe,feedbackIcon:gr,prefixCls:Nn,componentName:"TreeSelect"})),yr=ut===!0?{clearIcon:Vt}:ut;let jr;Xe!==void 0?jr=Xe:jr=(w==null?void 0:w("Select"))||t.createElement(H.Z,{componentName:"Select"});const Er=(0,G.Z)(Lt,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Kr=t.useMemo(()=>g!==void 0?g:P==="rtl"?"bottomRight":"bottomLeft",[g,P]),Jr=(0,T.Z)(an=>{var An;return(An=Qe!=null?Qe:Cn)!==null&&An!==void 0?An:an}),mt=t.useContext(V.Z),Jt=Wt!=null?Wt:mt,nr=$()(!Te&&yn,{[`${Nn}-lg`]:Jr==="large",[`${Nn}-sm`]:Jr==="small",[`${Nn}-rtl`]:P==="rtl",[`${Nn}-${ot}`]:Ie,[`${Nn}-in-form-item`]:qt},(0,W.Z)(Nn,$r,pe),L,ze,Ue,Xt,x,Dr,Tt),dr=an=>t.createElement(Le.Z,{prefixCls:mn,switcherIcon:Se,treeNodeProps:an,showLine:ge}),[Rr]=(0,J.Cn)("SelectLike",Kt==null?void 0:Kt.zIndex),Sn=t.createElement(Be.ZP,Object.assign({virtual:Pt,disabled:Jt},Er,{dropdownMatchSelectWidth:ht,builtinPlacements:(0,j.Z)(cr,ke),ref:ye,prefixCls:Nn,className:nr,listHeight:$e,listItemHeight:Pr,treeCheckable:sr&&t.createElement("span",{className:`${Nn}-tree-checkbox-inner`}),treeLine:!!ge,suffixIcon:tn,multiple:zt,placement:Kr,removeIcon:$n,allowClear:yr,switcherIcon:dr,showTreeIcon:Oe,notFoundContent:jr,getPopupContainer:fe||lr,treeMotion:null,dropdownClassName:st,dropdownStyle:Object.assign(Object.assign({},Kt),{zIndex:Rr}),choiceTransitionName:(0,U.m)(En,"",Ye),transitionName:(0,U.m)(En,"slide-up",Ae),treeExpandAction:Bt,tagRender:zt?Qt:void 0,maxCount:rr,showCheckedStrategy:pr,treeCheckStrictly:Ur}));return K(ar(Sn))},de=t.forwardRef(vt),k=(0,y.Z)(de,"dropdownAlign",ie=>(0,G.Z)(ie,["visible"]));de.TreeNode=Be.OF,de.SHOW_ALL=Be.Qw,de.SHOW_PARENT=Be.hT,de.SHOW_CHILD=Be.FJ,de._InternalPanelDoNotUseOrYouWillBeFired=k;var te=de},51380:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return $e}});var t=a(70593),Fe=a(96641),$=a(67294),Be=a(46214),G=a(83963),J={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"},U=J,y=a(84180),W=function(g,Xe){return $.createElement(y.Z,(0,G.Z)({},g,{ref:Xe,icon:U}))},l=$.forwardRef(W),H=l,V={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"},Y=V,T=function(g,Xe){return $.createElement(y.Z,(0,G.Z)({},g,{ref:Xe,icon:Y}))},Z=$.forwardRef(T),E=Z,j=a(13144),A=a.n(j),M=a(10225),le=a(1089),ee=a(53124),C={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"},Le=C,Me=function(g,Xe){return $.createElement(y.Z,(0,G.Z)({},g,{ref:Xe,icon:Le}))},He=$.forwardRef(Me),We=He,Pe=a(33603),Ne=a(15729),ae=a(40561);const Ee=4;function R(re){const{dropPosition:g,dropLevelOffset:Xe,prefixCls:Se,indent:ge,direction:fe="ltr"}=re,q=fe==="ltr"?"left":"right",we=fe==="ltr"?"right":"left",Oe={[q]:-Xe*ge+Ee,[we]:0};switch(g){case-1:Oe.top=-3;break;case 1:Oe.bottom=-3;break;default:Oe.bottom=-3,Oe[q]=ge+Ee;break}return $.createElement("div",{style:Oe,className:`${Se}-drop-indicator`})}var N=R,vt=a(7349),de=$.forwardRef((re,g)=>{var Xe;const{getPrefixCls:Se,direction:ge,virtual:fe,tree:q}=$.useContext(ee.E_),{prefixCls:we,className:Oe,showIcon:Ae=!1,showLine:Ye,switcherIcon:At,switcherLoadingIcon:Bt,blockNode:cr=!1,children:ur,checkable:Et=!1,selectable:ut=!0,draggable:Mt,motion:Kt,style:Qt}=re,St=Se("tree",we),pr=Se(),Ur=Kt!=null?Kt:Object.assign(Object.assign({},(0,Pe.Z)(pr)),{motionAppear:!1}),Lt=Object.assign(Object.assign({},re),{checkable:Et,selectable:ut,showIcon:Ae,motion:Ur,blockNode:cr,showLine:!!Ye,dropIndicatorRender:N}),[lr,_t,w]=(0,ae.ZP)(St),[,P]=(0,Ne.ZP)(),Pt=P.paddingXS/2+(((Xe=P.Tree)===null||Xe===void 0?void 0:Xe.titleHeight)||P.controlHeightSM),ne=$.useMemo(()=>{if(!Mt)return!1;let Mr={};switch(typeof Mt){case"function":Mr.nodeDraggable=Mt;break;case"object":Mr=Object.assign({},Mt);break;default:break}return Mr.icon!==!1&&(Mr.icon=Mr.icon||$.createElement(We,null)),Mr},[Mt]),ke=Mr=>$.createElement(vt.Z,{prefixCls:St,switcherIcon:At,switcherLoadingIcon:Bt,treeNodeProps:Mr,showLine:Ye});return lr($.createElement(t.ZP,Object.assign({itemHeight:Pt,ref:g,virtual:fe},Lt,{style:Object.assign(Object.assign({},q==null?void 0:q.style),Qt),prefixCls:St,className:A()({[`${St}-icon-hide`]:!Ae,[`${St}-block-node`]:cr,[`${St}-unselectable`]:!ut,[`${St}-rtl`]:ge==="rtl"},q==null?void 0:q.className,Oe,_t,w),direction:ge,checkable:Et&&$.createElement("span",{className:`${St}-checkbox-inner`}),selectable:ut,switcherIcon:ke,draggable:ne}),ur))});const k=0,te=1,ie=2;function ye(re,g,Xe){const{key:Se,children:ge}=Xe;function fe(q){const we=q[Se],Oe=q[ge];g(we,q)!==!1&&ye(Oe||[],g,Xe)}re.forEach(fe)}function et(re){let{treeData:g,expandedKeys:Xe,startKey:Se,endKey:ge,fieldNames:fe}=re;const q=[];let we=k;if(Se&&Se===ge)return[Se];if(!Se||!ge)return[];function Oe(Ae){return Ae===Se||Ae===ge}return ye(g,Ae=>{if(we===ie)return!1;if(Oe(Ae)){if(q.push(Ae),we===k)we=te;else if(we===te)return we=ie,!1}else we===te&&q.push(Ae);return Xe.includes(Ae)},(0,le.w$)(fe)),q}function Te(re,g,Xe){const Se=(0,Fe.Z)(g),ge=[];return ye(re,(fe,q)=>{const we=Se.indexOf(fe);return we!==-1&&(ge.push(q),Se.splice(we,1)),!!Se.length},(0,le.w$)(Xe)),ge}var Qe=function(re,g){var Xe={};for(var Se in re)Object.prototype.hasOwnProperty.call(re,Se)&&g.indexOf(Se)<0&&(Xe[Se]=re[Se]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Se=Object.getOwnPropertySymbols(re);ge<Se.length;ge++)g.indexOf(Se[ge])<0&&Object.prototype.propertyIsEnumerable.call(re,Se[ge])&&(Xe[Se[ge]]=re[Se[ge]]);return Xe};function Wt(re){const{isLeaf:g,expanded:Xe}=re;return g?$.createElement(Be.Z,null):Xe?$.createElement(H,null):$.createElement(E,null)}function Ut(re){let{treeData:g,children:Xe}=re;return g||(0,le.zn)(Xe)}const ze=(re,g)=>{var{defaultExpandAll:Xe,defaultExpandParent:Se,defaultExpandedKeys:ge}=re,fe=Qe(re,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const q=$.useRef(null),we=$.useRef(null),Oe=()=>{const{keyEntities:lr}=(0,le.I8)(Ut(fe));let _t;return Xe?_t=Object.keys(lr):Se?_t=(0,M.r7)(fe.expandedKeys||ge||[],lr):_t=fe.expandedKeys||ge||[],_t},[Ae,Ye]=$.useState(fe.selectedKeys||fe.defaultSelectedKeys||[]),[At,Bt]=$.useState(()=>Oe());$.useEffect(()=>{"selectedKeys"in fe&&Ye(fe.selectedKeys)},[fe.selectedKeys]),$.useEffect(()=>{"expandedKeys"in fe&&Bt(fe.expandedKeys)},[fe.expandedKeys]);const cr=(lr,_t)=>{var w;return"expandedKeys"in fe||Bt(lr),(w=fe.onExpand)===null||w===void 0?void 0:w.call(fe,lr,_t)},ur=(lr,_t)=>{var w;const{multiple:P,fieldNames:Pt}=fe,{node:ne,nativeEvent:ke}=_t,{key:Mr=""}=ne,Pr=Ut(fe),En=Object.assign(Object.assign({},_t),{selected:!0}),Nn=(ke==null?void 0:ke.ctrlKey)||(ke==null?void 0:ke.metaKey),mn=ke==null?void 0:ke.shiftKey;let yn;P&&Nn?(yn=lr,q.current=Mr,we.current=yn,En.selectedNodes=Te(Pr,yn,Pt)):P&&mn?(yn=Array.from(new Set([].concat((0,Fe.Z)(we.current||[]),(0,Fe.Z)(et({treeData:Pr,expandedKeys:At,startKey:Mr,endKey:q.current,fieldNames:Pt}))))),En.selectedNodes=Te(Pr,yn,Pt)):(yn=[Mr],q.current=Mr,we.current=yn,En.selectedNodes=Te(Pr,yn,Pt)),(w=fe.onSelect)===null||w===void 0||w.call(fe,yn,En),"selectedKeys"in fe||Ye(yn)},{getPrefixCls:Et,direction:ut}=$.useContext(ee.E_),{prefixCls:Mt,className:Kt,showIcon:Qt=!0,expandAction:St="click"}=fe,pr=Qe(fe,["prefixCls","className","showIcon","expandAction"]),Ur=Et("tree",Mt),Lt=A()(`${Ur}-directory`,{[`${Ur}-directory-rtl`]:ut==="rtl"},Kt);return $.createElement(de,Object.assign({icon:Wt,ref:g,blockNode:!0},pr,{showIcon:Qt,expandAction:St,prefixCls:Ur,className:Lt,expandedKeys:At,selectedKeys:Ae,onSelect:ur,onExpand:cr}))};var sr=$.forwardRef(ze);const tr=de;tr.DirectoryTree=sr,tr.TreeNode=t.OF;var $e=tr},40561:function(on,Yt,a){"use strict";a.d(Yt,{ZP:function(){return Z},Yk:function(){return V},TM:function(){return Y}});var t=a(16777),Fe=a(63185),$=a(14747),Be=a(33507),G=a(43259),J=a(83559);const U=E=>{let{treeCls:j,treeNodeCls:A,directoryNodeSelectedBg:M,directoryNodeSelectedColor:le,motionDurationMid:ee,borderRadius:C,controlItemBgHover:Le}=E;return{[`${j}${j}-directory ${A}`]:{[`${j}-node-content-wrapper`]:{position:"static",[`> *:not(${j}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${ee}`,content:'""',borderRadius:C},"&:hover:before":{background:Le}},[`${j}-switcher, ${j}-checkbox, ${j}-draggable-icon`]:{zIndex:1},"&-selected":{[`${j}-switcher, ${j}-draggable-icon`]:{color:le},[`${j}-node-content-wrapper`]:{color:le,background:"transparent","&:before, &:hover:before":{background:M}}}}}},y=new t.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),W=(E,j)=>({[`.${E}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${j.motionDurationSlow}`}}}),l=(E,j)=>({[`.${E}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:j.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,t.unit)(j.lineWidthBold)} solid ${j.colorPrimary}`,borderRadius:"50%",content:'""'}}}),H=(E,j)=>{const{treeCls:A,treeNodeCls:M,treeNodePadding:le,titleHeight:ee,indentSize:C,nodeSelectedBg:Le,nodeHoverBg:Me,colorTextQuaternary:He,controlItemBgActiveDisabled:We}=j;return{[A]:Object.assign(Object.assign({},(0,$.Wf)(j)),{background:j.colorBgContainer,borderRadius:j.borderRadius,transition:`background-color ${j.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${A}-rtl ${A}-switcher_close ${A}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${A}-active-focused)`]:Object.assign({},(0,$.oN)(j)),[`${A}-list-holder-inner`]:{alignItems:"flex-start"},[`&${A}-block-node`]:{[`${A}-list-holder-inner`]:{alignItems:"stretch",[`${A}-node-content-wrapper`]:{flex:"auto"},[`${M}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${j.colorPrimary}`,opacity:0,animationName:y,animationDuration:j.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:j.borderRadius}}},[M]:{display:"flex",alignItems:"flex-start",marginBottom:le,lineHeight:(0,t.unit)(ee),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:le},[`&-disabled ${A}-node-content-wrapper`]:{color:j.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${A}-checkbox-disabled + ${A}-node-selected,&${M}-disabled${M}-selected ${A}-node-content-wrapper`]:{backgroundColor:We},[`${A}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${M}-disabled)`]:{[`${A}-node-content-wrapper`]:{"&:hover":{color:j.nodeHoverColor}}},[`&-active ${A}-node-content-wrapper`]:{background:j.controlItemBgHover},[`&:not(${M}-disabled).filter-node ${A}-title`]:{color:j.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${A}-draggable-icon`]:{flexShrink:0,width:ee,textAlign:"center",visibility:"visible",color:He},[`&${M}-disabled ${A}-draggable-icon`]:{visibility:"hidden"}}},[`${A}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:C}},[`${A}-draggable-icon`]:{visibility:"hidden"},[`${A}-switcher, ${A}-checkbox`]:{marginInlineEnd:j.calc(j.calc(ee).sub(j.controlInteractiveSize)).div(2).equal()},[`${A}-switcher`]:Object.assign(Object.assign({},W(E,j)),{position:"relative",flex:"none",alignSelf:"stretch",width:ee,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${j.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:ee,height:ee,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:j.borderRadius,transition:`all ${j.motionDurationSlow}`},[`&:not(${A}-switcher-noop):hover:before`]:{backgroundColor:j.colorBgTextHover},[`&_close ${A}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:j.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:j.calc(ee).div(2).equal(),bottom:j.calc(le).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${j.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:j.calc(j.calc(ee).div(2).equal()).mul(.8).equal(),height:j.calc(ee).div(2).equal(),borderBottom:`1px solid ${j.colorBorder}`,content:'""'}}}),[`${A}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:ee,paddingBlock:0,paddingInline:j.paddingXS,background:"transparent",borderRadius:j.borderRadius,cursor:"pointer",transition:`all ${j.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},l(E,j)),{"&:hover":{backgroundColor:Me},[`&${A}-node-selected`]:{color:j.nodeSelectedColor,backgroundColor:Le},[`${A}-iconEle`]:{display:"inline-block",width:ee,height:ee,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${A}-unselectable ${A}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${M}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${j.colorPrimary}`},"&-show-line":{[`${A}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:j.calc(ee).div(2).equal(),bottom:j.calc(le).mul(-1).equal(),borderInlineEnd:`1px solid ${j.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${A}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${M}-leaf-last ${A}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,t.unit)(j.calc(ee).div(2).equal())} !important`}})}},V=function(E,j){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const M=`.${E}`,le=`${M}-treenode`,ee=j.calc(j.paddingXS).div(2).equal(),C=(0,G.mergeToken)(j,{treeCls:M,treeNodeCls:le,treeNodePadding:ee});return[H(E,C),A&&U(C)].filter(Boolean)},Y=E=>{const{controlHeightSM:j,controlItemBgHover:A,controlItemBgActive:M}=E,le=j;return{titleHeight:le,indentSize:le,nodeHoverBg:A,nodeHoverColor:E.colorText,nodeSelectedBg:M,nodeSelectedColor:E.colorText}},T=E=>{const{colorTextLightSolid:j,colorPrimary:A}=E;return Object.assign(Object.assign({},Y(E)),{directoryNodeSelectedColor:j,directoryNodeSelectedBg:A})};var Z=(0,J.I$)("Tree",(E,j)=>{let{prefixCls:A}=j;return[{[E.componentCls]:(0,Fe.C2)(`${A}-checkbox`,E)},V(A,E),(0,Be.Z)(E)]},T)},7349:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return He}});var t=a(67294),Fe=a(83963),$={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"},Be=$,G=a(84180),J=function(Pe,Ne){return t.createElement(G.Z,(0,Fe.Z)({},Pe,{ref:Ne,icon:Be}))},U=t.forwardRef(J),y=U,W=a(46214),l=a(77322),H={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"},V=H,Y=function(Pe,Ne){return t.createElement(G.Z,(0,Fe.Z)({},Pe,{ref:Ne,icon:V}))},T=t.forwardRef(Y),Z=T,E={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"},j=E,A=function(Pe,Ne){return t.createElement(G.Z,(0,Fe.Z)({},Pe,{ref:Ne,icon:j}))},M=t.forwardRef(A),le=M,ee=a(13144),C=a.n(ee),Le=a(96159),He=We=>{const{prefixCls:Pe,switcherIcon:Ne,treeNodeProps:ae,showLine:Ee,switcherLoadingIcon:R}=We,{isLeaf:N,expanded:vt,loading:ve}=ae;if(ve)return t.isValidElement(R)?R:t.createElement(l.Z,{className:`${Pe}-switcher-loading-icon`});let de;if(Ee&&typeof Ee=="object"&&(de=Ee.showLeafIcon),N){if(!Ee)return null;if(typeof de!="boolean"&&de){const ie=typeof de=="function"?de(ae):de,ye=`${Pe}-switcher-line-custom-icon`;return t.isValidElement(ie)?(0,Le.Tm)(ie,{className:C()(ie.props.className||"",ye)}):ie}return de?t.createElement(W.Z,{className:`${Pe}-switcher-line-icon`}):t.createElement("span",{className:`${Pe}-switcher-leaf-line`})}const k=`${Pe}-switcher-icon`,te=typeof Ne=="function"?Ne(ae):Ne;return t.isValidElement(te)?(0,Le.Tm)(te,{className:C()(te.props.className||"",k)}):te!==void 0?te:Ee?vt?t.createElement(Z,{className:`${Pe}-switcher-line-icon`}):t.createElement(le,{className:`${Pe}-switcher-line-icon`}):t.createElement(y,{className:k})}},33128:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return $n}});var t=a(67294),Fe=a(83963),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Be=$,G=a(84180),J=function(yr,jr){return t.createElement(G.Z,(0,Fe.Z)({},yr,{ref:jr,icon:Be}))},U=t.forwardRef(J),y=U,W=a(13144),l=a.n(W),H=a(38978),V=a(37419),Y=a(14075),T=a(5663),Z=a(10366),E=a(17799),j=a(70526),A=function(yr){if((0,j.Z)()&&window.document.documentElement){var jr=Array.isArray(yr)?yr:[yr],Er=window.document.documentElement;return jr.some(function(Kr){return Kr in Er.style})}return!1},M=function(yr,jr){if(!A(yr))return!1;var Er=document.createElement("div"),Kr=Er.style[yr];return Er.style[yr]=jr,Er.style[yr]!==Kr};function le(Vt,yr){return!Array.isArray(Vt)&&yr!==void 0?M(Vt,yr):A(Vt)}var ee=a(53124),C=a(10110),Le=a(83062),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},He=Me,We=function(yr,jr){return t.createElement(G.Z,(0,Fe.Z)({},yr,{ref:jr,icon:He}))},Pe=t.forwardRef(We),Ne=Pe,ae=a(92389),Ee=a(96159),R=a(35301),N=a(14747),vt=a(83559),ve=a(65409),de=a(16777);const k=(Vt,yr,jr,Er)=>{const{titleMarginBottom:Kr,fontWeightStrong:Jr}=Er;return{marginBottom:Kr,color:jr,fontWeight:Jr,fontSize:Vt,lineHeight:yr}},te=Vt=>{const yr=[1,2,3,4,5],jr={};return yr.forEach(Er=>{jr[`
|
|
|
h${Er}&,
|
|
|
div&-h${Er},
|
|
|
div&-h${Er} > textarea,
|
|
|
h${Er}
|
|
|
`]=k(Vt[`fontSizeHeading${Er}`],Vt[`lineHeightHeading${Er}`],Vt.colorTextHeading,Vt)}),jr},ie=Vt=>{const{componentCls:yr}=Vt;return{"a&, a":Object.assign(Object.assign({},(0,N.Nd)(Vt)),{userSelect:"text",[`&[disabled], &${yr}-disabled`]:{color:Vt.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:Vt.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},ye=Vt=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:Vt.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:Vt.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:ve.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:Vt.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),et=Vt=>{const{componentCls:yr,paddingSM:jr}=Vt,Er=jr;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:Vt.calc(Vt.paddingSM).mul(-1).equal(),marginTop:Vt.calc(Er).mul(-1).equal(),marginBottom:`calc(1em - ${(0,de.unit)(Er)})`},[`${yr}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:Vt.calc(Vt.marginXS).add(2).equal(),insetBlockEnd:Vt.marginXS,color:Vt.colorTextDescription,fontWeight:"normal",fontSize:Vt.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Te=Vt=>({[`${Vt.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:Vt.colorSuccess}},[`${Vt.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),Qe=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Wt=Vt=>{const{componentCls:yr,titleMarginTop:jr}=Vt;return{[yr]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:Vt.colorText,wordBreak:"break-word",lineHeight:Vt.lineHeight,[`&${yr}-secondary`]:{color:Vt.colorTextDescription},[`&${yr}-success`]:{color:Vt.colorSuccessText},[`&${yr}-warning`]:{color:Vt.colorWarningText},[`&${yr}-danger`]:{color:Vt.colorErrorText,"a&:active, a&:focus":{color:Vt.colorErrorTextActive},"a&:hover":{color:Vt.colorErrorTextHover}},[`&${yr}-disabled`]:{color:Vt.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},te(Vt)),{[`
|
|
|
& + h1${yr},
|
|
|
& + h2${yr},
|
|
|
& + h3${yr},
|
|
|
& + h4${yr},
|
|
|
& + h5${yr}
|
|
|
`]:{marginTop:jr},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:jr}}}),ye(Vt)),ie(Vt)),{[`
|
|
|
${yr}-expand,
|
|
|
${yr}-collapse,
|
|
|
${yr}-edit,
|
|
|
${yr}-copy
|
|
|
`]:Object.assign(Object.assign({},(0,N.Nd)(Vt)),{marginInlineStart:Vt.marginXXS})}),et(Vt)),Te(Vt)),Qe()),{"&-rtl":{direction:"rtl"}})}},Ut=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var ze=(0,vt.I$)("Typography",Vt=>[Wt(Vt)],Ut),sr=Vt=>{const{prefixCls:yr,"aria-label":jr,className:Er,style:Kr,direction:Jr,maxLength:mt,autoSize:Jt=!0,value:nr,onSave:dr,onCancel:Rr,onEnd:Sn,component:an,enterIcon:An=t.createElement(Ne,null)}=Vt,zn=t.useRef(null),Gr=t.useRef(!1),Kn=t.useRef(null),[In,ha]=t.useState(nr);t.useEffect(()=>{ha(nr)},[nr]),t.useEffect(()=>{var _;if(!((_=zn.current)===null||_===void 0)&&_.resizableTextArea){const{textArea:Ce}=zn.current.resizableTextArea;Ce.focus();const{length:_e}=Ce.value;Ce.setSelectionRange(_e,_e)}},[]);const Oa=_=>{let{target:Ce}=_;ha(Ce.value.replace(/[\n\r]/g,""))},Ca=()=>{Gr.current=!0},ra=()=>{Gr.current=!1},p=_=>{let{keyCode:Ce}=_;Gr.current||(Kn.current=Ce)},c=()=>{dr(In.trim())},d=_=>{let{keyCode:Ce,ctrlKey:_e,altKey:Ge,metaKey:nt,shiftKey:me}=_;Kn.current!==Ce||Gr.current||_e||Ge||nt||me||(Ce===ae.Z.ENTER?(c(),Sn==null||Sn()):Ce===ae.Z.ESC&&Rr())},v=()=>{c()},[I,b,B]=ze(yr),X=l()(yr,`${yr}-edit-content`,{[`${yr}-rtl`]:Jr==="rtl",[`${yr}-${an}`]:!!an},Er,b,B);return I(t.createElement("div",{className:X,style:Kr},t.createElement(R.Z,{ref:zn,maxLength:mt,value:In,onChange:Oa,onKeyDown:p,onKeyUp:d,onCompositionStart:Ca,onCompositionEnd:ra,onBlur:v,"aria-label":jr,rows:1,autoSize:Jt}),An!==null?(0,Ee.Tm)(An,{className:`${yr}-edit-content-confirm`}):null))},tr=a(20640),$e=a.n(tr),re=a(77527),Xe=function(Vt){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&Vt==null?[]:Array.isArray(Vt)?Vt:[Vt]},Se=function(Vt,yr,jr,Er){function Kr(Jr){return Jr instanceof jr?Jr:new jr(function(mt){mt(Jr)})}return new(jr||(jr=Promise))(function(Jr,mt){function Jt(Rr){try{dr(Er.next(Rr))}catch(Sn){mt(Sn)}}function nr(Rr){try{dr(Er.throw(Rr))}catch(Sn){mt(Sn)}}function dr(Rr){Rr.done?Jr(Rr.value):Kr(Rr.value).then(Jt,nr)}dr((Er=Er.apply(Vt,yr||[])).next())})},fe=Vt=>{let{copyConfig:yr,children:jr}=Vt;const[Er,Kr]=t.useState(!1),[Jr,mt]=t.useState(!1),Jt=t.useRef(null),nr=()=>{Jt.current&&clearTimeout(Jt.current)},dr={};yr.format&&(dr.format=yr.format),t.useEffect(()=>nr,[]);const Rr=(0,re.Z)(Sn=>Se(void 0,void 0,void 0,function*(){var an;Sn==null||Sn.preventDefault(),Sn==null||Sn.stopPropagation(),mt(!0);try{const An=typeof yr.text=="function"?yield yr.text():yr.text;$e()(An||Xe(jr,!0).join("")||"",dr),mt(!1),Kr(!0),nr(),Jt.current=setTimeout(()=>{Kr(!1)},3e3),(an=yr.onCopy)===null||an===void 0||an.call(yr,Sn)}catch(An){throw mt(!1),An}}));return{copied:Er,copyLoading:Jr,onClick:Rr}};function q(Vt,yr){return t.useMemo(()=>{const jr=!!Vt;return[jr,Object.assign(Object.assign({},yr),jr&&typeof Vt=="object"?Vt:null)]},[Vt])}var Oe=Vt=>{const yr=(0,t.useRef)(void 0);return(0,t.useEffect)(()=>{yr.current=Vt}),yr.current},Ye=(Vt,yr,jr)=>(0,t.useMemo)(()=>Vt===!0?{title:yr!=null?yr:jr}:(0,t.isValidElement)(Vt)?{title:Vt}:typeof Vt=="object"?Object.assign({title:yr!=null?yr:jr},Vt):{title:Vt},[Vt,yr,jr]),At=function(Vt,yr){var jr={};for(var Er in Vt)Object.prototype.hasOwnProperty.call(Vt,Er)&&yr.indexOf(Er)<0&&(jr[Er]=Vt[Er]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Er=Object.getOwnPropertySymbols(Vt);Kr<Er.length;Kr++)yr.indexOf(Er[Kr])<0&&Object.prototype.propertyIsEnumerable.call(Vt,Er[Kr])&&(jr[Er[Kr]]=Vt[Er[Kr]]);return jr},cr=t.forwardRef((Vt,yr)=>{const{prefixCls:jr,component:Er="article",className:Kr,rootClassName:Jr,setContentRef:mt,children:Jt,direction:nr,style:dr}=Vt,Rr=At(Vt,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:Sn,direction:an,className:An,style:zn}=(0,ee.dj)("typography"),Gr=nr!=null?nr:an,Kn=mt?(0,E.sQ)(yr,mt):yr,In=Sn("typography",jr),[ha,Oa,Ca]=ze(In),ra=l()(In,An,{[`${In}-rtl`]:Gr==="rtl"},Kr,Jr,Oa,Ca),p=Object.assign(Object.assign({},zn),dr);return ha(t.createElement(Er,Object.assign({className:ra,style:p,ref:Kn},Rr),Jt))}),ur=a(60068),Et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},ut=Et,Mt=function(yr,jr){return t.createElement(G.Z,(0,Fe.Z)({},yr,{ref:jr,icon:ut}))},Kt=t.forwardRef(Mt),Qt=Kt,St=a(77322);function pr(Vt){return Vt===!1?[!1,!1]:Array.isArray(Vt)?Vt:[Vt]}function Ur(Vt,yr,jr){return Vt===!0||Vt===void 0?yr:Vt||jr&&yr}function Lt(Vt){const yr=document.createElement("em");Vt.appendChild(yr);const jr=Vt.getBoundingClientRect(),Er=yr.getBoundingClientRect();return Vt.removeChild(yr),jr.left>Er.left||Er.right>jr.right||jr.top>Er.top||Er.bottom>jr.bottom}const lr=Vt=>["string","number"].includes(typeof Vt);var w=Vt=>{let{prefixCls:yr,copied:jr,locale:Er,iconOnly:Kr,tooltips:Jr,icon:mt,tabIndex:Jt,onCopy:nr,loading:dr}=Vt;const Rr=pr(Jr),Sn=pr(mt),{copied:an,copy:An}=Er!=null?Er:{},zn=jr?an:An,Gr=Ur(Rr[jr?1:0],zn),Kn=typeof Gr=="string"?Gr:zn;return t.createElement(Le.Z,{title:Gr},t.createElement("button",{type:"button",className:l()(`${yr}-copy`,{[`${yr}-copy-success`]:jr,[`${yr}-copy-icon-only`]:Kr}),onClick:nr,"aria-label":Kn,tabIndex:Jt},jr?Ur(Sn[1],t.createElement(ur.Z,null),!0):Ur(Sn[0],dr?t.createElement(St.Z,null):t.createElement(Qt,null),!0)))},P=a(96641);const Pt=t.forwardRef((Vt,yr)=>{let{style:jr,children:Er}=Vt;const Kr=t.useRef(null);return t.useImperativeHandle(yr,()=>({isExceed:()=>{const Jr=Kr.current;return Jr.scrollHeight>Jr.clientHeight},getHeight:()=>Kr.current.clientHeight})),t.createElement("span",{"aria-hidden":!0,ref:Kr,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},jr)},Er)}),ne=Vt=>Vt.reduce((yr,jr)=>yr+(lr(jr)?String(jr).length:1),0);function ke(Vt,yr){let jr=0;const Er=[];for(let Kr=0;Kr<Vt.length;Kr+=1){if(jr===yr)return Er;const Jr=Vt[Kr],Jt=lr(Jr)?String(Jr).length:1,nr=jr+Jt;if(nr>yr){const dr=yr-jr;return Er.push(String(Jr).slice(0,dr)),Er}Er.push(Jr),jr=nr}return Vt}const Mr=0,Pr=1,En=2,Nn=3,mn=4,yn={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Cn(Vt){const{enableMeasure:yr,width:jr,text:Er,children:Kr,rows:Jr,expanded:mt,miscDeps:Jt,onEllipsis:nr}=Vt,dr=t.useMemo(()=>(0,V.Z)(Er),[Er]),Rr=t.useMemo(()=>ne(dr),[Er]),Sn=t.useMemo(()=>Kr(dr,!1),[Er]),[an,An]=t.useState(null),zn=t.useRef(null),Gr=t.useRef(null),Kn=t.useRef(null),In=t.useRef(null),ha=t.useRef(null),[Oa,Ca]=t.useState(!1),[ra,p]=t.useState(Mr),[c,d]=t.useState(0),[v,I]=t.useState(null);(0,Y.Z)(()=>{p(yr&&jr&&Rr?Pr:Mr)},[jr,Er,Jr,yr,dr]),(0,Y.Z)(()=>{var _,Ce,_e,Ge;if(ra===Pr){p(En);const nt=Gr.current&&getComputedStyle(Gr.current).whiteSpace;I(nt)}else if(ra===En){const nt=!!(!((_=Kn.current)===null||_===void 0)&&_.isExceed());p(nt?Nn:mn),An(nt?[0,Rr]:null),Ca(nt);const me=((Ce=Kn.current)===null||Ce===void 0?void 0:Ce.getHeight())||0,Gt=Jr===1?0:((_e=In.current)===null||_e===void 0?void 0:_e.getHeight())||0,oe=((Ge=ha.current)===null||Ge===void 0?void 0:Ge.getHeight())||0,jt=Math.max(me,Gt+oe);d(jt+1),nr(nt)}},[ra]);const b=an?Math.ceil((an[0]+an[1])/2):0;(0,Y.Z)(()=>{var _;const[Ce,_e]=an||[0,0];if(Ce!==_e){const nt=(((_=zn.current)===null||_===void 0?void 0:_.getHeight())||0)>c;let me=b;_e-Ce===1&&(me=nt?Ce:_e),An(nt?[Ce,me]:[me,_e])}},[an,b]);const B=t.useMemo(()=>{if(!yr)return Kr(dr,!1);if(ra!==Nn||!an||an[0]!==an[1]){const _=Kr(dr,!1);return[mn,Mr].includes(ra)?_:t.createElement("span",{style:Object.assign(Object.assign({},yn),{WebkitLineClamp:Jr})},_)}return Kr(mt?dr:ke(dr,an[0]),Oa)},[mt,ra,an,dr].concat((0,P.Z)(Jt))),X={width:jr,margin:0,padding:0,whiteSpace:v==="nowrap"?"normal":"inherit"};return t.createElement(t.Fragment,null,B,ra===En&&t.createElement(t.Fragment,null,t.createElement(Pt,{style:Object.assign(Object.assign(Object.assign({},X),yn),{WebkitLineClamp:Jr}),ref:Kn},Sn),t.createElement(Pt,{style:Object.assign(Object.assign(Object.assign({},X),yn),{WebkitLineClamp:Jr-1}),ref:In},Sn),t.createElement(Pt,{style:Object.assign(Object.assign(Object.assign({},X),yn),{WebkitLineClamp:1}),ref:ha},Kr([],!0))),ra===Nn&&an&&an[0]!==an[1]&&t.createElement(Pt,{style:Object.assign(Object.assign({},X),{top:400}),ref:zn},Kr(ke(dr,b),!0)),ra===Pr&&t.createElement("span",{style:{whiteSpace:"inherit"},ref:Gr}))}var x=Vt=>{let{enableEllipsis:yr,isEllipsis:jr,children:Er,tooltipProps:Kr}=Vt;return!(Kr!=null&&Kr.title)||!yr?Er:t.createElement(Le.Z,Object.assign({open:jr?void 0:!1},Kr),Er)},Dr=function(Vt,yr){var jr={};for(var Er in Vt)Object.prototype.hasOwnProperty.call(Vt,Er)&&yr.indexOf(Er)<0&&(jr[Er]=Vt[Er]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Er=Object.getOwnPropertySymbols(Vt);Kr<Er.length;Kr++)yr.indexOf(Er[Kr])<0&&Object.prototype.propertyIsEnumerable.call(Vt,Er[Kr])&&(jr[Er[Kr]]=Vt[Er[Kr]]);return jr};function K(Vt,yr){let{mark:jr,code:Er,underline:Kr,delete:Jr,strong:mt,keyboard:Jt,italic:nr}=Vt,dr=yr;function Rr(Sn,an){an&&(dr=t.createElement(Sn,{},dr))}return Rr("strong",mt),Rr("u",Kr),Rr("del",Jr),Rr("code",Er),Rr("mark",jr),Rr("kbd",Jt),Rr("i",nr),dr}const Tt="...";var ar=t.forwardRef((Vt,yr)=>{var jr;const{prefixCls:Er,className:Kr,style:Jr,type:mt,disabled:Jt,children:nr,ellipsis:dr,editable:Rr,copyable:Sn,component:an,title:An}=Vt,zn=Dr(Vt,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:Gr,direction:Kn}=t.useContext(ee.E_),[In]=(0,C.Z)("Text"),ha=t.useRef(null),Oa=t.useRef(null),Ca=Gr("typography",Er),ra=(0,Z.Z)(zn,["mark","code","delete","underline","strong","keyboard","italic"]),[p,c]=q(Rr),[d,v]=(0,T.Z)(!1,{value:c.editing}),{triggerType:I=["icon"]}=c,b=Qr=>{var bt;Qr&&((bt=c.onStart)===null||bt===void 0||bt.call(c)),v(Qr)},B=Oe(d);(0,Y.Z)(()=>{var Qr;!d&&B&&((Qr=Oa.current)===null||Qr===void 0||Qr.focus())},[d]);const X=Qr=>{Qr==null||Qr.preventDefault(),b(!0)},_=Qr=>{var bt;(bt=c.onChange)===null||bt===void 0||bt.call(c,Qr),b(!1)},Ce=()=>{var Qr;(Qr=c.onCancel)===null||Qr===void 0||Qr.call(c),b(!1)},[_e,Ge]=q(Sn),{copied:nt,copyLoading:me,onClick:Gt}=fe({copyConfig:Ge,children:nr}),[oe,jt]=t.useState(!1),[lt,Zt]=t.useState(!1),[wr,cn]=t.useState(!1),[vn,On]=t.useState(!1),[qr,kt]=t.useState(!0),[un,gn]=q(dr,{expandable:!1,symbol:Qr=>Qr?In==null?void 0:In.collapse:In==null?void 0:In.expand}),[yt,Ct]=(0,T.Z)(gn.defaultExpanded||!1,{value:gn.expanded}),ir=un&&(!yt||gn.expandable==="collapsible"),{rows:Rt=1}=gn,Zr=t.useMemo(()=>ir&&(gn.suffix!==void 0||gn.onEllipsis||gn.expandable||p||_e),[ir,gn,p,_e]);(0,Y.Z)(()=>{un&&!Zr&&(jt(le("webkitLineClamp")),Zt(le("textOverflow")))},[Zr,un]);const[br,Br]=t.useState(ir),Fr=t.useMemo(()=>Zr?!1:Rt===1?lt:oe,[Zr,lt,oe]);(0,Y.Z)(()=>{Br(Fr&&ir)},[Fr,ir]);const Xr=ir&&(br?vn:wr),kr=ir&&Rt===1&&br,Un=ir&&Rt>1&&br,Ke=(Qr,bt)=>{var xt;Ct(bt.expanded),(xt=gn.onExpand)===null||xt===void 0||xt.call(gn,Qr,bt)},[be,ce]=t.useState(0),Je=Qr=>{let{offsetWidth:bt}=Qr;ce(bt)},dt=Qr=>{var bt;cn(Qr),wr!==Qr&&((bt=gn.onEllipsis)===null||bt===void 0||bt.call(gn,Qr))};t.useEffect(()=>{const Qr=ha.current;if(un&&br&&Qr){const bt=Lt(Qr);vn!==bt&&On(bt)}},[un,br,nr,Un,qr,be]),t.useEffect(()=>{const Qr=ha.current;if(typeof IntersectionObserver=="undefined"||!Qr||!br||!ir)return;const bt=new IntersectionObserver(()=>{kt(!!Qr.offsetParent)});return bt.observe(Qr),()=>{bt.disconnect()}},[br,ir]);const Nt=Ye(gn.tooltip,c.text,nr),$t=t.useMemo(()=>{if(!(!un||br))return[c.text,nr,An,Nt.title].find(lr)},[un,br,An,Nt.title,Xr]);if(d)return t.createElement(sr,{value:(jr=c.text)!==null&&jr!==void 0?jr:typeof nr=="string"?nr:"",onSave:_,onCancel:Ce,onEnd:c.onEnd,prefixCls:Ca,className:Kr,style:Jr,direction:Kn,component:an,maxLength:c.maxLength,autoSize:c.autoSize,enterIcon:c.enterIcon});const er=()=>{const{expandable:Qr,symbol:bt}=gn;return Qr?t.createElement("button",{type:"button",key:"expand",className:`${Ca}-${yt?"collapse":"expand"}`,onClick:xt=>Ke(xt,{expanded:!yt}),"aria-label":yt?In.collapse:In==null?void 0:In.expand},typeof bt=="function"?bt(yt):bt):null},It=()=>{if(!p)return;const{icon:Qr,tooltip:bt,tabIndex:xt}=c,rn=(0,V.Z)(bt)[0]||(In==null?void 0:In.edit),Mn=typeof rn=="string"?rn:"";return I.includes("icon")?t.createElement(Le.Z,{key:"edit",title:bt===!1?"":rn},t.createElement("button",{type:"button",ref:Oa,className:`${Ca}-edit`,onClick:X,"aria-label":Mn,tabIndex:xt},Qr||t.createElement(y,{role:"button"}))):null},Cr=()=>_e?t.createElement(w,Object.assign({key:"copy"},Ge,{prefixCls:Ca,copied:nt,locale:In,onCopy:Gt,loading:me,iconOnly:nr==null})):null,Hr=Qr=>[Qr&&er(),It(),Cr()],sn=Qr=>[Qr&&!yt&&t.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Tt),gn.suffix,Hr(Qr)];return t.createElement(H.Z,{onResize:Je,disabled:!ir},Qr=>t.createElement(x,{tooltipProps:Nt,enableEllipsis:ir,isEllipsis:Xr},t.createElement(cr,Object.assign({className:l()({[`${Ca}-${mt}`]:mt,[`${Ca}-disabled`]:Jt,[`${Ca}-ellipsis`]:un,[`${Ca}-ellipsis-single-line`]:kr,[`${Ca}-ellipsis-multiple-line`]:Un},Kr),prefixCls:Er,style:Object.assign(Object.assign({},Jr),{WebkitLineClamp:Un?Rt:void 0}),component:an,ref:(0,E.sQ)(Qr,ha,yr),direction:Kn,onClick:I.includes("text")?X:void 0,"aria-label":$t==null?void 0:$t.toString(),title:An},ra),t.createElement(Cn,{enableMeasure:ir&&!br,text:nr,rows:Rt,width:be,onEllipsis:dt,expanded:yt,miscDeps:[nt,yt,me,p,_e,In]},(bt,xt)=>K(Vt,t.createElement(t.Fragment,null,bt.length>0&&xt&&!yt&&$t?t.createElement("span",{key:"show-content","aria-hidden":!0},bt):bt,sn(xt)))))))}),ot=function(Vt,yr){var jr={};for(var Er in Vt)Object.prototype.hasOwnProperty.call(Vt,Er)&&yr.indexOf(Er)<0&&(jr[Er]=Vt[Er]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Er=Object.getOwnPropertySymbols(Vt);Kr<Er.length;Kr++)yr.indexOf(Er[Kr])<0&&Object.prototype.propertyIsEnumerable.call(Vt,Er[Kr])&&(jr[Er[Kr]]=Vt[Er[Kr]]);return jr},st=t.forwardRef((Vt,yr)=>{var{ellipsis:jr,rel:Er}=Vt,Kr=ot(Vt,["ellipsis","rel"]);const Jr=Object.assign(Object.assign({},Kr),{rel:Er===void 0&&Kr.target==="_blank"?"noopener noreferrer":Er});return delete Jr.navigate,t.createElement(ar,Object.assign({},Jr,{ref:yr,ellipsis:!!jr,component:"a"}))}),rr=t.forwardRef((Vt,yr)=>t.createElement(ar,Object.assign({ref:yr},Vt,{component:"div"}))),fr=function(Vt,yr){var jr={};for(var Er in Vt)Object.prototype.hasOwnProperty.call(Vt,Er)&&yr.indexOf(Er)<0&&(jr[Er]=Vt[Er]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Er=Object.getOwnPropertySymbols(Vt);Kr<Er.length;Kr++)yr.indexOf(Er[Kr])<0&&Object.prototype.propertyIsEnumerable.call(Vt,Er[Kr])&&(jr[Er[Kr]]=Vt[Er[Kr]]);return jr};const ht=(Vt,yr)=>{var{ellipsis:jr}=Vt,Er=fr(Vt,["ellipsis"]);const Kr=t.useMemo(()=>jr&&typeof jr=="object"?(0,Z.Z)(jr,["expandable","rows"]):jr,[jr]);return t.createElement(ar,Object.assign({ref:yr},Er,{ellipsis:Kr,component:"span"}))};var ln=t.forwardRef(ht),pe=function(Vt,yr){var jr={};for(var Er in Vt)Object.prototype.hasOwnProperty.call(Vt,Er)&&yr.indexOf(Er)<0&&(jr[Er]=Vt[Er]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kr=0,Er=Object.getOwnPropertySymbols(Vt);Kr<Er.length;Kr++)yr.indexOf(Er[Kr])<0&&Object.prototype.propertyIsEnumerable.call(Vt,Er[Kr])&&(jr[Er[Kr]]=Vt[Er[Kr]]);return jr};const qt=[1,2,3,4,5];var $r=t.forwardRef((Vt,yr)=>{const{level:jr=1}=Vt,Er=pe(Vt,["level"]),Kr=qt.includes(jr)?`h${jr}`:"h1";return t.createElement(ar,Object.assign({ref:yr},Er,{component:Kr}))});const tn=cr;tn.Text=ln,tn.Link=st,tn.Title=$r,tn.Paragraph=rr;var $n=tn},35059:function(on,Yt,a){"use strict";a.d(Yt,{default:function(){return Tt}});var t=a(67294),Fe=a(96641),$=a(73935),Be=a(13144),G=a.n(Be),J=a(36356),U=a(5663),y=a(53124),W=a(98866),l=a(10110),H=a(24457),V=a(14747),Y=a(33507),T=a(83559),Z=a(43259),E=a(16777),A=Xt=>{const{componentCls:ar,iconCls:ot}=Xt;return{[`${ar}-wrapper`]:{[`${ar}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Xt.colorFillAlter,border:`${(0,E.unit)(Xt.lineWidth)} dashed ${Xt.colorBorder}`,borderRadius:Xt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Xt.motionDurationSlow}`,[ar]:{padding:Xt.padding},[`${ar}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Xt.borderRadiusLG,"&:focus-visible":{outline:`${(0,E.unit)(Xt.lineWidthFocus)} solid ${Xt.colorPrimaryBorder}`}},[`${ar}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${ar}-disabled):hover,
|
|
|
&-hover:not(${ar}-disabled)
|
|
|
`]:{borderColor:Xt.colorPrimaryHover},[`p${ar}-drag-icon`]:{marginBottom:Xt.margin,[ot]:{color:Xt.colorPrimary,fontSize:Xt.uploadThumbnailSize}},[`p${ar}-text`]:{margin:`0 0 ${(0,E.unit)(Xt.marginXXS)}`,color:Xt.colorTextHeading,fontSize:Xt.fontSizeLG},[`p${ar}-hint`]:{color:Xt.colorTextDescription,fontSize:Xt.fontSize},[`&${ar}-disabled`]:{[`p${ar}-drag-icon ${ot},
|
|
|
p${ar}-text,
|
|
|
p${ar}-hint
|
|
|
`]:{color:Xt.colorTextDisabled}}}}}},le=Xt=>{const{componentCls:ar,iconCls:ot,fontSize:Ie,lineHeight:st,calc:zt}=Xt,rr=`${ar}-list-item`,fr=`${rr}-actions`,ht=`${rr}-action`;return{[`${ar}-wrapper`]:{[`${ar}-list`]:Object.assign(Object.assign({},(0,V.dF)()),{lineHeight:Xt.lineHeight,[rr]:{position:"relative",height:zt(Xt.lineHeight).mul(Ie).equal(),marginTop:Xt.marginXS,fontSize:Ie,display:"flex",alignItems:"center",transition:`background-color ${Xt.motionDurationSlow}`,borderRadius:Xt.borderRadiusSM,"&:hover":{backgroundColor:Xt.controlItemBgHover},[`${rr}-name`]:Object.assign(Object.assign({},V.vS),{padding:`0 ${(0,E.unit)(Xt.paddingXS)}`,lineHeight:st,flex:"auto",transition:`all ${Xt.motionDurationSlow}`}),[fr]:{whiteSpace:"nowrap",[ht]:{opacity:0},[ot]:{color:Xt.actionsColor,transition:`all ${Xt.motionDurationSlow}`},[`
|
|
|
${ht}:focus-visible,
|
|
|
&.picture ${ht}
|
|
|
`]:{opacity:1}},[`${ar}-icon ${ot}`]:{color:Xt.colorTextDescription,fontSize:Ie},[`${rr}-progress`]:{position:"absolute",bottom:Xt.calc(Xt.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:zt(Ie).add(Xt.paddingXS).equal(),fontSize:Ie,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${rr}:hover ${ht}`]:{opacity:1},[`${rr}-error`]:{color:Xt.colorError,[`${rr}-name, ${ar}-icon ${ot}`]:{color:Xt.colorError},[fr]:{[`${ot}, ${ot}:hover`]:{color:Xt.colorError},[ht]:{opacity:1}}},[`${ar}-list-item-container`]:{transition:`opacity ${Xt.motionDurationSlow}, height ${Xt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},ee=a(16932),Le=Xt=>{const{componentCls:ar}=Xt,ot=new E.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Xt.calc(Xt.marginXS).div(-2).equal()}}),Ie=new E.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Xt.calc(Xt.marginXS).div(-2).equal()}}),st=`${ar}-animate-inline`;return[{[`${ar}-wrapper`]:{[`${st}-appear, ${st}-enter, ${st}-leave`]:{animationDuration:Xt.motionDurationSlow,animationTimingFunction:Xt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${st}-appear, ${st}-enter`]:{animationName:ot},[`${st}-leave`]:{animationName:Ie}}},{[`${ar}-wrapper`]:(0,ee.J$)(Xt)},ot,Ie]},Me=a(65409);const He=Xt=>{const{componentCls:ar,iconCls:ot,uploadThumbnailSize:Ie,uploadProgressOffset:st,calc:zt}=Xt,rr=`${ar}-list`,fr=`${rr}-item`;return{[`${ar}-wrapper`]:{[`
|
|
|
${rr}${rr}-picture,
|
|
|
${rr}${rr}-picture-card,
|
|
|
${rr}${rr}-picture-circle
|
|
|
`]:{[fr]:{position:"relative",height:zt(Ie).add(zt(Xt.lineWidth).mul(2)).add(zt(Xt.paddingXS).mul(2)).equal(),padding:Xt.paddingXS,border:`${(0,E.unit)(Xt.lineWidth)} ${Xt.lineType} ${Xt.colorBorder}`,borderRadius:Xt.borderRadiusLG,"&:hover":{background:"transparent"},[`${fr}-thumbnail`]:Object.assign(Object.assign({},V.vS),{width:Ie,height:Ie,lineHeight:(0,E.unit)(zt(Ie).add(Xt.paddingSM).equal()),textAlign:"center",flex:"none",[ot]:{fontSize:Xt.fontSizeHeading2,color:Xt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${fr}-progress`]:{bottom:st,width:`calc(100% - ${(0,E.unit)(zt(Xt.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:zt(Ie).add(Xt.paddingXS).equal()}},[`${fr}-error`]:{borderColor:Xt.colorError,[`${fr}-thumbnail ${ot}`]:{[`svg path[fill='${Me.blue[0]}']`]:{fill:Xt.colorErrorBg},[`svg path[fill='${Me.blue.primary}']`]:{fill:Xt.colorError}}},[`${fr}-uploading`]:{borderStyle:"dashed",[`${fr}-name`]:{marginBottom:st}}},[`${rr}${rr}-picture-circle ${fr}`]:{[`&, &::before, ${fr}-thumbnail`]:{borderRadius:"50%"}}}}},We=Xt=>{const{componentCls:ar,iconCls:ot,fontSizeLG:Ie,colorTextLightSolid:st,calc:zt}=Xt,rr=`${ar}-list`,fr=`${rr}-item`,ht=Xt.uploadPicCardSize;return{[`
|
|
|
${ar}-wrapper${ar}-picture-card-wrapper,
|
|
|
${ar}-wrapper${ar}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,V.dF)()),{display:"block",[`${ar}${ar}-select`]:{width:ht,height:ht,textAlign:"center",verticalAlign:"top",backgroundColor:Xt.colorFillAlter,border:`${(0,E.unit)(Xt.lineWidth)} dashed ${Xt.colorBorder}`,borderRadius:Xt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Xt.motionDurationSlow}`,[`> ${ar}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${ar}-disabled):hover`]:{borderColor:Xt.colorPrimary}},[`${rr}${rr}-picture-card, ${rr}${rr}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:Xt.marginXS,marginInlineEnd:Xt.marginXS}},"@supports (gap: 1px)":{gap:Xt.marginXS},[`${rr}-item-container`]:{display:"inline-block",width:ht,height:ht,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[fr]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,E.unit)(zt(Xt.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,E.unit)(zt(Xt.paddingXS).mul(2).equal())})`,backgroundColor:Xt.colorBgMask,opacity:0,transition:`all ${Xt.motionDurationSlow}`,content:'" "'}},[`${fr}:hover`]:{[`&::before, ${fr}-actions`]:{opacity:1}},[`${fr}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Xt.motionDurationSlow}`,[`
|
|
|
${ot}-eye,
|
|
|
${ot}-download,
|
|
|
${ot}-delete
|
|
|
`]:{zIndex:10,width:Ie,margin:`0 ${(0,E.unit)(Xt.marginXXS)}`,fontSize:Ie,cursor:"pointer",transition:`all ${Xt.motionDurationSlow}`,color:st,"&:hover":{color:st},svg:{verticalAlign:"baseline"}}},[`${fr}-thumbnail, ${fr}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${fr}-name`]:{display:"none",textAlign:"center"},[`${fr}-file + ${fr}-name`]:{position:"absolute",bottom:Xt.margin,display:"block",width:`calc(100% - ${(0,E.unit)(zt(Xt.paddingXS).mul(2).equal())})`},[`${fr}-uploading`]:{[`&${fr}`]:{backgroundColor:Xt.colorFillAlter},[`&::before, ${ot}-eye, ${ot}-download, ${ot}-delete`]:{display:"none"}},[`${fr}-progress`]:{bottom:Xt.marginXL,width:`calc(100% - ${(0,E.unit)(zt(Xt.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${ar}-wrapper${ar}-picture-circle-wrapper`]:{[`${ar}${ar}-select`]:{borderRadius:"50%"}}}};var Ne=Xt=>{const{componentCls:ar}=Xt;return{[`${ar}-rtl`]:{direction:"rtl"}}};const ae=Xt=>{const{componentCls:ar,colorTextDisabled:ot}=Xt;return{[`${ar}-wrapper`]:Object.assign(Object.assign({},(0,V.Wf)(Xt)),{[ar]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${ar}-select`]:{display:"inline-block"},[`${ar}-hidden`]:{display:"none"},[`${ar}-disabled`]:{color:ot,cursor:"not-allowed"}})}},Ee=Xt=>({actionsColor:Xt.colorTextDescription});var R=(0,T.I$)("Upload",Xt=>{const{fontSizeHeading3:ar,fontHeight:ot,lineWidth:Ie,controlHeightLG:st,calc:zt}=Xt,rr=(0,Z.mergeToken)(Xt,{uploadThumbnailSize:zt(ar).mul(2).equal(),uploadProgressOffset:zt(zt(ot).div(2)).add(Ie).equal(),uploadPicCardSize:zt(st).mul(2.55).equal()});return[ae(rr),A(rr),He(rr),We(rr),le(rr),Le(rr),Ne(rr),(0,Y.Z)(rr)]},Ee),N=a(83963),vt={icon:function(ar,ot){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:ot}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:ar}}]}},name:"file",theme:"twotone"},ve=vt,de=a(84180),k=function(ar,ot){return t.createElement(de.Z,(0,N.Z)({},ar,{ref:ot,icon:ve}))},te=t.forwardRef(k),ie=te,ye=a(77322),et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Te=et,Qe=function(ar,ot){return t.createElement(de.Z,(0,N.Z)({},ar,{ref:ot,icon:Te}))},Wt=t.forwardRef(Qe),Ut=Wt,ze={icon:function(ar,ot){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:ar}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:ot}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:ot}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:ot}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:ar}}]}},name:"picture",theme:"twotone"},Ue=ze,sr=function(ar,ot){return t.createElement(de.Z,(0,N.Z)({},ar,{ref:ot,icon:Ue}))},tr=t.forwardRef(sr),$e=tr,re=a(15602),g=a(10366),Xe=a(57838),Se=a(33603),ge=a(96159),fe=a(85804);function q(Xt){return Object.assign(Object.assign({},Xt),{lastModified:Xt.lastModified,lastModifiedDate:Xt.lastModifiedDate,name:Xt.name,size:Xt.size,type:Xt.type,uid:Xt.uid,percent:0,originFileObj:Xt})}function we(Xt,ar){const ot=(0,Fe.Z)(ar),Ie=ot.findIndex(st=>{let{uid:zt}=st;return zt===Xt.uid});return Ie===-1?ot.push(Xt):ot[Ie]=Xt,ot}function Oe(Xt,ar){const ot=Xt.uid!==void 0?"uid":"name";return ar.filter(Ie=>Ie[ot]===Xt[ot])[0]}function Ae(Xt,ar){const ot=Xt.uid!==void 0?"uid":"name",Ie=ar.filter(st=>st[ot]!==Xt[ot]);return Ie.length===ar.length?null:Ie}const Ye=function(){const ar=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Ie=ar[ar.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Ie)||[""])[0]},At=Xt=>Xt.indexOf("image/")===0,Bt=Xt=>{if(Xt.type&&!Xt.thumbUrl)return At(Xt.type);const ar=Xt.thumbUrl||Xt.url||"",ot=Ye(ar);return/^data:image\//.test(ar)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(ot)?!0:!(/^data:/.test(ar)||ot)},cr=200;function ur(Xt){return new Promise(ar=>{if(!Xt.type||!At(Xt.type)){ar("");return}const ot=document.createElement("canvas");ot.width=cr,ot.height=cr,ot.style.cssText=`position: fixed; left: 0; top: 0; width: ${cr}px; height: ${cr}px; z-index: 9999; display: none;`,document.body.appendChild(ot);const Ie=ot.getContext("2d"),st=new Image;if(st.onload=()=>{const{width:zt,height:rr}=st;let fr=cr,ht=cr,ln=0,pe=0;zt>rr?(ht=rr*(cr/zt),pe=-(ht-fr)/2):(fr=zt*(cr/rr),ln=-(fr-ht)/2),Ie.drawImage(st,ln,pe,fr,ht);const qt=ot.toDataURL();document.body.removeChild(ot),window.URL.revokeObjectURL(st.src),ar(qt)},st.crossOrigin="anonymous",Xt.type.startsWith("image/svg+xml")){const zt=new FileReader;zt.onload=()=>{zt.result&&typeof zt.result=="string"&&(st.src=zt.result)},zt.readAsDataURL(Xt)}else if(Xt.type.startsWith("image/gif")){const zt=new FileReader;zt.onload=()=>{zt.result&&ar(zt.result)},zt.readAsDataURL(Xt)}else st.src=window.URL.createObjectURL(Xt)})}var Et={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"},ut=Et,Mt=function(ar,ot){return t.createElement(de.Z,(0,N.Z)({},ar,{ref:ot,icon:ut}))},Kt=t.forwardRef(Mt),Qt=Kt,St={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},pr=St,Ur=function(ar,ot){return t.createElement(de.Z,(0,N.Z)({},ar,{ref:ot,icon:pr}))},Lt=t.forwardRef(Ur),lr=Lt,_t=a(43481),w=a(26410),P=a(83062),ne=t.forwardRef((Xt,ar)=>{let{prefixCls:ot,className:Ie,style:st,locale:zt,listType:rr,file:fr,items:ht,progress:ln,iconRender:pe,actionIconRender:qt,itemRender:gr,isImgUrl:$r,showPreviewIcon:tn,showRemoveIcon:$n,showDownloadIcon:Vt,previewIcon:yr,removeIcon:jr,downloadIcon:Er,extra:Kr,onPreview:Jr,onDownload:mt,onClose:Jt}=Xt;var nr,dr;const{status:Rr}=fr,[Sn,an]=t.useState(Rr);t.useEffect(()=>{Rr!=="removed"&&an(Rr)},[Rr]);const[An,zn]=t.useState(!1);t.useEffect(()=>{const Ge=setTimeout(()=>{zn(!0)},300);return()=>{clearTimeout(Ge)}},[]);const Gr=pe(fr);let Kn=t.createElement("div",{className:`${ot}-icon`},Gr);if(rr==="picture"||rr==="picture-card"||rr==="picture-circle")if(Sn==="uploading"||!fr.thumbUrl&&!fr.url){const Ge=G()(`${ot}-list-item-thumbnail`,{[`${ot}-list-item-file`]:Sn!=="uploading"});Kn=t.createElement("div",{className:Ge},Gr)}else{const Ge=$r!=null&&$r(fr)?t.createElement("img",{src:fr.thumbUrl||fr.url,alt:fr.name,className:`${ot}-list-item-image`,crossOrigin:fr.crossOrigin}):Gr,nt=G()(`${ot}-list-item-thumbnail`,{[`${ot}-list-item-file`]:$r&&!$r(fr)});Kn=t.createElement("a",{className:nt,onClick:me=>Jr(fr,me),href:fr.url||fr.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ge)}const In=G()(`${ot}-list-item`,`${ot}-list-item-${Sn}`),ha=typeof fr.linkProps=="string"?JSON.parse(fr.linkProps):fr.linkProps,Oa=(typeof $n=="function"?$n(fr):$n)?qt((typeof jr=="function"?jr(fr):jr)||t.createElement(Qt,null),()=>Jt(fr),ot,zt.removeFile,!0):null,Ca=(typeof Vt=="function"?Vt(fr):Vt)&&Sn==="done"?qt((typeof Er=="function"?Er(fr):Er)||t.createElement(lr,null),()=>mt(fr),ot,zt.downloadFile):null,ra=rr!=="picture-card"&&rr!=="picture-circle"&&t.createElement("span",{key:"download-delete",className:G()(`${ot}-list-item-actions`,{picture:rr==="picture"})},Ca,Oa),p=typeof Kr=="function"?Kr(fr):Kr,c=p&&t.createElement("span",{className:`${ot}-list-item-extra`},p),d=G()(`${ot}-list-item-name`),v=fr.url?t.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:d,title:fr.name},ha,{href:fr.url,onClick:Ge=>Jr(fr,Ge)}),fr.name,c):t.createElement("span",{key:"view",className:d,onClick:Ge=>Jr(fr,Ge),title:fr.name},fr.name,c),I=(typeof tn=="function"?tn(fr):tn)&&(fr.url||fr.thumbUrl)?t.createElement("a",{href:fr.url||fr.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Ge=>Jr(fr,Ge),title:zt.previewFile},typeof yr=="function"?yr(fr):yr||t.createElement(_t.Z,null)):null,b=(rr==="picture-card"||rr==="picture-circle")&&Sn!=="uploading"&&t.createElement("span",{className:`${ot}-list-item-actions`},I,Sn==="done"&&Ca,Oa),{getPrefixCls:B}=t.useContext(y.E_),X=B(),_=t.createElement("div",{className:In},Kn,v,ra,b,An&&t.createElement(re.default,{motionName:`${X}-fade`,visible:Sn==="uploading",motionDeadline:2e3},Ge=>{let{className:nt}=Ge;const me="percent"in fr?t.createElement(w.Z,Object.assign({},ln,{type:"line",percent:fr.percent,"aria-label":fr["aria-label"],"aria-labelledby":fr["aria-labelledby"]})):null;return t.createElement("div",{className:G()(`${ot}-list-item-progress`,nt)},me)})),Ce=fr.response&&typeof fr.response=="string"?fr.response:((nr=fr.error)===null||nr===void 0?void 0:nr.statusText)||((dr=fr.error)===null||dr===void 0?void 0:dr.message)||zt.uploadError,_e=Sn==="error"?t.createElement(P.Z,{title:Ce,getPopupContainer:Ge=>Ge.parentNode},_):_;return t.createElement("div",{className:G()(`${ot}-list-item-container`,Ie),style:st,ref:ar},gr?gr(_e,fr,ht,{download:mt.bind(null,fr),preview:Jr.bind(null,fr),remove:Jt.bind(null,fr)}):_e)});const ke=(Xt,ar)=>{const{listType:ot="text",previewFile:Ie=ur,onPreview:st,onDownload:zt,onRemove:rr,locale:fr,iconRender:ht,isImageUrl:ln=Bt,prefixCls:pe,items:qt=[],showPreviewIcon:gr=!0,showRemoveIcon:$r=!0,showDownloadIcon:tn=!1,removeIcon:$n,previewIcon:Vt,downloadIcon:yr,extra:jr,progress:Er={size:[-1,2],showInfo:!1},appendAction:Kr,appendActionVisible:Jr=!0,itemRender:mt,disabled:Jt}=Xt,nr=(0,Xe.Z)(),[dr,Rr]=t.useState(!1),Sn=["picture-card","picture-circle"].includes(ot);t.useEffect(()=>{ot.startsWith("picture")&&(qt||[]).forEach(c=>{!(c.originFileObj instanceof File||c.originFileObj instanceof Blob)||c.thumbUrl!==void 0||(c.thumbUrl="",Ie==null||Ie(c.originFileObj).then(d=>{c.thumbUrl=d||"",nr()}))})},[ot,qt,Ie]),t.useEffect(()=>{Rr(!0)},[]);const an=(c,d)=>{if(st)return d==null||d.preventDefault(),st(c)},An=c=>{typeof zt=="function"?zt(c):c.url&&window.open(c.url)},zn=c=>{rr==null||rr(c)},Gr=c=>{if(ht)return ht(c,ot);const d=c.status==="uploading";if(ot.startsWith("picture")){const v=ot==="picture"?t.createElement(ye.Z,null):fr.uploading,I=ln!=null&&ln(c)?t.createElement($e,null):t.createElement(ie,null);return d?v:I}return d?t.createElement(ye.Z,null):t.createElement(Ut,null)},Kn=(c,d,v,I,b)=>{const B={type:"text",size:"small",title:I,onClick:X=>{var _,Ce;d(),t.isValidElement(c)&&((Ce=(_=c.props).onClick)===null||Ce===void 0||Ce.call(_,X))},className:`${v}-list-item-action`};return b&&(B.disabled=Jt),t.isValidElement(c)?t.createElement(fe.ZP,Object.assign({},B,{icon:(0,ge.Tm)(c,Object.assign(Object.assign({},c.props),{onClick:()=>{}}))})):t.createElement(fe.ZP,Object.assign({},B),t.createElement("span",null,c))};t.useImperativeHandle(ar,()=>({handlePreview:an,handleDownload:An}));const{getPrefixCls:In}=t.useContext(y.E_),ha=In("upload",pe),Oa=In(),Ca=G()(`${ha}-list`,`${ha}-list-${ot}`),ra=t.useMemo(()=>(0,g.Z)((0,Se.Z)(Oa),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Oa]),p=Object.assign(Object.assign({},Sn?{}:ra),{motionDeadline:2e3,motionName:`${ha}-${Sn?"animate-inline":"animate"}`,keys:(0,Fe.Z)(qt.map(c=>({key:c.uid,file:c}))),motionAppear:dr});return t.createElement("div",{className:Ca},t.createElement(re.CSSMotionList,Object.assign({},p,{component:!1}),c=>{let{key:d,file:v,className:I,style:b}=c;return t.createElement(ne,{key:d,locale:fr,prefixCls:ha,className:I,style:b,file:v,items:qt,progress:Er,listType:ot,isImgUrl:ln,showPreviewIcon:gr,showRemoveIcon:$r,showDownloadIcon:tn,removeIcon:$n,previewIcon:Vt,downloadIcon:yr,extra:jr,iconRender:Gr,actionIconRender:Kn,itemRender:mt,onPreview:an,onDownload:An,onClose:zn})}),Kr&&t.createElement(re.default,Object.assign({},p,{visible:Jr,forceRender:!0}),c=>{let{className:d,style:v}=c;return(0,ge.Tm)(Kr,I=>({className:G()(I.className,d),style:Object.assign(Object.assign(Object.assign({},v),{pointerEvents:d?"none":void 0}),I.style)}))}))};var Pr=t.forwardRef(ke),En=function(Xt,ar,ot,Ie){function st(zt){return zt instanceof ot?zt:new ot(function(rr){rr(zt)})}return new(ot||(ot=Promise))(function(zt,rr){function fr(pe){try{ln(Ie.next(pe))}catch(qt){rr(qt)}}function ht(pe){try{ln(Ie.throw(pe))}catch(qt){rr(qt)}}function ln(pe){pe.done?zt(pe.value):st(pe.value).then(fr,ht)}ln((Ie=Ie.apply(Xt,ar||[])).next())})};const Nn=`__LIST_IGNORE_${Date.now()}__`,mn=(Xt,ar)=>{const{fileList:ot,defaultFileList:Ie,onRemove:st,showUploadList:zt=!0,listType:rr="text",onPreview:fr,onDownload:ht,onChange:ln,onDrop:pe,previewFile:qt,disabled:gr,locale:$r,iconRender:tn,isImageUrl:$n,progress:Vt,prefixCls:yr,className:jr,type:Er="select",children:Kr,style:Jr,itemRender:mt,maxCount:Jt,data:nr={},multiple:dr=!1,hasControlInside:Rr=!0,action:Sn="",accept:an="",supportServerRender:An=!0,rootClassName:zn}=Xt,Gr=t.useContext(W.Z),Kn=gr!=null?gr:Gr,[In,ha]=(0,U.Z)(Ie||[],{value:ot,postState:br=>br!=null?br:[]}),[Oa,Ca]=t.useState("drop"),ra=t.useRef(null),p=t.useRef(null);t.useMemo(()=>{const br=Date.now();(ot||[]).forEach((Br,Fr)=>{!Br.uid&&!Object.isFrozen(Br)&&(Br.uid=`__AUTO__${br}_${Fr}__`)})},[ot]);const c=(br,Br,Fr)=>{let Xr=(0,Fe.Z)(Br),kr=!1;Jt===1?Xr=Xr.slice(-1):Jt&&(kr=Xr.length>Jt,Xr=Xr.slice(0,Jt)),(0,$.flushSync)(()=>{ha(Xr)});const Un={file:br,fileList:Xr};Fr&&(Un.event=Fr),(!kr||br.status==="removed"||Xr.some(Ke=>Ke.uid===br.uid))&&(0,$.flushSync)(()=>{ln==null||ln(Un)})},d=(br,Br)=>En(void 0,void 0,void 0,function*(){const{beforeUpload:Fr,transformFile:Xr}=Xt;let kr=br;if(Fr){const Un=yield Fr(br,Br);if(Un===!1)return!1;if(delete br[Nn],Un===Nn)return Object.defineProperty(br,Nn,{value:!0,configurable:!0}),!1;typeof Un=="object"&&Un&&(kr=Un)}return Xr&&(kr=yield Xr(kr)),kr}),v=br=>{const Br=br.filter(kr=>!kr.file[Nn]);if(!Br.length)return;const Fr=Br.map(kr=>q(kr.file));let Xr=(0,Fe.Z)(In);Fr.forEach(kr=>{Xr=we(kr,Xr)}),Fr.forEach((kr,Un)=>{let Ke=kr;if(Br[Un].parsedFile)kr.status="uploading";else{const{originFileObj:be}=kr;let ce;try{ce=new File([be],be.name,{type:be.type})}catch(Je){ce=new Blob([be],{type:be.type}),ce.name=be.name,ce.lastModifiedDate=new Date,ce.lastModified=new Date().getTime()}ce.uid=kr.uid,Ke=ce}c(Ke,Xr)})},I=(br,Br,Fr)=>{try{typeof br=="string"&&(br=JSON.parse(br))}catch(Un){}if(!Oe(Br,In))return;const Xr=q(Br);Xr.status="done",Xr.percent=100,Xr.response=br,Xr.xhr=Fr;const kr=we(Xr,In);c(Xr,kr)},b=(br,Br)=>{if(!Oe(Br,In))return;const Fr=q(Br);Fr.status="uploading",Fr.percent=br.percent;const Xr=we(Fr,In);c(Fr,Xr,br)},B=(br,Br,Fr)=>{if(!Oe(Fr,In))return;const Xr=q(Fr);Xr.error=br,Xr.response=Br,Xr.status="error";const kr=we(Xr,In);c(Xr,kr)},X=br=>{let Br;Promise.resolve(typeof st=="function"?st(br):st).then(Fr=>{var Xr;if(Fr===!1)return;const kr=Ae(br,In);kr&&(Br=Object.assign(Object.assign({},br),{status:"removed"}),In==null||In.forEach(Un=>{const Ke=Br.uid!==void 0?"uid":"name";Un[Ke]===Br[Ke]&&!Object.isFrozen(Un)&&(Un.status="removed")}),(Xr=ra.current)===null||Xr===void 0||Xr.abort(Br),c(Br,kr))})},_=br=>{Ca(br.type),br.type==="drop"&&(pe==null||pe(br))};t.useImperativeHandle(ar,()=>({onBatchStart:v,onSuccess:I,onProgress:b,onError:B,fileList:In,upload:ra.current,nativeElement:p.current}));const{getPrefixCls:Ce,direction:_e,upload:Ge}=t.useContext(y.E_),nt=Ce("upload",yr),me=Object.assign(Object.assign({onBatchStart:v,onError:B,onProgress:b,onSuccess:I},Xt),{data:nr,multiple:dr,action:Sn,accept:an,supportServerRender:An,prefixCls:nt,disabled:Kn,beforeUpload:d,onChange:void 0,hasControlInside:Rr});delete me.className,delete me.style,(!Kr||Kn)&&delete me.id;const Gt=`${nt}-wrapper`,[oe,jt,lt]=R(nt,Gt),[Zt]=(0,l.Z)("Upload",H.Z.Upload),{showRemoveIcon:wr,showPreviewIcon:cn,showDownloadIcon:vn,removeIcon:On,previewIcon:qr,downloadIcon:kt,extra:un}=typeof zt=="boolean"?{}:zt,gn=typeof wr=="undefined"?!Kn:wr,yt=(br,Br)=>zt?t.createElement(Pr,{prefixCls:nt,listType:rr,items:In,previewFile:qt,onPreview:fr,onDownload:ht,onRemove:X,showRemoveIcon:gn,showPreviewIcon:cn,showDownloadIcon:vn,removeIcon:On,previewIcon:qr,downloadIcon:kt,iconRender:tn,extra:un,locale:Object.assign(Object.assign({},Zt),$r),isImageUrl:$n,progress:Vt,appendAction:br,appendActionVisible:Br,itemRender:mt,disabled:Kn}):br,Ct=G()(Gt,jr,zn,jt,lt,Ge==null?void 0:Ge.className,{[`${nt}-rtl`]:_e==="rtl",[`${nt}-picture-card-wrapper`]:rr==="picture-card",[`${nt}-picture-circle-wrapper`]:rr==="picture-circle"}),ir=Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Jr);if(Er==="drag"){const br=G()(jt,nt,`${nt}-drag`,{[`${nt}-drag-uploading`]:In.some(Br=>Br.status==="uploading"),[`${nt}-drag-hover`]:Oa==="dragover",[`${nt}-disabled`]:Kn,[`${nt}-rtl`]:_e==="rtl"});return oe(t.createElement("span",{className:Ct,ref:p},t.createElement("div",{className:br,style:ir,onDrop:_,onDragOver:_,onDragLeave:_},t.createElement(J.Z,Object.assign({},me,{ref:ra,className:`${nt}-btn`}),t.createElement("div",{className:`${nt}-drag-container`},Kr))),yt()))}const Rt=G()(nt,`${nt}-select`,{[`${nt}-disabled`]:Kn,[`${nt}-hidden`]:!Kr}),Zr=t.createElement("div",{className:Rt},t.createElement(J.Z,Object.assign({},me,{ref:ra})));return oe(rr==="picture-card"||rr==="picture-circle"?t.createElement("span",{className:Ct,ref:p},yt(Zr,!!Kr)):t.createElement("span",{className:Ct,ref:p},Zr,yt()))};var Cn=t.forwardRef(mn),L=function(Xt,ar){var ot={};for(var Ie in Xt)Object.prototype.hasOwnProperty.call(Xt,Ie)&&ar.indexOf(Ie)<0&&(ot[Ie]=Xt[Ie]);if(Xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Ie=Object.getOwnPropertySymbols(Xt);st<Ie.length;st++)ar.indexOf(Ie[st])<0&&Object.prototype.propertyIsEnumerable.call(Xt,Ie[st])&&(ot[Ie[st]]=Xt[Ie[st]]);return ot},Dr=t.forwardRef((Xt,ar)=>{var{style:ot,height:Ie,hasControlInside:st=!1}=Xt,zt=L(Xt,["style","height","hasControlInside"]);return t.createElement(Cn,Object.assign({ref:ar,hasControlInside:st},zt,{type:"drag",style:Object.assign(Object.assign({},ot),{height:Ie})}))});const K=Cn;K.Dragger=Dr,K.LIST_IGNORE=Nn;var Tt=K},60068:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},15558:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},64582:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},43481:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},46214:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={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"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},55007:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={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"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},79269:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={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"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},47880:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},61058:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return y}});var t=a(83963),Fe=a(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Be=$,G=a(84180),J=function(l,H){return Fe.createElement(G.Z,(0,t.Z)({},l,{ref:H,icon:Be}))},U=Fe.forwardRef(J),y=U},17689:function(on,Yt){var a,t;(function(){"use strict";var Fe={}.hasOwnProperty,$="[native code]";function Be(){for(var G=[],J=0;J<arguments.length;J++){var U=arguments[J];if(U){var y=typeof U;if(y==="string"||y==="number")G.push(U);else if(Array.isArray(U)){if(U.length){var W=Be.apply(null,U);W&&G.push(W)}}else if(y==="object"){if(U.toString!==Object.prototype.toString&&!U.toString.toString().includes("[native code]")){G.push(U.toString());continue}for(var l in U)Fe.call(U,l)&&U[l]&&G.push(l)}}}return G.join(" ")}on.exports?(Be.default=Be,on.exports=Be):(a=[],t=function(){return Be}.apply(Yt,a),t!==void 0&&(on.exports=t))})()},14958:function(on,Yt){var a,t;(function(){"use strict";var Fe={}.hasOwnProperty,$="[native code]";function Be(){for(var G=[],J=0;J<arguments.length;J++){var U=arguments[J];if(U){var y=typeof U;if(y==="string"||y==="number")G.push(U);else if(Array.isArray(U)){if(U.length){var W=Be.apply(null,U);W&&G.push(W)}}else if(y==="object"){if(U.toString!==Object.prototype.toString&&!U.toString.toString().includes("[native code]")){G.push(U.toString());continue}for(var l in U)Fe.call(U,l)&&U[l]&&G.push(l)}}}return G.join(" ")}on.exports?(Be.default=Be,on.exports=Be):(a=[],t=function(){return Be}.apply(Yt,a),t!==void 0&&(on.exports=t))})()},72860:function(on,Yt){"use strict";var a;var t=typeof Symbol=="function"&&Symbol.for,Fe=t?Symbol.for("react.element"):60103,$=t?Symbol.for("react.portal"):60106,Be=t?Symbol.for("react.fragment"):60107,G=t?Symbol.for("react.strict_mode"):60108,J=t?Symbol.for("react.profiler"):60114,U=t?Symbol.for("react.provider"):60109,y=t?Symbol.for("react.context"):60110,W=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,H=t?Symbol.for("react.forward_ref"):60112,V=t?Symbol.for("react.suspense"):60113,Y=t?Symbol.for("react.suspense_list"):60120,T=t?Symbol.for("react.memo"):60115,Z=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,j=t?Symbol.for("react.fundamental"):60117,A=t?Symbol.for("react.responder"):60118,M=t?Symbol.for("react.scope"):60119;function le(C){if(typeof C=="object"&&C!==null){var Le=C.$$typeof;switch(Le){case Fe:switch(C=C.type,C){case W:case l:case Be:case J:case G:case V:return C;default:switch(C=C&&C.$$typeof,C){case y:case H:case Z:case T:case U:return C;default:return Le}}case $:return Le}}}function ee(C){return le(C)===l}a=W,a=l,a=y,a=U,a=Fe,a=H,a=Be,a=Z,a=T,a=$,a=J,a=G,a=V,a=function(C){return ee(C)||le(C)===W},a=ee,a=function(C){return le(C)===y},a=function(C){return le(C)===U},a=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===Fe},a=function(C){return le(C)===H},Yt.isFragment=function(C){return le(C)===Be},a=function(C){return le(C)===Z},Yt.isMemo=function(C){return le(C)===T},a=function(C){return le(C)===$},a=function(C){return le(C)===J},a=function(C){return le(C)===G},a=function(C){return le(C)===V},a=function(C){return typeof C=="string"||typeof C=="function"||C===Be||C===l||C===J||C===G||C===V||C===Y||typeof C=="object"&&C!==null&&(C.$$typeof===Z||C.$$typeof===T||C.$$typeof===U||C.$$typeof===y||C.$$typeof===H||C.$$typeof===j||C.$$typeof===A||C.$$typeof===M||C.$$typeof===E)},a=le},3559:function(on,Yt,a){"use strict";on.exports=a(72860)},38978:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return et}});function t(){return t=Object.assign?Object.assign.bind():function(Te){for(var Qe=1;Qe<arguments.length;Qe++){var Wt=arguments[Qe];for(var Ut in Wt)Object.prototype.hasOwnProperty.call(Wt,Ut)&&(Te[Ut]=Wt[Ut])}return Te},t.apply(this,arguments)}var Fe=a(67294),$=a(37419),Be=a(68291);function G(Te){"@babel/helpers - typeof";return G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Qe){return typeof Qe}:function(Qe){return Qe&&typeof Symbol=="function"&&Qe.constructor===Symbol&&Qe!==Symbol.prototype?"symbol":typeof Qe},G(Te)}function J(Te,Qe){if(G(Te)!=="object"||Te===null)return Te;var Wt=Te[Symbol.toPrimitive];if(Wt!==void 0){var Ut=Wt.call(Te,Qe||"default");if(G(Ut)!=="object")return Ut;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Qe==="string"?String:Number)(Te)}function U(Te){var Qe=J(Te,"string");return G(Qe)==="symbol"?Qe:String(Qe)}function y(Te,Qe,Wt){return Qe=U(Qe),Qe in Te?Object.defineProperty(Te,Qe,{value:Wt,enumerable:!0,configurable:!0,writable:!0}):Te[Qe]=Wt,Te}function W(Te,Qe){var Wt=Object.keys(Te);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(Te);Qe&&(Ut=Ut.filter(function(ze){return Object.getOwnPropertyDescriptor(Te,ze).enumerable})),Wt.push.apply(Wt,Ut)}return Wt}function l(Te){for(var Qe=1;Qe<arguments.length;Qe++){var Wt=arguments[Qe]!=null?arguments[Qe]:{};Qe%2?W(Object(Wt),!0).forEach(function(Ut){y(Te,Ut,Wt[Ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Te,Object.getOwnPropertyDescriptors(Wt)):W(Object(Wt)).forEach(function(Ut){Object.defineProperty(Te,Ut,Object.getOwnPropertyDescriptor(Wt,Ut))})}return Te}var H=a(79292),V=a(17799),Y=Fe.createContext(null);function T(Te){var Qe=Te.children,Wt=Te.onBatchResize,Ut=Fe.useRef(0),ze=Fe.useRef([]),Ue=Fe.useContext(Y),sr=Fe.useCallback(function(tr,$e,re){Ut.current+=1;var g=Ut.current;ze.current.push({size:tr,element:$e,data:re}),Promise.resolve().then(function(){g===Ut.current&&(Wt==null||Wt(ze.current),ze.current=[])}),Ue==null||Ue(tr,$e,re)},[Wt,Ue]);return Fe.createElement(Y.Provider,{value:sr},Qe)}var Z=a(91033),E=new Map;function j(Te){Te.forEach(function(Qe){var Wt,Ut=Qe.target;(Wt=E.get(Ut))===null||Wt===void 0||Wt.forEach(function(ze){return ze(Ut)})})}var A=new Z.Z(j),M=null,le=null;function ee(Te,Qe){E.has(Te)||(E.set(Te,new Set),A.observe(Te)),E.get(Te).add(Qe)}function C(Te,Qe){E.has(Te)&&(E.get(Te).delete(Qe),E.get(Te).size||(A.unobserve(Te),E.delete(Te)))}function Le(Te,Qe){if(!(Te instanceof Qe))throw new TypeError("Cannot call a class as a function")}function Me(Te,Qe){for(var Wt=0;Wt<Qe.length;Wt++){var Ut=Qe[Wt];Ut.enumerable=Ut.enumerable||!1,Ut.configurable=!0,"value"in Ut&&(Ut.writable=!0),Object.defineProperty(Te,U(Ut.key),Ut)}}function He(Te,Qe,Wt){return Qe&&Me(Te.prototype,Qe),Wt&&Me(Te,Wt),Object.defineProperty(Te,"prototype",{writable:!1}),Te}function We(Te,Qe){return We=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ut,ze){return Ut.__proto__=ze,Ut},We(Te,Qe)}function Pe(Te,Qe){if(typeof Qe!="function"&&Qe!==null)throw new TypeError("Super expression must either be null or a function");Te.prototype=Object.create(Qe&&Qe.prototype,{constructor:{value:Te,writable:!0,configurable:!0}}),Object.defineProperty(Te,"prototype",{writable:!1}),Qe&&We(Te,Qe)}function Ne(Te){return Ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Wt){return Wt.__proto__||Object.getPrototypeOf(Wt)},Ne(Te)}function ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Te){return!1}}function Ee(Te){if(Te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Te}function R(Te,Qe){if(Qe&&(G(Qe)==="object"||typeof Qe=="function"))return Qe;if(Qe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ee(Te)}function N(Te){var Qe=ae();return function(){var Ut=Ne(Te),ze;if(Qe){var Ue=Ne(this).constructor;ze=Reflect.construct(Ut,arguments,Ue)}else ze=Ut.apply(this,arguments);return R(this,ze)}}var vt=function(Te){Pe(Wt,Te);var Qe=N(Wt);function Wt(){return Le(this,Wt),Qe.apply(this,arguments)}return He(Wt,[{key:"render",value:function(){return this.props.children}}]),Wt}(Fe.Component);function ve(Te,Qe){var Wt=Te.children,Ut=Te.disabled,ze=Fe.useRef(null),Ue=Fe.useRef(null),sr=Fe.useContext(Y),tr=typeof Wt=="function",$e=tr?Wt(ze):Wt,re=Fe.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),g=!tr&&Fe.isValidElement($e)&&(0,V.Yr)($e),Xe=g?(0,V.C4)($e):null,Se=(0,V.x1)(Xe,ze),ge=function(){var Oe;return(0,H.ZP)(ze.current)||(ze.current&&G(ze.current)==="object"?(0,H.ZP)((Oe=ze.current)===null||Oe===void 0?void 0:Oe.nativeElement):null)||(0,H.ZP)(Ue.current)};Fe.useImperativeHandle(Qe,function(){return ge()});var fe=Fe.useRef(Te);fe.current=Te;var q=Fe.useCallback(function(we){var Oe=fe.current,Ae=Oe.onResize,Ye=Oe.data,At=we.getBoundingClientRect(),Bt=At.width,cr=At.height,ur=we.offsetWidth,Et=we.offsetHeight,ut=Math.floor(Bt),Mt=Math.floor(cr);if(re.current.width!==ut||re.current.height!==Mt||re.current.offsetWidth!==ur||re.current.offsetHeight!==Et){var Kt={width:ut,height:Mt,offsetWidth:ur,offsetHeight:Et};re.current=Kt;var Qt=ur===Math.round(Bt)?Bt:ur,St=Et===Math.round(cr)?cr:Et,pr=l(l({},Kt),{},{offsetWidth:Qt,offsetHeight:St});sr==null||sr(pr,we,Ye),Ae&&Promise.resolve().then(function(){Ae(pr,we)})}},[]);return Fe.useEffect(function(){var we=ge();return we&&!Ut&&ee(we,q),function(){return C(we,q)}},[ze.current,Ut]),Fe.createElement(vt,{ref:Ue},g?Fe.cloneElement($e,{ref:Se}):$e)}var de=Fe.forwardRef(ve),k=de,te="rc-observer-key";function ie(Te,Qe){var Wt=Te.children,Ut=typeof Wt=="function"?[Wt]:(0,$.Z)(Wt);return Ut.map(function(ze,Ue){var sr=(ze==null?void 0:ze.key)||"".concat(te,"-").concat(Ue);return Fe.createElement(k,t({},Te,{key:sr,ref:Ue===0?Qe:void 0}),ze)})}var ye=Fe.forwardRef(ie);ye.Collection=T;var et=ye},73234:function(on,Yt){var a,t;(function(){"use strict";var Fe={}.hasOwnProperty,$="[native code]";function Be(){for(var G=[],J=0;J<arguments.length;J++){var U=arguments[J];if(U){var y=typeof U;if(y==="string"||y==="number")G.push(U);else if(Array.isArray(U)){if(U.length){var W=Be.apply(null,U);W&&G.push(W)}}else if(y==="object"){if(U.toString!==Object.prototype.toString&&!U.toString.toString().includes("[native code]")){G.push(U.toString());continue}for(var l in U)Fe.call(U,l)&&U[l]&&G.push(l)}}}return G.join(" ")}on.exports?(Be.default=Be,on.exports=Be):(a=[],t=function(){return Be}.apply(Yt,a),t!==void 0&&(on.exports=t))})()},41771:function(on,Yt){"use strict";var a;var t=typeof Symbol=="function"&&Symbol.for,Fe=t?Symbol.for("react.element"):60103,$=t?Symbol.for("react.portal"):60106,Be=t?Symbol.for("react.fragment"):60107,G=t?Symbol.for("react.strict_mode"):60108,J=t?Symbol.for("react.profiler"):60114,U=t?Symbol.for("react.provider"):60109,y=t?Symbol.for("react.context"):60110,W=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,H=t?Symbol.for("react.forward_ref"):60112,V=t?Symbol.for("react.suspense"):60113,Y=t?Symbol.for("react.suspense_list"):60120,T=t?Symbol.for("react.memo"):60115,Z=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,j=t?Symbol.for("react.fundamental"):60117,A=t?Symbol.for("react.responder"):60118,M=t?Symbol.for("react.scope"):60119;function le(C){if(typeof C=="object"&&C!==null){var Le=C.$$typeof;switch(Le){case Fe:switch(C=C.type,C){case W:case l:case Be:case J:case G:case V:return C;default:switch(C=C&&C.$$typeof,C){case y:case H:case Z:case T:case U:return C;default:return Le}}case $:return Le}}}function ee(C){return le(C)===l}a=W,a=l,a=y,a=U,a=Fe,a=H,a=Be,a=Z,a=T,a=$,a=J,a=G,a=V,a=function(C){return ee(C)||le(C)===W},a=ee,a=function(C){return le(C)===y},a=function(C){return le(C)===U},a=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===Fe},a=function(C){return le(C)===H},Yt.isFragment=function(C){return le(C)===Be},a=function(C){return le(C)===Z},a=function(C){return le(C)===T},a=function(C){return le(C)===$},a=function(C){return le(C)===J},a=function(C){return le(C)===G},a=function(C){return le(C)===V},a=function(C){return typeof C=="string"||typeof C=="function"||C===Be||C===l||C===J||C===G||C===V||C===Y||typeof C=="object"&&C!==null&&(C.$$typeof===Z||C.$$typeof===T||C.$$typeof===U||C.$$typeof===y||C.$$typeof===H||C.$$typeof===j||C.$$typeof===A||C.$$typeof===M||C.$$typeof===E)},a=le},47655:function(on,Yt,a){"use strict";on.exports=a(41771)},15927:function(on,Yt,a){"use strict";a.r(Yt),a.d(Yt,{ResizableTextArea:function(){return zt},default:function(){return ln}});function t(){return t=Object.assign?Object.assign.bind():function(pe){for(var qt=1;qt<arguments.length;qt++){var gr=arguments[qt];for(var $r in gr)Object.prototype.hasOwnProperty.call(gr,$r)&&(pe[$r]=gr[$r])}return pe},t.apply(this,arguments)}function Fe(pe){"@babel/helpers - typeof";return Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(qt){return typeof qt}:function(qt){return qt&&typeof Symbol=="function"&&qt.constructor===Symbol&&qt!==Symbol.prototype?"symbol":typeof qt},Fe(pe)}function $(pe,qt){if(Fe(pe)!=="object"||pe===null)return pe;var gr=pe[Symbol.toPrimitive];if(gr!==void 0){var $r=gr.call(pe,qt||"default");if(Fe($r)!=="object")return $r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(qt==="string"?String:Number)(pe)}function Be(pe){var qt=$(pe,"string");return Fe(qt)==="symbol"?qt:String(qt)}function G(pe,qt,gr){return qt=Be(qt),qt in pe?Object.defineProperty(pe,qt,{value:gr,enumerable:!0,configurable:!0,writable:!0}):pe[qt]=gr,pe}function J(pe,qt){var gr=Object.keys(pe);if(Object.getOwnPropertySymbols){var $r=Object.getOwnPropertySymbols(pe);qt&&($r=$r.filter(function(tn){return Object.getOwnPropertyDescriptor(pe,tn).enumerable})),gr.push.apply(gr,$r)}return gr}function U(pe){for(var qt=1;qt<arguments.length;qt++){var gr=arguments[qt]!=null?arguments[qt]:{};qt%2?J(Object(gr),!0).forEach(function($r){G(pe,$r,gr[$r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(gr)):J(Object(gr)).forEach(function($r){Object.defineProperty(pe,$r,Object.getOwnPropertyDescriptor(gr,$r))})}return pe}function y(pe,qt){(qt==null||qt>pe.length)&&(qt=pe.length);for(var gr=0,$r=new Array(qt);gr<qt;gr++)$r[gr]=pe[gr];return $r}function W(pe){if(Array.isArray(pe))return y(pe)}function l(pe){if(typeof Symbol!="undefined"&&pe[Symbol.iterator]!=null||pe["@@iterator"]!=null)return Array.from(pe)}function H(pe,qt){if(pe){if(typeof pe=="string")return y(pe,qt);var gr=Object.prototype.toString.call(pe).slice(8,-1);if(gr==="Object"&&pe.constructor&&(gr=pe.constructor.name),gr==="Map"||gr==="Set")return Array.from(pe);if(gr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gr))return y(pe,qt)}}function V(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y(pe){return W(pe)||l(pe)||H(pe)||V()}function T(pe){if(Array.isArray(pe))return pe}function Z(pe,qt){var gr=pe==null?null:typeof Symbol!="undefined"&&pe[Symbol.iterator]||pe["@@iterator"];if(gr!=null){var $r,tn,$n,Vt,yr=[],jr=!0,Er=!1;try{if($n=(gr=gr.call(pe)).next,qt===0){if(Object(gr)!==gr)return;jr=!1}else for(;!(jr=($r=$n.call(gr)).done)&&(yr.push($r.value),yr.length!==qt);jr=!0);}catch(Kr){Er=!0,tn=Kr}finally{try{if(!jr&&gr.return!=null&&(Vt=gr.return(),Object(Vt)!==Vt))return}finally{if(Er)throw tn}}return yr}}function E(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(pe,qt){return T(pe)||Z(pe,qt)||H(pe,qt)||E()}function A(pe,qt){if(pe==null)return{};var gr={},$r=Object.keys(pe),tn,$n;for($n=0;$n<$r.length;$n++)tn=$r[$n],!(qt.indexOf(tn)>=0)&&(gr[tn]=pe[tn]);return gr}function M(pe,qt){if(pe==null)return{};var gr=A(pe,qt),$r,tn;if(Object.getOwnPropertySymbols){var $n=Object.getOwnPropertySymbols(pe);for(tn=0;tn<$n.length;tn++)$r=$n[tn],!(qt.indexOf($r)>=0)&&Object.prototype.propertyIsEnumerable.call(pe,$r)&&(gr[$r]=pe[$r])}return gr}var le=a(41505),ee=a.n(le),C=a(67656),Le=a(82234),Me=a(87887),He=a(67294);function We(pe){var qt=He.useRef();qt.current=pe;var gr=He.useCallback(function(){for(var $r,tn=arguments.length,$n=new Array(tn),Vt=0;Vt<tn;Vt++)$n[Vt]=arguments[Vt];return($r=qt.current)===null||$r===void 0?void 0:$r.call.apply($r,[qt].concat($n))},[]);return gr}function Pe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ne=Pe()?He.useLayoutEffect:He.useEffect,ae=Ne,Ee=function(qt,gr){var $r=He.useRef(!0);Ne(function(){if(!$r.current)return qt()},gr),Ne(function(){return $r.current=!1,function(){$r.current=!0}},[])};function R(pe){var qt=He.useRef(!1),gr=He.useState(pe),$r=j(gr,2),tn=$r[0],$n=$r[1];He.useEffect(function(){return qt.current=!1,function(){qt.current=!0}},[]);function Vt(yr,jr){jr&&qt.current||$n(yr)}return[tn,Vt]}function N(pe){return pe!==void 0}function vt(pe,qt){var gr=qt||{},$r=gr.defaultValue,tn=gr.value,$n=gr.onChange,Vt=gr.postState,yr=R(function(){return N(tn)?tn:N($r)?typeof $r=="function"?$r():$r:typeof pe=="function"?pe():pe}),jr=j(yr,2),Er=jr[0],Kr=jr[1],Jr=tn!==void 0?tn:Er,mt=Vt?Vt(Jr):Jr,Jt=We($n),nr=R([Jr]),dr=j(nr,2),Rr=dr[0],Sn=dr[1];Ee(function(){var An=Rr[0];Er!==An&&Jt(Er,An)},[Rr]),Ee(function(){N(tn)||Kr(tn)},[tn]);var an=We(function(An,zn){Kr(An,zn),Sn([Jr],zn)});return[mt,an]}var ve=a(68345);function de(pe){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gr=[];return He.Children.forEach(pe,function($r){$r==null&&!qt.keepEmpty||(Array.isArray($r)?gr=gr.concat(de($r)):(0,ve.isFragment)($r)&&$r.props?gr=gr.concat(de($r.props.children,qt)):gr.push($r))}),gr}var k={};function te(pe,qt){}function ie(pe,qt){}function ye(){k={}}function et(pe,qt,gr){!qt&&!k[gr]&&(pe(!1,gr),k[gr]=!0)}function Te(pe,qt){et(te,pe,qt)}function Qe(pe,qt){et(ie,pe,qt)}var Wt=null;function Ut(pe,qt,gr){var $r=React.useRef({});return(!("value"in $r.current)||gr($r.current.condition,qt))&&($r.current.value=pe(),$r.current.condition=qt),$r.current.value}function ze(pe,qt){typeof pe=="function"?pe(qt):Fe(pe)==="object"&&pe&&"current"in pe&&(pe.current=qt)}function Ue(){for(var pe=arguments.length,qt=new Array(pe),gr=0;gr<pe;gr++)qt[gr]=arguments[gr];var $r=qt.filter(function(tn){return tn});return $r.length<=1?$r[0]:function(tn){qt.forEach(function($n){ze($n,tn)})}}function sr(){for(var pe=arguments.length,qt=new Array(pe),gr=0;gr<pe;gr++)qt[gr]=arguments[gr];return useMemo(function(){return Ue.apply(void 0,qt)},qt,function($r,tn){return $r.length===tn.length&&$r.every(function($n,Vt){return $n===tn[Vt]})})}function tr(pe){var qt,gr,$r=(0,ve.isMemo)(pe)?pe.type.type:pe.type;return!(typeof $r=="function"&&!((qt=$r.prototype)!==null&&qt!==void 0&&qt.render)||typeof pe=="function"&&!((gr=pe.prototype)!==null&&gr!==void 0&&gr.render))}var $e=a(73935);function re(pe){return pe instanceof HTMLElement||pe instanceof SVGElement}function g(pe){return re(pe)?pe:pe instanceof He.Component?$e.findDOMNode(pe):null}var Xe=a(91033),Se=new Map;function ge(pe){pe.forEach(function(qt){var gr,$r=qt.target;(gr=Se.get($r))===null||gr===void 0||gr.forEach(function(tn){return tn($r)})})}var fe=new Xe.Z(ge),q=null,we=null;function Oe(pe,qt){Se.has(pe)||(Se.set(pe,new Set),fe.observe(pe)),Se.get(pe).add(qt)}function Ae(pe,qt){Se.has(pe)&&(Se.get(pe).delete(qt),Se.get(pe).size||(fe.unobserve(pe),Se.delete(pe)))}function Ye(pe,qt){if(!(pe instanceof qt))throw new TypeError("Cannot call a class as a function")}function At(pe,qt){for(var gr=0;gr<qt.length;gr++){var $r=qt[gr];$r.enumerable=$r.enumerable||!1,$r.configurable=!0,"value"in $r&&($r.writable=!0),Object.defineProperty(pe,Be($r.key),$r)}}function Bt(pe,qt,gr){return qt&&At(pe.prototype,qt),gr&&At(pe,gr),Object.defineProperty(pe,"prototype",{writable:!1}),pe}function cr(pe,qt){return cr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function($r,tn){return $r.__proto__=tn,$r},cr(pe,qt)}function ur(pe,qt){if(typeof qt!="function"&&qt!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(qt&&qt.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),Object.defineProperty(pe,"prototype",{writable:!1}),qt&&cr(pe,qt)}function Et(pe){return Et=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(gr){return gr.__proto__||Object.getPrototypeOf(gr)},Et(pe)}function ut(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(pe){return!1}}function Mt(pe){if(pe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return pe}function Kt(pe,qt){if(qt&&(Fe(qt)==="object"||typeof qt=="function"))return qt;if(qt!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mt(pe)}function Qt(pe){var qt=ut();return function(){var $r=Et(pe),tn;if(qt){var $n=Et(this).constructor;tn=Reflect.construct($r,arguments,$n)}else tn=$r.apply(this,arguments);return Kt(this,tn)}}var St=function(pe){ur(gr,pe);var qt=Qt(gr);function gr(){return Ye(this,gr),qt.apply(this,arguments)}return Bt(gr,[{key:"render",value:function(){return this.props.children}}]),gr}(He.Component),pr=He.createContext(null);function Ur(pe){var qt=pe.children,gr=pe.onBatchResize,$r=He.useRef(0),tn=He.useRef([]),$n=He.useContext(pr),Vt=He.useCallback(function(yr,jr,Er){$r.current+=1;var Kr=$r.current;tn.current.push({size:yr,element:jr,data:Er}),Promise.resolve().then(function(){Kr===$r.current&&(gr==null||gr(tn.current),tn.current=[])}),$n==null||$n(yr,jr,Er)},[gr,$n]);return He.createElement(pr.Provider,{value:Vt},qt)}function Lt(pe,qt){var gr=pe.children,$r=pe.disabled,tn=He.useRef(null),$n=He.useRef(null),Vt=He.useContext(pr),yr=typeof gr=="function",jr=yr?gr(tn):gr,Er=He.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Kr=!yr&&He.isValidElement(jr)&&tr(jr),Jr=Kr?jr.ref:null,mt=He.useMemo(function(){return Ue(Jr,tn)},[Jr,tn]),Jt=function(){return g(tn.current)||g($n.current)};He.useImperativeHandle(qt,function(){return Jt()});var nr=He.useRef(pe);nr.current=pe;var dr=He.useCallback(function(Rr){var Sn=nr.current,an=Sn.onResize,An=Sn.data,zn=Rr.getBoundingClientRect(),Gr=zn.width,Kn=zn.height,In=Rr.offsetWidth,ha=Rr.offsetHeight,Oa=Math.floor(Gr),Ca=Math.floor(Kn);if(Er.current.width!==Oa||Er.current.height!==Ca||Er.current.offsetWidth!==In||Er.current.offsetHeight!==ha){var ra={width:Oa,height:Ca,offsetWidth:In,offsetHeight:ha};Er.current=ra;var p=In===Math.round(Gr)?Gr:In,c=ha===Math.round(Kn)?Kn:ha,d=U(U({},ra),{},{offsetWidth:p,offsetHeight:c});Vt==null||Vt(d,Rr,An),an&&Promise.resolve().then(function(){an(d,Rr)})}},[]);return He.useEffect(function(){var Rr=Jt();return Rr&&!$r&&Oe(Rr,dr),function(){return Ae(Rr,dr)}},[tn.current,$r]),He.createElement(St,{ref:$n},Kr?He.cloneElement(jr,{ref:mt}):jr)}var lr=He.forwardRef(Lt),_t=lr,w="rc-observer-key";function P(pe,qt){var gr=pe.children,$r=typeof gr=="function"?[gr]:de(gr);return $r.map(function(tn,$n){var Vt=(tn==null?void 0:tn.key)||"".concat(w,"-").concat($n);return He.createElement(_t,t({},pe,{key:Vt,ref:$n===0?qt:void 0}),tn)})}var Pt=He.forwardRef(P);Pt.Collection=Ur;var ne=Pt,ke=function(qt){return+setTimeout(qt,16)},Mr=function(qt){return clearTimeout(qt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ke=function(qt){return window.requestAnimationFrame(qt)},Mr=function(qt){return window.cancelAnimationFrame(qt)});var Pr=0,En=new Map;function Nn(pe){En.delete(pe)}var mn=function(qt){var gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Pr+=1;var $r=Pr;function tn($n){if($n===0)Nn($r),qt();else{var Vt=ke(function(){tn($n-1)});En.set($r,Vt)}}return tn(gr),$r};mn.cancel=function(pe){var qt=En.get(pe);return Nn(qt),Mr(qt)};var yn=mn,Cn=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,L=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],x={},Dr;function K(pe){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gr=pe.getAttribute("id")||pe.getAttribute("data-reactid")||pe.getAttribute("name");if(qt&&x[gr])return x[gr];var $r=window.getComputedStyle(pe),tn=$r.getPropertyValue("box-sizing")||$r.getPropertyValue("-moz-box-sizing")||$r.getPropertyValue("-webkit-box-sizing"),$n=parseFloat($r.getPropertyValue("padding-bottom"))+parseFloat($r.getPropertyValue("padding-top")),Vt=parseFloat($r.getPropertyValue("border-bottom-width"))+parseFloat($r.getPropertyValue("border-top-width")),yr=L.map(function(Er){return"".concat(Er,":").concat($r.getPropertyValue(Er))}).join(";"),jr={sizingStyle:yr,paddingSize:$n,borderSize:Vt,boxSizing:tn};return qt&&gr&&(x[gr]=jr),jr}function Tt(pe){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,$r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Dr||(Dr=document.createElement("textarea"),Dr.setAttribute("tab-index","-1"),Dr.setAttribute("aria-hidden","true"),Dr.setAttribute("name","hiddenTextarea"),document.body.appendChild(Dr)),pe.getAttribute("wrap")?Dr.setAttribute("wrap",pe.getAttribute("wrap")):Dr.removeAttribute("wrap");var tn=K(pe,qt),$n=tn.paddingSize,Vt=tn.borderSize,yr=tn.boxSizing,jr=tn.sizingStyle;Dr.setAttribute("style","".concat(jr,";").concat(Cn)),Dr.value=pe.value||pe.placeholder||"";var Er=void 0,Kr=void 0,Jr,mt=Dr.scrollHeight;if(yr==="border-box"?mt+=Vt:yr==="content-box"&&(mt-=$n),gr!==null||$r!==null){Dr.value=" ";var Jt=Dr.scrollHeight-$n;gr!==null&&(Er=Jt*gr,yr==="border-box"&&(Er=Er+$n+Vt),mt=Math.max(Er,mt)),$r!==null&&(Kr=Jt*$r,yr==="border-box"&&(Kr=Kr+$n+Vt),Jr=mt>Kr?"":"hidden",mt=Math.min(Kr,mt))}var nr={height:mt,overflowY:Jr,resize:"none"};return Er&&(nr.minHeight=Er),Kr&&(nr.maxHeight=Kr),nr}var Xt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],ar=0,ot=1,Ie=2,st=He.forwardRef(function(pe,qt){var gr=pe,$r=gr.prefixCls,tn=gr.defaultValue,$n=gr.value,Vt=gr.autoSize,yr=gr.onResize,jr=gr.className,Er=gr.style,Kr=gr.disabled,Jr=gr.onChange,mt=gr.onInternalAutoSize,Jt=M(gr,Xt),nr=vt(tn,{value:$n,postState:function(me){return me!=null?me:""}}),dr=j(nr,2),Rr=dr[0],Sn=dr[1],an=function(me){Sn(me.target.value),Jr==null||Jr(me)},An=He.useRef();He.useImperativeHandle(qt,function(){return{textArea:An.current}});var zn=He.useMemo(function(){return Vt&&Fe(Vt)==="object"?[Vt.minRows,Vt.maxRows]:[]},[Vt]),Gr=j(zn,2),Kn=Gr[0],In=Gr[1],ha=!!Vt,Oa=function(){try{if(document.activeElement===An.current){var me=An.current,Gt=me.selectionStart,oe=me.selectionEnd,jt=me.scrollTop;An.current.setSelectionRange(Gt,oe),An.current.scrollTop=jt}}catch(lt){}},Ca=He.useState(Ie),ra=j(Ca,2),p=ra[0],c=ra[1],d=He.useState(),v=j(d,2),I=v[0],b=v[1],B=function(){c(ar)};ae(function(){ha&&B()},[$n,Kn,In,ha]),ae(function(){if(p===ar)c(ot);else if(p===ot){var nt=Tt(An.current,!1,Kn,In);c(Ie),b(nt)}else Oa()},[p]);var X=He.useRef(),_=function(){yn.cancel(X.current)},Ce=function(me){p===Ie&&(yr==null||yr(me),Vt&&(_(),X.current=yn(function(){B()})))};He.useEffect(function(){return _},[]);var _e=ha?I:null,Ge=U(U({},Er),_e);return(p===ar||p===ot)&&(Ge.overflowY="hidden",Ge.overflowX="hidden"),He.createElement(ne,{onResize:Ce,disabled:!(Vt||yr)},He.createElement("textarea",t({},Jt,{ref:An,style:Ge,className:ee()($r,jr,G({},"".concat($r,"-disabled"),Kr)),disabled:Kr,value:Rr,onChange:an})))}),zt=st,rr=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],fr=He.forwardRef(function(pe,qt){var gr,$r=pe.defaultValue,tn=pe.value,$n=pe.onFocus,Vt=pe.onBlur,yr=pe.onChange,jr=pe.allowClear,Er=pe.maxLength,Kr=pe.onCompositionStart,Jr=pe.onCompositionEnd,mt=pe.suffix,Jt=pe.prefixCls,nr=Jt===void 0?"rc-textarea":Jt,dr=pe.showCount,Rr=pe.count,Sn=pe.className,an=pe.style,An=pe.disabled,zn=pe.hidden,Gr=pe.classNames,Kn=pe.styles,In=pe.onResize,ha=pe.onClear,Oa=pe.onPressEnter,Ca=pe.readOnly,ra=pe.autoSize,p=pe.onKeyDown,c=M(pe,rr),d=vt($r,{value:tn,defaultValue:$r}),v=j(d,2),I=v[0],b=v[1],B=I==null?"":String(I),X=He.useState(!1),_=j(X,2),Ce=_[0],_e=_[1],Ge=He.useRef(!1),nt=He.useState(null),me=j(nt,2),Gt=me[0],oe=me[1],jt=(0,He.useRef)(null),lt=(0,He.useRef)(null),Zt=function(){var dt;return(dt=lt.current)===null||dt===void 0?void 0:dt.textArea},wr=function(){Zt().focus()};(0,He.useImperativeHandle)(qt,function(){var Je;return{resizableTextArea:lt.current,focus:wr,blur:function(){Zt().blur()},nativeElement:((Je=jt.current)===null||Je===void 0?void 0:Je.nativeElement)||Zt()}}),(0,He.useEffect)(function(){_e(function(Je){return!An&&Je})},[An]);var cn=He.useState(null),vn=j(cn,2),On=vn[0],qr=vn[1];He.useEffect(function(){if(On){var Je;(Je=Zt()).setSelectionRange.apply(Je,Y(On))}},[On]);var kt=(0,Le.Z)(Rr,dr),un=(gr=kt.max)!==null&&gr!==void 0?gr:Er,gn=Number(un)>0,yt=kt.strategy(B),Ct=!!un&&yt>un,ir=function(dt,Nt){var $t=Nt;!Ge.current&&kt.exceedFormatter&&kt.max&&kt.strategy(Nt)>kt.max&&($t=kt.exceedFormatter(Nt,{max:kt.max}),Nt!==$t&&qr([Zt().selectionStart||0,Zt().selectionEnd||0])),b($t),(0,Me.rJ)(dt.currentTarget,dt,yr,$t)},Rt=function(dt){Ge.current=!0,Kr==null||Kr(dt)},Zr=function(dt){Ge.current=!1,ir(dt,dt.currentTarget.value),Jr==null||Jr(dt)},br=function(dt){ir(dt,dt.target.value)},Br=function(dt){dt.key==="Enter"&&Oa&&Oa(dt),p==null||p(dt)},Fr=function(dt){_e(!0),$n==null||$n(dt)},Xr=function(dt){_e(!1),Vt==null||Vt(dt)},kr=function(dt){b(""),wr(),(0,Me.rJ)(Zt(),dt,yr)},Un=mt,Ke;kt.show&&(kt.showFormatter?Ke=kt.showFormatter({value:B,count:yt,maxLength:un}):Ke="".concat(yt).concat(gn?" / ".concat(un):""),Un=He.createElement(He.Fragment,null,Un,He.createElement("span",{className:ee()("".concat(nr,"-data-count"),Gr==null?void 0:Gr.count),style:Kn==null?void 0:Kn.count},Ke)));var be=function(dt){var Nt;In==null||In(dt),(Nt=Zt())!==null&&Nt!==void 0&&Nt.style.height&&oe(!0)},ce=!ra&&!dr&&!jr;return He.createElement(C.BaseInput,{ref:jt,value:B,allowClear:jr,handleReset:kr,suffix:Un,prefixCls:nr,classNames:U(U({},Gr),{},{affixWrapper:ee()(Gr==null?void 0:Gr.affixWrapper,G(G({},"".concat(nr,"-show-count"),dr),"".concat(nr,"-textarea-allow-clear"),jr))}),disabled:An,focused:Ce,className:ee()(Sn,Ct&&"".concat(nr,"-out-of-range")),style:U(U({},an),Gt&&!ce?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ke=="string"?Ke:void 0}},hidden:zn,readOnly:Ca,onClear:ha},He.createElement(zt,t({},c,{autoSize:ra,maxLength:Er,onKeyDown:Br,onChange:br,onFocus:Fr,onBlur:Xr,onCompositionStart:Rt,onCompositionEnd:Zr,className:ee()(Gr==null?void 0:Gr.textarea),style:U(U({},Kn==null?void 0:Kn.textarea),{},{resize:an==null?void 0:an.resize}),disabled:An,prefixCls:nr,onResize:be,ref:lt,readOnly:Ca})))}),ht=fr,ln=ht},41505:function(on,Yt){var a,t;(function(){"use strict";var Fe={}.hasOwnProperty,$="[native code]";function Be(){for(var G=[],J=0;J<arguments.length;J++){var U=arguments[J];if(U){var y=typeof U;if(y==="string"||y==="number")G.push(U);else if(Array.isArray(U)){if(U.length){var W=Be.apply(null,U);W&&G.push(W)}}else if(y==="object"){if(U.toString!==Object.prototype.toString&&!U.toString.toString().includes("[native code]")){G.push(U.toString());continue}for(var l in U)Fe.call(U,l)&&U[l]&&G.push(l)}}}return G.join(" ")}on.exports?(Be.default=Be,on.exports=Be):(a=[],t=function(){return Be}.apply(Yt,a),t!==void 0&&(on.exports=t))})()},73982:function(on,Yt){"use strict";var a;var t=typeof Symbol=="function"&&Symbol.for,Fe=t?Symbol.for("react.element"):60103,$=t?Symbol.for("react.portal"):60106,Be=t?Symbol.for("react.fragment"):60107,G=t?Symbol.for("react.strict_mode"):60108,J=t?Symbol.for("react.profiler"):60114,U=t?Symbol.for("react.provider"):60109,y=t?Symbol.for("react.context"):60110,W=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,H=t?Symbol.for("react.forward_ref"):60112,V=t?Symbol.for("react.suspense"):60113,Y=t?Symbol.for("react.suspense_list"):60120,T=t?Symbol.for("react.memo"):60115,Z=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,j=t?Symbol.for("react.fundamental"):60117,A=t?Symbol.for("react.responder"):60118,M=t?Symbol.for("react.scope"):60119;function le(C){if(typeof C=="object"&&C!==null){var Le=C.$$typeof;switch(Le){case Fe:switch(C=C.type,C){case W:case l:case Be:case J:case G:case V:return C;default:switch(C=C&&C.$$typeof,C){case y:case H:case Z:case T:case U:return C;default:return Le}}case $:return Le}}}function ee(C){return le(C)===l}a=W,a=l,a=y,a=U,a=Fe,a=H,a=Be,a=Z,a=T,a=$,a=J,a=G,a=V,a=function(C){return ee(C)||le(C)===W},a=ee,a=function(C){return le(C)===y},a=function(C){return le(C)===U},a=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===Fe},a=function(C){return le(C)===H},Yt.isFragment=function(C){return le(C)===Be},a=function(C){return le(C)===Z},Yt.isMemo=function(C){return le(C)===T},a=function(C){return le(C)===$},a=function(C){return le(C)===J},a=function(C){return le(C)===G},a=function(C){return le(C)===V},a=function(C){return typeof C=="string"||typeof C=="function"||C===Be||C===l||C===J||C===G||C===V||C===Y||typeof C=="object"&&C!==null&&(C.$$typeof===Z||C.$$typeof===T||C.$$typeof===U||C.$$typeof===y||C.$$typeof===H||C.$$typeof===j||C.$$typeof===A||C.$$typeof===M||C.$$typeof===E)},a=le},68345:function(on,Yt,a){"use strict";on.exports=a(73982)},92389:function(on,Yt){"use strict";var a={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Fe){var $=Fe.keyCode;if(Fe.altKey&&!Fe.ctrlKey||Fe.metaKey||$>=a.F1&&$<=a.F12)return!1;switch($){case a.ALT:case a.CAPS_LOCK:case a.CONTEXT_MENU:case a.CTRL:case a.DOWN:case a.END:case a.ESC:case a.HOME:case a.INSERT:case a.LEFT:case a.MAC_FF_META:case a.META:case a.NUMLOCK:case a.NUM_CENTER:case a.PAGE_DOWN:case a.PAGE_UP:case a.PAUSE:case a.PRINT_SCREEN:case a.RIGHT:case a.SHIFT:case a.UP:case a.WIN_KEY:case a.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Fe){if(Fe>=a.ZERO&&Fe<=a.NINE||Fe>=a.NUM_ZERO&&Fe<=a.NUM_MULTIPLY||Fe>=a.A&&Fe<=a.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Fe===0)return!0;switch(Fe){case a.SPACE:case a.QUESTION_MARK:case a.NUM_PLUS:case a.NUM_MINUS:case a.NUM_PERIOD:case a.NUM_DIVISION:case a.SEMICOLON:case a.DASH:case a.EQUALS:case a.COMMA:case a.PERIOD:case a.SLASH:case a.APOSTROPHE:case a.SINGLE_QUOTE:case a.OPEN_SQUARE_BRACKET:case a.BACKSLASH:case a.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};Yt.Z=a},80599:function(on,Yt,a){var t=a(34155);(function($,Be){on.exports=Be(a(44983),a(46020))})(self,function(Fe,$){return function(){var Be={"./src/plugin/hyperlinks.js":function(y,W,l){"use strict";l.r(W);var H=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),V=l.n(H),Y=l("./node_modules/core-js/modules/es.string.link.js"),T=l.n(Y),Z=l("./src/worker.js"),E=l("./src/utils.js"),j=[],A={toContainer:Z.default.prototype.toContainer,toPdf:Z.default.prototype.toPdf};Z.default.prototype.toContainer=function(){return A.toContainer.call(this).then(function(){if(this.opt.enableLinks){var ee=this.prop.container,C=ee.querySelectorAll("a"),Le=(0,E.unitConvert)(ee.getBoundingClientRect(),this.prop.pageSize.k);j=[],Array.prototype.forEach.call(C,function(Me){for(var He=Me.getClientRects(),We=0;We<He.length;We++){var Pe=(0,E.unitConvert)(He[We],this.prop.pageSize.k);Pe.left-=Le.left,Pe.top-=Le.top;var Ne=Math.floor(Pe.top/this.prop.pageSize.inner.height)+1,ae=this.opt.margin[0]+Pe.top%this.prop.pageSize.inner.height,Ee=this.opt.margin[1]+Pe.left;j.push({page:Ne,top:ae,left:Ee,clientRect:Pe,link:Me})}},this)}})},Z.default.prototype.toPdf=function(){return A.toPdf.call(this).then(function(){if(this.opt.enableLinks){j.forEach(function(C){this.prop.pdf.setPage(C.page),this.prop.pdf.link(C.left,C.top,C.clientRect.width,C.clientRect.height,{url:C.link.href})},this);var ee=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(ee)}})}},"./src/plugin/jspdf-plugin.js":function(y,W,l){"use strict";l.r(W);var H=l("./node_modules/core-js/modules/es.symbol.js"),V=l.n(H),Y=l("./node_modules/core-js/modules/es.symbol.description.js"),T=l.n(Y),Z=l("./node_modules/core-js/modules/es.object.to-string.js"),E=l.n(Z),j=l("./node_modules/core-js/modules/es.symbol.iterator.js"),A=l.n(j),M=l("./node_modules/core-js/modules/es.array.iterator.js"),le=l.n(M),ee=l("./node_modules/core-js/modules/es.string.iterator.js"),C=l.n(ee),Le=l("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Me=l.n(Le),He=l("jspdf"),We=l.n(He);function Pe(Ne){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pe=function(Ee){return typeof Ee}:Pe=function(Ee){return Ee&&typeof Symbol=="function"&&Ee.constructor===Symbol&&Ee!==Symbol.prototype?"symbol":typeof Ee},Pe(Ne)}He.jsPDF.getPageSize=function(Ne,ae,Ee){if(Pe(Ne)==="object"){var R=Ne;Ne=R.orientation,ae=R.unit||ae,Ee=R.format||Ee}ae=ae||"mm",Ee=Ee||"a4",Ne=(""+(Ne||"P")).toLowerCase();var N=(""+Ee).toLowerCase(),vt={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(ae){case"pt":var ve=1;break;case"mm":var ve=72/25.4;break;case"cm":var ve=72/2.54;break;case"in":var ve=72;break;case"px":var ve=72/96;break;case"pc":var ve=12;break;case"em":var ve=12;break;case"ex":var ve=6;break;default:throw"Invalid unit: "+ae}if(vt.hasOwnProperty(N))var de=vt[N][1]/ve,k=vt[N][0]/ve;else try{var de=Ee[1],k=Ee[0]}catch(ye){throw new Error("Invalid format: "+Ee)}if(Ne==="p"||Ne==="portrait"){if(Ne="p",k>de){var te=k;k=de,de=te}}else if(Ne==="l"||Ne==="landscape"){if(Ne="l",de>k){var te=k;k=de,de=te}}else throw"Invalid orientation: "+Ne;var ie={width:k,height:de,unit:ae,k:ve};return ie},W.default=He.jsPDF},"./src/plugin/pagebreaks.js":function(y,W,l){"use strict";l.r(W);var H=l("./node_modules/core-js/modules/es.array.concat.js"),V=l.n(H),Y=l("./node_modules/core-js/modules/es.array.slice.js"),T=l.n(Y),Z=l("./node_modules/core-js/modules/es.array.join.js"),E=l.n(Z),j=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),A=l.n(j),M=l("./node_modules/core-js/modules/es.object.keys.js"),le=l.n(M),ee=l("./src/worker.js"),C=l("./src/utils.js"),Le={toContainer:ee.default.prototype.toContainer};ee.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ee.default.prototype.toContainer=function(){return Le.toContainer.call(this).then(function(){var We=this.prop.container,Pe=this.prop.pageSize.inner.px.height,Ne=[].concat(this.opt.pagebreak.mode),ae={avoidAll:Ne.indexOf("avoid-all")!==-1,css:Ne.indexOf("css")!==-1,legacy:Ne.indexOf("legacy")!==-1},Ee={},R=this;["before","after","avoid"].forEach(function(ve){var de=ae.avoidAll&&ve==="avoid";Ee[ve]=de?[]:[].concat(R.opt.pagebreak[ve]||[]),Ee[ve].length>0&&(Ee[ve]=Array.prototype.slice.call(We.querySelectorAll(Ee[ve].join(", "))))});var N=We.querySelectorAll(".html2pdf__page-break");N=Array.prototype.slice.call(N);var vt=We.querySelectorAll("*");Array.prototype.forEach.call(vt,function(de){var k={before:!1,after:ae.legacy&&N.indexOf(de)!==-1,avoid:ae.avoidAll};if(ae.css){var te=window.getComputedStyle(de),ie=["always","page","left","right"],ye=["avoid","avoid-page"];k={before:k.before||ie.indexOf(te.breakBefore||te.pageBreakBefore)!==-1,after:k.after||ie.indexOf(te.breakAfter||te.pageBreakAfter)!==-1,avoid:k.avoid||ye.indexOf(te.breakInside||te.pageBreakInside)!==-1}}Object.keys(k).forEach(function(ze){k[ze]=k[ze]||Ee[ze].indexOf(de)!==-1});var et=de.getBoundingClientRect();if(k.avoid&&!k.before){var Te=Math.floor(et.top/Pe),Qe=Math.floor(et.bottom/Pe),Wt=Math.abs(et.bottom-et.top)/Pe;Qe!==Te&&Wt<=1&&(k.before=!0)}if(k.before){var Ut=(0,C.createElement)("div",{style:{display:"block",height:Pe-et.top%Pe+"px"}});de.parentNode.insertBefore(Ut,de)}if(k.after){var Ut=(0,C.createElement)("div",{style:{display:"block",height:Pe-et.bottom%Pe+"px"}});de.parentNode.insertBefore(Ut,de.nextSibling)}})})}},"./src/utils.js":function(y,W,l){"use strict";l.r(W),l.d(W,{objType:function(){return Ne},createElement:function(){return ae},cloneNode:function(){return Ee},unitConvert:function(){return R},toPx:function(){return N}});var H=l("./node_modules/core-js/modules/es.number.constructor.js"),V=l.n(H),Y=l("./node_modules/core-js/modules/es.symbol.js"),T=l.n(Y),Z=l("./node_modules/core-js/modules/es.symbol.description.js"),E=l.n(Z),j=l("./node_modules/core-js/modules/es.object.to-string.js"),A=l.n(j),M=l("./node_modules/core-js/modules/es.symbol.iterator.js"),le=l.n(M),ee=l("./node_modules/core-js/modules/es.array.iterator.js"),C=l.n(ee),Le=l("./node_modules/core-js/modules/es.string.iterator.js"),Me=l.n(Le),He=l("./node_modules/core-js/modules/web.dom-collections.iterator.js"),We=l.n(He);function Pe(vt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pe=function(de){return typeof de}:Pe=function(de){return de&&typeof Symbol=="function"&&de.constructor===Symbol&&de!==Symbol.prototype?"symbol":typeof de},Pe(vt)}var Ne=function(ve){var de=Pe(ve);return de==="undefined"?"undefined":de==="string"||ve instanceof String?"string":de==="number"||ve instanceof Number?"number":de==="function"||ve instanceof Function?"function":ve&&ve.constructor===Array?"array":ve&&ve.nodeType===1?"element":de==="object"?"object":"unknown"},ae=function(ve,de){var k=document.createElement(ve);if(de.className&&(k.className=de.className),de.innerHTML){k.innerHTML=de.innerHTML;for(var te=k.getElementsByTagName("script"),ie=te.length;ie-- >0;null)te[ie].parentNode.removeChild(te[ie])}for(var ye in de.style)k.style[ye]=de.style[ye];return k},Ee=function vt(ve,de){for(var k=ve.nodeType===3?document.createTextNode(ve.nodeValue):ve.cloneNode(!1),te=ve.firstChild;te;te=te.nextSibling)(de===!0||te.nodeType!==1||te.nodeName!=="SCRIPT")&&k.appendChild(vt(te,de));return ve.nodeType===1&&(ve.nodeName==="CANVAS"?(k.width=ve.width,k.height=ve.height,k.getContext("2d").drawImage(ve,0,0)):(ve.nodeName==="TEXTAREA"||ve.nodeName==="SELECT")&&(k.value=ve.value),k.addEventListener("load",function(){k.scrollTop=ve.scrollTop,k.scrollLeft=ve.scrollLeft},!0)),k},R=function(ve,de){if(Ne(ve)==="number")return ve*72/96/de;var k={};for(var te in ve)k[te]=ve[te]*72/96/de;return k},N=function(ve,de){return Math.floor(ve*de/72*96)}},"./src/worker.js":function(y,W,l){"use strict";l.r(W);var H=l("./node_modules/core-js/modules/es.object.assign.js"),V=l.n(H),Y=l("./node_modules/core-js/modules/es.array.map.js"),T=l.n(Y),Z=l("./node_modules/core-js/modules/es.object.keys.js"),E=l.n(Z),j=l("./node_modules/core-js/modules/es.array.concat.js"),A=l.n(j),M=l("./node_modules/core-js/modules/es.object.to-string.js"),le=l.n(M),ee=l("./node_modules/core-js/modules/es.regexp.to-string.js"),C=l.n(ee),Le=l("./node_modules/core-js/modules/es.function.name.js"),Me=l.n(Le),He=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),We=l.n(He),Pe=l("jspdf"),Ne=l.n(Pe),ae=l("html2canvas"),Ee=l.n(ae),R=l("./src/utils.js"),N=l("./node_modules/es6-promise/dist/es6-promise.js"),vt=l.n(N),ve=vt().Promise,de=function k(te){var ie=Object.assign(k.convert(ve.resolve()),JSON.parse(JSON.stringify(k.template))),ye=k.convert(ve.resolve(),ie);return ye=ye.setProgress(1,k,1,[k]),ye=ye.set(te),ye};de.prototype=Object.create(ve.prototype),de.prototype.constructor=de,de.convert=function(te,ie){return te.__proto__=ie||de.prototype,te},de.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:{}}},de.prototype.from=function(te,ie){function ye(et){switch((0,R.objType)(et)){case"string":return"string";case"element":return et.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ie=ie||ye(te),ie){case"string":return this.set({src:(0,R.createElement)("div",{innerHTML:te})});case"element":return this.set({src:te});case"canvas":return this.set({canvas:te});case"img":return this.set({img:te});default:return this.error("Unknown source type.")}})},de.prototype.to=function(te){switch(te){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.")}},de.prototype.toContainer=function(){var te=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(te).then(function(){var ye={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},et={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};ye.opacity=0;var Te=(0,R.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,R.createElement)("div",{className:"html2pdf__overlay",style:ye}),this.prop.container=(0,R.createElement)("div",{className:"html2pdf__container",style:et}),this.prop.container.appendChild(Te),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},de.prototype.toCanvas=function(){var te=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(te).then(function(){var ye=Object.assign({},this.opt.html2canvas);return delete ye.onrendered,ae(this.prop.container,ye)}).then(function(ye){var et=this.opt.html2canvas.onrendered||function(){};et(ye),this.prop.canvas=ye,document.body.removeChild(this.prop.overlay)})},de.prototype.toImg=function(){var te=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(te).then(function(){var ye=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ye})},de.prototype.toPdf=function(){var te=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(te).then(function(){var ye=this.prop.canvas,et=this.opt,Te=ye.height,Qe=Math.floor(ye.width*this.prop.pageSize.inner.ratio),Wt=Math.ceil(Te/Qe),Ut=this.prop.pageSize.inner.height,ze=document.createElement("canvas"),Ue=ze.getContext("2d");ze.width=ye.width,ze.height=Qe,this.prop.pdf=this.prop.pdf||new Pe.jsPDF(et.jsPDF);for(var sr=0;sr<Wt;sr++){sr===Wt-1&&Te%Qe!==0&&(ze.height=Te%Qe,Ut=ze.height*this.prop.pageSize.inner.width/ze.width);var tr=ze.width,$e=ze.height;Ue.fillStyle="white",Ue.fillRect(0,0,tr,$e),Ue.drawImage(ye,0,sr*Qe,tr,$e,0,0,tr,$e),sr&&this.prop.pdf.addPage();var re=ze.toDataURL("image/"+et.image.type,et.image.quality);this.prop.pdf.addImage(re,et.image.type,et.margin[1],et.margin[0],this.prop.pageSize.inner.width,Ut)}})},de.prototype.output=function(te,ie,ye){return ye=ye||"pdf",ye.toLowerCase()==="img"||ye.toLowerCase()==="image"?this.outputImg(te,ie):this.outputPdf(te,ie)},de.prototype.outputPdf=function(te,ie){var ye=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(ye).then(function(){return this.prop.pdf.output(te,ie)})},de.prototype.outputImg=function(te,ie){var ye=[function(){return this.prop.img||this.toImg()}];return this.thenList(ye).then(function(){switch(te){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 "'+te+'" is not supported.'}})},de.prototype.save=function(te){var ie=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(ie).set(te?{filename:te}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},de.prototype.set=function(te){if((0,R.objType)(te)!=="object")return this;var ie=Object.keys(te||{}).map(function(ye){switch(ye){case"margin":return this.setMargin.bind(this,te.margin);case"jsPDF":return function(){return this.opt.jsPDF=te.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,te.pageSize);default:return ye in de.template.prop?function(){this.prop[ye]=te[ye]}:function(){this.opt[ye]=te[ye]}}},this);return this.then(function(){return this.thenList(ie)})},de.prototype.get=function(te,ie){return this.then(function(){var et=te in de.template.prop?this.prop[te]:this.opt[te];return ie?ie(et):et})},de.prototype.setMargin=function(te){return this.then(function(){switch((0,R.objType)(te)){case"number":te=[te,te,te,te];case"array":if(te.length===2&&(te=[te[0],te[1],te[0],te[1]]),te.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=te}).then(this.setPageSize)},de.prototype.setPageSize=function(te){return this.then(function(){te=te||Pe.jsPDF.getPageSize(this.opt.jsPDF),te.hasOwnProperty("inner")||(te.inner={width:te.width-this.opt.margin[1]-this.opt.margin[3],height:te.height-this.opt.margin[0]-this.opt.margin[2]},te.inner.px={width:(0,R.toPx)(te.inner.width,te.k),height:(0,R.toPx)(te.inner.height,te.k)},te.inner.ratio=te.inner.height/te.inner.width),this.prop.pageSize=te})},de.prototype.setProgress=function(te,ie,ye,et){return te!=null&&(this.progress.val=te),ie!=null&&(this.progress.state=ie),ye!=null&&(this.progress.n=ye),et!=null&&(this.progress.stack=et),this.progress.ratio=this.progress.val/this.progress.state,this},de.prototype.updateProgress=function(te,ie,ye,et){return this.setProgress(te?this.progress.val+te:null,ie||null,ye?this.progress.n+ye:null,et?this.progress.stack.concat(et):null)},de.prototype.then=function(te,ie){var ye=this;return this.thenCore(te,ie,function(Te,Qe){return ye.updateProgress(null,null,1,[Te]),ve.prototype.then.call(this,function(Ut){return ye.updateProgress(null,Te),Ut}).then(Te,Qe).then(function(Ut){return ye.updateProgress(1),Ut})})},de.prototype.thenCore=function(te,ie,ye){ye=ye||ve.prototype.then;var et=this;te&&(te=te.bind(et)),ie&&(ie=ie.bind(et));var Te=ve.toString().indexOf("[native code]")!==-1&&ve.name==="Promise",Qe=Te?et:de.convert(Object.assign({},et),ve.prototype),Wt=ye.call(Qe,te,ie);return de.convert(Wt,et.__proto__)},de.prototype.thenExternal=function(te,ie){return ve.prototype.then.call(this,te,ie)},de.prototype.thenList=function(te){var ie=this;return te.forEach(function(et){ie=ie.thenCore(et)}),ie},de.prototype.catch=function(k){k&&(k=k.bind(this));var te=ve.prototype.catch.call(this,k);return de.convert(te,this)},de.prototype.catchExternal=function(te){return ve.prototype.catch.call(this,te)},de.prototype.error=function(te){return this.then(function(){throw new Error(te)})},de.prototype.using=de.prototype.set,de.prototype.saveAs=de.prototype.save,de.prototype.export=de.prototype.output,de.prototype.run=de.prototype.then,W.default=de},"./node_modules/core-js/internals/a-function.js":function(y){y.exports=function(W){if(typeof W!="function")throw TypeError(String(W)+" is not a function");return W}},"./node_modules/core-js/internals/a-possible-prototype.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-object.js");y.exports=function(V){if(!H(V)&&V!==null)throw TypeError("Can't set "+String(V)+" as a prototype");return V}},"./node_modules/core-js/internals/add-to-unscopables.js":function(y,W,l){var H=l("./node_modules/core-js/internals/well-known-symbol.js"),V=l("./node_modules/core-js/internals/object-create.js"),Y=l("./node_modules/core-js/internals/object-define-property.js"),T=H("unscopables"),Z=Array.prototype;Z[T]==null&&Y.f(Z,T,{configurable:!0,value:V(null)}),y.exports=function(E){Z[T][E]=!0}},"./node_modules/core-js/internals/an-object.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-object.js");y.exports=function(V){if(!H(V))throw TypeError(String(V)+" is not an object");return V}},"./node_modules/core-js/internals/array-for-each.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/array-iteration.js").forEach,V=l("./node_modules/core-js/internals/array-method-is-strict.js"),Y=V("forEach");y.exports=Y?[].forEach:function(Z){return H(this,Z,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-indexed-object.js"),V=l("./node_modules/core-js/internals/to-length.js"),Y=l("./node_modules/core-js/internals/to-absolute-index.js"),T=function(Z){return function(E,j,A){var M=H(E),le=V(M.length),ee=Y(A,le),C;if(Z&&j!=j){for(;le>ee;)if(C=M[ee++],C!=C)return!0}else for(;le>ee;ee++)if((Z||ee in M)&&M[ee]===j)return Z||ee||0;return!Z&&-1}};y.exports={includes:T(!0),indexOf:T(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(y,W,l){var H=l("./node_modules/core-js/internals/function-bind-context.js"),V=l("./node_modules/core-js/internals/indexed-object.js"),Y=l("./node_modules/core-js/internals/to-object.js"),T=l("./node_modules/core-js/internals/to-length.js"),Z=l("./node_modules/core-js/internals/array-species-create.js"),E=[].push,j=function(A){var M=A==1,le=A==2,ee=A==3,C=A==4,Le=A==6,Me=A==7,He=A==5||Le;return function(We,Pe,Ne,ae){for(var Ee=Y(We),R=V(Ee),N=H(Pe,Ne,3),vt=T(R.length),ve=0,de=ae||Z,k=M?de(We,vt):le||Me?de(We,0):void 0,te,ie;vt>ve;ve++)if((He||ve in R)&&(te=R[ve],ie=N(te,ve,Ee),A))if(M)k[ve]=ie;else if(ie)switch(A){case 3:return!0;case 5:return te;case 6:return ve;case 2:E.call(k,te)}else switch(A){case 4:return!1;case 7:E.call(k,te)}return Le?-1:ee||C?C:k}};y.exports={forEach:j(0),map:j(1),filter:j(2),some:j(3),every:j(4),find:j(5),findIndex:j(6),filterReject:j(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(y,W,l){var H=l("./node_modules/core-js/internals/fails.js"),V=l("./node_modules/core-js/internals/well-known-symbol.js"),Y=l("./node_modules/core-js/internals/engine-v8-version.js"),T=V("species");y.exports=function(Z){return Y>=51||!H(function(){var E=[],j=E.constructor={};return j[T]=function(){return{foo:1}},E[Z](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/fails.js");y.exports=function(V,Y){var T=[][V];return!!T&&H(function(){T.call(null,Y||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-object.js"),V=l("./node_modules/core-js/internals/is-array.js"),Y=l("./node_modules/core-js/internals/well-known-symbol.js"),T=Y("species");y.exports=function(Z){var E;return V(Z)&&(E=Z.constructor,typeof E=="function"&&(E===Array||V(E.prototype))?E=void 0:H(E)&&(E=E[T],E===null&&(E=void 0))),E===void 0?Array:E}},"./node_modules/core-js/internals/array-species-create.js":function(y,W,l){var H=l("./node_modules/core-js/internals/array-species-constructor.js");y.exports=function(V,Y){return new(H(V))(Y===0?0:Y)}},"./node_modules/core-js/internals/classof-raw.js":function(y){var W={}.toString;y.exports=function(l){return W.call(l).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-string-tag-support.js"),V=l("./node_modules/core-js/internals/classof-raw.js"),Y=l("./node_modules/core-js/internals/well-known-symbol.js"),T=Y("toStringTag"),Z=V(function(){return arguments}())=="Arguments",E=function(j,A){try{return j[A]}catch(M){}};y.exports=H?V:function(j){var A,M,le;return j===void 0?"Undefined":j===null?"Null":typeof(M=E(A=Object(j),T))=="string"?M:Z?V(A):(le=V(A))=="Object"&&typeof A.callee=="function"?"Arguments":le}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(y,W,l){var H=l("./node_modules/core-js/internals/has.js"),V=l("./node_modules/core-js/internals/own-keys.js"),Y=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),T=l("./node_modules/core-js/internals/object-define-property.js");y.exports=function(Z,E){for(var j=V(E),A=T.f,M=Y.f,le=0;le<j.length;le++){var ee=j[le];H(Z,ee)||A(Z,ee,M(E,ee))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(y,W,l){var H=l("./node_modules/core-js/internals/fails.js");y.exports=!H(function(){function V(){}return V.prototype.constructor=null,Object.getPrototypeOf(new V)!==V.prototype})},"./node_modules/core-js/internals/create-html.js":function(y,W,l){var H=l("./node_modules/core-js/internals/require-object-coercible.js"),V=l("./node_modules/core-js/internals/to-string.js"),Y=/"/g;y.exports=function(T,Z,E,j){var A=V(H(T)),M="<"+Z;return E!==""&&(M+=" "+E+'="'+V(j).replace(Y,""")+'"'),M+">"+A+"</"+Z+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,V=l("./node_modules/core-js/internals/object-create.js"),Y=l("./node_modules/core-js/internals/create-property-descriptor.js"),T=l("./node_modules/core-js/internals/set-to-string-tag.js"),Z=l("./node_modules/core-js/internals/iterators.js"),E=function(){return this};y.exports=function(j,A,M){var le=A+" Iterator";return j.prototype=V(H,{next:Y(1,M)}),T(j,le,!1,!0),Z[le]=E,j}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(y,W,l){var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/object-define-property.js"),Y=l("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=H?function(T,Z,E){return V.f(T,Z,Y(1,E))}:function(T,Z,E){return T[Z]=E,T}},"./node_modules/core-js/internals/create-property-descriptor.js":function(y){y.exports=function(W,l){return{enumerable:!(W&1),configurable:!(W&2),writable:!(W&4),value:l}}},"./node_modules/core-js/internals/create-property.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/to-property-key.js"),V=l("./node_modules/core-js/internals/object-define-property.js"),Y=l("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=function(T,Z,E){var j=H(Z);j in T?V.f(T,j,Y(0,E)):T[j]=E}},"./node_modules/core-js/internals/define-iterator.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/create-iterator-constructor.js"),Y=l("./node_modules/core-js/internals/object-get-prototype-of.js"),T=l("./node_modules/core-js/internals/object-set-prototype-of.js"),Z=l("./node_modules/core-js/internals/set-to-string-tag.js"),E=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),j=l("./node_modules/core-js/internals/redefine.js"),A=l("./node_modules/core-js/internals/well-known-symbol.js"),M=l("./node_modules/core-js/internals/is-pure.js"),le=l("./node_modules/core-js/internals/iterators.js"),ee=l("./node_modules/core-js/internals/iterators-core.js"),C=ee.IteratorPrototype,Le=ee.BUGGY_SAFARI_ITERATORS,Me=A("iterator"),He="keys",We="values",Pe="entries",Ne=function(){return this};y.exports=function(ae,Ee,R,N,vt,ve,de){V(R,Ee,N);var k=function(Ue){if(Ue===vt&&Te)return Te;if(!Le&&Ue in ye)return ye[Ue];switch(Ue){case He:return function(){return new R(this,Ue)};case We:return function(){return new R(this,Ue)};case Pe:return function(){return new R(this,Ue)}}return function(){return new R(this)}},te=Ee+" Iterator",ie=!1,ye=ae.prototype,et=ye[Me]||ye["@@iterator"]||vt&&ye[vt],Te=!Le&&et||k(vt),Qe=Ee=="Array"&&ye.entries||et,Wt,Ut,ze;if(Qe&&(Wt=Y(Qe.call(new ae)),C!==Object.prototype&&Wt.next&&(!M&&Y(Wt)!==C&&(T?T(Wt,C):typeof Wt[Me]!="function"&&E(Wt,Me,Ne)),Z(Wt,te,!0,!0),M&&(le[te]=Ne))),vt==We&&et&&et.name!==We&&(ie=!0,Te=function(){return et.call(this)}),(!M||de)&&ye[Me]!==Te&&E(ye,Me,Te),le[Ee]=Te,vt)if(Ut={values:k(We),keys:ve?Te:k(He),entries:k(Pe)},de)for(ze in Ut)(Le||ie||!(ze in ye))&&j(ye,ze,Ut[ze]);else H({target:Ee,proto:!0,forced:Le||ie},Ut);return Ut}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(y,W,l){var H=l("./node_modules/core-js/internals/path.js"),V=l("./node_modules/core-js/internals/has.js"),Y=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),T=l("./node_modules/core-js/internals/object-define-property.js").f;y.exports=function(Z){var E=H.Symbol||(H.Symbol={});V(E,Z)||T(E,Z,{value:Y.f(Z)})}},"./node_modules/core-js/internals/descriptors.js":function(y,W,l){var H=l("./node_modules/core-js/internals/fails.js");y.exports=!H(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/is-object.js"),Y=H.document,T=V(Y)&&V(Y.createElement);y.exports=function(Z){return T?Y.createElement(Z):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(y){y.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(y,W,l){var H=l("./node_modules/core-js/internals/get-built-in.js");y.exports=H("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/engine-user-agent.js"),Y=H.process,T=H.Deno,Z=Y&&Y.versions||T&&T.version,E=Z&&Z.v8,j,A;E?(j=E.split("."),A=j[0]<4?1:j[0]+j[1]):V&&(j=V.match(/Edge\/(\d+)/),(!j||j[1]>=74)&&(j=V.match(/Chrome\/(\d+)/),j&&(A=j[1]))),y.exports=A&&+A},"./node_modules/core-js/internals/enum-bug-keys.js":function(y){y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Y=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),T=l("./node_modules/core-js/internals/redefine.js"),Z=l("./node_modules/core-js/internals/set-global.js"),E=l("./node_modules/core-js/internals/copy-constructor-properties.js"),j=l("./node_modules/core-js/internals/is-forced.js");y.exports=function(A,M){var le=A.target,ee=A.global,C=A.stat,Le,Me,He,We,Pe,Ne;if(ee?Me=H:C?Me=H[le]||Z(le,{}):Me=(H[le]||{}).prototype,Me)for(He in M){if(Pe=M[He],A.noTargetGet?(Ne=V(Me,He),We=Ne&&Ne.value):We=Me[He],Le=j(ee?He:le+(C?".":"#")+He,A.forced),!Le&&We!==void 0){if(typeof Pe==typeof We)continue;E(Pe,We)}(A.sham||We&&We.sham)&&Y(Pe,"sham",!0),T(Me,He,Pe,A)}}},"./node_modules/core-js/internals/fails.js":function(y){y.exports=function(W){try{return!!W()}catch(l){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(y,W,l){var H=l("./node_modules/core-js/internals/a-function.js");y.exports=function(V,Y,T){if(H(V),Y===void 0)return V;switch(T){case 0:return function(){return V.call(Y)};case 1:return function(Z){return V.call(Y,Z)};case 2:return function(Z,E){return V.call(Y,Z,E)};case 3:return function(Z,E,j){return V.call(Y,Z,E,j)}}return function(){return V.apply(Y,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=function(Y){return typeof Y=="function"?Y:void 0};y.exports=function(Y,T){return arguments.length<2?V(H[Y]):H[Y]&&H[Y][T]}},"./node_modules/core-js/internals/global.js":function(y){var W=function(l){return l&&l.Math==Math&&l};y.exports=W(typeof globalThis=="object"&&globalThis)||W(typeof window=="object"&&window)||W(typeof self=="object"&&self)||W(typeof a.g=="object"&&a.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-object.js"),V={}.hasOwnProperty;y.exports=Object.hasOwn||function(T,Z){return V.call(H(T),Z)}},"./node_modules/core-js/internals/hidden-keys.js":function(y){y.exports={}},"./node_modules/core-js/internals/html.js":function(y,W,l){var H=l("./node_modules/core-js/internals/get-built-in.js");y.exports=H("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(y,W,l){var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/fails.js"),Y=l("./node_modules/core-js/internals/document-create-element.js");y.exports=!H&&!V(function(){return Object.defineProperty(Y("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(y,W,l){var H=l("./node_modules/core-js/internals/fails.js"),V=l("./node_modules/core-js/internals/classof-raw.js"),Y="".split;y.exports=H(function(){return!Object("z").propertyIsEnumerable(0)})?function(T){return V(T)=="String"?Y.call(T,""):Object(T)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-object.js"),V=l("./node_modules/core-js/internals/object-set-prototype-of.js");y.exports=function(Y,T,Z){var E,j;return V&&typeof(E=T.constructor)=="function"&&E!==Z&&H(j=E.prototype)&&j!==Z.prototype&&V(Y,j),Y}},"./node_modules/core-js/internals/inspect-source.js":function(y,W,l){var H=l("./node_modules/core-js/internals/shared-store.js"),V=Function.toString;typeof H.inspectSource!="function"&&(H.inspectSource=function(Y){return V.call(Y)}),y.exports=H.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(y,W,l){var H=l("./node_modules/core-js/internals/native-weak-map.js"),V=l("./node_modules/core-js/internals/global.js"),Y=l("./node_modules/core-js/internals/is-object.js"),T=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),Z=l("./node_modules/core-js/internals/has.js"),E=l("./node_modules/core-js/internals/shared-store.js"),j=l("./node_modules/core-js/internals/shared-key.js"),A=l("./node_modules/core-js/internals/hidden-keys.js"),M="Object already initialized",le=V.WeakMap,ee,C,Le,Me=function(R){return Le(R)?C(R):ee(R,{})},He=function(R){return function(N){var vt;if(!Y(N)||(vt=C(N)).type!==R)throw TypeError("Incompatible receiver, "+R+" required");return vt}};if(H||E.state){var We=E.state||(E.state=new le),Pe=We.get,Ne=We.has,ae=We.set;ee=function(R,N){if(Ne.call(We,R))throw new TypeError(M);return N.facade=R,ae.call(We,R,N),N},C=function(R){return Pe.call(We,R)||{}},Le=function(R){return Ne.call(We,R)}}else{var Ee=j("state");A[Ee]=!0,ee=function(R,N){if(Z(R,Ee))throw new TypeError(M);return N.facade=R,T(R,Ee,N),N},C=function(R){return Z(R,Ee)?R[Ee]:{}},Le=function(R){return Z(R,Ee)}}y.exports={set:ee,get:C,has:Le,enforce:Me,getterFor:He}},"./node_modules/core-js/internals/is-array.js":function(y,W,l){var H=l("./node_modules/core-js/internals/classof-raw.js");y.exports=Array.isArray||function(Y){return H(Y)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(y,W,l){var H=l("./node_modules/core-js/internals/fails.js"),V=/#|\.prototype\./,Y=function(A,M){var le=Z[T(A)];return le==j?!0:le==E?!1:typeof M=="function"?H(M):!!M},T=Y.normalize=function(A){return String(A).replace(V,".").toLowerCase()},Z=Y.data={},E=Y.NATIVE="N",j=Y.POLYFILL="P";y.exports=Y},"./node_modules/core-js/internals/is-object.js":function(y){y.exports=function(W){return typeof W=="object"?W!==null:typeof W=="function"}},"./node_modules/core-js/internals/is-pure.js":function(y){y.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(y,W,l){var H=l("./node_modules/core-js/internals/get-built-in.js"),V=l("./node_modules/core-js/internals/use-symbol-as-uid.js");y.exports=V?function(Y){return typeof Y=="symbol"}:function(Y){var T=H("Symbol");return typeof T=="function"&&Object(Y)instanceof T}},"./node_modules/core-js/internals/iterators-core.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/fails.js"),V=l("./node_modules/core-js/internals/object-get-prototype-of.js"),Y=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),T=l("./node_modules/core-js/internals/has.js"),Z=l("./node_modules/core-js/internals/well-known-symbol.js"),E=l("./node_modules/core-js/internals/is-pure.js"),j=Z("iterator"),A=!1,M=function(){return this},le,ee,C;[].keys&&(C=[].keys(),"next"in C?(ee=V(V(C)),ee!==Object.prototype&&(le=ee)):A=!0);var Le=le==null||H(function(){var Me={};return le[j].call(Me)!==Me});Le&&(le={}),(!E||Le)&&!T(le,j)&&Y(le,j,M),y.exports={IteratorPrototype:le,BUGGY_SAFARI_ITERATORS:A}},"./node_modules/core-js/internals/iterators.js":function(y){y.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(y,W,l){var H=l("./node_modules/core-js/internals/engine-v8-version.js"),V=l("./node_modules/core-js/internals/fails.js");y.exports=!!Object.getOwnPropertySymbols&&!V(function(){var Y=Symbol();return!String(Y)||!(Object(Y)instanceof Symbol)||!Symbol.sham&&H&&H<41})},"./node_modules/core-js/internals/native-weak-map.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/inspect-source.js"),Y=H.WeakMap;y.exports=typeof Y=="function"&&/native code/.test(V(Y))},"./node_modules/core-js/internals/object-assign.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/fails.js"),Y=l("./node_modules/core-js/internals/object-keys.js"),T=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Z=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),E=l("./node_modules/core-js/internals/to-object.js"),j=l("./node_modules/core-js/internals/indexed-object.js"),A=Object.assign,M=Object.defineProperty;y.exports=!A||V(function(){if(H&&A({b:1},A(M({},"a",{enumerable:!0,get:function(){M(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var le={},ee={},C=Symbol(),Le="abcdefghijklmnopqrst";return le[C]=7,Le.split("").forEach(function(Me){ee[Me]=Me}),A({},le)[C]!=7||Y(A({},ee)).join("")!=Le})?function(ee,C){for(var Le=E(ee),Me=arguments.length,He=1,We=T.f,Pe=Z.f;Me>He;)for(var Ne=j(arguments[He++]),ae=We?Y(Ne).concat(We(Ne)):Y(Ne),Ee=ae.length,R=0,N;Ee>R;)N=ae[R++],(!H||Pe.call(Ne,N))&&(Le[N]=Ne[N]);return Le}:A},"./node_modules/core-js/internals/object-create.js":function(y,W,l){var H=l("./node_modules/core-js/internals/an-object.js"),V=l("./node_modules/core-js/internals/object-define-properties.js"),Y=l("./node_modules/core-js/internals/enum-bug-keys.js"),T=l("./node_modules/core-js/internals/hidden-keys.js"),Z=l("./node_modules/core-js/internals/html.js"),E=l("./node_modules/core-js/internals/document-create-element.js"),j=l("./node_modules/core-js/internals/shared-key.js"),A=">",M="<",le="prototype",ee="script",C=j("IE_PROTO"),Le=function(){},Me=function(ae){return M+ee+A+ae+M+"/"+ee+A},He=function(ae){ae.write(Me("")),ae.close();var Ee=ae.parentWindow.Object;return ae=null,Ee},We=function(){var ae=E("iframe"),Ee="java"+ee+":",R;if(ae.style)return ae.style.display="none",Z.appendChild(ae),ae.src=String(Ee),R=ae.contentWindow.document,R.open(),R.write(Me("document.F=Object")),R.close(),R.F},Pe,Ne=function(){try{Pe=new ActiveXObject("htmlfile")}catch(Ee){}Ne=document.domain&&Pe?He(Pe):We()||He(Pe);for(var ae=Y.length;ae--;)delete Ne[le][Y[ae]];return Ne()};T[C]=!0,y.exports=Object.create||function(Ee,R){var N;return Ee!==null?(Le[le]=H(Ee),N=new Le,Le[le]=null,N[C]=Ee):N=Ne(),R===void 0?N:V(N,R)}},"./node_modules/core-js/internals/object-define-properties.js":function(y,W,l){var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/object-define-property.js"),Y=l("./node_modules/core-js/internals/an-object.js"),T=l("./node_modules/core-js/internals/object-keys.js");y.exports=H?Object.defineProperties:function(E,j){Y(E);for(var A=T(j),M=A.length,le=0,ee;M>le;)V.f(E,ee=A[le++],j[ee]);return E}},"./node_modules/core-js/internals/object-define-property.js":function(y,W,l){var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/ie8-dom-define.js"),Y=l("./node_modules/core-js/internals/an-object.js"),T=l("./node_modules/core-js/internals/to-property-key.js"),Z=Object.defineProperty;W.f=H?Z:function(j,A,M){if(Y(j),A=T(A),Y(M),V)try{return Z(j,A,M)}catch(le){}if("get"in M||"set"in M)throw TypeError("Accessors not supported");return"value"in M&&(j[A]=M.value),j}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(y,W,l){var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),Y=l("./node_modules/core-js/internals/create-property-descriptor.js"),T=l("./node_modules/core-js/internals/to-indexed-object.js"),Z=l("./node_modules/core-js/internals/to-property-key.js"),E=l("./node_modules/core-js/internals/has.js"),j=l("./node_modules/core-js/internals/ie8-dom-define.js"),A=Object.getOwnPropertyDescriptor;W.f=H?A:function(le,ee){if(le=T(le),ee=Z(ee),j)try{return A(le,ee)}catch(C){}if(E(le,ee))return Y(!V.f.call(le,ee),le[ee])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-indexed-object.js"),V=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,Y={}.toString,T=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Z=function(E){try{return V(E)}catch(j){return T.slice()}};y.exports.f=function(j){return T&&Y.call(j)=="[object Window]"?Z(j):V(H(j))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(y,W,l){var H=l("./node_modules/core-js/internals/object-keys-internal.js"),V=l("./node_modules/core-js/internals/enum-bug-keys.js"),Y=V.concat("length","prototype");W.f=Object.getOwnPropertyNames||function(Z){return H(Z,Y)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(y,W){W.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(y,W,l){var H=l("./node_modules/core-js/internals/has.js"),V=l("./node_modules/core-js/internals/to-object.js"),Y=l("./node_modules/core-js/internals/shared-key.js"),T=l("./node_modules/core-js/internals/correct-prototype-getter.js"),Z=Y("IE_PROTO"),E=Object.prototype;y.exports=T?Object.getPrototypeOf:function(j){return j=V(j),H(j,Z)?j[Z]:typeof j.constructor=="function"&&j instanceof j.constructor?j.constructor.prototype:j instanceof Object?E:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(y,W,l){var H=l("./node_modules/core-js/internals/has.js"),V=l("./node_modules/core-js/internals/to-indexed-object.js"),Y=l("./node_modules/core-js/internals/array-includes.js").indexOf,T=l("./node_modules/core-js/internals/hidden-keys.js");y.exports=function(Z,E){var j=V(Z),A=0,M=[],le;for(le in j)!H(T,le)&&H(j,le)&&M.push(le);for(;E.length>A;)H(j,le=E[A++])&&(~Y(M,le)||M.push(le));return M}},"./node_modules/core-js/internals/object-keys.js":function(y,W,l){var H=l("./node_modules/core-js/internals/object-keys-internal.js"),V=l("./node_modules/core-js/internals/enum-bug-keys.js");y.exports=Object.keys||function(T){return H(T,V)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(y,W){"use strict";var l={}.propertyIsEnumerable,H=Object.getOwnPropertyDescriptor,V=H&&!l.call({1:2},1);W.f=V?function(T){var Z=H(this,T);return!!Z&&Z.enumerable}:l},"./node_modules/core-js/internals/object-set-prototype-of.js":function(y,W,l){var H=l("./node_modules/core-js/internals/an-object.js"),V=l("./node_modules/core-js/internals/a-possible-prototype.js");y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Y=!1,T={},Z;try{Z=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Z.call(T,[]),Y=T instanceof Array}catch(E){}return function(j,A){return H(j),V(A),Y?Z.call(j,A):j.__proto__=A,j}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/to-string-tag-support.js"),V=l("./node_modules/core-js/internals/classof.js");y.exports=H?{}.toString:function(){return"[object "+V(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-object.js");y.exports=function(V,Y){var T,Z;if(Y==="string"&&typeof(T=V.toString)=="function"&&!H(Z=T.call(V))||typeof(T=V.valueOf)=="function"&&!H(Z=T.call(V))||Y!=="string"&&typeof(T=V.toString)=="function"&&!H(Z=T.call(V)))return Z;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(y,W,l){var H=l("./node_modules/core-js/internals/get-built-in.js"),V=l("./node_modules/core-js/internals/object-get-own-property-names.js"),Y=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),T=l("./node_modules/core-js/internals/an-object.js");y.exports=H("Reflect","ownKeys")||function(E){var j=V.f(T(E)),A=Y.f;return A?j.concat(A(E)):j}},"./node_modules/core-js/internals/path.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js");y.exports=H},"./node_modules/core-js/internals/redefine.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),Y=l("./node_modules/core-js/internals/has.js"),T=l("./node_modules/core-js/internals/set-global.js"),Z=l("./node_modules/core-js/internals/inspect-source.js"),E=l("./node_modules/core-js/internals/internal-state.js"),j=E.get,A=E.enforce,M=String(String).split("String");(y.exports=function(le,ee,C,Le){var Me=Le?!!Le.unsafe:!1,He=Le?!!Le.enumerable:!1,We=Le?!!Le.noTargetGet:!1,Pe;if(typeof C=="function"&&(typeof ee=="string"&&!Y(C,"name")&&V(C,"name",ee),Pe=A(C),Pe.source||(Pe.source=M.join(typeof ee=="string"?ee:""))),le===H){He?le[ee]=C:T(ee,C);return}else Me?!We&&le[ee]&&(He=!0):delete le[ee];He?le[ee]=C:V(le,ee,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&j(this).source||Z(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/an-object.js");y.exports=function(){var V=H(this),Y="";return V.global&&(Y+="g"),V.ignoreCase&&(Y+="i"),V.multiline&&(Y+="m"),V.dotAll&&(Y+="s"),V.unicode&&(Y+="u"),V.sticky&&(Y+="y"),Y}},"./node_modules/core-js/internals/require-object-coercible.js":function(y){y.exports=function(W){if(W==null)throw TypeError("Can't call method on "+W);return W}},"./node_modules/core-js/internals/set-global.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js");y.exports=function(V,Y){try{Object.defineProperty(H,V,{value:Y,configurable:!0,writable:!0})}catch(T){H[V]=Y}return Y}},"./node_modules/core-js/internals/set-to-string-tag.js":function(y,W,l){var H=l("./node_modules/core-js/internals/object-define-property.js").f,V=l("./node_modules/core-js/internals/has.js"),Y=l("./node_modules/core-js/internals/well-known-symbol.js"),T=Y("toStringTag");y.exports=function(Z,E,j){Z&&!V(Z=j?Z:Z.prototype,T)&&H(Z,T,{configurable:!0,value:E})}},"./node_modules/core-js/internals/shared-key.js":function(y,W,l){var H=l("./node_modules/core-js/internals/shared.js"),V=l("./node_modules/core-js/internals/uid.js"),Y=H("keys");y.exports=function(T){return Y[T]||(Y[T]=V(T))}},"./node_modules/core-js/internals/shared-store.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/set-global.js"),Y="__core-js_shared__",T=H[Y]||V(Y,{});y.exports=T},"./node_modules/core-js/internals/shared.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-pure.js"),V=l("./node_modules/core-js/internals/shared-store.js");(y.exports=function(Y,T){return V[Y]||(V[Y]=T!==void 0?T:{})})("versions",[]).push({version:"3.16.0",mode:H?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(y,W,l){var H=l("./node_modules/core-js/internals/fails.js");y.exports=function(V){return H(function(){var Y=""[V]('"');return Y!==Y.toLowerCase()||Y.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-integer.js"),V=l("./node_modules/core-js/internals/to-string.js"),Y=l("./node_modules/core-js/internals/require-object-coercible.js"),T=function(Z){return function(E,j){var A=V(Y(E)),M=H(j),le=A.length,ee,C;return M<0||M>=le?Z?"":void 0:(ee=A.charCodeAt(M),ee<55296||ee>56319||M+1===le||(C=A.charCodeAt(M+1))<56320||C>57343?Z?A.charAt(M):ee:Z?A.slice(M,M+2):(ee-55296<<10)+(C-56320)+65536)}};y.exports={codeAt:T(!1),charAt:T(!0)}},"./node_modules/core-js/internals/string-trim.js":function(y,W,l){var H=l("./node_modules/core-js/internals/require-object-coercible.js"),V=l("./node_modules/core-js/internals/to-string.js"),Y=l("./node_modules/core-js/internals/whitespaces.js"),T="["+Y+"]",Z=RegExp("^"+T+T+"*"),E=RegExp(T+T+"*$"),j=function(A){return function(M){var le=V(H(M));return A&1&&(le=le.replace(Z,"")),A&2&&(le=le.replace(E,"")),le}};y.exports={start:j(1),end:j(2),trim:j(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-integer.js"),V=Math.max,Y=Math.min;y.exports=function(T,Z){var E=H(T);return E<0?V(E+Z,0):Y(E,Z)}},"./node_modules/core-js/internals/to-indexed-object.js":function(y,W,l){var H=l("./node_modules/core-js/internals/indexed-object.js"),V=l("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(Y){return H(V(Y))}},"./node_modules/core-js/internals/to-integer.js":function(y){var W=Math.ceil,l=Math.floor;y.exports=function(H){return isNaN(H=+H)?0:(H>0?l:W)(H)}},"./node_modules/core-js/internals/to-length.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-integer.js"),V=Math.min;y.exports=function(Y){return Y>0?V(H(Y),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(y,W,l){var H=l("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(V){return Object(H(V))}},"./node_modules/core-js/internals/to-primitive.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-object.js"),V=l("./node_modules/core-js/internals/is-symbol.js"),Y=l("./node_modules/core-js/internals/ordinary-to-primitive.js"),T=l("./node_modules/core-js/internals/well-known-symbol.js"),Z=T("toPrimitive");y.exports=function(E,j){if(!H(E)||V(E))return E;var A=E[Z],M;if(A!==void 0){if(j===void 0&&(j="default"),M=A.call(E,j),!H(M)||V(M))return M;throw TypeError("Can't convert object to primitive value")}return j===void 0&&(j="number"),Y(E,j)}},"./node_modules/core-js/internals/to-property-key.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-primitive.js"),V=l("./node_modules/core-js/internals/is-symbol.js");y.exports=function(Y){var T=H(Y,"string");return V(T)?T:String(T)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(y,W,l){var H=l("./node_modules/core-js/internals/well-known-symbol.js"),V=H("toStringTag"),Y={};Y[V]="z",y.exports=String(Y)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(y,W,l){var H=l("./node_modules/core-js/internals/is-symbol.js");y.exports=function(V){if(H(V))throw TypeError("Cannot convert a Symbol value to a string");return String(V)}},"./node_modules/core-js/internals/uid.js":function(y){var W=0,l=Math.random();y.exports=function(H){return"Symbol("+String(H===void 0?"":H)+")_"+(++W+l).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(y,W,l){var H=l("./node_modules/core-js/internals/native-symbol.js");y.exports=H&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(y,W,l){var H=l("./node_modules/core-js/internals/well-known-symbol.js");W.f=H},"./node_modules/core-js/internals/well-known-symbol.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/shared.js"),Y=l("./node_modules/core-js/internals/has.js"),T=l("./node_modules/core-js/internals/uid.js"),Z=l("./node_modules/core-js/internals/native-symbol.js"),E=l("./node_modules/core-js/internals/use-symbol-as-uid.js"),j=V("wks"),A=H.Symbol,M=E?A:A&&A.withoutSetter||T;y.exports=function(le){return(!Y(j,le)||!(Z||typeof j[le]=="string"))&&(Z&&Y(A,le)?j[le]=A[le]:j[le]=M("Symbol."+le)),j[le]}},"./node_modules/core-js/internals/whitespaces.js":function(y){y.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(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/fails.js"),Y=l("./node_modules/core-js/internals/is-array.js"),T=l("./node_modules/core-js/internals/is-object.js"),Z=l("./node_modules/core-js/internals/to-object.js"),E=l("./node_modules/core-js/internals/to-length.js"),j=l("./node_modules/core-js/internals/create-property.js"),A=l("./node_modules/core-js/internals/array-species-create.js"),M=l("./node_modules/core-js/internals/array-method-has-species-support.js"),le=l("./node_modules/core-js/internals/well-known-symbol.js"),ee=l("./node_modules/core-js/internals/engine-v8-version.js"),C=le("isConcatSpreadable"),Le=9007199254740991,Me="Maximum allowed index exceeded",He=ee>=51||!V(function(){var ae=[];return ae[C]=!1,ae.concat()[0]!==ae}),We=M("concat"),Pe=function(ae){if(!T(ae))return!1;var Ee=ae[C];return Ee!==void 0?!!Ee:Y(ae)},Ne=!He||!We;H({target:"Array",proto:!0,forced:Ne},{concat:function(Ee){var R=Z(this),N=A(R,0),vt=0,ve,de,k,te,ie;for(ve=-1,k=arguments.length;ve<k;ve++)if(ie=ve===-1?R:arguments[ve],Pe(ie)){if(te=E(ie.length),vt+te>Le)throw TypeError(Me);for(de=0;de<te;de++,vt++)de in ie&&j(N,vt,ie[de])}else{if(vt>=Le)throw TypeError(Me);j(N,vt++,ie)}return N.length=vt,N}})},"./node_modules/core-js/modules/es.array.iterator.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/to-indexed-object.js"),V=l("./node_modules/core-js/internals/add-to-unscopables.js"),Y=l("./node_modules/core-js/internals/iterators.js"),T=l("./node_modules/core-js/internals/internal-state.js"),Z=l("./node_modules/core-js/internals/define-iterator.js"),E="Array Iterator",j=T.set,A=T.getterFor(E);y.exports=Z(Array,"Array",function(M,le){j(this,{type:E,target:H(M),index:0,kind:le})},function(){var M=A(this),le=M.target,ee=M.kind,C=M.index++;return!le||C>=le.length?(M.target=void 0,{value:void 0,done:!0}):ee=="keys"?{value:C,done:!1}:ee=="values"?{value:le[C],done:!1}:{value:[C,le[C]],done:!1}},"values"),Y.Arguments=Y.Array,V("keys"),V("values"),V("entries")},"./node_modules/core-js/modules/es.array.join.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/indexed-object.js"),Y=l("./node_modules/core-js/internals/to-indexed-object.js"),T=l("./node_modules/core-js/internals/array-method-is-strict.js"),Z=[].join,E=V!=Object,j=T("join",",");H({target:"Array",proto:!0,forced:E||!j},{join:function(M){return Z.call(Y(this),M===void 0?",":M)}})},"./node_modules/core-js/modules/es.array.map.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/array-iteration.js").map,Y=l("./node_modules/core-js/internals/array-method-has-species-support.js"),T=Y("map");H({target:"Array",proto:!0,forced:!T},{map:function(E){return V(this,E,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/is-object.js"),Y=l("./node_modules/core-js/internals/is-array.js"),T=l("./node_modules/core-js/internals/to-absolute-index.js"),Z=l("./node_modules/core-js/internals/to-length.js"),E=l("./node_modules/core-js/internals/to-indexed-object.js"),j=l("./node_modules/core-js/internals/create-property.js"),A=l("./node_modules/core-js/internals/well-known-symbol.js"),M=l("./node_modules/core-js/internals/array-method-has-species-support.js"),le=M("slice"),ee=A("species"),C=[].slice,Le=Math.max;H({target:"Array",proto:!0,forced:!le},{slice:function(He,We){var Pe=E(this),Ne=Z(Pe.length),ae=T(He,Ne),Ee=T(We===void 0?Ne:We,Ne),R,N,vt;if(Y(Pe)&&(R=Pe.constructor,typeof R=="function"&&(R===Array||Y(R.prototype))?R=void 0:V(R)&&(R=R[ee],R===null&&(R=void 0)),R===Array||R===void 0))return C.call(Pe,ae,Ee);for(N=new(R===void 0?Array:R)(Le(Ee-ae,0)),vt=0;ae<Ee;ae++,vt++)ae in Pe&&j(N,vt,Pe[ae]);return N.length=vt,N}})},"./node_modules/core-js/modules/es.function.name.js":function(y,W,l){var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/object-define-property.js").f,Y=Function.prototype,T=Y.toString,Z=/^\s*function ([^ (]*)/,E="name";H&&!(E in Y)&&V(Y,E,{configurable:!0,get:function(){try{return T.call(this).match(Z)[1]}catch(j){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/descriptors.js"),V=l("./node_modules/core-js/internals/global.js"),Y=l("./node_modules/core-js/internals/is-forced.js"),T=l("./node_modules/core-js/internals/redefine.js"),Z=l("./node_modules/core-js/internals/has.js"),E=l("./node_modules/core-js/internals/classof-raw.js"),j=l("./node_modules/core-js/internals/inherit-if-required.js"),A=l("./node_modules/core-js/internals/is-symbol.js"),M=l("./node_modules/core-js/internals/to-primitive.js"),le=l("./node_modules/core-js/internals/fails.js"),ee=l("./node_modules/core-js/internals/object-create.js"),C=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,Le=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Me=l("./node_modules/core-js/internals/object-define-property.js").f,He=l("./node_modules/core-js/internals/string-trim.js").trim,We="Number",Pe=V[We],Ne=Pe.prototype,ae=E(ee(Ne))==We,Ee=function(de){if(A(de))throw TypeError("Cannot convert a Symbol value to a number");var k=M(de,"number"),te,ie,ye,et,Te,Qe,Wt,Ut;if(typeof k=="string"&&k.length>2){if(k=He(k),te=k.charCodeAt(0),te===43||te===45){if(ie=k.charCodeAt(2),ie===88||ie===120)return NaN}else if(te===48){switch(k.charCodeAt(1)){case 66:case 98:ye=2,et=49;break;case 79:case 111:ye=8,et=55;break;default:return+k}for(Te=k.slice(2),Qe=Te.length,Wt=0;Wt<Qe;Wt++)if(Ut=Te.charCodeAt(Wt),Ut<48||Ut>et)return NaN;return parseInt(Te,ye)}}return+k};if(Y(We,!Pe(" 0o1")||!Pe("0b1")||Pe("+0x1"))){for(var R=function(k){var te=arguments.length<1?0:k,ie=this;return ie instanceof R&&(ae?le(function(){Ne.valueOf.call(ie)}):E(ie)!=We)?j(new Pe(Ee(te)),ie,R):Ee(te)},N=H?C(Pe):"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(","),vt=0,ve;N.length>vt;vt++)Z(Pe,ve=N[vt])&&!Z(R,ve)&&Me(R,ve,Le(Pe,ve));R.prototype=Ne,Ne.constructor=R,T(V,We,R)}},"./node_modules/core-js/modules/es.object.assign.js":function(y,W,l){var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/object-assign.js");H({target:"Object",stat:!0,forced:Object.assign!==V},{assign:V})},"./node_modules/core-js/modules/es.object.keys.js":function(y,W,l){var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/to-object.js"),Y=l("./node_modules/core-js/internals/object-keys.js"),T=l("./node_modules/core-js/internals/fails.js"),Z=T(function(){Y(1)});H({target:"Object",stat:!0,forced:Z},{keys:function(j){return Y(V(j))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(y,W,l){var H=l("./node_modules/core-js/internals/to-string-tag-support.js"),V=l("./node_modules/core-js/internals/redefine.js"),Y=l("./node_modules/core-js/internals/object-to-string.js");H||V(Object.prototype,"toString",Y,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/redefine.js"),V=l("./node_modules/core-js/internals/an-object.js"),Y=l("./node_modules/core-js/internals/to-string.js"),T=l("./node_modules/core-js/internals/fails.js"),Z=l("./node_modules/core-js/internals/regexp-flags.js"),E="toString",j=RegExp.prototype,A=j[E],M=T(function(){return A.call({source:"a",flags:"b"})!="/a/b"}),le=A.name!=E;(M||le)&&H(RegExp.prototype,E,function(){var C=V(this),Le=Y(C.source),Me=C.flags,He=Y(Me===void 0&&C instanceof RegExp&&!("flags"in j)?Z.call(C):Me);return"/"+Le+"/"+He},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/string-multibyte.js").charAt,V=l("./node_modules/core-js/internals/to-string.js"),Y=l("./node_modules/core-js/internals/internal-state.js"),T=l("./node_modules/core-js/internals/define-iterator.js"),Z="String Iterator",E=Y.set,j=Y.getterFor(Z);T(String,"String",function(A){E(this,{type:Z,string:V(A),index:0})},function(){var M=j(this),le=M.string,ee=M.index,C;return ee>=le.length?{value:void 0,done:!0}:(C=H(le,ee),M.index+=C.length,{value:C,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/create-html.js"),Y=l("./node_modules/core-js/internals/string-html-forced.js");H({target:"String",proto:!0,forced:Y("link")},{link:function(Z){return V(this,"a","href",Z)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/descriptors.js"),Y=l("./node_modules/core-js/internals/global.js"),T=l("./node_modules/core-js/internals/has.js"),Z=l("./node_modules/core-js/internals/is-object.js"),E=l("./node_modules/core-js/internals/object-define-property.js").f,j=l("./node_modules/core-js/internals/copy-constructor-properties.js"),A=Y.Symbol;if(V&&typeof A=="function"&&(!("description"in A.prototype)||A().description!==void 0)){var M={},le=function(){var We=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Pe=this instanceof le?new A(We):We===void 0?A():A(We);return We===""&&(M[Pe]=!0),Pe};j(le,A);var ee=le.prototype=A.prototype;ee.constructor=le;var C=ee.toString,Le=String(A("test"))=="Symbol(test)",Me=/^Symbol\((.*)\)[^)]+$/;E(ee,"description",{configurable:!0,get:function(){var We=Z(this)?this.valueOf():this,Pe=C.call(We);if(T(M,We))return"";var Ne=Le?Pe.slice(7,-1):Pe.replace(Me,"$1");return Ne===""?void 0:Ne}}),H({global:!0,forced:!0},{Symbol:le})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(y,W,l){var H=l("./node_modules/core-js/internals/define-well-known-symbol.js");H("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(y,W,l){"use strict";var H=l("./node_modules/core-js/internals/export.js"),V=l("./node_modules/core-js/internals/global.js"),Y=l("./node_modules/core-js/internals/get-built-in.js"),T=l("./node_modules/core-js/internals/is-pure.js"),Z=l("./node_modules/core-js/internals/descriptors.js"),E=l("./node_modules/core-js/internals/native-symbol.js"),j=l("./node_modules/core-js/internals/fails.js"),A=l("./node_modules/core-js/internals/has.js"),M=l("./node_modules/core-js/internals/is-array.js"),le=l("./node_modules/core-js/internals/is-object.js"),ee=l("./node_modules/core-js/internals/is-symbol.js"),C=l("./node_modules/core-js/internals/an-object.js"),Le=l("./node_modules/core-js/internals/to-object.js"),Me=l("./node_modules/core-js/internals/to-indexed-object.js"),He=l("./node_modules/core-js/internals/to-property-key.js"),We=l("./node_modules/core-js/internals/to-string.js"),Pe=l("./node_modules/core-js/internals/create-property-descriptor.js"),Ne=l("./node_modules/core-js/internals/object-create.js"),ae=l("./node_modules/core-js/internals/object-keys.js"),Ee=l("./node_modules/core-js/internals/object-get-own-property-names.js"),R=l("./node_modules/core-js/internals/object-get-own-property-names-external.js"),N=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),vt=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ve=l("./node_modules/core-js/internals/object-define-property.js"),de=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),k=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),te=l("./node_modules/core-js/internals/redefine.js"),ie=l("./node_modules/core-js/internals/shared.js"),ye=l("./node_modules/core-js/internals/shared-key.js"),et=l("./node_modules/core-js/internals/hidden-keys.js"),Te=l("./node_modules/core-js/internals/uid.js"),Qe=l("./node_modules/core-js/internals/well-known-symbol.js"),Wt=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ut=l("./node_modules/core-js/internals/define-well-known-symbol.js"),ze=l("./node_modules/core-js/internals/set-to-string-tag.js"),Ue=l("./node_modules/core-js/internals/internal-state.js"),sr=l("./node_modules/core-js/internals/array-iteration.js").forEach,tr=ye("hidden"),$e="Symbol",re="prototype",g=Qe("toPrimitive"),Xe=Ue.set,Se=Ue.getterFor($e),ge=Object[re],fe=V.Symbol,q=Y("JSON","stringify"),we=vt.f,Oe=ve.f,Ae=R.f,Ye=de.f,At=ie("symbols"),Bt=ie("op-symbols"),cr=ie("string-to-symbol-registry"),ur=ie("symbol-to-string-registry"),Et=ie("wks"),ut=V.QObject,Mt=!ut||!ut[re]||!ut[re].findChild,Kt=Z&&j(function(){return Ne(Oe({},"a",{get:function(){return Oe(this,"a",{value:7}).a}})).a!=7})?function(Pt,ne,ke){var Mr=we(ge,ne);Mr&&delete ge[ne],Oe(Pt,ne,ke),Mr&&Pt!==ge&&Oe(ge,ne,Mr)}:Oe,Qt=function(Pt,ne){var ke=At[Pt]=Ne(fe[re]);return Xe(ke,{type:$e,tag:Pt,description:ne}),Z||(ke.description=ne),ke},St=function(ne,ke,Mr){ne===ge&&St(Bt,ke,Mr),C(ne);var Pr=He(ke);return C(Mr),A(At,Pr)?(Mr.enumerable?(A(ne,tr)&&ne[tr][Pr]&&(ne[tr][Pr]=!1),Mr=Ne(Mr,{enumerable:Pe(0,!1)})):(A(ne,tr)||Oe(ne,tr,Pe(1,{})),ne[tr][Pr]=!0),Kt(ne,Pr,Mr)):Oe(ne,Pr,Mr)},pr=function(ne,ke){C(ne);var Mr=Me(ke),Pr=ae(Mr).concat(w(Mr));return sr(Pr,function(En){(!Z||Lt.call(Mr,En))&&St(ne,En,Mr[En])}),ne},Ur=function(ne,ke){return ke===void 0?Ne(ne):pr(Ne(ne),ke)},Lt=function(ne){var ke=He(ne),Mr=Ye.call(this,ke);return this===ge&&A(At,ke)&&!A(Bt,ke)?!1:Mr||!A(this,ke)||!A(At,ke)||A(this,tr)&&this[tr][ke]?Mr:!0},lr=function(ne,ke){var Mr=Me(ne),Pr=He(ke);if(!(Mr===ge&&A(At,Pr)&&!A(Bt,Pr))){var En=we(Mr,Pr);return En&&A(At,Pr)&&!(A(Mr,tr)&&Mr[tr][Pr])&&(En.enumerable=!0),En}},_t=function(ne){var ke=Ae(Me(ne)),Mr=[];return sr(ke,function(Pr){!A(At,Pr)&&!A(et,Pr)&&Mr.push(Pr)}),Mr},w=function(ne){var ke=ne===ge,Mr=Ae(ke?Bt:Me(ne)),Pr=[];return sr(Mr,function(En){A(At,En)&&(!ke||A(ge,En))&&Pr.push(At[En])}),Pr};if(E||(fe=function(){if(this instanceof fe)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:We(arguments[0]),ke=Te(ne),Mr=function(Pr){this===ge&&Mr.call(Bt,Pr),A(this,tr)&&A(this[tr],ke)&&(this[tr][ke]=!1),Kt(this,ke,Pe(1,Pr))};return Z&&Mt&&Kt(ge,ke,{configurable:!0,set:Mr}),Qt(ke,ne)},te(fe[re],"toString",function(){return Se(this).tag}),te(fe,"withoutSetter",function(Pt){return Qt(Te(Pt),Pt)}),de.f=Lt,ve.f=St,vt.f=lr,Ee.f=R.f=_t,N.f=w,Wt.f=function(Pt){return Qt(Qe(Pt),Pt)},Z&&(Oe(fe[re],"description",{configurable:!0,get:function(){return Se(this).description}}),T||te(ge,"propertyIsEnumerable",Lt,{unsafe:!0}))),H({global:!0,wrap:!0,forced:!E,sham:!E},{Symbol:fe}),sr(ae(Et),function(Pt){Ut(Pt)}),H({target:$e,stat:!0,forced:!E},{for:function(Pt){var ne=We(Pt);if(A(cr,ne))return cr[ne];var ke=fe(ne);return cr[ne]=ke,ur[ke]=ne,ke},keyFor:function(ne){if(!ee(ne))throw TypeError(ne+" is not a symbol");if(A(ur,ne))return ur[ne]},useSetter:function(){Mt=!0},useSimple:function(){Mt=!1}}),H({target:"Object",stat:!0,forced:!E,sham:!Z},{create:Ur,defineProperty:St,defineProperties:pr,getOwnPropertyDescriptor:lr}),H({target:"Object",stat:!0,forced:!E},{getOwnPropertyNames:_t,getOwnPropertySymbols:w}),H({target:"Object",stat:!0,forced:j(function(){N.f(1)})},{getOwnPropertySymbols:function(ne){return N.f(Le(ne))}}),q){var P=!E||j(function(){var Pt=fe();return q([Pt])!="[null]"||q({a:Pt})!="{}"||q(Object(Pt))!="{}"});H({target:"JSON",stat:!0,forced:P},{stringify:function(ne,ke,Mr){for(var Pr=[ne],En=1,Nn;arguments.length>En;)Pr.push(arguments[En++]);if(Nn=ke,!(!le(ke)&&ne===void 0||ee(ne)))return M(ke)||(ke=function(mn,yn){if(typeof Nn=="function"&&(yn=Nn.call(this,mn,yn)),!ee(yn))return yn}),Pr[1]=ke,q.apply(null,Pr)}})}fe[re][g]||k(fe[re],g,fe[re].valueOf),ze(fe,$e),et[tr]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/dom-iterables.js"),Y=l("./node_modules/core-js/internals/array-for-each.js"),T=l("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Z in V){var E=H[Z],j=E&&E.prototype;if(j&&j.forEach!==Y)try{T(j,"forEach",Y)}catch(A){j.forEach=Y}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(y,W,l){var H=l("./node_modules/core-js/internals/global.js"),V=l("./node_modules/core-js/internals/dom-iterables.js"),Y=l("./node_modules/core-js/modules/es.array.iterator.js"),T=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),Z=l("./node_modules/core-js/internals/well-known-symbol.js"),E=Z("iterator"),j=Z("toStringTag"),A=Y.values;for(var M in V){var le=H[M],ee=le&&le.prototype;if(ee){if(ee[E]!==A)try{T(ee,E,A)}catch(Le){ee[E]=A}if(ee[j]||T(ee,j,M),V[M]){for(var C in Y)if(ee[C]!==Y[C])try{T(ee,C,Y[C])}catch(Le){ee[C]=Y[C]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(y){(function(W,l){y.exports=l()})(this,function(){"use strict";function W(ut){var Mt=typeof ut;return ut!==null&&(Mt==="object"||Mt==="function")}function l(ut){return typeof ut=="function"}var H=void 0;Array.isArray?H=Array.isArray:H=function(ut){return Object.prototype.toString.call(ut)==="[object Array]"};var V=H,Y=0,T=void 0,Z=void 0,E=function(Mt,Kt){ae[Y]=Mt,ae[Y+1]=Kt,Y+=2,Y===2&&(Z?Z(Ee):N())};function j(ut){Z=ut}function A(ut){E=ut}var M=typeof window!="undefined"?window:void 0,le=M||{},ee=le.MutationObserver||le.WebKitMutationObserver,C=typeof self=="undefined"&&typeof t!="undefined"&&{}.toString.call(t)==="[object process]",Le=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Me(){return function(){return t.nextTick(Ee)}}function He(){return typeof T!="undefined"?function(){T(Ee)}:Ne()}function We(){var ut=0,Mt=new ee(Ee),Kt=document.createTextNode("");return Mt.observe(Kt,{characterData:!0}),function(){Kt.data=ut=++ut%2}}function Pe(){var ut=new MessageChannel;return ut.port1.onmessage=Ee,function(){return ut.port2.postMessage(0)}}function Ne(){var ut=setTimeout;return function(){return ut(Ee,1)}}var ae=new Array(1e3);function Ee(){for(var ut=0;ut<Y;ut+=2){var Mt=ae[ut],Kt=ae[ut+1];Mt(Kt),ae[ut]=void 0,ae[ut+1]=void 0}Y=0}function R(){try{var ut=Function("return this")().require("vertx");return T=ut.runOnLoop||ut.runOnContext,He()}catch(Mt){return Ne()}}var N=void 0;C?N=Me():ee?N=We():Le?N=Pe():M===void 0?N=R():N=Ne();function vt(ut,Mt){var Kt=this,Qt=new this.constructor(k);Qt[de]===void 0&&q(Qt);var St=Kt._state;if(St){var pr=arguments[St-1];E(function(){return Xe(St,Qt,pr,Kt._result)})}else re(Kt,Qt,ut,Mt);return Qt}function ve(ut){var Mt=this;if(ut&&typeof ut=="object"&&ut.constructor===Mt)return ut;var Kt=new Mt(k);return Ue(Kt,ut),Kt}var de=Math.random().toString(36).substring(2);function k(){}var te=void 0,ie=1,ye=2;function et(){return new TypeError("You cannot resolve a promise with itself")}function Te(){return new TypeError("A promises callback cannot return that same promise.")}function Qe(ut,Mt,Kt,Qt){try{ut.call(Mt,Kt,Qt)}catch(St){return St}}function Wt(ut,Mt,Kt){E(function(Qt){var St=!1,pr=Qe(Kt,Mt,function(Ur){St||(St=!0,Mt!==Ur?Ue(Qt,Ur):tr(Qt,Ur))},function(Ur){St||(St=!0,$e(Qt,Ur))},"Settle: "+(Qt._label||" unknown promise"));!St&&pr&&(St=!0,$e(Qt,pr))},ut)}function Ut(ut,Mt){Mt._state===ie?tr(ut,Mt._result):Mt._state===ye?$e(ut,Mt._result):re(Mt,void 0,function(Kt){return Ue(ut,Kt)},function(Kt){return $e(ut,Kt)})}function ze(ut,Mt,Kt){Mt.constructor===ut.constructor&&Kt===vt&&Mt.constructor.resolve===ve?Ut(ut,Mt):Kt===void 0?tr(ut,Mt):l(Kt)?Wt(ut,Mt,Kt):tr(ut,Mt)}function Ue(ut,Mt){if(ut===Mt)$e(ut,et());else if(W(Mt)){var Kt=void 0;try{Kt=Mt.then}catch(Qt){$e(ut,Qt);return}ze(ut,Mt,Kt)}else tr(ut,Mt)}function sr(ut){ut._onerror&&ut._onerror(ut._result),g(ut)}function tr(ut,Mt){ut._state===te&&(ut._result=Mt,ut._state=ie,ut._subscribers.length!==0&&E(g,ut))}function $e(ut,Mt){ut._state===te&&(ut._state=ye,ut._result=Mt,E(sr,ut))}function re(ut,Mt,Kt,Qt){var St=ut._subscribers,pr=St.length;ut._onerror=null,St[pr]=Mt,St[pr+ie]=Kt,St[pr+ye]=Qt,pr===0&&ut._state&&E(g,ut)}function g(ut){var Mt=ut._subscribers,Kt=ut._state;if(Mt.length!==0){for(var Qt=void 0,St=void 0,pr=ut._result,Ur=0;Ur<Mt.length;Ur+=3)Qt=Mt[Ur],St=Mt[Ur+Kt],Qt?Xe(Kt,Qt,St,pr):St(pr);ut._subscribers.length=0}}function Xe(ut,Mt,Kt,Qt){var St=l(Kt),pr=void 0,Ur=void 0,Lt=!0;if(St){try{pr=Kt(Qt)}catch(lr){Lt=!1,Ur=lr}if(Mt===pr){$e(Mt,Te());return}}else pr=Qt;Mt._state!==te||(St&&Lt?Ue(Mt,pr):Lt===!1?$e(Mt,Ur):ut===ie?tr(Mt,pr):ut===ye&&$e(Mt,pr))}function Se(ut,Mt){try{Mt(function(Qt){Ue(ut,Qt)},function(Qt){$e(ut,Qt)})}catch(Kt){$e(ut,Kt)}}var ge=0;function fe(){return ge++}function q(ut){ut[de]=ge++,ut._state=void 0,ut._result=void 0,ut._subscribers=[]}function we(){return new Error("Array Methods must be provided an Array")}var Oe=function(){function ut(Mt,Kt){this._instanceConstructor=Mt,this.promise=new Mt(k),this.promise[de]||q(this.promise),V(Kt)?(this.length=Kt.length,this._remaining=Kt.length,this._result=new Array(this.length),this.length===0?tr(this.promise,this._result):(this.length=this.length||0,this._enumerate(Kt),this._remaining===0&&tr(this.promise,this._result))):$e(this.promise,we())}return ut.prototype._enumerate=function(Kt){for(var Qt=0;this._state===te&&Qt<Kt.length;Qt++)this._eachEntry(Kt[Qt],Qt)},ut.prototype._eachEntry=function(Kt,Qt){var St=this._instanceConstructor,pr=St.resolve;if(pr===ve){var Ur=void 0,Lt=void 0,lr=!1;try{Ur=Kt.then}catch(w){lr=!0,Lt=w}if(Ur===vt&&Kt._state!==te)this._settledAt(Kt._state,Qt,Kt._result);else if(typeof Ur!="function")this._remaining--,this._result[Qt]=Kt;else if(St===ur){var _t=new St(k);lr?$e(_t,Lt):ze(_t,Kt,Ur),this._willSettleAt(_t,Qt)}else this._willSettleAt(new St(function(w){return w(Kt)}),Qt)}else this._willSettleAt(pr(Kt),Qt)},ut.prototype._settledAt=function(Kt,Qt,St){var pr=this.promise;pr._state===te&&(this._remaining--,Kt===ye?$e(pr,St):this._result[Qt]=St),this._remaining===0&&tr(pr,this._result)},ut.prototype._willSettleAt=function(Kt,Qt){var St=this;re(Kt,void 0,function(pr){return St._settledAt(ie,Qt,pr)},function(pr){return St._settledAt(ye,Qt,pr)})},ut}();function Ae(ut){return new Oe(this,ut).promise}function Ye(ut){var Mt=this;return V(ut)?new Mt(function(Kt,Qt){for(var St=ut.length,pr=0;pr<St;pr++)Mt.resolve(ut[pr]).then(Kt,Qt)}):new Mt(function(Kt,Qt){return Qt(new TypeError("You must pass an array to race."))})}function At(ut){var Mt=this,Kt=new Mt(k);return $e(Kt,ut),Kt}function Bt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function cr(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ur=function(){function ut(Mt){this[de]=fe(),this._result=this._state=void 0,this._subscribers=[],k!==Mt&&(typeof Mt!="function"&&Bt(),this instanceof ut?Se(this,Mt):cr())}return ut.prototype.catch=function(Kt){return this.then(null,Kt)},ut.prototype.finally=function(Kt){var Qt=this,St=Qt.constructor;return l(Kt)?Qt.then(function(pr){return St.resolve(Kt()).then(function(){return pr})},function(pr){return St.resolve(Kt()).then(function(){throw pr})}):Qt.then(Kt,Kt)},ut}();ur.prototype.then=vt,ur.all=Ae,ur.race=Ye,ur.resolve=ve,ur.reject=At,ur._setScheduler=j,ur._setAsap=A,ur._asap=E;function Et(){var ut=void 0;if(typeof a.g!="undefined")ut=a.g;else if(typeof self!="undefined")ut=self;else try{ut=Function("return this")()}catch(Qt){throw new Error("polyfill failed because global object is unavailable in this environment")}var Mt=ut.Promise;if(Mt){var Kt=null;try{Kt=Object.prototype.toString.call(Mt.resolve())}catch(Qt){}if(Kt==="[object Promise]"&&!Mt.cast)return}ut.Promise=ur}return ur.polyfill=Et,ur.Promise=ur,ur})},html2canvas:function(y){"use strict";y.exports=$},jspdf:function(y){"use strict";y.exports=Fe}},G={};function J(y){var W=G[y];if(W!==void 0)return W.exports;var l=G[y]={exports:{}};return Be[y].call(l.exports,l,l.exports,J),l.exports}(function(){J.n=function(y){var W=y&&y.__esModule?function(){return y.default}:function(){return y};return J.d(W,{a:W}),W}})(),function(){J.d=function(y,W){for(var l in W)J.o(W,l)&&!J.o(y,l)&&Object.defineProperty(y,l,{enumerable:!0,get:W[l]})}}(),function(){J.o=function(y,W){return Object.prototype.hasOwnProperty.call(y,W)}}(),function(){J.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}}();var U={};return function(){"use strict";J.r(U);var y=J("./src/worker.js"),W=J("./src/plugin/jspdf-plugin.js"),l=J("./src/plugin/pagebreaks.js"),H=J("./src/plugin/hyperlinks.js"),V=function Y(T,Z){var E=new Y.Worker(Z);return T?E.from(T).save():E};V.Worker=y.default,U.default=V}(),U=U.default,U}()})},44983:function(on,Yt,a){"use strict";a.r(Yt),a.d(Yt,{AcroForm:function(){return ne},AcroFormAppearance:function(){return P},AcroFormButton:function(){return St},AcroFormCheckBox:function(){return lr},AcroFormChoiceField:function(){return ut},AcroFormComboBox:function(){return Kt},AcroFormEditBox:function(){return Qt},AcroFormListBox:function(){return Mt},AcroFormPasswordField:function(){return w},AcroFormPushButton:function(){return pr},AcroFormRadioButton:function(){return Ur},AcroFormTextField:function(){return _t},GState:function(){return N},ShadingPattern:function(){return ve},TilingPattern:function(){return de},jsPDF:function(){return k}});var t=a(71002),Fe=a(93778);var $=function(){return typeof window!="undefined"?window:typeof a.g!="undefined"?a.g:typeof self!="undefined"?self:this}();function Be(){$.console&&typeof $.console.log=="function"&&$.console.log.apply($.console,arguments)}var G={log:Be,warn:function(p){$.console&&(typeof $.console.warn=="function"?$.console.warn.apply($.console,arguments):Be.call(null,arguments))},error:function(p){$.console&&(typeof $.console.error=="function"?$.console.error.apply($.console,arguments):Be(p))}};function J(p,c,d){var v=new XMLHttpRequest;v.open("GET",p),v.responseType="blob",v.onload=function(){H(v.response,c,d)},v.onerror=function(){G.error("could not download file")},v.send()}function U(p){var c=new XMLHttpRequest;c.open("HEAD",p,!1);try{c.send()}catch(d){}return c.status>=200&&c.status<=299}function y(p){try{p.dispatchEvent(new MouseEvent("click"))}catch(d){var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),p.dispatchEvent(c)}}var W,l,H=$.saveAs||((typeof window=="undefined"?"undefined":(0,t.Z)(window))!=="object"||window!==$?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(p,c,d){var v=$.URL||$.webkitURL,I=document.createElement("a");c=c||p.name||"download",I.download=c,I.rel="noopener",typeof p=="string"?(I.href=p,I.origin!==location.origin?U(I.href)?J(p,c,d):y(I,I.target="_blank"):y(I)):(I.href=v.createObjectURL(p),setTimeout(function(){v.revokeObjectURL(I.href)},4e4),setTimeout(function(){y(I)},0))}:"msSaveOrOpenBlob"in navigator?function(p,c,d){if(c=c||p.name||"download",typeof p=="string")if(U(p))J(p,c,d);else{var v=document.createElement("a");v.href=p,v.target="_blank",setTimeout(function(){y(v)})}else navigator.msSaveOrOpenBlob(function(I,b){return b===void 0?b={autoBom:!1}:(0,t.Z)(b)!=="object"&&(G.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(I.type)?new Blob(["\uFEFF",I],{type:I.type}):I}(p,d),c)}:function(p,c,d,v){if((v=v||open("","_blank"))&&(v.document.title=v.document.body.innerText="downloading..."),typeof p=="string")return J(p,c,d);var I=p.type==="application/octet-stream",b=/constructor/i.test($.HTMLElement)||$.safari,B=/CriOS\/[\d]+/.test(navigator.userAgent);if((B||I&&b)&&(typeof FileReader=="undefined"?"undefined":(0,t.Z)(FileReader))==="object"){var X=new FileReader;X.onloadend=function(){var _e=X.result;_e=B?_e:_e.replace(/^data:[^;]*;/,"data:attachment/file;"),v?v.location.href=_e:location=_e,v=null},X.readAsDataURL(p)}else{var _=$.URL||$.webkitURL,Ce=_.createObjectURL(p);v?v.location=Ce:location.href=Ce,v=null,setTimeout(function(){_.revokeObjectURL(Ce)},4e4)}});function V(p){var c;p=p||"",this.ok=!1,p.charAt(0)=="#"&&(p=p.substr(1,6)),p={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"}[p=(p=p.replace(/ /g,"")).toLowerCase()]||p;for(var d=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(X){return[parseInt(X[1]),parseInt(X[2]),parseInt(X[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(X){return[parseInt(X[1],16),parseInt(X[2],16),parseInt(X[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(X){return[parseInt(X[1]+X[1],16),parseInt(X[2]+X[2],16),parseInt(X[3]+X[3],16)]}}],v=0;v<d.length;v++){var I=d[v].re,b=d[v].process,B=I.exec(p);B&&(c=b(B),this.r=c[0],this.g=c[1],this.b=c[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 X=this.r.toString(16),_=this.g.toString(16),Ce=this.b.toString(16);return X.length==1&&(X="0"+X),_.length==1&&(_="0"+_),Ce.length==1&&(Ce="0"+Ce),"#"+X+_+Ce}}function Y(p,c){var d=p[0],v=p[1],I=p[2],b=p[3];d=Z(d,v,I,b,c[0],7,-680876936),b=Z(b,d,v,I,c[1],12,-389564586),I=Z(I,b,d,v,c[2],17,606105819),v=Z(v,I,b,d,c[3],22,-1044525330),d=Z(d,v,I,b,c[4],7,-176418897),b=Z(b,d,v,I,c[5],12,1200080426),I=Z(I,b,d,v,c[6],17,-1473231341),v=Z(v,I,b,d,c[7],22,-45705983),d=Z(d,v,I,b,c[8],7,1770035416),b=Z(b,d,v,I,c[9],12,-1958414417),I=Z(I,b,d,v,c[10],17,-42063),v=Z(v,I,b,d,c[11],22,-1990404162),d=Z(d,v,I,b,c[12],7,1804603682),b=Z(b,d,v,I,c[13],12,-40341101),I=Z(I,b,d,v,c[14],17,-1502002290),d=E(d,v=Z(v,I,b,d,c[15],22,1236535329),I,b,c[1],5,-165796510),b=E(b,d,v,I,c[6],9,-1069501632),I=E(I,b,d,v,c[11],14,643717713),v=E(v,I,b,d,c[0],20,-373897302),d=E(d,v,I,b,c[5],5,-701558691),b=E(b,d,v,I,c[10],9,38016083),I=E(I,b,d,v,c[15],14,-660478335),v=E(v,I,b,d,c[4],20,-405537848),d=E(d,v,I,b,c[9],5,568446438),b=E(b,d,v,I,c[14],9,-1019803690),I=E(I,b,d,v,c[3],14,-187363961),v=E(v,I,b,d,c[8],20,1163531501),d=E(d,v,I,b,c[13],5,-1444681467),b=E(b,d,v,I,c[2],9,-51403784),I=E(I,b,d,v,c[7],14,1735328473),d=j(d,v=E(v,I,b,d,c[12],20,-1926607734),I,b,c[5],4,-378558),b=j(b,d,v,I,c[8],11,-2022574463),I=j(I,b,d,v,c[11],16,1839030562),v=j(v,I,b,d,c[14],23,-35309556),d=j(d,v,I,b,c[1],4,-1530992060),b=j(b,d,v,I,c[4],11,1272893353),I=j(I,b,d,v,c[7],16,-155497632),v=j(v,I,b,d,c[10],23,-1094730640),d=j(d,v,I,b,c[13],4,681279174),b=j(b,d,v,I,c[0],11,-358537222),I=j(I,b,d,v,c[3],16,-722521979),v=j(v,I,b,d,c[6],23,76029189),d=j(d,v,I,b,c[9],4,-640364487),b=j(b,d,v,I,c[12],11,-421815835),I=j(I,b,d,v,c[15],16,530742520),d=A(d,v=j(v,I,b,d,c[2],23,-995338651),I,b,c[0],6,-198630844),b=A(b,d,v,I,c[7],10,1126891415),I=A(I,b,d,v,c[14],15,-1416354905),v=A(v,I,b,d,c[5],21,-57434055),d=A(d,v,I,b,c[12],6,1700485571),b=A(b,d,v,I,c[3],10,-1894986606),I=A(I,b,d,v,c[10],15,-1051523),v=A(v,I,b,d,c[1],21,-2054922799),d=A(d,v,I,b,c[8],6,1873313359),b=A(b,d,v,I,c[15],10,-30611744),I=A(I,b,d,v,c[6],15,-1560198380),v=A(v,I,b,d,c[13],21,1309151649),d=A(d,v,I,b,c[4],6,-145523070),b=A(b,d,v,I,c[11],10,-1120210379),I=A(I,b,d,v,c[2],15,718787259),v=A(v,I,b,d,c[9],21,-343485551),p[0]=We(d,p[0]),p[1]=We(v,p[1]),p[2]=We(I,p[2]),p[3]=We(b,p[3])}function T(p,c,d,v,I,b){return c=We(We(c,p),We(v,b)),We(c<<I|c>>>32-I,d)}function Z(p,c,d,v,I,b,B){return T(c&d|~c&v,p,c,I,b,B)}function E(p,c,d,v,I,b,B){return T(c&v|d&~v,p,c,I,b,B)}function j(p,c,d,v,I,b,B){return T(c^d^v,p,c,I,b,B)}function A(p,c,d,v,I,b,B){return T(d^(c|~v),p,c,I,b,B)}function M(p){var c,d=p.length,v=[1732584193,-271733879,-1732584194,271733878];for(c=64;c<=p.length;c+=64)Y(v,le(p.substring(c-64,c)));p=p.substring(c-64);var I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(c=0;c<p.length;c++)I[c>>2]|=p.charCodeAt(c)<<(c%4<<3);if(I[c>>2]|=128<<(c%4<<3),c>55)for(Y(v,I),c=0;c<16;c++)I[c]=0;return I[14]=8*d,Y(v,I),v}function le(p){var c,d=[];for(c=0;c<64;c+=4)d[c>>2]=p.charCodeAt(c)+(p.charCodeAt(c+1)<<8)+(p.charCodeAt(c+2)<<16)+(p.charCodeAt(c+3)<<24);return d}W=$.atob.bind($),l=$.btoa.bind($);var ee="0123456789abcdef".split("");function C(p){for(var c="",d=0;d<4;d++)c+=ee[p>>8*d+4&15]+ee[p>>8*d&15];return c}function Le(p){return String.fromCharCode((255&p)>>0,(65280&p)>>8,(16711680&p)>>16,(4278190080&p)>>24)}function Me(p){return M(p).map(Le).join("")}var He=function(p){for(var c=0;c<p.length;c++)p[c]=C(p[c]);return p.join("")}(M("hello"))!="5d41402abc4b2a76b9719d911017c592";function We(p,c){if(He){var d=(65535&p)+(65535&c);return(p>>16)+(c>>16)+(d>>16)<<16|65535&d}return p+c&4294967295}function Pe(p,c){var d,v,I,b;if(p!==d){for(var B=(I=p,b=1+(256/p.length>>0),new Array(b+1).join(I)),X=[],_=0;_<256;_++)X[_]=_;var Ce=0;for(_=0;_<256;_++){var _e=X[_];Ce=(Ce+_e+B.charCodeAt(_))%256,X[_]=X[Ce],X[Ce]=_e}d=p,v=X}else X=v;var Ge=c.length,nt=0,me=0,Gt="";for(_=0;_<Ge;_++)me=(me+(_e=X[nt=(nt+1)%256]))%256,X[nt]=X[me],X[me]=_e,B=X[(X[nt]+X[me])%256],Gt+=String.fromCharCode(c.charCodeAt(_)^B);return Gt}var Ne={print:4,modify:8,copy:16,"annot-forms":32};function ae(p,c,d,v){this.v=1,this.r=2;var I=192;p.forEach(function(X){if(Ne.perm!==void 0)throw new Error("Invalid permission: "+X);I+=Ne[X]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var b=(c+this.padding).substr(0,32),B=(d+this.padding).substr(0,32);this.O=this.processOwnerPassword(b,B),this.P=-(1+(255^I)),this.encryptionKey=Me(b+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(v)).substr(0,5),this.U=Pe(this.encryptionKey,this.padding)}function Ee(p){if(/[^\u0000-\u00ff]/.test(p))throw new Error("Invalid PDF Name Object: "+p+", Only accept ASCII characters.");for(var c="",d=p.length,v=0;v<d;v++){var I=p.charCodeAt(v);I<33||I===35||I===37||I===40||I===41||I===47||I===60||I===62||I===91||I===93||I===123||I===125||I>126?c+="#"+("0"+I.toString(16)).slice(-2):c+=p[v]}return c}function R(p){if((0,t.Z)(p)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var c={};this.subscribe=function(d,v,I){if(I=I||!1,typeof d!="string"||typeof v!="function"||typeof I!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");c.hasOwnProperty(d)||(c[d]={});var b=Math.random().toString(35);return c[d][b]=[v,!!I],b},this.unsubscribe=function(d){for(var v in c)if(c[v][d])return delete c[v][d],Object.keys(c[v]).length===0&&delete c[v],!0;return!1},this.publish=function(d){if(c.hasOwnProperty(d)){var v=Array.prototype.slice.call(arguments,1),I=[];for(var b in c[d]){var B=c[d][b];try{B[0].apply(p,v)}catch(X){$.console&&G.error("jsPDF PubSub Error",X.message,X)}B[1]&&I.push(b)}I.length&&I.forEach(this.unsubscribe)}},this.getTopics=function(){return c}}function N(p){if(!(this instanceof N))return new N(p);var c="opacity,stroke-opacity".split(",");for(var d in p)p.hasOwnProperty(d)&&c.indexOf(d)>=0&&(this[d]=p[d]);this.id="",this.objectNumber=-1}function vt(p,c){this.gState=p,this.matrix=c,this.id="",this.objectNumber=-1}function ve(p,c,d,v,I){if(!(this instanceof ve))return new ve(p,c,d,v,I);this.type=p==="axial"?2:3,this.coords=c,this.colors=d,vt.call(this,v,I)}function de(p,c,d,v,I){if(!(this instanceof de))return new de(p,c,d,v,I);this.boundingBox=p,this.xStep=c,this.yStep=d,this.stream="",this.cloneIndex=0,vt.call(this,v,I)}function k(p){var c,d=typeof arguments[0]=="string"?arguments[0]:"p",v=arguments[1],I=arguments[2],b=arguments[3],B=[],X=1,_=16,Ce="S",_e=null;(0,t.Z)(p=p||{})==="object"&&(d=p.orientation,v=p.unit||v,I=p.format||I,b=p.compress||p.compressPdf||b,(_e=p.encryption||null)!==null&&(_e.userPassword=_e.userPassword||"",_e.ownerPassword=_e.ownerPassword||"",_e.userPermissions=_e.userPermissions||[]),X=typeof p.userUnit=="number"?Math.abs(p.userUnit):1,p.precision!==void 0&&(c=p.precision),p.floatPrecision!==void 0&&(_=p.floatPrecision),Ce=p.defaultPathOperation||"S"),B=p.filters||(b===!0?["FlateEncode"]:B),v=v||"mm",d=(""+(d||"P")).toLowerCase();var Ge=p.putOnlyUsedFonts||!1,nt={},me={internal:{},__private__:{}};me.__private__.PubSub=R;var Gt="1.3",oe=me.__private__.getPdfVersion=function(){return Gt};me.__private__.setPdfVersion=function(S){Gt=S};var jt={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]};me.__private__.getPageFormats=function(){return jt};var lt=me.__private__.getPageFormat=function(S){return jt[S]};I=I||"a4";var Zt={COMPAT:"compat",ADVANCED:"advanced"},wr=Zt.COMPAT;function cn(){this.saveGraphicsState(),xt(new Dn(Vn,0,0,-Vn,0,La()*Vn).toString()+" cm"),this.setFontSize(this.getFontSize()/Vn),Ce="n",wr=Zt.ADVANCED}function vn(){this.restoreGraphicsState(),Ce="S",wr=Zt.COMPAT}var On=me.__private__.combineFontStyleAndFontWeight=function(S,Re){if(S=="bold"&&Re=="normal"||S=="bold"&&Re==400||S=="normal"&&Re=="italic"||S=="bold"&&Re=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Re&&(S=Re==400||Re==="normal"?S==="italic"?"italic":"normal":Re!=700&&Re!=="bold"||S!=="normal"?(Re==700?"bold":Re)+""+S:"bold"),S};me.advancedAPI=function(S){var Re=wr===Zt.COMPAT;return Re&&cn.call(this),typeof S!="function"||(S(this),Re&&vn.call(this)),this},me.compatAPI=function(S){var Re=wr===Zt.ADVANCED;return Re&&vn.call(this),typeof S!="function"||(S(this),Re&&cn.call(this)),this},me.isAdvancedAPI=function(){return wr===Zt.ADVANCED};var qr,kt=function(S){if(wr!==Zt.ADVANCED)throw new Error(S+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},un=me.roundToPrecision=me.__private__.roundToPrecision=function(S,Re){var Ft=c||Re;if(isNaN(S)||isNaN(Ft))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return S.toFixed(Ft).replace(/0+$/,"")};qr=me.hpf=me.__private__.hpf=typeof _=="number"?function(S){if(isNaN(S))throw new Error("Invalid argument passed to jsPDF.hpf");return un(S,_)}:_==="smart"?function(S){if(isNaN(S))throw new Error("Invalid argument passed to jsPDF.hpf");return un(S,S>-1&&S<1?16:5)}:function(S){if(isNaN(S))throw new Error("Invalid argument passed to jsPDF.hpf");return un(S,16)};var gn=me.f2=me.__private__.f2=function(S){if(isNaN(S))throw new Error("Invalid argument passed to jsPDF.f2");return un(S,2)},yt=me.__private__.f3=function(S){if(isNaN(S))throw new Error("Invalid argument passed to jsPDF.f3");return un(S,3)},Ct=me.scale=me.__private__.scale=function(S){if(isNaN(S))throw new Error("Invalid argument passed to jsPDF.scale");return wr===Zt.COMPAT?S*Vn:wr===Zt.ADVANCED?S:void 0},ir=function(S){return wr===Zt.COMPAT?La()-S:wr===Zt.ADVANCED?S:void 0},Rt=function(S){return Ct(ir(S))};me.__private__.setPrecision=me.setPrecision=function(S){typeof parseInt(S,10)=="number"&&(c=parseInt(S,10))};var Zr,br="00000000000000000000000000000000",Br=me.__private__.getFileId=function(){return br},Fr=me.__private__.setFileId=function(S){return br=S!==void 0&&/^[a-fA-F0-9]{32}$/.test(S)?S.toUpperCase():br.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),_e!==null&&(fn=new ae(_e.userPermissions,_e.userPassword,_e.ownerPassword,br)),br};me.setFileId=function(S){return Fr(S),this},me.getFileId=function(){return Br()};var Xr=me.__private__.convertDateToPDFDate=function(S){var Re=S.getTimezoneOffset(),Ft=Re<0?"+":"-",hr=Math.floor(Math.abs(Re/60)),F=Math.abs(Re%60),r=[Ft,ce(hr),"'",ce(F),"'"].join("");return["D:",S.getFullYear(),ce(S.getMonth()+1),ce(S.getDate()),ce(S.getHours()),ce(S.getMinutes()),ce(S.getSeconds()),r].join("")},kr=me.__private__.convertPDFDateToDate=function(S){var Re=parseInt(S.substr(2,4),10),Ft=parseInt(S.substr(6,2),10)-1,hr=parseInt(S.substr(8,2),10),F=parseInt(S.substr(10,2),10),r=parseInt(S.substr(12,2),10),o=parseInt(S.substr(14,2),10);return new Date(Re,Ft,hr,F,r,o,0)},Un=me.__private__.setCreationDate=function(S){var Re;if(S===void 0&&(S=new Date),S instanceof Date)Re=Xr(S);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(S))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Re=S}return Zr=Re},Ke=me.__private__.getCreationDate=function(S){var Re=Zr;return S==="jsDate"&&(Re=kr(Zr)),Re};me.setCreationDate=function(S){return Un(S),this},me.getCreationDate=function(S){return Ke(S)};var be,ce=me.__private__.padd2=function(S){return("0"+parseInt(S)).slice(-2)},Je=me.__private__.padd2Hex=function(S){return("00"+(S=S.toString())).substr(S.length)},dt=0,Nt=[],$t=[],er=0,It=[],Cr=[],Hr=!1,sn=$t,Qr=function(){dt=0,er=0,$t=[],Nt=[],It=[],ei=za(),di=za()};me.__private__.setCustomOutputDestination=function(S){Hr=!0,sn=S};var bt=function(S){Hr||(sn=S)};me.__private__.resetCustomOutputDestination=function(){Hr=!1,sn=$t};var xt=me.__private__.out=function(S){return S=S.toString(),er+=S.length+1,sn.push(S),sn},rn=me.__private__.write=function(S){return xt(arguments.length===1?S.toString():Array.prototype.join.call(arguments," "))},Mn=me.__private__.getArrayBuffer=function(S){for(var Re=S.length,Ft=new ArrayBuffer(Re),hr=new Uint8Array(Ft);Re--;)hr[Re]=S.charCodeAt(Re);return Ft},zr=[["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]];me.__private__.getStandardFonts=function(){return zr};var dn=p.fontSize||16;me.__private__.setFontSize=me.setFontSize=function(S){return dn=wr===Zt.ADVANCED?S/Vn:S,this};var nn,xn=me.__private__.getFontSize=me.getFontSize=function(){return wr===Zt.COMPAT?dn:dn*Vn},Ln=p.R2L||!1;me.__private__.setR2L=me.setR2L=function(S){return Ln=S,this},me.__private__.getR2L=me.getR2L=function(){return Ln};var qn,Jn=me.__private__.setZoomMode=function(S){var Re=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(S))nn=S;else if(isNaN(S)){if(Re.indexOf(S)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+S+'" is not recognized.');nn=S}else nn=parseInt(S,10)};me.__private__.getZoomMode=function(){return nn};var Qn,Fa=me.__private__.setPageMode=function(S){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(S)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+S+'" is not recognized.');qn=S};me.__private__.getPageMode=function(){return qn};var Ea=me.__private__.setLayoutMode=function(S){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(S)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+S+'" is not recognized.');Qn=S};me.__private__.getLayoutMode=function(){return Qn},me.__private__.setDisplayMode=me.setDisplayMode=function(S,Re,Ft){return Jn(S),Ea(Re),Fa(Ft),this};var Xn={title:"",subject:"",author:"",keywords:"",creator:""};me.__private__.getDocumentProperty=function(S){if(Object.keys(Xn).indexOf(S)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Xn[S]},me.__private__.getDocumentProperties=function(){return Xn},me.__private__.setDocumentProperties=me.setProperties=me.setDocumentProperties=function(S){for(var Re in Xn)Xn.hasOwnProperty(Re)&&S[Re]&&(Xn[Re]=S[Re]);return this},me.__private__.setDocumentProperty=function(S,Re){if(Object.keys(Xn).indexOf(S)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Xn[S]=Re};var jn,Vn,ka,ba,ho,Va={},Ha={},Yo=[],na={},gi={},ro={},qo={},Jo=null,_a=0,Sa=[],mo=new R(me),oi=p.hotfixes||[],lo={},Go={},ii=[],Dn=function S(Re,Ft,hr,F,r,o){if(!(this instanceof S))return new S(Re,Ft,hr,F,r,o);isNaN(Re)&&(Re=1),isNaN(Ft)&&(Ft=0),isNaN(hr)&&(hr=0),isNaN(F)&&(F=1),isNaN(r)&&(r=0),isNaN(o)&&(o=0),this._matrix=[Re,Ft,hr,F,r,o]};Object.defineProperty(Dn.prototype,"sx",{get:function(){return this._matrix[0]},set:function(S){this._matrix[0]=S}}),Object.defineProperty(Dn.prototype,"shy",{get:function(){return this._matrix[1]},set:function(S){this._matrix[1]=S}}),Object.defineProperty(Dn.prototype,"shx",{get:function(){return this._matrix[2]},set:function(S){this._matrix[2]=S}}),Object.defineProperty(Dn.prototype,"sy",{get:function(){return this._matrix[3]},set:function(S){this._matrix[3]=S}}),Object.defineProperty(Dn.prototype,"tx",{get:function(){return this._matrix[4]},set:function(S){this._matrix[4]=S}}),Object.defineProperty(Dn.prototype,"ty",{get:function(){return this._matrix[5]},set:function(S){this._matrix[5]=S}}),Object.defineProperty(Dn.prototype,"a",{get:function(){return this._matrix[0]},set:function(S){this._matrix[0]=S}}),Object.defineProperty(Dn.prototype,"b",{get:function(){return this._matrix[1]},set:function(S){this._matrix[1]=S}}),Object.defineProperty(Dn.prototype,"c",{get:function(){return this._matrix[2]},set:function(S){this._matrix[2]=S}}),Object.defineProperty(Dn.prototype,"d",{get:function(){return this._matrix[3]},set:function(S){this._matrix[3]=S}}),Object.defineProperty(Dn.prototype,"e",{get:function(){return this._matrix[4]},set:function(S){this._matrix[4]=S}}),Object.defineProperty(Dn.prototype,"f",{get:function(){return this._matrix[5]},set:function(S){this._matrix[5]=S}}),Object.defineProperty(Dn.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Dn.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Dn.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Dn.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Dn.prototype.join=function(S){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(qr).join(S)},Dn.prototype.multiply=function(S){var Re=S.sx*this.sx+S.shy*this.shx,Ft=S.sx*this.shy+S.shy*this.sy,hr=S.shx*this.sx+S.sy*this.shx,F=S.shx*this.shy+S.sy*this.sy,r=S.tx*this.sx+S.ty*this.shx+this.tx,o=S.tx*this.shy+S.ty*this.sy+this.ty;return new Dn(Re,Ft,hr,F,r,o)},Dn.prototype.decompose=function(){var S=this.sx,Re=this.shy,Ft=this.shx,hr=this.sy,F=this.tx,r=this.ty,o=Math.sqrt(S*S+Re*Re),s=(S/=o)*Ft+(Re/=o)*hr;Ft-=S*s,hr-=Re*s;var h=Math.sqrt(Ft*Ft+hr*hr);return s/=h,S*(hr/=h)<Re*(Ft/=h)&&(S=-S,Re=-Re,s=-s,o=-o),{scale:new Dn(o,0,0,h,0,0),translate:new Dn(1,0,0,1,F,r),rotate:new Dn(S,Re,-Re,S,0,0),skew:new Dn(1,0,s,1,0,0)}},Dn.prototype.toString=function(S){return this.join(" ")},Dn.prototype.inversed=function(){var S=this.sx,Re=this.shy,Ft=this.shx,hr=this.sy,F=this.tx,r=this.ty,o=1/(S*hr-Re*Ft),s=hr*o,h=-Re*o,z=-Ft*o,ue=S*o;return new Dn(s,h,z,ue,-s*F-z*r,-h*F-ue*r)},Dn.prototype.applyToPoint=function(S){var Re=S.x*this.sx+S.y*this.shx+this.tx,Ft=S.x*this.shy+S.y*this.sy+this.ty;return new yi(Re,Ft)},Dn.prototype.applyToRectangle=function(S){var Re=this.applyToPoint(S),Ft=this.applyToPoint(new yi(S.x+S.w,S.y+S.h));return new Si(Re.x,Re.y,Ft.x-Re.x,Ft.y-Re.y)},Dn.prototype.clone=function(){var S=this.sx,Re=this.shy,Ft=this.shx,hr=this.sy,F=this.tx,r=this.ty;return new Dn(S,Re,Ft,hr,F,r)},me.Matrix=Dn;var Xa=me.matrixMult=function(S,Re){return Re.multiply(S)},ia=new Dn(1,0,0,1,0,0);me.unitMatrix=me.identityMatrix=ia;var aa=function(S,Re){if(!gi[S]){var Ft=(Re instanceof ve?"Sh":"P")+(Object.keys(na).length+1).toString(10);Re.id=Ft,gi[S]=Ft,na[Ft]=Re,mo.publish("addPattern",Re)}};me.ShadingPattern=ve,me.TilingPattern=de,me.addShadingPattern=function(S,Re){return kt("addShadingPattern()"),aa(S,Re),this},me.beginTilingPattern=function(S){kt("beginTilingPattern()"),Na(S.boundingBox[0],S.boundingBox[1],S.boundingBox[2]-S.boundingBox[0],S.boundingBox[3]-S.boundingBox[1],S.matrix)},me.endTilingPattern=function(S,Re){kt("endTilingPattern()"),Re.stream=Cr[be].join(`
|
|
|
`),aa(S,Re),mo.publish("endTilingPattern",Re),ii.pop().restore()};var Aa=me.__private__.newObject=function(){var S=za();return Io(S,!0),S},za=me.__private__.newObjectDeferred=function(){return dt++,Nt[dt]=function(){return er},dt},Io=function(S,Re){return Re=typeof Re=="boolean"&&Re,Nt[S]=er,Re&&xt(S+" 0 obj"),S},No=me.__private__.newAdditionalObject=function(){var S={objId:za(),content:""};return It.push(S),S},ei=za(),di=za(),sa=me.__private__.decodeColorString=function(S){var Re=S.split(" ");if(Re.length!==2||Re[1]!=="g"&&Re[1]!=="G")Re.length===5&&(Re[4]==="k"||Re[4]==="K")&&(Re=[(1-Re[0])*(1-Re[3]),(1-Re[1])*(1-Re[3]),(1-Re[2])*(1-Re[3]),"r"]);else{var Ft=parseFloat(Re[0]);Re=[Ft,Ft,Ft,"r"]}for(var hr="#",F=0;F<3;F++)hr+=("0"+Math.floor(255*parseFloat(Re[F])).toString(16)).slice(-2);return hr},Ua=me.__private__.encodeColorString=function(S){var Re;typeof S=="string"&&(S={ch1:S});var Ft=S.ch1,hr=S.ch2,F=S.ch3,r=S.ch4,o=S.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Ft=="string"&&Ft.charAt(0)!=="#"){var s=new V(Ft);if(s.ok)Ft=s.toHex();else if(!/^\d*\.?\d*$/.test(Ft))throw new Error('Invalid color "'+Ft+'" passed to jsPDF.encodeColorString.')}if(typeof Ft=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Ft)&&(Ft="#"+Ft[1]+Ft[1]+Ft[2]+Ft[2]+Ft[3]+Ft[3]),typeof Ft=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ft)){var h=parseInt(Ft.substr(1),16);Ft=h>>16&255,hr=h>>8&255,F=255&h}if(hr===void 0||r===void 0&&Ft===hr&&hr===F)if(typeof Ft=="string")Re=Ft+" "+o[0];else switch(S.precision){case 2:Re=gn(Ft/255)+" "+o[0];break;case 3:default:Re=yt(Ft/255)+" "+o[0]}else if(r===void 0||(0,t.Z)(r)==="object"){if(r&&!isNaN(r.a)&&r.a===0)return Re=["1.","1.","1.",o[1]].join(" ");if(typeof Ft=="string")Re=[Ft,hr,F,o[1]].join(" ");else switch(S.precision){case 2:Re=[gn(Ft/255),gn(hr/255),gn(F/255),o[1]].join(" ");break;default:case 3:Re=[yt(Ft/255),yt(hr/255),yt(F/255),o[1]].join(" ")}}else if(typeof Ft=="string")Re=[Ft,hr,F,r,o[2]].join(" ");else switch(S.precision){case 2:Re=[gn(Ft),gn(hr),gn(F),gn(r),o[2]].join(" ");break;case 3:default:Re=[yt(Ft),yt(hr),yt(F),yt(r),o[2]].join(" ")}return Re},go=me.__private__.getFilters=function(){return B},wo=me.__private__.putStream=function(S){var Re=(S=S||{}).data||"",Ft=S.filters||go(),hr=S.alreadyAppliedFilters||[],F=S.addLength1||!1,r=Re.length,o=S.objectId,s=function(xr){return xr};if(_e!==null&&o===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");_e!==null&&(s=fn.encryptor(o,0));var h={};Ft===!0&&(Ft=["FlateEncode"]);var z=S.additionalKeyValues||[],ue=(h=k.API.processDataByFilters!==void 0?k.API.processDataByFilters(Re,Ft):{data:Re,reverseChain:[]}).reverseChain+(Array.isArray(hr)?hr.join(" "):hr.toString());if(h.data.length!==0&&(z.push({key:"Length",value:h.data.length}),F===!0&&z.push({key:"Length1",value:r})),ue.length!=0)if(ue.split("/").length-1==1)z.push({key:"Filter",value:ue});else{z.push({key:"Filter",value:"["+ue+"]"});for(var De=0;De<z.length;De+=1)if(z[De].key==="DecodeParms"){for(var tt=[],Ot=0;Ot<h.reverseChain.split("/").length-1;Ot+=1)tt.push("null");tt.push(z[De].value),z[De].value="["+tt.join(" ")+"]"}}xt("<<");for(var or=0;or<z.length;or++)xt("/"+z[or].key+" "+z[or].value);xt(">>"),h.data.length!==0&&(xt("stream"),xt(s(h.data)),xt("endstream"))},Ko=me.__private__.putPage=function(S){var Re=S.number,Ft=S.data,hr=S.objId,F=S.contentsObjId;Io(hr,!0),xt("<</Type /Page"),xt("/Parent "+S.rootDictionaryObjId+" 0 R"),xt("/Resources "+S.resourceDictionaryObjId+" 0 R"),xt("/MediaBox ["+parseFloat(qr(S.mediaBox.bottomLeftX))+" "+parseFloat(qr(S.mediaBox.bottomLeftY))+" "+qr(S.mediaBox.topRightX)+" "+qr(S.mediaBox.topRightY)+"]"),S.cropBox!==null&&xt("/CropBox ["+qr(S.cropBox.bottomLeftX)+" "+qr(S.cropBox.bottomLeftY)+" "+qr(S.cropBox.topRightX)+" "+qr(S.cropBox.topRightY)+"]"),S.bleedBox!==null&&xt("/BleedBox ["+qr(S.bleedBox.bottomLeftX)+" "+qr(S.bleedBox.bottomLeftY)+" "+qr(S.bleedBox.topRightX)+" "+qr(S.bleedBox.topRightY)+"]"),S.trimBox!==null&&xt("/TrimBox ["+qr(S.trimBox.bottomLeftX)+" "+qr(S.trimBox.bottomLeftY)+" "+qr(S.trimBox.topRightX)+" "+qr(S.trimBox.topRightY)+"]"),S.artBox!==null&&xt("/ArtBox ["+qr(S.artBox.bottomLeftX)+" "+qr(S.artBox.bottomLeftY)+" "+qr(S.artBox.topRightX)+" "+qr(S.artBox.topRightY)+"]"),typeof S.userUnit=="number"&&S.userUnit!==1&&xt("/UserUnit "+S.userUnit),mo.publish("putPage",{objId:hr,pageContext:Sa[Re],pageNumber:Re,page:Ft}),xt("/Contents "+F+" 0 R"),xt(">>"),xt("endobj");var r=Ft.join(`
|
|
|
`);return wr===Zt.ADVANCED&&(r+=`
|
|
|
Q`),Io(F,!0),wo({data:r,filters:go(),objectId:F}),xt("endobj"),hr},si=me.__private__.putPages=function(){var S,Re,Ft=[];for(S=1;S<=_a;S++)Sa[S].objId=za(),Sa[S].contentsObjId=za();for(S=1;S<=_a;S++)Ft.push(Ko({number:S,data:Cr[S],objId:Sa[S].objId,contentsObjId:Sa[S].contentsObjId,mediaBox:Sa[S].mediaBox,cropBox:Sa[S].cropBox,bleedBox:Sa[S].bleedBox,trimBox:Sa[S].trimBox,artBox:Sa[S].artBox,userUnit:Sa[S].userUnit,rootDictionaryObjId:ei,resourceDictionaryObjId:di}));Io(ei,!0),xt("<</Type /Pages");var hr="/Kids [";for(Re=0;Re<_a;Re++)hr+=Ft[Re]+" 0 R ";xt(hr+"]"),xt("/Count "+_a),xt(">>"),xt("endobj"),mo.publish("postPutPages")},Bo=function(S){mo.publish("putFont",{font:S,out:xt,newObject:Aa,putStream:wo}),S.isAlreadyPutted!==!0&&(S.objectNumber=Aa(),xt("<<"),xt("/Type /Font"),xt("/BaseFont /"+Ee(S.postScriptName)),xt("/Subtype /Type1"),typeof S.encoding=="string"&&xt("/Encoding /"+S.encoding),xt("/FirstChar 32"),xt("/LastChar 255"),xt(">>"),xt("endobj"))},Ni=function(){for(var S in Va)Va.hasOwnProperty(S)&&(Ge===!1||Ge===!0&&nt.hasOwnProperty(S))&&Bo(Va[S])},Mi=function(S){S.objectNumber=Aa();var Re=[];Re.push({key:"Type",value:"/XObject"}),Re.push({key:"Subtype",value:"/Form"}),Re.push({key:"BBox",value:"["+[qr(S.x),qr(S.y),qr(S.x+S.width),qr(S.y+S.height)].join(" ")+"]"}),Re.push({key:"Matrix",value:"["+S.matrix.toString()+"]"});var Ft=S.pages[1].join(`
|
|
|
`);wo({data:Ft,additionalKeyValues:Re,objectId:S.objectNumber}),xt("endobj")},co=function(){for(var S in lo)lo.hasOwnProperty(S)&&Mi(lo[S])},Ao=function(S,Re){var Ft,hr=[],F=1/(Re-1);for(Ft=0;Ft<1;Ft+=F)hr.push(Ft);if(hr.push(1),S[0].offset!=0){var r={offset:0,color:S[0].color};S.unshift(r)}if(S[S.length-1].offset!=1){var o={offset:1,color:S[S.length-1].color};S.push(o)}for(var s="",h=0,z=0;z<hr.length;z++){for(Ft=hr[z];Ft>S[h+1].offset;)h++;var ue=S[h].offset,De=(Ft-ue)/(S[h+1].offset-ue),tt=S[h].color,Ot=S[h+1].color;s+=Je(Math.round((1-De)*tt[0]+De*Ot[0]).toString(16))+Je(Math.round((1-De)*tt[1]+De*Ot[1]).toString(16))+Je(Math.round((1-De)*tt[2]+De*Ot[2]).toString(16))}return s.trim()},Mo=function(S,Re){Re||(Re=21);var Ft=Aa(),hr=Ao(S.colors,Re),F=[];F.push({key:"FunctionType",value:"0"}),F.push({key:"Domain",value:"[0.0 1.0]"}),F.push({key:"Size",value:"["+Re+"]"}),F.push({key:"BitsPerSample",value:"8"}),F.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),F.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),wo({data:hr,additionalKeyValues:F,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Ft}),xt("endobj"),S.objectNumber=Aa(),xt("<< /ShadingType "+S.type),xt("/ColorSpace /DeviceRGB");var r="/Coords ["+qr(parseFloat(S.coords[0]))+" "+qr(parseFloat(S.coords[1]))+" ";S.type===2?r+=qr(parseFloat(S.coords[2]))+" "+qr(parseFloat(S.coords[3])):r+=qr(parseFloat(S.coords[2]))+" "+qr(parseFloat(S.coords[3]))+" "+qr(parseFloat(S.coords[4]))+" "+qr(parseFloat(S.coords[5])),xt(r+="]"),S.matrix&&xt("/Matrix ["+S.matrix.toString()+"]"),xt("/Function "+Ft+" 0 R"),xt("/Extend [true true]"),xt(">>"),xt("endobj")},li=function(S,Re){var Ft=za(),hr=Aa();Re.push({resourcesOid:Ft,objectOid:hr}),S.objectNumber=hr;var F=[];F.push({key:"Type",value:"/Pattern"}),F.push({key:"PatternType",value:"1"}),F.push({key:"PaintType",value:"1"}),F.push({key:"TilingType",value:"1"}),F.push({key:"BBox",value:"["+S.boundingBox.map(qr).join(" ")+"]"}),F.push({key:"XStep",value:qr(S.xStep)}),F.push({key:"YStep",value:qr(S.yStep)}),F.push({key:"Resources",value:Ft+" 0 R"}),S.matrix&&F.push({key:"Matrix",value:"["+S.matrix.toString()+"]"}),wo({data:S.stream,additionalKeyValues:F,objectId:S.objectNumber}),xt("endobj")},Po=function(S){var Re;for(Re in na)na.hasOwnProperty(Re)&&(na[Re]instanceof ve?Mo(na[Re]):na[Re]instanceof de&&li(na[Re],S))},ao=function(S){for(var Re in S.objectNumber=Aa(),xt("<<"),S)switch(Re){case"opacity":xt("/ca "+gn(S[Re]));break;case"stroke-opacity":xt("/CA "+gn(S[Re]))}xt(">>"),xt("endobj")},Qo=function(){var S;for(S in ro)ro.hasOwnProperty(S)&&ao(ro[S])},uo=function(){for(var S in xt("/XObject <<"),lo)lo.hasOwnProperty(S)&&lo[S].objectNumber>=0&&xt("/"+S+" "+lo[S].objectNumber+" 0 R");mo.publish("putXobjectDict"),xt(">>")},fi=function(){fn.oid=Aa(),xt("<<"),xt("/Filter /Standard"),xt("/V "+fn.v),xt("/R "+fn.r),xt("/U <"+fn.toHexString(fn.U)+">"),xt("/O <"+fn.toHexString(fn.O)+">"),xt("/P "+fn.P),xt(">>"),xt("endobj")},Do=function(){for(var S in xt("/Font <<"),Va)Va.hasOwnProperty(S)&&(Ge===!1||Ge===!0&&nt.hasOwnProperty(S))&&xt("/"+S+" "+Va[S].objectNumber+" 0 R");xt(">>")},Ii=function(){if(Object.keys(na).length>0){for(var S in xt("/Shading <<"),na)na.hasOwnProperty(S)&&na[S]instanceof ve&&na[S].objectNumber>=0&&xt("/"+S+" "+na[S].objectNumber+" 0 R");mo.publish("putShadingPatternDict"),xt(">>")}},bi=function(S){if(Object.keys(na).length>0){for(var Re in xt("/Pattern <<"),na)na.hasOwnProperty(Re)&&na[Re]instanceof me.TilingPattern&&na[Re].objectNumber>=0&&na[Re].objectNumber<S&&xt("/"+Re+" "+na[Re].objectNumber+" 0 R");mo.publish("putTilingPatternDict"),xt(">>")}},es=function(){if(Object.keys(ro).length>0){var S;for(S in xt("/ExtGState <<"),ro)ro.hasOwnProperty(S)&&ro[S].objectNumber>=0&&xt("/"+S+" "+ro[S].objectNumber+" 0 R");mo.publish("putGStateDict"),xt(">>")}},Ma=function(S){Io(S.resourcesOid,!0),xt("<<"),xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Do(),Ii(),bi(S.objectOid),es(),uo(),xt(">>"),xt("endobj")},Ji=function(){var S=[];Ni(),Qo(),co(),Po(S),mo.publish("putResources"),S.forEach(Ma),Ma({resourcesOid:di,objectOid:Number.MAX_SAFE_INTEGER}),mo.publish("postPutResources")},$i=function(){mo.publish("putAdditionalObjects");for(var S=0;S<It.length;S++){var Re=It[S];Io(Re.objId,!0),xt(Re.content),xt("endobj")}mo.publish("postPutAdditionalObjects")},Ai=function(S){Ha[S.fontName]=Ha[S.fontName]||{},Ha[S.fontName][S.fontStyle]=S.id},Ti=function(S,Re,Ft,hr,F){var r={id:"F"+(Object.keys(Va).length+1).toString(10),postScriptName:S,fontName:Re,fontStyle:Ft,encoding:hr,isStandardFont:F||!1,metadata:{}};return mo.publish("addFont",{font:r,instance:this}),Va[r.id]=r,Ai(r),r.id},Zi=function(S){for(var Re=0,Ft=zr.length;Re<Ft;Re++){var hr=Ti.call(this,S[Re][0],S[Re][1],S[Re][2],zr[Re][3],!0);Ge===!1&&(nt[hr]=!0);var F=S[Re][0].split("-");Ai({id:hr,fontName:F[0],fontStyle:F[1]||""})}mo.publish("addFonts",{fonts:Va,dictionary:Ha})},Ei=function(S){return S.foo=function(){try{return S.apply(this,arguments)}catch(hr){var Re=hr.stack||"";~Re.indexOf(" at ")&&(Re=Re.split(" at ")[1]);var Ft="Error in function "+Re.split(`
|
|
|
`)[0].split("<")[0]+": "+hr.message;if(!$.console)throw new Error(Ft);$.console.error(Ft,hr),$.alert&&alert(Ft)}},S.foo.bar=S,S.foo},Di=function(S,Re){var Ft,hr,F,r,o,s,h,z,ue;if(F=(Re=Re||{}).sourceEncoding||"Unicode",o=Re.outputEncoding,(Re.autoencode||o)&&Va[jn].metadata&&Va[jn].metadata[F]&&Va[jn].metadata[F].encoding&&(r=Va[jn].metadata[F].encoding,!o&&Va[jn].encoding&&(o=Va[jn].encoding),!o&&r.codePages&&(o=r.codePages[0]),typeof o=="string"&&(o=r[o]),o)){for(h=!1,s=[],Ft=0,hr=S.length;Ft<hr;Ft++)(z=o[S.charCodeAt(Ft)])?s.push(String.fromCharCode(z)):s.push(S[Ft]),s[Ft].charCodeAt(0)>>8&&(h=!0);S=s.join("")}for(Ft=S.length;h===void 0&&Ft!==0;)S.charCodeAt(Ft-1)>>8&&(h=!0),Ft--;if(!h)return S;for(s=Re.noBOM?[]:[254,255],Ft=0,hr=S.length;Ft<hr;Ft++){if((ue=(z=S.charCodeAt(Ft))>>8)>>8)throw new Error("Character at position "+Ft+" of string '"+S+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(ue),s.push(z-(ue<<8))}return String.fromCharCode.apply(void 0,s)},Fo=me.__private__.pdfEscape=me.pdfEscape=function(S,Re){return Di(S,Re).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Gi=me.__private__.beginPage=function(S){Cr[++_a]=[],Sa[_a]={objId:0,contentsObjId:0,userUnit:Number(X),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(S[0]),topRightY:Number(S[1])}},Qi(_a),bt(Cr[be])},ft=function(S,Re){var Ft,hr,F;switch(d=Re||d,typeof S=="string"&&(Ft=lt(S.toLowerCase()),Array.isArray(Ft)&&(hr=Ft[0],F=Ft[1])),Array.isArray(S)&&(hr=S[0]*Vn,F=S[1]*Vn),isNaN(hr)&&(hr=I[0],F=I[1]),(hr>14400||F>14400)&&(G.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),hr=Math.min(14400,hr),F=Math.min(14400,F)),I=[hr,F],d.substr(0,1)){case"l":F>hr&&(I=[F,hr]);break;case"p":hr>F&&(I=[F,hr])}Gi(I),no(oo),xt(Qa),To!==0&&xt(To+" J"),ri!==0&&xt(ri+" j"),mo.publish("addPage",{pageNumber:_a})},is=function(S){S>0&&S<=_a&&(Cr.splice(S,1),Sa.splice(S,1),_a--,be>_a&&(be=_a),this.setPage(be))},Qi=function(S){S>0&&S<=_a&&(be=S)},ts=me.__private__.getNumberOfPages=me.getNumberOfPages=function(){return Cr.length-1},Bi=function(S,Re,Ft){var hr,F=void 0;return Ft=Ft||{},S=S!==void 0?S:Va[jn].fontName,Re=Re!==void 0?Re:Va[jn].fontStyle,hr=S.toLowerCase(),Ha[hr]!==void 0&&Ha[hr][Re]!==void 0?F=Ha[hr][Re]:Ha[S]!==void 0&&Ha[S][Re]!==void 0?F=Ha[S][Re]:Ft.disableWarning===!1&&G.warn("Unable to look up font label for font '"+S+"', '"+Re+"'. Refer to getFontList() for available fonts."),F||Ft.noFallback||(F=Ha.times[Re])==null&&(F=Ha.times.normal),F},Wi=me.__private__.putInfo=function(){var S=Aa(),Re=function(hr){return hr};for(var Ft in _e!==null&&(Re=fn.encryptor(S,0)),xt("<<"),xt("/Producer ("+Fo(Re("jsPDF "+k.version))+")"),Xn)Xn.hasOwnProperty(Ft)&&Xn[Ft]&&xt("/"+Ft.substr(0,1).toUpperCase()+Ft.substr(1)+" ("+Fo(Re(Xn[Ft]))+")");xt("/CreationDate ("+Fo(Re(Zr))+")"),xt(">>"),xt("endobj")},Pa=me.__private__.putCatalog=function(S){var Re=(S=S||{}).rootDictionaryObjId||ei;switch(Aa(),xt("<<"),xt("/Type /Catalog"),xt("/Pages "+Re+" 0 R"),nn||(nn="fullwidth"),nn){case"fullwidth":xt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":xt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":xt("/OpenAction [3 0 R /Fit]");break;case"original":xt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Ft=""+nn;Ft.substr(Ft.length-1)==="%"&&(nn=parseInt(nn)/100),typeof nn=="number"&&xt("/OpenAction [3 0 R /XYZ null null "+gn(nn)+"]")}switch(Qn||(Qn="continuous"),Qn){case"continuous":xt("/PageLayout /OneColumn");break;case"single":xt("/PageLayout /SinglePage");break;case"two":case"twoleft":xt("/PageLayout /TwoColumnLeft");break;case"tworight":xt("/PageLayout /TwoColumnRight")}qn&&xt("/PageMode /"+qn),mo.publish("putCatalog"),xt(">>"),xt("endobj")},$o=me.__private__.putTrailer=function(){xt("trailer"),xt("<<"),xt("/Size "+(dt+1)),xt("/Root "+dt+" 0 R"),xt("/Info "+(dt-1)+" 0 R"),_e!==null&&xt("/Encrypt "+fn.oid+" 0 R"),xt("/ID [ <"+br+"> <"+br+"> ]"),xt(">>")},se=me.__private__.putHeader=function(){xt("%PDF-"+Gt),xt("%\xBA\xDF\xAC\xE0")},xe=me.__private__.putXRef=function(){var S="0000000000";xt("xref"),xt("0 "+(dt+1)),xt("0000000000 65535 f ");for(var Re=1;Re<=dt;Re++)typeof Nt[Re]=="function"?xt((S+Nt[Re]()).slice(-10)+" 00000 n "):Nt[Re]!==void 0?xt((S+Nt[Re]).slice(-10)+" 00000 n "):xt("0000000000 00000 n ")},ct=me.__private__.buildDocument=function(){Qr(),bt($t),mo.publish("buildDocument"),se(),si(),$i(),Ji(),_e!==null&&fi(),Wi(),Pa();var S=er;return xe(),$o(),xt("startxref"),xt(""+S),xt("%%EOF"),bt(Cr[be]),$t.join(`
|
|
|
`)},gt=me.__private__.getBlob=function(S){return new Blob([Mn(S)],{type:"application/pdf"})},vr=me.output=me.__private__.output=Ei(function(S,Re){switch(typeof(Re=Re||{})=="string"?Re={filename:Re}:Re.filename=Re.filename||"generated.pdf",S){case void 0:return ct();case"save":me.save(Re.filename);break;case"arraybuffer":return Mn(ct());case"blob":return gt(ct());case"bloburi":case"bloburl":if($.URL!==void 0&&typeof $.URL.createObjectURL=="function")return $.URL&&$.URL.createObjectURL(gt(ct()))||void 0;G.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Ft="",hr=ct();try{Ft=l(hr)}catch(Ot){Ft=l(unescape(encodeURIComponent(hr)))}return"data:application/pdf;filename="+Re.filename+";base64,"+Ft;case"pdfobjectnewwindow":if(Object.prototype.toString.call($)==="[object Window]"){var F="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",r=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Re.pdfObjectUrl&&(F=Re.pdfObjectUrl,r="");var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+F+'"'+r+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Re)+");<\/script></body></html>",s=$.open();return s!==null&&s.document.write(o),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call($)==="[object Window]"){var h='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Re.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Re.filename+'" width="500px" height="400px" /></body></html>',z=$.open();if(z!==null){z.document.write(h);var ue=this;z.document.documentElement.querySelector("#pdfViewer").onload=function(){z.document.title=Re.filename,z.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(ue.output("bloburl"))}}return z}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call($)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var De='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Re)+'"></iframe></body></html>',tt=$.open();if(tt!==null&&(tt.document.write(De),tt.document.title=Re.filename),tt||typeof safari=="undefined")return tt;break;case"datauri":case"dataurl":return $.document.location.href=this.output("datauristring",Re);default:return null}}),Vr=function(S){return Array.isArray(oi)===!0&&oi.indexOf(S)>-1};switch(v){case"pt":Vn=1;break;case"mm":Vn=72/25.4;break;case"cm":Vn=72/2.54;break;case"in":Vn=72;break;case"px":Vn=Vr("px_scaling")==1?.75:96/72;break;case"pc":case"em":Vn=12;break;case"ex":Vn=6;break;default:if(typeof v!="number")throw new Error("Invalid unit: "+v);Vn=v}var fn=null;Un(),Fr();var Zn=function(S){return _e!==null?fn.encryptor(S,0):function(Re){return Re}},Wn=me.__private__.getPageInfo=me.getPageInfo=function(S){if(isNaN(S)||S%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Sa[S].objId,pageNumber:S,pageContext:Sa[S]}},wn=me.__private__.getPageInfoByObjId=function(S){if(isNaN(S)||S%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Re in Sa)if(Sa[Re].objId===S)break;return Wn(Re)},_n=me.__private__.getCurrentPageInfo=me.getCurrentPageInfo=function(){return{objId:Sa[be].objId,pageNumber:be,pageContext:Sa[be]}};me.addPage=function(){return ft.apply(this,arguments),this},me.setPage=function(){return Qi.apply(this,arguments),bt.call(this,Cr[be]),this},me.insertPage=function(S){return this.addPage(),this.movePage(be,S),this},me.movePage=function(S,Re){var Ft,hr;if(S>Re){Ft=Cr[S],hr=Sa[S];for(var F=S;F>Re;F--)Cr[F]=Cr[F-1],Sa[F]=Sa[F-1];Cr[Re]=Ft,Sa[Re]=hr,this.setPage(Re)}else if(S<Re){Ft=Cr[S],hr=Sa[S];for(var r=S;r<Re;r++)Cr[r]=Cr[r+1],Sa[r]=Sa[r+1];Cr[Re]=Ft,Sa[Re]=hr,this.setPage(Re)}return this},me.deletePage=function(){return is.apply(this,arguments),this},me.__private__.text=me.text=function(S,Re,Ft,hr,F){var r,o,s,h,z,ue,De,tt,Ot,or=(hr=hr||{}).scope||this;if(typeof S=="number"&&typeof Re=="number"&&(typeof Ft=="string"||Array.isArray(Ft))){var xr=Ft;Ft=Re,Re=S,S=xr}if(arguments[3]instanceof Dn?(kt("The transform parameter of text() with a Matrix value"),Ot=F):(s=arguments[4],h=arguments[5],(0,t.Z)(De=arguments[3])==="object"&&De!==null||(typeof s=="string"&&(h=s,s=null),typeof De=="string"&&(h=De,De=null),typeof De=="number"&&(s=De,De=null),hr={flags:De,angle:s,align:h})),isNaN(Re)||isNaN(Ft)||S==null)throw new Error("Invalid arguments passed to jsPDF.text");if(S.length===0)return or;var Wr="",pn=!1,Pn=typeof hr.lineHeightFactor=="number"?hr.lineHeightFactor:Ra,Fn=or.internal.scaleFactor;function ea(Oo){return Oo=Oo.split(" ").join(Array(hr.TabLen||9).join(" ")),Fo(Oo,De)}function fa(Oo){for(var Wo,hi=Oo.concat(),mi=[],rs=hi.length;rs--;)typeof(Wo=hi.shift())=="string"?mi.push(Wo):Array.isArray(Oo)&&(Wo.length===1||Wo[1]===void 0&&Wo[2]===void 0)?mi.push(Wo[0]):mi.push([Wo[0],Wo[1],Wo[2]]);return mi}function u(Oo,Wo){var hi;if(typeof Oo=="string")hi=Wo(Oo)[0];else if(Array.isArray(Oo)){for(var mi,rs,Yi=Oo.concat(),ns=[],vs=Yi.length;vs--;)typeof(mi=Yi.shift())=="string"?ns.push(Wo(mi)[0]):Array.isArray(mi)&&typeof mi[0]=="string"&&(rs=Wo(mi[0],mi[1],mi[2]),ns.push([rs[0],rs[1],rs[2]]));hi=ns}return hi}var e=!1,n=!0;if(typeof S=="string")e=!0;else if(Array.isArray(S)){var f=S.concat();o=[];for(var O,Q=f.length;Q--;)(typeof(O=f.shift())!="string"||Array.isArray(O)&&typeof O[0]!="string")&&(n=!1);e=n}if(e===!1)throw new Error('Type of text must be string or Array. "'+S+'" is not recognized.');typeof S=="string"&&(S=S.match(/[\r?\n]/)?S.split(/\r\n|\r|\n/g):[S]);var je=dn/or.internal.scaleFactor,Ve=je*(Pn-1);switch(hr.baseline){case"bottom":Ft-=Ve;break;case"top":Ft+=je-Ve;break;case"hanging":Ft+=je-2*Ve;break;case"middle":Ft+=je/2-Ve}if((ue=hr.maxWidth||0)>0&&(typeof S=="string"?S=or.splitTextToSize(S,ue):Object.prototype.toString.call(S)==="[object Array]"&&(S=S.reduce(function(Oo,Wo){return Oo.concat(or.splitTextToSize(Wo,ue))},[]))),r={text:S,x:Re,y:Ft,options:hr,mutex:{pdfEscape:Fo,activeFontKey:jn,fonts:Va,activeFontSize:dn}},mo.publish("preProcessText",r),S=r.text,s=(hr=r.options).angle,!(Ot instanceof Dn)&&s&&typeof s=="number"){s*=Math.PI/180,hr.rotationDirection===0&&(s=-s),wr===Zt.ADVANCED&&(s=-s);var qe=Math.cos(s),Dt=Math.sin(s);Ot=new Dn(qe,Dt,-Dt,qe,0,0)}else s&&s instanceof Dn&&(Ot=s);wr!==Zt.ADVANCED||Ot||(Ot=ia),(z=hr.charSpace||ti)!==void 0&&(Wr+=qr(Ct(z))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(tt=hr.horizontalScale)!==void 0&&(Wr+=qr(100*tt)+` Tz
|
|
|
`),hr.lang;var mr=-1,Nr=hr.renderingMode!==void 0?hr.renderingMode:hr.stroke,Ir=or.internal.getCurrentPageInfo().pageContext;switch(Nr){case 0:case!1:case"fill":mr=0;break;case 1:case!0:case"stroke":mr=1;break;case 2:case"fillThenStroke":mr=2;break;case 3:case"invisible":mr=3;break;case 4:case"fillAndAddForClipping":mr=4;break;case 5:case"strokeAndAddPathForClipping":mr=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":mr=6;break;case 7:case"addToPathForClipping":mr=7}var Ar=Ir.usedRenderingMode!==void 0?Ir.usedRenderingMode:-1;mr!==-1?Wr+=mr+` Tr
|
|
|
`:Ar!==-1&&(Wr+=`0 Tr
|
|
|
`),mr!==-1&&(Ir.usedRenderingMode=mr),h=hr.align||"left";var Yr,hn=dn*Pn,kn=or.internal.pageSize.getWidth(),Gn=Va[jn];z=hr.charSpace||ti,ue=hr.maxWidth||0,De=Object.assign({autoencode:!0,noBOM:!0},hr.flags);var ua=[];if(Object.prototype.toString.call(S)==="[object Array]"){var da;o=fa(S),h!=="left"&&(Yr=o.map(function(Oo){return or.getStringUnitWidth(Oo,{font:Gn,charSpace:z,fontSize:dn,doKerning:!1})*dn/Fn}));var Ba,ga=0;if(h==="right"){Re-=Yr[0],S=[],Q=o.length;for(var Wa=0;Wa<Q;Wa++)Wa===0?(Ba=io(Re),da=po(Ft)):(Ba=Ct(ga-Yr[Wa]),da=-hn),S.push([o[Wa],Ba,da]),ga=Yr[Wa]}else if(h==="center"){Re-=Yr[0]/2,S=[],Q=o.length;for(var Ya=0;Ya<Q;Ya++)Ya===0?(Ba=io(Re),da=po(Ft)):(Ba=Ct((ga-Yr[Ya])/2),da=-hn),S.push([o[Ya],Ba,da]),ga=Yr[Ya]}else if(h==="left"){S=[],Q=o.length;for(var Lo=0;Lo<Q;Lo++)S.push(o[Lo])}else{if(h!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');S=[],Q=o.length,ue=ue!==0?ue:kn;for(var vo=0;vo<Q;vo++)da=vo===0?po(Ft):-hn,Ba=vo===0?io(Re):0,vo<Q-1?ua.push(qr(Ct((ue-Yr[vo])/(o[vo].split(" ").length-1)))):ua.push(0),S.push([o[vo],Ba,da])}}var Ci=typeof hr.R2L=="boolean"?hr.R2L:Ln;Ci===!0&&(S=u(S,function(Oo,Wo,hi){return[Oo.split("").reverse().join(""),Wo,hi]})),r={text:S,x:Re,y:Ft,options:hr,mutex:{pdfEscape:Fo,activeFontKey:jn,fonts:Va,activeFontSize:dn}},mo.publish("postProcessText",r),S=r.text,pn=r.mutex.isHex||!1;var Zo=Va[jn].encoding;Zo!=="WinAnsiEncoding"&&Zo!=="StandardEncoding"||(S=u(S,function(Oo,Wo,hi){return[ea(Oo),Wo,hi]})),o=fa(S),S=[];for(var Ho,Pi,ni,Oi=0,Ki=1,_i=Array.isArray(o[0])?Ki:Oi,Xi="",ps=function(Oo,Wo,hi){var mi="";return hi instanceof Dn?(hi=typeof hr.angle=="number"?Xa(hi,new Dn(1,0,0,1,Oo,Wo)):Xa(new Dn(1,0,0,1,Oo,Wo),hi),wr===Zt.ADVANCED&&(hi=Xa(new Dn(1,0,0,-1,0,0),hi)),mi=hi.join(" ")+` Tm
|
|
|
`):mi=qr(Oo)+" "+qr(Wo)+` Td
|
|
|
`,mi},ji=0;ji<o.length;ji++){switch(Xi="",_i){case Ki:ni=(pn?"<":"(")+o[ji][0]+(pn?">":")"),Ho=parseFloat(o[ji][1]),Pi=parseFloat(o[ji][2]);break;case Oi:ni=(pn?"<":"(")+o[ji]+(pn?">":")"),Ho=io(Re),Pi=po(Ft)}ua!==void 0&&ua[ji]!==void 0&&(Xi=ua[ji]+` Tw
|
|
|
`),ji===0?S.push(Xi+ps(Ho,Pi,Ot)+ni):_i===Oi?S.push(Xi+ni):_i===Ki&&S.push(Xi+ps(Ho,Pi,Ot)+ni)}S=_i===Oi?S.join(` Tj
|
|
|
T* `):S.join(` Tj
|
|
|
`),S+=` Tj
|
|
|
`;var Li=`BT
|
|
|
/`;return Li+=jn+" "+dn+` Tf
|
|
|
`,Li+=qr(dn*Pn)+` TL
|
|
|
`,Li+=ja+`
|
|
|
`,Li+=Wr,Li+=S,xt(Li+="ET"),nt[jn]=!0,or};var la=me.__private__.clip=me.clip=function(S){return xt(S==="evenodd"?"W*":"W"),this};me.clipEvenOdd=function(){return la("evenodd")},me.__private__.discardPath=me.discardPath=function(){return xt("n"),this};var Ia=me.__private__.isValidStyle=function(S){var Re=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(S)!==-1&&(Re=!0),Re};me.__private__.setDefaultPathOperation=me.setDefaultPathOperation=function(S){return Ia(S)&&(Ce=S),this};var Yn=me.__private__.getStyle=me.getStyle=function(S){var Re=Ce;switch(S){case"D":case"S":Re="S";break;case"F":Re="f";break;case"FD":case"DF":Re="B";break;case"f":case"f*":case"B":case"B*":Re=S}return Re},ma=me.close=function(){return xt("h"),this};me.stroke=function(){return xt("S"),this},me.fill=function(S){return pa("f",S),this},me.fillEvenOdd=function(S){return pa("f*",S),this},me.fillStroke=function(S){return pa("B",S),this},me.fillStrokeEvenOdd=function(S){return pa("B*",S),this};var pa=function(S,Re){(0,t.Z)(Re)==="object"?Za(Re,S):xt(S)},ta=function(S){S===null||wr===Zt.ADVANCED&&S===void 0||(S=Yn(S),xt(S))};function Ta(S,Re,Ft,hr,F){var r=new de(Re||this.boundingBox,Ft||this.xStep,hr||this.yStep,this.gState,F||this.matrix);r.stream=this.stream;var o=S+"$$"+this.cloneIndex+++"$$";return aa(o,r),r}var Za=function(S,Re){var Ft=gi[S.key],hr=na[Ft];if(hr instanceof ve)xt("q"),xt(eo(Re)),hr.gState&&me.setGState(hr.gState),xt(S.matrix.toString()+" cm"),xt("/"+Ft+" sh"),xt("Q");else if(hr instanceof de){var F=new Dn(1,0,0,-1,0,La());S.matrix&&(F=F.multiply(S.matrix||ia),Ft=Ta.call(hr,S.key,S.boundingBox,S.xStep,S.yStep,F).id),xt("q"),xt("/Pattern cs"),xt("/"+Ft+" scn"),hr.gState&&me.setGState(hr.gState),xt(Re),xt("Q")}},eo=function(S){switch(S){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},$a=me.moveTo=function(S,Re){return xt(qr(Ct(S))+" "+qr(Rt(Re))+" m"),this},Ga=me.lineTo=function(S,Re){return xt(qr(Ct(S))+" "+qr(Rt(Re))+" l"),this},xa=me.curveTo=function(S,Re,Ft,hr,F,r){return xt([qr(Ct(S)),qr(Rt(Re)),qr(Ct(Ft)),qr(Rt(hr)),qr(Ct(F)),qr(Rt(r)),"c"].join(" ")),this};me.__private__.line=me.line=function(S,Re,Ft,hr,F){if(isNaN(S)||isNaN(Re)||isNaN(Ft)||isNaN(hr)||!Ia(F))throw new Error("Invalid arguments passed to jsPDF.line");return wr===Zt.COMPAT?this.lines([[Ft-S,hr-Re]],S,Re,[1,1],F||"S"):this.lines([[Ft-S,hr-Re]],S,Re,[1,1]).stroke()},me.__private__.lines=me.lines=function(S,Re,Ft,hr,F,r){var o,s,h,z,ue,De,tt,Ot,or,xr,Wr,pn;if(typeof S=="number"&&(pn=Ft,Ft=Re,Re=S,S=pn),hr=hr||[1,1],r=r||!1,isNaN(Re)||isNaN(Ft)||!Array.isArray(S)||!Array.isArray(hr)||!Ia(F)||typeof r!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for($a(Re,Ft),o=hr[0],s=hr[1],z=S.length,xr=Re,Wr=Ft,h=0;h<z;h++)(ue=S[h]).length===2?(xr=ue[0]*o+xr,Wr=ue[1]*s+Wr,Ga(xr,Wr)):(De=ue[0]*o+xr,tt=ue[1]*s+Wr,Ot=ue[2]*o+xr,or=ue[3]*s+Wr,xr=ue[4]*o+xr,Wr=ue[5]*s+Wr,xa(De,tt,Ot,or,xr,Wr));return r&&ma(),ta(F),this},me.path=function(S){for(var Re=0;Re<S.length;Re++){var Ft=S[Re],hr=Ft.c;switch(Ft.op){case"m":$a(hr[0],hr[1]);break;case"l":Ga(hr[0],hr[1]);break;case"c":xa.apply(this,hr);break;case"h":ma()}}return this},me.__private__.rect=me.rect=function(S,Re,Ft,hr,F){if(isNaN(S)||isNaN(Re)||isNaN(Ft)||isNaN(hr)||!Ia(F))throw new Error("Invalid arguments passed to jsPDF.rect");return wr===Zt.COMPAT&&(hr=-hr),xt([qr(Ct(S)),qr(Rt(Re)),qr(Ct(Ft)),qr(Ct(hr)),"re"].join(" ")),ta(F),this},me.__private__.triangle=me.triangle=function(S,Re,Ft,hr,F,r,o){if(isNaN(S)||isNaN(Re)||isNaN(Ft)||isNaN(hr)||isNaN(F)||isNaN(r)||!Ia(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Ft-S,hr-Re],[F-Ft,r-hr],[S-F,Re-r]],S,Re,[1,1],o,!0),this},me.__private__.roundedRect=me.roundedRect=function(S,Re,Ft,hr,F,r,o){if(isNaN(S)||isNaN(Re)||isNaN(Ft)||isNaN(hr)||isNaN(F)||isNaN(r)||!Ia(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return F=Math.min(F,.5*Ft),r=Math.min(r,.5*hr),this.lines([[Ft-2*F,0],[F*s,0,F,r-r*s,F,r],[0,hr-2*r],[0,r*s,-F*s,r,-F,r],[2*F-Ft,0],[-F*s,0,-F,-r*s,-F,-r],[0,2*r-hr],[0,-r*s,F*s,-r,F,-r]],S+F,Re,[1,1],o,!0),this},me.__private__.ellipse=me.ellipse=function(S,Re,Ft,hr,F){if(isNaN(S)||isNaN(Re)||isNaN(Ft)||isNaN(hr)||!Ia(F))throw new Error("Invalid arguments passed to jsPDF.ellipse");var r=4/3*(Math.SQRT2-1)*Ft,o=4/3*(Math.SQRT2-1)*hr;return $a(S+Ft,Re),xa(S+Ft,Re-o,S+r,Re-hr,S,Re-hr),xa(S-r,Re-hr,S-Ft,Re-o,S-Ft,Re),xa(S-Ft,Re+o,S-r,Re+hr,S,Re+hr),xa(S+r,Re+hr,S+Ft,Re+o,S+Ft,Re),ta(F),this},me.__private__.circle=me.circle=function(S,Re,Ft,hr){if(isNaN(S)||isNaN(Re)||isNaN(Ft)||!Ia(hr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(S,Re,Ft,Ft,hr)},me.setFont=function(S,Re,Ft){return Ft&&(Re=On(Re,Ft)),jn=Bi(S,Re,{disableWarning:!1}),this};var Ka=me.__private__.getFont=me.getFont=function(){return Va[Bi.apply(me,arguments)]};me.__private__.getFontList=me.getFontList=function(){var S,Re,Ft={};for(S in Ha)if(Ha.hasOwnProperty(S))for(Re in Ft[S]=[],Ha[S])Ha[S].hasOwnProperty(Re)&&Ft[S].push(Re);return Ft},me.addFont=function(S,Re,Ft,hr,F){var r=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&r.indexOf(arguments[3])!==-1?F=arguments[3]:arguments[3]&&r.indexOf(arguments[3])==-1&&(Ft=On(Ft,hr)),F=F||"Identity-H",Ti.call(this,S,Re,Ft,F)};var Ra,oo=p.lineWidth||.200025,fo=me.__private__.getLineWidth=me.getLineWidth=function(){return oo},no=me.__private__.setLineWidth=me.setLineWidth=function(S){return oo=S,xt(qr(Ct(S))+" w"),this};me.__private__.setLineDash=k.API.setLineDash=k.API.setLineDashPattern=function(S,Re){if(S=S||[],Re=Re||0,isNaN(Re)||!Array.isArray(S))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return S=S.map(function(Ft){return qr(Ct(Ft))}).join(" "),Re=qr(Ct(Re)),xt("["+S+"] "+Re+" d"),this};var yo=me.__private__.getLineHeight=me.getLineHeight=function(){return dn*Ra};me.__private__.getLineHeight=me.getLineHeight=function(){return dn*Ra};var Ja=me.__private__.setLineHeightFactor=me.setLineHeightFactor=function(S){return typeof(S=S||1.15)=="number"&&(Ra=S),this},Eo=me.__private__.getLineHeightFactor=me.getLineHeightFactor=function(){return Ra};Ja(p.lineHeight);var io=me.__private__.getHorizontalCoordinate=function(S){return Ct(S)},po=me.__private__.getVerticalCoordinate=function(S){return wr===Zt.ADVANCED?S:Sa[be].mediaBox.topRightY-Sa[be].mediaBox.bottomLeftY-Ct(S)},Vo=me.__private__.getHorizontalCoordinateString=me.getHorizontalCoordinateString=function(S){return qr(io(S))},So=me.__private__.getVerticalCoordinateString=me.getVerticalCoordinateString=function(S){return qr(po(S))},Qa=p.strokeColor||"0 G";me.__private__.getStrokeColor=me.getDrawColor=function(){return sa(Qa)},me.__private__.setStrokeColor=me.setDrawColor=function(S,Re,Ft,hr){return Qa=Ua({ch1:S,ch2:Re,ch3:Ft,ch4:hr,pdfColorType:"draw",precision:2}),xt(Qa),this};var it=p.fillColor||"0 g";me.__private__.getFillColor=me.getFillColor=function(){return sa(it)},me.__private__.setFillColor=me.setFillColor=function(S,Re,Ft,hr){return it=Ua({ch1:S,ch2:Re,ch3:Ft,ch4:hr,pdfColorType:"fill",precision:2}),xt(it),this};var ja=p.textColor||"0 g",ko=me.__private__.getTextColor=me.getTextColor=function(){return sa(ja)};me.__private__.setTextColor=me.setTextColor=function(S,Re,Ft,hr){return ja=Ua({ch1:S,ch2:Re,ch3:Ft,ch4:hr,pdfColorType:"text",precision:3}),this};var ti=p.charSpace,Co=me.__private__.getCharSpace=me.getCharSpace=function(){return parseFloat(ti||0)};me.__private__.setCharSpace=me.setCharSpace=function(S){if(isNaN(S))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return ti=S,this};var To=0;me.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},me.__private__.setLineCap=me.setLineCap=function(S){var Re=me.CapJoinStyles[S];if(Re===void 0)throw new Error("Line cap style of '"+S+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return To=Re,xt(Re+" J"),this};var ri=0;me.__private__.setLineJoin=me.setLineJoin=function(S){var Re=me.CapJoinStyles[S];if(Re===void 0)throw new Error("Line join style of '"+S+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ri=Re,xt(Re+" j"),this},me.__private__.setLineMiterLimit=me.__private__.setMiterLimit=me.setLineMiterLimit=me.setMiterLimit=function(S){if(S=S||0,isNaN(S))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return xt(qr(Ct(S))+" M"),this},me.GState=N,me.setGState=function(S){(S=typeof S=="string"?ro[qo[S]]:Ro(null,S)).equals(Jo)||(xt("/"+S.id+" gs"),Jo=S)};var Ro=function(S,Re){if(!S||!qo[S]){var Ft=!1;for(var hr in ro)if(ro.hasOwnProperty(hr)&&ro[hr].equals(Re)){Ft=!0;break}if(Ft)Re=ro[hr];else{var F="GS"+(Object.keys(ro).length+1).toString(10);ro[F]=Re,Re.id=F}return S&&(qo[S]=Re.id),mo.publish("addGState",Re),Re}};me.addGState=function(S,Re){return Ro(S,Re),this},me.saveGraphicsState=function(){return xt("q"),Yo.push({key:jn,size:dn,color:ja}),this},me.restoreGraphicsState=function(){xt("Q");var S=Yo.pop();return jn=S.key,dn=S.size,ja=S.color,Jo=null,this},me.setCurrentTransformationMatrix=function(S){return xt(S.toString()+" cm"),this},me.comment=function(S){return xt("#"+S),this};var yi=function(S,Re){var Ft=S||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ft},set:function(r){isNaN(r)||(Ft=parseFloat(r))}});var hr=Re||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return hr},set:function(r){isNaN(r)||(hr=parseFloat(r))}});var F="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return F},set:function(r){F=r.toString()}}),this},Si=function(S,Re,Ft,hr){yi.call(this,S,Re),this.type="rect";var F=Ft||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return F},set:function(o){isNaN(o)||(F=parseFloat(o))}});var r=hr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return r},set:function(o){isNaN(o)||(r=parseFloat(o))}}),this},_o=function(){this.page=_a,this.currentPage=be,this.pages=Cr.slice(0),this.pagesContext=Sa.slice(0),this.x=ka,this.y=ba,this.matrix=ho,this.width=to(be),this.height=La(be),this.outputDestination=sn,this.id="",this.objectNumber=-1};_o.prototype.restore=function(){_a=this.page,be=this.currentPage,Sa=this.pagesContext,Cr=this.pages,ka=this.x,ba=this.y,ho=this.matrix,ya(be,this.width),bo(be,this.height),sn=this.outputDestination};var Na=function(S,Re,Ft,hr,F){ii.push(new _o),_a=be=0,Cr=[],ka=S,ba=Re,ho=F,Gi([Ft,hr])},wa=function(S){if(Go[S])ii.pop().restore();else{var Re=new _o,Ft="Xo"+(Object.keys(lo).length+1).toString(10);Re.id=Ft,Go[S]=Ft,lo[Ft]=Re,mo.publish("addFormObject",Re),ii.pop().restore()}};for(var Da in me.beginFormObject=function(S,Re,Ft,hr,F){return Na(S,Re,Ft,hr,F),this},me.endFormObject=function(S){return wa(S),this},me.doFormObject=function(S,Re){var Ft=lo[Go[S]];return xt("q"),xt(Re.toString()+" cm"),xt("/"+Ft.id+" Do"),xt("Q"),this},me.getFormObject=function(S){var Re=lo[Go[S]];return{x:Re.x,y:Re.y,width:Re.width,height:Re.height,matrix:Re.matrix}},me.save=function(S,Re){return S=S||"generated.pdf",(Re=Re||{}).returnPromise=Re.returnPromise||!1,Re.returnPromise===!1?(H(gt(ct()),S),typeof H.unload=="function"&&$.setTimeout&&setTimeout(H.unload,911),this):new Promise(function(Ft,hr){try{var F=H(gt(ct()),S);typeof H.unload=="function"&&$.setTimeout&&setTimeout(H.unload,911),Ft(F)}catch(r){hr(r.message)}})},k.API)k.API.hasOwnProperty(Da)&&(Da==="events"&&k.API.events.length?function(S,Re){var Ft,hr,F;for(F=Re.length-1;F!==-1;F--)Ft=Re[F][0],hr=Re[F][1],S.subscribe.apply(S,[Ft].concat(typeof hr=="function"?[hr]:hr))}(mo,k.API.events):me[Da]=k.API[Da]);var to=me.getPageWidth=function(S){return(Sa[S=S||be].mediaBox.topRightX-Sa[S].mediaBox.bottomLeftX)/Vn},ya=me.setPageWidth=function(S,Re){Sa[S].mediaBox.topRightX=Re*Vn+Sa[S].mediaBox.bottomLeftX},La=me.getPageHeight=function(S){return(Sa[S=S||be].mediaBox.topRightY-Sa[S].mediaBox.bottomLeftY)/Vn},bo=me.setPageHeight=function(S,Re){Sa[S].mediaBox.topRightY=Re*Vn+Sa[S].mediaBox.bottomLeftY};return me.internal={pdfEscape:Fo,getStyle:Yn,getFont:Ka,getFontSize:xn,getCharSpace:Co,getTextColor:ko,getLineHeight:yo,getLineHeightFactor:Eo,getLineWidth:fo,write:rn,getHorizontalCoordinate:io,getVerticalCoordinate:po,getCoordinateString:Vo,getVerticalCoordinateString:So,collections:{},newObject:Aa,newAdditionalObject:No,newObjectDeferred:za,newObjectDeferredBegin:Io,getFilters:go,putStream:wo,events:mo,scaleFactor:Vn,pageSize:{getWidth:function(){return to(be)},setWidth:function(S){ya(be,S)},getHeight:function(){return La(be)},setHeight:function(S){bo(be,S)}},encryptionOptions:_e,encryption:fn,getEncryptor:Zn,output:vr,getNumberOfPages:ts,pages:Cr,out:xt,f2:gn,f3:yt,getPageInfo:Wn,getPageInfoByObjId:wn,getCurrentPageInfo:_n,getPDFVersion:oe,Point:yi,Rectangle:Si,Matrix:Dn,hasHotfix:Vr},Object.defineProperty(me.internal.pageSize,"width",{get:function(){return to(be)},set:function(S){ya(be,S)},enumerable:!0,configurable:!0}),Object.defineProperty(me.internal.pageSize,"height",{get:function(){return La(be)},set:function(S){bo(be,S)},enumerable:!0,configurable:!0}),Zi.call(me,zr),jn="F1",ft(I,d),mo.publish("initialized"),me}ae.prototype.lsbFirstWord=function(p){return String.fromCharCode(p>>0&255,p>>8&255,p>>16&255,p>>24&255)},ae.prototype.toHexString=function(p){return p.split("").map(function(c){return("0"+(255&c.charCodeAt(0)).toString(16)).slice(-2)}).join("")},ae.prototype.hexToBytes=function(p){for(var c=[],d=0;d<p.length;d+=2)c.push(String.fromCharCode(parseInt(p.substr(d,2),16)));return c.join("")},ae.prototype.processOwnerPassword=function(p,c){return Pe(Me(c).substr(0,5),p)},ae.prototype.encryptor=function(p,c){var d=Me(this.encryptionKey+String.fromCharCode(255&p,p>>8&255,p>>16&255,255&c,c>>8&255)).substr(0,10);return function(v){return Pe(d,v)}},N.prototype.equals=function(p){var c,d="id,objectNumber,equals";if(!p||(0,t.Z)(p)!==(0,t.Z)(this))return!1;var v=0;for(c in this)if(!(d.indexOf(c)>=0)){if(this.hasOwnProperty(c)&&!p.hasOwnProperty(c)||this[c]!==p[c])return!1;v++}for(c in p)p.hasOwnProperty(c)&&d.indexOf(c)<0&&v--;return v===0},k.API={events:[]},k.version="2.5.1";var te=k.API,ie=1,ye=function(p){return p.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},et=function(p){return p.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Te=function(p){return p.toFixed(2)},Qe=function(p){return p.toFixed(5)};te.__acroform__={};var Wt=function(p,c){p.prototype=Object.create(c.prototype),p.prototype.constructor=p},Ut=function(p){return p*ie},ze=function(p){var c=new cr,d=P.internal.getHeight(p)||0,v=P.internal.getWidth(p)||0;return c.BBox=[0,0,Number(Te(v)),Number(Te(d))],c},Ue=te.__acroform__.setBit=function(p,c){if(p=p||0,c=c||0,isNaN(p)||isNaN(c))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return p|=1<<c},sr=te.__acroform__.clearBit=function(p,c){if(p=p||0,c=c||0,isNaN(p)||isNaN(c))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return p&=~(1<<c)},tr=te.__acroform__.getBit=function(p,c){if(isNaN(p)||isNaN(c))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return p&1<<c?1:0},$e=te.__acroform__.getBitForPdf=function(p,c){if(isNaN(p)||isNaN(c))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return tr(p,c-1)},re=te.__acroform__.setBitForPdf=function(p,c){if(isNaN(p)||isNaN(c))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Ue(p,c-1)},g=te.__acroform__.clearBitForPdf=function(p,c){if(isNaN(p)||isNaN(c))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return sr(p,c-1)},Xe=te.__acroform__.calculateCoordinates=function(p,c){var d=c.internal.getHorizontalCoordinate,v=c.internal.getVerticalCoordinate,I=p[0],b=p[1],B=p[2],X=p[3],_={};return _.lowerLeft_X=d(I)||0,_.lowerLeft_Y=v(b+X)||0,_.upperRight_X=d(I+B)||0,_.upperRight_Y=v(b)||0,[Number(Te(_.lowerLeft_X)),Number(Te(_.lowerLeft_Y)),Number(Te(_.upperRight_X)),Number(Te(_.upperRight_Y))]},Se=function(p){if(p.appearanceStreamContent)return p.appearanceStreamContent;if(p.V||p.DV){var c=[],d=p._V||p.DV,v=ge(p,d),I=p.scope.internal.getFont(p.fontName,p.fontStyle).id;c.push("/Tx BMC"),c.push("q"),c.push("BT"),c.push(p.scope.__private__.encodeColorString(p.color)),c.push("/"+I+" "+Te(v.fontSize)+" Tf"),c.push("1 0 0 1 0 0 Tm"),c.push(v.text),c.push("ET"),c.push("Q"),c.push("EMC");var b=ze(p);return b.scope=p.scope,b.stream=c.join(`
|
|
|
`),b}},ge=function(p,c){var d=p.fontSize===0?p.maxFontSize:p.fontSize,v={text:"",fontSize:""},I=(c=(c=c.substr(0,1)=="("?c.substr(1):c).substr(c.length-1)==")"?c.substr(0,c.length-1):c).split(" ");I=p.multiline?I.map(function(yt){return yt.split(`
|
|
|
`)}):I.map(function(yt){return[yt]});var b=d,B=P.internal.getHeight(p)||0;B=B<0?-B:B;var X=P.internal.getWidth(p)||0;X=X<0?-X:X;var _=function(yt,Ct,ir){if(yt+1<I.length){var Rt=Ct+" "+I[yt+1][0];return fe(Rt,p,ir).width<=X-4}return!1};b++;e:for(;b>0;){c="",b--;var Ce,_e,Ge=fe("3",p,b).height,nt=p.multiline?B-b:(B-Ge)/2,me=nt+=2,Gt=0,oe=0,jt=0;if(b<=0){c=`(...) Tj
|
|
|
`,c+="% Width of Text: "+fe(c,p,b=12).width+", FieldWidth:"+X+`
|
|
|
`;break}for(var lt="",Zt=0,wr=0;wr<I.length;wr++)if(I.hasOwnProperty(wr)){var cn=!1;if(I[wr].length!==1&&jt!==I[wr].length-1){if((Ge+2)*(Zt+2)+2>B)continue e;lt+=I[wr][jt],cn=!0,oe=wr,wr--}else{lt=(lt+=I[wr][jt]+" ").substr(lt.length-1)==" "?lt.substr(0,lt.length-1):lt;var vn=parseInt(wr),On=_(vn,lt,b),qr=wr>=I.length-1;if(On&&!qr){lt+=" ",jt=0;continue}if(On||qr){if(qr)oe=vn;else if(p.multiline&&(Ge+2)*(Zt+2)+2>B)continue e}else{if(!p.multiline||(Ge+2)*(Zt+2)+2>B)continue e;oe=vn}}for(var kt="",un=Gt;un<=oe;un++){var gn=I[un];if(p.multiline){if(un===oe){kt+=gn[jt]+" ",jt=(jt+1)%gn.length;continue}if(un===Gt){kt+=gn[gn.length-1]+" ";continue}}kt+=gn[0]+" "}switch(kt=kt.substr(kt.length-1)==" "?kt.substr(0,kt.length-1):kt,_e=fe(kt,p,b).width,p.textAlign){case"right":Ce=X-_e-2;break;case"center":Ce=(X-_e)/2;break;case"left":default:Ce=2}c+=Te(Ce)+" "+Te(me)+` Td
|
|
|
`,c+="("+ye(kt)+`) Tj
|
|
|
`,c+=-Te(Ce)+` 0 Td
|
|
|
`,me=-(b+2),_e=0,Gt=cn?oe:oe+1,Zt++,lt=""}break}return v.text=c,v.fontSize=b,v},fe=function(p,c,d){var v=c.scope.internal.getFont(c.fontName,c.fontStyle),I=c.scope.getStringUnitWidth(p,{font:v,fontSize:parseFloat(d),charSpace:0})*parseFloat(d);return{height:c.scope.getStringUnitWidth("3",{font:v,fontSize:parseFloat(d),charSpace:0})*parseFloat(d)*1.5,width:I}},q={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},we=function(p,c){var d={type:"reference",object:p};c.internal.getPageInfo(p.page).pageContext.annotations.find(function(v){return v.type===d.type&&v.object===d.object})===void 0&&c.internal.getPageInfo(p.page).pageContext.annotations.push(d)},Oe=function(p,c){for(var d in p)if(p.hasOwnProperty(d)){var v=d,I=p[d];c.internal.newObjectDeferredBegin(I.objId,!0),(0,t.Z)(I)==="object"&&typeof I.putStream=="function"&&I.putStream(),delete p[v]}},Ae=function(p,c){if(c.scope=p,p.internal!==void 0&&(p.internal.acroformPlugin===void 0||p.internal.acroformPlugin.isInitialized===!1)){if(Et.FieldNum=0,p.internal.acroformPlugin=JSON.parse(JSON.stringify(q)),p.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ie=p.internal.scaleFactor,p.internal.acroformPlugin.acroFormDictionaryRoot=new ur,p.internal.acroformPlugin.acroFormDictionaryRoot.scope=p,p.internal.acroformPlugin.acroFormDictionaryRoot._eventID=p.internal.events.subscribe("postPutResources",function(){(function(d){d.internal.events.unsubscribe(d.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete d.internal.acroformPlugin.acroFormDictionaryRoot._eventID,d.internal.acroformPlugin.printedOut=!0})(p)}),p.internal.events.subscribe("buildDocument",function(){(function(d){d.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var v=d.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var I in v)if(v.hasOwnProperty(I)){var b=v[I];b.objId=void 0,b.hasAnnotation&&we(b,d)}})(p)}),p.internal.events.subscribe("putCatalog",function(){(function(d){if(d.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");d.internal.write("/AcroForm "+d.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(p)}),p.internal.events.subscribe("postPutPages",function(d){(function(v,I){var b=!v;for(var B in v||(I.internal.newObjectDeferredBegin(I.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),I.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),v=v||I.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(v.hasOwnProperty(B)){var X=v[B],_=[],Ce=X.Rect;if(X.Rect&&(X.Rect=Xe(X.Rect,I)),I.internal.newObjectDeferredBegin(X.objId,!0),X.DA=P.createDefaultAppearanceStream(X),(0,t.Z)(X)==="object"&&typeof X.getKeyValueListForStream=="function"&&(_=X.getKeyValueListForStream()),X.Rect=Ce,X.hasAppearanceStream&&!X.appearanceStreamContent){var _e=Se(X);_.push({key:"AP",value:"<</N "+_e+">>"}),I.internal.acroformPlugin.xForms.push(_e)}if(X.appearanceStreamContent){var Ge="";for(var nt in X.appearanceStreamContent)if(X.appearanceStreamContent.hasOwnProperty(nt)){var me=X.appearanceStreamContent[nt];if(Ge+="/"+nt+" ",Ge+="<<",Object.keys(me).length>=1||Array.isArray(me)){for(var B in me)if(me.hasOwnProperty(B)){var Gt=me[B];typeof Gt=="function"&&(Gt=Gt.call(I,X)),Ge+="/"+B+" "+Gt+" ",I.internal.acroformPlugin.xForms.indexOf(Gt)>=0||I.internal.acroformPlugin.xForms.push(Gt)}}else typeof(Gt=me)=="function"&&(Gt=Gt.call(I,X)),Ge+="/"+B+" "+Gt,I.internal.acroformPlugin.xForms.indexOf(Gt)>=0||I.internal.acroformPlugin.xForms.push(Gt);Ge+=">>"}_.push({key:"AP",value:`<<
|
|
|
`+Ge+">>"})}I.internal.putStream({additionalKeyValues:_,objectId:X.objId}),I.internal.out("endobj")}b&&Oe(I.internal.acroformPlugin.xForms,I)})(d,p)}),p.internal.acroformPlugin.isInitialized=!0}},Ye=te.__acroform__.arrayToPdfArray=function(p,c,d){var v=function(B){return B};if(Array.isArray(p)){for(var I="[",b=0;b<p.length;b++)switch(b!==0&&(I+=" "),(0,t.Z)(p[b])){case"boolean":case"number":case"object":I+=p[b].toString();break;case"string":p[b].substr(0,1)!=="/"?(c!==void 0&&d&&(v=d.internal.getEncryptor(c)),I+="("+ye(v(p[b].toString()))+")"):I+=p[b].toString()}return I+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},At=function(p,c,d){var v=function(I){return I};return c!==void 0&&d&&(v=d.internal.getEncryptor(c)),(p=p||"").toString(),p="("+ye(v(p))+")"},Bt=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(p){this._objId=p}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Bt.prototype.toString=function(){return this.objId+" 0 R"},Bt.prototype.putStream=function(){var p=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:p,objectId:this.objId}),this.scope.internal.out("endobj")},Bt.prototype.getKeyValueListForStream=function(){var p=[],c=Object.getOwnPropertyNames(this).filter(function(b){return b!="content"&&b!="appearanceStreamContent"&&b!="scope"&&b!="objId"&&b.substring(0,1)!="_"});for(var d in c)if(Object.getOwnPropertyDescriptor(this,c[d]).configurable===!1){var v=c[d],I=this[v];I&&(Array.isArray(I)?p.push({key:v,value:Ye(I,this.objId,this.scope)}):I instanceof Bt?(I.scope=this.scope,p.push({key:v,value:I.objId+" 0 R"})):typeof I!="function"&&p.push({key:v,value:I}))}return p};var cr=function(){Bt.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 p,c=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return c},set:function(d){c=d}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(d){p=d.trim()},get:function(){return p||null}})};Wt(cr,Bt);var ur=function(){Bt.call(this);var p,c=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return c.length>0?c:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return c}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(p){var d=function(v){return v};return this.scope&&(d=this.scope.internal.getEncryptor(this.objId)),"("+ye(d(p))+")"}},set:function(d){p=d}})};Wt(ur,Bt);var Et=function p(){Bt.call(this);var c=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return c},set:function(lt){if(isNaN(lt))throw new Error('Invalid value "'+lt+'" for attribute F supplied.');c=lt}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!$e(c,3)},set:function(lt){lt?this.F=re(c,3):this.F=g(c,3)}});var d=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return d},set:function(lt){if(isNaN(lt))throw new Error('Invalid value "'+lt+'" for attribute Ff supplied.');d=lt}});var v=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(v.length!==0)return v},set:function(lt){v=lt!==void 0?lt:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[0])?0:v[0]},set:function(lt){v[0]=lt}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[1])?0:v[1]},set:function(lt){v[1]=lt}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[2])?0:v[2]},set:function(lt){v[2]=lt}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!v||isNaN(v[3])?0:v[3]},set:function(lt){v[3]=lt}});var I="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return I},set:function(lt){switch(lt){case"/Btn":case"/Tx":case"/Ch":case"/Sig":I=lt;break;default:throw new Error('Invalid value "'+lt+'" for attribute FT supplied.')}}});var b=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!b||b.length<1){if(this instanceof Lt)return;b="FieldObject"+p.FieldNum++}var lt=function(Zt){return Zt};return this.scope&&(lt=this.scope.internal.getEncryptor(this.objId)),"("+ye(lt(b))+")"},set:function(lt){b=lt.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return b},set:function(lt){b=lt}});var B="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return B},set:function(lt){B=lt}});var X="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return X},set:function(lt){X=lt}});var _=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return _},set:function(lt){_=lt}});var Ce=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ce===void 0?50/ie:Ce},set:function(lt){Ce=lt}});var _e="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return _e},set:function(lt){_e=lt}});var Ge="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Ge||this instanceof Lt||this instanceof _t))return At(Ge,this.objId,this.scope)},set:function(lt){lt=lt.toString(),Ge=lt}});var nt=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(nt)return this instanceof St?nt:At(nt,this.objId,this.scope)},set:function(lt){lt=lt.toString(),nt=this instanceof St?lt:lt.substr(0,1)==="("?et(lt.substr(1,lt.length-2)):et(lt)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof St?et(nt.substr(1,nt.length-1)):nt},set:function(lt){lt=lt.toString(),nt=this instanceof St?"/"+lt:lt}});var me=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(me)return me},set:function(lt){this.V=lt}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(me)return this instanceof St?me:At(me,this.objId,this.scope)},set:function(lt){lt=lt.toString(),me=this instanceof St?lt:lt.substr(0,1)==="("?et(lt.substr(1,lt.length-2)):et(lt)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof St?et(me.substr(1,me.length-1)):me},set:function(lt){lt=lt.toString(),me=this instanceof St?"/"+lt:lt}}),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 Gt,oe=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return oe},set:function(lt){lt=!!lt,oe=lt}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Gt)return Gt},set:function(lt){Gt=lt}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,1)},set:function(lt){lt?this.Ff=re(this.Ff,1):this.Ff=g(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,2)},set:function(lt){lt?this.Ff=re(this.Ff,2):this.Ff=g(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,3)},set:function(lt){lt?this.Ff=re(this.Ff,3):this.Ff=g(this.Ff,3)}});var jt=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(jt!==null)return jt},set:function(lt){if([0,1,2].indexOf(lt)===-1)throw new Error('Invalid value "'+lt+'" for attribute Q supplied.');jt=lt}}),Object.defineProperty(this,"textAlign",{get:function(){var lt;switch(jt){case 0:default:lt="left";break;case 1:lt="center";break;case 2:lt="right"}return lt},configurable:!0,enumerable:!0,set:function(lt){switch(lt){case"right":case 2:jt=2;break;case"center":case 1:jt=1;break;case"left":case 0:default:jt=0}}})};Wt(Et,Bt);var ut=function(){Et.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var p=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return p},set:function(d){p=d}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return p},set:function(d){p=d}});var c=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ye(c,this.objId,this.scope)},set:function(d){var v,I;I=[],typeof(v=d)=="string"&&(I=function(b,B,X){X||(X=1);for(var _,Ce=[];_=B.exec(b);)Ce.push(_[X]);return Ce}(v,/\((.*?)\)/g)),c=I}}),this.getOptions=function(){return c},this.setOptions=function(d){c=d,this.sort&&c.sort()},this.addOption=function(d){d=(d=d||"").toString(),c.push(d),this.sort&&c.sort()},this.removeOption=function(d,v){for(v=v||!1,d=(d=d||"").toString();c.indexOf(d)!==-1&&(c.splice(c.indexOf(d),1),v!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,18)},set:function(d){d?this.Ff=re(this.Ff,18):this.Ff=g(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,19)},set:function(d){this.combo===!0&&(d?this.Ff=re(this.Ff,19):this.Ff=g(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,20)},set:function(d){d?(this.Ff=re(this.Ff,20),c.sort()):this.Ff=g(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,22)},set:function(d){d?this.Ff=re(this.Ff,22):this.Ff=g(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,23)},set:function(d){d?this.Ff=re(this.Ff,23):this.Ff=g(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,27)},set:function(d){d?this.Ff=re(this.Ff,27):this.Ff=g(this.Ff,27)}}),this.hasAppearanceStream=!1};Wt(ut,Et);var Mt=function(){ut.call(this),this.fontName="helvetica",this.combo=!1};Wt(Mt,ut);var Kt=function(){Mt.call(this),this.combo=!0};Wt(Kt,Mt);var Qt=function(){Kt.call(this),this.edit=!0};Wt(Qt,Kt);var St=function(){Et.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,15)},set:function(d){d?this.Ff=re(this.Ff,15):this.Ff=g(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,16)},set:function(d){d?this.Ff=re(this.Ff,16):this.Ff=g(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,17)},set:function(d){d?this.Ff=re(this.Ff,17):this.Ff=g(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,26)},set:function(d){d?this.Ff=re(this.Ff,26):this.Ff=g(this.Ff,26)}});var p,c={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var d=function(b){return b};if(this.scope&&(d=this.scope.internal.getEncryptor(this.objId)),Object.keys(c).length!==0){var v,I=[];for(v in I.push("<<"),c)I.push("/"+v+" ("+ye(d(c[v]))+")");return I.push(">>"),I.join(`
|
|
|
`)}},set:function(d){(0,t.Z)(d)==="object"&&(c=d)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return c.CA||""},set:function(d){typeof d=="string"&&(c.CA=d)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return p},set:function(d){p=d}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return p.substr(1,p.length-1)},set:function(d){p="/"+d}})};Wt(St,Et);var pr=function(){St.call(this),this.pushButton=!0};Wt(pr,St);var Ur=function(){St.call(this),this.radio=!0,this.pushButton=!1;var p=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return p},set:function(c){p=c!==void 0?c:[]}})};Wt(Ur,St);var Lt=function(){var p,c;Et.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return p},set:function(I){p=I}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return c},set:function(I){c=I}});var d,v={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var I=function(X){return X};this.scope&&(I=this.scope.internal.getEncryptor(this.objId));var b,B=[];for(b in B.push("<<"),v)B.push("/"+b+" ("+ye(I(v[b]))+")");return B.push(">>"),B.join(`
|
|
|
`)},set:function(I){(0,t.Z)(I)==="object"&&(v=I)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return v.CA||""},set:function(I){typeof I=="string"&&(v.CA=I)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return d},set:function(I){d=I}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return d.substr(1,d.length-1)},set:function(I){d="/"+I}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=P.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Wt(Lt,Et),Ur.prototype.setAppearance=function(p){if(!("createAppearanceStream"in p)||!("getCA"in p))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var c in this.Kids)if(this.Kids.hasOwnProperty(c)){var d=this.Kids[c];d.appearanceStreamContent=p.createAppearanceStream(d.optionName),d.caption=p.getCA()}},Ur.prototype.createOption=function(p){var c=new Lt;return c.Parent=this,c.optionName=p,this.Kids.push(c),Pt.call(this.scope,c),c};var lr=function(){St.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=P.CheckBox.createAppearanceStream()};Wt(lr,St);var _t=function(){Et.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,13)},set:function(c){c?this.Ff=re(this.Ff,13):this.Ff=g(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,21)},set:function(c){c?this.Ff=re(this.Ff,21):this.Ff=g(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,23)},set:function(c){c?this.Ff=re(this.Ff,23):this.Ff=g(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,24)},set:function(c){c?this.Ff=re(this.Ff,24):this.Ff=g(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,25)},set:function(c){c?this.Ff=re(this.Ff,25):this.Ff=g(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,26)},set:function(c){c?this.Ff=re(this.Ff,26):this.Ff=g(this.Ff,26)}});var p=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return p},set:function(c){p=c}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return p},set:function(c){Number.isInteger(c)&&(p=c)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Wt(_t,Et);var w=function(){_t.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!$e(this.Ff,14)},set:function(p){p?this.Ff=re(this.Ff,14):this.Ff=g(this.Ff,14)}}),this.password=!0};Wt(w,_t);var P={CheckBox:{createAppearanceStream:function(){return{N:{On:P.CheckBox.YesNormal},D:{On:P.CheckBox.YesPushDown,Off:P.CheckBox.OffPushDown}}},YesPushDown:function(p){var c=ze(p);c.scope=p.scope;var d=[],v=p.scope.internal.getFont(p.fontName,p.fontStyle).id,I=p.scope.__private__.encodeColorString(p.color),b=ge(p,p.caption);return d.push("0.749023 g"),d.push("0 0 "+Te(P.internal.getWidth(p))+" "+Te(P.internal.getHeight(p))+" re"),d.push("f"),d.push("BMC"),d.push("q"),d.push("0 0 1 rg"),d.push("/"+v+" "+Te(b.fontSize)+" Tf "+I),d.push("BT"),d.push(b.text),d.push("ET"),d.push("Q"),d.push("EMC"),c.stream=d.join(`
|
|
|
`),c},YesNormal:function(p){var c=ze(p);c.scope=p.scope;var d=p.scope.internal.getFont(p.fontName,p.fontStyle).id,v=p.scope.__private__.encodeColorString(p.color),I=[],b=P.internal.getHeight(p),B=P.internal.getWidth(p),X=ge(p,p.caption);return I.push("1 g"),I.push("0 0 "+Te(B)+" "+Te(b)+" re"),I.push("f"),I.push("q"),I.push("0 0 1 rg"),I.push("0 0 "+Te(B-1)+" "+Te(b-1)+" re"),I.push("W"),I.push("n"),I.push("0 g"),I.push("BT"),I.push("/"+d+" "+Te(X.fontSize)+" Tf "+v),I.push(X.text),I.push("ET"),I.push("Q"),c.stream=I.join(`
|
|
|
`),c},OffPushDown:function(p){var c=ze(p);c.scope=p.scope;var d=[];return d.push("0.749023 g"),d.push("0 0 "+Te(P.internal.getWidth(p))+" "+Te(P.internal.getHeight(p))+" re"),d.push("f"),c.stream=d.join(`
|
|
|
`),c}},RadioButton:{Circle:{createAppearanceStream:function(p){var c={D:{Off:P.RadioButton.Circle.OffPushDown},N:{}};return c.N[p]=P.RadioButton.Circle.YesNormal,c.D[p]=P.RadioButton.Circle.YesPushDown,c},getCA:function(){return"l"},YesNormal:function(p){var c=ze(p);c.scope=p.scope;var d=[],v=P.internal.getWidth(p)<=P.internal.getHeight(p)?P.internal.getWidth(p)/4:P.internal.getHeight(p)/4;v=Number((.9*v).toFixed(5));var I=P.internal.Bezier_C,b=Number((v*I).toFixed(5));return d.push("q"),d.push("1 0 0 1 "+Qe(P.internal.getWidth(p)/2)+" "+Qe(P.internal.getHeight(p)/2)+" cm"),d.push(v+" 0 m"),d.push(v+" "+b+" "+b+" "+v+" 0 "+v+" c"),d.push("-"+b+" "+v+" -"+v+" "+b+" -"+v+" 0 c"),d.push("-"+v+" -"+b+" -"+b+" -"+v+" 0 -"+v+" c"),d.push(b+" -"+v+" "+v+" -"+b+" "+v+" 0 c"),d.push("f"),d.push("Q"),c.stream=d.join(`
|
|
|
`),c},YesPushDown:function(p){var c=ze(p);c.scope=p.scope;var d=[],v=P.internal.getWidth(p)<=P.internal.getHeight(p)?P.internal.getWidth(p)/4:P.internal.getHeight(p)/4;v=Number((.9*v).toFixed(5));var I=Number((2*v).toFixed(5)),b=Number((I*P.internal.Bezier_C).toFixed(5)),B=Number((v*P.internal.Bezier_C).toFixed(5));return d.push("0.749023 g"),d.push("q"),d.push("1 0 0 1 "+Qe(P.internal.getWidth(p)/2)+" "+Qe(P.internal.getHeight(p)/2)+" cm"),d.push(I+" 0 m"),d.push(I+" "+b+" "+b+" "+I+" 0 "+I+" c"),d.push("-"+b+" "+I+" -"+I+" "+b+" -"+I+" 0 c"),d.push("-"+I+" -"+b+" -"+b+" -"+I+" 0 -"+I+" c"),d.push(b+" -"+I+" "+I+" -"+b+" "+I+" 0 c"),d.push("f"),d.push("Q"),d.push("0 g"),d.push("q"),d.push("1 0 0 1 "+Qe(P.internal.getWidth(p)/2)+" "+Qe(P.internal.getHeight(p)/2)+" cm"),d.push(v+" 0 m"),d.push(v+" "+B+" "+B+" "+v+" 0 "+v+" c"),d.push("-"+B+" "+v+" -"+v+" "+B+" -"+v+" 0 c"),d.push("-"+v+" -"+B+" -"+B+" -"+v+" 0 -"+v+" c"),d.push(B+" -"+v+" "+v+" -"+B+" "+v+" 0 c"),d.push("f"),d.push("Q"),c.stream=d.join(`
|
|
|
`),c},OffPushDown:function(p){var c=ze(p);c.scope=p.scope;var d=[],v=P.internal.getWidth(p)<=P.internal.getHeight(p)?P.internal.getWidth(p)/4:P.internal.getHeight(p)/4;v=Number((.9*v).toFixed(5));var I=Number((2*v).toFixed(5)),b=Number((I*P.internal.Bezier_C).toFixed(5));return d.push("0.749023 g"),d.push("q"),d.push("1 0 0 1 "+Qe(P.internal.getWidth(p)/2)+" "+Qe(P.internal.getHeight(p)/2)+" cm"),d.push(I+" 0 m"),d.push(I+" "+b+" "+b+" "+I+" 0 "+I+" c"),d.push("-"+b+" "+I+" -"+I+" "+b+" -"+I+" 0 c"),d.push("-"+I+" -"+b+" -"+b+" -"+I+" 0 -"+I+" c"),d.push(b+" -"+I+" "+I+" -"+b+" "+I+" 0 c"),d.push("f"),d.push("Q"),c.stream=d.join(`
|
|
|
`),c}},Cross:{createAppearanceStream:function(p){var c={D:{Off:P.RadioButton.Cross.OffPushDown},N:{}};return c.N[p]=P.RadioButton.Cross.YesNormal,c.D[p]=P.RadioButton.Cross.YesPushDown,c},getCA:function(){return"8"},YesNormal:function(p){var c=ze(p);c.scope=p.scope;var d=[],v=P.internal.calculateCross(p);return d.push("q"),d.push("1 1 "+Te(P.internal.getWidth(p)-2)+" "+Te(P.internal.getHeight(p)-2)+" re"),d.push("W"),d.push("n"),d.push(Te(v.x1.x)+" "+Te(v.x1.y)+" m"),d.push(Te(v.x2.x)+" "+Te(v.x2.y)+" l"),d.push(Te(v.x4.x)+" "+Te(v.x4.y)+" m"),d.push(Te(v.x3.x)+" "+Te(v.x3.y)+" l"),d.push("s"),d.push("Q"),c.stream=d.join(`
|
|
|
`),c},YesPushDown:function(p){var c=ze(p);c.scope=p.scope;var d=P.internal.calculateCross(p),v=[];return v.push("0.749023 g"),v.push("0 0 "+Te(P.internal.getWidth(p))+" "+Te(P.internal.getHeight(p))+" re"),v.push("f"),v.push("q"),v.push("1 1 "+Te(P.internal.getWidth(p)-2)+" "+Te(P.internal.getHeight(p)-2)+" re"),v.push("W"),v.push("n"),v.push(Te(d.x1.x)+" "+Te(d.x1.y)+" m"),v.push(Te(d.x2.x)+" "+Te(d.x2.y)+" l"),v.push(Te(d.x4.x)+" "+Te(d.x4.y)+" m"),v.push(Te(d.x3.x)+" "+Te(d.x3.y)+" l"),v.push("s"),v.push("Q"),c.stream=v.join(`
|
|
|
`),c},OffPushDown:function(p){var c=ze(p);c.scope=p.scope;var d=[];return d.push("0.749023 g"),d.push("0 0 "+Te(P.internal.getWidth(p))+" "+Te(P.internal.getHeight(p))+" re"),d.push("f"),c.stream=d.join(`
|
|
|
`),c}}},createDefaultAppearanceStream:function(p){var c=p.scope.internal.getFont(p.fontName,p.fontStyle).id,d=p.scope.__private__.encodeColorString(p.color);return"/"+c+" "+p.fontSize+" Tf "+d}};P.internal={Bezier_C:.551915024494,calculateCross:function(p){var c=P.internal.getWidth(p),d=P.internal.getHeight(p),v=Math.min(c,d);return{x1:{x:(c-v)/2,y:(d-v)/2+v},x2:{x:(c-v)/2+v,y:(d-v)/2},x3:{x:(c-v)/2,y:(d-v)/2},x4:{x:(c-v)/2+v,y:(d-v)/2+v}}}},P.internal.getWidth=function(p){var c=0;return(0,t.Z)(p)==="object"&&(c=Ut(p.Rect[2])),c},P.internal.getHeight=function(p){var c=0;return(0,t.Z)(p)==="object"&&(c=Ut(p.Rect[3])),c};var Pt=te.addField=function(p){if(Ae(this,p),!(p instanceof Et))throw new Error("Invalid argument passed to jsPDF.addField.");var c;return(c=p).scope.internal.acroformPlugin.printedOut&&(c.scope.internal.acroformPlugin.printedOut=!1,c.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),c.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(c),p.page=p.scope.internal.getCurrentPageInfo().pageNumber,this};te.AcroFormChoiceField=ut,te.AcroFormListBox=Mt,te.AcroFormComboBox=Kt,te.AcroFormEditBox=Qt,te.AcroFormButton=St,te.AcroFormPushButton=pr,te.AcroFormRadioButton=Ur,te.AcroFormCheckBox=lr,te.AcroFormTextField=_t,te.AcroFormPasswordField=w,te.AcroFormAppearance=P,te.AcroForm={ChoiceField:ut,ListBox:Mt,ComboBox:Kt,EditBox:Qt,Button:St,PushButton:pr,RadioButton:Ur,CheckBox:lr,TextField:_t,PasswordField:w,Appearance:P},k.AcroForm={ChoiceField:ut,ListBox:Mt,ComboBox:Kt,EditBox:Qt,Button:St,PushButton:pr,RadioButton:Ur,CheckBox:lr,TextField:_t,PasswordField:w,Appearance:P};var ne=k.AcroForm;function ke(p){return p.reduce(function(c,d,v){return c[d]=v,c},{})}(function(p){p.__addimage__={};var c="UNKNOWN",d={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]]},v=p.__addimage__.getImageFileTypeByImageData=function(yt,Ct){var ir,Rt,Zr,br,Br,Fr=c;if((Ct=Ct||c)==="RGBA"||yt.data!==void 0&&yt.data instanceof Uint8ClampedArray&&"height"in yt&&"width"in yt)return"RGBA";if(On(yt))for(Br in d)for(Zr=d[Br],ir=0;ir<Zr.length;ir+=1){for(br=!0,Rt=0;Rt<Zr[ir].length;Rt+=1)if(Zr[ir][Rt]!==void 0&&Zr[ir][Rt]!==yt[Rt]){br=!1;break}if(br===!0){Fr=Br;break}}else for(Br in d)for(Zr=d[Br],ir=0;ir<Zr.length;ir+=1){for(br=!0,Rt=0;Rt<Zr[ir].length;Rt+=1)if(Zr[ir][Rt]!==void 0&&Zr[ir][Rt]!==yt.charCodeAt(Rt)){br=!1;break}if(br===!0){Fr=Br;break}}return Fr===c&&Ct!==c&&(Fr=Ct),Fr},I=function yt(Ct){for(var ir=this.internal.write,Rt=this.internal.putStream,Zr=(0,this.internal.getFilters)();Zr.indexOf("FlateEncode")!==-1;)Zr.splice(Zr.indexOf("FlateEncode"),1);Ct.objectId=this.internal.newObject();var br=[];if(br.push({key:"Type",value:"/XObject"}),br.push({key:"Subtype",value:"/Image"}),br.push({key:"Width",value:Ct.width}),br.push({key:"Height",value:Ct.height}),Ct.colorSpace===jt.INDEXED?br.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Ct.palette.length/3-1)+" "+("sMask"in Ct&&Ct.sMask!==void 0?Ct.objectId+2:Ct.objectId+1)+" 0 R]"}):(br.push({key:"ColorSpace",value:"/"+Ct.colorSpace}),Ct.colorSpace===jt.DEVICE_CMYK&&br.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),br.push({key:"BitsPerComponent",value:Ct.bitsPerComponent}),"decodeParameters"in Ct&&Ct.decodeParameters!==void 0&&br.push({key:"DecodeParms",value:"<<"+Ct.decodeParameters+">>"}),"transparency"in Ct&&Array.isArray(Ct.transparency)){for(var Br="",Fr=0,Xr=Ct.transparency.length;Fr<Xr;Fr++)Br+=Ct.transparency[Fr]+" "+Ct.transparency[Fr]+" ";br.push({key:"Mask",value:"["+Br+"]"})}Ct.sMask!==void 0&&br.push({key:"SMask",value:Ct.objectId+1+" 0 R"});var kr=Ct.filter!==void 0?["/"+Ct.filter]:void 0;if(Rt({data:Ct.data,additionalKeyValues:br,alreadyAppliedFilters:kr,objectId:Ct.objectId}),ir("endobj"),"sMask"in Ct&&Ct.sMask!==void 0){var Un="/Predictor "+Ct.predictor+" /Colors 1 /BitsPerComponent "+Ct.bitsPerComponent+" /Columns "+Ct.width,Ke={width:Ct.width,height:Ct.height,colorSpace:"DeviceGray",bitsPerComponent:Ct.bitsPerComponent,decodeParameters:Un,data:Ct.sMask};"filter"in Ct&&(Ke.filter=Ct.filter),yt.call(this,Ke)}if(Ct.colorSpace===jt.INDEXED){var be=this.internal.newObject();Rt({data:kt(new Uint8Array(Ct.palette)),objectId:be}),ir("endobj")}},b=function(){var yt=this.internal.collections.addImage_images;for(var Ct in yt)I.call(this,yt[Ct])},B=function(){var yt,Ct=this.internal.collections.addImage_images,ir=this.internal.write;for(var Rt in Ct)ir("/I"+(yt=Ct[Rt]).index,yt.objectId,"0","R")},X=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",b),this.internal.events.subscribe("putXobjectDict",B))},_=function(){var yt=this.internal.collections.addImage_images;return X.call(this),yt},Ce=function(){return Object.keys(this.internal.collections.addImage_images).length},_e=function(yt){return typeof p["process"+yt.toUpperCase()]=="function"},Ge=function(yt){return(0,t.Z)(yt)==="object"&&yt.nodeType===1},nt=function(yt,Ct){if(yt.nodeName==="IMG"&&yt.hasAttribute("src")){var ir=""+yt.getAttribute("src");if(ir.indexOf("data:image/")===0)return W(unescape(ir).split("base64,").pop());var Rt=p.loadFile(ir,!0);if(Rt!==void 0)return Rt}if(yt.nodeName==="CANVAS"){if(yt.width===0||yt.height===0)throw new Error("Given canvas must have data. Canvas width: "+yt.width+", height: "+yt.height);var Zr;switch(Ct){case"PNG":Zr="image/png";break;case"WEBP":Zr="image/webp";break;case"JPEG":case"JPG":default:Zr="image/jpeg"}return W(yt.toDataURL(Zr,1).split("base64,").pop())}},me=function(yt){var Ct=this.internal.collections.addImage_images;if(Ct){for(var ir in Ct)if(yt===Ct[ir].alias)return Ct[ir]}},Gt=function(yt,Ct,ir){return yt||Ct||(yt=-96,Ct=-96),yt<0&&(yt=-1*ir.width*72/yt/this.internal.scaleFactor),Ct<0&&(Ct=-1*ir.height*72/Ct/this.internal.scaleFactor),yt===0&&(yt=Ct*ir.width/ir.height),Ct===0&&(Ct=yt*ir.height/ir.width),[yt,Ct]},oe=function(yt,Ct,ir,Rt,Zr,br){var Br=Gt.call(this,ir,Rt,Zr),Fr=this.internal.getCoordinateString,Xr=this.internal.getVerticalCoordinateString,kr=_.call(this);if(ir=Br[0],Rt=Br[1],kr[Zr.index]=Zr,br){br*=Math.PI/180;var Un=Math.cos(br),Ke=Math.sin(br),be=function(Je){return Je.toFixed(4)},ce=[be(Un),be(Ke),be(-1*Ke),be(Un),0,0,"cm"]}this.internal.write("q"),br?(this.internal.write([1,"0","0",1,Fr(yt),Xr(Ct+Rt),"cm"].join(" ")),this.internal.write(ce.join(" ")),this.internal.write([Fr(ir),"0","0",Fr(Rt),"0","0","cm"].join(" "))):this.internal.write([Fr(ir),"0","0",Fr(Rt),Fr(yt),Xr(Ct+Rt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Zr.index+" Do"),this.internal.write("Q")},jt=p.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"};p.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 lt=p.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Zt=p.__addimage__.sHashCode=function(yt){var Ct,ir,Rt=0;if(typeof yt=="string")for(ir=yt.length,Ct=0;Ct<ir;Ct++)Rt=(Rt<<5)-Rt+yt.charCodeAt(Ct),Rt|=0;else if(On(yt))for(ir=yt.byteLength/2,Ct=0;Ct<ir;Ct++)Rt=(Rt<<5)-Rt+yt[Ct],Rt|=0;return Rt},wr=p.__addimage__.validateStringAsBase64=function(yt){(yt=yt||"").toString().trim();var Ct=!0;return yt.length===0&&(Ct=!1),yt.length%4!=0&&(Ct=!1),/^[A-Za-z0-9+/]+$/.test(yt.substr(0,yt.length-2))===!1&&(Ct=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(yt.substr(-2))===!1&&(Ct=!1),Ct},cn=p.__addimage__.extractImageFromDataUrl=function(yt){var Ct=(yt=yt||"").split("base64,"),ir=null;if(Ct.length===2){var Rt=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Ct[0]);Array.isArray(Rt)&&(ir={mimeType:Rt[1],charset:Rt[2],data:Ct[1]})}return ir},vn=p.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};p.__addimage__.isArrayBuffer=function(yt){return vn()&&yt instanceof ArrayBuffer};var On=p.__addimage__.isArrayBufferView=function(yt){return vn()&&typeof Uint32Array!="undefined"&&(yt instanceof Int8Array||yt instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&yt instanceof Uint8ClampedArray||yt instanceof Int16Array||yt instanceof Uint16Array||yt instanceof Int32Array||yt instanceof Uint32Array||yt instanceof Float32Array||yt instanceof Float64Array)},qr=p.__addimage__.binaryStringToUint8Array=function(yt){for(var Ct=yt.length,ir=new Uint8Array(Ct),Rt=0;Rt<Ct;Rt++)ir[Rt]=yt.charCodeAt(Rt);return ir},kt=p.__addimage__.arrayBufferToBinaryString=function(yt){for(var Ct="",ir=On(yt)?yt:new Uint8Array(yt),Rt=0;Rt<ir.length;Rt+=8192)Ct+=String.fromCharCode.apply(null,ir.subarray(Rt,Rt+8192));return Ct};p.addImage=function(){var yt,Ct,ir,Rt,Zr,br,Br,Fr,Xr;if(typeof arguments[1]=="number"?(Ct=c,ir=arguments[1],Rt=arguments[2],Zr=arguments[3],br=arguments[4],Br=arguments[5],Fr=arguments[6],Xr=arguments[7]):(Ct=arguments[1],ir=arguments[2],Rt=arguments[3],Zr=arguments[4],br=arguments[5],Br=arguments[6],Fr=arguments[7],Xr=arguments[8]),(0,t.Z)(yt=arguments[0])==="object"&&!Ge(yt)&&"imageData"in yt){var kr=yt;yt=kr.imageData,Ct=kr.format||Ct||c,ir=kr.x||ir||0,Rt=kr.y||Rt||0,Zr=kr.w||kr.width||Zr,br=kr.h||kr.height||br,Br=kr.alias||Br,Fr=kr.compression||Fr,Xr=kr.rotation||kr.angle||Xr}var Un=this.internal.getFilters();if(Fr===void 0&&Un.indexOf("FlateEncode")!==-1&&(Fr="SLOW"),isNaN(ir)||isNaN(Rt))throw new Error("Invalid coordinates passed to jsPDF.addImage");X.call(this);var Ke=un.call(this,yt,Ct,Br,Fr);return oe.call(this,ir,Rt,Zr,br,Ke,Xr),this};var un=function(yt,Ct,ir,Rt){var Zr,br,Br;if(typeof yt=="string"&&v(yt)===c){yt=unescape(yt);var Fr=gn(yt,!1);(Fr!==""||(Fr=p.loadFile(yt,!0))!==void 0)&&(yt=Fr)}if(Ge(yt)&&(yt=nt(yt,Ct)),Ct=v(yt,Ct),!_e(Ct))throw new Error("addImage does not support files of type '"+Ct+"', please ensure that a plugin for '"+Ct+"' support is added.");if(((Br=ir)==null||Br.length===0)&&(ir=function(Xr){return typeof Xr=="string"||On(Xr)?Zt(Xr):On(Xr.data)?Zt(Xr.data):null}(yt)),(Zr=me.call(this,ir))||(vn()&&(yt instanceof Uint8Array||Ct==="RGBA"||(br=yt,yt=qr(yt))),Zr=this["process"+Ct.toUpperCase()](yt,Ce.call(this),ir,function(Xr){return Xr&&typeof Xr=="string"&&(Xr=Xr.toUpperCase()),Xr in p.image_compression?Xr:lt.NONE}(Rt),br)),!Zr)throw new Error("An unknown error occurred whilst processing the image.");return Zr},gn=p.__addimage__.convertBase64ToBinaryString=function(yt,Ct){var ir;Ct=typeof Ct!="boolean"||Ct;var Rt,Zr="";if(typeof yt=="string"){Rt=(ir=cn(yt))!==null?ir.data:yt;try{Zr=W(Rt)}catch(br){if(Ct)throw wr(Rt)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+br.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Zr};p.getImageProperties=function(yt){var Ct,ir,Rt="";if(Ge(yt)&&(yt=nt(yt)),typeof yt=="string"&&v(yt)===c&&((Rt=gn(yt,!1))===""&&(Rt=p.loadFile(yt)||""),yt=Rt),ir=v(yt),!_e(ir))throw new Error("addImage does not support files of type '"+ir+"', please ensure that a plugin for '"+ir+"' support is added.");if(!vn()||yt instanceof Uint8Array||(yt=qr(yt)),!(Ct=this["process"+ir.toUpperCase()](yt)))throw new Error("An unknown error occurred whilst processing the image");return Ct.fileType=ir,Ct}})(k.API),function(p){var c=function(d){if(d!==void 0&&d!="")return!0};k.API.events.push(["addPage",function(d){this.internal.getPageInfo(d.pageNumber).pageContext.annotations=[]}]),p.events.push(["putPage",function(d){for(var v,I,b,B=this.internal.getCoordinateString,X=this.internal.getVerticalCoordinateString,_=this.internal.getPageInfoByObjId(d.objId),Ce=d.pageContext.annotations,_e=!1,Ge=0;Ge<Ce.length&&!_e;Ge++)switch((v=Ce[Ge]).type){case"link":(c(v.options.url)||c(v.options.pageNumber))&&(_e=!0);break;case"reference":case"text":case"freetext":_e=!0}if(_e!=0){this.internal.write("/Annots [");for(var nt=0;nt<Ce.length;nt++){v=Ce[nt];var me=this.internal.pdfEscape,Gt=this.internal.getEncryptor(d.objId);switch(v.type){case"reference":this.internal.write(" "+v.object.objId+" 0 R ");break;case"text":var oe=this.internal.newAdditionalObject(),jt=this.internal.newAdditionalObject(),lt=this.internal.getEncryptor(oe.objId),Zt=v.title||"Note";b="<</Type /Annot /Subtype /Text "+(I="/Rect ["+B(v.bounds.x)+" "+X(v.bounds.y+v.bounds.h)+" "+B(v.bounds.x+v.bounds.w)+" "+X(v.bounds.y)+"] ")+"/Contents ("+me(lt(v.contents))+")",b+=" /Popup "+jt.objId+" 0 R",b+=" /P "+_.objId+" 0 R",b+=" /T ("+me(lt(Zt))+") >>",oe.content=b;var wr=oe.objId+" 0 R";b="<</Type /Annot /Subtype /Popup "+(I="/Rect ["+B(v.bounds.x+30)+" "+X(v.bounds.y+v.bounds.h)+" "+B(v.bounds.x+v.bounds.w+30)+" "+X(v.bounds.y)+"] ")+" /Parent "+wr,v.open&&(b+=" /Open true"),b+=" >>",jt.content=b,this.internal.write(oe.objId,"0 R",jt.objId,"0 R");break;case"freetext":I="/Rect ["+B(v.bounds.x)+" "+X(v.bounds.y)+" "+B(v.bounds.x+v.bounds.w)+" "+X(v.bounds.y+v.bounds.h)+"] ";var cn=v.color||"#000000";b="<</Type /Annot /Subtype /FreeText "+I+"/Contents ("+me(Gt(v.contents))+")",b+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+cn+")",b+=" /Border [0 0 0]",b+=" >>",this.internal.write(b);break;case"link":if(v.options.name){var vn=this.annotations._nameMap[v.options.name];v.options.pageNumber=vn.page,v.options.top=vn.y}else v.options.top||(v.options.top=0);if(I="/Rect ["+v.finalBounds.x+" "+v.finalBounds.y+" "+v.finalBounds.w+" "+v.finalBounds.h+"] ",b="",v.options.url)b="<</Type /Annot /Subtype /Link "+I+"/Border [0 0 0] /A <</S /URI /URI ("+me(Gt(v.options.url))+") >>";else if(v.options.pageNumber)switch(b="<</Type /Annot /Subtype /Link "+I+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(v.options.pageNumber).objId+" 0 R",v.options.magFactor=v.options.magFactor||"XYZ",v.options.magFactor){case"Fit":b+=" /Fit]";break;case"FitH":b+=" /FitH "+v.options.top+"]";break;case"FitV":v.options.left=v.options.left||0,b+=" /FitV "+v.options.left+"]";break;case"XYZ":default:var On=X(v.options.top);v.options.left=v.options.left||0,v.options.zoom===void 0&&(v.options.zoom=0),b+=" /XYZ "+v.options.left+" "+On+" "+v.options.zoom+"]"}b!=""&&(b+=" >>",this.internal.write(b))}}this.internal.write("]")}}]),p.createAnnotation=function(d){var v=this.internal.getCurrentPageInfo();switch(d.type){case"link":this.link(d.bounds.x,d.bounds.y,d.bounds.w,d.bounds.h,d);break;case"text":case"freetext":v.pageContext.annotations.push(d)}},p.link=function(d,v,I,b,B){var X=this.internal.getCurrentPageInfo(),_=this.internal.getCoordinateString,Ce=this.internal.getVerticalCoordinateString;X.pageContext.annotations.push({finalBounds:{x:_(d),y:Ce(v),w:_(d+I),h:Ce(v+b)},options:B,type:"link"})},p.textWithLink=function(d,v,I,b){var B,X,_=this.getTextWidth(d),Ce=this.internal.getLineHeight()/this.internal.scaleFactor;if(b.maxWidth!==void 0){X=b.maxWidth;var _e=this.splitTextToSize(d,X).length;B=Math.ceil(Ce*_e)}else X=_,B=Ce;return this.text(d,v,I,b),I+=.2*Ce,b.align==="center"&&(v-=_/2),b.align==="right"&&(v-=_),this.link(v,I-Ce,X,B,b),_},p.getTextWidth=function(d){var v=this.internal.getFontSize();return this.getStringUnitWidth(d)*v/this.internal.scaleFactor}}(k.API),function(p){var c={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]},d={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}},v={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},I=[1570,1571,1573,1575];p.__arabicParser__={};var b=p.__arabicParser__.isInArabicSubstitutionA=function(oe){return c[oe.charCodeAt(0)]!==void 0},B=p.__arabicParser__.isArabicLetter=function(oe){return typeof oe=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(oe)},X=p.__arabicParser__.isArabicEndLetter=function(oe){return B(oe)&&b(oe)&&c[oe.charCodeAt(0)].length<=2},_=p.__arabicParser__.isArabicAlfLetter=function(oe){return B(oe)&&I.indexOf(oe.charCodeAt(0))>=0};p.__arabicParser__.arabicLetterHasIsolatedForm=function(oe){return B(oe)&&b(oe)&&c[oe.charCodeAt(0)].length>=1};var Ce=p.__arabicParser__.arabicLetterHasFinalForm=function(oe){return B(oe)&&b(oe)&&c[oe.charCodeAt(0)].length>=2};p.__arabicParser__.arabicLetterHasInitialForm=function(oe){return B(oe)&&b(oe)&&c[oe.charCodeAt(0)].length>=3};var _e=p.__arabicParser__.arabicLetterHasMedialForm=function(oe){return B(oe)&&b(oe)&&c[oe.charCodeAt(0)].length==4},Ge=p.__arabicParser__.resolveLigatures=function(oe){var jt=0,lt=d,Zt="",wr=0;for(jt=0;jt<oe.length;jt+=1)lt[oe.charCodeAt(jt)]!==void 0?(wr++,typeof(lt=lt[oe.charCodeAt(jt)])=="number"&&(Zt+=String.fromCharCode(lt),lt=d,wr=0),jt===oe.length-1&&(lt=d,Zt+=oe.charAt(jt-(wr-1)),jt-=wr-1,wr=0)):(lt=d,Zt+=oe.charAt(jt-wr),jt-=wr,wr=0);return Zt};p.__arabicParser__.isArabicDiacritic=function(oe){return oe!==void 0&&v[oe.charCodeAt(0)]!==void 0};var nt=p.__arabicParser__.getCorrectForm=function(oe,jt,lt){return B(oe)?b(oe)===!1?-1:!Ce(oe)||!B(jt)&&!B(lt)||!B(lt)&&X(jt)||X(oe)&&!B(jt)||X(oe)&&_(jt)||X(oe)&&X(jt)?0:_e(oe)&&B(jt)&&!X(jt)&&B(lt)&&Ce(lt)?3:X(oe)||!B(lt)?1:2:-1},me=function(oe){var jt=0,lt=0,Zt=0,wr="",cn="",vn="",On=(oe=oe||"").split("\\s+"),qr=[];for(jt=0;jt<On.length;jt+=1){for(qr.push(""),lt=0;lt<On[jt].length;lt+=1)wr=On[jt][lt],cn=On[jt][lt-1],vn=On[jt][lt+1],B(wr)?(Zt=nt(wr,cn,vn),qr[jt]+=Zt!==-1?String.fromCharCode(c[wr.charCodeAt(0)][Zt]):wr):qr[jt]+=wr;qr[jt]=Ge(qr[jt])}return qr.join(" ")},Gt=p.__arabicParser__.processArabic=p.processArabic=function(){var oe,jt=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,lt=[];if(Array.isArray(jt)){var Zt=0;for(lt=[],Zt=0;Zt<jt.length;Zt+=1)Array.isArray(jt[Zt])?lt.push([me(jt[Zt][0]),jt[Zt][1],jt[Zt][2]]):lt.push([me(jt[Zt])]);oe=lt}else oe=me(jt);return typeof arguments[0]=="string"?oe:(arguments[0].text=oe,arguments[0])};p.events.push(["preProcessText",Gt])}(k.API),k.API.autoPrint=function(p){var c;switch((p=p||{}).variant=p.variant||"non-conform",p.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){c=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 "+c+" 0 R")})}return this},function(p){var c=function(){var d=void 0;Object.defineProperty(this,"pdf",{get:function(){return d},set:function(X){d=X}});var v=150;Object.defineProperty(this,"width",{get:function(){return v},set:function(X){v=isNaN(X)||Number.isInteger(X)===!1||X<0?150:X,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=v+1)}});var I=300;Object.defineProperty(this,"height",{get:function(){return I},set:function(X){I=isNaN(X)||Number.isInteger(X)===!1||X<0?300:X,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=I+1)}});var b=[];Object.defineProperty(this,"childNodes",{get:function(){return b},set:function(X){b=X}});var B={};Object.defineProperty(this,"style",{get:function(){return B},set:function(X){B=X}}),Object.defineProperty(this,"parentNode",{})};c.prototype.getContext=function(d,v){var I;if((d=d||"2d")!=="2d")return null;for(I in v)this.pdf.context2d.hasOwnProperty(I)&&(this.pdf.context2d[I]=v[I]);return this.pdf.context2d._canvas=this,this.pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},p.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}])}(k.API),function(p){var c={left:0,top:0,bottom:0,right:0},d=!1,v=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({},c),this.internal.__cell__.margins.width=this.getPageWidth(),I.call(this))},I=function(){this.internal.__cell__.lastCell=new b,this.internal.__cell__.pages=1},b=function(){var _=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return _},set:function(oe){_=oe}});var Ce=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ce},set:function(oe){Ce=oe}});var _e=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return _e},set:function(oe){_e=oe}});var Ge=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ge},set:function(oe){Ge=oe}});var nt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return nt},set:function(oe){nt=oe}});var me=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return me},set:function(oe){me=oe}});var Gt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Gt},set:function(oe){Gt=oe}}),this};b.prototype.clone=function(){return new b(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},b.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},p.setHeaderFunction=function(_){return v.call(this),this.internal.__cell__.headerFunction=typeof _=="function"?_:void 0,this},p.getTextDimensions=function(_,Ce){v.call(this);var _e=(Ce=Ce||{}).fontSize||this.getFontSize(),Ge=Ce.font||this.getFont(),nt=Ce.scaleFactor||this.internal.scaleFactor,me=0,Gt=0,oe=0,jt=this;if(!Array.isArray(_)&&typeof _!="string"){if(typeof _!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");_=String(_)}var lt=Ce.maxWidth;lt>0?typeof _=="string"?_=this.splitTextToSize(_,lt):Object.prototype.toString.call(_)==="[object Array]"&&(_=_.reduce(function(wr,cn){return wr.concat(jt.splitTextToSize(cn,lt))},[])):_=Array.isArray(_)?_:[_];for(var Zt=0;Zt<_.length;Zt++)me<(oe=this.getStringUnitWidth(_[Zt],{font:Ge})*_e)&&(me=oe);return me!==0&&(Gt=_.length),{w:me/=nt,h:Math.max((Gt*_e*this.getLineHeightFactor()-_e*(this.getLineHeightFactor()-1))/nt,0)}},p.cellAddPage=function(){v.call(this),this.addPage();var _=this.internal.__cell__.margins||c;return this.internal.__cell__.lastCell=new b(_.left,_.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var B=p.cell=function(){var _;_=arguments[0]instanceof b?arguments[0]:new b(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),v.call(this);var Ce=this.internal.__cell__.lastCell,_e=this.internal.__cell__.padding,Ge=this.internal.__cell__.margins||c,nt=this.internal.__cell__.tableHeaderRow,me=this.internal.__cell__.printHeaders;return Ce.lineNumber!==void 0&&(Ce.lineNumber===_.lineNumber?(_.x=(Ce.x||0)+(Ce.width||0),_.y=Ce.y||0):Ce.y+Ce.height+_.height+Ge.bottom>this.getPageHeight()?(this.cellAddPage(),_.y=Ge.top,me&&nt&&(this.printHeaderRow(_.lineNumber,!0),_.y+=nt[0].height)):_.y=Ce.y+Ce.height||_.y),_.text[0]!==void 0&&(this.rect(_.x,_.y,_.width,_.height,d===!0?"FD":void 0),_.align==="right"?this.text(_.text,_.x+_.width-_e,_.y+_e,{align:"right",baseline:"top"}):_.align==="center"?this.text(_.text,_.x+_.width/2,_.y+_e,{align:"center",baseline:"top",maxWidth:_.width-_e-_e}):this.text(_.text,_.x+_e,_.y+_e,{align:"left",baseline:"top",maxWidth:_.width-_e-_e})),this.internal.__cell__.lastCell=_,this};p.table=function(_,Ce,_e,Ge,nt){if(v.call(this),!_e)throw new Error("No data for PDF table.");var me,Gt,oe,jt,lt=[],Zt=[],wr=[],cn={},vn={},On=[],qr=[],kt=(nt=nt||{}).autoSize||!1,un=nt.printHeaders!==!1,gn=nt.css&&nt.css["font-size"]!==void 0?16*nt.css["font-size"]:nt.fontSize||12,yt=nt.margins||Object.assign({width:this.getPageWidth()},c),Ct=typeof nt.padding=="number"?nt.padding:3,ir=nt.headerBackgroundColor||"#c8c8c8",Rt=nt.headerTextColor||"#000";if(I.call(this),this.internal.__cell__.printHeaders=un,this.internal.__cell__.margins=yt,this.internal.__cell__.table_font_size=gn,this.internal.__cell__.padding=Ct,this.internal.__cell__.headerBackgroundColor=ir,this.internal.__cell__.headerTextColor=Rt,this.setFontSize(gn),Ge==null)Zt=lt=Object.keys(_e[0]),wr=lt.map(function(){return"left"});else if(Array.isArray(Ge)&&(0,t.Z)(Ge[0])==="object")for(lt=Ge.map(function(kr){return kr.name}),Zt=Ge.map(function(kr){return kr.prompt||kr.name||""}),wr=Ge.map(function(kr){return kr.align||"left"}),me=0;me<Ge.length;me+=1)vn[Ge[me].name]=Ge[me].width*(19.049976/25.4);else Array.isArray(Ge)&&typeof Ge[0]=="string"&&(Zt=lt=Ge,wr=lt.map(function(){return"left"}));if(kt||Array.isArray(Ge)&&typeof Ge[0]=="string")for(me=0;me<lt.length;me+=1){for(cn[jt=lt[me]]=_e.map(function(kr){return kr[jt]}),this.setFont(void 0,"bold"),On.push(this.getTextDimensions(Zt[me],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Gt=cn[jt],this.setFont(void 0,"normal"),oe=0;oe<Gt.length;oe+=1)On.push(this.getTextDimensions(Gt[oe],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);vn[jt]=Math.max.apply(null,On)+Ct+Ct,On=[]}if(un){var Zr={};for(me=0;me<lt.length;me+=1)Zr[lt[me]]={},Zr[lt[me]].text=Zt[me],Zr[lt[me]].align=wr[me];var br=X.call(this,Zr,vn);qr=lt.map(function(kr){return new b(_,Ce,vn[kr],br,Zr[kr].text,void 0,Zr[kr].align)}),this.setTableHeaderRow(qr),this.printHeaderRow(1,!1)}var Br=Ge.reduce(function(kr,Un){return kr[Un.name]=Un.align,kr},{});for(me=0;me<_e.length;me+=1){"rowStart"in nt&&nt.rowStart instanceof Function&&nt.rowStart({row:me,data:_e[me]},this);var Fr=X.call(this,_e[me],vn);for(oe=0;oe<lt.length;oe+=1){var Xr=_e[me][lt[oe]];"cellStart"in nt&&nt.cellStart instanceof Function&&nt.cellStart({row:me,col:oe,data:Xr},this),B.call(this,new b(_,Ce,vn[lt[oe]],Fr,Xr,me+2,Br[lt[oe]]))}}return this.internal.__cell__.table_x=_,this.internal.__cell__.table_y=Ce,this};var X=function(_,Ce){var _e=this.internal.__cell__.padding,Ge=this.internal.__cell__.table_font_size,nt=this.internal.scaleFactor;return Object.keys(_).map(function(me){var Gt=_[me];return this.splitTextToSize(Gt.hasOwnProperty("text")?Gt.text:Gt,Ce[me]-_e-_e)},this).map(function(me){return this.getLineHeightFactor()*me.length*Ge/nt+_e+_e},this).reduce(function(me,Gt){return Math.max(me,Gt)},0)};p.setTableHeaderRow=function(_){v.call(this),this.internal.__cell__.tableHeaderRow=_},p.printHeaderRow=function(_,Ce){if(v.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var _e;if(d=!0,typeof this.internal.__cell__.headerFunction=="function"){var Ge=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new b(Ge[0],Ge[1],Ge[2],Ge[3],void 0,-1)}this.setFont(void 0,"bold");for(var nt=[],me=0;me<this.internal.__cell__.tableHeaderRow.length;me+=1){_e=this.internal.__cell__.tableHeaderRow[me].clone(),Ce&&(_e.y=this.internal.__cell__.margins.top||0,nt.push(_e)),_e.lineNumber=_;var Gt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),B.call(this,_e),this.setTextColor(Gt)}nt.length>0&&this.setTableHeaderRow(nt),this.setFont(void 0,"normal"),d=!1}}(k.API);var Mr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Pr=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],En=ke(Pr),Nn=[100,200,300,400,500,600,700,800,900],mn=ke(Nn);function yn(p){var c=p.family.replace(/"|'/g,"").toLowerCase(),d=function(b){return Mr[b=b||"normal"]?b:"normal"}(p.style),v=function(b){if(!b)return 400;if(typeof b=="number")return b>=100&&b<=900&&b%100==0?b:400;if(/^\d00$/.test(b))return parseInt(b);switch(b){case"bold":return 700;case"normal":default:return 400}}(p.weight),I=function(b){return typeof En[b=b||"normal"]=="number"?b:"normal"}(p.stretch);return{family:c,style:d,weight:v,stretch:I,src:p.src||[],ref:p.ref||{name:c,style:[I,d,v].join(" ")}}}function Cn(p,c,d,v){var I;for(I=d;I>=0&&I<c.length;I+=v)if(p[c[I]])return p[c[I]];for(I=d;I>=0&&I<c.length;I-=v)if(p[c[I]])return p[c[I]]}var L={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},x={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Dr(p){return[p.stretch,p.style,p.weight,p.family].join(" ")}function K(p,c,d){for(var v=(d=d||{}).defaultFontFamily||"times",I=Object.assign({},L,d.genericFontFamilies||{}),b=null,B=null,X=0;X<c.length;++X)if(I[(b=yn(c[X])).family]&&(b.family=I[b.family]),p.hasOwnProperty(b.family)){B=p[b.family];break}if(!(B=B||p[v]))throw new Error("Could not find a font-family for the rule '"+Dr(b)+"' and default family '"+v+"'.");if(B=function(_,Ce){if(Ce[_])return Ce[_];var _e=En[_],Ge=_e<=En.normal?-1:1,nt=Cn(Ce,Pr,_e,Ge);if(!nt)throw new Error("Could not find a matching font-stretch value for "+_);return nt}(b.stretch,B),B=function(_,Ce){if(Ce[_])return Ce[_];for(var _e=Mr[_],Ge=0;Ge<_e.length;++Ge)if(Ce[_e[Ge]])return Ce[_e[Ge]];throw new Error("Could not find a matching font-style for "+_)}(b.style,B),!(B=function(_,Ce){if(Ce[_])return Ce[_];if(_===400&&Ce[500])return Ce[500];if(_===500&&Ce[400])return Ce[400];var _e=mn[_],Ge=Cn(Ce,Nn,_e,_<400?-1:1);if(!Ge)throw new Error("Could not find a matching font-weight for value "+_);return Ge}(b.weight,B)))throw new Error("Failed to resolve a font for the rule '"+Dr(b)+"'.");return B}function Tt(p){return p.trimLeft()}function Xt(p,c){for(var d=0;d<p.length;){if(p.charAt(d)===c)return[p.substring(0,d),p.substring(d+1)];d+=1}return null}function ar(p){var c=p.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return c===null?null:[c[0],p.substring(c[0].length)]}var ot,Ie,st,zt=["times"];(function(p){var c,d,v,I,b,B,X,_,Ce,_e=function(Ke){return Ke=Ke||{},this.isStrokeTransparent=Ke.isStrokeTransparent||!1,this.strokeOpacity=Ke.strokeOpacity||1,this.strokeStyle=Ke.strokeStyle||"#000000",this.fillStyle=Ke.fillStyle||"#000000",this.isFillTransparent=Ke.isFillTransparent||!1,this.fillOpacity=Ke.fillOpacity||1,this.font=Ke.font||"10px sans-serif",this.textBaseline=Ke.textBaseline||"alphabetic",this.textAlign=Ke.textAlign||"left",this.lineWidth=Ke.lineWidth||1,this.lineJoin=Ke.lineJoin||"miter",this.lineCap=Ke.lineCap||"butt",this.path=Ke.path||[],this.transform=Ke.transform!==void 0?Ke.transform.clone():new _,this.globalCompositeOperation=Ke.globalCompositeOperation||"normal",this.globalAlpha=Ke.globalAlpha||1,this.clip_path=Ke.clip_path||[],this.currentPoint=Ke.currentPoint||new B,this.miterLimit=Ke.miterLimit||10,this.lastPoint=Ke.lastPoint||new B,this.lineDashOffset=Ke.lineDashOffset||0,this.lineDash=Ke.lineDash||[],this.margin=Ke.margin||[0,0,0,0],this.prevPageLastElemOffset=Ke.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Ke.ignoreClearRect!="boolean"||Ke.ignoreClearRect,this};p.events.push(["initialized",function(){this.context2d=new Ge(this),c=this.internal.f2,d=this.internal.getCoordinateString,v=this.internal.getVerticalCoordinateString,I=this.internal.getHorizontalCoordinate,b=this.internal.getVerticalCoordinate,B=this.internal.Point,X=this.internal.Rectangle,_=this.internal.Matrix,Ce=new _e}]);var Ge=function(Ke){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var be=Ke;Object.defineProperty(this,"pdf",{get:function(){return be}});var ce=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return ce},set:function(bt){ce=!!bt}});var Je=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Je},set:function(bt){Je=!!bt}});var dt=0;Object.defineProperty(this,"posX",{get:function(){return dt},set:function(bt){isNaN(bt)||(dt=bt)}});var Nt=0;Object.defineProperty(this,"posY",{get:function(){return Nt},set:function(bt){isNaN(bt)||(Nt=bt)}}),Object.defineProperty(this,"margin",{get:function(){return Ce.margin},set:function(bt){var xt;typeof bt=="number"?xt=[bt,bt,bt,bt]:((xt=new Array(4))[0]=bt[0],xt[1]=bt.length>=2?bt[1]:xt[0],xt[2]=bt.length>=3?bt[2]:xt[0],xt[3]=bt.length>=4?bt[3]:xt[1]),Ce.margin=xt}});var $t=!1;Object.defineProperty(this,"autoPaging",{get:function(){return $t},set:function(bt){$t=bt}});var er=0;Object.defineProperty(this,"lastBreak",{get:function(){return er},set:function(bt){er=bt}});var It=[];Object.defineProperty(this,"pageBreaks",{get:function(){return It},set:function(bt){It=bt}}),Object.defineProperty(this,"ctx",{get:function(){return Ce},set:function(bt){bt instanceof _e&&(Ce=bt)}}),Object.defineProperty(this,"path",{get:function(){return Ce.path},set:function(bt){Ce.path=bt}});var Cr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Cr},set:function(bt){Cr=bt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(bt){var xt;xt=nt(bt),this.ctx.fillStyle=xt.style,this.ctx.isFillTransparent=xt.a===0,this.ctx.fillOpacity=xt.a,this.pdf.setFillColor(xt.r,xt.g,xt.b,{a:xt.a}),this.pdf.setTextColor(xt.r,xt.g,xt.b,{a:xt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(bt){var xt=nt(bt);this.ctx.strokeStyle=xt.style,this.ctx.isStrokeTransparent=xt.a===0,this.ctx.strokeOpacity=xt.a,xt.a===0?this.pdf.setDrawColor(255,255,255):(xt.a,this.pdf.setDrawColor(xt.r,xt.g,xt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(bt){["butt","round","square"].indexOf(bt)!==-1&&(this.ctx.lineCap=bt,this.pdf.setLineCap(bt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(bt){isNaN(bt)||(this.ctx.lineWidth=bt,this.pdf.setLineWidth(bt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(bt){["bevel","round","miter"].indexOf(bt)!==-1&&(this.ctx.lineJoin=bt,this.pdf.setLineJoin(bt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(bt){isNaN(bt)||(this.ctx.miterLimit=bt,this.pdf.setMiterLimit(bt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(bt){this.ctx.textBaseline=bt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(bt){["right","end","center","left","start"].indexOf(bt)!==-1&&(this.ctx.textAlign=bt)}});var Hr=null;function sn(bt,xt){if(Hr===null){var rn=function(Mn){var zr=[];return Object.keys(Mn).forEach(function(dn){Mn[dn].forEach(function(nn){var xn=null;switch(nn){case"bold":xn={family:dn,weight:"bold"};break;case"italic":xn={family:dn,style:"italic"};break;case"bolditalic":xn={family:dn,weight:"bold",style:"italic"};break;case"":case"normal":xn={family:dn}}xn!==null&&(xn.ref={name:dn,style:nn},zr.push(xn))})}),zr}(bt.getFontList());Hr=function(Mn){for(var zr={},dn=0;dn<Mn.length;++dn){var nn=yn(Mn[dn]),xn=nn.family,Ln=nn.stretch,qn=nn.style,Jn=nn.weight;zr[xn]=zr[xn]||{},zr[xn][Ln]=zr[xn][Ln]||{},zr[xn][Ln][qn]=zr[xn][Ln][qn]||{},zr[xn][Ln][qn][Jn]=nn}return zr}(rn.concat(xt))}return Hr}var Qr=null;Object.defineProperty(this,"fontFaces",{get:function(){return Qr},set:function(bt){Hr=null,Qr=bt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(bt){var xt;if(this.ctx.font=bt,(xt=/^\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(bt))!==null){var rn=xt[1],Mn=(xt[2],xt[3]),zr=xt[4],dn=(xt[5],xt[6]),nn=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(zr)[2];zr=Math.floor(nn==="px"?parseFloat(zr)*this.pdf.internal.scaleFactor:nn==="em"?parseFloat(zr)*this.pdf.getFontSize():parseFloat(zr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(zr);var xn=function(Xn){var jn,Vn,ka=[],ba=Xn.trim();if(ba==="")return zt;if(ba in x)return[x[ba]];for(;ba!=="";){switch(Vn=null,jn=(ba=Tt(ba)).charAt(0)){case'"':case"'":Vn=Xt(ba.substring(1),jn);break;default:Vn=ar(ba)}if(Vn===null||(ka.push(Vn[0]),(ba=Tt(Vn[1]))!==""&&ba.charAt(0)!==","))return zt;ba=ba.replace(/^,/,"")}return ka}(dn);if(this.fontFaces){var Ln=K(sn(this.pdf,this.fontFaces),xn.map(function(Xn){return{family:Xn,stretch:"normal",weight:Mn,style:rn}}));this.pdf.setFont(Ln.ref.name,Ln.ref.style)}else{var qn="";(Mn==="bold"||parseInt(Mn,10)>=700||rn==="bold")&&(qn="bold"),rn==="italic"&&(qn+="italic"),qn.length===0&&(qn="normal");for(var Jn="",Qn={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"},Fa=0;Fa<xn.length;Fa++){if(this.pdf.internal.getFont(xn[Fa],qn,{noFallback:!0,disableWarning:!0})!==void 0){Jn=xn[Fa];break}if(qn==="bolditalic"&&this.pdf.internal.getFont(xn[Fa],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Jn=xn[Fa],qn="bold";else if(this.pdf.internal.getFont(xn[Fa],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Jn=xn[Fa],qn="normal";break}}if(Jn===""){for(var Ea=0;Ea<xn.length;Ea++)if(Qn[xn[Ea]]){Jn=Qn[xn[Ea]];break}}Jn=Jn===""?"Times":Jn,this.pdf.setFont(Jn,qn)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(bt){this.ctx.globalCompositeOperation=bt}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(bt){this.ctx.globalAlpha=bt}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(bt){this.ctx.lineDashOffset=bt,Un.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(bt){this.ctx.lineDash=bt,Un.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(bt){this.ctx.ignoreClearRect=!!bt}})};Ge.prototype.setLineDash=function(Ke){this.lineDash=Ke},Ge.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Ge.prototype.fill=function(){cn.call(this,"fill",!1)},Ge.prototype.stroke=function(){cn.call(this,"stroke",!1)},Ge.prototype.beginPath=function(){this.path=[{type:"begin"}]},Ge.prototype.moveTo=function(Ke,be){if(isNaN(Ke)||isNaN(be))throw G.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var ce=this.ctx.transform.applyToPoint(new B(Ke,be));this.path.push({type:"mt",x:ce.x,y:ce.y}),this.ctx.lastPoint=new B(Ke,be)},Ge.prototype.closePath=function(){var Ke=new B(0,0),be=0;for(be=this.path.length-1;be!==-1;be--)if(this.path[be].type==="begin"&&(0,t.Z)(this.path[be+1])==="object"&&typeof this.path[be+1].x=="number"){Ke=new B(this.path[be+1].x,this.path[be+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new B(Ke.x,Ke.y)},Ge.prototype.lineTo=function(Ke,be){if(isNaN(Ke)||isNaN(be))throw G.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var ce=this.ctx.transform.applyToPoint(new B(Ke,be));this.path.push({type:"lt",x:ce.x,y:ce.y}),this.ctx.lastPoint=new B(ce.x,ce.y)},Ge.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),cn.call(this,null,!0)},Ge.prototype.quadraticCurveTo=function(Ke,be,ce,Je){if(isNaN(ce)||isNaN(Je)||isNaN(Ke)||isNaN(be))throw G.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var dt=this.ctx.transform.applyToPoint(new B(ce,Je)),Nt=this.ctx.transform.applyToPoint(new B(Ke,be));this.path.push({type:"qct",x1:Nt.x,y1:Nt.y,x:dt.x,y:dt.y}),this.ctx.lastPoint=new B(dt.x,dt.y)},Ge.prototype.bezierCurveTo=function(Ke,be,ce,Je,dt,Nt){if(isNaN(dt)||isNaN(Nt)||isNaN(Ke)||isNaN(be)||isNaN(ce)||isNaN(Je))throw G.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var $t=this.ctx.transform.applyToPoint(new B(dt,Nt)),er=this.ctx.transform.applyToPoint(new B(Ke,be)),It=this.ctx.transform.applyToPoint(new B(ce,Je));this.path.push({type:"bct",x1:er.x,y1:er.y,x2:It.x,y2:It.y,x:$t.x,y:$t.y}),this.ctx.lastPoint=new B($t.x,$t.y)},Ge.prototype.arc=function(Ke,be,ce,Je,dt,Nt){if(isNaN(Ke)||isNaN(be)||isNaN(ce)||isNaN(Je)||isNaN(dt))throw G.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Nt=!!Nt,!this.ctx.transform.isIdentity){var $t=this.ctx.transform.applyToPoint(new B(Ke,be));Ke=$t.x,be=$t.y;var er=this.ctx.transform.applyToPoint(new B(0,ce)),It=this.ctx.transform.applyToPoint(new B(0,0));ce=Math.sqrt(Math.pow(er.x-It.x,2)+Math.pow(er.y-It.y,2))}Math.abs(dt-Je)>=2*Math.PI&&(Je=0,dt=2*Math.PI),this.path.push({type:"arc",x:Ke,y:be,radius:ce,startAngle:Je,endAngle:dt,counterclockwise:Nt})},Ge.prototype.arcTo=function(Ke,be,ce,Je,dt){throw new Error("arcTo not implemented.")},Ge.prototype.rect=function(Ke,be,ce,Je){if(isNaN(Ke)||isNaN(be)||isNaN(ce)||isNaN(Je))throw G.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ke,be),this.lineTo(Ke+ce,be),this.lineTo(Ke+ce,be+Je),this.lineTo(Ke,be+Je),this.lineTo(Ke,be),this.lineTo(Ke+ce,be),this.lineTo(Ke,be)},Ge.prototype.fillRect=function(Ke,be,ce,Je){if(isNaN(Ke)||isNaN(be)||isNaN(ce)||isNaN(Je))throw G.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!me.call(this)){var dt={};this.lineCap!=="butt"&&(dt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(dt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ke,be,ce,Je),this.fill(),dt.hasOwnProperty("lineCap")&&(this.lineCap=dt.lineCap),dt.hasOwnProperty("lineJoin")&&(this.lineJoin=dt.lineJoin)}},Ge.prototype.strokeRect=function(Ke,be,ce,Je){if(isNaN(Ke)||isNaN(be)||isNaN(ce)||isNaN(Je))throw G.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Gt.call(this)||(this.beginPath(),this.rect(Ke,be,ce,Je),this.stroke())},Ge.prototype.clearRect=function(Ke,be,ce,Je){if(isNaN(Ke)||isNaN(be)||isNaN(ce)||isNaN(Je))throw G.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ke,be,ce,Je))},Ge.prototype.save=function(Ke){Ke=typeof Ke!="boolean"||Ke;for(var be=this.pdf.internal.getCurrentPageInfo().pageNumber,ce=0;ce<this.pdf.internal.getNumberOfPages();ce++)this.pdf.setPage(ce+1),this.pdf.internal.out("q");if(this.pdf.setPage(be),Ke){this.ctx.fontSize=this.pdf.internal.getFontSize();var Je=new _e(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Je}},Ge.prototype.restore=function(Ke){Ke=typeof Ke!="boolean"||Ke;for(var be=this.pdf.internal.getCurrentPageInfo().pageNumber,ce=0;ce<this.pdf.internal.getNumberOfPages();ce++)this.pdf.setPage(ce+1),this.pdf.internal.out("Q");this.pdf.setPage(be),Ke&&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)},Ge.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var nt=function(Ke){var be,ce,Je,dt;if(Ke.isCanvasGradient===!0&&(Ke=Ke.getColor()),!Ke)return{r:0,g:0,b:0,a:0,style:Ke};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Ke))be=0,ce=0,Je=0,dt=0;else{var Nt=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Ke);if(Nt!==null)be=parseInt(Nt[1]),ce=parseInt(Nt[2]),Je=parseInt(Nt[3]),dt=1;else if((Nt=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Ke))!==null)be=parseInt(Nt[1]),ce=parseInt(Nt[2]),Je=parseInt(Nt[3]),dt=parseFloat(Nt[4]);else{if(dt=1,typeof Ke=="string"&&Ke.charAt(0)!=="#"){var $t=new V(Ke);Ke=$t.ok?$t.toHex():"#000000"}Ke.length===4?(be=Ke.substring(1,2),be+=be,ce=Ke.substring(2,3),ce+=ce,Je=Ke.substring(3,4),Je+=Je):(be=Ke.substring(1,3),ce=Ke.substring(3,5),Je=Ke.substring(5,7)),be=parseInt(be,16),ce=parseInt(ce,16),Je=parseInt(Je,16)}}return{r:be,g:ce,b:Je,a:dt,style:Ke}},me=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Gt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Ge.prototype.fillText=function(Ke,be,ce,Je){if(isNaN(be)||isNaN(ce)||typeof Ke!="string")throw G.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Je=isNaN(Je)?void 0:Je,!me.call(this)){var dt=Fr(this.ctx.transform.rotation),Nt=this.ctx.transform.scaleX;Ct.call(this,{text:Ke,x:be,y:ce,scale:Nt,angle:dt,align:this.textAlign,maxWidth:Je})}},Ge.prototype.strokeText=function(Ke,be,ce,Je){if(isNaN(be)||isNaN(ce)||typeof Ke!="string")throw G.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Gt.call(this)){Je=isNaN(Je)?void 0:Je;var dt=Fr(this.ctx.transform.rotation),Nt=this.ctx.transform.scaleX;Ct.call(this,{text:Ke,x:be,y:ce,scale:Nt,renderingMode:"stroke",angle:dt,align:this.textAlign,maxWidth:Je})}},Ge.prototype.measureText=function(Ke){if(typeof Ke!="string")throw G.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var be=this.pdf,ce=this.pdf.internal.scaleFactor,Je=be.internal.getFontSize(),dt=be.getStringUnitWidth(Ke)*Je/be.internal.scaleFactor,Nt=function($t){var er=($t=$t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return er}}),this};return new Nt({width:dt*=Math.round(96*ce/72*1e4)/1e4})},Ge.prototype.scale=function(Ke,be){if(isNaN(Ke)||isNaN(be))throw G.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var ce=new _(Ke,0,0,be,0,0);this.ctx.transform=this.ctx.transform.multiply(ce)},Ge.prototype.rotate=function(Ke){if(isNaN(Ke))throw G.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var be=new _(Math.cos(Ke),Math.sin(Ke),-Math.sin(Ke),Math.cos(Ke),0,0);this.ctx.transform=this.ctx.transform.multiply(be)},Ge.prototype.translate=function(Ke,be){if(isNaN(Ke)||isNaN(be))throw G.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var ce=new _(1,0,0,1,Ke,be);this.ctx.transform=this.ctx.transform.multiply(ce)},Ge.prototype.transform=function(Ke,be,ce,Je,dt,Nt){if(isNaN(Ke)||isNaN(be)||isNaN(ce)||isNaN(Je)||isNaN(dt)||isNaN(Nt))throw G.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var $t=new _(Ke,be,ce,Je,dt,Nt);this.ctx.transform=this.ctx.transform.multiply($t)},Ge.prototype.setTransform=function(Ke,be,ce,Je,dt,Nt){Ke=isNaN(Ke)?1:Ke,be=isNaN(be)?0:be,ce=isNaN(ce)?0:ce,Je=isNaN(Je)?1:Je,dt=isNaN(dt)?0:dt,Nt=isNaN(Nt)?0:Nt,this.ctx.transform=new _(Ke,be,ce,Je,dt,Nt)};var oe=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ge.prototype.drawImage=function(Ke,be,ce,Je,dt,Nt,$t,er,It){var Cr=this.pdf.getImageProperties(Ke),Hr=1,sn=1,Qr=1,bt=1;Je!==void 0&&er!==void 0&&(Qr=er/Je,bt=It/dt,Hr=Cr.width/Je*er/Je,sn=Cr.height/dt*It/dt),Nt===void 0&&(Nt=be,$t=ce,be=0,ce=0),Je!==void 0&&er===void 0&&(er=Je,It=dt),Je===void 0&&er===void 0&&(er=Cr.width,It=Cr.height);for(var xt,rn=this.ctx.transform.decompose(),Mn=Fr(rn.rotate.shx),zr=new _,dn=(zr=(zr=(zr=zr.multiply(rn.translate)).multiply(rn.skew)).multiply(rn.scale)).applyToRectangle(new X(Nt-be*Qr,$t-ce*bt,Je*Hr,dt*sn)),nn=jt.call(this,dn),xn=[],Ln=0;Ln<nn.length;Ln+=1)xn.indexOf(nn[Ln])===-1&&xn.push(nn[Ln]);if(wr(xn),this.autoPaging)for(var qn=xn[0],Jn=xn[xn.length-1],Qn=qn;Qn<Jn+1;Qn++){this.pdf.setPage(Qn);var Fa=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ea=Qn===1?this.posY+this.margin[0]:this.margin[0],Xn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],jn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Vn=Qn===1?0:Xn+(Qn-2)*jn;if(this.ctx.clip_path.length!==0){var ka=this.path;xt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Zt(xt,this.posX+this.margin[3],-Vn+Ea+this.ctx.prevPageLastElemOffset),vn.call(this,"fill",!0),this.path=ka}var ba=JSON.parse(JSON.stringify(dn));ba=Zt([ba],this.posX+this.margin[3],-Vn+Ea+this.ctx.prevPageLastElemOffset)[0];var ho=(Qn>qn||Qn<Jn)&&oe.call(this);ho&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Fa,jn,null).clip().discardPath()),this.pdf.addImage(Ke,"JPEG",ba.x,ba.y,ba.w,ba.h,null,null,Mn),ho&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Ke,"JPEG",dn.x,dn.y,dn.w,dn.h,null,null,Mn)};var jt=function(Ke,be,ce){var Je=[];be=be||this.pdf.internal.pageSize.width,ce=ce||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var dt=this.posY+this.ctx.prevPageLastElemOffset;switch(Ke.type){default:case"mt":case"lt":Je.push(Math.floor((Ke.y+dt)/ce)+1);break;case"arc":Je.push(Math.floor((Ke.y+dt-Ke.radius)/ce)+1),Je.push(Math.floor((Ke.y+dt+Ke.radius)/ce)+1);break;case"qct":var Nt=Xr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ke.x1,Ke.y1,Ke.x,Ke.y);Je.push(Math.floor((Nt.y+dt)/ce)+1),Je.push(Math.floor((Nt.y+Nt.h+dt)/ce)+1);break;case"bct":var $t=kr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ke.x1,Ke.y1,Ke.x2,Ke.y2,Ke.x,Ke.y);Je.push(Math.floor(($t.y+dt)/ce)+1),Je.push(Math.floor(($t.y+$t.h+dt)/ce)+1);break;case"rect":Je.push(Math.floor((Ke.y+dt)/ce)+1),Je.push(Math.floor((Ke.y+Ke.h+dt)/ce)+1)}for(var er=0;er<Je.length;er+=1)for(;this.pdf.internal.getNumberOfPages()<Je[er];)lt.call(this);return Je},lt=function(){var Ke=this.fillStyle,be=this.strokeStyle,ce=this.font,Je=this.lineCap,dt=this.lineWidth,Nt=this.lineJoin;this.pdf.addPage(),this.fillStyle=Ke,this.strokeStyle=be,this.font=ce,this.lineCap=Je,this.lineWidth=dt,this.lineJoin=Nt},Zt=function(Ke,be,ce){for(var Je=0;Je<Ke.length;Je++)switch(Ke[Je].type){case"bct":Ke[Je].x2+=be,Ke[Je].y2+=ce;case"qct":Ke[Je].x1+=be,Ke[Je].y1+=ce;case"mt":case"lt":case"arc":default:Ke[Je].x+=be,Ke[Je].y+=ce}return Ke},wr=function(Ke){return Ke.sort(function(be,ce){return be-ce})},cn=function(Ke,be){for(var ce,Je,dt=this.fillStyle,Nt=this.strokeStyle,$t=this.lineCap,er=this.lineWidth,It=Math.abs(er*this.ctx.transform.scaleX),Cr=this.lineJoin,Hr=JSON.parse(JSON.stringify(this.path)),sn=JSON.parse(JSON.stringify(this.path)),Qr=[],bt=0;bt<sn.length;bt++)if(sn[bt].x!==void 0)for(var xt=jt.call(this,sn[bt]),rn=0;rn<xt.length;rn+=1)Qr.indexOf(xt[rn])===-1&&Qr.push(xt[rn]);for(var Mn=0;Mn<Qr.length;Mn++)for(;this.pdf.internal.getNumberOfPages()<Qr[Mn];)lt.call(this);if(wr(Qr),this.autoPaging)for(var zr=Qr[0],dn=Qr[Qr.length-1],nn=zr;nn<dn+1;nn++){this.pdf.setPage(nn),this.fillStyle=dt,this.strokeStyle=Nt,this.lineCap=$t,this.lineWidth=It,this.lineJoin=Cr;var xn=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ln=nn===1?this.posY+this.margin[0]:this.margin[0],qn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Jn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Qn=nn===1?0:qn+(nn-2)*Jn;if(this.ctx.clip_path.length!==0){var Fa=this.path;ce=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Zt(ce,this.posX+this.margin[3],-Qn+Ln+this.ctx.prevPageLastElemOffset),vn.call(this,Ke,!0),this.path=Fa}if(Je=JSON.parse(JSON.stringify(Hr)),this.path=Zt(Je,this.posX+this.margin[3],-Qn+Ln+this.ctx.prevPageLastElemOffset),be===!1||nn===0){var Ea=(nn>zr||nn<dn)&&oe.call(this);Ea&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],xn,Jn,null).clip().discardPath()),vn.call(this,Ke,be),Ea&&this.pdf.restoreGraphicsState()}this.lineWidth=er}else this.lineWidth=It,vn.call(this,Ke,be),this.lineWidth=er;this.path=Hr},vn=function(Ke,be){if((Ke!=="stroke"||be||!Gt.call(this))&&(Ke==="stroke"||be||!me.call(this))){for(var ce,Je,dt=[],Nt=this.path,$t=0;$t<Nt.length;$t++){var er=Nt[$t];switch(er.type){case"begin":dt.push({begin:!0});break;case"close":dt.push({close:!0});break;case"mt":dt.push({start:er,deltas:[],abs:[]});break;case"lt":var It=dt.length;if(Nt[$t-1]&&!isNaN(Nt[$t-1].x)&&(ce=[er.x-Nt[$t-1].x,er.y-Nt[$t-1].y],It>0)){for(;It>=0;It--)if(dt[It-1].close!==!0&&dt[It-1].begin!==!0){dt[It-1].deltas.push(ce),dt[It-1].abs.push(er);break}}break;case"bct":ce=[er.x1-Nt[$t-1].x,er.y1-Nt[$t-1].y,er.x2-Nt[$t-1].x,er.y2-Nt[$t-1].y,er.x-Nt[$t-1].x,er.y-Nt[$t-1].y],dt[dt.length-1].deltas.push(ce);break;case"qct":var Cr=Nt[$t-1].x+2/3*(er.x1-Nt[$t-1].x),Hr=Nt[$t-1].y+2/3*(er.y1-Nt[$t-1].y),sn=er.x+2/3*(er.x1-er.x),Qr=er.y+2/3*(er.y1-er.y),bt=er.x,xt=er.y;ce=[Cr-Nt[$t-1].x,Hr-Nt[$t-1].y,sn-Nt[$t-1].x,Qr-Nt[$t-1].y,bt-Nt[$t-1].x,xt-Nt[$t-1].y],dt[dt.length-1].deltas.push(ce);break;case"arc":dt.push({deltas:[],abs:[],arc:!0}),Array.isArray(dt[dt.length-1].abs)&&dt[dt.length-1].abs.push(er)}}Je=be?null:Ke==="stroke"?"stroke":"fill";for(var rn=!1,Mn=0;Mn<dt.length;Mn++)if(dt[Mn].arc)for(var zr=dt[Mn].abs,dn=0;dn<zr.length;dn++){var nn=zr[dn];nn.type==="arc"?kt.call(this,nn.x,nn.y,nn.radius,nn.startAngle,nn.endAngle,nn.counterclockwise,void 0,be,!rn):ir.call(this,nn.x,nn.y),rn=!0}else if(dt[Mn].close===!0)this.pdf.internal.out("h"),rn=!1;else if(dt[Mn].begin!==!0){var xn=dt[Mn].start.x,Ln=dt[Mn].start.y;Rt.call(this,dt[Mn].deltas,xn,Ln),rn=!0}Je&&un.call(this,Je),be&&gn.call(this)}},On=function(Ke){var be=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,ce=be*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Ke-ce;case"top":return Ke+be-ce;case"hanging":return Ke+be-2*ce;case"middle":return Ke+be/2-ce;case"ideographic":return Ke;case"alphabetic":default:return Ke}},qr=function(Ke){return Ke+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Ge.prototype.createLinearGradient=function(){var Ke=function(){};return Ke.colorStops=[],Ke.addColorStop=function(be,ce){this.colorStops.push([be,ce])},Ke.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Ke.isCanvasGradient=!0,Ke},Ge.prototype.createPattern=function(){return this.createLinearGradient()},Ge.prototype.createRadialGradient=function(){return this.createLinearGradient()};var kt=function(Ke,be,ce,Je,dt,Nt,$t,er,It){for(var Cr=br.call(this,ce,Je,dt,Nt),Hr=0;Hr<Cr.length;Hr++){var sn=Cr[Hr];Hr===0&&(It?yt.call(this,sn.x1+Ke,sn.y1+be):ir.call(this,sn.x1+Ke,sn.y1+be)),Zr.call(this,Ke,be,sn.x2,sn.y2,sn.x3,sn.y3,sn.x4,sn.y4)}er?gn.call(this):un.call(this,$t)},un=function(Ke){switch(Ke){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},gn=function(){this.pdf.clip(),this.pdf.discardPath()},yt=function(Ke,be){this.pdf.internal.out(d(Ke)+" "+v(be)+" m")},Ct=function(Ke){var be;switch(Ke.align){case"right":case"end":be="right";break;case"center":be="center";break;case"left":case"start":default:be="left"}var ce=this.pdf.getTextDimensions(Ke.text),Je=On.call(this,Ke.y),dt=qr.call(this,Je)-ce.h,Nt=this.ctx.transform.applyToPoint(new B(Ke.x,Je)),$t=this.ctx.transform.decompose(),er=new _;er=(er=(er=er.multiply($t.translate)).multiply($t.skew)).multiply($t.scale);for(var It,Cr,Hr,sn=this.ctx.transform.applyToRectangle(new X(Ke.x,Je,ce.w,ce.h)),Qr=er.applyToRectangle(new X(Ke.x,dt,ce.w,ce.h)),bt=jt.call(this,Qr),xt=[],rn=0;rn<bt.length;rn+=1)xt.indexOf(bt[rn])===-1&&xt.push(bt[rn]);if(wr(xt),this.autoPaging)for(var Mn=xt[0],zr=xt[xt.length-1],dn=Mn;dn<zr+1;dn++){this.pdf.setPage(dn);var nn=dn===1?this.posY+this.margin[0]:this.margin[0],xn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ln=this.pdf.internal.pageSize.height-this.margin[2],qn=Ln-this.margin[0],Jn=this.pdf.internal.pageSize.width-this.margin[1],Qn=Jn-this.margin[3],Fa=dn===1?0:xn+(dn-2)*qn;if(this.ctx.clip_path.length!==0){var Ea=this.path;It=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Zt(It,this.posX+this.margin[3],-1*Fa+nn),vn.call(this,"fill",!0),this.path=Ea}var Xn=Zt([JSON.parse(JSON.stringify(Qr))],this.posX+this.margin[3],-Fa+nn+this.ctx.prevPageLastElemOffset)[0];Ke.scale>=.01&&(Cr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Cr*Ke.scale),Hr=this.lineWidth,this.lineWidth=Hr*Ke.scale);var jn=this.autoPaging!=="text";if(jn||Xn.y+Xn.h<=Ln){if(jn||Xn.y>=nn&&Xn.x<=Jn){var Vn=jn?Ke.text:this.pdf.splitTextToSize(Ke.text,Ke.maxWidth||Jn-Xn.x)[0],ka=Zt([JSON.parse(JSON.stringify(sn))],this.posX+this.margin[3],-Fa+nn+this.ctx.prevPageLastElemOffset)[0],ba=jn&&(dn>Mn||dn<zr)&&oe.call(this);ba&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Qn,qn,null).clip().discardPath()),this.pdf.text(Vn,ka.x,ka.y,{angle:Ke.angle,align:be,renderingMode:Ke.renderingMode}),ba&&this.pdf.restoreGraphicsState()}}else Xn.y<Ln&&(this.ctx.prevPageLastElemOffset+=Ln-Xn.y);Ke.scale>=.01&&(this.pdf.setFontSize(Cr),this.lineWidth=Hr)}else Ke.scale>=.01&&(Cr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Cr*Ke.scale),Hr=this.lineWidth,this.lineWidth=Hr*Ke.scale),this.pdf.text(Ke.text,Nt.x+this.posX,Nt.y+this.posY,{angle:Ke.angle,align:be,renderingMode:Ke.renderingMode,maxWidth:Ke.maxWidth}),Ke.scale>=.01&&(this.pdf.setFontSize(Cr),this.lineWidth=Hr)},ir=function(Ke,be,ce,Je){ce=ce||0,Je=Je||0,this.pdf.internal.out(d(Ke+ce)+" "+v(be+Je)+" l")},Rt=function(Ke,be,ce){return this.pdf.lines(Ke,be,ce,null,null)},Zr=function(Ke,be,ce,Je,dt,Nt,$t,er){this.pdf.internal.out([c(I(ce+Ke)),c(b(Je+be)),c(I(dt+Ke)),c(b(Nt+be)),c(I($t+Ke)),c(b(er+be)),"c"].join(" "))},br=function(Ke,be,ce,Je){for(var dt=2*Math.PI,Nt=Math.PI/2;be>ce;)be-=dt;var $t=Math.abs(ce-be);$t<dt&&Je&&($t=dt-$t);for(var er=[],It=Je?-1:1,Cr=be;$t>1e-5;){var Hr=Cr+It*Math.min($t,Nt);er.push(Br.call(this,Ke,Cr,Hr)),$t-=Math.abs(Hr-Cr),Cr=Hr}return er},Br=function(Ke,be,ce){var Je=(ce-be)/2,dt=Ke*Math.cos(Je),Nt=Ke*Math.sin(Je),$t=dt,er=-Nt,It=$t*$t+er*er,Cr=It+$t*dt+er*Nt,Hr=4/3*(Math.sqrt(2*It*Cr)-Cr)/($t*Nt-er*dt),sn=$t-Hr*er,Qr=er+Hr*$t,bt=sn,xt=-Qr,rn=Je+be,Mn=Math.cos(rn),zr=Math.sin(rn);return{x1:Ke*Math.cos(be),y1:Ke*Math.sin(be),x2:sn*Mn-Qr*zr,y2:sn*zr+Qr*Mn,x3:bt*Mn-xt*zr,y3:bt*zr+xt*Mn,x4:Ke*Math.cos(ce),y4:Ke*Math.sin(ce)}},Fr=function(Ke){return 180*Ke/Math.PI},Xr=function(Ke,be,ce,Je,dt,Nt){var $t=Ke+.5*(ce-Ke),er=be+.5*(Je-be),It=dt+.5*(ce-dt),Cr=Nt+.5*(Je-Nt),Hr=Math.min(Ke,dt,$t,It),sn=Math.max(Ke,dt,$t,It),Qr=Math.min(be,Nt,er,Cr),bt=Math.max(be,Nt,er,Cr);return new X(Hr,Qr,sn-Hr,bt-Qr)},kr=function(Ke,be,ce,Je,dt,Nt,$t,er){var It,Cr,Hr,sn,Qr,bt,xt,rn,Mn,zr,dn,nn,xn,Ln,qn=ce-Ke,Jn=Je-be,Qn=dt-ce,Fa=Nt-Je,Ea=$t-dt,Xn=er-Nt;for(Cr=0;Cr<41;Cr++)Mn=(xt=(Hr=Ke+(It=Cr/40)*qn)+It*((Qr=ce+It*Qn)-Hr))+It*(Qr+It*(dt+It*Ea-Qr)-xt),zr=(rn=(sn=be+It*Jn)+It*((bt=Je+It*Fa)-sn))+It*(bt+It*(Nt+It*Xn-bt)-rn),Cr==0?(dn=Mn,nn=zr,xn=Mn,Ln=zr):(dn=Math.min(dn,Mn),nn=Math.min(nn,zr),xn=Math.max(xn,Mn),Ln=Math.max(Ln,zr));return new X(Math.round(dn),Math.round(nn),Math.round(xn-dn),Math.round(Ln-nn))},Un=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ke,be,ce=(Ke=this.ctx.lineDash,be=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ke,lineDashOffset:be}));this.prevLineDash!==ce&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ce)}}})(k.API),function(p){var c=function(b){var B,X,_,Ce,_e,Ge,nt,me,Gt,oe;for(/[^\x00-\xFF]/.test(b),X=[],_=0,Ce=(b+=B="\0\0\0\0".slice(b.length%4||4)).length;Ce>_;_+=4)(_e=(b.charCodeAt(_)<<24)+(b.charCodeAt(_+1)<<16)+(b.charCodeAt(_+2)<<8)+b.charCodeAt(_+3))!==0?(Ge=(_e=((_e=((_e=((_e=(_e-(oe=_e%85))/85)-(Gt=_e%85))/85)-(me=_e%85))/85)-(nt=_e%85))/85)%85,X.push(Ge+33,nt+33,me+33,Gt+33,oe+33)):X.push(122);return function(jt,lt){for(var Zt=lt;Zt>0;Zt--)jt.pop()}(X,B.length),String.fromCharCode.apply(String,X)+"~>"},d=function(b){var B,X,_,Ce,_e,Ge=String,nt="length",me=255,Gt="charCodeAt",oe="slice",jt="replace";for(b[oe](-2),b=b[oe](0,-2)[jt](/\s/g,"")[jt]("z","!!!!!"),_=[],Ce=0,_e=(b+=B="uuuuu"[oe](b[nt]%5||5))[nt];_e>Ce;Ce+=5)X=52200625*(b[Gt](Ce)-33)+614125*(b[Gt](Ce+1)-33)+7225*(b[Gt](Ce+2)-33)+85*(b[Gt](Ce+3)-33)+(b[Gt](Ce+4)-33),_.push(me&X>>24,me&X>>16,me&X>>8,me&X);return function(lt,Zt){for(var wr=Zt;wr>0;wr--)lt.pop()}(_,B[nt]),Ge.fromCharCode.apply(Ge,_)},v=function(b){var B=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((b=b.replace(/\s/g,"")).indexOf(">")!==-1&&(b=b.substr(0,b.indexOf(">"))),b.length%2&&(b+="0"),B.test(b)===!1)return"";for(var X="",_=0;_<b.length;_+=2)X+=String.fromCharCode("0x"+(b[_]+b[_+1]));return X},I=function(b){for(var B=new Uint8Array(b.length),X=b.length;X--;)B[X]=b.charCodeAt(X);return b=(B=(0,Fe.iZ)(B)).reduce(function(_,Ce){return _+String.fromCharCode(Ce)},"")};p.processDataByFilters=function(b,B){var X=0,_=b||"",Ce=[];for(typeof(B=B||[])=="string"&&(B=[B]),X=0;X<B.length;X+=1)switch(B[X]){case"ASCII85Decode":case"/ASCII85Decode":_=d(_),Ce.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":_=c(_),Ce.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":_=v(_),Ce.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":_=_.split("").map(function(_e){return("0"+_e.charCodeAt().toString(16)).slice(-2)}).join("")+">",Ce.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":_=I(_),Ce.push("/FlateDecode");break;default:throw new Error('The filter: "'+B[X]+'" is not implemented')}return{data:_,reverseChain:Ce.reverse().join(" ")}}}(k.API),function(p){p.loadFile=function(c,d,v){return function(I,b,B){b=b!==!1,B=typeof B=="function"?B:function(){};var X=void 0;try{X=function(_,Ce,_e){var Ge=new XMLHttpRequest,nt=0,me=function(Gt){var oe=Gt.length,jt=[],lt=String.fromCharCode;for(nt=0;nt<oe;nt+=1)jt.push(lt(255&Gt.charCodeAt(nt)));return jt.join("")};if(Ge.open("GET",_,!Ce),Ge.overrideMimeType("text/plain; charset=x-user-defined"),Ce===!1&&(Ge.onload=function(){Ge.status===200?_e(me(this.responseText)):_e(void 0)}),Ge.send(null),Ce&&Ge.status===200)return me(Ge.responseText)}(I,b,B)}catch(_){}return X}(c,d,v)},p.loadImageFile=p.loadFile}(k.API),function(p){function c(){return($.html2canvas?Promise.resolve($.html2canvas):Promise.resolve().then(a.t.bind(a,46020,23))).catch(function(B){return Promise.reject(new Error("Could not load html2canvas: "+B))}).then(function(B){return B.default?B.default:B})}function d(){return($.DOMPurify?Promise.resolve($.DOMPurify):a.e(3326).then(a.t.bind(a,3326,23))).catch(function(B){return Promise.reject(new Error("Could not load dompurify: "+B))}).then(function(B){return B.default?B.default:B})}var v=function(B){var X=(0,t.Z)(B);return X==="undefined"?"undefined":X==="string"||B instanceof String?"string":X==="number"||B instanceof Number?"number":X==="function"||B instanceof Function?"function":B&&B.constructor===Array?"array":B&&B.nodeType===1?"element":X==="object"?"object":"unknown"},I=function(B,X){var _=document.createElement(B);for(var Ce in X.className&&(_.className=X.className),X.innerHTML&&X.dompurify&&(_.innerHTML=X.dompurify.sanitize(X.innerHTML)),X.style)_.style[Ce]=X.style[Ce];return _},b=function B(X){var _=Object.assign(B.convert(Promise.resolve()),JSON.parse(JSON.stringify(B.template))),Ce=B.convert(Promise.resolve(),_);return Ce=(Ce=Ce.setProgress(1,B,1,[B])).set(X)};(b.prototype=Object.create(Promise.prototype)).constructor=b,b.convert=function(B,X){return B.__proto__=X||b.prototype,B},b.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"}},b.prototype.from=function(B,X){return this.then(function(){switch(X=X||function(_){switch(v(_)){case"string":return"string";case"element":return _.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(B)){case"string":return this.then(d).then(function(_){return this.set({src:I("div",{innerHTML:B,dompurify:_})})});case"element":return this.set({src:B});case"canvas":return this.set({canvas:B});case"img":return this.set({img:B});default:return this.error("Unknown source type.")}})},b.prototype.to=function(B){switch(B){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.")}},b.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 B={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},X=function _(Ce,_e){for(var Ge=Ce.nodeType===3?document.createTextNode(Ce.nodeValue):Ce.cloneNode(!1),nt=Ce.firstChild;nt;nt=nt.nextSibling)_e!==!0&&nt.nodeType===1&&nt.nodeName==="SCRIPT"||Ge.appendChild(_(nt,_e));return Ce.nodeType===1&&(Ce.nodeName==="CANVAS"?(Ge.width=Ce.width,Ge.height=Ce.height,Ge.getContext("2d").drawImage(Ce,0,0)):Ce.nodeName!=="TEXTAREA"&&Ce.nodeName!=="SELECT"||(Ge.value=Ce.value),Ge.addEventListener("load",function(){Ge.scrollTop=Ce.scrollTop,Ge.scrollLeft=Ce.scrollLeft},!0)),Ge}(this.prop.src,this.opt.html2canvas.javascriptEnabled);X.tagName==="BODY"&&(B.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=I("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=I("div",{className:"html2pdf__container",style:B}),this.prop.container.appendChild(X),this.prop.container.firstChild.appendChild(I("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"})},b.prototype.toCanvas=function(){var B=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(B).then(c).then(function(X){var _=Object.assign({},this.opt.html2canvas);return delete _.onrendered,X(this.prop.container,_)}).then(function(X){(this.opt.html2canvas.onrendered||function(){})(X),this.prop.canvas=X,document.body.removeChild(this.prop.overlay)})},b.prototype.toContext2d=function(){var B=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(B).then(c).then(function(X){var _=this.opt.jsPDF,Ce=this.opt.fontFaces,_e=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,Ge=Object.assign({async:!0,allowTaint:!0,scale:_e,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 Ge.onrendered,_.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,_.context2d.posX=this.opt.x,_.context2d.posY=this.opt.y,_.context2d.margin=this.opt.margin,_.context2d.fontFaces=Ce,Ce)for(var nt=0;nt<Ce.length;++nt){var me=Ce[nt],Gt=me.src.find(function(oe){return oe.format==="truetype"});Gt&&_.addFont(Gt.url,me.ref.name,me.ref.style)}return Ge.windowHeight=Ge.windowHeight||0,Ge.windowHeight=Ge.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Ge.windowHeight,_.context2d.save(!0),X(this.prop.container,Ge)}).then(function(X){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(X),this.prop.canvas=X,document.body.removeChild(this.prop.overlay)})},b.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var B=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=B})},b.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},b.prototype.output=function(B,X,_){return(_=_||"pdf").toLowerCase()==="img"||_.toLowerCase()==="image"?this.outputImg(B,X):this.outputPdf(B,X)},b.prototype.outputPdf=function(B,X){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(B,X)})},b.prototype.outputImg=function(B){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(B){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 "'+B+'" is not supported.'}})},b.prototype.save=function(B){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(B?{filename:B}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},b.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},b.prototype.set=function(B){if(v(B)!=="object")return this;var X=Object.keys(B||{}).map(function(_){if(_ in b.template.prop)return function(){this.prop[_]=B[_]};switch(_){case"margin":return this.setMargin.bind(this,B.margin);case"jsPDF":return function(){return this.opt.jsPDF=B.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,B.pageSize);default:return function(){this.opt[_]=B[_]}}},this);return this.then(function(){return this.thenList(X)})},b.prototype.get=function(B,X){return this.then(function(){var _=B in b.template.prop?this.prop[B]:this.opt[B];return X?X(_):_})},b.prototype.setMargin=function(B){return this.then(function(){switch(v(B)){case"number":B=[B,B,B,B];case"array":if(B.length===2&&(B=[B[0],B[1],B[0],B[1]]),B.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=B}).then(this.setPageSize)},b.prototype.setPageSize=function(B){function X(_,Ce){return Math.floor(_*Ce/72*96)}return this.then(function(){(B=B||k.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(B.inner={width:B.width-this.opt.margin[1]-this.opt.margin[3],height:B.height-this.opt.margin[0]-this.opt.margin[2]},B.inner.px={width:X(B.inner.width,B.k),height:X(B.inner.height,B.k)},B.inner.ratio=B.inner.height/B.inner.width),this.prop.pageSize=B})},b.prototype.setProgress=function(B,X,_,Ce){return B!=null&&(this.progress.val=B),X!=null&&(this.progress.state=X),_!=null&&(this.progress.n=_),Ce!=null&&(this.progress.stack=Ce),this.progress.ratio=this.progress.val/this.progress.state,this},b.prototype.updateProgress=function(B,X,_,Ce){return this.setProgress(B?this.progress.val+B:null,X||null,_?this.progress.n+_:null,Ce?this.progress.stack.concat(Ce):null)},b.prototype.then=function(B,X){var _=this;return this.thenCore(B,X,function(Ce,_e){return _.updateProgress(null,null,1,[Ce]),Promise.prototype.then.call(this,function(Ge){return _.updateProgress(null,Ce),Ge}).then(Ce,_e).then(function(Ge){return _.updateProgress(1),Ge})})},b.prototype.thenCore=function(B,X,_){_=_||Promise.prototype.then,B&&(B=B.bind(this)),X&&(X=X.bind(this));var Ce=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:b.convert(Object.assign({},this),Promise.prototype),_e=_.call(Ce,B,X);return b.convert(_e,this.__proto__)},b.prototype.thenExternal=function(B,X){return Promise.prototype.then.call(this,B,X)},b.prototype.thenList=function(B){var X=this;return B.forEach(function(_){X=X.thenCore(_)}),X},b.prototype.catch=function(B){B&&(B=B.bind(this));var X=Promise.prototype.catch.call(this,B);return b.convert(X,this)},b.prototype.catchExternal=function(B){return Promise.prototype.catch.call(this,B)},b.prototype.error=function(B){return this.then(function(){throw new Error(B)})},b.prototype.using=b.prototype.set,b.prototype.saveAs=b.prototype.save,b.prototype.export=b.prototype.output,b.prototype.run=b.prototype.then,k.getPageSize=function(B,X,_){if((0,t.Z)(B)==="object"){var Ce=B;B=Ce.orientation,X=Ce.unit||X,_=Ce.format||_}X=X||"mm",_=_||"a4",B=(""+(B||"P")).toLowerCase();var _e,Ge=(""+_).toLowerCase(),nt={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(X){case"pt":_e=1;break;case"mm":_e=72/25.4;break;case"cm":_e=72/2.54;break;case"in":_e=72;break;case"px":_e=.75;break;case"pc":case"em":_e=12;break;case"ex":_e=6;break;default:throw"Invalid unit: "+X}var me,Gt=0,oe=0;if(nt.hasOwnProperty(Ge))Gt=nt[Ge][1]/_e,oe=nt[Ge][0]/_e;else try{Gt=_[1],oe=_[0]}catch(jt){throw new Error("Invalid format: "+_)}if(B==="p"||B==="portrait")B="p",oe>Gt&&(me=oe,oe=Gt,Gt=me);else{if(B!=="l"&&B!=="landscape")throw"Invalid orientation: "+B;B="l",Gt>oe&&(me=oe,oe=Gt,Gt=me)}return{width:oe,height:Gt,unit:X,k:_e,orientation:B}},p.html=function(B,X){(X=X||{}).callback=X.callback||function(){},X.html2canvas=X.html2canvas||{},X.html2canvas.canvas=X.html2canvas.canvas||this.canvas,X.jsPDF=X.jsPDF||this,X.fontFaces=X.fontFaces?X.fontFaces.map(yn):null;var _=new b(X);return X.worker?_:_.from(B).doCallback()}}(k.API),k.API.addJS=function(p){return st=p,this.internal.events.subscribe("postPutResources",function(){ot=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ot+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ie=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+st+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ot!==void 0&&Ie!==void 0&&this.internal.out("/Names <</JavaScript "+ot+" 0 R>>")}),this},function(p){var c;p.events.push(["postPutResources",function(){var d=this,v=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var I=d.outline.render().split(/\r\n/),b=0;b<I.length;b++){var B=I[b],X=v.exec(B);if(X!=null){var _=X[1];d.internal.newObjectDeferredBegin(_,!1)}d.internal.write(B)}if(this.outline.createNamedDestinations){var Ce=this.internal.pages.length,_e=[];for(b=0;b<Ce;b++){var Ge=d.internal.newObject();_e.push(Ge);var nt=d.internal.getPageInfo(b+1);d.internal.write("<< /D["+nt.objId+" 0 R /XYZ null null null]>> endobj")}var me=d.internal.newObject();for(d.internal.write("<< /Names [ "),b=0;b<_e.length;b++)d.internal.write("(page_"+(b+1)+")"+_e[b]+" 0 R");d.internal.write(" ] >>","endobj"),c=d.internal.newObject(),d.internal.write("<< /Dests "+me+" 0 R"),d.internal.write(">>","endobj")}}]),p.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+c+" 0 R"))}]),p.events.push(["initialized",function(){var d=this;d.outline={createNamedDestinations:!1,root:{children:[]}},d.outline.add=function(v,I,b){var B={title:I,options:b,children:[]};return v==null&&(v=this.root),v.children.push(B),B},d.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=d,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},d.outline.genIds_r=function(v){v.id=d.internal.newObjectDeferred();for(var I=0;I<v.children.length;I++)this.genIds_r(v.children[I])},d.outline.renderRoot=function(v){this.objStart(v),this.line("/Type /Outlines"),v.children.length>0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1]))),this.line("/Count "+this.count_r({count:0},v)),this.objEnd()},d.outline.renderItems=function(v){for(var I=this.ctx.pdf.internal.getVerticalCoordinateString,b=0;b<v.children.length;b++){var B=v.children[b];this.objStart(B),this.line("/Title "+this.makeString(B.title)),this.line("/Parent "+this.makeRef(v)),b>0&&this.line("/Prev "+this.makeRef(v.children[b-1])),b<v.children.length-1&&this.line("/Next "+this.makeRef(v.children[b+1])),B.children.length>0&&(this.line("/First "+this.makeRef(B.children[0])),this.line("/Last "+this.makeRef(B.children[B.children.length-1])));var X=this.count=this.count_r({count:0},B);if(X>0&&this.line("/Count "+X),B.options&&B.options.pageNumber){var _=d.internal.getPageInfo(B.options.pageNumber);this.line("/Dest ["+_.objId+" 0 R /XYZ 0 "+I(0)+" 0]")}this.objEnd()}for(var Ce=0;Ce<v.children.length;Ce++)this.renderItems(v.children[Ce])},d.outline.line=function(v){this.ctx.val+=v+`\r
|
|
|
`},d.outline.makeRef=function(v){return v.id+" 0 R"},d.outline.makeString=function(v){return"("+d.internal.pdfEscape(v)+")"},d.outline.objStart=function(v){this.ctx.val+=`\r
|
|
|
`+v.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},d.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},d.outline.count_r=function(v,I){for(var b=0;b<I.children.length;b++)v.count++,this.count_r(v,I.children[b]);return v.count}}])}(k.API),function(p){var c=[192,193,194,195,196,197,198,199];p.processJPEG=function(d,v,I,b,B,X){var _,Ce=this.decode.DCT_DECODE,_e=null;if(typeof d=="string"||this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d)){switch(d=B||d,d=this.__addimage__.isArrayBuffer(d)?new Uint8Array(d):d,(_=function(Ge){for(var nt,me=256*Ge.charCodeAt(4)+Ge.charCodeAt(5),Gt=Ge.length,oe={width:0,height:0,numcomponents:1},jt=4;jt<Gt;jt+=2){if(jt+=me,c.indexOf(Ge.charCodeAt(jt+1))!==-1){nt=256*Ge.charCodeAt(jt+5)+Ge.charCodeAt(jt+6),oe={width:256*Ge.charCodeAt(jt+7)+Ge.charCodeAt(jt+8),height:nt,numcomponents:Ge.charCodeAt(jt+9)};break}me=256*Ge.charCodeAt(jt+2)+Ge.charCodeAt(jt+3)}return oe}(d=this.__addimage__.isArrayBufferView(d)?this.__addimage__.arrayBufferToBinaryString(d):d)).numcomponents){case 1:X=this.color_spaces.DEVICE_GRAY;break;case 4:X=this.color_spaces.DEVICE_CMYK;break;case 3:X=this.color_spaces.DEVICE_RGB}_e={data:d,width:_.width,height:_.height,colorSpace:X,bitsPerComponent:8,filter:Ce,index:v,alias:I}}return _e}}(k.API);var rr,fr,ht,ln,pe,qt=function(){var p,c,d;function v(b){var B,X,_,Ce,_e,Ge,nt,me,Gt,oe,jt,lt,Zt,wr;for(this.data=b,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Ge=null;;){switch(B=this.readUInt32(),Gt=function(){var cn,vn;for(vn=[],cn=0;cn<4;++cn)vn.push(String.fromCharCode(this.data[this.pos++]));return vn}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(B);break;case"fcTL":Ge&&this.animation.frames.push(Ge),this.pos+=4,Ge={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},_e=this.readUInt16(),Ce=this.readUInt16()||100,Ge.delay=1e3*_e/Ce,Ge.disposeOp=this.data[this.pos++],Ge.blendOp=this.data[this.pos++],Ge.data=[];break;case"IDAT":case"fdAT":for(Gt==="fdAT"&&(this.pos+=4,B-=4),b=(Ge!=null?Ge.data:void 0)||this.imgData,lt=0;0<=B?lt<B:lt>B;0<=B?++lt:--lt)b.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(_=this.palette.length/3,this.transparency.indexed=this.read(B),this.transparency.indexed.length>_)throw new Error("More transparent colors than palette size");if((oe=_-this.transparency.indexed.length)>0)for(Zt=0;0<=oe?Zt<oe:Zt>oe;0<=oe?++Zt:--Zt)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(B)[0];break;case 2:this.transparency.rgb=this.read(B)}break;case"tEXt":nt=(jt=this.read(B)).indexOf(0),me=String.fromCharCode.apply(String,jt.slice(0,nt)),this.text[me]=String.fromCharCode.apply(String,jt.slice(nt+1));break;case"IEND":return Ge&&this.animation.frames.push(Ge),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(wr=this.colorType)===4||wr===6,X=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*X,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=B}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}v.prototype.read=function(b){var B,X;for(X=[],B=0;0<=b?B<b:B>b;0<=b?++B:--B)X.push(this.data[this.pos++]);return X},v.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},v.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},v.prototype.decodePixels=function(b){var B=this.pixelBitlength/8,X=new Uint8Array(this.width*this.height*B),_=0,Ce=this;if(b==null&&(b=this.imgData),b.length===0)return new Uint8Array(0);function _e(Ge,nt,me,Gt){var oe,jt,lt,Zt,wr,cn,vn,On,qr,kt,un,gn,yt,Ct,ir,Rt,Zr,br,Br,Fr,Xr,kr=Math.ceil((Ce.width-Ge)/me),Un=Math.ceil((Ce.height-nt)/Gt),Ke=Ce.width==kr&&Ce.height==Un;for(Ct=B*kr,gn=Ke?X:new Uint8Array(Ct*Un),cn=b.length,yt=0,jt=0;yt<Un&&_<cn;){switch(b[_++]){case 0:for(Zt=Zr=0;Zr<Ct;Zt=Zr+=1)gn[jt++]=b[_++];break;case 1:for(Zt=br=0;br<Ct;Zt=br+=1)oe=b[_++],wr=Zt<B?0:gn[jt-B],gn[jt++]=(oe+wr)%256;break;case 2:for(Zt=Br=0;Br<Ct;Zt=Br+=1)oe=b[_++],lt=(Zt-Zt%B)/B,ir=yt&&gn[(yt-1)*Ct+lt*B+Zt%B],gn[jt++]=(ir+oe)%256;break;case 3:for(Zt=Fr=0;Fr<Ct;Zt=Fr+=1)oe=b[_++],lt=(Zt-Zt%B)/B,wr=Zt<B?0:gn[jt-B],ir=yt&&gn[(yt-1)*Ct+lt*B+Zt%B],gn[jt++]=(oe+Math.floor((wr+ir)/2))%256;break;case 4:for(Zt=Xr=0;Xr<Ct;Zt=Xr+=1)oe=b[_++],lt=(Zt-Zt%B)/B,wr=Zt<B?0:gn[jt-B],yt===0?ir=Rt=0:(ir=gn[(yt-1)*Ct+lt*B+Zt%B],Rt=lt&&gn[(yt-1)*Ct+(lt-1)*B+Zt%B]),vn=wr+ir-Rt,On=Math.abs(vn-wr),kt=Math.abs(vn-ir),un=Math.abs(vn-Rt),qr=On<=kt&&On<=un?wr:kt<=un?ir:Rt,gn[jt++]=(oe+qr)%256;break;default:throw new Error("Invalid filter algorithm: "+b[_-1])}if(!Ke){var be=((nt+yt*Gt)*Ce.width+Ge)*B,ce=yt*Ct;for(Zt=0;Zt<kr;Zt+=1){for(var Je=0;Je<B;Je+=1)X[be++]=gn[ce++];be+=(me-1)*B}}yt++}}return b=(0,Fe.HT)(b),Ce.interlaceMethod==1?(_e(0,0,8,8),_e(4,0,8,8),_e(0,4,4,8),_e(2,0,4,4),_e(0,2,2,4),_e(1,0,2,2),_e(0,1,1,2)):_e(0,0,1,1),X},v.prototype.decodePalette=function(){var b,B,X,_,Ce,_e,Ge,nt,me;for(X=this.palette,_e=this.transparency.indexed||[],Ce=new Uint8Array((_e.length||0)+X.length),_=0,b=0,B=Ge=0,nt=X.length;Ge<nt;B=Ge+=3)Ce[_++]=X[B],Ce[_++]=X[B+1],Ce[_++]=X[B+2],Ce[_++]=(me=_e[b++])!=null?me:255;return Ce},v.prototype.copyToImageData=function(b,B){var X,_,Ce,_e,Ge,nt,me,Gt,oe,jt,lt;if(_=this.colors,oe=null,X=this.hasAlphaChannel,this.palette.length&&(oe=(lt=this._decodedPalette)!=null?lt:this._decodedPalette=this.decodePalette(),_=4,X=!0),Gt=(Ce=b.data||b).length,Ge=oe||B,_e=nt=0,_===1)for(;_e<Gt;)me=oe?4*B[_e/4]:nt,jt=Ge[me++],Ce[_e++]=jt,Ce[_e++]=jt,Ce[_e++]=jt,Ce[_e++]=X?Ge[me++]:255,nt=me;else for(;_e<Gt;)me=oe?4*B[_e/4]:nt,Ce[_e++]=Ge[me++],Ce[_e++]=Ge[me++],Ce[_e++]=Ge[me++],Ce[_e++]=X?Ge[me++]:255,nt=me},v.prototype.decode=function(){var b;return b=new Uint8Array(this.width*this.height*4),this.copyToImageData(b,this.decodePixels()),b};var I=function(){if(Object.prototype.toString.call($)==="[object Window]"){try{c=$.document.createElement("canvas"),d=c.getContext("2d")}catch(b){return!1}return!0}return!1};return I(),p=function(b){var B;if(I()===!0)return d.width=b.width,d.height=b.height,d.clearRect(0,0,b.width,b.height),d.putImageData(b,0,0),(B=new Image).src=c.toDataURL(),B;throw new Error("This method requires a Browser with Canvas-capability.")},v.prototype.decodeFrames=function(b){var B,X,_,Ce,_e,Ge,nt,me;if(this.animation){for(me=[],X=_e=0,Ge=(nt=this.animation.frames).length;_e<Ge;X=++_e)B=nt[X],_=b.createImageData(B.width,B.height),Ce=this.decodePixels(new Uint8Array(B.data)),this.copyToImageData(_,Ce),B.imageData=_,me.push(B.image=p(_));return me}},v.prototype.renderFrame=function(b,B){var X,_,Ce;return X=(_=this.animation.frames)[B],Ce=_[B-1],B===0&&b.clearRect(0,0,this.width,this.height),(Ce!=null?Ce.disposeOp:void 0)===1?b.clearRect(Ce.xOffset,Ce.yOffset,Ce.width,Ce.height):(Ce!=null?Ce.disposeOp:void 0)===2&&b.putImageData(Ce.imageData,Ce.xOffset,Ce.yOffset),X.blendOp===0&&b.clearRect(X.xOffset,X.yOffset,X.width,X.height),b.drawImage(X.image,X.xOffset,X.yOffset)},v.prototype.animate=function(b){var B,X,_,Ce,_e,Ge,nt=this;return X=0,Ge=this.animation,Ce=Ge.numFrames,_=Ge.frames,_e=Ge.numPlays,(B=function(){var me,Gt;if(me=X++%Ce,Gt=_[me],nt.renderFrame(b,me),Ce>1&&X/Ce<_e)return nt.animation._timeout=setTimeout(B,Gt.delay)})()},v.prototype.stopAnimation=function(){var b;return clearTimeout((b=this.animation)!=null?b._timeout:void 0)},v.prototype.render=function(b){var B,X;return b._png&&b._png.stopAnimation(),b._png=this,b.width=this.width,b.height=this.height,B=b.getContext("2d"),this.animation?(this.decodeFrames(B),this.animate(B)):(X=B.createImageData(this.width,this.height),this.copyToImageData(X,this.decodePixels()),B.putImageData(X,0,0))},v}();function gr(p){var c=0;if(p[c++]!==71||p[c++]!==73||p[c++]!==70||p[c++]!==56||(p[c++]+1&253)!=56||p[c++]!==97)throw new Error("Invalid GIF 87a/89a header.");var d=p[c++]|p[c++]<<8,v=p[c++]|p[c++]<<8,I=p[c++],b=I>>7,B=1<<(7&I)+1;p[c++],p[c++];var X=null,_=null;b&&(X=c,_=B,c+=3*B);var Ce=!0,_e=[],Ge=0,nt=null,me=0,Gt=null;for(this.width=d,this.height=v;Ce&&c<p.length;)switch(p[c++]){case 33:switch(p[c++]){case 255:if(p[c]!==11||p[c+1]==78&&p[c+2]==69&&p[c+3]==84&&p[c+4]==83&&p[c+5]==67&&p[c+6]==65&&p[c+7]==80&&p[c+8]==69&&p[c+9]==50&&p[c+10]==46&&p[c+11]==48&&p[c+12]==3&&p[c+13]==1&&p[c+16]==0)c+=14,Gt=p[c++]|p[c++]<<8,c++;else for(c+=12;;){if(!((yt=p[c++])>=0))throw Error("Invalid block size");if(yt===0)break;c+=yt}break;case 249:if(p[c++]!==4||p[c+4]!==0)throw new Error("Invalid graphics extension block.");var oe=p[c++];Ge=p[c++]|p[c++]<<8,nt=p[c++],!(1&oe)&&(nt=null),me=oe>>2&7,c++;break;case 254:for(;;){if(!((yt=p[c++])>=0))throw Error("Invalid block size");if(yt===0)break;c+=yt}break;default:throw new Error("Unknown graphic control label: 0x"+p[c-1].toString(16))}break;case 44:var jt=p[c++]|p[c++]<<8,lt=p[c++]|p[c++]<<8,Zt=p[c++]|p[c++]<<8,wr=p[c++]|p[c++]<<8,cn=p[c++],vn=cn>>6&1,On=1<<(7&cn)+1,qr=X,kt=_,un=!1;cn>>7&&(un=!0,qr=c,kt=On,c+=3*On);var gn=c;for(c++;;){var yt;if(!((yt=p[c++])>=0))throw Error("Invalid block size");if(yt===0)break;c+=yt}_e.push({x:jt,y:lt,width:Zt,height:wr,has_local_palette:un,palette_offset:qr,palette_size:kt,data_offset:gn,data_length:c-gn,transparent_index:nt,interlaced:!!vn,delay:Ge,disposal:me});break;case 59:Ce=!1;break;default:throw new Error("Unknown gif block: 0x"+p[c-1].toString(16))}this.numFrames=function(){return _e.length},this.loopCount=function(){return Gt},this.frameInfo=function(Ct){if(Ct<0||Ct>=_e.length)throw new Error("Frame index out of range.");return _e[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,ir){var Rt=this.frameInfo(Ct),Zr=Rt.width*Rt.height,br=new Uint8Array(Zr);$r(p,Rt.data_offset,br,Zr);var Br=Rt.palette_offset,Fr=Rt.transparent_index;Fr===null&&(Fr=256);var Xr=Rt.width,kr=d-Xr,Un=Xr,Ke=4*(Rt.y*d+Rt.x),be=4*((Rt.y+Rt.height)*d+Rt.x),ce=Ke,Je=4*kr;Rt.interlaced===!0&&(Je+=4*d*7);for(var dt=8,Nt=0,$t=br.length;Nt<$t;++Nt){var er=br[Nt];if(Un===0&&(Un=Xr,(ce+=Je)>=be&&(Je=4*kr+4*d*(dt-1),ce=Ke+(Xr+kr)*(dt<<1),dt>>=1)),er===Fr)ce+=4;else{var It=p[Br+3*er],Cr=p[Br+3*er+1],Hr=p[Br+3*er+2];ir[ce++]=Hr,ir[ce++]=Cr,ir[ce++]=It,ir[ce++]=255}--Un}},this.decodeAndBlitFrameRGBA=function(Ct,ir){var Rt=this.frameInfo(Ct),Zr=Rt.width*Rt.height,br=new Uint8Array(Zr);$r(p,Rt.data_offset,br,Zr);var Br=Rt.palette_offset,Fr=Rt.transparent_index;Fr===null&&(Fr=256);var Xr=Rt.width,kr=d-Xr,Un=Xr,Ke=4*(Rt.y*d+Rt.x),be=4*((Rt.y+Rt.height)*d+Rt.x),ce=Ke,Je=4*kr;Rt.interlaced===!0&&(Je+=4*d*7);for(var dt=8,Nt=0,$t=br.length;Nt<$t;++Nt){var er=br[Nt];if(Un===0&&(Un=Xr,(ce+=Je)>=be&&(Je=4*kr+4*d*(dt-1),ce=Ke+(Xr+kr)*(dt<<1),dt>>=1)),er===Fr)ce+=4;else{var It=p[Br+3*er],Cr=p[Br+3*er+1],Hr=p[Br+3*er+2];ir[ce++]=It,ir[ce++]=Cr,ir[ce++]=Hr,ir[ce++]=255}--Un}}}function $r(p,c,d,v){for(var I=p[c++],b=1<<I,B=b+1,X=B+1,_=I+1,Ce=(1<<_)-1,_e=0,Ge=0,nt=0,me=p[c++],Gt=new Int32Array(4096),oe=null;;){for(;_e<16&&me!==0;)Ge|=p[c++]<<_e,_e+=8,me===1?me=p[c++]:--me;if(_e<_)break;var jt=Ge&Ce;if(Ge>>=_,_e-=_,jt!==b){if(jt===B)break;for(var lt=jt<X?jt:oe,Zt=0,wr=lt;wr>b;)wr=Gt[wr]>>8,++Zt;var cn=wr;if(nt+Zt+(lt!==jt?1:0)>v)return void G.log("Warning, gif stream longer than expected.");d[nt++]=cn;var vn=nt+=Zt;for(lt!==jt&&(d[nt++]=cn),wr=lt;Zt--;)wr=Gt[wr],d[--vn]=255&wr,wr>>=8;oe!==null&&X<4096&&(Gt[X++]=oe<<8|cn,X>=Ce+1&&_<12&&(++_,Ce=Ce<<1|1)),oe=jt}else X=B+1,Ce=(1<<(_=I+1))-1,oe=null}return nt!==v&&G.log("Warning, gif stream shorter than expected."),d}function tn(p){var c,d,v,I,b,B=Math.floor,X=new Array(64),_=new Array(64),Ce=new Array(64),_e=new Array(64),Ge=new Array(65535),nt=new Array(65535),me=new Array(64),Gt=new Array(64),oe=[],jt=0,lt=7,Zt=new Array(64),wr=new Array(64),cn=new Array(64),vn=new Array(256),On=new Array(2048),qr=[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],kt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],un=[0,1,2,3,4,5,6,7,8,9,10,11],gn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],yt=[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],Ct=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ir=[0,1,2,3,4,5,6,7,8,9,10,11],Rt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Zr=[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 br(Ke,be){for(var ce=0,Je=0,dt=new Array,Nt=1;Nt<=16;Nt++){for(var $t=1;$t<=Ke[Nt];$t++)dt[be[Je]]=[],dt[be[Je]][0]=ce,dt[be[Je]][1]=Nt,Je++,ce++;ce*=2}return dt}function Br(Ke){for(var be=Ke[0],ce=Ke[1]-1;ce>=0;)be&1<<ce&&(jt|=1<<lt),ce--,--lt<0&&(jt==255?(Fr(255),Fr(0)):Fr(jt),lt=7,jt=0)}function Fr(Ke){oe.push(Ke)}function Xr(Ke){Fr(Ke>>8&255),Fr(255&Ke)}function kr(Ke,be,ce,Je,dt){for(var Nt,$t=dt[0],er=dt[240],It=function(zr,dn){var nn,xn,Ln,qn,Jn,Qn,Fa,Ea,Xn,jn,Vn=0;for(Xn=0;Xn<8;++Xn){nn=zr[Vn],xn=zr[Vn+1],Ln=zr[Vn+2],qn=zr[Vn+3],Jn=zr[Vn+4],Qn=zr[Vn+5],Fa=zr[Vn+6];var ka=nn+(Ea=zr[Vn+7]),ba=nn-Ea,ho=xn+Fa,Va=xn-Fa,Ha=Ln+Qn,Yo=Ln-Qn,na=qn+Jn,gi=qn-Jn,ro=ka+na,qo=ka-na,Jo=ho+Ha,_a=ho-Ha;zr[Vn]=ro+Jo,zr[Vn+4]=ro-Jo;var Sa=.707106781*(_a+qo);zr[Vn+2]=qo+Sa,zr[Vn+6]=qo-Sa;var mo=.382683433*((ro=gi+Yo)-(_a=Va+ba)),oi=.5411961*ro+mo,lo=1.306562965*_a+mo,Go=.707106781*(Jo=Yo+Va),ii=ba+Go,Dn=ba-Go;zr[Vn+5]=Dn+oi,zr[Vn+3]=Dn-oi,zr[Vn+1]=ii+lo,zr[Vn+7]=ii-lo,Vn+=8}for(Vn=0,Xn=0;Xn<8;++Xn){nn=zr[Vn],xn=zr[Vn+8],Ln=zr[Vn+16],qn=zr[Vn+24],Jn=zr[Vn+32],Qn=zr[Vn+40],Fa=zr[Vn+48];var Xa=nn+(Ea=zr[Vn+56]),ia=nn-Ea,aa=xn+Fa,Aa=xn-Fa,za=Ln+Qn,Io=Ln-Qn,No=qn+Jn,ei=qn-Jn,di=Xa+No,sa=Xa-No,Ua=aa+za,go=aa-za;zr[Vn]=di+Ua,zr[Vn+32]=di-Ua;var wo=.707106781*(go+sa);zr[Vn+16]=sa+wo,zr[Vn+48]=sa-wo;var Ko=.382683433*((di=ei+Io)-(go=Aa+ia)),si=.5411961*di+Ko,Bo=1.306562965*go+Ko,Ni=.707106781*(Ua=Io+Aa),Mi=ia+Ni,co=ia-Ni;zr[Vn+40]=co+si,zr[Vn+24]=co-si,zr[Vn+8]=Mi+Bo,zr[Vn+56]=Mi-Bo,Vn++}for(Xn=0;Xn<64;++Xn)jn=zr[Xn]*dn[Xn],me[Xn]=jn>0?jn+.5|0:jn-.5|0;return me}(Ke,be),Cr=0;Cr<64;++Cr)Gt[qr[Cr]]=It[Cr];var Hr=Gt[0]-ce;ce=Gt[0],Hr==0?Br(Je[0]):(Br(Je[nt[Nt=32767+Hr]]),Br(Ge[Nt]));for(var sn=63;sn>0&&Gt[sn]==0;)sn--;if(sn==0)return Br($t),ce;for(var Qr,bt=1;bt<=sn;){for(var xt=bt;Gt[bt]==0&&bt<=sn;)++bt;var rn=bt-xt;if(rn>=16){Qr=rn>>4;for(var Mn=1;Mn<=Qr;++Mn)Br(er);rn&=15}Nt=32767+Gt[bt],Br(dt[(rn<<4)+nt[Nt]]),Br(Ge[Nt]),bt++}return sn!=63&&Br($t),ce}function Un(Ke){Ke=Math.min(Math.max(Ke,1),100),b!=Ke&&(function(be){for(var ce=[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],Je=0;Je<64;Je++){var dt=B((ce[Je]*be+50)/100);dt=Math.min(Math.max(dt,1),255),X[qr[Je]]=dt}for(var Nt=[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],$t=0;$t<64;$t++){var er=B((Nt[$t]*be+50)/100);er=Math.min(Math.max(er,1),255),_[qr[$t]]=er}for(var It=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Cr=0,Hr=0;Hr<8;Hr++)for(var sn=0;sn<8;sn++)Ce[Cr]=1/(X[qr[Cr]]*It[Hr]*It[sn]*8),_e[Cr]=1/(_[qr[Cr]]*It[Hr]*It[sn]*8),Cr++}(Ke<50?Math.floor(5e3/Ke):Math.floor(200-2*Ke)),b=Ke)}this.encode=function(Ke,be){be&&Un(be),oe=new Array,jt=0,lt=7,Xr(65496),Xr(65504),Xr(16),Fr(74),Fr(70),Fr(73),Fr(70),Fr(0),Fr(1),Fr(1),Fr(0),Xr(1),Xr(1),Fr(0),Fr(0),function(){Xr(65499),Xr(132),Fr(0);for(var xn=0;xn<64;xn++)Fr(X[xn]);Fr(1);for(var Ln=0;Ln<64;Ln++)Fr(_[Ln])}(),function(xn,Ln){Xr(65472),Xr(17),Fr(8),Xr(Ln),Xr(xn),Fr(3),Fr(1),Fr(17),Fr(0),Fr(2),Fr(17),Fr(1),Fr(3),Fr(17),Fr(1)}(Ke.width,Ke.height),function(){Xr(65476),Xr(418),Fr(0);for(var xn=0;xn<16;xn++)Fr(kt[xn+1]);for(var Ln=0;Ln<=11;Ln++)Fr(un[Ln]);Fr(16);for(var qn=0;qn<16;qn++)Fr(gn[qn+1]);for(var Jn=0;Jn<=161;Jn++)Fr(yt[Jn]);Fr(1);for(var Qn=0;Qn<16;Qn++)Fr(Ct[Qn+1]);for(var Fa=0;Fa<=11;Fa++)Fr(ir[Fa]);Fr(17);for(var Ea=0;Ea<16;Ea++)Fr(Rt[Ea+1]);for(var Xn=0;Xn<=161;Xn++)Fr(Zr[Xn])}(),Xr(65498),Xr(12),Fr(3),Fr(1),Fr(0),Fr(2),Fr(17),Fr(3),Fr(17),Fr(0),Fr(63),Fr(0);var ce=0,Je=0,dt=0;jt=0,lt=7,this.encode.displayName="_encode_";for(var Nt,$t,er,It,Cr,Hr,sn,Qr,bt,xt=Ke.data,rn=Ke.width,Mn=Ke.height,zr=4*rn,dn=0;dn<Mn;){for(Nt=0;Nt<zr;){for(Cr=zr*dn+Nt,sn=-1,Qr=0,bt=0;bt<64;bt++)Hr=Cr+(Qr=bt>>3)*zr+(sn=4*(7&bt)),dn+Qr>=Mn&&(Hr-=zr*(dn+1+Qr-Mn)),Nt+sn>=zr&&(Hr-=Nt+sn-zr+4),$t=xt[Hr++],er=xt[Hr++],It=xt[Hr++],Zt[bt]=(On[$t]+On[er+256>>0]+On[It+512>>0]>>16)-128,wr[bt]=(On[$t+768>>0]+On[er+1024>>0]+On[It+1280>>0]>>16)-128,cn[bt]=(On[$t+1280>>0]+On[er+1536>>0]+On[It+1792>>0]>>16)-128;ce=kr(Zt,Ce,ce,c,v),Je=kr(wr,_e,Je,d,I),dt=kr(cn,_e,dt,d,I),Nt+=32}dn+=8}if(lt>=0){var nn=[];nn[1]=lt+1,nn[0]=(1<<lt+1)-1,Br(nn)}return Xr(65497),new Uint8Array(oe)},p=p||50,function(){for(var Ke=String.fromCharCode,be=0;be<256;be++)vn[be]=Ke(be)}(),c=br(kt,un),d=br(Ct,ir),v=br(gn,yt),I=br(Rt,Zr),function(){for(var Ke=1,be=2,ce=1;ce<=15;ce++){for(var Je=Ke;Je<be;Je++)nt[32767+Je]=ce,Ge[32767+Je]=[],Ge[32767+Je][1]=ce,Ge[32767+Je][0]=Je;for(var dt=-(be-1);dt<=-Ke;dt++)nt[32767+dt]=ce,Ge[32767+dt]=[],Ge[32767+dt][1]=ce,Ge[32767+dt][0]=be-1+dt;Ke<<=1,be<<=1}}(),function(){for(var Ke=0;Ke<256;Ke++)On[Ke]=19595*Ke,On[Ke+256>>0]=38470*Ke,On[Ke+512>>0]=7471*Ke+32768,On[Ke+768>>0]=-11059*Ke,On[Ke+1024>>0]=-21709*Ke,On[Ke+1280>>0]=32768*Ke+8421375,On[Ke+1536>>0]=-27439*Ke,On[Ke+1792>>0]=-5329*Ke}(),Un(p)}function $n(p,c){if(this.pos=0,this.buffer=p,this.datav=new DataView(p.buffer),this.is_with_alpha=!!c,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 Vt(p){function c(kt){if(!kt)throw Error("assert :P")}function d(kt,un,gn){for(var yt=0;4>yt;yt++)if(kt[un+yt]!=gn.charCodeAt(yt))return!0;return!1}function v(kt,un,gn,yt,Ct){for(var ir=0;ir<Ct;ir++)kt[un+ir]=gn[yt+ir]}function I(kt,un,gn,yt){for(var Ct=0;Ct<yt;Ct++)kt[un+Ct]=gn}function b(kt){return new Int32Array(kt)}function B(kt,un){for(var gn=[],yt=0;yt<kt;yt++)gn.push(new un);return gn}function X(kt,un){var gn=[];return function yt(Ct,ir,Rt){for(var Zr=Rt[ir],br=0;br<Zr&&(Ct.push(Rt.length>ir+1?[]:new un),!(Rt.length<ir+1));br++)yt(Ct[br],ir+1,Rt)}(gn,0,kt),gn}var _=function(){var kt=this;function un(i,m){for(var D=1<<m-1>>>0;i&D;)D>>>=1;return D?(i&D-1)+D:i}function gn(i,m,D,he,Ze){c(!(he%D));do i[m+(he-=D)]=Ze;while(0<he)}function yt(i,m,D,he,Ze){if(c(2328>=Ze),512>=Ze)var rt=b(512);else if((rt=b(Ze))==null)return 0;return function(at,pt,wt,Ht,Sr,_r){var en,Lr,Bn=pt,bn=1<<wt,Or=b(16),Tr=b(16);for(c(Sr!=0),c(Ht!=null),c(at!=null),c(0<wt),Lr=0;Lr<Sr;++Lr){if(15<Ht[Lr])return 0;++Or[Ht[Lr]]}if(Or[0]==Sr)return 0;for(Tr[1]=0,en=1;15>en;++en){if(Or[en]>1<<en)return 0;Tr[en+1]=Tr[en]+Or[en]}for(Lr=0;Lr<Sr;++Lr)en=Ht[Lr],0<Ht[Lr]&&(_r[Tr[en]++]=Lr);if(Tr[15]==1)return(Ht=new Ct).g=0,Ht.value=_r[0],gn(at,Bn,1,bn,Ht),bn;var Tn,Hn=-1,Rn=bn-1,va=0,oa=1,qa=1,ca=1<<wt;for(Lr=0,en=1,Sr=2;en<=wt;++en,Sr<<=1){if(oa+=qa<<=1,0>(qa-=Or[en]))return 0;for(;0<Or[en];--Or[en])(Ht=new Ct).g=en,Ht.value=_r[Lr++],gn(at,Bn+va,Sr,ca,Ht),va=un(va,en)}for(en=wt+1,Sr=2;15>=en;++en,Sr<<=1){if(oa+=qa<<=1,0>(qa-=Or[en]))return 0;for(;0<Or[en];--Or[en]){if(Ht=new Ct,(va&Rn)!=Hn){for(Bn+=ca,Tn=1<<(Hn=en)-wt;15>Hn&&!(0>=(Tn-=Or[Hn]));)++Hn,Tn<<=1;bn+=ca=1<<(Tn=Hn-wt),at[pt+(Hn=va&Rn)].g=Tn+wt,at[pt+Hn].value=Bn-pt-Hn}Ht.g=en-wt,Ht.value=_r[Lr++],gn(at,Bn+(va>>wt),Sr,ca,Ht),va=un(va,en)}}return oa!=2*Tr[15]-1?0:bn}(i,m,D,he,Ze,rt)}function Ct(){this.value=this.g=0}function ir(){this.value=this.g=0}function Rt(){this.G=B(5,Ct),this.H=b(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=B(Q,ir)}function Zr(i,m,D,he){c(i!=null),c(m!=null),c(2147483648>he),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=m,i.pa=D,i.Jd=m,i.Yc=D+he,i.Zc=4<=he?D+he-4+1:D,Nt(i)}function br(i,m){for(var D=0;0<m--;)D|=er(i,128)<<m;return D}function Br(i,m){var D=br(i,m);return $t(i)?-D:D}function Fr(i,m,D,he){var Ze,rt=0;for(c(i!=null),c(m!=null),c(4294967288>he),i.Sb=he,i.Ra=0,i.u=0,i.h=0,4<he&&(he=4),Ze=0;Ze<he;++Ze)rt+=m[D+Ze]<<8*Ze;i.Ra=rt,i.bb=he,i.oa=m,i.pa=D}function Xr(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<qe-8>>>0,++i.bb,i.u-=8;ce(i)&&(i.h=1,i.u=0)}function kr(i,m){if(c(0<=m),!i.h&&m<=Ve){var D=be(i)&je[m];return i.u+=m,Xr(i),D}return i.h=1,i.u=0}function Un(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ke(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function be(i){return i.Ra>>>(i.u&qe-1)>>>0}function ce(i){return c(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>qe}function Je(i,m){i.u=m,i.h=ce(i)}function dt(i){i.u>=Dt&&(c(i.u>=Dt),Xr(i))}function Nt(i){c(i!=null&&i.oa!=null),i.pa<i.Zc?(i.I=(i.oa[i.pa++]|i.I<<8)>>>0,i.b+=8):(c(i!=null&&i.oa!=null),i.pa<i.Yc?(i.b+=8,i.I=i.oa[i.pa++]|i.I<<8):i.Ka?i.b=0:(i.I<<=8,i.b+=8,i.Ka=1))}function $t(i){return br(i,1)}function er(i,m){var D=i.Ca;0>i.b&&Nt(i);var he=i.b,Ze=D*m>>>8,rt=(i.I>>>he>Ze)+0;for(rt?(D-=Ze,i.I-=Ze+1<<he>>>0):D=Ze+1,he=D,Ze=0;256<=he;)Ze+=8,he>>=8;return he=7^Ze+mr[he],i.b-=he,i.Ca=(D<<he)-1,rt}function It(i,m,D){i[m+0]=D>>24&255,i[m+1]=D>>16&255,i[m+2]=D>>8&255,i[m+3]=D>>0&255}function Cr(i,m){return i[m+0]<<0|i[m+1]<<8}function Hr(i,m){return Cr(i,m)|i[m+2]<<16}function sn(i,m){return Cr(i,m)|Cr(i,m+2)<<16}function Qr(i,m){var D=1<<m;return c(i!=null),c(0<m),i.X=b(D),i.X==null?0:(i.Mb=32-m,i.Xa=m,1)}function bt(i,m){c(i!=null),c(m!=null),c(i.Xa==m.Xa),v(m.X,0,i.X,0,1<<m.Xa)}function xt(){this.X=[],this.Xa=this.Mb=0}function rn(i,m,D,he){c(D!=null),c(he!=null);var Ze=D[0],rt=he[0];return Ze==0&&(Ze=(i*rt+m/2)/m),rt==0&&(rt=(m*Ze+i/2)/i),0>=Ze||0>=rt?0:(D[0]=Ze,he[0]=rt,1)}function Mn(i,m){return i+(1<<m)-1>>>m}function zr(i,m){return((4278255360&i)+(4278255360&m)>>>0&4278255360)+((16711935&i)+(16711935&m)>>>0&16711935)>>>0}function dn(i,m){kt[m]=function(D,he,Ze,rt,at,pt,wt){var Ht;for(Ht=0;Ht<at;++Ht){var Sr=kt[i](pt[wt+Ht-1],Ze,rt+Ht);pt[wt+Ht]=zr(D[he+Ht],Sr)}}}function nn(){this.ud=this.hd=this.jd=0}function xn(i,m){return((4278124286&(i^m))>>>1)+(i&m)>>>0}function Ln(i){return 0<=i&&256>i?i:0>i?0:255<i?255:void 0}function qn(i,m){return Ln(i+(i-m+.5>>1))}function Jn(i,m,D){return Math.abs(m-D)-Math.abs(i-D)}function Qn(i,m,D,he,Ze,rt,at){for(he=rt[at-1],D=0;D<Ze;++D)rt[at+D]=he=zr(i[m+D],he)}function Fa(i,m,D,he,Ze){var rt;for(rt=0;rt<D;++rt){var at=i[m+rt],pt=at>>8&255,wt=16711935&(wt=(wt=16711935&at)+((pt<<16)+pt));he[Ze+rt]=(4278255360&at)+wt>>>0}}function Ea(i,m){m.jd=i>>0&255,m.hd=i>>8&255,m.ud=i>>16&255}function Xn(i,m,D,he,Ze,rt){var at;for(at=0;at<he;++at){var pt=m[D+at],wt=pt>>>8,Ht=pt,Sr=255&(Sr=(Sr=pt>>>16)+((i.jd<<24>>24)*(wt<<24>>24)>>>5));Ht=255&(Ht=(Ht=Ht+((i.hd<<24>>24)*(wt<<24>>24)>>>5))+((i.ud<<24>>24)*(Sr<<24>>24)>>>5)),Ze[rt+at]=(4278255360&pt)+(Sr<<16)+Ht}}function jn(i,m,D,he,Ze){kt[m]=function(rt,at,pt,wt,Ht,Sr,_r,en,Lr){for(wt=_r;wt<en;++wt)for(_r=0;_r<Lr;++_r)Ht[Sr++]=Ze(pt[he(rt[at++])])},kt[i]=function(rt,at,pt,wt,Ht,Sr,_r){var en=8>>rt.b,Lr=rt.Ea,Bn=rt.K[0],bn=rt.w;if(8>en)for(rt=(1<<rt.b)-1,bn=(1<<en)-1;at<pt;++at){var Or,Tr=0;for(Or=0;Or<Lr;++Or)Or&rt||(Tr=he(wt[Ht++])),Sr[_r++]=Ze(Bn[Tr&bn]),Tr>>=en}else kt["VP8LMapColor"+D](wt,Ht,Bn,bn,Sr,_r,at,pt,Lr)}}function Vn(i,m,D,he,Ze){for(D=m+D;m<D;){var rt=i[m++];he[Ze++]=rt>>16&255,he[Ze++]=rt>>8&255,he[Ze++]=rt>>0&255}}function ka(i,m,D,he,Ze){for(D=m+D;m<D;){var rt=i[m++];he[Ze++]=rt>>16&255,he[Ze++]=rt>>8&255,he[Ze++]=rt>>0&255,he[Ze++]=rt>>24&255}}function ba(i,m,D,he,Ze){for(D=m+D;m<D;){var rt=(at=i[m++])>>16&240|at>>12&15,at=at>>0&240|at>>28&15;he[Ze++]=rt,he[Ze++]=at}}function ho(i,m,D,he,Ze){for(D=m+D;m<D;){var rt=(at=i[m++])>>16&248|at>>13&7,at=at>>5&224|at>>3&31;he[Ze++]=rt,he[Ze++]=at}}function Va(i,m,D,he,Ze){for(D=m+D;m<D;){var rt=i[m++];he[Ze++]=rt>>0&255,he[Ze++]=rt>>8&255,he[Ze++]=rt>>16&255}}function Ha(i,m,D,he,Ze,rt){if(rt==0)for(D=m+D;m<D;)It(he,((rt=i[m++])[0]>>24|rt[1]>>8&65280|rt[2]<<8&16711680|rt[3]<<24)>>>0),Ze+=32;else v(he,Ze,i,m,D)}function Yo(i,m){kt[m][0]=kt[i+"0"],kt[m][1]=kt[i+"1"],kt[m][2]=kt[i+"2"],kt[m][3]=kt[i+"3"],kt[m][4]=kt[i+"4"],kt[m][5]=kt[i+"5"],kt[m][6]=kt[i+"6"],kt[m][7]=kt[i+"7"],kt[m][8]=kt[i+"8"],kt[m][9]=kt[i+"9"],kt[m][10]=kt[i+"10"],kt[m][11]=kt[i+"11"],kt[m][12]=kt[i+"12"],kt[m][13]=kt[i+"13"],kt[m][14]=kt[i+"0"],kt[m][15]=kt[i+"0"]}function na(i){return i==sl||i==ll||i==Ks||i==cl}function gi(){this.eb=[],this.size=this.A=this.fb=0}function ro(){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 qo(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new gi,this.f.kb=new ro,this.sd=null}function Jo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function _a(){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 Sa(i){return alert("todo:WebPSamplerProcessPlane"),i.T}function mo(i,m){var D=i.T,he=m.ba.f.RGBA,Ze=he.eb,rt=he.fb+i.ka*he.A,at=hs[m.ba.S],pt=i.y,wt=i.O,Ht=i.f,Sr=i.N,_r=i.ea,en=i.W,Lr=m.cc,Bn=m.dc,bn=m.Mc,Or=m.Nc,Tr=i.ka,Tn=i.ka+i.T,Hn=i.U,Rn=Hn+1>>1;for(Tr==0?at(pt,wt,null,null,Ht,Sr,_r,en,Ht,Sr,_r,en,Ze,rt,null,null,Hn):(at(m.ec,m.fc,pt,wt,Lr,Bn,bn,Or,Ht,Sr,_r,en,Ze,rt-he.A,Ze,rt,Hn),++D);Tr+2<Tn;Tr+=2)Lr=Ht,Bn=Sr,bn=_r,Or=en,Sr+=i.Rc,en+=i.Rc,rt+=2*he.A,at(pt,(wt+=2*i.fa)-i.fa,pt,wt,Lr,Bn,bn,Or,Ht,Sr,_r,en,Ze,rt-he.A,Ze,rt,Hn);return wt+=i.fa,i.j+Tn<i.o?(v(m.ec,m.fc,pt,wt,Hn),v(m.cc,m.dc,Ht,Sr,Rn),v(m.Mc,m.Nc,_r,en,Rn),D--):1&Tn||at(pt,wt,null,null,Ht,Sr,_r,en,Ht,Sr,_r,en,Ze,rt+he.A,null,null,Hn),D}function oi(i,m,D){var he=i.F,Ze=[i.J];if(he!=null){var rt=i.U,at=m.ba.S,pt=at==Ss||at==Ks;m=m.ba.f.RGBA;var wt=[0],Ht=i.ka;wt[0]=i.T,i.Kb&&(Ht==0?--wt[0]:(--Ht,Ze[0]-=i.width),i.j+i.ka+i.T==i.o&&(wt[0]=i.o-i.j-Ht));var Sr=m.eb;Ht=m.fb+Ht*m.A,i=vs(he,Ze[0],i.width,rt,wt,Sr,Ht+(pt?0:3),m.A),c(D==wt),i&&na(at)&&Yi(Sr,Ht,pt,rt,wt,m.A)}return 0}function lo(i){var m=i.ma,D=m.ba.S,he=11>D,Ze=D==ds||D==fs||D==Ss||D==As||D==12||na(D);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!n(m.Oa,i,Ze?11:12))return 0;if(Ze&&na(D)&&o(),i.da)alert("todo:use_scaling");else{if(he){if(m.Ib=Sa,i.Kb){if(D=i.U+1>>1,m.memory=b(i.U+2*D),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+i.U,m.Mc=m.cc,m.Nc=m.dc+D,m.Ib=mo,o()}}else alert("todo:EmitYUV");Ze&&(m.Jb=oi,he&&F())}if(he&&!Tl){for(i=0;256>i;++i)g0[i]=89858*(i-128)+Ys>>Xs,x0[i]=-22014*(i-128)+Ys,y0[i]=-45773*(i-128),b0[i]=113618*(i-128)+Ys>>Xs;for(i=Ws;i<fl;++i)m=76283*(i-16)+Ys>>Xs,w0[i-Ws]=Pn(m,255),S0[i-Ws]=Pn(m+8>>4,15);Tl=1}return 1}function Go(i){var m=i.ma,D=i.U,he=i.T;return c(!(1&i.ka)),0>=D||0>=he?0:(D=m.Ib(i,m),m.Jb!=null&&m.Jb(i,m,D),m.Dc+=D,1)}function ii(i){i.ma.memory=null}function Dn(i,m,D,he){return kr(i,8)!=47?0:(m[0]=kr(i,14)+1,D[0]=kr(i,14)+1,he[0]=kr(i,1),kr(i,3)!=0?0:!i.h)}function Xa(i,m){if(4>i)return i+1;var D=i-2>>1;return(2+(1&i)<<D)+kr(m,D)+1}function ia(i,m){return 120<m?m-120:1<=(D=((D=n0[m-1])>>4)*i+(8-(15&D)))?D:1;var D}function aa(i,m,D){var he=be(D),Ze=i[m+=255&he].g-8;return 0<Ze&&(Je(D,D.u+8),he=be(D),m+=i[m].value,m+=he&(1<<Ze)-1),Je(D,D.u+i[m].g),i[m].value}function Aa(i,m,D){return D.g+=i.g,D.value+=i.value<<m>>>0,c(8>=D.g),i.g}function za(i,m,D){var he=i.xc;return c((m=he==0?0:i.vc[i.md*(D>>he)+(m>>he)])<i.Wb),i.Ya[m]}function Io(i,m,D,he){var Ze=i.ab,rt=i.c*m,at=i.C;m=at+m;var pt=D,wt=he;for(he=i.Ta,D=i.Ua;0<Ze--;){var Ht=i.gc[Ze],Sr=at,_r=m,en=pt,Lr=wt,Bn=(wt=he,pt=D,Ht.Ea);switch(c(Sr<_r),c(_r<=Ht.nc),Ht.hc){case 2:Ar(en,Lr,(_r-Sr)*Bn,wt,pt);break;case 0:var bn=Sr,Or=_r,Tr=wt,Tn=pt,Hn=(ca=Ht).Ea;bn==0&&(Nr(en,Lr,null,null,1,Tr,Tn),Qn(en,Lr+1,0,0,Hn-1,Tr,Tn+1),Lr+=Hn,Tn+=Hn,++bn);for(var Rn=1<<ca.b,va=Rn-1,oa=Mn(Hn,ca.b),qa=ca.K,ca=ca.w+(bn>>ca.b)*oa;bn<Or;){var ai=qa,ci=ca,Xo=1;for(Ir(en,Lr,Tr,Tn-Hn,1,Tr,Tn);Xo<Hn;){var zo=(Xo&~va)+Rn;zo>Hn&&(zo=Hn),(0,ua[ai[ci++]>>8&15])(en,Lr+ +Xo,Tr,Tn+Xo-Hn,zo-Xo,Tr,Tn+Xo),Xo=zo}Lr+=Hn,Tn+=Hn,++bn&va||(ca+=oa)}_r!=Ht.nc&&v(wt,pt-Bn,wt,pt+(_r-Sr-1)*Bn,Bn);break;case 1:for(Bn=en,Or=Lr,Hn=(en=Ht.Ea)-(Tn=en&~(Tr=(Lr=1<<Ht.b)-1)),bn=Mn(en,Ht.b),Rn=Ht.K,Ht=Ht.w+(Sr>>Ht.b)*bn;Sr<_r;){for(va=Rn,oa=Ht,qa=new nn,ca=Or+Tn,ai=Or+en;Or<ca;)Ea(va[oa++],qa),da(qa,Bn,Or,Lr,wt,pt),Or+=Lr,pt+=Lr;Or<ai&&(Ea(va[oa++],qa),da(qa,Bn,Or,Hn,wt,pt),Or+=Hn,pt+=Hn),++Sr&Tr||(Ht+=bn)}break;case 3:if(en==wt&&Lr==pt&&0<Ht.b){for(Or=wt,en=Bn=pt+(_r-Sr)*Bn-(Tn=(_r-Sr)*Mn(Ht.Ea,Ht.b)),Lr=wt,Tr=pt,bn=[],Tn=(Hn=Tn)-1;0<=Tn;--Tn)bn[Tn]=Lr[Tr+Tn];for(Tn=Hn-1;0<=Tn;--Tn)Or[en+Tn]=bn[Tn];Yr(Ht,Sr,_r,wt,Bn,wt,pt)}else Yr(Ht,Sr,_r,en,Lr,wt,pt)}pt=he,wt=D}wt!=D&&v(he,D,pt,wt,rt)}function No(i,m){var D=i.V,he=i.Ba+i.c*i.C,Ze=m-i.C;if(c(m<=i.l.o),c(16>=Ze),0<Ze){var rt=i.l,at=i.Ta,pt=i.Ua,wt=rt.width;if(Io(i,Ze,D,he),Ze=pt=[pt],c((D=i.C)<(he=m)),c(rt.v<rt.va),he>rt.o&&(he=rt.o),D<rt.j){var Ht=rt.j-D;D=rt.j,Ze[0]+=Ht*wt}if(D>=he?D=0:(Ze[0]+=4*rt.v,rt.ka=D-rt.j,rt.U=rt.va-rt.v,rt.T=he-D,D=1),D){if(pt=pt[0],11>(D=i.ca).S){var Sr=D.f.RGBA,_r=(he=D.S,Ze=rt.U,rt=rt.T,Ht=Sr.eb,Sr.A),en=rt;for(Sr=Sr.fb+i.Ma*Sr.A;0<en--;){var Lr=at,Bn=pt,bn=Ze,Or=Ht,Tr=Sr;switch(he){case as:Ba(Lr,Bn,bn,Or,Tr);break;case ds:ga(Lr,Bn,bn,Or,Tr);break;case sl:ga(Lr,Bn,bn,Or,Tr),Yi(Or,Tr,0,bn,1,0);break;case ws:Lo(Lr,Bn,bn,Or,Tr);break;case fs:Ha(Lr,Bn,bn,Or,Tr,1);break;case ll:Ha(Lr,Bn,bn,Or,Tr,1),Yi(Or,Tr,0,bn,1,0);break;case Ss:Ha(Lr,Bn,bn,Or,Tr,0);break;case Ks:Ha(Lr,Bn,bn,Or,Tr,0),Yi(Or,Tr,1,bn,1,0);break;case As:Wa(Lr,Bn,bn,Or,Tr);break;case cl:Wa(Lr,Bn,bn,Or,Tr),ns(Or,Tr,bn,1,0);break;case Ol:Ya(Lr,Bn,bn,Or,Tr);break;default:c(0)}pt+=wt,Sr+=_r}i.Ma+=rt}else alert("todo:EmitRescaledRowsYUVA");c(i.Ma<=D.height)}}i.C=m,c(i.C<=i.i)}function ei(i){var m;if(0<i.ua)return 0;for(m=0;m<i.Wb;++m){var D=i.Ya[m].G,he=i.Ya[m].H;if(0<D[1][he[1]+0].g||0<D[2][he[2]+0].g||0<D[3][he[3]+0].g)return 0}return 1}function di(i,m,D,he,Ze,rt){if(i.Z!=0){var at=i.qd,pt=i.rd;for(c($s[i.Z]!=null);m<D;++m)$s[i.Z](at,pt,he,Ze,he,Ze,rt),at=he,pt=Ze,Ze+=rt;i.qd=at,i.rd=pt}}function sa(i,m){var D=i.l.ma,he=D.Z==0||D.Z==1?i.l.j:i.C;if(he=i.C<he?he:i.C,c(m<=i.l.o),m>he){var Ze=i.l.width,rt=D.ca,at=D.tb+Ze*he,pt=i.V,wt=i.Ba+i.c*he,Ht=i.gc;c(i.ab==1),c(Ht[0].hc==3),kn(Ht[0],he,m,pt,wt,rt,at),di(D,he,m,rt,at,Ze)}i.C=i.Ma=m}function Ua(i,m,D,he,Ze,rt,at){var pt=i.$/he,wt=i.$%he,Ht=i.m,Sr=i.s,_r=D+i.$,en=_r;Ze=D+he*Ze;var Lr=D+he*rt,Bn=280+Sr.ua,bn=i.Pb?pt:16777216,Or=0<Sr.ua?Sr.Wa:null,Tr=Sr.wc,Tn=_r<Lr?za(Sr,wt,pt):null;c(i.C<rt),c(Lr<=Ze);var Hn=!1;e:for(;;){for(;Hn||_r<Lr;){var Rn=0;if(pt>=bn){var va=_r-D;c((bn=i).Pb),bn.wd=bn.m,bn.xd=va,0<bn.s.ua&&bt(bn.s.Wa,bn.s.vb),bn=pt+o0}if(wt&Tr||(Tn=za(Sr,wt,pt)),c(Tn!=null),Tn.Qb&&(m[_r]=Tn.qb,Hn=!0),!Hn)if(dt(Ht),Tn.jc){Rn=Ht,va=m;var oa=_r,qa=Tn.pd[be(Rn)&Q-1];c(Tn.jc),256>qa.g?(Je(Rn,Rn.u+qa.g),va[oa]=qa.value,Rn=0):(Je(Rn,Rn.u+qa.g-256),c(256<=qa.value),Rn=qa.value),Rn==0&&(Hn=!0)}else Rn=aa(Tn.G[0],Tn.H[0],Ht);if(Ht.h)break;if(Hn||256>Rn){if(!Hn)if(Tn.nd)m[_r]=(Tn.qb|Rn<<8)>>>0;else{if(dt(Ht),Hn=aa(Tn.G[1],Tn.H[1],Ht),dt(Ht),va=aa(Tn.G[2],Tn.H[2],Ht),oa=aa(Tn.G[3],Tn.H[3],Ht),Ht.h)break;m[_r]=(oa<<24|Hn<<16|Rn<<8|va)>>>0}if(Hn=!1,++_r,++wt>=he&&(wt=0,++pt,at!=null&&pt<=rt&&!(pt%16)&&at(i,pt),Or!=null))for(;en<_r;)Rn=m[en++],Or.X[(506832829*Rn&4294967295)>>>Or.Mb]=Rn}else if(280>Rn){if(Rn=Xa(Rn-256,Ht),va=aa(Tn.G[4],Tn.H[4],Ht),dt(Ht),va=ia(he,va=Xa(va,Ht)),Ht.h)break;if(_r-D<va||Ze-_r<Rn)break e;for(oa=0;oa<Rn;++oa)m[_r+oa]=m[_r+oa-va];for(_r+=Rn,wt+=Rn;wt>=he;)wt-=he,++pt,at!=null&&pt<=rt&&!(pt%16)&&at(i,pt);if(c(_r<=Ze),wt&Tr&&(Tn=za(Sr,wt,pt)),Or!=null)for(;en<_r;)Rn=m[en++],Or.X[(506832829*Rn&4294967295)>>>Or.Mb]=Rn}else{if(!(Rn<Bn))break e;for(Hn=Rn-280,c(Or!=null);en<_r;)Rn=m[en++],Or.X[(506832829*Rn&4294967295)>>>Or.Mb]=Rn;Rn=_r,c(!(Hn>>>(va=Or).Xa)),m[Rn]=va.X[Hn],Hn=!0}Hn||c(Ht.h==ce(Ht))}if(i.Pb&&Ht.h&&_r<Ze)c(i.m.h),i.a=5,i.m=i.wd,i.$=i.xd,0<i.s.ua&&bt(i.s.vb,i.s.Wa);else{if(Ht.h)break e;at!=null&&at(i,pt>rt?rt:pt),i.a=0,i.$=_r-D}return 1}return i.a=3,0}function go(i){c(i!=null),i.vc=null,i.yc=null,i.Ya=null;var m=i.Wa;m!=null&&(m.X=null),i.vb=null,c(i!=null)}function wo(){var i=new wa;return i==null?null:(i.a=0,i.xb=Al,Yo("Predictor","VP8LPredictors"),Yo("Predictor","VP8LPredictors_C"),Yo("PredictorAdd","VP8LPredictorsAdd"),Yo("PredictorAdd","VP8LPredictorsAdd_C"),Ar=Fa,da=Xn,Ba=Vn,ga=ka,Wa=ba,Ya=ho,Lo=Va,kt.VP8LMapColor32b=hn,kt.VP8LMapColor8b=Gn,i)}function Ko(i,m,D,he,Ze){var rt=1,at=[i],pt=[m],wt=he.m,Ht=he.s,Sr=null,_r=0;e:for(;;){if(D)for(;rt&&kr(wt,1);){var en=at,Lr=pt,Bn=he,bn=1,Or=Bn.m,Tr=Bn.gc[Bn.ab],Tn=kr(Or,2);if(Bn.Oc&1<<Tn)rt=0;else{switch(Bn.Oc|=1<<Tn,Tr.hc=Tn,Tr.Ea=en[0],Tr.nc=Lr[0],Tr.K=[null],++Bn.ab,c(4>=Bn.ab),Tn){case 0:case 1:Tr.b=kr(Or,3)+2,bn=Ko(Mn(Tr.Ea,Tr.b),Mn(Tr.nc,Tr.b),0,Bn,Tr.K),Tr.K=Tr.K[0];break;case 3:var Hn,Rn=kr(Or,8)+1,va=16<Rn?0:4<Rn?1:2<Rn?2:3;if(en[0]=Mn(Tr.Ea,va),Tr.b=va,Hn=bn=Ko(Rn,1,0,Bn,Tr.K)){var oa,qa=Rn,ca=Tr,ai=1<<(8>>ca.b),ci=b(ai);if(ci==null)Hn=0;else{var Xo=ca.K[0],zo=ca.w;for(ci[0]=ca.K[0][0],oa=1;oa<1*qa;++oa)ci[oa]=zr(Xo[zo+oa],ci[oa-1]);for(;oa<4*ai;++oa)ci[oa]=0;ca.K[0]=null,ca.K[0]=ci,Hn=1}}bn=Hn;break;case 2:break;default:c(0)}rt=bn}}if(at=at[0],pt=pt[0],rt&&kr(wt,1)&&!(rt=1<=(_r=kr(wt,4))&&11>=_r)){he.a=3;break e}var wi;if(wi=rt)t:{var vi,xo,ki,ss=he,Hi=at,ls=pt,ui=_r,cs=D,us=ss.m,Ui=ss.s,qi=[null],os=1,ms=0,ys=a0[ui];r:for(;;){if(cs&&kr(us,1)){var Vi=kr(us,3)+2,Os=Mn(Hi,Vi),Ls=Mn(ls,Vi),zs=Os*Ls;if(!Ko(Os,Ls,0,ss,qi))break r;for(qi=qi[0],Ui.xc=Vi,vi=0;vi<zs;++vi){var js=qi[vi]>>8&65535;qi[vi]=js,js>=os&&(os=js+1)}}if(us.h)break r;for(xo=0;5>xo;++xo){var Ri=El[xo];!xo&&0<ui&&(Ri+=1<<ui),ms<Ri&&(ms=Ri)}var hl=B(os*ys,Ct),Ll=os,zl=B(Ll,Rt);if(zl==null)var Js=null;else c(65536>=Ll),Js=zl;var Us=b(ms);if(Js==null||Us==null||hl==null){ss.a=1;break r}var Qs=hl;for(vi=ki=0;vi<os;++vi){var bs=Js[vi],Ds=bs.G,Fs=bs.H,Dl=0,_s=1,Fl=0;for(xo=0;5>xo;++xo){Ri=El[xo],Ds[xo]=Qs,Fs[xo]=ki,!xo&&0<ui&&(Ri+=1<<ui);a:{var el,ml=Ri,tl=ss,Vs=Us,E0=Qs,I0=ki,pl=0,Ns=tl.m,A0=kr(Ns,1);if(I(Vs,0,0,ml),A0){var P0=kr(Ns,1)+1,$0=kr(Ns,1),kl=kr(Ns,$0==0?1:8);Vs[kl]=1,P0==2&&(Vs[kl=kr(Ns,8)]=1);var rl=1}else{var Hl=b(19),Wl=kr(Ns,4)+4;if(19<Wl){tl.a=3;var nl=0;break a}for(el=0;el<Wl;++el)Hl[r0[el]]=kr(Ns,3);var vl=void 0,Zs=void 0,Ul=tl,j0=Hl,al=ml,Vl=Vs,gl=0,Ms=Ul.m,Zl=8,Gl=B(128,Ct);n:for(;yt(Gl,0,7,j0,19);){if(kr(Ms,1)){var N0=2+2*kr(Ms,3);if((vl=2+kr(Ms,N0))>al)break n}else vl=al;for(Zs=0;Zs<al&&vl--;){dt(Ms);var Kl=Gl[0+(127&be(Ms))];Je(Ms,Ms.u+Kl.g);var ks=Kl.value;if(16>ks)Vl[Zs++]=ks,ks!=0&&(Zl=ks);else{var M0=ks==16,Xl=ks-16,T0=e0[Xl],Yl=kr(Ms,_l[Xl])+T0;if(Zs+Yl>al)break n;for(var R0=M0?Zl:0;0<Yl--;)Vl[Zs++]=R0}}gl=1;break n}gl||(Ul.a=3),rl=gl}(rl=rl&&!Ns.h)&&(pl=yt(E0,I0,8,Vs,ml)),rl&&pl!=0?nl=pl:(tl.a=3,nl=0)}if(nl==0)break r;if(_s&&t0[xo]==1&&(_s=Qs[ki].g==0),Dl+=Qs[ki].g,ki+=nl,3>=xo){var Gs,bl=Us[0];for(Gs=1;Gs<Ri;++Gs)Us[Gs]>bl&&(bl=Us[Gs]);Fl+=bl}}if(bs.nd=_s,bs.Qb=0,_s&&(bs.qb=(Ds[3][Fs[3]+0].value<<24|Ds[1][Fs[1]+0].value<<16|Ds[2][Fs[2]+0].value)>>>0,Dl==0&&256>Ds[0][Fs[0]+0].value&&(bs.Qb=1,bs.qb+=Ds[0][Fs[0]+0].value<<8)),bs.jc=!bs.Qb&&6>Fl,bs.jc){var ol,Es=bs;for(ol=0;ol<Q;++ol){var Ts=ol,Rs=Es.pd[Ts],il=Es.G[0][Es.H[0]+Ts];256<=il.value?(Rs.g=il.g+256,Rs.value=il.value):(Rs.g=0,Rs.value=0,Ts>>=Aa(il,8,Rs),Ts>>=Aa(Es.G[1][Es.H[1]+Ts],16,Rs),Ts>>=Aa(Es.G[2][Es.H[2]+Ts],0,Rs),Aa(Es.G[3][Es.H[3]+Ts],24,Rs))}}}Ui.vc=qi,Ui.Wb=os,Ui.Ya=Js,Ui.yc=hl,wi=1;break t}wi=0}if(!(rt=wi)){he.a=3;break e}if(0<_r){if(Ht.ua=1<<_r,!Qr(Ht.Wa,_r)){he.a=1,rt=0;break e}}else Ht.ua=0;var yl=he,ql=at,B0=pt,xl=yl.s,wl=xl.xc;if(yl.c=ql,yl.i=B0,xl.md=Mn(ql,wl),xl.wc=wl==0?-1:(1<<wl)-1,D){he.xb=f0;break e}if((Sr=b(at*pt))==null){he.a=1,rt=0;break e}rt=(rt=Ua(he,Sr,0,at,pt,pt,null))&&!wt.h;break e}return rt?(Ze!=null?Ze[0]=Sr:(c(Sr==null),c(D)),he.$=0,D||go(Ht)):go(Ht),rt}function si(i,m){var D=i.c*i.i,he=D+m+16*m;return c(i.c<=m),i.V=b(he),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+D+m,1)}function Bo(i,m){var D=i.C,he=m-D,Ze=i.V,rt=i.Ba+i.c*D;for(c(m<=i.l.o);0<he;){var at=16<he?16:he,pt=i.l.ma,wt=i.l.width,Ht=wt*at,Sr=pt.ca,_r=pt.tb+wt*D,en=i.Ta,Lr=i.Ua;Io(i,at,Ze,rt),xs(en,Lr,Sr,_r,Ht),di(pt,D,D+at,Sr,_r,wt),he-=at,Ze+=at*i.c,D+=at}c(D==m),i.C=i.Ma=m}function Ni(){this.ub=this.yd=this.td=this.Rb=0}function Mi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function co(){this.Fb=this.Bb=this.Cb=0,this.Zb=b(4),this.Lb=b(4)}function Ao(){this.Yb=function(){var i=[];return function m(D,he,Ze){for(var rt=Ze[he],at=0;at<rt&&(D.push(Ze.length>he+1?[]:0),!(Ze.length<he+1));at++)m(D[at],he+1,Ze)}(i,0,[3,11]),i}()}function Mo(){this.jb=b(3),this.Wc=X([4,8],Ao),this.Xc=X([4,17],Ao)}function li(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new b(4),this.od=new b(4)}function Po(){this.ld=this.La=this.dd=this.tc=0}function ao(){this.Na=this.la=0}function Qo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function uo(){this.ad=b(384),this.Za=0,this.Ob=b(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function fi(){this.uc=this.M=this.Nb=0,this.wa=Array(new Po),this.Y=0,this.ya=Array(new uo),this.aa=0,this.l=new bi}function Do(){this.y=b(16),this.f=b(8),this.ea=b(8)}function Ii(){this.cb=this.a=0,this.sc="",this.m=new Un,this.Od=new Ni,this.Kc=new Mi,this.ed=new li,this.Qa=new co,this.Ic=this.$c=this.Aa=0,this.D=new fi,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=B(8,Un),this.ia=0,this.pb=B(4,Qo),this.Pa=new Mo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Do),this.Hd=0,this.rb=Array(new ao),this.sb=0,this.wa=Array(new Po),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 uo),this.L=this.aa=0,this.gd=X([4,2],Po),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 bi(){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 es(){var i=new Ii;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,Hs||(Hs=Ai)),i}function Ma(i,m,D){return i.a==0&&(i.a=m,i.sc=D,i.cb=0),0}function Ji(i,m,D){return 3<=D&&i[m+0]==157&&i[m+1]==1&&i[m+2]==42}function $i(i,m){if(i==null)return 0;if(i.a=0,i.sc="OK",m==null)return Ma(i,2,"null VP8Io passed to VP8GetHeaders()");var D=m.data,he=m.w,Ze=m.ha;if(4>Ze)return Ma(i,7,"Truncated header.");var rt=D[he+0]|D[he+1]<<8|D[he+2]<<16,at=i.Od;if(at.Rb=!(1&rt),at.td=rt>>1&7,at.yd=rt>>4&1,at.ub=rt>>5,3<at.td)return Ma(i,3,"Incorrect keyframe parameters.");if(!at.yd)return Ma(i,4,"Frame not displayable.");he+=3,Ze-=3;var pt=i.Kc;if(at.Rb){if(7>Ze)return Ma(i,7,"cannot parse picture header");if(!Ji(D,he,Ze))return Ma(i,3,"Bad code word");pt.c=16383&(D[he+4]<<8|D[he+3]),pt.Td=D[he+4]>>6,pt.i=16383&(D[he+6]<<8|D[he+5]),pt.Ud=D[he+6]>>6,he+=7,Ze-=7,i.za=pt.c+15>>4,i.Ub=pt.i+15>>4,m.width=pt.c,m.height=pt.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,I((rt=i.Pa).jb,0,255,rt.jb.length),c((rt=i.Qa)!=null),rt.Cb=0,rt.Bb=0,rt.Fb=1,I(rt.Zb,0,0,rt.Zb.length),I(rt.Lb,0,0,rt.Lb)}if(at.ub>Ze)return Ma(i,7,"bad partition length");Zr(rt=i.m,D,he,at.ub),he+=at.ub,Ze-=at.ub,at.Rb&&(pt.Ld=$t(rt),pt.Kd=$t(rt)),pt=i.Qa;var wt,Ht=i.Pa;if(c(rt!=null),c(pt!=null),pt.Cb=$t(rt),pt.Cb){if(pt.Bb=$t(rt),$t(rt)){for(pt.Fb=$t(rt),wt=0;4>wt;++wt)pt.Zb[wt]=$t(rt)?Br(rt,7):0;for(wt=0;4>wt;++wt)pt.Lb[wt]=$t(rt)?Br(rt,6):0}if(pt.Bb)for(wt=0;3>wt;++wt)Ht.jb[wt]=$t(rt)?br(rt,8):255}else pt.Bb=0;if(rt.Ka)return Ma(i,3,"cannot parse segment header");if((pt=i.ed).zd=$t(rt),pt.Tb=br(rt,6),pt.wb=br(rt,3),pt.Pc=$t(rt),pt.Pc&&$t(rt)){for(Ht=0;4>Ht;++Ht)$t(rt)&&(pt.vd[Ht]=Br(rt,6));for(Ht=0;4>Ht;++Ht)$t(rt)&&(pt.od[Ht]=Br(rt,6))}if(i.L=pt.Tb==0?0:pt.zd?1:2,rt.Ka)return Ma(i,3,"cannot parse filter header");var Sr=Ze;if(Ze=wt=he,he=wt+Sr,pt=Sr,i.Xb=(1<<br(i.m,2))-1,Sr<3*(Ht=i.Xb))D=7;else{for(wt+=3*Ht,pt-=3*Ht,Sr=0;Sr<Ht;++Sr){var _r=D[Ze+0]|D[Ze+1]<<8|D[Ze+2]<<16;_r>pt&&(_r=pt),Zr(i.Jc[+Sr],D,wt,_r),wt+=_r,pt-=_r,Ze+=3}Zr(i.Jc[+Ht],D,wt,pt),D=wt<he?0:5}if(D!=0)return Ma(i,D,"cannot parse partitions");for(D=br(wt=i.m,7),Ze=$t(wt)?Br(wt,4):0,he=$t(wt)?Br(wt,4):0,pt=$t(wt)?Br(wt,4):0,Ht=$t(wt)?Br(wt,4):0,wt=$t(wt)?Br(wt,4):0,Sr=i.Qa,_r=0;4>_r;++_r){if(Sr.Cb){var en=Sr.Zb[_r];Sr.Fb||(en+=D)}else{if(0<_r){i.pb[_r]=i.pb[0];continue}en=D}var Lr=i.pb[_r];Lr.Sc[0]=ul[Pn(en+Ze,127)],Lr.Sc[1]=dl[Pn(en+0,127)],Lr.Eb[0]=2*ul[Pn(en+he,127)],Lr.Eb[1]=101581*dl[Pn(en+pt,127)]>>16,8>Lr.Eb[1]&&(Lr.Eb[1]=8),Lr.Qc[0]=ul[Pn(en+Ht,117)],Lr.Qc[1]=dl[Pn(en+wt,127)],Lr.lc=en+wt}if(!at.Rb)return Ma(i,4,"Not a key frame.");for($t(rt),at=i.Pa,D=0;4>D;++D){for(Ze=0;8>Ze;++Ze)for(he=0;3>he;++he)for(pt=0;11>pt;++pt)Ht=er(rt,u0[D][Ze][he][pt])?br(rt,8):l0[D][Ze][he][pt],at.Wc[D][Ze].Yb[he][pt]=Ht;for(Ze=0;17>Ze;++Ze)at.Xc[D][Ze]=at.Wc[D][d0[Ze]]}return i.kc=$t(rt),i.kc&&(i.Bd=br(rt,8)),i.cb=1}function Ai(i,m,D,he,Ze,rt,at){var pt=m[Ze].Yb[D];for(D=0;16>Ze;++Ze){if(!er(i,pt[D+0]))return Ze;for(;!er(i,pt[D+1]);)if(pt=m[++Ze].Yb[0],D=0,Ze==16)return 16;var wt=m[Ze+1].Yb;if(er(i,pt[D+2])){var Ht=i,Sr=0;if(er(Ht,(en=pt)[(_r=D)+3]))if(er(Ht,en[_r+6])){for(pt=0,_r=2*(Sr=er(Ht,en[_r+8]))+(en=er(Ht,en[_r+9+Sr])),Sr=0,en=i0[_r];en[pt];++pt)Sr+=Sr+er(Ht,en[pt]);Sr+=3+(8<<_r)}else er(Ht,en[_r+7])?(Sr=7+2*er(Ht,165),Sr+=er(Ht,145)):Sr=5+er(Ht,159);else Sr=er(Ht,en[_r+4])?3+er(Ht,en[_r+5]):2;pt=wt[2]}else Sr=1,pt=wt[1];wt=at+s0[Ze],0>(Ht=i).b&&Nt(Ht);var _r,en=Ht.b,Lr=(_r=Ht.Ca>>1)-(Ht.I>>en)>>31;--Ht.b,Ht.Ca+=Lr,Ht.Ca|=1,Ht.I-=(_r+1&Lr)<<en,rt[wt]=((Sr^Lr)-Lr)*he[(0<Ze)+0]}return 16}function Ti(i){var m=i.rb[i.sb-1];m.la=0,m.Na=0,I(i.zc,0,0,i.zc.length),i.ja=0}function Zi(i,m){if(i==null)return 0;if(m==null)return Ma(i,2,"NULL VP8Io parameter in VP8Decode().");if(!i.cb&&!$i(i,m))return 0;if(c(i.cb),m.ac==null||m.ac(m)){m.ob&&(i.L=0);var D=qs[i.L];if(i.L==2?(i.yb=0,i.zb=0):(i.yb=m.v-D>>4,i.zb=m.j-D>>4,0>i.yb&&(i.yb=0),0>i.zb&&(i.zb=0)),i.Va=m.o+15+D>>4,i.Hb=m.va+15+D>>4,i.Hb>i.za&&(i.Hb=i.za),i.Va>i.Ub&&(i.Va=i.Ub),0<i.L){var he=i.ed;for(D=0;4>D;++D){var Ze;if(i.Qa.Cb){var rt=i.Qa.Lb[D];i.Qa.Fb||(rt+=he.Tb)}else rt=he.Tb;for(Ze=0;1>=Ze;++Ze){var at=i.gd[D][Ze],pt=rt;if(he.Pc&&(pt+=he.vd[0],Ze&&(pt+=he.od[0])),0<(pt=0>pt?0:63<pt?63:pt)){var wt=pt;0<he.wb&&(wt=4<he.wb?wt>>2:wt>>1)>9-he.wb&&(wt=9-he.wb),1>wt&&(wt=1),at.dd=wt,at.tc=2*pt+wt,at.ld=40<=pt?2:15<=pt?1:0}else at.tc=0;at.La=Ze}}}D=0}else Ma(i,6,"Frame setup failed"),D=i.a;if(D=D==0){if(D){i.$c=0,0<i.Aa||(i.Ic=O0);e:{D=i.Ic,he=4*(wt=i.za);var Ht=32*wt,Sr=wt+1,_r=0<i.L?wt*(0<i.Aa?2:1):0,en=(i.Aa==2?2:1)*wt;if((at=he+832+(Ze=3*(16*D+qs[i.L])/2*Ht)+(rt=i.Fa!=null&&0<i.Fa.length?i.Kc.c*i.Kc.i:0))!=at)D=0;else{if(at>i.Vb){if(i.Vb=0,i.Ec=b(at),i.Fc=0,i.Ec==null){D=Ma(i,1,"no memory during frame initialization.");break e}i.Vb=at}at=i.Ec,pt=i.Fc,i.Ac=at,i.Bc=pt,pt+=he,i.Gd=B(Ht,Do),i.Hd=0,i.rb=B(Sr+1,ao),i.sb=1,i.wa=_r?B(_r,Po):null,i.Y=0,i.D.Nb=0,i.D.wa=i.wa,i.D.Y=i.Y,0<i.Aa&&(i.D.Y+=wt),c(!0),i.oc=at,i.pc=pt,pt+=832,i.ya=B(en,uo),i.aa=0,i.D.ya=i.ya,i.D.aa=i.aa,i.Aa==2&&(i.D.aa+=wt),i.R=16*wt,i.B=8*wt,wt=(Ht=qs[i.L])*i.R,Ht=Ht/2*i.B,i.sa=at,i.ta=pt+wt,i.qa=i.sa,i.ra=i.ta+16*D*i.R+Ht,i.Ha=i.qa,i.Ia=i.ra+8*D*i.B+Ht,i.$c=0,pt+=Ze,i.mb=rt?at:null,i.nb=rt?pt:null,c(pt+rt<=i.Fc+i.Vb),Ti(i),I(i.Ac,i.Bc,0,he),D=1}}if(D){if(m.ka=0,m.y=i.sa,m.O=i.ta,m.f=i.qa,m.N=i.ra,m.ea=i.Ha,m.Vd=i.Ia,m.fa=i.R,m.Rc=i.B,m.F=null,m.J=0,!Fi){for(D=-255;255>=D;++D)Bs[255+D]=0>D?-D:D;for(D=-1020;1020>=D;++D)Is[1020+D]=-128>D?-128:127<D?127:D;for(D=-112;112>=D;++D)jo[112+D]=-16>D?-16:15<D?15:D;for(D=-255;510>=D;++D)so[255+D]=0>D?0:255<D?255:D;Fi=1}vo=Wi,Ci=is,Ho=Qi,Pi=ts,ni=Bi,Zo=ft,Oi=it,Ki=ja,_i=Co,Xi=To,ps=ko,ji=ti,Li=ri,Oo=Ro,Wo=Eo,hi=io,mi=po,rs=Vo,gs[0]=Ia,gs[1]=$o,gs[2]=_n,gs[3]=la,gs[4]=Yn,gs[5]=pa,gs[6]=ma,gs[7]=ta,gs[8]=Za,gs[9]=Ta,Ps[0]=Vr,Ps[1]=xe,Ps[2]=ct,Ps[3]=gt,Ps[4]=fn,Ps[5]=Zn,Ps[6]=Wn,Cs[0]=xa,Cs[1]=se,Cs[2]=eo,Cs[3]=$a,Cs[4]=Ra,Cs[5]=Ka,Cs[6]=oo,D=1}else D=0}D&&(D=function(Lr,Bn){for(Lr.M=0;Lr.M<Lr.Va;++Lr.M){var bn,Or=Lr.Jc[Lr.M&Lr.Xb],Tr=Lr.m,Tn=Lr;for(bn=0;bn<Tn.za;++bn){var Hn=Tr,Rn=Tn,va=Rn.Ac,oa=Rn.Bc+4*bn,qa=Rn.zc,ca=Rn.ya[Rn.aa+bn];if(Rn.Qa.Bb?ca.$b=er(Hn,Rn.Pa.jb[0])?2+er(Hn,Rn.Pa.jb[2]):er(Hn,Rn.Pa.jb[1]):ca.$b=0,Rn.kc&&(ca.Ad=er(Hn,Rn.Bd)),ca.Za=!er(Hn,145)+0,ca.Za){var ai=ca.Ob,ci=0;for(Rn=0;4>Rn;++Rn){var Xo,zo=qa[0+Rn];for(Xo=0;4>Xo;++Xo){zo=c0[va[oa+Xo]][zo];for(var wi=Il[er(Hn,zo[0])];0<wi;)wi=Il[2*wi+er(Hn,zo[wi])];zo=-wi,va[oa+Xo]=zo}v(ai,ci,va,oa,4),ci+=4,qa[0+Rn]=zo}}else zo=er(Hn,156)?er(Hn,128)?1:3:er(Hn,163)?2:0,ca.Ob[0]=zo,I(va,oa,zo,4),I(qa,0,zo,4);ca.Dd=er(Hn,142)?er(Hn,114)?er(Hn,183)?1:3:2:0}if(Tn.m.Ka)return Ma(Lr,7,"Premature end-of-partition0 encountered.");for(;Lr.ja<Lr.za;++Lr.ja){if(Tn=Or,Hn=(Tr=Lr).rb[Tr.sb-1],va=Tr.rb[Tr.sb+Tr.ja],bn=Tr.ya[Tr.aa+Tr.ja],oa=Tr.kc?bn.Ad:0)Hn.la=va.la=0,bn.Za||(Hn.Na=va.Na=0),bn.Hc=0,bn.Gc=0,bn.ia=0;else{var vi,xo;if(Hn=va,va=Tn,oa=Tr.Pa.Xc,qa=Tr.ya[Tr.aa+Tr.ja],ca=Tr.pb[qa.$b],Rn=qa.ad,ai=0,ci=Tr.rb[Tr.sb-1],zo=Xo=0,I(Rn,ai,0,384),qa.Za)var ki=0,ss=oa[3];else{wi=b(16);var Hi=Hn.Na+ci.Na;if(Hi=Hs(va,oa[1],Hi,ca.Eb,0,wi,0),Hn.Na=ci.Na=(0<Hi)+0,1<Hi)vo(wi,0,Rn,ai);else{var ls=wi[0]+3>>3;for(wi=0;256>wi;wi+=16)Rn[ai+wi]=ls}ki=1,ss=oa[0]}var ui=15&Hn.la,cs=15&ci.la;for(wi=0;4>wi;++wi){var us=1&cs;for(ls=xo=0;4>ls;++ls)ui=ui>>1|(us=(Hi=Hs(va,ss,Hi=us+(1&ui),ca.Sc,ki,Rn,ai))>ki)<<7,xo=xo<<2|(3<Hi?3:1<Hi?2:Rn[ai+0]!=0),ai+=16;ui>>=4,cs=cs>>1|us<<7,Xo=(Xo<<8|xo)>>>0}for(ss=ui,ki=cs>>4,vi=0;4>vi;vi+=2){for(xo=0,ui=Hn.la>>4+vi,cs=ci.la>>4+vi,wi=0;2>wi;++wi){for(us=1&cs,ls=0;2>ls;++ls)Hi=us+(1&ui),ui=ui>>1|(us=0<(Hi=Hs(va,oa[2],Hi,ca.Qc,0,Rn,ai)))<<3,xo=xo<<2|(3<Hi?3:1<Hi?2:Rn[ai+0]!=0),ai+=16;ui>>=2,cs=cs>>1|us<<5}zo|=xo<<4*vi,ss|=ui<<4<<vi,ki|=(240&cs)<<vi}Hn.la=ss,ci.la=ki,qa.Hc=Xo,qa.Gc=zo,qa.ia=43690&zo?0:ca.ia,oa=!(Xo|zo)}if(0<Tr.L&&(Tr.wa[Tr.Y+Tr.ja]=Tr.gd[bn.$b][bn.Za],Tr.wa[Tr.Y+Tr.ja].La|=!oa),Tn.Ka)return Ma(Lr,7,"Premature end-of-file encountered.")}if(Ti(Lr),Tr=Bn,Tn=1,bn=(Or=Lr).D,Hn=0<Or.L&&Or.M>=Or.zb&&Or.M<=Or.Va,Or.Aa==0)e:{if(bn.M=Or.M,bn.uc=Hn,u(Or,bn),Tn=1,bn=(xo=Or.D).Nb,Hn=(zo=qs[Or.L])*Or.R,va=zo/2*Or.B,wi=16*bn*Or.R,ls=8*bn*Or.B,oa=Or.sa,qa=Or.ta-Hn+wi,ca=Or.qa,Rn=Or.ra-va+ls,ai=Or.Ha,ci=Or.Ia-va+ls,cs=(ui=xo.M)==0,Xo=ui>=Or.Va-1,Or.Aa==2&&u(Or,xo),xo.uc)for(us=(Hi=Or).D.M,c(Hi.D.uc),xo=Hi.yb;xo<Hi.Hb;++xo){ki=xo,ss=us;var Ui=(qi=(Ri=Hi).D).Nb;vi=Ri.R;var qi=qi.wa[qi.Y+ki],os=Ri.sa,ms=Ri.ta+16*Ui*vi+16*ki,ys=qi.dd,Vi=qi.tc;if(Vi!=0)if(c(3<=Vi),Ri.L==1)0<ki&&hi(os,ms,vi,Vi+4),qi.La&&rs(os,ms,vi,Vi),0<ss&&Wo(os,ms,vi,Vi+4),qi.La&&mi(os,ms,vi,Vi);else{var Os=Ri.B,Ls=Ri.qa,zs=Ri.ra+8*Ui*Os+8*ki,js=Ri.Ha,Ri=Ri.Ia+8*Ui*Os+8*ki;Ui=qi.ld,0<ki&&(Ki(os,ms,vi,Vi+4,ys,Ui),Xi(Ls,zs,js,Ri,Os,Vi+4,ys,Ui)),qi.La&&(ji(os,ms,vi,Vi,ys,Ui),Oo(Ls,zs,js,Ri,Os,Vi,ys,Ui)),0<ss&&(Oi(os,ms,vi,Vi+4,ys,Ui),_i(Ls,zs,js,Ri,Os,Vi+4,ys,Ui)),qi.La&&(ps(os,ms,vi,Vi,ys,Ui),Li(Ls,zs,js,Ri,Os,Vi,ys,Ui))}}if(Or.ia&&alert("todo:DitherRow"),Tr.put!=null){if(xo=16*ui,ui=16*(ui+1),cs?(Tr.y=Or.sa,Tr.O=Or.ta+wi,Tr.f=Or.qa,Tr.N=Or.ra+ls,Tr.ea=Or.Ha,Tr.W=Or.Ia+ls):(xo-=zo,Tr.y=oa,Tr.O=qa,Tr.f=ca,Tr.N=Rn,Tr.ea=ai,Tr.W=ci),Xo||(ui-=zo),ui>Tr.o&&(ui=Tr.o),Tr.F=null,Tr.J=null,Or.Fa!=null&&0<Or.Fa.length&&xo<ui&&(Tr.J=bo(Or,Tr,xo,ui-xo),Tr.F=Or.mb,Tr.F==null&&Tr.F.length==0)){Tn=Ma(Or,3,"Could not decode alpha data.");break e}xo<Tr.j&&(zo=Tr.j-xo,xo=Tr.j,c(!(1&zo)),Tr.O+=Or.R*zo,Tr.N+=Or.B*(zo>>1),Tr.W+=Or.B*(zo>>1),Tr.F!=null&&(Tr.J+=Tr.width*zo)),xo<ui&&(Tr.O+=Tr.v,Tr.N+=Tr.v>>1,Tr.W+=Tr.v>>1,Tr.F!=null&&(Tr.J+=Tr.v),Tr.ka=xo-Tr.j,Tr.U=Tr.va-Tr.v,Tr.T=ui-xo,Tn=Tr.put(Tr))}bn+1!=Or.Ic||Xo||(v(Or.sa,Or.ta-Hn,oa,qa+16*Or.R,Hn),v(Or.qa,Or.ra-va,ca,Rn+8*Or.B,va),v(Or.Ha,Or.Ia-va,ai,ci+8*Or.B,va))}if(!Tn)return Ma(Lr,6,"Output aborted.")}return 1}(i,m)),m.bc!=null&&m.bc(m),D&=1}return D?(i.cb=0,D):0}function Ei(i,m,D,he,Ze){Ze=i[m+D+32*he]+(Ze>>3),i[m+D+32*he]=-256&Ze?0>Ze?0:255:Ze}function Di(i,m,D,he,Ze,rt){Ei(i,m,0,D,he+Ze),Ei(i,m,1,D,he+rt),Ei(i,m,2,D,he-rt),Ei(i,m,3,D,he-Ze)}function Fo(i){return(20091*i>>16)+i}function Gi(i,m,D,he){var Ze,rt=0,at=b(16);for(Ze=0;4>Ze;++Ze){var pt=i[m+0]+i[m+8],wt=i[m+0]-i[m+8],Ht=(35468*i[m+4]>>16)-Fo(i[m+12]),Sr=Fo(i[m+4])+(35468*i[m+12]>>16);at[rt+0]=pt+Sr,at[rt+1]=wt+Ht,at[rt+2]=wt-Ht,at[rt+3]=pt-Sr,rt+=4,m++}for(Ze=rt=0;4>Ze;++Ze)pt=(i=at[rt+0]+4)+at[rt+8],wt=i-at[rt+8],Ht=(35468*at[rt+4]>>16)-Fo(at[rt+12]),Ei(D,he,0,0,pt+(Sr=Fo(at[rt+4])+(35468*at[rt+12]>>16))),Ei(D,he,1,0,wt+Ht),Ei(D,he,2,0,wt-Ht),Ei(D,he,3,0,pt-Sr),rt++,he+=32}function ft(i,m,D,he){var Ze=i[m+0]+4,rt=35468*i[m+4]>>16,at=Fo(i[m+4]),pt=35468*i[m+1]>>16;Di(D,he,0,Ze+at,i=Fo(i[m+1]),pt),Di(D,he,1,Ze+rt,i,pt),Di(D,he,2,Ze-rt,i,pt),Di(D,he,3,Ze-at,i,pt)}function is(i,m,D,he,Ze){Gi(i,m,D,he),Ze&&Gi(i,m+16,D,he+4)}function Qi(i,m,D,he){Ci(i,m+0,D,he,1),Ci(i,m+32,D,he+128,1)}function ts(i,m,D,he){var Ze;for(i=i[m+0]+4,Ze=0;4>Ze;++Ze)for(m=0;4>m;++m)Ei(D,he,m,Ze,i)}function Bi(i,m,D,he){i[m+0]&&Pi(i,m+0,D,he),i[m+16]&&Pi(i,m+16,D,he+4),i[m+32]&&Pi(i,m+32,D,he+128),i[m+48]&&Pi(i,m+48,D,he+128+4)}function Wi(i,m,D,he){var Ze,rt=b(16);for(Ze=0;4>Ze;++Ze){var at=i[m+0+Ze]+i[m+12+Ze],pt=i[m+4+Ze]+i[m+8+Ze],wt=i[m+4+Ze]-i[m+8+Ze],Ht=i[m+0+Ze]-i[m+12+Ze];rt[0+Ze]=at+pt,rt[8+Ze]=at-pt,rt[4+Ze]=Ht+wt,rt[12+Ze]=Ht-wt}for(Ze=0;4>Ze;++Ze)at=(i=rt[0+4*Ze]+3)+rt[3+4*Ze],pt=rt[1+4*Ze]+rt[2+4*Ze],wt=rt[1+4*Ze]-rt[2+4*Ze],Ht=i-rt[3+4*Ze],D[he+0]=at+pt>>3,D[he+16]=Ht+wt>>3,D[he+32]=at-pt>>3,D[he+48]=Ht-wt>>3,he+=64}function Pa(i,m,D){var he,Ze=m-32,rt=Uo,at=255-i[Ze-1];for(he=0;he<D;++he){var pt,wt=rt,Ht=at+i[m-1];for(pt=0;pt<D;++pt)i[m+pt]=wt[Ht+i[Ze+pt]];m+=32}}function $o(i,m){Pa(i,m,4)}function se(i,m){Pa(i,m,8)}function xe(i,m){Pa(i,m,16)}function ct(i,m){var D;for(D=0;16>D;++D)v(i,m+32*D,i,m-32,16)}function gt(i,m){var D;for(D=16;0<D;--D)I(i,m,i[m-1],16),m+=32}function vr(i,m,D){var he;for(he=0;16>he;++he)I(m,D+32*he,i,16)}function Vr(i,m){var D,he=16;for(D=0;16>D;++D)he+=i[m-1+32*D]+i[m+D-32];vr(he>>5,i,m)}function fn(i,m){var D,he=8;for(D=0;16>D;++D)he+=i[m-1+32*D];vr(he>>4,i,m)}function Zn(i,m){var D,he=8;for(D=0;16>D;++D)he+=i[m+D-32];vr(he>>4,i,m)}function Wn(i,m){vr(128,i,m)}function wn(i,m,D){return i+2*m+D+2>>2}function _n(i,m){var D,he=m-32;for(he=new Uint8Array([wn(i[he-1],i[he+0],i[he+1]),wn(i[he+0],i[he+1],i[he+2]),wn(i[he+1],i[he+2],i[he+3]),wn(i[he+2],i[he+3],i[he+4])]),D=0;4>D;++D)v(i,m+32*D,he,0,he.length)}function la(i,m){var D=i[m-1],he=i[m-1+32],Ze=i[m-1+64],rt=i[m-1+96];It(i,m+0,16843009*wn(i[m-1-32],D,he)),It(i,m+32,16843009*wn(D,he,Ze)),It(i,m+64,16843009*wn(he,Ze,rt)),It(i,m+96,16843009*wn(Ze,rt,rt))}function Ia(i,m){var D,he=4;for(D=0;4>D;++D)he+=i[m+D-32]+i[m-1+32*D];for(he>>=3,D=0;4>D;++D)I(i,m+32*D,he,4)}function Yn(i,m){var D=i[m-1+0],he=i[m-1+32],Ze=i[m-1+64],rt=i[m-1-32],at=i[m+0-32],pt=i[m+1-32],wt=i[m+2-32],Ht=i[m+3-32];i[m+0+96]=wn(he,Ze,i[m-1+96]),i[m+1+96]=i[m+0+64]=wn(D,he,Ze),i[m+2+96]=i[m+1+64]=i[m+0+32]=wn(rt,D,he),i[m+3+96]=i[m+2+64]=i[m+1+32]=i[m+0+0]=wn(at,rt,D),i[m+3+64]=i[m+2+32]=i[m+1+0]=wn(pt,at,rt),i[m+3+32]=i[m+2+0]=wn(wt,pt,at),i[m+3+0]=wn(Ht,wt,pt)}function ma(i,m){var D=i[m+1-32],he=i[m+2-32],Ze=i[m+3-32],rt=i[m+4-32],at=i[m+5-32],pt=i[m+6-32],wt=i[m+7-32];i[m+0+0]=wn(i[m+0-32],D,he),i[m+1+0]=i[m+0+32]=wn(D,he,Ze),i[m+2+0]=i[m+1+32]=i[m+0+64]=wn(he,Ze,rt),i[m+3+0]=i[m+2+32]=i[m+1+64]=i[m+0+96]=wn(Ze,rt,at),i[m+3+32]=i[m+2+64]=i[m+1+96]=wn(rt,at,pt),i[m+3+64]=i[m+2+96]=wn(at,pt,wt),i[m+3+96]=wn(pt,wt,wt)}function pa(i,m){var D=i[m-1+0],he=i[m-1+32],Ze=i[m-1+64],rt=i[m-1-32],at=i[m+0-32],pt=i[m+1-32],wt=i[m+2-32],Ht=i[m+3-32];i[m+0+0]=i[m+1+64]=rt+at+1>>1,i[m+1+0]=i[m+2+64]=at+pt+1>>1,i[m+2+0]=i[m+3+64]=pt+wt+1>>1,i[m+3+0]=wt+Ht+1>>1,i[m+0+96]=wn(Ze,he,D),i[m+0+64]=wn(he,D,rt),i[m+0+32]=i[m+1+96]=wn(D,rt,at),i[m+1+32]=i[m+2+96]=wn(rt,at,pt),i[m+2+32]=i[m+3+96]=wn(at,pt,wt),i[m+3+32]=wn(pt,wt,Ht)}function ta(i,m){var D=i[m+0-32],he=i[m+1-32],Ze=i[m+2-32],rt=i[m+3-32],at=i[m+4-32],pt=i[m+5-32],wt=i[m+6-32],Ht=i[m+7-32];i[m+0+0]=D+he+1>>1,i[m+1+0]=i[m+0+64]=he+Ze+1>>1,i[m+2+0]=i[m+1+64]=Ze+rt+1>>1,i[m+3+0]=i[m+2+64]=rt+at+1>>1,i[m+0+32]=wn(D,he,Ze),i[m+1+32]=i[m+0+96]=wn(he,Ze,rt),i[m+2+32]=i[m+1+96]=wn(Ze,rt,at),i[m+3+32]=i[m+2+96]=wn(rt,at,pt),i[m+3+64]=wn(at,pt,wt),i[m+3+96]=wn(pt,wt,Ht)}function Ta(i,m){var D=i[m-1+0],he=i[m-1+32],Ze=i[m-1+64],rt=i[m-1+96];i[m+0+0]=D+he+1>>1,i[m+2+0]=i[m+0+32]=he+Ze+1>>1,i[m+2+32]=i[m+0+64]=Ze+rt+1>>1,i[m+1+0]=wn(D,he,Ze),i[m+3+0]=i[m+1+32]=wn(he,Ze,rt),i[m+3+32]=i[m+1+64]=wn(Ze,rt,rt),i[m+3+64]=i[m+2+64]=i[m+0+96]=i[m+1+96]=i[m+2+96]=i[m+3+96]=rt}function Za(i,m){var D=i[m-1+0],he=i[m-1+32],Ze=i[m-1+64],rt=i[m-1+96],at=i[m-1-32],pt=i[m+0-32],wt=i[m+1-32],Ht=i[m+2-32];i[m+0+0]=i[m+2+32]=D+at+1>>1,i[m+0+32]=i[m+2+64]=he+D+1>>1,i[m+0+64]=i[m+2+96]=Ze+he+1>>1,i[m+0+96]=rt+Ze+1>>1,i[m+3+0]=wn(pt,wt,Ht),i[m+2+0]=wn(at,pt,wt),i[m+1+0]=i[m+3+32]=wn(D,at,pt),i[m+1+32]=i[m+3+64]=wn(he,D,at),i[m+1+64]=i[m+3+96]=wn(Ze,he,D),i[m+1+96]=wn(rt,Ze,he)}function eo(i,m){var D;for(D=0;8>D;++D)v(i,m+32*D,i,m-32,8)}function $a(i,m){var D;for(D=0;8>D;++D)I(i,m,i[m-1],8),m+=32}function Ga(i,m,D){var he;for(he=0;8>he;++he)I(m,D+32*he,i,8)}function xa(i,m){var D,he=8;for(D=0;8>D;++D)he+=i[m+D-32]+i[m-1+32*D];Ga(he>>4,i,m)}function Ka(i,m){var D,he=4;for(D=0;8>D;++D)he+=i[m+D-32];Ga(he>>3,i,m)}function Ra(i,m){var D,he=4;for(D=0;8>D;++D)he+=i[m-1+32*D];Ga(he>>3,i,m)}function oo(i,m){Ga(128,i,m)}function fo(i,m,D){var he=i[m-D],Ze=i[m+0],rt=3*(Ze-he)+zi[1020+i[m-2*D]-i[m+D]],at=pi[112+(rt+4>>3)];i[m-D]=Uo[255+he+pi[112+(rt+3>>3)]],i[m+0]=Uo[255+Ze-at]}function no(i,m,D,he){var Ze=i[m+0],rt=i[m+D];return xi[255+i[m-2*D]-i[m-D]]>he||xi[255+rt-Ze]>he}function yo(i,m,D,he){return 4*xi[255+i[m-D]-i[m+0]]+xi[255+i[m-2*D]-i[m+D]]<=he}function Ja(i,m,D,he,Ze){var rt=i[m-3*D],at=i[m-2*D],pt=i[m-D],wt=i[m+0],Ht=i[m+D],Sr=i[m+2*D],_r=i[m+3*D];return 4*xi[255+pt-wt]+xi[255+at-Ht]>he?0:xi[255+i[m-4*D]-rt]<=Ze&&xi[255+rt-at]<=Ze&&xi[255+at-pt]<=Ze&&xi[255+_r-Sr]<=Ze&&xi[255+Sr-Ht]<=Ze&&xi[255+Ht-wt]<=Ze}function Eo(i,m,D,he){var Ze=2*he+1;for(he=0;16>he;++he)yo(i,m+he,D,Ze)&&fo(i,m+he,D)}function io(i,m,D,he){var Ze=2*he+1;for(he=0;16>he;++he)yo(i,m+he*D,1,Ze)&&fo(i,m+he*D,1)}function po(i,m,D,he){var Ze;for(Ze=3;0<Ze;--Ze)Eo(i,m+=4*D,D,he)}function Vo(i,m,D,he){var Ze;for(Ze=3;0<Ze;--Ze)io(i,m+=4,D,he)}function So(i,m,D,he,Ze,rt,at,pt){for(rt=2*rt+1;0<Ze--;){if(Ja(i,m,D,rt,at))if(no(i,m,D,pt))fo(i,m,D);else{var wt=i,Ht=m,Sr=D,_r=wt[Ht-2*Sr],en=wt[Ht-Sr],Lr=wt[Ht+0],Bn=wt[Ht+Sr],bn=wt[Ht+2*Sr],Or=27*(Tn=zi[1020+3*(Lr-en)+zi[1020+_r-Bn]])+63>>7,Tr=18*Tn+63>>7,Tn=9*Tn+63>>7;wt[Ht-3*Sr]=Uo[255+wt[Ht-3*Sr]+Tn],wt[Ht-2*Sr]=Uo[255+_r+Tr],wt[Ht-Sr]=Uo[255+en+Or],wt[Ht+0]=Uo[255+Lr-Or],wt[Ht+Sr]=Uo[255+Bn-Tr],wt[Ht+2*Sr]=Uo[255+bn-Tn]}m+=he}}function Qa(i,m,D,he,Ze,rt,at,pt){for(rt=2*rt+1;0<Ze--;){if(Ja(i,m,D,rt,at))if(no(i,m,D,pt))fo(i,m,D);else{var wt=i,Ht=m,Sr=D,_r=wt[Ht-Sr],en=wt[Ht+0],Lr=wt[Ht+Sr],Bn=pi[112+((bn=3*(en-_r))+4>>3)],bn=pi[112+(bn+3>>3)],Or=Bn+1>>1;wt[Ht-2*Sr]=Uo[255+wt[Ht-2*Sr]+Or],wt[Ht-Sr]=Uo[255+_r+bn],wt[Ht+0]=Uo[255+en-Bn],wt[Ht+Sr]=Uo[255+Lr-Or]}m+=he}}function it(i,m,D,he,Ze,rt){So(i,m,D,1,16,he,Ze,rt)}function ja(i,m,D,he,Ze,rt){So(i,m,1,D,16,he,Ze,rt)}function ko(i,m,D,he,Ze,rt){var at;for(at=3;0<at;--at)Qa(i,m+=4*D,D,1,16,he,Ze,rt)}function ti(i,m,D,he,Ze,rt){var at;for(at=3;0<at;--at)Qa(i,m+=4,1,D,16,he,Ze,rt)}function Co(i,m,D,he,Ze,rt,at,pt){So(i,m,Ze,1,8,rt,at,pt),So(D,he,Ze,1,8,rt,at,pt)}function To(i,m,D,he,Ze,rt,at,pt){So(i,m,1,Ze,8,rt,at,pt),So(D,he,1,Ze,8,rt,at,pt)}function ri(i,m,D,he,Ze,rt,at,pt){Qa(i,m+4*Ze,Ze,1,8,rt,at,pt),Qa(D,he+4*Ze,Ze,1,8,rt,at,pt)}function Ro(i,m,D,he,Ze,rt,at,pt){Qa(i,m+4,1,Ze,8,rt,at,pt),Qa(D,he+4,1,Ze,8,rt,at,pt)}function yi(){this.ba=new qo,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new _a,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Si(){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 _o(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Na(){this.ua=0,this.Wa=new xt,this.vb=new xt,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Rt,this.yc=new Ct}function wa(){this.xb=this.a=0,this.l=new bi,this.ca=new qo,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Ke,this.Pb=0,this.wd=new Ke,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Na,this.ab=0,this.gc=B(4,_o),this.Oc=0}function Da(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new bi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function to(i,m,D,he,Ze,rt,at){for(i=i==null?0:i[m+0],m=0;m<at;++m)Ze[rt+m]=i+D[he+m]&255,i=Ze[rt+m]}function ya(i,m,D,he,Ze,rt,at){var pt;if(i==null)to(null,null,D,he,Ze,rt,at);else for(pt=0;pt<at;++pt)Ze[rt+pt]=i[m+pt]+D[he+pt]&255}function La(i,m,D,he,Ze,rt,at){if(i==null)to(null,null,D,he,Ze,rt,at);else{var pt,wt=i[m+0],Ht=wt,Sr=wt;for(pt=0;pt<at;++pt)Ht=Sr+(wt=i[m+pt])-Ht,Sr=D[he+pt]+(-256&Ht?0>Ht?0:255:Ht)&255,Ht=wt,Ze[rt+pt]=Sr}}function bo(i,m,D,he){var Ze=m.width,rt=m.o;if(c(i!=null&&m!=null),0>D||0>=he||D+he>rt)return null;if(!i.Cc){if(i.ga==null){var at;if(i.ga=new Da,(at=i.ga==null)||(at=m.width*m.o,c(i.Gb.length==0),i.Gb=b(at),i.Uc=0,i.Gb==null?at=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,at=1),at=!at),!at){at=i.ga;var pt=i.Fa,wt=i.P,Ht=i.qc,Sr=i.mb,_r=i.nb,en=wt+1,Lr=Ht-1,Bn=at.l;if(c(pt!=null&&Sr!=null&&m!=null),$s[0]=null,$s[1]=to,$s[2]=ya,$s[3]=La,at.ca=Sr,at.tb=_r,at.c=m.width,at.i=m.height,c(0<at.c&&0<at.i),1>=Ht)m=0;else if(at.$a=pt[wt+0]>>0&3,at.Z=pt[wt+0]>>2&3,at.Lc=pt[wt+0]>>4&3,wt=pt[wt+0]>>6&3,0>at.$a||1<at.$a||4<=at.Z||1<at.Lc||wt)m=0;else if(Bn.put=Go,Bn.ac=lo,Bn.bc=ii,Bn.ma=at,Bn.width=m.width,Bn.height=m.height,Bn.Da=m.Da,Bn.v=m.v,Bn.va=m.va,Bn.j=m.j,Bn.o=m.o,at.$a)e:{c(at.$a==1),m=wo();t:for(;;){if(m==null){m=0;break e}if(c(at!=null),at.mc=m,m.c=at.c,m.i=at.i,m.l=at.l,m.l.ma=at,m.l.width=at.c,m.l.height=at.i,m.a=0,Fr(m.m,pt,en,Lr),!Ko(at.c,at.i,1,m,null)||(m.ab==1&&m.gc[0].hc==3&&ei(m.s)?(at.ic=1,pt=m.c*m.i,m.Ta=null,m.Ua=0,m.V=b(pt),m.Ba=0,m.V==null?(m.a=1,m=0):m=1):(at.ic=0,m=si(m,at.c)),!m))break t;m=1;break e}at.mc=null,m=0}else m=Lr>=at.c*at.i;at=!m}if(at)return null;i.ga.Lc!=1?i.Ga=0:he=rt-D}c(i.ga!=null),c(D+he<=rt);e:{if(m=(pt=i.ga).c,rt=pt.l.o,pt.$a==0){if(en=i.rc,Lr=i.Vc,Bn=i.Fa,wt=i.P+1+D*m,Ht=i.mb,Sr=i.nb+D*m,c(wt<=i.P+i.qc),pt.Z!=0)for(c($s[pt.Z]!=null),at=0;at<he;++at)$s[pt.Z](en,Lr,Bn,wt,Ht,Sr,m),en=Ht,Lr=Sr,Sr+=m,wt+=m;else for(at=0;at<he;++at)v(Ht,Sr,Bn,wt,m),en=Ht,Lr=Sr,Sr+=m,wt+=m;i.rc=en,i.Vc=Lr}else{if(c(pt.mc!=null),m=D+he,c((at=pt.mc)!=null),c(m<=at.i),at.C>=m)m=1;else if(pt.ic||F(),pt.ic){pt=at.V,en=at.Ba,Lr=at.c;var bn=at.i,Or=(Bn=1,wt=at.$/Lr,Ht=at.$%Lr,Sr=at.m,_r=at.s,at.$),Tr=Lr*bn,Tn=Lr*m,Hn=_r.wc,Rn=Or<Tn?za(_r,Ht,wt):null;c(Or<=Tr),c(m<=bn),c(ei(_r));t:for(;;){for(;!Sr.h&&Or<Tn;){if(Ht&Hn||(Rn=za(_r,Ht,wt)),c(Rn!=null),dt(Sr),256>(bn=aa(Rn.G[0],Rn.H[0],Sr)))pt[en+Or]=bn,++Or,++Ht>=Lr&&(Ht=0,++wt<=m&&!(wt%16)&&sa(at,wt));else{if(!(280>bn)){Bn=0;break t}bn=Xa(bn-256,Sr);var va,oa=aa(Rn.G[4],Rn.H[4],Sr);if(dt(Sr),!(Or>=(oa=ia(Lr,oa=Xa(oa,Sr)))&&Tr-Or>=bn)){Bn=0;break t}for(va=0;va<bn;++va)pt[en+Or+va]=pt[en+Or+va-oa];for(Or+=bn,Ht+=bn;Ht>=Lr;)Ht-=Lr,++wt<=m&&!(wt%16)&&sa(at,wt);Or<Tn&&Ht&Hn&&(Rn=za(_r,Ht,wt))}c(Sr.h==ce(Sr))}sa(at,wt>m?m:wt);break t}!Bn||Sr.h&&Or<Tr?(Bn=0,at.a=Sr.h?5:3):at.$=Or,m=Bn}else m=Ua(at,at.V,at.Ba,at.c,at.i,m,Bo);if(!m){he=0;break e}}D+he>=rt&&(i.Cc=1),he=1}if(!he)return null;if(i.Cc&&((he=i.ga)!=null&&(he.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+D*Ze}function S(i,m,D,he,Ze,rt){for(;0<Ze--;){var at,pt=i,wt=m+(D?1:0),Ht=i,Sr=m+(D?0:3);for(at=0;at<he;++at){var _r=Ht[Sr+4*at];_r!=255&&(_r*=32897,pt[wt+4*at+0]=pt[wt+4*at+0]*_r>>23,pt[wt+4*at+1]=pt[wt+4*at+1]*_r>>23,pt[wt+4*at+2]=pt[wt+4*at+2]*_r>>23)}m+=rt}}function Re(i,m,D,he,Ze){for(;0<he--;){var rt;for(rt=0;rt<D;++rt){var at=i[m+2*rt+0],pt=15&(Ht=i[m+2*rt+1]),wt=4369*pt,Ht=(240&Ht|Ht>>4)*wt>>16;i[m+2*rt+0]=(240&at|at>>4)*wt>>16&240|(15&at|at<<4)*wt>>16>>4&15,i[m+2*rt+1]=240&Ht|pt}m+=Ze}}function Ft(i,m,D,he,Ze,rt,at,pt){var wt,Ht,Sr=255;for(Ht=0;Ht<Ze;++Ht){for(wt=0;wt<he;++wt){var _r=i[m+wt];rt[at+4*wt]=_r,Sr&=_r}m+=D,at+=pt}return Sr!=255}function hr(i,m,D,he,Ze){var rt;for(rt=0;rt<Ze;++rt)D[he+rt]=i[m+rt]>>8}function F(){Yi=S,ns=Re,vs=Ft,xs=hr}function r(i,m,D){kt[i]=function(he,Ze,rt,at,pt,wt,Ht,Sr,_r,en,Lr,Bn,bn,Or,Tr,Tn,Hn){var Rn,va=Hn-1>>1,oa=pt[wt+0]|Ht[Sr+0]<<16,qa=_r[en+0]|Lr[Bn+0]<<16;c(he!=null);var ca=3*oa+qa+131074>>2;for(m(he[Ze+0],255&ca,ca>>16,bn,Or),rt!=null&&(ca=3*qa+oa+131074>>2,m(rt[at+0],255&ca,ca>>16,Tr,Tn)),Rn=1;Rn<=va;++Rn){var ai=pt[wt+Rn]|Ht[Sr+Rn]<<16,ci=_r[en+Rn]|Lr[Bn+Rn]<<16,Xo=oa+ai+qa+ci+524296,zo=Xo+2*(ai+qa)>>3;ca=zo+oa>>1,oa=(Xo=Xo+2*(oa+ci)>>3)+ai>>1,m(he[Ze+2*Rn-1],255&ca,ca>>16,bn,Or+(2*Rn-1)*D),m(he[Ze+2*Rn-0],255&oa,oa>>16,bn,Or+(2*Rn-0)*D),rt!=null&&(ca=Xo+qa>>1,oa=zo+ci>>1,m(rt[at+2*Rn-1],255&ca,ca>>16,Tr,Tn+(2*Rn-1)*D),m(rt[at+2*Rn+0],255&oa,oa>>16,Tr,Tn+(2*Rn+0)*D)),oa=ai,qa=ci}1&Hn||(ca=3*oa+qa+131074>>2,m(he[Ze+Hn-1],255&ca,ca>>16,bn,Or+(Hn-1)*D),rt!=null&&(ca=3*qa+oa+131074>>2,m(rt[at+Hn-1],255&ca,ca>>16,Tr,Tn+(Hn-1)*D)))}}function o(){hs[as]=h0,hs[ds]=Pl,hs[ws]=m0,hs[fs]=$l,hs[Ss]=jl,hs[As]=Nl,hs[Ol]=p0,hs[sl]=Pl,hs[ll]=$l,hs[Ks]=jl,hs[cl]=Nl}function s(i){return i&~v0?0>i?0:255:i>>Ml}function h(i,m){return s((19077*i>>8)+(26149*m>>8)-14234)}function z(i,m,D){return s((19077*i>>8)-(6419*m>>8)-(13320*D>>8)+8708)}function ue(i,m){return s((19077*i>>8)+(33050*m>>8)-17685)}function De(i,m,D,he,Ze){he[Ze+0]=h(i,D),he[Ze+1]=z(i,m,D),he[Ze+2]=ue(i,m)}function tt(i,m,D,he,Ze){he[Ze+0]=ue(i,m),he[Ze+1]=z(i,m,D),he[Ze+2]=h(i,D)}function Ot(i,m,D,he,Ze){var rt=z(i,m,D);m=rt<<3&224|ue(i,m)>>3,he[Ze+0]=248&h(i,D)|rt>>5,he[Ze+1]=m}function or(i,m,D,he,Ze){var rt=240&ue(i,m)|15;he[Ze+0]=240&h(i,D)|z(i,m,D)>>4,he[Ze+1]=rt}function xr(i,m,D,he,Ze){he[Ze+0]=255,De(i,m,D,he,Ze+1)}function Wr(i,m,D,he,Ze){tt(i,m,D,he,Ze),he[Ze+3]=255}function pn(i,m,D,he,Ze){De(i,m,D,he,Ze),he[Ze+3]=255}function Pn(i,m){return 0>i?0:i>m?m:i}function Fn(i,m,D){kt[i]=function(he,Ze,rt,at,pt,wt,Ht,Sr,_r){for(var en=Sr+(-2&_r)*D;Sr!=en;)m(he[Ze+0],rt[at+0],pt[wt+0],Ht,Sr),m(he[Ze+1],rt[at+0],pt[wt+0],Ht,Sr+D),Ze+=2,++at,++wt,Sr+=2*D;1&_r&&m(he[Ze+0],rt[at+0],pt[wt+0],Ht,Sr)}}function ea(i,m,D){return D==0?i==0?m==0?6:5:m==0?4:0:D}function fa(i,m,D,he,Ze){switch(i>>>30){case 3:Ci(m,D,he,Ze,0);break;case 2:Zo(m,D,he,Ze);break;case 1:Pi(m,D,he,Ze)}}function u(i,m){var D,he,Ze=m.M,rt=m.Nb,at=i.oc,pt=i.pc+40,wt=i.oc,Ht=i.pc+584,Sr=i.oc,_r=i.pc+600;for(D=0;16>D;++D)at[pt+32*D-1]=129;for(D=0;8>D;++D)wt[Ht+32*D-1]=129,Sr[_r+32*D-1]=129;for(0<Ze?at[pt-1-32]=wt[Ht-1-32]=Sr[_r-1-32]=129:(I(at,pt-32-1,127,21),I(wt,Ht-32-1,127,9),I(Sr,_r-32-1,127,9)),he=0;he<i.za;++he){var en=m.ya[m.aa+he];if(0<he){for(D=-1;16>D;++D)v(at,pt+32*D-4,at,pt+32*D+12,4);for(D=-1;8>D;++D)v(wt,Ht+32*D-4,wt,Ht+32*D+4,4),v(Sr,_r+32*D-4,Sr,_r+32*D+4,4)}var Lr=i.Gd,Bn=i.Hd+he,bn=en.ad,Or=en.Hc;if(0<Ze&&(v(at,pt-32,Lr[Bn].y,0,16),v(wt,Ht-32,Lr[Bn].f,0,8),v(Sr,_r-32,Lr[Bn].ea,0,8)),en.Za){var Tr=at,Tn=pt-32+16;for(0<Ze&&(he>=i.za-1?I(Tr,Tn,Lr[Bn].y[15],4):v(Tr,Tn,Lr[Bn+1].y,0,4)),D=0;4>D;D++)Tr[Tn+128+D]=Tr[Tn+256+D]=Tr[Tn+384+D]=Tr[Tn+0+D];for(D=0;16>D;++D,Or<<=2)Tr=at,Tn=pt+Rl[D],gs[en.Ob[D]](Tr,Tn),fa(Or,bn,16*+D,Tr,Tn)}else if(Tr=ea(he,Ze,en.Ob[0]),Ps[Tr](at,pt),Or!=0)for(D=0;16>D;++D,Or<<=2)fa(Or,bn,16*+D,at,pt+Rl[D]);for(D=en.Gc,Tr=ea(he,Ze,en.Dd),Cs[Tr](wt,Ht),Cs[Tr](Sr,_r),Or=bn,Tr=wt,Tn=Ht,255&(en=D>>0)&&(170&en?Ho(Or,256,Tr,Tn):ni(Or,256,Tr,Tn)),en=Sr,Or=_r,255&(D>>=8)&&(170&D?Ho(bn,320,en,Or):ni(bn,320,en,Or)),Ze<i.Ub-1&&(v(Lr[Bn].y,0,at,pt+480,16),v(Lr[Bn].f,0,wt,Ht+224,8),v(Lr[Bn].ea,0,Sr,_r+224,8)),D=8*rt*i.B,Lr=i.sa,Bn=i.ta+16*he+16*rt*i.R,bn=i.qa,en=i.ra+8*he+D,Or=i.Ha,Tr=i.Ia+8*he+D,D=0;16>D;++D)v(Lr,Bn+D*i.R,at,pt+32*D,16);for(D=0;8>D;++D)v(bn,en+D*i.B,wt,Ht+32*D,8),v(Or,Tr+D*i.B,Sr,_r+32*D,8)}}function e(i,m,D,he,Ze,rt,at,pt,wt){var Ht=[0],Sr=[0],_r=0,en=wt!=null?wt.kd:0,Lr=wt!=null?wt:new Si;if(i==null||12>D)return 7;Lr.data=i,Lr.w=m,Lr.ha=D,m=[m],D=[D],Lr.gb=[Lr.gb];e:{var Bn=m,bn=D,Or=Lr.gb;if(c(i!=null),c(bn!=null),c(Or!=null),Or[0]=0,12<=bn[0]&&!d(i,Bn[0],"RIFF")){if(d(i,Bn[0]+8,"WEBP")){Or=3;break e}var Tr=sn(i,Bn[0]+4);if(12>Tr||4294967286<Tr){Or=3;break e}if(en&&Tr>bn[0]-8){Or=7;break e}Or[0]=Tr,Bn[0]+=12,bn[0]-=12}Or=0}if(Or!=0)return Or;for(Tr=0<Lr.gb[0],D=D[0];;){e:{var Tn=i;bn=m,Or=D;var Hn=Ht,Rn=Sr,va=Bn=[0];if((ca=_r=[_r])[0]=0,8>Or[0])Or=7;else{if(!d(Tn,bn[0],"VP8X")){if(sn(Tn,bn[0]+4)!=10){Or=3;break e}if(18>Or[0]){Or=7;break e}var oa=sn(Tn,bn[0]+8),qa=1+Hr(Tn,bn[0]+12);if(2147483648<=qa*(Tn=1+Hr(Tn,bn[0]+15))){Or=3;break e}va!=null&&(va[0]=oa),Hn!=null&&(Hn[0]=qa),Rn!=null&&(Rn[0]=Tn),bn[0]+=18,Or[0]-=18,ca[0]=1}Or=0}}if(_r=_r[0],Bn=Bn[0],Or!=0)return Or;if(bn=!!(2&Bn),!Tr&&_r)return 3;if(rt!=null&&(rt[0]=!!(16&Bn)),at!=null&&(at[0]=bn),pt!=null&&(pt[0]=0),at=Ht[0],Bn=Sr[0],_r&&bn&&wt==null){Or=0;break}if(4>D){Or=7;break}if(Tr&&_r||!Tr&&!_r&&!d(i,m[0],"ALPH")){D=[D],Lr.na=[Lr.na],Lr.P=[Lr.P],Lr.Sa=[Lr.Sa];e:{oa=i,Or=m,Tr=D;var ca=Lr.gb;Hn=Lr.na,Rn=Lr.P,va=Lr.Sa,qa=22,c(oa!=null),c(Tr!=null),Tn=Or[0];var ai=Tr[0];for(c(Hn!=null),c(va!=null),Hn[0]=null,Rn[0]=null,va[0]=0;;){if(Or[0]=Tn,Tr[0]=ai,8>ai){Or=7;break e}var ci=sn(oa,Tn+4);if(4294967286<ci){Or=3;break e}var Xo=8+ci+1&-2;if(qa+=Xo,0<ca&&qa>ca){Or=3;break e}if(!d(oa,Tn,"VP8 ")||!d(oa,Tn,"VP8L")){Or=0;break e}if(ai[0]<Xo){Or=7;break e}d(oa,Tn,"ALPH")||(Hn[0]=oa,Rn[0]=Tn+8,va[0]=ci),Tn+=Xo,ai-=Xo}}if(D=D[0],Lr.na=Lr.na[0],Lr.P=Lr.P[0],Lr.Sa=Lr.Sa[0],Or!=0)break}D=[D],Lr.Ja=[Lr.Ja],Lr.xa=[Lr.xa];e:if(ca=i,Or=m,Tr=D,Hn=Lr.gb[0],Rn=Lr.Ja,va=Lr.xa,oa=Or[0],Tn=!d(ca,oa,"VP8 "),qa=!d(ca,oa,"VP8L"),c(ca!=null),c(Tr!=null),c(Rn!=null),c(va!=null),8>Tr[0])Or=7;else{if(Tn||qa){if(ca=sn(ca,oa+4),12<=Hn&&ca>Hn-12){Or=3;break e}if(en&&ca>Tr[0]-8){Or=7;break e}Rn[0]=ca,Or[0]+=8,Tr[0]-=8,va[0]=qa}else va[0]=5<=Tr[0]&&ca[oa+0]==47&&!(ca[oa+4]>>5),Rn[0]=Tr[0];Or=0}if(D=D[0],Lr.Ja=Lr.Ja[0],Lr.xa=Lr.xa[0],m=m[0],Or!=0)break;if(4294967286<Lr.Ja)return 3;if(pt==null||bn||(pt[0]=Lr.xa?2:1),at=[at],Bn=[Bn],Lr.xa){if(5>D){Or=7;break}pt=at,en=Bn,bn=rt,i==null||5>D?i=0:5<=D&&i[m+0]==47&&!(i[m+4]>>5)?(Tr=[0],ca=[0],Hn=[0],Fr(Rn=new Ke,i,m,D),Dn(Rn,Tr,ca,Hn)?(pt!=null&&(pt[0]=Tr[0]),en!=null&&(en[0]=ca[0]),bn!=null&&(bn[0]=Hn[0]),i=1):i=0):i=0}else{if(10>D){Or=7;break}pt=Bn,i==null||10>D||!Ji(i,m+3,D-3)?i=0:(en=i[m+0]|i[m+1]<<8|i[m+2]<<16,bn=16383&(i[m+7]<<8|i[m+6]),i=16383&(i[m+9]<<8|i[m+8]),1&en||3<(en>>1&7)||!(en>>4&1)||en>>5>=Lr.Ja||!bn||!i?i=0:(at&&(at[0]=bn),pt&&(pt[0]=i),i=1))}if(!i||(at=at[0],Bn=Bn[0],_r&&(Ht[0]!=at||Sr[0]!=Bn)))return 3;wt!=null&&(wt[0]=Lr,wt.offset=m-wt.w,c(4294967286>m-wt.w),c(wt.offset==wt.ha-D));break}return Or==0||Or==7&&_r&&wt==null?(rt!=null&&(rt[0]|=Lr.na!=null&&0<Lr.na.length),he!=null&&(he[0]=at),Ze!=null&&(Ze[0]=Bn),0):Or}function n(i,m,D){var he=m.width,Ze=m.height,rt=0,at=0,pt=he,wt=Ze;if(m.Da=i!=null&&0<i.Da,m.Da&&(pt=i.cd,wt=i.bd,rt=i.v,at=i.j,11>D||(rt&=-2,at&=-2),0>rt||0>at||0>=pt||0>=wt||rt+pt>he||at+wt>Ze))return 0;if(m.v=rt,m.j=at,m.va=rt+pt,m.o=at+wt,m.U=pt,m.T=wt,m.da=i!=null&&0<i.da,m.da){if(!rn(pt,wt,D=[i.ib],rt=[i.hb]))return 0;m.ib=D[0],m.hb=rt[0]}return m.ob=i!=null&&i.ob,m.Kb=i==null||!i.Sd,m.da&&(m.ob=m.ib<3*he/4&&m.hb<3*Ze/4,m.Kb=0),1}function f(i){if(i==null)return 2;if(11>i.S){var m=i.f.RGBA;m.fb+=(i.height-1)*m.A,m.A=-m.A}else m=i.f.kb,i=i.height,m.O+=(i-1)*m.fa,m.fa=-m.fa,m.N+=(i-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(i-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(i-1)*m.lb,m.lb=-m.lb);return 0}function O(i,m,D,he){if(he==null||0>=i||0>=m)return 2;if(D!=null){if(D.Da){var Ze=D.cd,rt=D.bd,at=-2&D.v,pt=-2&D.j;if(0>at||0>pt||0>=Ze||0>=rt||at+Ze>i||pt+rt>m)return 2;i=Ze,m=rt}if(D.da){if(!rn(i,m,Ze=[D.ib],rt=[D.hb]))return 2;i=Ze[0],m=rt[0]}}he.width=i,he.height=m;e:{var wt=he.width,Ht=he.height;if(i=he.S,0>=wt||0>=Ht||!(i>=as&&13>i))i=2;else{if(0>=he.Rd&&he.sd==null){at=rt=Ze=m=0;var Sr=(pt=wt*Bl[i])*Ht;if(11>i||(rt=(Ht+1)/2*(m=(wt+1)/2),i==12&&(at=(Ze=wt)*Ht)),(Ht=b(Sr+2*rt+at))==null){i=1;break e}he.sd=Ht,11>i?((wt=he.f.RGBA).eb=Ht,wt.fb=0,wt.A=pt,wt.size=Sr):((wt=he.f.kb).y=Ht,wt.O=0,wt.fa=pt,wt.Fd=Sr,wt.f=Ht,wt.N=0+Sr,wt.Ab=m,wt.Cd=rt,wt.ea=Ht,wt.W=0+Sr+rt,wt.Db=m,wt.Ed=rt,i==12&&(wt.F=Ht,wt.J=0+Sr+2*rt),wt.Tc=at,wt.lb=Ze)}if(m=1,Ze=he.S,rt=he.width,at=he.height,Ze>=as&&13>Ze)if(11>Ze)i=he.f.RGBA,m&=(pt=Math.abs(i.A))*(at-1)+rt<=i.size,m&=pt>=rt*Bl[Ze],m&=i.eb!=null;else{i=he.f.kb,pt=(rt+1)/2,Sr=(at+1)/2,wt=Math.abs(i.fa),Ht=Math.abs(i.Ab);var _r=Math.abs(i.Db),en=Math.abs(i.lb),Lr=en*(at-1)+rt;m&=wt*(at-1)+rt<=i.Fd,m&=Ht*(Sr-1)+pt<=i.Cd,m=(m&=_r*(Sr-1)+pt<=i.Ed)&wt>=rt&Ht>=pt&_r>=pt,m&=i.y!=null,m&=i.f!=null,m&=i.ea!=null,Ze==12&&(m&=en>=rt,m&=Lr<=i.Tc,m&=i.F!=null)}else m=0;i=m?0:2}}return i!=0||D!=null&&D.fd&&(i=f(he)),i}var Q=64,je=[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],Ve=24,qe=32,Dt=8,mr=[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];dn("Predictor0","PredictorAdd0"),kt.Predictor0=function(){return 4278190080},kt.Predictor1=function(i){return i},kt.Predictor2=function(i,m,D){return m[D+0]},kt.Predictor3=function(i,m,D){return m[D+1]},kt.Predictor4=function(i,m,D){return m[D-1]},kt.Predictor5=function(i,m,D){return xn(xn(i,m[D+1]),m[D+0])},kt.Predictor6=function(i,m,D){return xn(i,m[D-1])},kt.Predictor7=function(i,m,D){return xn(i,m[D+0])},kt.Predictor8=function(i,m,D){return xn(m[D-1],m[D+0])},kt.Predictor9=function(i,m,D){return xn(m[D+0],m[D+1])},kt.Predictor10=function(i,m,D){return xn(xn(i,m[D-1]),xn(m[D+0],m[D+1]))},kt.Predictor11=function(i,m,D){var he=m[D+0];return 0>=Jn(he>>24&255,i>>24&255,(m=m[D-1])>>24&255)+Jn(he>>16&255,i>>16&255,m>>16&255)+Jn(he>>8&255,i>>8&255,m>>8&255)+Jn(255&he,255&i,255&m)?he:i},kt.Predictor12=function(i,m,D){var he=m[D+0];return(Ln((i>>24&255)+(he>>24&255)-((m=m[D-1])>>24&255))<<24|Ln((i>>16&255)+(he>>16&255)-(m>>16&255))<<16|Ln((i>>8&255)+(he>>8&255)-(m>>8&255))<<8|Ln((255&i)+(255&he)-(255&m)))>>>0},kt.Predictor13=function(i,m,D){var he=m[D-1];return(qn((i=xn(i,m[D+0]))>>24&255,he>>24&255)<<24|qn(i>>16&255,he>>16&255)<<16|qn(i>>8&255,he>>8&255)<<8|qn(i>>0&255,he>>0&255))>>>0};var Nr=kt.PredictorAdd0;kt.PredictorAdd1=Qn,dn("Predictor2","PredictorAdd2"),dn("Predictor3","PredictorAdd3"),dn("Predictor4","PredictorAdd4"),dn("Predictor5","PredictorAdd5"),dn("Predictor6","PredictorAdd6"),dn("Predictor7","PredictorAdd7"),dn("Predictor8","PredictorAdd8"),dn("Predictor9","PredictorAdd9"),dn("Predictor10","PredictorAdd10"),dn("Predictor11","PredictorAdd11"),dn("Predictor12","PredictorAdd12"),dn("Predictor13","PredictorAdd13");var Ir=kt.PredictorAdd2;jn("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),jn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var Ar,Yr=kt.ColorIndexInverseTransform,hn=kt.MapARGB,kn=kt.VP8LColorIndexInverseTransformAlpha,Gn=kt.MapAlpha,ua=kt.VP8LPredictorsAdd=[];ua.length=16,(kt.VP8LPredictors=[]).length=16,(kt.VP8LPredictorsAdd_C=[]).length=16,(kt.VP8LPredictors_C=[]).length=16;var da,Ba,ga,Wa,Ya,Lo,vo,Ci,Zo,Ho,Pi,ni,Oi,Ki,_i,Xi,ps,ji,Li,Oo,Wo,hi,mi,rs,Yi,ns,vs,xs,Bs=b(511),Is=b(2041),jo=b(225),so=b(767),Fi=0,zi=Is,pi=jo,Uo=so,xi=Bs,as=0,ds=1,ws=2,fs=3,Ss=4,As=5,Ol=6,sl=7,ll=8,Ks=9,cl=10,_l=[2,3,7],e0=[3,3,11],El=[280,256,256,256,40],t0=[0,1,1,1,0],r0=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n0=[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],a0=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],o0=8,ul=[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],dl=[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],Hs=null,i0=[[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]],s0=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Il=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],l0=[[[[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]]]],c0=[[[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]]],u0=[[[[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]]]],d0=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ps=[],gs=[],Cs=[],f0=1,Al=2,$s=[],hs=[];r("UpsampleRgbLinePair",De,3),r("UpsampleBgrLinePair",tt,3),r("UpsampleRgbaLinePair",pn,4),r("UpsampleBgraLinePair",Wr,4),r("UpsampleArgbLinePair",xr,4),r("UpsampleRgba4444LinePair",or,2),r("UpsampleRgb565LinePair",Ot,2);var h0=kt.UpsampleRgbLinePair,m0=kt.UpsampleBgrLinePair,Pl=kt.UpsampleRgbaLinePair,$l=kt.UpsampleBgraLinePair,jl=kt.UpsampleArgbLinePair,Nl=kt.UpsampleRgba4444LinePair,p0=kt.UpsampleRgb565LinePair,Xs=16,Ys=1<<Xs-1,Ws=-227,fl=482,Ml=6,v0=(256<<Ml)-1,Tl=0,g0=b(256),b0=b(256),y0=b(256),x0=b(256),w0=b(fl-Ws),S0=b(fl-Ws);Fn("YuvToRgbRow",De,3),Fn("YuvToBgrRow",tt,3),Fn("YuvToRgbaRow",pn,4),Fn("YuvToBgraRow",Wr,4),Fn("YuvToArgbRow",xr,4),Fn("YuvToRgba4444Row",or,2),Fn("YuvToRgb565Row",Ot,2);var Rl=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],qs=[0,2,8],C0=[8,7,6,4,4,2,2,2,1,1,1,1],O0=1;this.WebPDecodeRGBA=function(i,m,D,he,Ze){var rt=ds,at=new yi,pt=new qo;at.ba=pt,pt.S=rt,pt.width=[pt.width],pt.height=[pt.height];var wt=pt.width,Ht=pt.height,Sr=new Jo;if(Sr==null||i==null)var _r=2;else c(Sr!=null),_r=e(i,m,D,Sr.width,Sr.height,Sr.Pd,Sr.Qd,Sr.format,null);if(_r!=0?wt=0:(wt!=null&&(wt[0]=Sr.width[0]),Ht!=null&&(Ht[0]=Sr.height[0]),wt=1),wt){pt.width=pt.width[0],pt.height=pt.height[0],he!=null&&(he[0]=pt.width),Ze!=null&&(Ze[0]=pt.height);e:{if(he=new bi,(Ze=new Si).data=i,Ze.w=m,Ze.ha=D,Ze.kd=1,m=[0],c(Ze!=null),((i=e(Ze.data,Ze.w,Ze.ha,null,null,null,m,null,Ze))==0||i==7)&&m[0]&&(i=4),(m=i)==0){if(c(at!=null),he.data=Ze.data,he.w=Ze.w+Ze.offset,he.ha=Ze.ha-Ze.offset,he.put=Go,he.ac=lo,he.bc=ii,he.ma=at,Ze.xa){if((i=wo())==null){at=1;break e}if(function(en,Lr){var Bn=[0],bn=[0],Or=[0];t:for(;;){if(en==null)return 0;if(Lr==null)return en.a=2,0;if(en.l=Lr,en.a=0,Fr(en.m,Lr.data,Lr.w,Lr.ha),!Dn(en.m,Bn,bn,Or)){en.a=3;break t}if(en.xb=Al,Lr.width=Bn[0],Lr.height=bn[0],!Ko(Bn[0],bn[0],1,en,null))break t;return 1}return c(en.a!=0),0}(i,he)){if(he=(m=O(he.width,he.height,at.Oa,at.ba))==0){t:{he=i;r:for(;;){if(he==null){he=0;break t}if(c(he.s.yc!=null),c(he.s.Ya!=null),c(0<he.s.Wb),c((D=he.l)!=null),c((Ze=D.ma)!=null),he.xb!=0){if(he.ca=Ze.ba,he.tb=Ze.tb,c(he.ca!=null),!n(Ze.Oa,D,fs)){he.a=2;break r}if(!si(he,D.width)||D.da)break r;if((D.da||na(he.ca.S))&&F(),11>he.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),he.ca.f.kb.F!=null&&F()),he.Pb&&0<he.s.ua&&he.s.vb.X==null&&!Qr(he.s.vb,he.s.Wa.Xa)){he.a=1;break r}he.xb=0}if(!Ua(he,he.V,he.Ba,he.c,he.i,D.o,No))break r;Ze.Dc=he.Ma,he=1;break t}c(he.a!=0),he=0}he=!he}he&&(m=i.a)}else m=i.a}else{if((i=new es)==null){at=1;break e}if(i.Fa=Ze.na,i.P=Ze.P,i.qc=Ze.Sa,$i(i,he)){if((m=O(he.width,he.height,at.Oa,at.ba))==0){if(i.Aa=0,D=at.Oa,c((Ze=i)!=null),D!=null){if(0<(wt=0>(wt=D.Md)?0:100<wt?255:255*wt/100)){for(Ht=Sr=0;4>Ht;++Ht)12>(_r=Ze.pb[Ht]).lc&&(_r.ia=wt*C0[0>_r.lc?0:_r.lc]>>3),Sr|=_r.ia;Sr&&(alert("todo:VP8InitRandom"),Ze.ia=1)}Ze.Ga=D.Id,100<Ze.Ga?Ze.Ga=100:0>Ze.Ga&&(Ze.Ga=0)}Zi(i,he)||(m=i.a)}}else m=i.a}m==0&&at.Oa!=null&&at.Oa.fd&&(m=f(at.ba))}at=m}rt=at!=0?null:11>rt?pt.f.RGBA.eb:pt.f.kb.y}else rt=null;return rt};var Bl=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ce(kt,un){for(var gn="",yt=0;yt<4;yt++)gn+=String.fromCharCode(kt[un++]);return gn}function _e(kt,un){return(kt[un+0]<<0|kt[un+1]<<8|kt[un+2]<<16)>>>0}function Ge(kt,un){return(kt[un+0]<<0|kt[un+1]<<8|kt[un+2]<<16|kt[un+3]<<24)>>>0}new _;var nt=[0],me=[0],Gt=[],oe=new _,jt=p,lt=function(kt,un){var gn={},yt=0,Ct=!1,ir=0,Rt=0;if(gn.frames=[],!function(be,ce,Je,dt){for(var Nt=0;Nt<dt;Nt++)if(be[ce+Nt]!=Je.charCodeAt(Nt))return!0;return!1}(kt,un,"RIFF",4)){var Zr,br;for(Ge(kt,un+=4),un+=8;un<kt.length;){var Br=Ce(kt,un),Fr=Ge(kt,un+=4);un+=4;var Xr=Fr+(1&Fr);switch(Br){case"VP8 ":case"VP8L":gn.frames[yt]===void 0&&(gn.frames[yt]={}),(Ke=gn.frames[yt]).src_off=Ct?Rt:un-8,Ke.src_size=ir+Fr+8,yt++,Ct&&(Ct=!1,ir=0,Rt=0);break;case"VP8X":(Ke=gn.header={}).feature_flags=kt[un];var kr=un+4;Ke.canvas_width=1+_e(kt,kr),kr+=3,Ke.canvas_height=1+_e(kt,kr),kr+=3;break;case"ALPH":Ct=!0,ir=Xr+8,Rt=un-8;break;case"ANIM":(Ke=gn.header).bgcolor=Ge(kt,un),kr=un+4,Ke.loop_count=(Zr=kt)[(br=kr)+0]<<0|Zr[br+1]<<8,kr+=2;break;case"ANMF":var Un,Ke;(Ke=gn.frames[yt]={}).offset_x=2*_e(kt,un),un+=3,Ke.offset_y=2*_e(kt,un),un+=3,Ke.width=1+_e(kt,un),un+=3,Ke.height=1+_e(kt,un),un+=3,Ke.duration=_e(kt,un),un+=3,Un=kt[un++],Ke.dispose=1&Un,Ke.blend=Un>>1&1}Br!="ANMF"&&(un+=Xr)}return gn}}(jt,0);lt.response=jt,lt.rgbaoutput=!0,lt.dataurl=!1;var Zt=lt.header?lt.header:null,wr=lt.frames?lt.frames:null;if(Zt){Zt.loop_counter=Zt.loop_count,nt=[Zt.canvas_height],me=[Zt.canvas_width];for(var cn=0;cn<wr.length&&wr[cn].blend!=0;cn++);}var vn=wr[0],On=oe.WebPDecodeRGBA(jt,vn.src_off,vn.src_size,me,nt);vn.rgba=On,vn.imgwidth=me[0],vn.imgheight=nt[0];for(var qr=0;qr<me[0]*nt[0]*4;qr++)Gt[qr]=On[qr];return this.width=me,this.height=nt,this.data=Gt,this}(function(p){var c=function(){return typeof Fe.iZ=="function"},d=function(nt,me,Gt,oe){var jt=4,lt=B;switch(oe){case p.image_compression.FAST:jt=1,lt=b;break;case p.image_compression.MEDIUM:jt=6,lt=X;break;case p.image_compression.SLOW:jt=9,lt=_}nt=v(nt,me,Gt,lt);var Zt=(0,Fe.iZ)(nt,{level:jt});return p.__addimage__.arrayBufferToBinaryString(Zt)},v=function(nt,me,Gt,oe){for(var jt,lt,Zt,wr=nt.length/me,cn=new Uint8Array(nt.length+wr),vn=_e(),On=0;On<wr;On+=1){if(Zt=On*me,jt=nt.subarray(Zt,Zt+me),oe)cn.set(oe(jt,Gt,lt),Zt+On);else{for(var qr,kt=vn.length,un=[];qr<kt;qr+=1)un[qr]=vn[qr](jt,Gt,lt);var gn=Ge(un.concat());cn.set(un[gn],Zt+On)}lt=jt}return cn},I=function(nt){var me=Array.apply([],nt);return me.unshift(0),me},b=function(nt,me){var Gt,oe=[],jt=nt.length;oe[0]=1;for(var lt=0;lt<jt;lt+=1)Gt=nt[lt-me]||0,oe[lt+1]=nt[lt]-Gt+256&255;return oe},B=function(nt,me,Gt){var oe,jt=[],lt=nt.length;jt[0]=2;for(var Zt=0;Zt<lt;Zt+=1)oe=Gt&&Gt[Zt]||0,jt[Zt+1]=nt[Zt]-oe+256&255;return jt},X=function(nt,me,Gt){var oe,jt,lt=[],Zt=nt.length;lt[0]=3;for(var wr=0;wr<Zt;wr+=1)oe=nt[wr-me]||0,jt=Gt&&Gt[wr]||0,lt[wr+1]=nt[wr]+256-(oe+jt>>>1)&255;return lt},_=function(nt,me,Gt){var oe,jt,lt,Zt,wr=[],cn=nt.length;wr[0]=4;for(var vn=0;vn<cn;vn+=1)oe=nt[vn-me]||0,jt=Gt&&Gt[vn]||0,lt=Gt&&Gt[vn-me]||0,Zt=Ce(oe,jt,lt),wr[vn+1]=nt[vn]-Zt+256&255;return wr},Ce=function(nt,me,Gt){if(nt===me&&me===Gt)return nt;var oe=Math.abs(me-Gt),jt=Math.abs(nt-Gt),lt=Math.abs(nt+me-Gt-Gt);return oe<=jt&&oe<=lt?nt:jt<=lt?me:Gt},_e=function(){return[I,b,B,X,_]},Ge=function(nt){var me=nt.map(function(Gt){return Gt.reduce(function(oe,jt){return oe+Math.abs(jt)},0)});return me.indexOf(Math.min.apply(null,me))};p.processPNG=function(nt,me,Gt,oe){var jt,lt,Zt,wr,cn,vn,On,qr,kt,un,gn,yt,Ct,ir,Rt,Zr=this.decode.FLATE_DECODE,br="";if(this.__addimage__.isArrayBuffer(nt)&&(nt=new Uint8Array(nt)),this.__addimage__.isArrayBufferView(nt)){if(nt=(Zt=new qt(nt)).imgData,lt=Zt.bits,jt=Zt.colorSpace,cn=Zt.colors,[4,6].indexOf(Zt.colorType)!==-1){if(Zt.bits===8){kt=(qr=Zt.pixelBitlength==32?new Uint32Array(Zt.decodePixels().buffer):Zt.pixelBitlength==16?new Uint16Array(Zt.decodePixels().buffer):new Uint8Array(Zt.decodePixels().buffer)).length,gn=new Uint8Array(kt*Zt.colors),un=new Uint8Array(kt);var Br,Fr=Zt.pixelBitlength-Zt.bits;for(ir=0,Rt=0;ir<kt;ir++){for(Ct=qr[ir],Br=0;Br<Fr;)gn[Rt++]=Ct>>>Br&255,Br+=Zt.bits;un[ir]=Ct>>>Br&255}}if(Zt.bits===16){kt=(qr=new Uint32Array(Zt.decodePixels().buffer)).length,gn=new Uint8Array(kt*(32/Zt.pixelBitlength)*Zt.colors),un=new Uint8Array(kt*(32/Zt.pixelBitlength)),yt=Zt.colors>1,ir=0,Rt=0;for(var Xr=0;ir<kt;)Ct=qr[ir++],gn[Rt++]=Ct>>>0&255,yt&&(gn[Rt++]=Ct>>>16&255,Ct=qr[ir++],gn[Rt++]=Ct>>>0&255),un[Xr++]=Ct>>>16&255;lt=8}oe!==p.image_compression.NONE&&c()?(nt=d(gn,Zt.width*Zt.colors,Zt.colors,oe),On=d(un,Zt.width,1,oe)):(nt=gn,On=un,Zr=void 0)}if(Zt.colorType===3&&(jt=this.color_spaces.INDEXED,vn=Zt.palette,Zt.transparency.indexed)){var kr=Zt.transparency.indexed,Un=0;for(ir=0,kt=kr.length;ir<kt;++ir)Un+=kr[ir];if((Un/=255)===kt-1&&kr.indexOf(0)!==-1)wr=[kr.indexOf(0)];else if(Un!==kt){for(qr=Zt.decodePixels(),un=new Uint8Array(qr.length),ir=0,kt=qr.length;ir<kt;ir++)un[ir]=kr[qr[ir]];On=d(un,Zt.width,1)}}var Ke=function(be){var ce;switch(be){case p.image_compression.FAST:ce=11;break;case p.image_compression.MEDIUM:ce=13;break;case p.image_compression.SLOW:ce=14;break;default:ce=12}return ce}(oe);return Zr===this.decode.FLATE_DECODE&&(br="/Predictor "+Ke+" "),br+="/Colors "+cn+" /BitsPerComponent "+lt+" /Columns "+Zt.width,(this.__addimage__.isArrayBuffer(nt)||this.__addimage__.isArrayBufferView(nt))&&(nt=this.__addimage__.arrayBufferToBinaryString(nt)),(On&&this.__addimage__.isArrayBuffer(On)||this.__addimage__.isArrayBufferView(On))&&(On=this.__addimage__.arrayBufferToBinaryString(On)),{alias:Gt,data:nt,index:me,filter:Zr,decodeParameters:br,transparency:wr,palette:vn,sMask:On,predictor:Ke,width:Zt.width,height:Zt.height,bitsPerComponent:lt,colorSpace:jt}}}})(k.API),function(p){p.processGIF89A=function(c,d,v,I){var b=new gr(c),B=b.width,X=b.height,_=[];b.decodeAndBlitFrameRGBA(0,_);var Ce={data:_,width:B,height:X},_e=new tn(100).encode(Ce,100);return p.processJPEG.call(this,_e,d,v,I)},p.processGIF87A=p.processGIF89A}(k.API),$n.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 p=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(p);for(var c=0;c<p;c++){var d=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),I=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0);this.palette[c]={red:I,green:v,blue:d,quad:b}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},$n.prototype.parseBGR=function(){this.pos=this.offset;try{var p="bit"+this.bitPP,c=this.width*this.height*4;this.data=new Uint8Array(c),this[p]()}catch(d){G.log("bit decode error:"+d)}},$n.prototype.bit1=function(){var p,c=Math.ceil(this.width/8),d=c%4;for(p=this.height-1;p>=0;p--){for(var v=this.bottom_up?p:this.height-1-p,I=0;I<c;I++)for(var b=this.datav.getUint8(this.pos++,!0),B=v*this.width*4+8*I*4,X=0;X<8&&8*I+X<this.width;X++){var _=this.palette[b>>7-X&1];this.data[B+4*X]=_.blue,this.data[B+4*X+1]=_.green,this.data[B+4*X+2]=_.red,this.data[B+4*X+3]=255}d!==0&&(this.pos+=4-d)}},$n.prototype.bit4=function(){for(var p=Math.ceil(this.width/2),c=p%4,d=this.height-1;d>=0;d--){for(var v=this.bottom_up?d:this.height-1-d,I=0;I<p;I++){var b=this.datav.getUint8(this.pos++,!0),B=v*this.width*4+2*I*4,X=b>>4,_=15&b,Ce=this.palette[X];if(this.data[B]=Ce.blue,this.data[B+1]=Ce.green,this.data[B+2]=Ce.red,this.data[B+3]=255,2*I+1>=this.width)break;Ce=this.palette[_],this.data[B+4]=Ce.blue,this.data[B+4+1]=Ce.green,this.data[B+4+2]=Ce.red,this.data[B+4+3]=255}c!==0&&(this.pos+=4-c)}},$n.prototype.bit8=function(){for(var p=this.width%4,c=this.height-1;c>=0;c--){for(var d=this.bottom_up?c:this.height-1-c,v=0;v<this.width;v++){var I=this.datav.getUint8(this.pos++,!0),b=d*this.width*4+4*v;if(I<this.palette.length){var B=this.palette[I];this.data[b]=B.red,this.data[b+1]=B.green,this.data[b+2]=B.blue,this.data[b+3]=255}else this.data[b]=255,this.data[b+1]=255,this.data[b+2]=255,this.data[b+3]=255}p!==0&&(this.pos+=4-p)}},$n.prototype.bit15=function(){for(var p=this.width%3,c=parseInt("11111",2),d=this.height-1;d>=0;d--){for(var v=this.bottom_up?d:this.height-1-d,I=0;I<this.width;I++){var b=this.datav.getUint16(this.pos,!0);this.pos+=2;var B=(b&c)/c*255|0,X=(b>>5&c)/c*255|0,_=(b>>10&c)/c*255|0,Ce=b>>15?255:0,_e=v*this.width*4+4*I;this.data[_e]=_,this.data[_e+1]=X,this.data[_e+2]=B,this.data[_e+3]=Ce}this.pos+=p}},$n.prototype.bit16=function(){for(var p=this.width%3,c=parseInt("11111",2),d=parseInt("111111",2),v=this.height-1;v>=0;v--){for(var I=this.bottom_up?v:this.height-1-v,b=0;b<this.width;b++){var B=this.datav.getUint16(this.pos,!0);this.pos+=2;var X=(B&c)/c*255|0,_=(B>>5&d)/d*255|0,Ce=(B>>11)/c*255|0,_e=I*this.width*4+4*b;this.data[_e]=Ce,this.data[_e+1]=_,this.data[_e+2]=X,this.data[_e+3]=255}this.pos+=p}},$n.prototype.bit24=function(){for(var p=this.height-1;p>=0;p--){for(var c=this.bottom_up?p:this.height-1-p,d=0;d<this.width;d++){var v=this.datav.getUint8(this.pos++,!0),I=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),B=c*this.width*4+4*d;this.data[B]=b,this.data[B+1]=I,this.data[B+2]=v,this.data[B+3]=255}this.pos+=this.width%4}},$n.prototype.bit32=function(){for(var p=this.height-1;p>=0;p--)for(var c=this.bottom_up?p:this.height-1-p,d=0;d<this.width;d++){var v=this.datav.getUint8(this.pos++,!0),I=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),B=this.datav.getUint8(this.pos++,!0),X=c*this.width*4+4*d;this.data[X]=b,this.data[X+1]=I,this.data[X+2]=v,this.data[X+3]=B}},$n.prototype.getData=function(){return this.data},function(p){p.processBMP=function(c,d,v,I){var b=new $n(c,!1),B=b.width,X=b.height,_={data:b.getData(),width:B,height:X},Ce=new tn(100).encode(_,100);return p.processJPEG.call(this,Ce,d,v,I)}}(k.API),Vt.prototype.getData=function(){return this.data},function(p){p.processWEBP=function(c,d,v,I){var b=new Vt(c,!1),B=b.width,X=b.height,_={data:b.getData(),width:B,height:X},Ce=new tn(100).encode(_,100);return p.processJPEG.call(this,Ce,d,v,I)}}(k.API),k.API.processRGBA=function(p,c,d){for(var v=p.data,I=v.length,b=new Uint8Array(I/4*3),B=new Uint8Array(I/4),X=0,_=0,Ce=0;Ce<I;Ce+=4){var _e=v[Ce],Ge=v[Ce+1],nt=v[Ce+2],me=v[Ce+3];b[X++]=_e,b[X++]=Ge,b[X++]=nt,B[_++]=me}var Gt=this.__addimage__.arrayBufferToBinaryString(b);return{alpha:this.__addimage__.arrayBufferToBinaryString(B),data:Gt,index:c,alias:d,colorSpace:"DeviceRGB",bitsPerComponent:8,width:p.width,height:p.height}},k.API.setLanguage=function(p){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"}[p]!==void 0&&(this.internal.languageSettings.languageCode=p,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},rr=k.API,fr=rr.getCharWidthsArray=function(p,c){var d,v,I=(c=c||{}).font||this.internal.getFont(),b=c.fontSize||this.internal.getFontSize(),B=c.charSpace||this.internal.getCharSpace(),X=c.widths?c.widths:I.metadata.Unicode.widths,_=X.fof?X.fof:1,Ce=c.kerning?c.kerning:I.metadata.Unicode.kerning,_e=Ce.fof?Ce.fof:1,Ge=c.doKerning!==!1,nt=0,me=p.length,Gt=0,oe=X[0]||_,jt=[];for(d=0;d<me;d++)v=p.charCodeAt(d),typeof I.metadata.widthOfString=="function"?jt.push((I.metadata.widthOfGlyph(I.metadata.characterToGlyph(v))+B*(1e3/b)||0)/1e3):(nt=Ge&&(0,t.Z)(Ce[v])==="object"&&!isNaN(parseInt(Ce[v][Gt],10))?Ce[v][Gt]/_e:0,jt.push((X[v]||oe)/_+nt)),Gt=v;return jt},ht=rr.getStringUnitWidth=function(p,c){var d=(c=c||{}).fontSize||this.internal.getFontSize(),v=c.font||this.internal.getFont(),I=c.charSpace||this.internal.getCharSpace();return rr.processArabic&&(p=rr.processArabic(p)),typeof v.metadata.widthOfString=="function"?v.metadata.widthOfString(p,d,I)/d:fr.apply(this,arguments).reduce(function(b,B){return b+B},0)},ln=function(p,c,d,v){for(var I=[],b=0,B=p.length,X=0;b!==B&&X+c[b]<d;)X+=c[b],b++;I.push(p.slice(0,b));var _=b;for(X=0;b!==B;)X+c[b]>v&&(I.push(p.slice(_,b)),X=0,_=b),X+=c[b],b++;return _!==b&&I.push(p.slice(_,b)),I},pe=function(p,c,d){d||(d={});var v,I,b,B,X,_,Ce,_e=[],Ge=[_e],nt=d.textIndent||0,me=0,Gt=0,oe=p.split(" "),jt=fr.apply(this,[" ",d])[0];if(_=d.lineIndent===-1?oe[0].length+2:d.lineIndent||0){var lt=Array(_).join(" "),Zt=[];oe.map(function(cn){(cn=cn.split(/\s*\n/)).length>1?Zt=Zt.concat(cn.map(function(vn,On){return(On&&vn.length?`
|
|
|
`:"")+vn})):Zt.push(cn[0])}),oe=Zt,_=ht.apply(this,[lt,d])}for(b=0,B=oe.length;b<B;b++){var wr=0;if(v=oe[b],_&&v[0]==`
|
|
|
`&&(v=v.substr(1),wr=1),nt+me+(Gt=(I=fr.apply(this,[v,d])).reduce(function(cn,vn){return cn+vn},0))>c||wr){if(Gt>c){for(X=ln.apply(this,[v,I,c-(nt+me),c]),_e.push(X.shift()),_e=[X.pop()];X.length;)Ge.push([X.shift()]);Gt=I.slice(v.length-(_e[0]?_e[0].length:0)).reduce(function(cn,vn){return cn+vn},0)}else _e=[v];Ge.push(_e),nt=Gt+_,me=jt}else _e.push(v),nt+=me+Gt,me=jt}return Ce=_?function(cn,vn){return(vn?lt:"")+cn.join(" ")}:function(cn){return cn.join(" ")},Ge.map(Ce)},rr.splitTextToSize=function(p,c,d){var v,I=(d=d||{}).fontSize||this.internal.getFontSize(),b=function(_e){if(_e.widths&&_e.kerning)return{widths:_e.widths,kerning:_e.kerning};var Ge=this.internal.getFont(_e.fontName,_e.fontStyle);return Ge.metadata.Unicode?{widths:Ge.metadata.Unicode.widths||{0:1},kerning:Ge.metadata.Unicode.kerning||{}}:{font:Ge.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,d);v=Array.isArray(p)?p:String(p).split(/\r?\n/);var B=1*this.internal.scaleFactor*c/I;b.textIndent=d.textIndent?1*d.textIndent*this.internal.scaleFactor/I:0,b.lineIndent=d.lineIndent;var X,_,Ce=[];for(X=0,_=v.length;X<_;X++)Ce=Ce.concat(pe.apply(this,[v[X],B,b]));return Ce},function(p){p.__fontmetrics__=p.__fontmetrics__||{};for(var c="klmnopqrstuvwxyz",d={},v={},I=0;I<c.length;I++)d[c[I]]="0123456789abcdef"[I],v["0123456789abcdef"[I]]=c[I];var b=function(Ge){return"0x"+parseInt(Ge,10).toString(16)},B=p.__fontmetrics__.compress=function(Ge){var nt,me,Gt,oe,jt=["{"];for(var lt in Ge){if(nt=Ge[lt],isNaN(parseInt(lt,10))?me="'"+lt+"'":(lt=parseInt(lt,10),me=(me=b(lt).slice(2)).slice(0,-1)+v[me.slice(-1)]),typeof nt=="number")nt<0?(Gt=b(nt).slice(3),oe="-"):(Gt=b(nt).slice(2),oe=""),Gt=oe+Gt.slice(0,-1)+v[Gt.slice(-1)];else{if((0,t.Z)(nt)!=="object")throw new Error("Don't know what to do with value type "+(0,t.Z)(nt)+".");Gt=B(nt)}jt.push(me+Gt)}return jt.push("}"),jt.join("")},X=p.__fontmetrics__.uncompress=function(Ge){if(typeof Ge!="string")throw new Error("Invalid argument passed to uncompress.");for(var nt,me,Gt,oe,jt={},lt=1,Zt=jt,wr=[],cn="",vn="",On=Ge.length-1,qr=1;qr<On;qr+=1)(oe=Ge[qr])=="'"?nt?(Gt=nt.join(""),nt=void 0):nt=[]:nt?nt.push(oe):oe=="{"?(wr.push([Zt,Gt]),Zt={},Gt=void 0):oe=="}"?((me=wr.pop())[0][me[1]]=Zt,Gt=void 0,Zt=me[0]):oe=="-"?lt=-1:Gt===void 0?d.hasOwnProperty(oe)?(cn+=d[oe],Gt=parseInt(cn,16)*lt,lt=1,cn=""):cn+=oe:d.hasOwnProperty(oe)?(vn+=d[oe],Zt[Gt]=parseInt(vn,16)*lt,lt=1,Gt=void 0,vn=""):vn+=oe;return jt},_={codePages:["WinAnsiEncoding"],WinAnsiEncoding:X("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Ce={Unicode:{Courier:_,"Courier-Bold":_,"Courier-BoldOblique":_,"Courier-Oblique":_,Helvetica:_,"Helvetica-Bold":_,"Helvetica-BoldOblique":_,"Helvetica-Oblique":_,"Times-Roman":_,"Times-Bold":_,"Times-BoldItalic":_,"Times-Italic":_}},_e={Unicode:{"Courier-Oblique":X("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":X("{'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":X("{'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:X("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":X("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":X("{'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:X("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:X("{'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":X("{'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:X("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":X("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":X("{'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":X("{'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":X("{'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}}}")}};p.events.push(["addFont",function(Ge){var nt=Ge.font,me=_e.Unicode[nt.postScriptName];me&&(nt.metadata.Unicode={},nt.metadata.Unicode.widths=me.widths,nt.metadata.Unicode.kerning=me.kerning);var Gt=Ce.Unicode[nt.postScriptName];Gt&&(nt.metadata.Unicode.encoding=Gt,nt.encoding=Gt.codePages[0])}])}(k.API),function(p){var c=function(d){for(var v=d.length,I=new Uint8Array(v),b=0;b<v;b++)I[b]=d.charCodeAt(b);return I};p.API.events.push(["addFont",function(d){var v=void 0,I=d.font,b=d.instance;if(!I.isStandardFont){if(b===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+I.postScriptName+"').");if(typeof(v=b.existsFileInVFS(I.postScriptName)===!1?b.loadFile(I.postScriptName):b.getFileFromVFS(I.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+I.postScriptName+"').");(function(B,X){X=/^\x00\x01\x00\x00/.test(X)?c(X):c(W(X)),B.metadata=p.API.TTFFont.open(X),B.metadata.Unicode=B.metadata.Unicode||{encoding:{},kerning:{},widths:[]},B.metadata.glyIdsUsed=[0]})(I,v)}}])}(k),function(p){function c(){return($.canvg?Promise.resolve($.canvg):a.e(1935).then(a.bind(a,71935))).catch(function(d){return Promise.reject(new Error("Could not load canvg: "+d))}).then(function(d){return d.default?d.default:d})}k.API.addSvgAsImage=function(d,v,I,b,B,X,_,Ce){if(isNaN(v)||isNaN(I))throw G.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(b)||isNaN(B))throw G.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var _e=document.createElement("canvas");_e.width=b,_e.height=B;var Ge=_e.getContext("2d");Ge.fillStyle="#fff",Ge.fillRect(0,0,_e.width,_e.height);var nt={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},me=this;return c().then(function(Gt){return Gt.fromString(Ge,d,nt)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Gt){return Gt.render(nt)}).then(function(){me.addImage(_e.toDataURL("image/jpeg",1),v,I,b,B,_,Ce)})}}(),k.API.putTotalPages=function(p){var c,d=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(c=new RegExp(p,"g"),d=this.internal.getNumberOfPages()):(c=new RegExp(this.pdfEscape16(p,this.internal.getFont()),"g"),d=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var v=1;v<=this.internal.getNumberOfPages();v++)for(var I=0;I<this.internal.pages[v].length;I++)this.internal.pages[v][I]=this.internal.pages[v][I].replace(c,d);return this},k.API.viewerPreferences=function(p,c){var d;p=p||{},c=c||!1;var v,I,b,B={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}},X=Object.keys(B),_=[],Ce=0,_e=0,Ge=0;function nt(Gt,oe){var jt,lt=!1;for(jt=0;jt<Gt.length;jt+=1)Gt[jt]===oe&&(lt=!0);return lt}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(B)),this.internal.viewerpreferences.isSubscribed=!1),d=this.internal.viewerpreferences.configuration,p==="reset"||c===!0){var me=X.length;for(Ge=0;Ge<me;Ge+=1)d[X[Ge]].value=d[X[Ge]].defaultValue,d[X[Ge]].explicitSet=!1}if((0,t.Z)(p)==="object"){for(I in p)if(b=p[I],nt(X,I)&&b!==void 0){if(d[I].type==="boolean"&&typeof b=="boolean")d[I].value=b;else if(d[I].type==="name"&&nt(d[I].valueSet,b))d[I].value=b;else if(d[I].type==="integer"&&Number.isInteger(b))d[I].value=b;else if(d[I].type==="array"){for(Ce=0;Ce<b.length;Ce+=1)if(v=!0,b[Ce].length===1&&typeof b[Ce][0]=="number")_.push(String(b[Ce]-1));else if(b[Ce].length>1){for(_e=0;_e<b[Ce].length;_e+=1)typeof b[Ce][_e]!="number"&&(v=!1);v===!0&&_.push([b[Ce][0]-1,b[Ce][1]-1].join(" "))}d[I].value="["+_.join(" ")+"]"}else d[I].value=d[I].defaultValue;d[I].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Gt,oe=[];for(Gt in d)d[Gt].explicitSet===!0&&(d[Gt].type==="name"?oe.push("/"+Gt+" /"+d[Gt].value):oe.push("/"+Gt+" "+d[Gt].value));oe.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+oe.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=d,this},function(p){var c=function(){var v='<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>',I=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),b=unescape(encodeURIComponent(v)),B=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),X=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),_=unescape(encodeURIComponent("</x:xmpmeta>")),Ce=b.length+B.length+X.length+I.length+_.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ce+" >>"),this.internal.write("stream"),this.internal.write(I+b+B+X+_),this.internal.write("endstream"),this.internal.write("endobj")},d=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};p.addMetadata=function(v,I){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:v,namespaceuri:I||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",d),this.internal.events.subscribe("postPutResources",c)),this}}(k.API),function(p){var c=p.API,d=c.pdfEscape16=function(b,B){for(var X,_=B.metadata.Unicode.widths,Ce=["","0","00","000","0000"],_e=[""],Ge=0,nt=b.length;Ge<nt;++Ge){if(X=B.metadata.characterToGlyph(b.charCodeAt(Ge)),B.metadata.glyIdsUsed.push(X),B.metadata.toUnicode[X]=b.charCodeAt(Ge),_.indexOf(X)==-1&&(_.push(X),_.push([parseInt(B.metadata.widthOfGlyph(X),10)])),X=="0")return _e.join("");X=X.toString(16),_e.push(Ce[4-X.length],X)}return _e.join("")},v=function(b){var B,X,_,Ce,_e,Ge,nt;for(_e=`/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`,_=[],Ge=0,nt=(X=Object.keys(b).sort(function(me,Gt){return me-Gt})).length;Ge<nt;Ge++)B=X[Ge],_.length>=100&&(_e+=`
|
|
|
`+_.length+` beginbfchar
|
|
|
`+_.join(`
|
|
|
`)+`
|
|
|
endbfchar`,_=[]),b[B]!==void 0&&b[B]!==null&&typeof b[B].toString=="function"&&(Ce=("0000"+b[B].toString(16)).slice(-4),B=("0000"+(+B).toString(16)).slice(-4),_.push("<"+B+"><"+Ce+">"));return _.length&&(_e+=`
|
|
|
`+_.length+` beginbfchar
|
|
|
`+_.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),_e+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};c.events.push(["putFont",function(b){(function(B){var X=B.font,_=B.out,Ce=B.newObject,_e=B.putStream;if(X.metadata instanceof p.API.TTFFont&&X.encoding==="Identity-H"){for(var Ge=X.metadata.Unicode.widths,nt=X.metadata.subset.encode(X.metadata.glyIdsUsed,1),me="",Gt=0;Gt<nt.length;Gt++)me+=String.fromCharCode(nt[Gt]);var oe=Ce();_e({data:me,addLength1:!0,objectId:oe}),_("endobj");var jt=Ce();_e({data:v(X.metadata.toUnicode),addLength1:!0,objectId:jt}),_("endobj");var lt=Ce();_("<<"),_("/Type /FontDescriptor"),_("/FontName /"+Ee(X.fontName)),_("/FontFile2 "+oe+" 0 R"),_("/FontBBox "+p.API.PDFObject.convert(X.metadata.bbox)),_("/Flags "+X.metadata.flags),_("/StemV "+X.metadata.stemV),_("/ItalicAngle "+X.metadata.italicAngle),_("/Ascent "+X.metadata.ascender),_("/Descent "+X.metadata.decender),_("/CapHeight "+X.metadata.capHeight),_(">>"),_("endobj");var Zt=Ce();_("<<"),_("/Type /Font"),_("/BaseFont /"+Ee(X.fontName)),_("/FontDescriptor "+lt+" 0 R"),_("/W "+p.API.PDFObject.convert(Ge)),_("/CIDToGIDMap /Identity"),_("/DW 1000"),_("/Subtype /CIDFontType2"),_("/CIDSystemInfo"),_("<<"),_("/Supplement 0"),_("/Registry (Adobe)"),_("/Ordering ("+X.encoding+")"),_(">>"),_(">>"),_("endobj"),X.objectNumber=Ce(),_("<<"),_("/Type /Font"),_("/Subtype /Type0"),_("/ToUnicode "+jt+" 0 R"),_("/BaseFont /"+Ee(X.fontName)),_("/Encoding /"+X.encoding),_("/DescendantFonts ["+Zt+" 0 R]"),_(">>"),_("endobj"),X.isAlreadyPutted=!0}})(b)}]),c.events.push(["putFont",function(b){(function(B){var X=B.font,_=B.out,Ce=B.newObject,_e=B.putStream;if(X.metadata instanceof p.API.TTFFont&&X.encoding==="WinAnsiEncoding"){for(var Ge=X.metadata.rawData,nt="",me=0;me<Ge.length;me++)nt+=String.fromCharCode(Ge[me]);var Gt=Ce();_e({data:nt,addLength1:!0,objectId:Gt}),_("endobj");var oe=Ce();_e({data:v(X.metadata.toUnicode),addLength1:!0,objectId:oe}),_("endobj");var jt=Ce();_("<<"),_("/Descent "+X.metadata.decender),_("/CapHeight "+X.metadata.capHeight),_("/StemV "+X.metadata.stemV),_("/Type /FontDescriptor"),_("/FontFile2 "+Gt+" 0 R"),_("/Flags 96"),_("/FontBBox "+p.API.PDFObject.convert(X.metadata.bbox)),_("/FontName /"+Ee(X.fontName)),_("/ItalicAngle "+X.metadata.italicAngle),_("/Ascent "+X.metadata.ascender),_(">>"),_("endobj"),X.objectNumber=Ce();for(var lt=0;lt<X.metadata.hmtx.widths.length;lt++)X.metadata.hmtx.widths[lt]=parseInt(X.metadata.hmtx.widths[lt]*(1e3/X.metadata.head.unitsPerEm));_("<</Subtype/TrueType/Type/Font/ToUnicode "+oe+" 0 R/BaseFont/"+Ee(X.fontName)+"/FontDescriptor "+jt+" 0 R/Encoding/"+X.encoding+" /FirstChar 29 /LastChar 255 /Widths "+p.API.PDFObject.convert(X.metadata.hmtx.widths)+">>"),_("endobj"),X.isAlreadyPutted=!0}})(b)}]);var I=function(b){var B,X=b.text||"",_=b.x,Ce=b.y,_e=b.options||{},Ge=b.mutex||{},nt=Ge.pdfEscape,me=Ge.activeFontKey,Gt=Ge.fonts,oe=me,jt="",lt=0,Zt="",wr=Gt[oe].encoding;if(Gt[oe].encoding!=="Identity-H")return{text:X,x:_,y:Ce,options:_e,mutex:Ge};for(Zt=X,oe=me,Array.isArray(X)&&(Zt=X[0]),lt=0;lt<Zt.length;lt+=1)Gt[oe].metadata.hasOwnProperty("cmap")&&(B=Gt[oe].metadata.cmap.unicode.codeMap[Zt[lt].charCodeAt(0)]),B||Zt[lt].charCodeAt(0)<256&&Gt[oe].metadata.hasOwnProperty("Unicode")?jt+=Zt[lt]:jt+="";var cn="";return parseInt(oe.slice(1))<14||wr==="WinAnsiEncoding"?cn=nt(jt,oe).split("").map(function(vn){return vn.charCodeAt(0).toString(16)}).join(""):wr==="Identity-H"&&(cn=d(jt,Gt[oe])),Ge.isHex=!0,{text:cn,x:_,y:Ce,options:_e,mutex:Ge}};c.events.push(["postProcessText",function(b){var B=b.text||"",X=[],_={text:B,x:b.x,y:b.y,options:b.options,mutex:b.mutex};if(Array.isArray(B)){var Ce=0;for(Ce=0;Ce<B.length;Ce+=1)Array.isArray(B[Ce])&&B[Ce].length===3?X.push([I(Object.assign({},_,{text:B[Ce][0]})).text,B[Ce][1],B[Ce][2]]):X.push(I(Object.assign({},_,{text:B[Ce]})).text);b.text=X}else b.text=I(Object.assign({},_,{text:B})).text}])}(k),function(p){var c=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};p.existsFileInVFS=function(d){return c.call(this),this.internal.vFS[d]!==void 0},p.addFileToVFS=function(d,v){return c.call(this),this.internal.vFS[d]=v,this},p.getFileFromVFS=function(d){return c.call(this),this.internal.vFS[d]!==void 0?this.internal.vFS[d]:null}}(k.API),function(p){p.__bidiEngine__=p.prototype.__bidiEngine__=function(v){var I,b,B,X,_,Ce,_e,Ge=c,nt=[[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]],me=[[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]],Gt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},oe={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},jt=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],lt=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)$/),Zt=!1,wr=0;this.__bidiEngine__={};var cn=function(yt){var Ct=yt.charCodeAt(),ir=Ct>>8,Rt=oe[ir];return Rt!==void 0?Ge[256*Rt+(255&Ct)]:ir===252||ir===253?"AL":lt.test(ir)?"L":ir===8?"R":"N"},vn=function(yt){for(var Ct,ir=0;ir<yt.length;ir++){if((Ct=cn(yt.charAt(ir)))==="L")return!1;if(Ct==="R")return!0}return!1},On=function(yt,Ct,ir,Rt){var Zr,br,Br,Fr,Xr=Ct[Rt];switch(Xr){case"L":case"R":Zt=!1;break;case"N":case"AN":break;case"EN":Zt&&(Xr="AN");break;case"AL":Zt=!0,Xr="R";break;case"WS":Xr="N";break;case"CS":Rt<1||Rt+1>=Ct.length||(Zr=ir[Rt-1])!=="EN"&&Zr!=="AN"||(br=Ct[Rt+1])!=="EN"&&br!=="AN"?Xr="N":Zt&&(br="AN"),Xr=br===Zr?br:"N";break;case"ES":Xr=(Zr=Rt>0?ir[Rt-1]:"B")==="EN"&&Rt+1<Ct.length&&Ct[Rt+1]==="EN"?"EN":"N";break;case"ET":if(Rt>0&&ir[Rt-1]==="EN"){Xr="EN";break}if(Zt){Xr="N";break}for(Br=Rt+1,Fr=Ct.length;Br<Fr&&Ct[Br]==="ET";)Br++;Xr=Br<Fr&&Ct[Br]==="EN"?"EN":"N";break;case"NSM":if(B&&!X){for(Fr=Ct.length,Br=Rt+1;Br<Fr&&Ct[Br]==="NSM";)Br++;if(Br<Fr){var kr=yt[Rt],Un=kr>=1425&&kr<=2303||kr===64286;if(Zr=Ct[Br],Un&&(Zr==="R"||Zr==="AL")){Xr="R";break}}}Xr=Rt<1||(Zr=Ct[Rt-1])==="B"?"N":ir[Rt-1];break;case"B":Zt=!1,I=!0,Xr=wr;break;case"S":b=!0,Xr="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Zt=!1;break;case"BN":Xr="N"}return Xr},qr=function(yt,Ct,ir){var Rt=yt.split("");return ir&&kt(Rt,ir,{hiLevel:wr}),Rt.reverse(),Ct&&Ct.reverse(),Rt.join("")},kt=function(yt,Ct,ir){var Rt,Zr,br,Br,Fr,Xr=-1,kr=yt.length,Un=0,Ke=[],be=wr?me:nt,ce=[];for(Zt=!1,I=!1,b=!1,Zr=0;Zr<kr;Zr++)ce[Zr]=cn(yt[Zr]);for(br=0;br<kr;br++){if(Fr=Un,Ke[br]=On(yt,ce,Ke,br),Rt=240&(Un=be[Fr][Gt[Ke[br]]]),Un&=15,Ct[br]=Br=be[Un][5],Rt>0)if(Rt===16){for(Zr=Xr;Zr<br;Zr++)Ct[Zr]=1;Xr=-1}else Xr=-1;if(be[Un][6])Xr===-1&&(Xr=br);else if(Xr>-1){for(Zr=Xr;Zr<br;Zr++)Ct[Zr]=Br;Xr=-1}ce[br]==="B"&&(Ct[br]=0),ir.hiLevel|=Br}b&&function(Je,dt,Nt){for(var $t=0;$t<Nt;$t++)if(Je[$t]==="S"){dt[$t]=wr;for(var er=$t-1;er>=0&&Je[er]==="WS";er--)dt[er]=wr}}(ce,Ct,kr)},un=function(yt,Ct,ir,Rt,Zr){if(!(Zr.hiLevel<yt)){if(yt===1&&wr===1&&!I)return Ct.reverse(),void(ir&&ir.reverse());for(var br,Br,Fr,Xr,kr=Ct.length,Un=0;Un<kr;){if(Rt[Un]>=yt){for(Fr=Un+1;Fr<kr&&Rt[Fr]>=yt;)Fr++;for(Xr=Un,Br=Fr-1;Xr<Br;Xr++,Br--)br=Ct[Xr],Ct[Xr]=Ct[Br],Ct[Br]=br,ir&&(br=ir[Xr],ir[Xr]=ir[Br],ir[Br]=br);Un=Fr}Un++}}},gn=function(yt,Ct,ir){var Rt=yt.split(""),Zr={hiLevel:wr};return ir||(ir=[]),kt(Rt,ir,Zr),function(br,Br,Fr){if(Fr.hiLevel!==0&&_e)for(var Xr,kr=0;kr<br.length;kr++)Br[kr]===1&&(Xr=jt.indexOf(br[kr]))>=0&&(br[kr]=jt[Xr+1])}(Rt,ir,Zr),un(2,Rt,Ct,ir,Zr),un(1,Rt,Ct,ir,Zr),Rt.join("")};return this.__bidiEngine__.doBidiReorder=function(yt,Ct,ir){if(function(Zr,br){if(br)for(var Br=0;Br<Zr.length;Br++)br[Br]=Br;X===void 0&&(X=vn(Zr)),Ce===void 0&&(Ce=vn(Zr))}(yt,Ct),B||!_||Ce)if(B&&_&&X^Ce)wr=X?1:0,yt=qr(yt,Ct,ir);else if(!B&&_&&Ce)wr=X?1:0,yt=gn(yt,Ct,ir),yt=qr(yt,Ct);else if(!B||X||_||Ce){if(B&&!_&&X^Ce)yt=qr(yt,Ct),X?(wr=0,yt=gn(yt,Ct,ir)):(wr=1,yt=gn(yt,Ct,ir),yt=qr(yt,Ct));else if(B&&X&&!_&&Ce)wr=1,yt=gn(yt,Ct,ir),yt=qr(yt,Ct);else if(!B&&!_&&X^Ce){var Rt=_e;X?(wr=1,yt=gn(yt,Ct,ir),wr=0,_e=!1,yt=gn(yt,Ct,ir),_e=Rt):(wr=0,yt=gn(yt,Ct,ir),yt=qr(yt,Ct),wr=1,_e=!1,yt=gn(yt,Ct,ir),_e=Rt,yt=qr(yt,Ct))}}else wr=0,yt=gn(yt,Ct,ir);else wr=X?1:0,yt=gn(yt,Ct,ir);return yt},this.__bidiEngine__.setOptions=function(yt){yt&&(B=yt.isInputVisual,_=yt.isOutputVisual,X=yt.isInputRtl,Ce=yt.isOutputRtl,_e=yt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(v),this.__bidiEngine__};var c=["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"],d=new p.__bidiEngine__({isInputVisual:!0});p.API.events.push(["postProcessText",function(v){var I=v.text,b=(v.x,v.y,v.options||{}),B=(v.mutex,b.lang,[]);if(b.isInputVisual=typeof b.isInputVisual!="boolean"||b.isInputVisual,d.setOptions(b),Object.prototype.toString.call(I)==="[object Array]"){var X=0;for(B=[],X=0;X<I.length;X+=1)Object.prototype.toString.call(I[X])==="[object Array]"?B.push([d.doBidiReorder(I[X][0]),I[X][1],I[X][2]]):B.push([d.doBidiReorder(I[X])]);v.text=B}else v.text=d.doBidiReorder(I);d.setOptions({isInputVisual:!0})}])}(k),k.API.TTFFont=function(){function p(c){var d;if(this.rawData=c,d=this.contents=new jr(c),this.contents.pos=4,d.readString(4)==="ttcf")throw new Error("TTCF not supported.");d.pos=0,this.parse(),this.subset=new ra(this),this.registerTTF()}return p.open=function(c){return new p(c)},p.prototype.parse=function(){return this.directory=new Er(this.contents),this.head=new mt(this),this.name=new An(this),this.cmap=new nr(this),this.toUnicode={},this.hhea=new dr(this),this.maxp=new zn(this),this.hmtx=new Gr(this),this.post=new Sn(this),this.os2=new Rr(this),this.loca=new Ca(this),this.glyf=new In(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]},p.prototype.registerTTF=function(){var c,d,v,I,b;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var B,X,_,Ce;for(Ce=[],B=0,X=(_=this.bbox).length;B<X;B++)c=_[B],Ce.push(Math.round(c*this.scaleFactor));return Ce}.call(this),this.stemV=0,this.post.exists?(v=255&(I=this.post.italic_angle),32768&(d=I>>16)&&(d=-(1+(65535^d))),this.italicAngle=+(d+"."+v)):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=(b=this.familyClass)===1||b===2||b===3||b===4||b===5||b===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")},p.prototype.characterToGlyph=function(c){var d;return((d=this.cmap.unicode)!=null?d.codeMap[c]:void 0)||0},p.prototype.widthOfGlyph=function(c){var d;return d=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(c).advance*d},p.prototype.widthOfString=function(c,d,v){var I,b,B,X;for(B=0,b=0,X=(c=""+c).length;0<=X?b<X:b>X;b=0<=X?++b:--b)I=c.charCodeAt(b),B+=this.widthOfGlyph(this.characterToGlyph(I))+v*(1e3/d)||0;return B*(d/1e3)},p.prototype.lineHeight=function(c,d){var v;return d==null&&(d=!1),v=d?this.lineGap:0,(this.ascender+v-this.decender)/1e3*c},p}();var yr,jr=function(){function p(c){this.data=c!=null?c:[],this.pos=0,this.length=this.data.length}return p.prototype.readByte=function(){return this.data[this.pos++]},p.prototype.writeByte=function(c){return this.data[this.pos++]=c},p.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},p.prototype.writeUInt32=function(c){return this.writeByte(c>>>24&255),this.writeByte(c>>16&255),this.writeByte(c>>8&255),this.writeByte(255&c)},p.prototype.readInt32=function(){var c;return(c=this.readUInt32())>=2147483648?c-4294967296:c},p.prototype.writeInt32=function(c){return c<0&&(c+=4294967296),this.writeUInt32(c)},p.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},p.prototype.writeUInt16=function(c){return this.writeByte(c>>8&255),this.writeByte(255&c)},p.prototype.readInt16=function(){var c;return(c=this.readUInt16())>=32768?c-65536:c},p.prototype.writeInt16=function(c){return c<0&&(c+=65536),this.writeUInt16(c)},p.prototype.readString=function(c){var d,v;for(v=[],d=0;0<=c?d<c:d>c;d=0<=c?++d:--d)v[d]=String.fromCharCode(this.readByte());return v.join("")},p.prototype.writeString=function(c){var d,v,I;for(I=[],d=0,v=c.length;0<=v?d<v:d>v;d=0<=v?++d:--d)I.push(this.writeByte(c.charCodeAt(d)));return I},p.prototype.readShort=function(){return this.readInt16()},p.prototype.writeShort=function(c){return this.writeInt16(c)},p.prototype.readLongLong=function(){var c,d,v,I,b,B,X,_;return c=this.readByte(),d=this.readByte(),v=this.readByte(),I=this.readByte(),b=this.readByte(),B=this.readByte(),X=this.readByte(),_=this.readByte(),128&c?-1*(72057594037927940*(255^c)+281474976710656*(255^d)+1099511627776*(255^v)+4294967296*(255^I)+16777216*(255^b)+65536*(255^B)+256*(255^X)+(255^_)+1):72057594037927940*c+281474976710656*d+1099511627776*v+4294967296*I+16777216*b+65536*B+256*X+_},p.prototype.writeLongLong=function(c){var d,v;return d=Math.floor(c/4294967296),v=4294967295&c,this.writeByte(d>>24&255),this.writeByte(d>>16&255),this.writeByte(d>>8&255),this.writeByte(255&d),this.writeByte(v>>24&255),this.writeByte(v>>16&255),this.writeByte(v>>8&255),this.writeByte(255&v)},p.prototype.readInt=function(){return this.readInt32()},p.prototype.writeInt=function(c){return this.writeInt32(c)},p.prototype.read=function(c){var d,v;for(d=[],v=0;0<=c?v<c:v>c;v=0<=c?++v:--v)d.push(this.readByte());return d},p.prototype.write=function(c){var d,v,I,b;for(b=[],v=0,I=c.length;v<I;v++)d=c[v],b.push(this.writeByte(d));return b},p}(),Er=function(){var p;function c(d){var v,I,b;for(this.scalarType=d.readInt(),this.tableCount=d.readShort(),this.searchRange=d.readShort(),this.entrySelector=d.readShort(),this.rangeShift=d.readShort(),this.tables={},I=0,b=this.tableCount;0<=b?I<b:I>b;I=0<=b?++I:--I)v={tag:d.readString(4),checksum:d.readInt(),offset:d.readInt(),length:d.readInt()},this.tables[v.tag]=v}return c.prototype.encode=function(d){var v,I,b,B,X,_,Ce,_e,Ge,nt,me,Gt,oe;for(oe in me=Object.keys(d).length,_=Math.log(2),Ge=16*Math.floor(Math.log(me)/_),B=Math.floor(Ge/_),_e=16*me-Ge,(I=new jr).writeInt(this.scalarType),I.writeShort(me),I.writeShort(Ge),I.writeShort(B),I.writeShort(_e),b=16*me,Ce=I.pos+b,X=null,Gt=[],d)for(nt=d[oe],I.writeString(oe),I.writeInt(p(nt)),I.writeInt(Ce),I.writeInt(nt.length),Gt=Gt.concat(nt),oe==="head"&&(X=Ce),Ce+=nt.length;Ce%4;)Gt.push(0),Ce++;return I.write(Gt),v=2981146554-p(I.data),I.pos=X+8,I.writeUInt32(v),I.data},p=function(d){var v,I,b,B;for(d=Kn.call(d);d.length%4;)d.push(0);for(b=new jr(d),I=0,v=0,B=d.length;v<B;v=v+=4)I+=b.readUInt32();return 4294967295&I},c}(),Kr={}.hasOwnProperty,Jr=function(p,c){for(var d in c)Kr.call(c,d)&&(p[d]=c[d]);function v(){this.constructor=p}return v.prototype=c.prototype,p.prototype=new v,p.__super__=c.prototype,p};yr=function(){function p(c){var d;this.file=c,d=this.file.directory.tables[this.tag],this.exists=!!d,d&&(this.offset=d.offset,this.length=d.length,this.parse(this.file.contents))}return p.prototype.parse=function(){},p.prototype.encode=function(){},p.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},p}();var mt=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="head",c.prototype.parse=function(d){return d.pos=this.offset,this.version=d.readInt(),this.revision=d.readInt(),this.checkSumAdjustment=d.readInt(),this.magicNumber=d.readInt(),this.flags=d.readShort(),this.unitsPerEm=d.readShort(),this.created=d.readLongLong(),this.modified=d.readLongLong(),this.xMin=d.readShort(),this.yMin=d.readShort(),this.xMax=d.readShort(),this.yMax=d.readShort(),this.macStyle=d.readShort(),this.lowestRecPPEM=d.readShort(),this.fontDirectionHint=d.readShort(),this.indexToLocFormat=d.readShort(),this.glyphDataFormat=d.readShort()},c.prototype.encode=function(d){var v;return(v=new jr).writeInt(this.version),v.writeInt(this.revision),v.writeInt(this.checkSumAdjustment),v.writeInt(this.magicNumber),v.writeShort(this.flags),v.writeShort(this.unitsPerEm),v.writeLongLong(this.created),v.writeLongLong(this.modified),v.writeShort(this.xMin),v.writeShort(this.yMin),v.writeShort(this.xMax),v.writeShort(this.yMax),v.writeShort(this.macStyle),v.writeShort(this.lowestRecPPEM),v.writeShort(this.fontDirectionHint),v.writeShort(d),v.writeShort(this.glyphDataFormat),v.data},c}(),Jt=function(){function p(c,d){var v,I,b,B,X,_,Ce,_e,Ge,nt,me,Gt,oe,jt,lt,Zt,wr;switch(this.platformID=c.readUInt16(),this.encodingID=c.readShort(),this.offset=d+c.readInt(),Ge=c.pos,c.pos=this.offset,this.format=c.readUInt16(),this.length=c.readUInt16(),this.language=c.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(_=0;_<256;++_)this.codeMap[_]=c.readByte();break;case 4:for(me=c.readUInt16(),nt=me/2,c.pos+=6,b=function(){var cn,vn;for(vn=[],_=cn=0;0<=nt?cn<nt:cn>nt;_=0<=nt?++cn:--cn)vn.push(c.readUInt16());return vn}(),c.pos+=2,oe=function(){var cn,vn;for(vn=[],_=cn=0;0<=nt?cn<nt:cn>nt;_=0<=nt?++cn:--cn)vn.push(c.readUInt16());return vn}(),Ce=function(){var cn,vn;for(vn=[],_=cn=0;0<=nt?cn<nt:cn>nt;_=0<=nt?++cn:--cn)vn.push(c.readUInt16());return vn}(),_e=function(){var cn,vn;for(vn=[],_=cn=0;0<=nt?cn<nt:cn>nt;_=0<=nt?++cn:--cn)vn.push(c.readUInt16());return vn}(),I=(this.length-c.pos+this.offset)/2,X=function(){var cn,vn;for(vn=[],_=cn=0;0<=I?cn<I:cn>I;_=0<=I?++cn:--cn)vn.push(c.readUInt16());return vn}(),_=lt=0,wr=b.length;lt<wr;_=++lt)for(jt=b[_],v=Zt=Gt=oe[_];Gt<=jt?Zt<=jt:Zt>=jt;v=Gt<=jt?++Zt:--Zt)_e[_]===0?B=v+Ce[_]:(B=X[_e[_]/2+(v-Gt)-(nt-_)]||0)!==0&&(B+=Ce[_]),this.codeMap[v]=65535&B}c.pos=Ge}return p.encode=function(c,d){var v,I,b,B,X,_,Ce,_e,Ge,nt,me,Gt,oe,jt,lt,Zt,wr,cn,vn,On,qr,kt,un,gn,yt,Ct,ir,Rt,Zr,br,Br,Fr,Xr,kr,Un,Ke,be,ce,Je,dt,Nt,$t,er,It,Cr,Hr;switch(Rt=new jr,B=Object.keys(c).sort(function(sn,Qr){return sn-Qr}),d){case"macroman":for(oe=0,jt=function(){var sn=[];for(Gt=0;Gt<256;++Gt)sn.push(0);return sn}(),Zt={0:0},b={},Zr=0,Xr=B.length;Zr<Xr;Zr++)Zt[er=c[I=B[Zr]]]==null&&(Zt[er]=++oe),b[I]={old:c[I],new:Zt[c[I]]},jt[I]=Zt[c[I]];return Rt.writeUInt16(1),Rt.writeUInt16(0),Rt.writeUInt32(12),Rt.writeUInt16(0),Rt.writeUInt16(262),Rt.writeUInt16(0),Rt.write(jt),{charMap:b,subtable:Rt.data,maxGlyphID:oe+1};case"unicode":for(Ct=[],Ge=[],wr=0,Zt={},v={},lt=Ce=null,br=0,kr=B.length;br<kr;br++)Zt[vn=c[I=B[br]]]==null&&(Zt[vn]=++wr),v[I]={old:vn,new:Zt[vn]},X=Zt[vn]-I,lt!=null&&X===Ce||(lt&&Ge.push(lt),Ct.push(I),Ce=X),lt=I;for(lt&&Ge.push(lt),Ge.push(65535),Ct.push(65535),gn=2*(un=Ct.length),kt=2*Math.pow(Math.log(un)/Math.LN2,2),nt=Math.log(kt/2)/Math.LN2,qr=2*un-kt,_=[],On=[],me=[],Gt=Br=0,Un=Ct.length;Br<Un;Gt=++Br){if(yt=Ct[Gt],_e=Ge[Gt],yt===65535){_.push(0),On.push(0);break}if(yt-(ir=v[yt].new)>=32768)for(_.push(0),On.push(2*(me.length+un-Gt)),I=Fr=yt;yt<=_e?Fr<=_e:Fr>=_e;I=yt<=_e?++Fr:--Fr)me.push(v[I].new);else _.push(ir-yt),On.push(0)}for(Rt.writeUInt16(3),Rt.writeUInt16(1),Rt.writeUInt32(12),Rt.writeUInt16(4),Rt.writeUInt16(16+8*un+2*me.length),Rt.writeUInt16(0),Rt.writeUInt16(gn),Rt.writeUInt16(kt),Rt.writeUInt16(nt),Rt.writeUInt16(qr),Nt=0,Ke=Ge.length;Nt<Ke;Nt++)I=Ge[Nt],Rt.writeUInt16(I);for(Rt.writeUInt16(0),$t=0,be=Ct.length;$t<be;$t++)I=Ct[$t],Rt.writeUInt16(I);for(It=0,ce=_.length;It<ce;It++)X=_[It],Rt.writeUInt16(X);for(Cr=0,Je=On.length;Cr<Je;Cr++)cn=On[Cr],Rt.writeUInt16(cn);for(Hr=0,dt=me.length;Hr<dt;Hr++)oe=me[Hr],Rt.writeUInt16(oe);return{charMap:v,subtable:Rt.data,maxGlyphID:wr+1}}},p}(),nr=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="cmap",c.prototype.parse=function(d){var v,I,b;for(d.pos=this.offset,this.version=d.readUInt16(),b=d.readUInt16(),this.tables=[],this.unicode=null,I=0;0<=b?I<b:I>b;I=0<=b?++I:--I)v=new Jt(d,this.offset),this.tables.push(v),v.isUnicode&&this.unicode==null&&(this.unicode=v);return!0},c.encode=function(d,v){var I,b;return v==null&&(v="macroman"),I=Jt.encode(d,v),(b=new jr).writeUInt16(0),b.writeUInt16(1),I.table=b.data.concat(I.subtable),I},c}(),dr=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="hhea",c.prototype.parse=function(d){return d.pos=this.offset,this.version=d.readInt(),this.ascender=d.readShort(),this.decender=d.readShort(),this.lineGap=d.readShort(),this.advanceWidthMax=d.readShort(),this.minLeftSideBearing=d.readShort(),this.minRightSideBearing=d.readShort(),this.xMaxExtent=d.readShort(),this.caretSlopeRise=d.readShort(),this.caretSlopeRun=d.readShort(),this.caretOffset=d.readShort(),d.pos+=8,this.metricDataFormat=d.readShort(),this.numberOfMetrics=d.readUInt16()},c}(),Rr=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="OS/2",c.prototype.parse=function(d){if(d.pos=this.offset,this.version=d.readUInt16(),this.averageCharWidth=d.readShort(),this.weightClass=d.readUInt16(),this.widthClass=d.readUInt16(),this.type=d.readShort(),this.ySubscriptXSize=d.readShort(),this.ySubscriptYSize=d.readShort(),this.ySubscriptXOffset=d.readShort(),this.ySubscriptYOffset=d.readShort(),this.ySuperscriptXSize=d.readShort(),this.ySuperscriptYSize=d.readShort(),this.ySuperscriptXOffset=d.readShort(),this.ySuperscriptYOffset=d.readShort(),this.yStrikeoutSize=d.readShort(),this.yStrikeoutPosition=d.readShort(),this.familyClass=d.readShort(),this.panose=function(){var v,I;for(I=[],v=0;v<10;++v)I.push(d.readByte());return I}(),this.charRange=function(){var v,I;for(I=[],v=0;v<4;++v)I.push(d.readInt());return I}(),this.vendorID=d.readString(4),this.selection=d.readShort(),this.firstCharIndex=d.readShort(),this.lastCharIndex=d.readShort(),this.version>0&&(this.ascent=d.readShort(),this.descent=d.readShort(),this.lineGap=d.readShort(),this.winAscent=d.readShort(),this.winDescent=d.readShort(),this.codePageRange=function(){var v,I;for(I=[],v=0;v<2;v=++v)I.push(d.readInt());return I}(),this.version>1))return this.xHeight=d.readShort(),this.capHeight=d.readShort(),this.defaultChar=d.readShort(),this.breakChar=d.readShort(),this.maxContext=d.readShort()},c}(),Sn=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="post",c.prototype.parse=function(d){var v,I,b;switch(d.pos=this.offset,this.format=d.readInt(),this.italicAngle=d.readInt(),this.underlinePosition=d.readShort(),this.underlineThickness=d.readShort(),this.isFixedPitch=d.readInt(),this.minMemType42=d.readInt(),this.maxMemType42=d.readInt(),this.minMemType1=d.readInt(),this.maxMemType1=d.readInt(),this.format){case 65536:break;case 131072:var B;for(I=d.readUInt16(),this.glyphNameIndex=[],B=0;0<=I?B<I:B>I;B=0<=I?++B:--B)this.glyphNameIndex.push(d.readUInt16());for(this.names=[],b=[];d.pos<this.offset+this.length;)v=d.readByte(),b.push(this.names.push(d.readString(v)));return b;case 151552:return I=d.readUInt16(),this.offsets=d.read(I);case 196608:break;case 262144:return this.map=function(){var X,_,Ce;for(Ce=[],B=X=0,_=this.file.maxp.numGlyphs;0<=_?X<_:X>_;B=0<=_?++X:--X)Ce.push(d.readUInt32());return Ce}.call(this)}},c}(),an=function(p,c){this.raw=p,this.length=p.length,this.platformID=c.platformID,this.encodingID=c.encodingID,this.languageID=c.languageID},An=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="name",c.prototype.parse=function(d){var v,I,b,B,X,_,Ce,_e,Ge,nt,me;for(d.pos=this.offset,d.readShort(),v=d.readShort(),_=d.readShort(),I=[],B=0;0<=v?B<v:B>v;B=0<=v?++B:--B)I.push({platformID:d.readShort(),encodingID:d.readShort(),languageID:d.readShort(),nameID:d.readShort(),length:d.readShort(),offset:this.offset+_+d.readShort()});for(Ce={},B=Ge=0,nt=I.length;Ge<nt;B=++Ge)b=I[B],d.pos=b.offset,_e=d.readString(b.length),X=new an(_e,b),Ce[me=b.nameID]==null&&(Ce[me]=[]),Ce[b.nameID].push(X);this.strings=Ce,this.copyright=Ce[0],this.fontFamily=Ce[1],this.fontSubfamily=Ce[2],this.uniqueSubfamily=Ce[3],this.fontName=Ce[4],this.version=Ce[5];try{this.postscriptName=Ce[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(Gt){this.postscriptName=Ce[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Ce[7],this.manufacturer=Ce[8],this.designer=Ce[9],this.description=Ce[10],this.vendorUrl=Ce[11],this.designerUrl=Ce[12],this.license=Ce[13],this.licenseUrl=Ce[14],this.preferredFamily=Ce[15],this.preferredSubfamily=Ce[17],this.compatibleFull=Ce[18],this.sampleText=Ce[19]},c}(),zn=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="maxp",c.prototype.parse=function(d){return d.pos=this.offset,this.version=d.readInt(),this.numGlyphs=d.readUInt16(),this.maxPoints=d.readUInt16(),this.maxContours=d.readUInt16(),this.maxCompositePoints=d.readUInt16(),this.maxComponentContours=d.readUInt16(),this.maxZones=d.readUInt16(),this.maxTwilightPoints=d.readUInt16(),this.maxStorage=d.readUInt16(),this.maxFunctionDefs=d.readUInt16(),this.maxInstructionDefs=d.readUInt16(),this.maxStackElements=d.readUInt16(),this.maxSizeOfInstructions=d.readUInt16(),this.maxComponentElements=d.readUInt16(),this.maxComponentDepth=d.readUInt16()},c}(),Gr=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="hmtx",c.prototype.parse=function(d){var v,I,b,B,X,_,Ce;for(d.pos=this.offset,this.metrics=[],v=0,_=this.file.hhea.numberOfMetrics;0<=_?v<_:v>_;v=0<=_?++v:--v)this.metrics.push({advance:d.readUInt16(),lsb:d.readInt16()});for(b=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var _e,Ge;for(Ge=[],v=_e=0;0<=b?_e<b:_e>b;v=0<=b?++_e:--_e)Ge.push(d.readInt16());return Ge}(),this.widths=function(){var _e,Ge,nt,me;for(me=[],_e=0,Ge=(nt=this.metrics).length;_e<Ge;_e++)B=nt[_e],me.push(B.advance);return me}.call(this),I=this.widths[this.widths.length-1],Ce=[],v=X=0;0<=b?X<b:X>b;v=0<=b?++X:--X)Ce.push(this.widths.push(I));return Ce},c.prototype.forGlyph=function(d){return d in this.metrics?this.metrics[d]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[d-this.metrics.length]}},c}(),Kn=[].slice,In=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="glyf",c.prototype.parse=function(){return this.cache={}},c.prototype.glyphFor=function(d){var v,I,b,B,X,_,Ce,_e,Ge,nt;return d in this.cache?this.cache[d]:(B=this.file.loca,v=this.file.contents,I=B.indexOf(d),(b=B.lengthOf(d))===0?this.cache[d]=null:(v.pos=this.offset+I,X=(_=new jr(v.read(b))).readShort(),_e=_.readShort(),nt=_.readShort(),Ce=_.readShort(),Ge=_.readShort(),this.cache[d]=X===-1?new Oa(_,_e,nt,Ce,Ge):new ha(_,X,_e,nt,Ce,Ge),this.cache[d]))},c.prototype.encode=function(d,v,I){var b,B,X,_,Ce;for(X=[],B=[],_=0,Ce=v.length;_<Ce;_++)b=d[v[_]],B.push(X.length),b&&(X=X.concat(b.encode(I)));return B.push(X.length),{table:X,offsets:B}},c}(),ha=function(){function p(c,d,v,I,b,B){this.raw=c,this.numberOfContours=d,this.xMin=v,this.yMin=I,this.xMax=b,this.yMax=B,this.compound=!1}return p.prototype.encode=function(){return this.raw.data},p}(),Oa=function(){function p(c,d,v,I,b){var B,X;for(this.raw=c,this.xMin=d,this.yMin=v,this.xMax=I,this.yMax=b,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],B=this.raw;X=B.readShort(),this.glyphOffsets.push(B.pos),this.glyphIDs.push(B.readUInt16()),32&X;)B.pos+=1&X?4:2,128&X?B.pos+=8:64&X?B.pos+=4:8&X&&(B.pos+=2)}return p.prototype.encode=function(){var c,d,v;for(d=new jr(Kn.call(this.raw.data)),c=0,v=this.glyphIDs.length;c<v;++c)d.pos=this.glyphOffsets[c];return d.data},p}(),Ca=function(p){function c(){return c.__super__.constructor.apply(this,arguments)}return Jr(c,yr),c.prototype.tag="loca",c.prototype.parse=function(d){var v,I;return d.pos=this.offset,v=this.file.head.indexToLocFormat,this.offsets=v===0?function(){var b,B;for(B=[],I=0,b=this.length;I<b;I+=2)B.push(2*d.readUInt16());return B}.call(this):function(){var b,B;for(B=[],I=0,b=this.length;I<b;I+=4)B.push(d.readUInt32());return B}.call(this)},c.prototype.indexOf=function(d){return this.offsets[d]},c.prototype.lengthOf=function(d){return this.offsets[d+1]-this.offsets[d]},c.prototype.encode=function(d,v){for(var I=new Uint32Array(this.offsets.length),b=0,B=0,X=0;X<I.length;++X)if(I[X]=b,B<v.length&&v[B]==X){++B,I[X]=b;var _=this.offsets[X],Ce=this.offsets[X+1]-_;Ce>0&&(b+=Ce)}for(var _e=new Array(4*I.length),Ge=0;Ge<I.length;++Ge)_e[4*Ge+3]=255&I[Ge],_e[4*Ge+2]=(65280&I[Ge])>>8,_e[4*Ge+1]=(16711680&I[Ge])>>16,_e[4*Ge]=(4278190080&I[Ge])>>24;return _e},c}(),ra=function(){function p(c){this.font=c,this.subset={},this.unicodes={},this.next=33}return p.prototype.generateCmap=function(){var c,d,v,I,b;for(d in I=this.font.cmap.tables[0].codeMap,c={},b=this.subset)v=b[d],c[d]=I[v];return c},p.prototype.glyphsFor=function(c){var d,v,I,b,B,X,_;for(I={},B=0,X=c.length;B<X;B++)I[b=c[B]]=this.font.glyf.glyphFor(b);for(b in d=[],I)(v=I[b])!=null&&v.compound&&d.push.apply(d,v.glyphIDs);if(d.length>0)for(b in _=this.glyphsFor(d))v=_[b],I[b]=v;return I},p.prototype.encode=function(c,d){var v,I,b,B,X,_,Ce,_e,Ge,nt,me,Gt,oe,jt,lt;for(I in v=nr.encode(this.generateCmap(),"unicode"),B=this.glyphsFor(c),me={0:0},lt=v.charMap)me[(_=lt[I]).old]=_.new;for(Gt in nt=v.maxGlyphID,B)Gt in me||(me[Gt]=nt++);return _e=function(Zt){var wr,cn;for(wr in cn={},Zt)cn[Zt[wr]]=wr;return cn}(me),Ge=Object.keys(_e).sort(function(Zt,wr){return Zt-wr}),oe=function(){var Zt,wr,cn;for(cn=[],Zt=0,wr=Ge.length;Zt<wr;Zt++)X=Ge[Zt],cn.push(_e[X]);return cn}(),b=this.font.glyf.encode(B,oe,me),Ce=this.font.loca.encode(b.offsets,oe),jt={cmap:this.font.cmap.raw(),glyf:b.table,loca:Ce,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(d)},this.font.os2.exists&&(jt["OS/2"]=this.font.os2.raw()),this.font.directory.encode(jt)},p}();k.API.PDFObject=function(){var p;function c(){}return p=function(d,v){return(Array(v+1).join("0")+d).slice(-v)},c.convert=function(d){var v,I,b,B;if(Array.isArray(d))return"["+function(){var X,_,Ce;for(Ce=[],X=0,_=d.length;X<_;X++)v=d[X],Ce.push(c.convert(v));return Ce}().join(" ")+"]";if(typeof d=="string")return"/"+d;if(d!=null&&d.isString)return"("+d+")";if(d instanceof Date)return"(D:"+p(d.getUTCFullYear(),4)+p(d.getUTCMonth(),2)+p(d.getUTCDate(),2)+p(d.getUTCHours(),2)+p(d.getUTCMinutes(),2)+p(d.getUTCSeconds(),2)+"Z)";if({}.toString.call(d)==="[object Object]"){for(I in b=["<<"],d)B=d[I],b.push("/"+I+" "+c.convert(B));return b.push(">>"),b.join(`
|
|
|
`)}return""+d},c}(),Yt.default=k},55733:function(on,Yt,a){var t=a(48764).lW,Fe=a(34155);(function($){on.exports=$()})(function(){return function $(Be,G,J){function U(l,H){if(!G[l]){if(!Be[l]){var V=void 0;if(!H&&V)return require(l,!0);if(y)return y(l,!0);var Y=new Error("Cannot find module '"+l+"'");throw Y.code="MODULE_NOT_FOUND",Y}var T=G[l]={exports:{}};Be[l][0].call(T.exports,function(Z){var E=Be[l][1][Z];return U(E||Z)},T,T.exports,$,Be,G,J)}return G[l].exports}for(var y=void 0,W=0;W<J.length;W++)U(J[W]);return U}({1:[function($,Be,G){"use strict";var J=$("./utils"),U=$("./support"),y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";G.encode=function(W){for(var l,H,V,Y,T,Z,E,j=[],A=0,M=W.length,le=M,ee=J.getTypeOf(W)!=="string";A<W.length;)le=M-A,V=ee?(l=W[A++],H=A<M?W[A++]:0,A<M?W[A++]:0):(l=W.charCodeAt(A++),H=A<M?W.charCodeAt(A++):0,A<M?W.charCodeAt(A++):0),Y=l>>2,T=(3&l)<<4|H>>4,Z=1<le?(15&H)<<2|V>>6:64,E=2<le?63&V:64,j.push(y.charAt(Y)+y.charAt(T)+y.charAt(Z)+y.charAt(E));return j.join("")},G.decode=function(W){var l,H,V,Y,T,Z,E=0,j=0,A="data:";if(W.substr(0,A.length)===A)throw new Error("Invalid base64 input, it looks like a data url.");var M,le=3*(W=W.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(W.charAt(W.length-1)===y.charAt(64)&&le--,W.charAt(W.length-2)===y.charAt(64)&&le--,le%1!=0)throw new Error("Invalid base64 input, bad content length.");for(M=U.uint8array?new Uint8Array(0|le):new Array(0|le);E<W.length;)l=y.indexOf(W.charAt(E++))<<2|(Y=y.indexOf(W.charAt(E++)))>>4,H=(15&Y)<<4|(T=y.indexOf(W.charAt(E++)))>>2,V=(3&T)<<6|(Z=y.indexOf(W.charAt(E++))),M[j++]=l,T!==64&&(M[j++]=H),Z!==64&&(M[j++]=V);return M}},{"./support":30,"./utils":32}],2:[function($,Be,G){"use strict";var J=$("./external"),U=$("./stream/DataWorker"),y=$("./stream/Crc32Probe"),W=$("./stream/DataLengthProbe");function l(H,V,Y,T,Z){this.compressedSize=H,this.uncompressedSize=V,this.crc32=Y,this.compression=T,this.compressedContent=Z}l.prototype={getContentWorker:function(){var H=new U(J.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new W("data_length")),V=this;return H.on("end",function(){if(this.streamInfo.data_length!==V.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),H},getCompressedWorker:function(){return new U(J.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(H,V,Y){return H.pipe(new y).pipe(new W("uncompressedSize")).pipe(V.compressWorker(Y)).pipe(new W("compressedSize")).withStreamInfo("compression",V)},Be.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function($,Be,G){"use strict";var J=$("./stream/GenericWorker");G.STORE={magic:"\0\0",compressWorker:function(){return new J("STORE compression")},uncompressWorker:function(){return new J("STORE decompression")}},G.DEFLATE=$("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function($,Be,G){"use strict";var J=$("./utils"),U=function(){for(var y,W=[],l=0;l<256;l++){y=l;for(var H=0;H<8;H++)y=1&y?3988292384^y>>>1:y>>>1;W[l]=y}return W}();Be.exports=function(y,W){return y!==void 0&&y.length?J.getTypeOf(y)!=="string"?function(l,H,V,Y){var T=U,Z=Y+V;l^=-1;for(var E=Y;E<Z;E++)l=l>>>8^T[255&(l^H[E])];return-1^l}(0|W,y,y.length,0):function(l,H,V,Y){var T=U,Z=Y+V;l^=-1;for(var E=Y;E<Z;E++)l=l>>>8^T[255&(l^H.charCodeAt(E))];return-1^l}(0|W,y,y.length,0):0}},{"./utils":32}],5:[function($,Be,G){"use strict";G.base64=!1,G.binary=!1,G.dir=!1,G.createFolders=!0,G.date=null,G.compression=null,G.compressionOptions=null,G.comment=null,G.unixPermissions=null,G.dosPermissions=null},{}],6:[function($,Be,G){"use strict";var J=null;J=typeof Promise!="undefined"?Promise:$("lie"),Be.exports={Promise:J}},{lie:37}],7:[function($,Be,G){"use strict";var J=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",U=$("pako"),y=$("./utils"),W=$("./stream/GenericWorker"),l=J?"uint8array":"array";function H(V,Y){W.call(this,"FlateWorker/"+V),this._pako=null,this._pakoAction=V,this._pakoOptions=Y,this.meta={}}G.magic="\b\0",y.inherits(H,W),H.prototype.processChunk=function(V){this.meta=V.meta,this._pako===null&&this._createPako(),this._pako.push(y.transformTo(l,V.data),!1)},H.prototype.flush=function(){W.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},H.prototype.cleanUp=function(){W.prototype.cleanUp.call(this),this._pako=null},H.prototype._createPako=function(){this._pako=new U[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var V=this;this._pako.onData=function(Y){V.push({data:Y,meta:V.meta})}},G.compressWorker=function(V){return new H("Deflate",V)},G.uncompressWorker=function(){return new H("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function($,Be,G){"use strict";function J(T,Z){var E,j="";for(E=0;E<Z;E++)j+=String.fromCharCode(255&T),T>>>=8;return j}function U(T,Z,E,j,A,M){var le,ee,C=T.file,Le=T.compression,Me=M!==l.utf8encode,He=y.transformTo("string",M(C.name)),We=y.transformTo("string",l.utf8encode(C.name)),Pe=C.comment,Ne=y.transformTo("string",M(Pe)),ae=y.transformTo("string",l.utf8encode(Pe)),Ee=We.length!==C.name.length,R=ae.length!==Pe.length,N="",vt="",ve="",de=C.dir,k=C.date,te={crc32:0,compressedSize:0,uncompressedSize:0};Z&&!E||(te.crc32=T.crc32,te.compressedSize=T.compressedSize,te.uncompressedSize=T.uncompressedSize);var ie=0;Z&&(ie|=8),Me||!Ee&&!R||(ie|=2048);var ye=0,et=0;de&&(ye|=16),A==="UNIX"?(et=798,ye|=function(Qe,Wt){var Ut=Qe;return Qe||(Ut=Wt?16893:33204),(65535&Ut)<<16}(C.unixPermissions,de)):(et=20,ye|=function(Qe){return 63&(Qe||0)}(C.dosPermissions)),le=k.getUTCHours(),le<<=6,le|=k.getUTCMinutes(),le<<=5,le|=k.getUTCSeconds()/2,ee=k.getUTCFullYear()-1980,ee<<=4,ee|=k.getUTCMonth()+1,ee<<=5,ee|=k.getUTCDate(),Ee&&(vt=J(1,1)+J(H(He),4)+We,N+="up"+J(vt.length,2)+vt),R&&(ve=J(1,1)+J(H(Ne),4)+ae,N+="uc"+J(ve.length,2)+ve);var Te="";return Te+=`
|
|
|
\0`,Te+=J(ie,2),Te+=Le.magic,Te+=J(le,2),Te+=J(ee,2),Te+=J(te.crc32,4),Te+=J(te.compressedSize,4),Te+=J(te.uncompressedSize,4),Te+=J(He.length,2),Te+=J(N.length,2),{fileRecord:V.LOCAL_FILE_HEADER+Te+He+N,dirRecord:V.CENTRAL_FILE_HEADER+J(et,2)+Te+J(Ne.length,2)+"\0\0\0\0"+J(ye,4)+J(j,4)+He+N+Ne}}var y=$("../utils"),W=$("../stream/GenericWorker"),l=$("../utf8"),H=$("../crc32"),V=$("../signature");function Y(T,Z,E,j){W.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Z,this.zipPlatform=E,this.encodeFileName=j,this.streamFiles=T,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}y.inherits(Y,W),Y.prototype.push=function(T){var Z=T.meta.percent||0,E=this.entriesCount,j=this._sources.length;this.accumulate?this.contentBuffer.push(T):(this.bytesWritten+=T.data.length,W.prototype.push.call(this,{data:T.data,meta:{currentFile:this.currentFile,percent:E?(Z+100*(E-j-1))/E:100}}))},Y.prototype.openedSource=function(T){this.currentSourceOffset=this.bytesWritten,this.currentFile=T.file.name;var Z=this.streamFiles&&!T.file.dir;if(Z){var E=U(T,Z,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:E.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Y.prototype.closedSource=function(T){this.accumulate=!1;var Z=this.streamFiles&&!T.file.dir,E=U(T,Z,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(E.dirRecord),Z)this.push({data:function(j){return V.DATA_DESCRIPTOR+J(j.crc32,4)+J(j.compressedSize,4)+J(j.uncompressedSize,4)}(T),meta:{percent:100}});else for(this.push({data:E.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Y.prototype.flush=function(){for(var T=this.bytesWritten,Z=0;Z<this.dirRecords.length;Z++)this.push({data:this.dirRecords[Z],meta:{percent:100}});var E=this.bytesWritten-T,j=function(A,M,le,ee,C){var Le=y.transformTo("string",C(ee));return V.CENTRAL_DIRECTORY_END+"\0\0\0\0"+J(A,2)+J(A,2)+J(M,4)+J(le,4)+J(Le.length,2)+Le}(this.dirRecords.length,E,T,this.zipComment,this.encodeFileName);this.push({data:j,meta:{percent:100}})},Y.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Y.prototype.registerPrevious=function(T){this._sources.push(T);var Z=this;return T.on("data",function(E){Z.processChunk(E)}),T.on("end",function(){Z.closedSource(Z.previous.streamInfo),Z._sources.length?Z.prepareNextSource():Z.end()}),T.on("error",function(E){Z.error(E)}),this},Y.prototype.resume=function(){return!!W.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Y.prototype.error=function(T){var Z=this._sources;if(!W.prototype.error.call(this,T))return!1;for(var E=0;E<Z.length;E++)try{Z[E].error(T)}catch(j){}return!0},Y.prototype.lock=function(){W.prototype.lock.call(this);for(var T=this._sources,Z=0;Z<T.length;Z++)T[Z].lock()},Be.exports=Y},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function($,Be,G){"use strict";var J=$("../compressions"),U=$("./ZipFileWorker");G.generateWorker=function(y,W,l){var H=new U(W.streamFiles,l,W.platform,W.encodeFileName),V=0;try{y.forEach(function(Y,T){V++;var Z=function(M,le){var ee=M||le,C=J[ee];if(!C)throw new Error(ee+" is not a valid compression method !");return C}(T.options.compression,W.compression),E=T.options.compressionOptions||W.compressionOptions||{},j=T.dir,A=T.date;T._compressWorker(Z,E).withStreamInfo("file",{name:Y,dir:j,date:A,comment:T.comment||"",unixPermissions:T.unixPermissions,dosPermissions:T.dosPermissions}).pipe(H)}),H.entriesCount=V}catch(Y){H.error(Y)}return H}},{"../compressions":3,"./ZipFileWorker":8}],10:[function($,Be,G){"use strict";function J(){if(!(this instanceof J))return new J;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 U=new J;for(var y in this)typeof this[y]!="function"&&(U[y]=this[y]);return U}}(J.prototype=$("./object")).loadAsync=$("./load"),J.support=$("./support"),J.defaults=$("./defaults"),J.version="3.10.1",J.loadAsync=function(U,y){return new J().loadAsync(U,y)},J.external=$("./external"),Be.exports=J},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function($,Be,G){"use strict";var J=$("./utils"),U=$("./external"),y=$("./utf8"),W=$("./zipEntries"),l=$("./stream/Crc32Probe"),H=$("./nodejsUtils");function V(Y){return new U.Promise(function(T,Z){var E=Y.decompressed.getContentWorker().pipe(new l);E.on("error",function(j){Z(j)}).on("end",function(){E.streamInfo.crc32!==Y.decompressed.crc32?Z(new Error("Corrupted zip : CRC32 mismatch")):T()}).resume()})}Be.exports=function(Y,T){var Z=this;return T=J.extend(T||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:y.utf8decode}),H.isNode&&H.isStream(Y)?U.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):J.prepareContent("the loaded zip file",Y,!0,T.optimizedBinaryString,T.base64).then(function(E){var j=new W(T);return j.load(E),j}).then(function(E){var j=[U.Promise.resolve(E)],A=E.files;if(T.checkCRC32)for(var M=0;M<A.length;M++)j.push(V(A[M]));return U.Promise.all(j)}).then(function(E){for(var j=E.shift(),A=j.files,M=0;M<A.length;M++){var le=A[M],ee=le.fileNameStr,C=J.resolve(le.fileNameStr);Z.file(C,le.decompressed,{binary:!0,optimizedBinaryString:!0,date:le.date,dir:le.dir,comment:le.fileCommentStr.length?le.fileCommentStr:null,unixPermissions:le.unixPermissions,dosPermissions:le.dosPermissions,createFolders:T.createFolders}),le.dir||(Z.file(C).unsafeOriginalName=ee)}return j.zipComment.length&&(Z.comment=j.zipComment),Z})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function($,Be,G){"use strict";var J=$("../utils"),U=$("../stream/GenericWorker");function y(W,l){U.call(this,"Nodejs stream input adapter for "+W),this._upstreamEnded=!1,this._bindStream(l)}J.inherits(y,U),y.prototype._bindStream=function(W){var l=this;(this._stream=W).pause(),W.on("data",function(H){l.push({data:H,meta:{percent:0}})}).on("error",function(H){l.isPaused?this.generatedError=H:l.error(H)}).on("end",function(){l.isPaused?l._upstreamEnded=!0:l.end()})},y.prototype.pause=function(){return!!U.prototype.pause.call(this)&&(this._stream.pause(),!0)},y.prototype.resume=function(){return!!U.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},Be.exports=y},{"../stream/GenericWorker":28,"../utils":32}],13:[function($,Be,G){"use strict";var J=$("readable-stream").Readable;function U(y,W,l){J.call(this,W),this._helper=y;var H=this;y.on("data",function(V,Y){H.push(V)||H._helper.pause(),l&&l(Y)}).on("error",function(V){H.emit("error",V)}).on("end",function(){H.push(null)})}$("../utils").inherits(U,J),U.prototype._read=function(){this._helper.resume()},Be.exports=U},{"../utils":32,"readable-stream":16}],14:[function($,Be,G){"use strict";Be.exports={isNode:typeof t!="undefined",newBufferFrom:function(J,U){if(t.from&&t.from!==Uint8Array.from)return t.from(J,U);if(typeof J=="number")throw new Error('The "data" argument must not be a number');return new t(J,U)},allocBuffer:function(J){if(t.alloc)return t.alloc(J);var U=new t(J);return U.fill(0),U},isBuffer:function(J){return t.isBuffer(J)},isStream:function(J){return J&&typeof J.on=="function"&&typeof J.pause=="function"&&typeof J.resume=="function"}}},{}],15:[function($,Be,G){"use strict";function J(C,Le,Me){var He,We=y.getTypeOf(Le),Pe=y.extend(Me||{},H);Pe.date=Pe.date||new Date,Pe.compression!==null&&(Pe.compression=Pe.compression.toUpperCase()),typeof Pe.unixPermissions=="string"&&(Pe.unixPermissions=parseInt(Pe.unixPermissions,8)),Pe.unixPermissions&&16384&Pe.unixPermissions&&(Pe.dir=!0),Pe.dosPermissions&&16&Pe.dosPermissions&&(Pe.dir=!0),Pe.dir&&(C=A(C)),Pe.createFolders&&(He=j(C))&&M.call(this,He,!0);var Ne=We==="string"&&Pe.binary===!1&&Pe.base64===!1;Me&&Me.binary!==void 0||(Pe.binary=!Ne),(Le instanceof V&&Le.uncompressedSize===0||Pe.dir||!Le||Le.length===0)&&(Pe.base64=!1,Pe.binary=!0,Le="",Pe.compression="STORE",We="string");var ae=null;ae=Le instanceof V||Le instanceof W?Le:Z.isNode&&Z.isStream(Le)?new E(C,Le):y.prepareContent(C,Le,Pe.binary,Pe.optimizedBinaryString,Pe.base64);var Ee=new Y(C,ae,Pe);this.files[C]=Ee}var U=$("./utf8"),y=$("./utils"),W=$("./stream/GenericWorker"),l=$("./stream/StreamHelper"),H=$("./defaults"),V=$("./compressedObject"),Y=$("./zipObject"),T=$("./generate"),Z=$("./nodejsUtils"),E=$("./nodejs/NodejsStreamInputAdapter"),j=function(C){C.slice(-1)==="/"&&(C=C.substring(0,C.length-1));var Le=C.lastIndexOf("/");return 0<Le?C.substring(0,Le):""},A=function(C){return C.slice(-1)!=="/"&&(C+="/"),C},M=function(C,Le){return Le=Le!==void 0?Le:H.createFolders,C=A(C),this.files[C]||J.call(this,C,null,{dir:!0,createFolders:Le}),this.files[C]};function le(C){return Object.prototype.toString.call(C)==="[object RegExp]"}var ee={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(C){var Le,Me,He;for(Le in this.files)He=this.files[Le],(Me=Le.slice(this.root.length,Le.length))&&Le.slice(0,this.root.length)===this.root&&C(Me,He)},filter:function(C){var Le=[];return this.forEach(function(Me,He){C(Me,He)&&Le.push(He)}),Le},file:function(C,Le,Me){if(arguments.length!==1)return C=this.root+C,J.call(this,C,Le,Me),this;if(le(C)){var He=C;return this.filter(function(Pe,Ne){return!Ne.dir&&He.test(Pe)})}var We=this.files[this.root+C];return We&&!We.dir?We:null},folder:function(C){if(!C)return this;if(le(C))return this.filter(function(We,Pe){return Pe.dir&&C.test(We)});var Le=this.root+C,Me=M.call(this,Le),He=this.clone();return He.root=Me.name,He},remove:function(C){C=this.root+C;var Le=this.files[C];if(Le||(C.slice(-1)!=="/"&&(C+="/"),Le=this.files[C]),Le&&!Le.dir)delete this.files[C];else for(var Me=this.filter(function(We,Pe){return Pe.name.slice(0,C.length)===C}),He=0;He<Me.length;He++)delete this.files[Me[He].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(C){var Le,Me={};try{if((Me=y.extend(C||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:U.utf8encode})).type=Me.type.toLowerCase(),Me.compression=Me.compression.toUpperCase(),Me.type==="binarystring"&&(Me.type="string"),!Me.type)throw new Error("No output type specified.");y.checkSupport(Me.type),Me.platform!=="darwin"&&Me.platform!=="freebsd"&&Me.platform!=="linux"&&Me.platform!=="sunos"||(Me.platform="UNIX"),Me.platform==="win32"&&(Me.platform="DOS");var He=Me.comment||this.comment||"";Le=T.generateWorker(this,Me,He)}catch(We){(Le=new W("error")).error(We)}return new l(Le,Me.type||"string",Me.mimeType)},generateAsync:function(C,Le){return this.generateInternalStream(C).accumulate(Le)},generateNodeStream:function(C,Le){return(C=C||{}).type||(C.type="nodebuffer"),this.generateInternalStream(C).toNodejsStream(Le)}};Be.exports=ee},{"./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($,Be,G){"use strict";Be.exports=$("stream")},{stream:void 0}],17:[function($,Be,G){"use strict";var J=$("./DataReader");function U(y){J.call(this,y);for(var W=0;W<this.data.length;W++)y[W]=255&y[W]}$("../utils").inherits(U,J),U.prototype.byteAt=function(y){return this.data[this.zero+y]},U.prototype.lastIndexOfSignature=function(y){for(var W=y.charCodeAt(0),l=y.charCodeAt(1),H=y.charCodeAt(2),V=y.charCodeAt(3),Y=this.length-4;0<=Y;--Y)if(this.data[Y]===W&&this.data[Y+1]===l&&this.data[Y+2]===H&&this.data[Y+3]===V)return Y-this.zero;return-1},U.prototype.readAndCheckSignature=function(y){var W=y.charCodeAt(0),l=y.charCodeAt(1),H=y.charCodeAt(2),V=y.charCodeAt(3),Y=this.readData(4);return W===Y[0]&&l===Y[1]&&H===Y[2]&&V===Y[3]},U.prototype.readData=function(y){if(this.checkOffset(y),y===0)return[];var W=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,W},Be.exports=U},{"../utils":32,"./DataReader":18}],18:[function($,Be,G){"use strict";var J=$("../utils");function U(y){this.data=y,this.length=y.length,this.index=0,this.zero=0}U.prototype={checkOffset:function(y){this.checkIndex(this.index+y)},checkIndex:function(y){if(this.length<this.zero+y||y<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+y+"). Corrupted zip ?")},setIndex:function(y){this.checkIndex(y),this.index=y},skip:function(y){this.setIndex(this.index+y)},byteAt:function(){},readInt:function(y){var W,l=0;for(this.checkOffset(y),W=this.index+y-1;W>=this.index;W--)l=(l<<8)+this.byteAt(W);return this.index+=y,l},readString:function(y){return J.transformTo("string",this.readData(y))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var y=this.readInt(4);return new Date(Date.UTC(1980+(y>>25&127),(y>>21&15)-1,y>>16&31,y>>11&31,y>>5&63,(31&y)<<1))}},Be.exports=U},{"../utils":32}],19:[function($,Be,G){"use strict";var J=$("./Uint8ArrayReader");function U(y){J.call(this,y)}$("../utils").inherits(U,J),U.prototype.readData=function(y){this.checkOffset(y);var W=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,W},Be.exports=U},{"../utils":32,"./Uint8ArrayReader":21}],20:[function($,Be,G){"use strict";var J=$("./DataReader");function U(y){J.call(this,y)}$("../utils").inherits(U,J),U.prototype.byteAt=function(y){return this.data.charCodeAt(this.zero+y)},U.prototype.lastIndexOfSignature=function(y){return this.data.lastIndexOf(y)-this.zero},U.prototype.readAndCheckSignature=function(y){return y===this.readData(4)},U.prototype.readData=function(y){this.checkOffset(y);var W=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,W},Be.exports=U},{"../utils":32,"./DataReader":18}],21:[function($,Be,G){"use strict";var J=$("./ArrayReader");function U(y){J.call(this,y)}$("../utils").inherits(U,J),U.prototype.readData=function(y){if(this.checkOffset(y),y===0)return new Uint8Array(0);var W=this.data.subarray(this.zero+this.index,this.zero+this.index+y);return this.index+=y,W},Be.exports=U},{"../utils":32,"./ArrayReader":17}],22:[function($,Be,G){"use strict";var J=$("../utils"),U=$("../support"),y=$("./ArrayReader"),W=$("./StringReader"),l=$("./NodeBufferReader"),H=$("./Uint8ArrayReader");Be.exports=function(V){var Y=J.getTypeOf(V);return J.checkSupport(Y),Y!=="string"||U.uint8array?Y==="nodebuffer"?new l(V):U.uint8array?new H(J.transformTo("uint8array",V)):new y(J.transformTo("array",V)):new W(V)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function($,Be,G){"use strict";G.LOCAL_FILE_HEADER="PK",G.CENTRAL_FILE_HEADER="PK",G.CENTRAL_DIRECTORY_END="PK",G.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",G.ZIP64_CENTRAL_DIRECTORY_END="PK",G.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function($,Be,G){"use strict";var J=$("./GenericWorker"),U=$("../utils");function y(W){J.call(this,"ConvertWorker to "+W),this.destType=W}U.inherits(y,J),y.prototype.processChunk=function(W){this.push({data:U.transformTo(this.destType,W.data),meta:W.meta})},Be.exports=y},{"../utils":32,"./GenericWorker":28}],25:[function($,Be,G){"use strict";var J=$("./GenericWorker"),U=$("../crc32");function y(){J.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}$("../utils").inherits(y,J),y.prototype.processChunk=function(W){this.streamInfo.crc32=U(W.data,this.streamInfo.crc32||0),this.push(W)},Be.exports=y},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function($,Be,G){"use strict";var J=$("../utils"),U=$("./GenericWorker");function y(W){U.call(this,"DataLengthProbe for "+W),this.propName=W,this.withStreamInfo(W,0)}J.inherits(y,U),y.prototype.processChunk=function(W){if(W){var l=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=l+W.data.length}U.prototype.processChunk.call(this,W)},Be.exports=y},{"../utils":32,"./GenericWorker":28}],27:[function($,Be,G){"use strict";var J=$("../utils"),U=$("./GenericWorker");function y(W){U.call(this,"DataWorker");var l=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,W.then(function(H){l.dataIsReady=!0,l.data=H,l.max=H&&H.length||0,l.type=J.getTypeOf(H),l.isPaused||l._tickAndRepeat()},function(H){l.error(H)})}J.inherits(y,U),y.prototype.cleanUp=function(){U.prototype.cleanUp.call(this),this.data=null},y.prototype.resume=function(){return!!U.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,J.delay(this._tickAndRepeat,[],this)),!0)},y.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(J.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},y.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var W=null,l=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":W=this.data.substring(this.index,l);break;case"uint8array":W=this.data.subarray(this.index,l);break;case"array":case"nodebuffer":W=this.data.slice(this.index,l)}return this.index=l,this.push({data:W,meta:{percent:this.max?this.index/this.max*100:0}})},Be.exports=y},{"../utils":32,"./GenericWorker":28}],28:[function($,Be,G){"use strict";function J(U){this.name=U||"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}J.prototype={push:function(U){this.emit("data",U)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(U){this.emit("error",U)}return!0},error:function(U){return!this.isFinished&&(this.isPaused?this.generatedError=U:(this.isFinished=!0,this.emit("error",U),this.previous&&this.previous.error(U),this.cleanUp()),!0)},on:function(U,y){return this._listeners[U].push(y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(U,y){if(this._listeners[U])for(var W=0;W<this._listeners[U].length;W++)this._listeners[U][W].call(this,y)},pipe:function(U){return U.registerPrevious(this)},registerPrevious:function(U){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=U.streamInfo,this.mergeStreamInfo(),this.previous=U;var y=this;return U.on("data",function(W){y.processChunk(W)}),U.on("end",function(){y.end()}),U.on("error",function(W){y.error(W)}),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 U=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),U=!0),this.previous&&this.previous.resume(),!U},flush:function(){},processChunk:function(U){this.push(U)},withStreamInfo:function(U,y){return this.extraStreamInfo[U]=y,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var U in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,U)&&(this.streamInfo[U]=this.extraStreamInfo[U])},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 U="Worker "+this.name;return this.previous?this.previous+" -> "+U:U}},Be.exports=J},{}],29:[function($,Be,G){"use strict";var J=$("../utils"),U=$("./ConvertWorker"),y=$("./GenericWorker"),W=$("../base64"),l=$("../support"),H=$("../external"),V=null;if(l.nodestream)try{V=$("../nodejs/NodejsStreamOutputAdapter")}catch(Z){}function Y(Z,E){return new H.Promise(function(j,A){var M=[],le=Z._internalType,ee=Z._outputType,C=Z._mimeType;Z.on("data",function(Le,Me){M.push(Le),E&&E(Me)}).on("error",function(Le){M=[],A(Le)}).on("end",function(){try{var Le=function(Me,He,We){switch(Me){case"blob":return J.newBlob(J.transformTo("arraybuffer",He),We);case"base64":return W.encode(He);default:return J.transformTo(Me,He)}}(ee,function(Me,He){var We,Pe=0,Ne=null,ae=0;for(We=0;We<He.length;We++)ae+=He[We].length;switch(Me){case"string":return He.join("");case"array":return Array.prototype.concat.apply([],He);case"uint8array":for(Ne=new Uint8Array(ae),We=0;We<He.length;We++)Ne.set(He[We],Pe),Pe+=He[We].length;return Ne;case"nodebuffer":return t.concat(He);default:throw new Error("concat : unsupported type '"+Me+"'")}}(le,M),C);j(Le)}catch(Me){A(Me)}M=[]}).resume()})}function T(Z,E,j){var A=E;switch(E){case"blob":case"arraybuffer":A="uint8array";break;case"base64":A="string"}try{this._internalType=A,this._outputType=E,this._mimeType=j,J.checkSupport(A),this._worker=Z.pipe(new U(A)),Z.lock()}catch(M){this._worker=new y("error"),this._worker.error(M)}}T.prototype={accumulate:function(Z){return Y(this,Z)},on:function(Z,E){var j=this;return Z==="data"?this._worker.on(Z,function(A){E.call(j,A.data,A.meta)}):this._worker.on(Z,function(){J.delay(E,arguments,j)}),this},resume:function(){return J.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(Z){if(J.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new V(this,{objectMode:this._outputType!=="nodebuffer"},Z)}},Be.exports=T},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function($,Be,G){"use strict";if(G.base64=!0,G.array=!0,G.string=!0,G.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",G.nodebuffer=typeof t!="undefined",G.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")G.blob=!1;else{var J=new ArrayBuffer(0);try{G.blob=new Blob([J],{type:"application/zip"}).size===0}catch(y){try{var U=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);U.append(J),G.blob=U.getBlob("application/zip").size===0}catch(W){G.blob=!1}}}try{G.nodestream=!!$("readable-stream").Readable}catch(y){G.nodestream=!1}},{"readable-stream":16}],31:[function($,Be,G){"use strict";for(var J=$("./utils"),U=$("./support"),y=$("./nodejsUtils"),W=$("./stream/GenericWorker"),l=new Array(256),H=0;H<256;H++)l[H]=252<=H?6:248<=H?5:240<=H?4:224<=H?3:192<=H?2:1;l[254]=l[254]=1;function V(){W.call(this,"utf-8 decode"),this.leftOver=null}function Y(){W.call(this,"utf-8 encode")}G.utf8encode=function(T){return U.nodebuffer?y.newBufferFrom(T,"utf-8"):function(Z){var E,j,A,M,le,ee=Z.length,C=0;for(M=0;M<ee;M++)(64512&(j=Z.charCodeAt(M)))==55296&&M+1<ee&&(64512&(A=Z.charCodeAt(M+1)))==56320&&(j=65536+(j-55296<<10)+(A-56320),M++),C+=j<128?1:j<2048?2:j<65536?3:4;for(E=U.uint8array?new Uint8Array(C):new Array(C),M=le=0;le<C;M++)(64512&(j=Z.charCodeAt(M)))==55296&&M+1<ee&&(64512&(A=Z.charCodeAt(M+1)))==56320&&(j=65536+(j-55296<<10)+(A-56320),M++),j<128?E[le++]=j:(j<2048?E[le++]=192|j>>>6:(j<65536?E[le++]=224|j>>>12:(E[le++]=240|j>>>18,E[le++]=128|j>>>12&63),E[le++]=128|j>>>6&63),E[le++]=128|63&j);return E}(T)},G.utf8decode=function(T){return U.nodebuffer?J.transformTo("nodebuffer",T).toString("utf-8"):function(Z){var E,j,A,M,le=Z.length,ee=new Array(2*le);for(E=j=0;E<le;)if((A=Z[E++])<128)ee[j++]=A;else if(4<(M=l[A]))ee[j++]=65533,E+=M-1;else{for(A&=M===2?31:M===3?15:7;1<M&&E<le;)A=A<<6|63&Z[E++],M--;1<M?ee[j++]=65533:A<65536?ee[j++]=A:(A-=65536,ee[j++]=55296|A>>10&1023,ee[j++]=56320|1023&A)}return ee.length!==j&&(ee.subarray?ee=ee.subarray(0,j):ee.length=j),J.applyFromCharCode(ee)}(T=J.transformTo(U.uint8array?"uint8array":"array",T))},J.inherits(V,W),V.prototype.processChunk=function(T){var Z=J.transformTo(U.uint8array?"uint8array":"array",T.data);if(this.leftOver&&this.leftOver.length){if(U.uint8array){var E=Z;(Z=new Uint8Array(E.length+this.leftOver.length)).set(this.leftOver,0),Z.set(E,this.leftOver.length)}else Z=this.leftOver.concat(Z);this.leftOver=null}var j=function(M,le){var ee;for((le=le||M.length)>M.length&&(le=M.length),ee=le-1;0<=ee&&(192&M[ee])==128;)ee--;return ee<0||ee===0?le:ee+l[M[ee]]>le?ee:le}(Z),A=Z;j!==Z.length&&(U.uint8array?(A=Z.subarray(0,j),this.leftOver=Z.subarray(j,Z.length)):(A=Z.slice(0,j),this.leftOver=Z.slice(j,Z.length))),this.push({data:G.utf8decode(A),meta:T.meta})},V.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:G.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},G.Utf8DecodeWorker=V,J.inherits(Y,W),Y.prototype.processChunk=function(T){this.push({data:G.utf8encode(T.data),meta:T.meta})},G.Utf8EncodeWorker=Y},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function($,Be,G){"use strict";var J=$("./support"),U=$("./base64"),y=$("./nodejsUtils"),W=$("./external");function l(E){return E}function H(E,j){for(var A=0;A<E.length;++A)j[A]=255&E.charCodeAt(A);return j}$("setimmediate"),G.newBlob=function(E,j){G.checkSupport("blob");try{return new Blob([E],{type:j})}catch(M){try{var A=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return A.append(E),A.getBlob(j)}catch(le){throw new Error("Bug : can't construct the Blob.")}}};var V={stringifyByChunk:function(E,j,A){var M=[],le=0,ee=E.length;if(ee<=A)return String.fromCharCode.apply(null,E);for(;le<ee;)j==="array"||j==="nodebuffer"?M.push(String.fromCharCode.apply(null,E.slice(le,Math.min(le+A,ee)))):M.push(String.fromCharCode.apply(null,E.subarray(le,Math.min(le+A,ee)))),le+=A;return M.join("")},stringifyByChar:function(E){for(var j="",A=0;A<E.length;A++)j+=String.fromCharCode(E[A]);return j},applyCanBeUsed:{uint8array:function(){try{return J.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(E){return!1}}(),nodebuffer:function(){try{return J.nodebuffer&&String.fromCharCode.apply(null,y.allocBuffer(1)).length===1}catch(E){return!1}}()}};function Y(E){var j=65536,A=G.getTypeOf(E),M=!0;if(A==="uint8array"?M=V.applyCanBeUsed.uint8array:A==="nodebuffer"&&(M=V.applyCanBeUsed.nodebuffer),M)for(;1<j;)try{return V.stringifyByChunk(E,A,j)}catch(le){j=Math.floor(j/2)}return V.stringifyByChar(E)}function T(E,j){for(var A=0;A<E.length;A++)j[A]=E[A];return j}G.applyFromCharCode=Y;var Z={};Z.string={string:l,array:function(E){return H(E,new Array(E.length))},arraybuffer:function(E){return Z.string.uint8array(E).buffer},uint8array:function(E){return H(E,new Uint8Array(E.length))},nodebuffer:function(E){return H(E,y.allocBuffer(E.length))}},Z.array={string:Y,array:l,arraybuffer:function(E){return new Uint8Array(E).buffer},uint8array:function(E){return new Uint8Array(E)},nodebuffer:function(E){return y.newBufferFrom(E)}},Z.arraybuffer={string:function(E){return Y(new Uint8Array(E))},array:function(E){return T(new Uint8Array(E),new Array(E.byteLength))},arraybuffer:l,uint8array:function(E){return new Uint8Array(E)},nodebuffer:function(E){return y.newBufferFrom(new Uint8Array(E))}},Z.uint8array={string:Y,array:function(E){return T(E,new Array(E.length))},arraybuffer:function(E){return E.buffer},uint8array:l,nodebuffer:function(E){return y.newBufferFrom(E)}},Z.nodebuffer={string:Y,array:function(E){return T(E,new Array(E.length))},arraybuffer:function(E){return Z.nodebuffer.uint8array(E).buffer},uint8array:function(E){return T(E,new Uint8Array(E.length))},nodebuffer:l},G.transformTo=function(E,j){if(j=j||"",!E)return j;G.checkSupport(E);var A=G.getTypeOf(j);return Z[A][E](j)},G.resolve=function(E){for(var j=E.split("/"),A=[],M=0;M<j.length;M++){var le=j[M];le==="."||le===""&&M!==0&&M!==j.length-1||(le===".."?A.pop():A.push(le))}return A.join("/")},G.getTypeOf=function(E){return typeof E=="string"?"string":Object.prototype.toString.call(E)==="[object Array]"?"array":J.nodebuffer&&y.isBuffer(E)?"nodebuffer":J.uint8array&&E instanceof Uint8Array?"uint8array":J.arraybuffer&&E instanceof ArrayBuffer?"arraybuffer":void 0},G.checkSupport=function(E){if(!J[E.toLowerCase()])throw new Error(E+" is not supported by this platform")},G.MAX_VALUE_16BITS=65535,G.MAX_VALUE_32BITS=-1,G.pretty=function(E){var j,A,M="";for(A=0;A<(E||"").length;A++)M+="\\x"+((j=E.charCodeAt(A))<16?"0":"")+j.toString(16).toUpperCase();return M},G.delay=function(E,j,A){setImmediate(function(){E.apply(A||null,j||[])})},G.inherits=function(E,j){function A(){}A.prototype=j.prototype,E.prototype=new A},G.extend=function(){var E,j,A={};for(E=0;E<arguments.length;E++)for(j in arguments[E])Object.prototype.hasOwnProperty.call(arguments[E],j)&&A[j]===void 0&&(A[j]=arguments[E][j]);return A},G.prepareContent=function(E,j,A,M,le){return W.Promise.resolve(j).then(function(ee){return J.blob&&(ee instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(ee))!==-1)&&typeof FileReader!="undefined"?new W.Promise(function(C,Le){var Me=new FileReader;Me.onload=function(He){C(He.target.result)},Me.onerror=function(He){Le(He.target.error)},Me.readAsArrayBuffer(ee)}):ee}).then(function(ee){var C=G.getTypeOf(ee);return C?(C==="arraybuffer"?ee=G.transformTo("uint8array",ee):C==="string"&&(le?ee=U.decode(ee):A&&M!==!0&&(ee=function(Le){return H(Le,J.uint8array?new Uint8Array(Le.length):new Array(Le.length))}(ee))),ee):W.Promise.reject(new Error("Can't read the data of '"+E+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function($,Be,G){"use strict";var J=$("./reader/readerFor"),U=$("./utils"),y=$("./signature"),W=$("./zipEntry"),l=$("./support");function H(V){this.files=[],this.loadOptions=V}H.prototype={checkSignature:function(V){if(!this.reader.readAndCheckSignature(V)){this.reader.index-=4;var Y=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+U.pretty(Y)+", expected "+U.pretty(V)+")")}},isSignature:function(V,Y){var T=this.reader.index;this.reader.setIndex(V);var Z=this.reader.readString(4)===Y;return this.reader.setIndex(T),Z},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 V=this.reader.readData(this.zipCommentLength),Y=l.uint8array?"uint8array":"array",T=U.transformTo(Y,V);this.zipComment=this.loadOptions.decodeFileName(T)},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 V,Y,T,Z=this.zip64EndOfCentralSize-44;0<Z;)V=this.reader.readInt(2),Y=this.reader.readInt(4),T=this.reader.readData(Y),this.zip64ExtensibleData[V]={id:V,length:Y,value:T}},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 V,Y;for(V=0;V<this.files.length;V++)Y=this.files[V],this.reader.setIndex(Y.localHeaderOffset),this.checkSignature(y.LOCAL_FILE_HEADER),Y.readLocalPart(this.reader),Y.handleUTF8(),Y.processAttributes()},readCentralDir:function(){var V;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(y.CENTRAL_FILE_HEADER);)(V=new W({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(V);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 V=this.reader.lastIndexOfSignature(y.CENTRAL_DIRECTORY_END);if(V<0)throw this.isSignature(0,y.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(V);var Y=V;if(this.checkSignature(y.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===U.MAX_VALUE_16BITS||this.diskWithCentralDirStart===U.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===U.MAX_VALUE_16BITS||this.centralDirRecords===U.MAX_VALUE_16BITS||this.centralDirSize===U.MAX_VALUE_32BITS||this.centralDirOffset===U.MAX_VALUE_32BITS){if(this.zip64=!0,(V=this.reader.lastIndexOfSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(V),this.checkSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,y.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(y.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(y.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var T=this.centralDirOffset+this.centralDirSize;this.zip64&&(T+=20,T+=12+this.zip64EndOfCentralSize);var Z=Y-T;if(0<Z)this.isSignature(Y,y.CENTRAL_FILE_HEADER)||(this.reader.zero=Z);else if(Z<0)throw new Error("Corrupted zip: missing "+Math.abs(Z)+" bytes.")},prepareReader:function(V){this.reader=J(V)},load:function(V){this.prepareReader(V),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},Be.exports=H},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function($,Be,G){"use strict";var J=$("./reader/readerFor"),U=$("./utils"),y=$("./compressedObject"),W=$("./crc32"),l=$("./utf8"),H=$("./compressions"),V=$("./support");function Y(T,Z){this.options=T,this.loadOptions=Z}Y.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(T){var Z,E;if(T.skip(22),this.fileNameLength=T.readInt(2),E=T.readInt(2),this.fileName=T.readData(this.fileNameLength),T.skip(E),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((Z=function(j){for(var A in H)if(Object.prototype.hasOwnProperty.call(H,A)&&H[A].magic===j)return H[A];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+U.pretty(this.compressionMethod)+" unknown (inner file : "+U.transformTo("string",this.fileName)+")");this.decompressed=new y(this.compressedSize,this.uncompressedSize,this.crc32,Z,T.readData(this.compressedSize))},readCentralPart:function(T){this.versionMadeBy=T.readInt(2),T.skip(2),this.bitFlag=T.readInt(2),this.compressionMethod=T.readString(2),this.date=T.readDate(),this.crc32=T.readInt(4),this.compressedSize=T.readInt(4),this.uncompressedSize=T.readInt(4);var Z=T.readInt(2);if(this.extraFieldsLength=T.readInt(2),this.fileCommentLength=T.readInt(2),this.diskNumberStart=T.readInt(2),this.internalFileAttributes=T.readInt(2),this.externalFileAttributes=T.readInt(4),this.localHeaderOffset=T.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");T.skip(Z),this.readExtraFields(T),this.parseZIP64ExtraField(T),this.fileComment=T.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var T=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),T==0&&(this.dosPermissions=63&this.externalFileAttributes),T==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var T=J(this.extraFields[1].value);this.uncompressedSize===U.MAX_VALUE_32BITS&&(this.uncompressedSize=T.readInt(8)),this.compressedSize===U.MAX_VALUE_32BITS&&(this.compressedSize=T.readInt(8)),this.localHeaderOffset===U.MAX_VALUE_32BITS&&(this.localHeaderOffset=T.readInt(8)),this.diskNumberStart===U.MAX_VALUE_32BITS&&(this.diskNumberStart=T.readInt(4))}},readExtraFields:function(T){var Z,E,j,A=T.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});T.index+4<A;)Z=T.readInt(2),E=T.readInt(2),j=T.readData(E),this.extraFields[Z]={id:Z,length:E,value:j};T.setIndex(A)},handleUTF8:function(){var T=V.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var Z=this.findExtraFieldUnicodePath();if(Z!==null)this.fileNameStr=Z;else{var E=U.transformTo(T,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(E)}var j=this.findExtraFieldUnicodeComment();if(j!==null)this.fileCommentStr=j;else{var A=U.transformTo(T,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(A)}}},findExtraFieldUnicodePath:function(){var T=this.extraFields[28789];if(T){var Z=J(T.value);return Z.readInt(1)!==1||W(this.fileName)!==Z.readInt(4)?null:l.utf8decode(Z.readData(T.length-5))}return null},findExtraFieldUnicodeComment:function(){var T=this.extraFields[25461];if(T){var Z=J(T.value);return Z.readInt(1)!==1||W(this.fileComment)!==Z.readInt(4)?null:l.utf8decode(Z.readData(T.length-5))}return null}},Be.exports=Y},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function($,Be,G){"use strict";function J(Z,E,j){this.name=Z,this.dir=j.dir,this.date=j.date,this.comment=j.comment,this.unixPermissions=j.unixPermissions,this.dosPermissions=j.dosPermissions,this._data=E,this._dataBinary=j.binary,this.options={compression:j.compression,compressionOptions:j.compressionOptions}}var U=$("./stream/StreamHelper"),y=$("./stream/DataWorker"),W=$("./utf8"),l=$("./compressedObject"),H=$("./stream/GenericWorker");J.prototype={internalStream:function(Z){var E=null,j="string";try{if(!Z)throw new Error("No output type specified.");var A=(j=Z.toLowerCase())==="string"||j==="text";j!=="binarystring"&&j!=="text"||(j="string"),E=this._decompressWorker();var M=!this._dataBinary;M&&!A&&(E=E.pipe(new W.Utf8EncodeWorker)),!M&&A&&(E=E.pipe(new W.Utf8DecodeWorker))}catch(le){(E=new H("error")).error(le)}return new U(E,j,"")},async:function(Z,E){return this.internalStream(Z).accumulate(E)},nodeStream:function(Z,E){return this.internalStream(Z||"nodebuffer").toNodejsStream(E)},_compressWorker:function(Z,E){if(this._data instanceof l&&this._data.compression.magic===Z.magic)return this._data.getCompressedWorker();var j=this._decompressWorker();return this._dataBinary||(j=j.pipe(new W.Utf8EncodeWorker)),l.createWorkerFrom(j,Z,E)},_decompressWorker:function(){return this._data instanceof l?this._data.getContentWorker():this._data instanceof H?this._data:new y(this._data)}};for(var V=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Y=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},T=0;T<V.length;T++)J.prototype[V[T]]=Y;Be.exports=J},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function($,Be,G){(function(J){"use strict";var U,y,W=J.MutationObserver||J.WebKitMutationObserver;if(W){var l=0,H=new W(Z),V=J.document.createTextNode("");H.observe(V,{characterData:!0}),U=function(){V.data=l=++l%2}}else if(J.setImmediate||J.MessageChannel===void 0)U="document"in J&&"onreadystatechange"in J.document.createElement("script")?function(){var E=J.document.createElement("script");E.onreadystatechange=function(){Z(),E.onreadystatechange=null,E.parentNode.removeChild(E),E=null},J.document.documentElement.appendChild(E)}:function(){setTimeout(Z,0)};else{var Y=new J.MessageChannel;Y.port1.onmessage=Z,U=function(){Y.port2.postMessage(0)}}var T=[];function Z(){var E,j;y=!0;for(var A=T.length;A;){for(j=T,T=[],E=-1;++E<A;)j[E]();A=T.length}y=!1}Be.exports=function(E){T.push(E)!==1||y||U()}}).call(this,typeof a.g!="undefined"?a.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function($,Be,G){"use strict";var J=$("immediate");function U(){}var y={},W=["REJECTED"],l=["FULFILLED"],H=["PENDING"];function V(A){if(typeof A!="function")throw new TypeError("resolver must be a function");this.state=H,this.queue=[],this.outcome=void 0,A!==U&&E(this,A)}function Y(A,M,le){this.promise=A,typeof M=="function"&&(this.onFulfilled=M,this.callFulfilled=this.otherCallFulfilled),typeof le=="function"&&(this.onRejected=le,this.callRejected=this.otherCallRejected)}function T(A,M,le){J(function(){var ee;try{ee=M(le)}catch(C){return y.reject(A,C)}ee===A?y.reject(A,new TypeError("Cannot resolve promise with itself")):y.resolve(A,ee)})}function Z(A){var M=A&&A.then;if(A&&(typeof A=="object"||typeof A=="function")&&typeof M=="function")return function(){M.apply(A,arguments)}}function E(A,M){var le=!1;function ee(Me){le||(le=!0,y.reject(A,Me))}function C(Me){le||(le=!0,y.resolve(A,Me))}var Le=j(function(){M(C,ee)});Le.status==="error"&&ee(Le.value)}function j(A,M){var le={};try{le.value=A(M),le.status="success"}catch(ee){le.status="error",le.value=ee}return le}(Be.exports=V).prototype.finally=function(A){if(typeof A!="function")return this;var M=this.constructor;return this.then(function(le){return M.resolve(A()).then(function(){return le})},function(le){return M.resolve(A()).then(function(){throw le})})},V.prototype.catch=function(A){return this.then(null,A)},V.prototype.then=function(A,M){if(typeof A!="function"&&this.state===l||typeof M!="function"&&this.state===W)return this;var le=new this.constructor(U);return this.state!==H?T(le,this.state===l?A:M,this.outcome):this.queue.push(new Y(le,A,M)),le},Y.prototype.callFulfilled=function(A){y.resolve(this.promise,A)},Y.prototype.otherCallFulfilled=function(A){T(this.promise,this.onFulfilled,A)},Y.prototype.callRejected=function(A){y.reject(this.promise,A)},Y.prototype.otherCallRejected=function(A){T(this.promise,this.onRejected,A)},y.resolve=function(A,M){var le=j(Z,M);if(le.status==="error")return y.reject(A,le.value);var ee=le.value;if(ee)E(A,ee);else{A.state=l,A.outcome=M;for(var C=-1,Le=A.queue.length;++C<Le;)A.queue[C].callFulfilled(M)}return A},y.reject=function(A,M){A.state=W,A.outcome=M;for(var le=-1,ee=A.queue.length;++le<ee;)A.queue[le].callRejected(M);return A},V.resolve=function(A){return A instanceof this?A:y.resolve(new this(U),A)},V.reject=function(A){var M=new this(U);return y.reject(M,A)},V.all=function(A){var M=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var le=A.length,ee=!1;if(!le)return this.resolve([]);for(var C=new Array(le),Le=0,Me=-1,He=new this(U);++Me<le;)We(A[Me],Me);return He;function We(Pe,Ne){M.resolve(Pe).then(function(ae){C[Ne]=ae,++Le!==le||ee||(ee=!0,y.resolve(He,C))},function(ae){ee||(ee=!0,y.reject(He,ae))})}},V.race=function(A){var M=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var le=A.length,ee=!1;if(!le)return this.resolve([]);for(var C=-1,Le=new this(U);++C<le;)Me=A[C],M.resolve(Me).then(function(He){ee||(ee=!0,y.resolve(Le,He))},function(He){ee||(ee=!0,y.reject(Le,He))});var Me;return Le}},{immediate:36}],38:[function($,Be,G){"use strict";var J={};(0,$("./lib/utils/common").assign)(J,$("./lib/deflate"),$("./lib/inflate"),$("./lib/zlib/constants")),Be.exports=J},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function($,Be,G){"use strict";var J=$("./zlib/deflate"),U=$("./utils/common"),y=$("./utils/strings"),W=$("./zlib/messages"),l=$("./zlib/zstream"),H=Object.prototype.toString,V=0,Y=-1,T=0,Z=8;function E(A){if(!(this instanceof E))return new E(A);this.options=U.assign({level:Y,method:Z,chunkSize:16384,windowBits:15,memLevel:8,strategy:T,to:""},A||{});var M=this.options;M.raw&&0<M.windowBits?M.windowBits=-M.windowBits:M.gzip&&0<M.windowBits&&M.windowBits<16&&(M.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var le=J.deflateInit2(this.strm,M.level,M.method,M.windowBits,M.memLevel,M.strategy);if(le!==V)throw new Error(W[le]);if(M.header&&J.deflateSetHeader(this.strm,M.header),M.dictionary){var ee;if(ee=typeof M.dictionary=="string"?y.string2buf(M.dictionary):H.call(M.dictionary)==="[object ArrayBuffer]"?new Uint8Array(M.dictionary):M.dictionary,(le=J.deflateSetDictionary(this.strm,ee))!==V)throw new Error(W[le]);this._dict_set=!0}}function j(A,M){var le=new E(M);if(le.push(A,!0),le.err)throw le.msg||W[le.err];return le.result}E.prototype.push=function(A,M){var le,ee,C=this.strm,Le=this.options.chunkSize;if(this.ended)return!1;ee=M===~~M?M:M===!0?4:0,typeof A=="string"?C.input=y.string2buf(A):H.call(A)==="[object ArrayBuffer]"?C.input=new Uint8Array(A):C.input=A,C.next_in=0,C.avail_in=C.input.length;do{if(C.avail_out===0&&(C.output=new U.Buf8(Le),C.next_out=0,C.avail_out=Le),(le=J.deflate(C,ee))!==1&&le!==V)return this.onEnd(le),!(this.ended=!0);C.avail_out!==0&&(C.avail_in!==0||ee!==4&&ee!==2)||(this.options.to==="string"?this.onData(y.buf2binstring(U.shrinkBuf(C.output,C.next_out))):this.onData(U.shrinkBuf(C.output,C.next_out)))}while((0<C.avail_in||C.avail_out===0)&&le!==1);return ee===4?(le=J.deflateEnd(this.strm),this.onEnd(le),this.ended=!0,le===V):ee!==2||(this.onEnd(V),!(C.avail_out=0))},E.prototype.onData=function(A){this.chunks.push(A)},E.prototype.onEnd=function(A){A===V&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=U.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},G.Deflate=E,G.deflate=j,G.deflateRaw=function(A,M){return(M=M||{}).raw=!0,j(A,M)},G.gzip=function(A,M){return(M=M||{}).gzip=!0,j(A,M)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function($,Be,G){"use strict";var J=$("./zlib/inflate"),U=$("./utils/common"),y=$("./utils/strings"),W=$("./zlib/constants"),l=$("./zlib/messages"),H=$("./zlib/zstream"),V=$("./zlib/gzheader"),Y=Object.prototype.toString;function T(E){if(!(this instanceof T))return new T(E);this.options=U.assign({chunkSize:16384,windowBits:0,to:""},E||{});var j=this.options;j.raw&&0<=j.windowBits&&j.windowBits<16&&(j.windowBits=-j.windowBits,j.windowBits===0&&(j.windowBits=-15)),!(0<=j.windowBits&&j.windowBits<16)||E&&E.windowBits||(j.windowBits+=32),15<j.windowBits&&j.windowBits<48&&!(15&j.windowBits)&&(j.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new H,this.strm.avail_out=0;var A=J.inflateInit2(this.strm,j.windowBits);if(A!==W.Z_OK)throw new Error(l[A]);this.header=new V,J.inflateGetHeader(this.strm,this.header)}function Z(E,j){var A=new T(j);if(A.push(E,!0),A.err)throw A.msg||l[A.err];return A.result}T.prototype.push=function(E,j){var A,M,le,ee,C,Le,Me=this.strm,He=this.options.chunkSize,We=this.options.dictionary,Pe=!1;if(this.ended)return!1;M=j===~~j?j:j===!0?W.Z_FINISH:W.Z_NO_FLUSH,typeof E=="string"?Me.input=y.binstring2buf(E):Y.call(E)==="[object ArrayBuffer]"?Me.input=new Uint8Array(E):Me.input=E,Me.next_in=0,Me.avail_in=Me.input.length;do{if(Me.avail_out===0&&(Me.output=new U.Buf8(He),Me.next_out=0,Me.avail_out=He),(A=J.inflate(Me,W.Z_NO_FLUSH))===W.Z_NEED_DICT&&We&&(Le=typeof We=="string"?y.string2buf(We):Y.call(We)==="[object ArrayBuffer]"?new Uint8Array(We):We,A=J.inflateSetDictionary(this.strm,Le)),A===W.Z_BUF_ERROR&&Pe===!0&&(A=W.Z_OK,Pe=!1),A!==W.Z_STREAM_END&&A!==W.Z_OK)return this.onEnd(A),!(this.ended=!0);Me.next_out&&(Me.avail_out!==0&&A!==W.Z_STREAM_END&&(Me.avail_in!==0||M!==W.Z_FINISH&&M!==W.Z_SYNC_FLUSH)||(this.options.to==="string"?(le=y.utf8border(Me.output,Me.next_out),ee=Me.next_out-le,C=y.buf2string(Me.output,le),Me.next_out=ee,Me.avail_out=He-ee,ee&&U.arraySet(Me.output,Me.output,le,ee,0),this.onData(C)):this.onData(U.shrinkBuf(Me.output,Me.next_out)))),Me.avail_in===0&&Me.avail_out===0&&(Pe=!0)}while((0<Me.avail_in||Me.avail_out===0)&&A!==W.Z_STREAM_END);return A===W.Z_STREAM_END&&(M=W.Z_FINISH),M===W.Z_FINISH?(A=J.inflateEnd(this.strm),this.onEnd(A),this.ended=!0,A===W.Z_OK):M!==W.Z_SYNC_FLUSH||(this.onEnd(W.Z_OK),!(Me.avail_out=0))},T.prototype.onData=function(E){this.chunks.push(E)},T.prototype.onEnd=function(E){E===W.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=U.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg},G.Inflate=T,G.inflate=Z,G.inflateRaw=function(E,j){return(j=j||{}).raw=!0,Z(E,j)},G.ungzip=Z},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function($,Be,G){"use strict";var J=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";G.assign=function(W){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var H=l.shift();if(H){if(typeof H!="object")throw new TypeError(H+"must be non-object");for(var V in H)H.hasOwnProperty(V)&&(W[V]=H[V])}}return W},G.shrinkBuf=function(W,l){return W.length===l?W:W.subarray?W.subarray(0,l):(W.length=l,W)};var U={arraySet:function(W,l,H,V,Y){if(l.subarray&&W.subarray)W.set(l.subarray(H,H+V),Y);else for(var T=0;T<V;T++)W[Y+T]=l[H+T]},flattenChunks:function(W){var l,H,V,Y,T,Z;for(l=V=0,H=W.length;l<H;l++)V+=W[l].length;for(Z=new Uint8Array(V),l=Y=0,H=W.length;l<H;l++)T=W[l],Z.set(T,Y),Y+=T.length;return Z}},y={arraySet:function(W,l,H,V,Y){for(var T=0;T<V;T++)W[Y+T]=l[H+T]},flattenChunks:function(W){return[].concat.apply([],W)}};G.setTyped=function(W){W?(G.Buf8=Uint8Array,G.Buf16=Uint16Array,G.Buf32=Int32Array,G.assign(G,U)):(G.Buf8=Array,G.Buf16=Array,G.Buf32=Array,G.assign(G,y))},G.setTyped(J)},{}],42:[function($,Be,G){"use strict";var J=$("./common"),U=!0,y=!0;try{String.fromCharCode.apply(null,[0])}catch(V){U=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(V){y=!1}for(var W=new J.Buf8(256),l=0;l<256;l++)W[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function H(V,Y){if(Y<65537&&(V.subarray&&y||!V.subarray&&U))return String.fromCharCode.apply(null,J.shrinkBuf(V,Y));for(var T="",Z=0;Z<Y;Z++)T+=String.fromCharCode(V[Z]);return T}W[254]=W[254]=1,G.string2buf=function(V){var Y,T,Z,E,j,A=V.length,M=0;for(E=0;E<A;E++)(64512&(T=V.charCodeAt(E)))==55296&&E+1<A&&(64512&(Z=V.charCodeAt(E+1)))==56320&&(T=65536+(T-55296<<10)+(Z-56320),E++),M+=T<128?1:T<2048?2:T<65536?3:4;for(Y=new J.Buf8(M),E=j=0;j<M;E++)(64512&(T=V.charCodeAt(E)))==55296&&E+1<A&&(64512&(Z=V.charCodeAt(E+1)))==56320&&(T=65536+(T-55296<<10)+(Z-56320),E++),T<128?Y[j++]=T:(T<2048?Y[j++]=192|T>>>6:(T<65536?Y[j++]=224|T>>>12:(Y[j++]=240|T>>>18,Y[j++]=128|T>>>12&63),Y[j++]=128|T>>>6&63),Y[j++]=128|63&T);return Y},G.buf2binstring=function(V){return H(V,V.length)},G.binstring2buf=function(V){for(var Y=new J.Buf8(V.length),T=0,Z=Y.length;T<Z;T++)Y[T]=V.charCodeAt(T);return Y},G.buf2string=function(V,Y){var T,Z,E,j,A=Y||V.length,M=new Array(2*A);for(T=Z=0;T<A;)if((E=V[T++])<128)M[Z++]=E;else if(4<(j=W[E]))M[Z++]=65533,T+=j-1;else{for(E&=j===2?31:j===3?15:7;1<j&&T<A;)E=E<<6|63&V[T++],j--;1<j?M[Z++]=65533:E<65536?M[Z++]=E:(E-=65536,M[Z++]=55296|E>>10&1023,M[Z++]=56320|1023&E)}return H(M,Z)},G.utf8border=function(V,Y){var T;for((Y=Y||V.length)>V.length&&(Y=V.length),T=Y-1;0<=T&&(192&V[T])==128;)T--;return T<0||T===0?Y:T+W[V[T]]>Y?T:Y}},{"./common":41}],43:[function($,Be,G){"use strict";Be.exports=function(J,U,y,W){for(var l=65535&J|0,H=J>>>16&65535|0,V=0;y!==0;){for(y-=V=2e3<y?2e3:y;H=H+(l=l+U[W++]|0)|0,--V;);l%=65521,H%=65521}return l|H<<16|0}},{}],44:[function($,Be,G){"use strict";Be.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($,Be,G){"use strict";var J=function(){for(var U,y=[],W=0;W<256;W++){U=W;for(var l=0;l<8;l++)U=1&U?3988292384^U>>>1:U>>>1;y[W]=U}return y}();Be.exports=function(U,y,W,l){var H=J,V=l+W;U^=-1;for(var Y=l;Y<V;Y++)U=U>>>8^H[255&(U^y[Y])];return-1^U}},{}],46:[function($,Be,G){"use strict";var J,U=$("../utils/common"),y=$("./trees"),W=$("./adler32"),l=$("./crc32"),H=$("./messages"),V=0,Y=4,T=0,Z=-2,E=-1,j=4,A=2,M=8,le=9,ee=286,C=30,Le=19,Me=2*ee+1,He=15,We=3,Pe=258,Ne=Pe+We+1,ae=42,Ee=113,R=1,N=2,vt=3,ve=4;function de(g,Xe){return g.msg=H[Xe],Xe}function k(g){return(g<<1)-(4<g?9:0)}function te(g){for(var Xe=g.length;0<=--Xe;)g[Xe]=0}function ie(g){var Xe=g.state,Se=Xe.pending;Se>g.avail_out&&(Se=g.avail_out),Se!==0&&(U.arraySet(g.output,Xe.pending_buf,Xe.pending_out,Se,g.next_out),g.next_out+=Se,Xe.pending_out+=Se,g.total_out+=Se,g.avail_out-=Se,Xe.pending-=Se,Xe.pending===0&&(Xe.pending_out=0))}function ye(g,Xe){y._tr_flush_block(g,0<=g.block_start?g.block_start:-1,g.strstart-g.block_start,Xe),g.block_start=g.strstart,ie(g.strm)}function et(g,Xe){g.pending_buf[g.pending++]=Xe}function Te(g,Xe){g.pending_buf[g.pending++]=Xe>>>8&255,g.pending_buf[g.pending++]=255&Xe}function Qe(g,Xe){var Se,ge,fe=g.max_chain_length,q=g.strstart,we=g.prev_length,Oe=g.nice_match,Ae=g.strstart>g.w_size-Ne?g.strstart-(g.w_size-Ne):0,Ye=g.window,At=g.w_mask,Bt=g.prev,cr=g.strstart+Pe,ur=Ye[q+we-1],Et=Ye[q+we];g.prev_length>=g.good_match&&(fe>>=2),Oe>g.lookahead&&(Oe=g.lookahead);do if(Ye[(Se=Xe)+we]===Et&&Ye[Se+we-1]===ur&&Ye[Se]===Ye[q]&&Ye[++Se]===Ye[q+1]){q+=2,Se++;do;while(Ye[++q]===Ye[++Se]&&Ye[++q]===Ye[++Se]&&Ye[++q]===Ye[++Se]&&Ye[++q]===Ye[++Se]&&Ye[++q]===Ye[++Se]&&Ye[++q]===Ye[++Se]&&Ye[++q]===Ye[++Se]&&Ye[++q]===Ye[++Se]&&q<cr);if(ge=Pe-(cr-q),q=cr-Pe,we<ge){if(g.match_start=Xe,Oe<=(we=ge))break;ur=Ye[q+we-1],Et=Ye[q+we]}}while((Xe=Bt[Xe&At])>Ae&&--fe!=0);return we<=g.lookahead?we:g.lookahead}function Wt(g){var Xe,Se,ge,fe,q,we,Oe,Ae,Ye,At,Bt=g.w_size;do{if(fe=g.window_size-g.lookahead-g.strstart,g.strstart>=Bt+(Bt-Ne)){for(U.arraySet(g.window,g.window,Bt,Bt,0),g.match_start-=Bt,g.strstart-=Bt,g.block_start-=Bt,Xe=Se=g.hash_size;ge=g.head[--Xe],g.head[Xe]=Bt<=ge?ge-Bt:0,--Se;);for(Xe=Se=Bt;ge=g.prev[--Xe],g.prev[Xe]=Bt<=ge?ge-Bt:0,--Se;);fe+=Bt}if(g.strm.avail_in===0)break;if(we=g.strm,Oe=g.window,Ae=g.strstart+g.lookahead,Ye=fe,At=void 0,At=we.avail_in,Ye<At&&(At=Ye),Se=At===0?0:(we.avail_in-=At,U.arraySet(Oe,we.input,we.next_in,At,Ae),we.state.wrap===1?we.adler=W(we.adler,Oe,At,Ae):we.state.wrap===2&&(we.adler=l(we.adler,Oe,At,Ae)),we.next_in+=At,we.total_in+=At,At),g.lookahead+=Se,g.lookahead+g.insert>=We)for(q=g.strstart-g.insert,g.ins_h=g.window[q],g.ins_h=(g.ins_h<<g.hash_shift^g.window[q+1])&g.hash_mask;g.insert&&(g.ins_h=(g.ins_h<<g.hash_shift^g.window[q+We-1])&g.hash_mask,g.prev[q&g.w_mask]=g.head[g.ins_h],g.head[g.ins_h]=q,q++,g.insert--,!(g.lookahead+g.insert<We)););}while(g.lookahead<Ne&&g.strm.avail_in!==0)}function Ut(g,Xe){for(var Se,ge;;){if(g.lookahead<Ne){if(Wt(g),g.lookahead<Ne&&Xe===V)return R;if(g.lookahead===0)break}if(Se=0,g.lookahead>=We&&(g.ins_h=(g.ins_h<<g.hash_shift^g.window[g.strstart+We-1])&g.hash_mask,Se=g.prev[g.strstart&g.w_mask]=g.head[g.ins_h],g.head[g.ins_h]=g.strstart),Se!==0&&g.strstart-Se<=g.w_size-Ne&&(g.match_length=Qe(g,Se)),g.match_length>=We)if(ge=y._tr_tally(g,g.strstart-g.match_start,g.match_length-We),g.lookahead-=g.match_length,g.match_length<=g.max_lazy_match&&g.lookahead>=We){for(g.match_length--;g.strstart++,g.ins_h=(g.ins_h<<g.hash_shift^g.window[g.strstart+We-1])&g.hash_mask,Se=g.prev[g.strstart&g.w_mask]=g.head[g.ins_h],g.head[g.ins_h]=g.strstart,--g.match_length!=0;);g.strstart++}else g.strstart+=g.match_length,g.match_length=0,g.ins_h=g.window[g.strstart],g.ins_h=(g.ins_h<<g.hash_shift^g.window[g.strstart+1])&g.hash_mask;else ge=y._tr_tally(g,0,g.window[g.strstart]),g.lookahead--,g.strstart++;if(ge&&(ye(g,!1),g.strm.avail_out===0))return R}return g.insert=g.strstart<We-1?g.strstart:We-1,Xe===Y?(ye(g,!0),g.strm.avail_out===0?vt:ve):g.last_lit&&(ye(g,!1),g.strm.avail_out===0)?R:N}function ze(g,Xe){for(var Se,ge,fe;;){if(g.lookahead<Ne){if(Wt(g),g.lookahead<Ne&&Xe===V)return R;if(g.lookahead===0)break}if(Se=0,g.lookahead>=We&&(g.ins_h=(g.ins_h<<g.hash_shift^g.window[g.strstart+We-1])&g.hash_mask,Se=g.prev[g.strstart&g.w_mask]=g.head[g.ins_h],g.head[g.ins_h]=g.strstart),g.prev_length=g.match_length,g.prev_match=g.match_start,g.match_length=We-1,Se!==0&&g.prev_length<g.max_lazy_match&&g.strstart-Se<=g.w_size-Ne&&(g.match_length=Qe(g,Se),g.match_length<=5&&(g.strategy===1||g.match_length===We&&4096<g.strstart-g.match_start)&&(g.match_length=We-1)),g.prev_length>=We&&g.match_length<=g.prev_length){for(fe=g.strstart+g.lookahead-We,ge=y._tr_tally(g,g.strstart-1-g.prev_match,g.prev_length-We),g.lookahead-=g.prev_length-1,g.prev_length-=2;++g.strstart<=fe&&(g.ins_h=(g.ins_h<<g.hash_shift^g.window[g.strstart+We-1])&g.hash_mask,Se=g.prev[g.strstart&g.w_mask]=g.head[g.ins_h],g.head[g.ins_h]=g.strstart),--g.prev_length!=0;);if(g.match_available=0,g.match_length=We-1,g.strstart++,ge&&(ye(g,!1),g.strm.avail_out===0))return R}else if(g.match_available){if((ge=y._tr_tally(g,0,g.window[g.strstart-1]))&&ye(g,!1),g.strstart++,g.lookahead--,g.strm.avail_out===0)return R}else g.match_available=1,g.strstart++,g.lookahead--}return g.match_available&&(ge=y._tr_tally(g,0,g.window[g.strstart-1]),g.match_available=0),g.insert=g.strstart<We-1?g.strstart:We-1,Xe===Y?(ye(g,!0),g.strm.avail_out===0?vt:ve):g.last_lit&&(ye(g,!1),g.strm.avail_out===0)?R:N}function Ue(g,Xe,Se,ge,fe){this.good_length=g,this.max_lazy=Xe,this.nice_length=Se,this.max_chain=ge,this.func=fe}function sr(){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=M,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 U.Buf16(2*Me),this.dyn_dtree=new U.Buf16(2*(2*C+1)),this.bl_tree=new U.Buf16(2*(2*Le+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new U.Buf16(He+1),this.heap=new U.Buf16(2*ee+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new U.Buf16(2*ee+1),te(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 tr(g){var Xe;return g&&g.state?(g.total_in=g.total_out=0,g.data_type=A,(Xe=g.state).pending=0,Xe.pending_out=0,Xe.wrap<0&&(Xe.wrap=-Xe.wrap),Xe.status=Xe.wrap?ae:Ee,g.adler=Xe.wrap===2?0:1,Xe.last_flush=V,y._tr_init(Xe),T):de(g,Z)}function $e(g){var Xe=tr(g);return Xe===T&&function(Se){Se.window_size=2*Se.w_size,te(Se.head),Se.max_lazy_match=J[Se.level].max_lazy,Se.good_match=J[Se.level].good_length,Se.nice_match=J[Se.level].nice_length,Se.max_chain_length=J[Se.level].max_chain,Se.strstart=0,Se.block_start=0,Se.lookahead=0,Se.insert=0,Se.match_length=Se.prev_length=We-1,Se.match_available=0,Se.ins_h=0}(g.state),Xe}function re(g,Xe,Se,ge,fe,q){if(!g)return Z;var we=1;if(Xe===E&&(Xe=6),ge<0?(we=0,ge=-ge):15<ge&&(we=2,ge-=16),fe<1||le<fe||Se!==M||ge<8||15<ge||Xe<0||9<Xe||q<0||j<q)return de(g,Z);ge===8&&(ge=9);var Oe=new sr;return(g.state=Oe).strm=g,Oe.wrap=we,Oe.gzhead=null,Oe.w_bits=ge,Oe.w_size=1<<Oe.w_bits,Oe.w_mask=Oe.w_size-1,Oe.hash_bits=fe+7,Oe.hash_size=1<<Oe.hash_bits,Oe.hash_mask=Oe.hash_size-1,Oe.hash_shift=~~((Oe.hash_bits+We-1)/We),Oe.window=new U.Buf8(2*Oe.w_size),Oe.head=new U.Buf16(Oe.hash_size),Oe.prev=new U.Buf16(Oe.w_size),Oe.lit_bufsize=1<<fe+6,Oe.pending_buf_size=4*Oe.lit_bufsize,Oe.pending_buf=new U.Buf8(Oe.pending_buf_size),Oe.d_buf=1*Oe.lit_bufsize,Oe.l_buf=3*Oe.lit_bufsize,Oe.level=Xe,Oe.strategy=q,Oe.method=Se,$e(g)}J=[new Ue(0,0,0,0,function(g,Xe){var Se=65535;for(Se>g.pending_buf_size-5&&(Se=g.pending_buf_size-5);;){if(g.lookahead<=1){if(Wt(g),g.lookahead===0&&Xe===V)return R;if(g.lookahead===0)break}g.strstart+=g.lookahead,g.lookahead=0;var ge=g.block_start+Se;if((g.strstart===0||g.strstart>=ge)&&(g.lookahead=g.strstart-ge,g.strstart=ge,ye(g,!1),g.strm.avail_out===0)||g.strstart-g.block_start>=g.w_size-Ne&&(ye(g,!1),g.strm.avail_out===0))return R}return g.insert=0,Xe===Y?(ye(g,!0),g.strm.avail_out===0?vt:ve):(g.strstart>g.block_start&&(ye(g,!1),g.strm.avail_out),R)}),new Ue(4,4,8,4,Ut),new Ue(4,5,16,8,Ut),new Ue(4,6,32,32,Ut),new Ue(4,4,16,16,ze),new Ue(8,16,32,32,ze),new Ue(8,16,128,128,ze),new Ue(8,32,128,256,ze),new Ue(32,128,258,1024,ze),new Ue(32,258,258,4096,ze)],G.deflateInit=function(g,Xe){return re(g,Xe,M,15,8,0)},G.deflateInit2=re,G.deflateReset=$e,G.deflateResetKeep=tr,G.deflateSetHeader=function(g,Xe){return g&&g.state?g.state.wrap!==2?Z:(g.state.gzhead=Xe,T):Z},G.deflate=function(g,Xe){var Se,ge,fe,q;if(!g||!g.state||5<Xe||Xe<0)return g?de(g,Z):Z;if(ge=g.state,!g.output||!g.input&&g.avail_in!==0||ge.status===666&&Xe!==Y)return de(g,g.avail_out===0?-5:Z);if(ge.strm=g,Se=ge.last_flush,ge.last_flush=Xe,ge.status===ae)if(ge.wrap===2)g.adler=0,et(ge,31),et(ge,139),et(ge,8),ge.gzhead?(et(ge,(ge.gzhead.text?1:0)+(ge.gzhead.hcrc?2:0)+(ge.gzhead.extra?4:0)+(ge.gzhead.name?8:0)+(ge.gzhead.comment?16:0)),et(ge,255&ge.gzhead.time),et(ge,ge.gzhead.time>>8&255),et(ge,ge.gzhead.time>>16&255),et(ge,ge.gzhead.time>>24&255),et(ge,ge.level===9?2:2<=ge.strategy||ge.level<2?4:0),et(ge,255&ge.gzhead.os),ge.gzhead.extra&&ge.gzhead.extra.length&&(et(ge,255&ge.gzhead.extra.length),et(ge,ge.gzhead.extra.length>>8&255)),ge.gzhead.hcrc&&(g.adler=l(g.adler,ge.pending_buf,ge.pending,0)),ge.gzindex=0,ge.status=69):(et(ge,0),et(ge,0),et(ge,0),et(ge,0),et(ge,0),et(ge,ge.level===9?2:2<=ge.strategy||ge.level<2?4:0),et(ge,3),ge.status=Ee);else{var we=M+(ge.w_bits-8<<4)<<8;we|=(2<=ge.strategy||ge.level<2?0:ge.level<6?1:ge.level===6?2:3)<<6,ge.strstart!==0&&(we|=32),we+=31-we%31,ge.status=Ee,Te(ge,we),ge.strstart!==0&&(Te(ge,g.adler>>>16),Te(ge,65535&g.adler)),g.adler=1}if(ge.status===69)if(ge.gzhead.extra){for(fe=ge.pending;ge.gzindex<(65535&ge.gzhead.extra.length)&&(ge.pending!==ge.pending_buf_size||(ge.gzhead.hcrc&&ge.pending>fe&&(g.adler=l(g.adler,ge.pending_buf,ge.pending-fe,fe)),ie(g),fe=ge.pending,ge.pending!==ge.pending_buf_size));)et(ge,255&ge.gzhead.extra[ge.gzindex]),ge.gzindex++;ge.gzhead.hcrc&&ge.pending>fe&&(g.adler=l(g.adler,ge.pending_buf,ge.pending-fe,fe)),ge.gzindex===ge.gzhead.extra.length&&(ge.gzindex=0,ge.status=73)}else ge.status=73;if(ge.status===73)if(ge.gzhead.name){fe=ge.pending;do{if(ge.pending===ge.pending_buf_size&&(ge.gzhead.hcrc&&ge.pending>fe&&(g.adler=l(g.adler,ge.pending_buf,ge.pending-fe,fe)),ie(g),fe=ge.pending,ge.pending===ge.pending_buf_size)){q=1;break}q=ge.gzindex<ge.gzhead.name.length?255&ge.gzhead.name.charCodeAt(ge.gzindex++):0,et(ge,q)}while(q!==0);ge.gzhead.hcrc&&ge.pending>fe&&(g.adler=l(g.adler,ge.pending_buf,ge.pending-fe,fe)),q===0&&(ge.gzindex=0,ge.status=91)}else ge.status=91;if(ge.status===91)if(ge.gzhead.comment){fe=ge.pending;do{if(ge.pending===ge.pending_buf_size&&(ge.gzhead.hcrc&&ge.pending>fe&&(g.adler=l(g.adler,ge.pending_buf,ge.pending-fe,fe)),ie(g),fe=ge.pending,ge.pending===ge.pending_buf_size)){q=1;break}q=ge.gzindex<ge.gzhead.comment.length?255&ge.gzhead.comment.charCodeAt(ge.gzindex++):0,et(ge,q)}while(q!==0);ge.gzhead.hcrc&&ge.pending>fe&&(g.adler=l(g.adler,ge.pending_buf,ge.pending-fe,fe)),q===0&&(ge.status=103)}else ge.status=103;if(ge.status===103&&(ge.gzhead.hcrc?(ge.pending+2>ge.pending_buf_size&&ie(g),ge.pending+2<=ge.pending_buf_size&&(et(ge,255&g.adler),et(ge,g.adler>>8&255),g.adler=0,ge.status=Ee)):ge.status=Ee),ge.pending!==0){if(ie(g),g.avail_out===0)return ge.last_flush=-1,T}else if(g.avail_in===0&&k(Xe)<=k(Se)&&Xe!==Y)return de(g,-5);if(ge.status===666&&g.avail_in!==0)return de(g,-5);if(g.avail_in!==0||ge.lookahead!==0||Xe!==V&&ge.status!==666){var Oe=ge.strategy===2?function(Ae,Ye){for(var At;;){if(Ae.lookahead===0&&(Wt(Ae),Ae.lookahead===0)){if(Ye===V)return R;break}if(Ae.match_length=0,At=y._tr_tally(Ae,0,Ae.window[Ae.strstart]),Ae.lookahead--,Ae.strstart++,At&&(ye(Ae,!1),Ae.strm.avail_out===0))return R}return Ae.insert=0,Ye===Y?(ye(Ae,!0),Ae.strm.avail_out===0?vt:ve):Ae.last_lit&&(ye(Ae,!1),Ae.strm.avail_out===0)?R:N}(ge,Xe):ge.strategy===3?function(Ae,Ye){for(var At,Bt,cr,ur,Et=Ae.window;;){if(Ae.lookahead<=Pe){if(Wt(Ae),Ae.lookahead<=Pe&&Ye===V)return R;if(Ae.lookahead===0)break}if(Ae.match_length=0,Ae.lookahead>=We&&0<Ae.strstart&&(Bt=Et[cr=Ae.strstart-1])===Et[++cr]&&Bt===Et[++cr]&&Bt===Et[++cr]){ur=Ae.strstart+Pe;do;while(Bt===Et[++cr]&&Bt===Et[++cr]&&Bt===Et[++cr]&&Bt===Et[++cr]&&Bt===Et[++cr]&&Bt===Et[++cr]&&Bt===Et[++cr]&&Bt===Et[++cr]&&cr<ur);Ae.match_length=Pe-(ur-cr),Ae.match_length>Ae.lookahead&&(Ae.match_length=Ae.lookahead)}if(Ae.match_length>=We?(At=y._tr_tally(Ae,1,Ae.match_length-We),Ae.lookahead-=Ae.match_length,Ae.strstart+=Ae.match_length,Ae.match_length=0):(At=y._tr_tally(Ae,0,Ae.window[Ae.strstart]),Ae.lookahead--,Ae.strstart++),At&&(ye(Ae,!1),Ae.strm.avail_out===0))return R}return Ae.insert=0,Ye===Y?(ye(Ae,!0),Ae.strm.avail_out===0?vt:ve):Ae.last_lit&&(ye(Ae,!1),Ae.strm.avail_out===0)?R:N}(ge,Xe):J[ge.level].func(ge,Xe);if(Oe!==vt&&Oe!==ve||(ge.status=666),Oe===R||Oe===vt)return g.avail_out===0&&(ge.last_flush=-1),T;if(Oe===N&&(Xe===1?y._tr_align(ge):Xe!==5&&(y._tr_stored_block(ge,0,0,!1),Xe===3&&(te(ge.head),ge.lookahead===0&&(ge.strstart=0,ge.block_start=0,ge.insert=0))),ie(g),g.avail_out===0))return ge.last_flush=-1,T}return Xe!==Y?T:ge.wrap<=0?1:(ge.wrap===2?(et(ge,255&g.adler),et(ge,g.adler>>8&255),et(ge,g.adler>>16&255),et(ge,g.adler>>24&255),et(ge,255&g.total_in),et(ge,g.total_in>>8&255),et(ge,g.total_in>>16&255),et(ge,g.total_in>>24&255)):(Te(ge,g.adler>>>16),Te(ge,65535&g.adler)),ie(g),0<ge.wrap&&(ge.wrap=-ge.wrap),ge.pending!==0?T:1)},G.deflateEnd=function(g){var Xe;return g&&g.state?(Xe=g.state.status)!==ae&&Xe!==69&&Xe!==73&&Xe!==91&&Xe!==103&&Xe!==Ee&&Xe!==666?de(g,Z):(g.state=null,Xe===Ee?de(g,-3):T):Z},G.deflateSetDictionary=function(g,Xe){var Se,ge,fe,q,we,Oe,Ae,Ye,At=Xe.length;if(!g||!g.state||(q=(Se=g.state).wrap)===2||q===1&&Se.status!==ae||Se.lookahead)return Z;for(q===1&&(g.adler=W(g.adler,Xe,At,0)),Se.wrap=0,At>=Se.w_size&&(q===0&&(te(Se.head),Se.strstart=0,Se.block_start=0,Se.insert=0),Ye=new U.Buf8(Se.w_size),U.arraySet(Ye,Xe,At-Se.w_size,Se.w_size,0),Xe=Ye,At=Se.w_size),we=g.avail_in,Oe=g.next_in,Ae=g.input,g.avail_in=At,g.next_in=0,g.input=Xe,Wt(Se);Se.lookahead>=We;){for(ge=Se.strstart,fe=Se.lookahead-(We-1);Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[ge+We-1])&Se.hash_mask,Se.prev[ge&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=ge,ge++,--fe;);Se.strstart=ge,Se.lookahead=We-1,Wt(Se)}return Se.strstart+=Se.lookahead,Se.block_start=Se.strstart,Se.insert=Se.lookahead,Se.lookahead=0,Se.match_length=Se.prev_length=We-1,Se.match_available=0,g.next_in=Oe,g.input=Ae,g.avail_in=we,Se.wrap=q,T},G.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function($,Be,G){"use strict";Be.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($,Be,G){"use strict";Be.exports=function(J,U){var y,W,l,H,V,Y,T,Z,E,j,A,M,le,ee,C,Le,Me,He,We,Pe,Ne,ae,Ee,R,N;y=J.state,W=J.next_in,R=J.input,l=W+(J.avail_in-5),H=J.next_out,N=J.output,V=H-(U-J.avail_out),Y=H+(J.avail_out-257),T=y.dmax,Z=y.wsize,E=y.whave,j=y.wnext,A=y.window,M=y.hold,le=y.bits,ee=y.lencode,C=y.distcode,Le=(1<<y.lenbits)-1,Me=(1<<y.distbits)-1;e:do{le<15&&(M+=R[W++]<<le,le+=8,M+=R[W++]<<le,le+=8),He=ee[M&Le];t:for(;;){if(M>>>=We=He>>>24,le-=We,(We=He>>>16&255)===0)N[H++]=65535&He;else{if(!(16&We)){if(!(64&We)){He=ee[(65535&He)+(M&(1<<We)-1)];continue t}if(32&We){y.mode=12;break e}J.msg="invalid literal/length code",y.mode=30;break e}Pe=65535&He,(We&=15)&&(le<We&&(M+=R[W++]<<le,le+=8),Pe+=M&(1<<We)-1,M>>>=We,le-=We),le<15&&(M+=R[W++]<<le,le+=8,M+=R[W++]<<le,le+=8),He=C[M&Me];r:for(;;){if(M>>>=We=He>>>24,le-=We,!(16&(We=He>>>16&255))){if(!(64&We)){He=C[(65535&He)+(M&(1<<We)-1)];continue r}J.msg="invalid distance code",y.mode=30;break e}if(Ne=65535&He,le<(We&=15)&&(M+=R[W++]<<le,(le+=8)<We&&(M+=R[W++]<<le,le+=8)),T<(Ne+=M&(1<<We)-1)){J.msg="invalid distance too far back",y.mode=30;break e}if(M>>>=We,le-=We,(We=H-V)<Ne){if(E<(We=Ne-We)&&y.sane){J.msg="invalid distance too far back",y.mode=30;break e}if(Ee=A,(ae=0)===j){if(ae+=Z-We,We<Pe){for(Pe-=We;N[H++]=A[ae++],--We;);ae=H-Ne,Ee=N}}else if(j<We){if(ae+=Z+j-We,(We-=j)<Pe){for(Pe-=We;N[H++]=A[ae++],--We;);if(ae=0,j<Pe){for(Pe-=We=j;N[H++]=A[ae++],--We;);ae=H-Ne,Ee=N}}}else if(ae+=j-We,We<Pe){for(Pe-=We;N[H++]=A[ae++],--We;);ae=H-Ne,Ee=N}for(;2<Pe;)N[H++]=Ee[ae++],N[H++]=Ee[ae++],N[H++]=Ee[ae++],Pe-=3;Pe&&(N[H++]=Ee[ae++],1<Pe&&(N[H++]=Ee[ae++]))}else{for(ae=H-Ne;N[H++]=N[ae++],N[H++]=N[ae++],N[H++]=N[ae++],2<(Pe-=3););Pe&&(N[H++]=N[ae++],1<Pe&&(N[H++]=N[ae++]))}break}}break}}while(W<l&&H<Y);W-=Pe=le>>3,M&=(1<<(le-=Pe<<3))-1,J.next_in=W,J.next_out=H,J.avail_in=W<l?l-W+5:5-(W-l),J.avail_out=H<Y?Y-H+257:257-(H-Y),y.hold=M,y.bits=le}},{}],49:[function($,Be,G){"use strict";var J=$("../utils/common"),U=$("./adler32"),y=$("./crc32"),W=$("./inffast"),l=$("./inftrees"),H=1,V=2,Y=0,T=-2,Z=1,E=852,j=592;function A(ae){return(ae>>>24&255)+(ae>>>8&65280)+((65280&ae)<<8)+((255&ae)<<24)}function M(){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 J.Buf16(320),this.work=new J.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function le(ae){var Ee;return ae&&ae.state?(Ee=ae.state,ae.total_in=ae.total_out=Ee.total=0,ae.msg="",Ee.wrap&&(ae.adler=1&Ee.wrap),Ee.mode=Z,Ee.last=0,Ee.havedict=0,Ee.dmax=32768,Ee.head=null,Ee.hold=0,Ee.bits=0,Ee.lencode=Ee.lendyn=new J.Buf32(E),Ee.distcode=Ee.distdyn=new J.Buf32(j),Ee.sane=1,Ee.back=-1,Y):T}function ee(ae){var Ee;return ae&&ae.state?((Ee=ae.state).wsize=0,Ee.whave=0,Ee.wnext=0,le(ae)):T}function C(ae,Ee){var R,N;return ae&&ae.state?(N=ae.state,Ee<0?(R=0,Ee=-Ee):(R=1+(Ee>>4),Ee<48&&(Ee&=15)),Ee&&(Ee<8||15<Ee)?T:(N.window!==null&&N.wbits!==Ee&&(N.window=null),N.wrap=R,N.wbits=Ee,ee(ae))):T}function Le(ae,Ee){var R,N;return ae?(N=new M,(ae.state=N).window=null,(R=C(ae,Ee))!==Y&&(ae.state=null),R):T}var Me,He,We=!0;function Pe(ae){if(We){var Ee;for(Me=new J.Buf32(512),He=new J.Buf32(32),Ee=0;Ee<144;)ae.lens[Ee++]=8;for(;Ee<256;)ae.lens[Ee++]=9;for(;Ee<280;)ae.lens[Ee++]=7;for(;Ee<288;)ae.lens[Ee++]=8;for(l(H,ae.lens,0,288,Me,0,ae.work,{bits:9}),Ee=0;Ee<32;)ae.lens[Ee++]=5;l(V,ae.lens,0,32,He,0,ae.work,{bits:5}),We=!1}ae.lencode=Me,ae.lenbits=9,ae.distcode=He,ae.distbits=5}function Ne(ae,Ee,R,N){var vt,ve=ae.state;return ve.window===null&&(ve.wsize=1<<ve.wbits,ve.wnext=0,ve.whave=0,ve.window=new J.Buf8(ve.wsize)),N>=ve.wsize?(J.arraySet(ve.window,Ee,R-ve.wsize,ve.wsize,0),ve.wnext=0,ve.whave=ve.wsize):(N<(vt=ve.wsize-ve.wnext)&&(vt=N),J.arraySet(ve.window,Ee,R-N,vt,ve.wnext),(N-=vt)?(J.arraySet(ve.window,Ee,R-N,N,0),ve.wnext=N,ve.whave=ve.wsize):(ve.wnext+=vt,ve.wnext===ve.wsize&&(ve.wnext=0),ve.whave<ve.wsize&&(ve.whave+=vt))),0}G.inflateReset=ee,G.inflateReset2=C,G.inflateResetKeep=le,G.inflateInit=function(ae){return Le(ae,15)},G.inflateInit2=Le,G.inflate=function(ae,Ee){var R,N,vt,ve,de,k,te,ie,ye,et,Te,Qe,Wt,Ut,ze,Ue,sr,tr,$e,re,g,Xe,Se,ge,fe=0,q=new J.Buf8(4),we=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ae||!ae.state||!ae.output||!ae.input&&ae.avail_in!==0)return T;(R=ae.state).mode===12&&(R.mode=13),de=ae.next_out,vt=ae.output,te=ae.avail_out,ve=ae.next_in,N=ae.input,k=ae.avail_in,ie=R.hold,ye=R.bits,et=k,Te=te,Xe=Y;e:for(;;)switch(R.mode){case Z:if(R.wrap===0){R.mode=13;break}for(;ye<16;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(2&R.wrap&&ie===35615){q[R.check=0]=255&ie,q[1]=ie>>>8&255,R.check=y(R.check,q,2,0),ye=ie=0,R.mode=2;break}if(R.flags=0,R.head&&(R.head.done=!1),!(1&R.wrap)||(((255&ie)<<8)+(ie>>8))%31){ae.msg="incorrect header check",R.mode=30;break}if((15&ie)!=8){ae.msg="unknown compression method",R.mode=30;break}if(ye-=4,g=8+(15&(ie>>>=4)),R.wbits===0)R.wbits=g;else if(g>R.wbits){ae.msg="invalid window size",R.mode=30;break}R.dmax=1<<g,ae.adler=R.check=1,R.mode=512&ie?10:12,ye=ie=0;break;case 2:for(;ye<16;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(R.flags=ie,(255&R.flags)!=8){ae.msg="unknown compression method",R.mode=30;break}if(57344&R.flags){ae.msg="unknown header flags set",R.mode=30;break}R.head&&(R.head.text=ie>>8&1),512&R.flags&&(q[0]=255&ie,q[1]=ie>>>8&255,R.check=y(R.check,q,2,0)),ye=ie=0,R.mode=3;case 3:for(;ye<32;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}R.head&&(R.head.time=ie),512&R.flags&&(q[0]=255&ie,q[1]=ie>>>8&255,q[2]=ie>>>16&255,q[3]=ie>>>24&255,R.check=y(R.check,q,4,0)),ye=ie=0,R.mode=4;case 4:for(;ye<16;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}R.head&&(R.head.xflags=255&ie,R.head.os=ie>>8),512&R.flags&&(q[0]=255&ie,q[1]=ie>>>8&255,R.check=y(R.check,q,2,0)),ye=ie=0,R.mode=5;case 5:if(1024&R.flags){for(;ye<16;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}R.length=ie,R.head&&(R.head.extra_len=ie),512&R.flags&&(q[0]=255&ie,q[1]=ie>>>8&255,R.check=y(R.check,q,2,0)),ye=ie=0}else R.head&&(R.head.extra=null);R.mode=6;case 6:if(1024&R.flags&&(k<(Qe=R.length)&&(Qe=k),Qe&&(R.head&&(g=R.head.extra_len-R.length,R.head.extra||(R.head.extra=new Array(R.head.extra_len)),J.arraySet(R.head.extra,N,ve,Qe,g)),512&R.flags&&(R.check=y(R.check,N,Qe,ve)),k-=Qe,ve+=Qe,R.length-=Qe),R.length))break e;R.length=0,R.mode=7;case 7:if(2048&R.flags){if(k===0)break e;for(Qe=0;g=N[ve+Qe++],R.head&&g&&R.length<65536&&(R.head.name+=String.fromCharCode(g)),g&&Qe<k;);if(512&R.flags&&(R.check=y(R.check,N,Qe,ve)),k-=Qe,ve+=Qe,g)break e}else R.head&&(R.head.name=null);R.length=0,R.mode=8;case 8:if(4096&R.flags){if(k===0)break e;for(Qe=0;g=N[ve+Qe++],R.head&&g&&R.length<65536&&(R.head.comment+=String.fromCharCode(g)),g&&Qe<k;);if(512&R.flags&&(R.check=y(R.check,N,Qe,ve)),k-=Qe,ve+=Qe,g)break e}else R.head&&(R.head.comment=null);R.mode=9;case 9:if(512&R.flags){for(;ye<16;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(ie!==(65535&R.check)){ae.msg="header crc mismatch",R.mode=30;break}ye=ie=0}R.head&&(R.head.hcrc=R.flags>>9&1,R.head.done=!0),ae.adler=R.check=0,R.mode=12;break;case 10:for(;ye<32;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}ae.adler=R.check=A(ie),ye=ie=0,R.mode=11;case 11:if(R.havedict===0)return ae.next_out=de,ae.avail_out=te,ae.next_in=ve,ae.avail_in=k,R.hold=ie,R.bits=ye,2;ae.adler=R.check=1,R.mode=12;case 12:if(Ee===5||Ee===6)break e;case 13:if(R.last){ie>>>=7&ye,ye-=7&ye,R.mode=27;break}for(;ye<3;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}switch(R.last=1&ie,ye-=1,3&(ie>>>=1)){case 0:R.mode=14;break;case 1:if(Pe(R),R.mode=20,Ee!==6)break;ie>>>=2,ye-=2;break e;case 2:R.mode=17;break;case 3:ae.msg="invalid block type",R.mode=30}ie>>>=2,ye-=2;break;case 14:for(ie>>>=7&ye,ye-=7&ye;ye<32;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if((65535&ie)!=(ie>>>16^65535)){ae.msg="invalid stored block lengths",R.mode=30;break}if(R.length=65535&ie,ye=ie=0,R.mode=15,Ee===6)break e;case 15:R.mode=16;case 16:if(Qe=R.length){if(k<Qe&&(Qe=k),te<Qe&&(Qe=te),Qe===0)break e;J.arraySet(vt,N,ve,Qe,de),k-=Qe,ve+=Qe,te-=Qe,de+=Qe,R.length-=Qe;break}R.mode=12;break;case 17:for(;ye<14;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(R.nlen=257+(31&ie),ie>>>=5,ye-=5,R.ndist=1+(31&ie),ie>>>=5,ye-=5,R.ncode=4+(15&ie),ie>>>=4,ye-=4,286<R.nlen||30<R.ndist){ae.msg="too many length or distance symbols",R.mode=30;break}R.have=0,R.mode=18;case 18:for(;R.have<R.ncode;){for(;ye<3;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}R.lens[we[R.have++]]=7&ie,ie>>>=3,ye-=3}for(;R.have<19;)R.lens[we[R.have++]]=0;if(R.lencode=R.lendyn,R.lenbits=7,Se={bits:R.lenbits},Xe=l(0,R.lens,0,19,R.lencode,0,R.work,Se),R.lenbits=Se.bits,Xe){ae.msg="invalid code lengths set",R.mode=30;break}R.have=0,R.mode=19;case 19:for(;R.have<R.nlen+R.ndist;){for(;Ue=(fe=R.lencode[ie&(1<<R.lenbits)-1])>>>16&255,sr=65535&fe,!((ze=fe>>>24)<=ye);){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(sr<16)ie>>>=ze,ye-=ze,R.lens[R.have++]=sr;else{if(sr===16){for(ge=ze+2;ye<ge;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(ie>>>=ze,ye-=ze,R.have===0){ae.msg="invalid bit length repeat",R.mode=30;break}g=R.lens[R.have-1],Qe=3+(3&ie),ie>>>=2,ye-=2}else if(sr===17){for(ge=ze+3;ye<ge;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}ye-=ze,g=0,Qe=3+(7&(ie>>>=ze)),ie>>>=3,ye-=3}else{for(ge=ze+7;ye<ge;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}ye-=ze,g=0,Qe=11+(127&(ie>>>=ze)),ie>>>=7,ye-=7}if(R.have+Qe>R.nlen+R.ndist){ae.msg="invalid bit length repeat",R.mode=30;break}for(;Qe--;)R.lens[R.have++]=g}}if(R.mode===30)break;if(R.lens[256]===0){ae.msg="invalid code -- missing end-of-block",R.mode=30;break}if(R.lenbits=9,Se={bits:R.lenbits},Xe=l(H,R.lens,0,R.nlen,R.lencode,0,R.work,Se),R.lenbits=Se.bits,Xe){ae.msg="invalid literal/lengths set",R.mode=30;break}if(R.distbits=6,R.distcode=R.distdyn,Se={bits:R.distbits},Xe=l(V,R.lens,R.nlen,R.ndist,R.distcode,0,R.work,Se),R.distbits=Se.bits,Xe){ae.msg="invalid distances set",R.mode=30;break}if(R.mode=20,Ee===6)break e;case 20:R.mode=21;case 21:if(6<=k&&258<=te){ae.next_out=de,ae.avail_out=te,ae.next_in=ve,ae.avail_in=k,R.hold=ie,R.bits=ye,W(ae,Te),de=ae.next_out,vt=ae.output,te=ae.avail_out,ve=ae.next_in,N=ae.input,k=ae.avail_in,ie=R.hold,ye=R.bits,R.mode===12&&(R.back=-1);break}for(R.back=0;Ue=(fe=R.lencode[ie&(1<<R.lenbits)-1])>>>16&255,sr=65535&fe,!((ze=fe>>>24)<=ye);){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(Ue&&!(240&Ue)){for(tr=ze,$e=Ue,re=sr;Ue=(fe=R.lencode[re+((ie&(1<<tr+$e)-1)>>tr)])>>>16&255,sr=65535&fe,!(tr+(ze=fe>>>24)<=ye);){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}ie>>>=tr,ye-=tr,R.back+=tr}if(ie>>>=ze,ye-=ze,R.back+=ze,R.length=sr,Ue===0){R.mode=26;break}if(32&Ue){R.back=-1,R.mode=12;break}if(64&Ue){ae.msg="invalid literal/length code",R.mode=30;break}R.extra=15&Ue,R.mode=22;case 22:if(R.extra){for(ge=R.extra;ye<ge;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}R.length+=ie&(1<<R.extra)-1,ie>>>=R.extra,ye-=R.extra,R.back+=R.extra}R.was=R.length,R.mode=23;case 23:for(;Ue=(fe=R.distcode[ie&(1<<R.distbits)-1])>>>16&255,sr=65535&fe,!((ze=fe>>>24)<=ye);){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(!(240&Ue)){for(tr=ze,$e=Ue,re=sr;Ue=(fe=R.distcode[re+((ie&(1<<tr+$e)-1)>>tr)])>>>16&255,sr=65535&fe,!(tr+(ze=fe>>>24)<=ye);){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}ie>>>=tr,ye-=tr,R.back+=tr}if(ie>>>=ze,ye-=ze,R.back+=ze,64&Ue){ae.msg="invalid distance code",R.mode=30;break}R.offset=sr,R.extra=15&Ue,R.mode=24;case 24:if(R.extra){for(ge=R.extra;ye<ge;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}R.offset+=ie&(1<<R.extra)-1,ie>>>=R.extra,ye-=R.extra,R.back+=R.extra}if(R.offset>R.dmax){ae.msg="invalid distance too far back",R.mode=30;break}R.mode=25;case 25:if(te===0)break e;if(Qe=Te-te,R.offset>Qe){if((Qe=R.offset-Qe)>R.whave&&R.sane){ae.msg="invalid distance too far back",R.mode=30;break}Wt=Qe>R.wnext?(Qe-=R.wnext,R.wsize-Qe):R.wnext-Qe,Qe>R.length&&(Qe=R.length),Ut=R.window}else Ut=vt,Wt=de-R.offset,Qe=R.length;for(te<Qe&&(Qe=te),te-=Qe,R.length-=Qe;vt[de++]=Ut[Wt++],--Qe;);R.length===0&&(R.mode=21);break;case 26:if(te===0)break e;vt[de++]=R.length,te--,R.mode=21;break;case 27:if(R.wrap){for(;ye<32;){if(k===0)break e;k--,ie|=N[ve++]<<ye,ye+=8}if(Te-=te,ae.total_out+=Te,R.total+=Te,Te&&(ae.adler=R.check=R.flags?y(R.check,vt,Te,de-Te):U(R.check,vt,Te,de-Te)),Te=te,(R.flags?ie:A(ie))!==R.check){ae.msg="incorrect data check",R.mode=30;break}ye=ie=0}R.mode=28;case 28:if(R.wrap&&R.flags){for(;ye<32;){if(k===0)break e;k--,ie+=N[ve++]<<ye,ye+=8}if(ie!==(4294967295&R.total)){ae.msg="incorrect length check",R.mode=30;break}ye=ie=0}R.mode=29;case 29:Xe=1;break e;case 30:Xe=-3;break e;case 31:return-4;case 32:default:return T}return ae.next_out=de,ae.avail_out=te,ae.next_in=ve,ae.avail_in=k,R.hold=ie,R.bits=ye,(R.wsize||Te!==ae.avail_out&&R.mode<30&&(R.mode<27||Ee!==4))&&Ne(ae,ae.output,ae.next_out,Te-ae.avail_out)?(R.mode=31,-4):(et-=ae.avail_in,Te-=ae.avail_out,ae.total_in+=et,ae.total_out+=Te,R.total+=Te,R.wrap&&Te&&(ae.adler=R.check=R.flags?y(R.check,vt,Te,ae.next_out-Te):U(R.check,vt,Te,ae.next_out-Te)),ae.data_type=R.bits+(R.last?64:0)+(R.mode===12?128:0)+(R.mode===20||R.mode===15?256:0),(et==0&&Te===0||Ee===4)&&Xe===Y&&(Xe=-5),Xe)},G.inflateEnd=function(ae){if(!ae||!ae.state)return T;var Ee=ae.state;return Ee.window&&(Ee.window=null),ae.state=null,Y},G.inflateGetHeader=function(ae,Ee){var R;return ae&&ae.state&&2&(R=ae.state).wrap?((R.head=Ee).done=!1,Y):T},G.inflateSetDictionary=function(ae,Ee){var R,N=Ee.length;return ae&&ae.state?(R=ae.state).wrap!==0&&R.mode!==11?T:R.mode===11&&U(1,Ee,N,0)!==R.check?-3:Ne(ae,Ee,N,N)?(R.mode=31,-4):(R.havedict=1,Y):T},G.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function($,Be,G){"use strict";var J=$("../utils/common"),U=[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],y=[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],W=[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],l=[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];Be.exports=function(H,V,Y,T,Z,E,j,A){var M,le,ee,C,Le,Me,He,We,Pe,Ne=A.bits,ae=0,Ee=0,R=0,N=0,vt=0,ve=0,de=0,k=0,te=0,ie=0,ye=null,et=0,Te=new J.Buf16(16),Qe=new J.Buf16(16),Wt=null,Ut=0;for(ae=0;ae<=15;ae++)Te[ae]=0;for(Ee=0;Ee<T;Ee++)Te[V[Y+Ee]]++;for(vt=Ne,N=15;1<=N&&Te[N]===0;N--);if(N<vt&&(vt=N),N===0)return Z[E++]=20971520,Z[E++]=20971520,A.bits=1,0;for(R=1;R<N&&Te[R]===0;R++);for(vt<R&&(vt=R),ae=k=1;ae<=15;ae++)if(k<<=1,(k-=Te[ae])<0)return-1;if(0<k&&(H===0||N!==1))return-1;for(Qe[1]=0,ae=1;ae<15;ae++)Qe[ae+1]=Qe[ae]+Te[ae];for(Ee=0;Ee<T;Ee++)V[Y+Ee]!==0&&(j[Qe[V[Y+Ee]]++]=Ee);if(Me=H===0?(ye=Wt=j,19):H===1?(ye=U,et-=257,Wt=y,Ut-=257,256):(ye=W,Wt=l,-1),ae=R,Le=E,de=Ee=ie=0,ee=-1,C=(te=1<<(ve=vt))-1,H===1&&852<te||H===2&&592<te)return 1;for(;;){for(He=ae-de,Pe=j[Ee]<Me?(We=0,j[Ee]):j[Ee]>Me?(We=Wt[Ut+j[Ee]],ye[et+j[Ee]]):(We=96,0),M=1<<ae-de,R=le=1<<ve;Z[Le+(ie>>de)+(le-=M)]=He<<24|We<<16|Pe|0,le!==0;);for(M=1<<ae-1;ie&M;)M>>=1;if(M!==0?(ie&=M-1,ie+=M):ie=0,Ee++,--Te[ae]==0){if(ae===N)break;ae=V[Y+j[Ee]]}if(vt<ae&&(ie&C)!==ee){for(de===0&&(de=vt),Le+=R,k=1<<(ve=ae-de);ve+de<N&&!((k-=Te[ve+de])<=0);)ve++,k<<=1;if(te+=1<<ve,H===1&&852<te||H===2&&592<te)return 1;Z[ee=ie&C]=vt<<24|ve<<16|Le-E|0}}return ie!==0&&(Z[Le+ie]=ae-de<<24|64<<16|0),A.bits=vt,0}},{"../utils/common":41}],51:[function($,Be,G){"use strict";Be.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($,Be,G){"use strict";var J=$("../utils/common"),U=0,y=1;function W(fe){for(var q=fe.length;0<=--q;)fe[q]=0}var l=0,H=29,V=256,Y=V+1+H,T=30,Z=19,E=2*Y+1,j=15,A=16,M=7,le=256,ee=16,C=17,Le=18,Me=[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],He=[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],We=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Pe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ne=new Array(2*(Y+2));W(Ne);var ae=new Array(2*T);W(ae);var Ee=new Array(512);W(Ee);var R=new Array(256);W(R);var N=new Array(H);W(N);var vt,ve,de,k=new Array(T);function te(fe,q,we,Oe,Ae){this.static_tree=fe,this.extra_bits=q,this.extra_base=we,this.elems=Oe,this.max_length=Ae,this.has_stree=fe&&fe.length}function ie(fe,q){this.dyn_tree=fe,this.max_code=0,this.stat_desc=q}function ye(fe){return fe<256?Ee[fe]:Ee[256+(fe>>>7)]}function et(fe,q){fe.pending_buf[fe.pending++]=255&q,fe.pending_buf[fe.pending++]=q>>>8&255}function Te(fe,q,we){fe.bi_valid>A-we?(fe.bi_buf|=q<<fe.bi_valid&65535,et(fe,fe.bi_buf),fe.bi_buf=q>>A-fe.bi_valid,fe.bi_valid+=we-A):(fe.bi_buf|=q<<fe.bi_valid&65535,fe.bi_valid+=we)}function Qe(fe,q,we){Te(fe,we[2*q],we[2*q+1])}function Wt(fe,q){for(var we=0;we|=1&fe,fe>>>=1,we<<=1,0<--q;);return we>>>1}function Ut(fe,q,we){var Oe,Ae,Ye=new Array(j+1),At=0;for(Oe=1;Oe<=j;Oe++)Ye[Oe]=At=At+we[Oe-1]<<1;for(Ae=0;Ae<=q;Ae++){var Bt=fe[2*Ae+1];Bt!==0&&(fe[2*Ae]=Wt(Ye[Bt]++,Bt))}}function ze(fe){var q;for(q=0;q<Y;q++)fe.dyn_ltree[2*q]=0;for(q=0;q<T;q++)fe.dyn_dtree[2*q]=0;for(q=0;q<Z;q++)fe.bl_tree[2*q]=0;fe.dyn_ltree[2*le]=1,fe.opt_len=fe.static_len=0,fe.last_lit=fe.matches=0}function Ue(fe){8<fe.bi_valid?et(fe,fe.bi_buf):0<fe.bi_valid&&(fe.pending_buf[fe.pending++]=fe.bi_buf),fe.bi_buf=0,fe.bi_valid=0}function sr(fe,q,we,Oe){var Ae=2*q,Ye=2*we;return fe[Ae]<fe[Ye]||fe[Ae]===fe[Ye]&&Oe[q]<=Oe[we]}function tr(fe,q,we){for(var Oe=fe.heap[we],Ae=we<<1;Ae<=fe.heap_len&&(Ae<fe.heap_len&&sr(q,fe.heap[Ae+1],fe.heap[Ae],fe.depth)&&Ae++,!sr(q,Oe,fe.heap[Ae],fe.depth));)fe.heap[we]=fe.heap[Ae],we=Ae,Ae<<=1;fe.heap[we]=Oe}function $e(fe,q,we){var Oe,Ae,Ye,At,Bt=0;if(fe.last_lit!==0)for(;Oe=fe.pending_buf[fe.d_buf+2*Bt]<<8|fe.pending_buf[fe.d_buf+2*Bt+1],Ae=fe.pending_buf[fe.l_buf+Bt],Bt++,Oe===0?Qe(fe,Ae,q):(Qe(fe,(Ye=R[Ae])+V+1,q),(At=Me[Ye])!==0&&Te(fe,Ae-=N[Ye],At),Qe(fe,Ye=ye(--Oe),we),(At=He[Ye])!==0&&Te(fe,Oe-=k[Ye],At)),Bt<fe.last_lit;);Qe(fe,le,q)}function re(fe,q){var we,Oe,Ae,Ye=q.dyn_tree,At=q.stat_desc.static_tree,Bt=q.stat_desc.has_stree,cr=q.stat_desc.elems,ur=-1;for(fe.heap_len=0,fe.heap_max=E,we=0;we<cr;we++)Ye[2*we]!==0?(fe.heap[++fe.heap_len]=ur=we,fe.depth[we]=0):Ye[2*we+1]=0;for(;fe.heap_len<2;)Ye[2*(Ae=fe.heap[++fe.heap_len]=ur<2?++ur:0)]=1,fe.depth[Ae]=0,fe.opt_len--,Bt&&(fe.static_len-=At[2*Ae+1]);for(q.max_code=ur,we=fe.heap_len>>1;1<=we;we--)tr(fe,Ye,we);for(Ae=cr;we=fe.heap[1],fe.heap[1]=fe.heap[fe.heap_len--],tr(fe,Ye,1),Oe=fe.heap[1],fe.heap[--fe.heap_max]=we,fe.heap[--fe.heap_max]=Oe,Ye[2*Ae]=Ye[2*we]+Ye[2*Oe],fe.depth[Ae]=(fe.depth[we]>=fe.depth[Oe]?fe.depth[we]:fe.depth[Oe])+1,Ye[2*we+1]=Ye[2*Oe+1]=Ae,fe.heap[1]=Ae++,tr(fe,Ye,1),2<=fe.heap_len;);fe.heap[--fe.heap_max]=fe.heap[1],function(Et,ut){var Mt,Kt,Qt,St,pr,Ur,Lt=ut.dyn_tree,lr=ut.max_code,_t=ut.stat_desc.static_tree,w=ut.stat_desc.has_stree,P=ut.stat_desc.extra_bits,Pt=ut.stat_desc.extra_base,ne=ut.stat_desc.max_length,ke=0;for(St=0;St<=j;St++)Et.bl_count[St]=0;for(Lt[2*Et.heap[Et.heap_max]+1]=0,Mt=Et.heap_max+1;Mt<E;Mt++)ne<(St=Lt[2*Lt[2*(Kt=Et.heap[Mt])+1]+1]+1)&&(St=ne,ke++),Lt[2*Kt+1]=St,lr<Kt||(Et.bl_count[St]++,pr=0,Pt<=Kt&&(pr=P[Kt-Pt]),Ur=Lt[2*Kt],Et.opt_len+=Ur*(St+pr),w&&(Et.static_len+=Ur*(_t[2*Kt+1]+pr)));if(ke!==0){do{for(St=ne-1;Et.bl_count[St]===0;)St--;Et.bl_count[St]--,Et.bl_count[St+1]+=2,Et.bl_count[ne]--,ke-=2}while(0<ke);for(St=ne;St!==0;St--)for(Kt=Et.bl_count[St];Kt!==0;)lr<(Qt=Et.heap[--Mt])||(Lt[2*Qt+1]!==St&&(Et.opt_len+=(St-Lt[2*Qt+1])*Lt[2*Qt],Lt[2*Qt+1]=St),Kt--)}}(fe,q),Ut(Ye,ur,fe.bl_count)}function g(fe,q,we){var Oe,Ae,Ye=-1,At=q[1],Bt=0,cr=7,ur=4;for(At===0&&(cr=138,ur=3),q[2*(we+1)+1]=65535,Oe=0;Oe<=we;Oe++)Ae=At,At=q[2*(Oe+1)+1],++Bt<cr&&Ae===At||(Bt<ur?fe.bl_tree[2*Ae]+=Bt:Ae!==0?(Ae!==Ye&&fe.bl_tree[2*Ae]++,fe.bl_tree[2*ee]++):Bt<=10?fe.bl_tree[2*C]++:fe.bl_tree[2*Le]++,Ye=Ae,ur=(Bt=0)===At?(cr=138,3):Ae===At?(cr=6,3):(cr=7,4))}function Xe(fe,q,we){var Oe,Ae,Ye=-1,At=q[1],Bt=0,cr=7,ur=4;for(At===0&&(cr=138,ur=3),Oe=0;Oe<=we;Oe++)if(Ae=At,At=q[2*(Oe+1)+1],!(++Bt<cr&&Ae===At)){if(Bt<ur)for(;Qe(fe,Ae,fe.bl_tree),--Bt!=0;);else Ae!==0?(Ae!==Ye&&(Qe(fe,Ae,fe.bl_tree),Bt--),Qe(fe,ee,fe.bl_tree),Te(fe,Bt-3,2)):Bt<=10?(Qe(fe,C,fe.bl_tree),Te(fe,Bt-3,3)):(Qe(fe,Le,fe.bl_tree),Te(fe,Bt-11,7));Ye=Ae,ur=(Bt=0)===At?(cr=138,3):Ae===At?(cr=6,3):(cr=7,4)}}W(k);var Se=!1;function ge(fe,q,we,Oe){Te(fe,(l<<1)+(Oe?1:0),3),function(Ae,Ye,At,Bt){Ue(Ae),Bt&&(et(Ae,At),et(Ae,~At)),J.arraySet(Ae.pending_buf,Ae.window,Ye,At,Ae.pending),Ae.pending+=At}(fe,q,we,!0)}G._tr_init=function(fe){Se||(function(){var q,we,Oe,Ae,Ye,At=new Array(j+1);for(Ae=Oe=0;Ae<H-1;Ae++)for(N[Ae]=Oe,q=0;q<1<<Me[Ae];q++)R[Oe++]=Ae;for(R[Oe-1]=Ae,Ae=Ye=0;Ae<16;Ae++)for(k[Ae]=Ye,q=0;q<1<<He[Ae];q++)Ee[Ye++]=Ae;for(Ye>>=7;Ae<T;Ae++)for(k[Ae]=Ye<<7,q=0;q<1<<He[Ae]-7;q++)Ee[256+Ye++]=Ae;for(we=0;we<=j;we++)At[we]=0;for(q=0;q<=143;)Ne[2*q+1]=8,q++,At[8]++;for(;q<=255;)Ne[2*q+1]=9,q++,At[9]++;for(;q<=279;)Ne[2*q+1]=7,q++,At[7]++;for(;q<=287;)Ne[2*q+1]=8,q++,At[8]++;for(Ut(Ne,Y+1,At),q=0;q<T;q++)ae[2*q+1]=5,ae[2*q]=Wt(q,5);vt=new te(Ne,Me,V+1,Y,j),ve=new te(ae,He,0,T,j),de=new te(new Array(0),We,0,Z,M)}(),Se=!0),fe.l_desc=new ie(fe.dyn_ltree,vt),fe.d_desc=new ie(fe.dyn_dtree,ve),fe.bl_desc=new ie(fe.bl_tree,de),fe.bi_buf=0,fe.bi_valid=0,ze(fe)},G._tr_stored_block=ge,G._tr_flush_block=function(fe,q,we,Oe){var Ae,Ye,At=0;0<fe.level?(fe.strm.data_type===2&&(fe.strm.data_type=function(Bt){var cr,ur=4093624447;for(cr=0;cr<=31;cr++,ur>>>=1)if(1&ur&&Bt.dyn_ltree[2*cr]!==0)return U;if(Bt.dyn_ltree[18]!==0||Bt.dyn_ltree[20]!==0||Bt.dyn_ltree[26]!==0)return y;for(cr=32;cr<V;cr++)if(Bt.dyn_ltree[2*cr]!==0)return y;return U}(fe)),re(fe,fe.l_desc),re(fe,fe.d_desc),At=function(Bt){var cr;for(g(Bt,Bt.dyn_ltree,Bt.l_desc.max_code),g(Bt,Bt.dyn_dtree,Bt.d_desc.max_code),re(Bt,Bt.bl_desc),cr=Z-1;3<=cr&&Bt.bl_tree[2*Pe[cr]+1]===0;cr--);return Bt.opt_len+=3*(cr+1)+5+5+4,cr}(fe),Ae=fe.opt_len+3+7>>>3,(Ye=fe.static_len+3+7>>>3)<=Ae&&(Ae=Ye)):Ae=Ye=we+5,we+4<=Ae&&q!==-1?ge(fe,q,we,Oe):fe.strategy===4||Ye===Ae?(Te(fe,2+(Oe?1:0),3),$e(fe,Ne,ae)):(Te(fe,4+(Oe?1:0),3),function(Bt,cr,ur,Et){var ut;for(Te(Bt,cr-257,5),Te(Bt,ur-1,5),Te(Bt,Et-4,4),ut=0;ut<Et;ut++)Te(Bt,Bt.bl_tree[2*Pe[ut]+1],3);Xe(Bt,Bt.dyn_ltree,cr-1),Xe(Bt,Bt.dyn_dtree,ur-1)}(fe,fe.l_desc.max_code+1,fe.d_desc.max_code+1,At+1),$e(fe,fe.dyn_ltree,fe.dyn_dtree)),ze(fe),Oe&&Ue(fe)},G._tr_tally=function(fe,q,we){return fe.pending_buf[fe.d_buf+2*fe.last_lit]=q>>>8&255,fe.pending_buf[fe.d_buf+2*fe.last_lit+1]=255&q,fe.pending_buf[fe.l_buf+fe.last_lit]=255&we,fe.last_lit++,q===0?fe.dyn_ltree[2*we]++:(fe.matches++,q--,fe.dyn_ltree[2*(R[we]+V+1)]++,fe.dyn_dtree[2*ye(q)]++),fe.last_lit===fe.lit_bufsize-1},G._tr_align=function(fe){Te(fe,2,3),Qe(fe,le,Ne),function(q){q.bi_valid===16?(et(q,q.bi_buf),q.bi_buf=0,q.bi_valid=0):8<=q.bi_valid&&(q.pending_buf[q.pending++]=255&q.bi_buf,q.bi_buf>>=8,q.bi_valid-=8)}(fe)}},{"../utils/common":41}],53:[function($,Be,G){"use strict";Be.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($,Be,G){(function(J){(function(U,y){"use strict";if(!U.setImmediate){var W,l,H,V,Y=1,T={},Z=!1,E=U.document,j=Object.getPrototypeOf&&Object.getPrototypeOf(U);j=j&&j.setTimeout?j:U,W={}.toString.call(U.process)==="[object process]"?function(ee){Fe.nextTick(function(){M(ee)})}:function(){if(U.postMessage&&!U.importScripts){var ee=!0,C=U.onmessage;return U.onmessage=function(){ee=!1},U.postMessage("","*"),U.onmessage=C,ee}}()?(V="setImmediate$"+Math.random()+"$",U.addEventListener?U.addEventListener("message",le,!1):U.attachEvent("onmessage",le),function(ee){U.postMessage(V+ee,"*")}):U.MessageChannel?((H=new MessageChannel).port1.onmessage=function(ee){M(ee.data)},function(ee){H.port2.postMessage(ee)}):E&&"onreadystatechange"in E.createElement("script")?(l=E.documentElement,function(ee){var C=E.createElement("script");C.onreadystatechange=function(){M(ee),C.onreadystatechange=null,l.removeChild(C),C=null},l.appendChild(C)}):function(ee){setTimeout(M,0,ee)},j.setImmediate=function(ee){typeof ee!="function"&&(ee=new Function(""+ee));for(var C=new Array(arguments.length-1),Le=0;Le<C.length;Le++)C[Le]=arguments[Le+1];var Me={callback:ee,args:C};return T[Y]=Me,W(Y),Y++},j.clearImmediate=A}function A(ee){delete T[ee]}function M(ee){if(Z)setTimeout(M,0,ee);else{var C=T[ee];if(C){Z=!0;try{(function(Le){var Me=Le.callback,He=Le.args;switch(He.length){case 0:Me();break;case 1:Me(He[0]);break;case 2:Me(He[0],He[1]);break;case 3:Me(He[0],He[1],He[2]);break;default:Me.apply(y,He)}})(C)}finally{A(ee),Z=!1}}}}function le(ee){ee.source===U&&typeof ee.data=="string"&&ee.data.indexOf(V)===0&&M(+ee.data.slice(V.length))}})(typeof self=="undefined"?J===void 0?this:J:self)}).call(this,typeof a.g!="undefined"?a.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},20527:function(on){(function(a,t){on.exports=t()})(typeof self!="undefined"?self:this,function(){return function(Yt){var a={};function t(Fe){if(a[Fe])return a[Fe].exports;var $=a[Fe]={i:Fe,l:!1,exports:{}};return Yt[Fe].call($.exports,$,$.exports,t),$.l=!0,$.exports}return t.m=Yt,t.c=a,t.d=function(Fe,$,Be){t.o(Fe,$)||Object.defineProperty(Fe,$,{enumerable:!0,get:Be})},t.r=function(Fe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Fe,"__esModule",{value:!0})},t.t=function(Fe,$){if($&1&&(Fe=t(Fe)),$&8||$&4&&typeof Fe=="object"&&Fe&&Fe.__esModule)return Fe;var Be=Object.create(null);if(t.r(Be),Object.defineProperty(Be,"default",{enumerable:!0,value:Fe}),$&2&&typeof Fe!="string")for(var G in Fe)t.d(Be,G,function(J){return Fe[J]}.bind(null,G));return Be},t.n=function(Fe){var $=Fe&&Fe.__esModule?function(){return Fe.default}:function(){return Fe};return t.d($,"a",$),$},t.o=function(Fe,$){return Object.prototype.hasOwnProperty.call(Fe,$)},t.p="",t(t.s=1)}([function(Yt,a,t){},function(Yt,a,t){"use strict";t.r(a);var Fe=t(0),$=function(){function F(r,o,s){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=r,this.start=o,this.end=s}return F.range=function(o,s){return s?!o||!o.loc||!s.loc||o.loc.lexer!==s.loc.lexer?null:new F(o.loc.lexer,o.loc.start,s.loc.end):o&&o.loc},F}(),Be=function(){function F(o,s){this.text=void 0,this.loc=void 0,this.text=o,this.loc=s}var r=F.prototype;return r.range=function(s,h){return new F(h,$.range(this,s))},F}(),G=function F(r,o){this.position=void 0;var s="KaTeX parse error: "+r,h,z=o&&o.loc;if(z&&z.start<=z.end){var ue=z.lexer.input;h=z.start;var De=z.end;h===ue.length?s+=" at end of input: ":s+=" at position "+(h+1)+": ";var tt=ue.slice(h,De).replace(/[^]/g,"$&\u0332"),Ot;h>15?Ot="\u2026"+ue.slice(h-15,h):Ot=ue.slice(0,h);var or;De+15<ue.length?or=ue.slice(De,De+15)+"\u2026":or=ue.slice(De),s+=Ot+tt+or}var xr=new Error(s);return xr.name="ParseError",xr.__proto__=F.prototype,xr.position=h,xr};G.prototype.__proto__=Error.prototype;var J=G,U=function(r,o){return r.indexOf(o)!==-1},y=function(r,o){return r===void 0?o:r},W=/([A-Z])/g,l=function(r){return r.replace(W,"-$1").toLowerCase()},H={"&":"&",">":">","<":"<",'"':""","'":"'"},V=/[&><"']/g;function Y(F){return String(F).replace(V,function(r){return H[r]})}var T=function F(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?F(r.body[0]):r:r.type==="font"?F(r.body):r},Z=function(r){var o=T(r);return o.type==="mathord"||o.type==="textord"||o.type==="atom"},E=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},j=function(r){var o=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return o!=null?o[1]:"_relative"},A={contains:U,deflt:y,escape:Y,hyphenate:l,getBaseElem:T,isCharacterBox:Z,protocolFromUrl:j},M=function(){function F(o){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,o=o||{},this.displayMode=A.deflt(o.displayMode,!1),this.output=A.deflt(o.output,"htmlAndMathml"),this.leqno=A.deflt(o.leqno,!1),this.fleqn=A.deflt(o.fleqn,!1),this.throwOnError=A.deflt(o.throwOnError,!0),this.errorColor=A.deflt(o.errorColor,"#cc0000"),this.macros=o.macros||{},this.minRuleThickness=Math.max(0,A.deflt(o.minRuleThickness,0)),this.colorIsTextColor=A.deflt(o.colorIsTextColor,!1),this.strict=A.deflt(o.strict,"warn"),this.trust=A.deflt(o.trust,!1),this.maxSize=Math.max(0,A.deflt(o.maxSize,1/0)),this.maxExpand=Math.max(0,A.deflt(o.maxExpand,1e3))}var r=F.prototype;return r.reportNonstrict=function(s,h,z){var ue=this.strict;if(typeof ue=="function"&&(ue=ue(s,h,z)),!(!ue||ue==="ignore")){if(ue===!0||ue==="error")throw new J("LaTeX-incompatible input and strict mode is set to 'error': "+(h+" ["+s+"]"),z);ue==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(h+" ["+s+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ue+"': "+h+" ["+s+"]"))}},r.useStrictBehavior=function(s,h,z){var ue=this.strict;if(typeof ue=="function")try{ue=ue(s,h,z)}catch(De){ue="error"}return!ue||ue==="ignore"?!1:ue===!0||ue==="error"?!0:ue==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(h+" ["+s+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ue+"': "+h+" ["+s+"]")),!1)},r.isTrusted=function(s){s.url&&!s.protocol&&(s.protocol=A.protocolFromUrl(s.url));var h=typeof this.trust=="function"?this.trust(s):this.trust;return!!h},F}(),le=function(){function F(o,s,h){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=o,this.size=s,this.cramped=h}var r=F.prototype;return r.sup=function(){return ae[Ee[this.id]]},r.sub=function(){return ae[R[this.id]]},r.fracNum=function(){return ae[N[this.id]]},r.fracDen=function(){return ae[vt[this.id]]},r.cramp=function(){return ae[ve[this.id]]},r.text=function(){return ae[de[this.id]]},r.isTight=function(){return this.size>=2},F}(),ee=0,C=1,Le=2,Me=3,He=4,We=5,Pe=6,Ne=7,ae=[new le(ee,0,!1),new le(C,0,!0),new le(Le,1,!1),new le(Me,1,!0),new le(He,2,!1),new le(We,2,!0),new le(Pe,3,!1),new le(Ne,3,!0)],Ee=[He,We,He,We,Pe,Ne,Pe,Ne],R=[We,We,We,We,Ne,Ne,Ne,Ne],N=[Le,Me,He,We,Pe,Ne,Pe,Ne],vt=[Me,Me,We,We,Ne,Ne,Ne,Ne],ve=[C,C,Me,Me,We,We,Ne,Ne],de=[ee,C,Le,Me,Le,Me,Le,Me],k={DISPLAY:ae[ee],TEXT:ae[Le],SCRIPT:ae[He],SCRIPTSCRIPT:ae[Pe]},te=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ie(F){for(var r=0;r<te.length;r++)for(var o=te[r],s=0;s<o.blocks.length;s++){var h=o.blocks[s];if(F>=h[0]&&F<=h[1])return o.name}return null}var ye=[];te.forEach(function(F){return F.blocks.forEach(function(r){return ye.push.apply(ye,r)})});function et(F){for(var r=0;r<ye.length;r+=2)if(F>=ye[r]&&F<=ye[r+1])return!0;return!1}var Te=80,Qe=function(r,o){return"M95,"+(622+r+o)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+r/2.075+" -"+r+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+r)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+r)+" "+o+"h400000v"+(40+r)+"h-400000z"},Wt=function(r,o){return"M263,"+(601+r+o)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+r/2.084+" -"+r+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+r)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+r)+" "+o+"h400000v"+(40+r)+"h-400000z"},Ut=function(r,o){return"M983 "+(10+r+o)+`
|
|
|
l`+r/3.13+" -"+r+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+r)+" "+o+"h400000v"+(40+r)+"h-400000z"},ze=function(r,o){return"M424,"+(2398+r+o)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+r)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+o+`
|
|
|
h400000v`+(40+r)+"h-400000z"},Ue=function(r,o){return"M473,"+(2713+r+o)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+r)+" "+o+"h400000v"+(40+r)+"H1017.7z"},sr=function(r,o,s){var h=s-54-o-r;return"M702 "+(r+o)+"H400000"+(40+r)+`
|
|
|
H742v`+h+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+o+"H400000v"+(40+r)+"H742z"},tr=function(r,o,s){o=1e3*o;var h="";switch(r){case"sqrtMain":h=Qe(o,Te);break;case"sqrtSize1":h=Wt(o,Te);break;case"sqrtSize2":h=Ut(o,Te);break;case"sqrtSize3":h=ze(o,Te);break;case"sqrtSize4":h=Ue(o,Te);break;case"sqrtTall":h=sr(o,Te,s)}return h},$e={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},re=function(){function F(o){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=o,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=F.prototype;return r.hasClass=function(s){return A.contains(this.classes,s)},r.toNode=function(){for(var s=document.createDocumentFragment(),h=0;h<this.children.length;h++)s.appendChild(this.children[h].toNode());return s},r.toMarkup=function(){for(var s="",h=0;h<this.children.length;h++)s+=this.children[h].toMarkup();return s},r.toText=function(){var s=function(z){return z.toText()};return this.children.map(s).join("")},F}(),g=function(r){return r.filter(function(o){return o}).join(" ")},Xe=function(r,o,s){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=s||{},o){o.style.isTight()&&this.classes.push("mtight");var h=o.getColor();h&&(this.style.color=h)}},Se=function(r){var o=document.createElement(r);o.className=g(this.classes);for(var s in this.style)this.style.hasOwnProperty(s)&&(o.style[s]=this.style[s]);for(var h in this.attributes)this.attributes.hasOwnProperty(h)&&o.setAttribute(h,this.attributes[h]);for(var z=0;z<this.children.length;z++)o.appendChild(this.children[z].toNode());return o},ge=function(r){var o="<"+r;this.classes.length&&(o+=' class="'+A.escape(g(this.classes))+'"');var s="";for(var h in this.style)this.style.hasOwnProperty(h)&&(s+=A.hyphenate(h)+":"+this.style[h]+";");s&&(o+=' style="'+A.escape(s)+'"');for(var z in this.attributes)this.attributes.hasOwnProperty(z)&&(o+=" "+z+'="'+A.escape(this.attributes[z])+'"');o+=">";for(var ue=0;ue<this.children.length;ue++)o+=this.children[ue].toMarkup();return o+="</"+r+">",o},fe=function(){function F(o,s,h,z){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Xe.call(this,o,h,z),this.children=s||[]}var r=F.prototype;return r.setAttribute=function(s,h){this.attributes[s]=h},r.hasClass=function(s){return A.contains(this.classes,s)},r.toNode=function(){return Se.call(this,"span")},r.toMarkup=function(){return ge.call(this,"span")},F}(),q=function(){function F(o,s,h,z){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Xe.call(this,s,z),this.children=h||[],this.setAttribute("href",o)}var r=F.prototype;return r.setAttribute=function(s,h){this.attributes[s]=h},r.hasClass=function(s){return A.contains(this.classes,s)},r.toNode=function(){return Se.call(this,"a")},r.toMarkup=function(){return ge.call(this,"a")},F}(),we=function(){function F(o,s,h){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=s,this.src=o,this.classes=["mord"],this.style=h}var r=F.prototype;return r.hasClass=function(s){return A.contains(this.classes,s)},r.toNode=function(){var s=document.createElement("img");s.src=this.src,s.alt=this.alt,s.className="mord";for(var h in this.style)this.style.hasOwnProperty(h)&&(s.style[h]=this.style[h]);return s},r.toMarkup=function(){var s="<img src='"+this.src+" 'alt='"+this.alt+"' ",h="";for(var z in this.style)this.style.hasOwnProperty(z)&&(h+=A.hyphenate(z)+":"+this.style[z]+";");return h&&(s+=' style="'+A.escape(h)+'"'),s+="'/>",s},F}(),Oe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ae=function(){function F(o,s,h,z,ue,De,tt,Ot){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=o,this.height=s||0,this.depth=h||0,this.italic=z||0,this.skew=ue||0,this.width=De||0,this.classes=tt||[],this.style=Ot||{},this.maxFontSize=0;var or=ie(this.text.charCodeAt(0));or&&this.classes.push(or+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Oe[this.text])}var r=F.prototype;return r.hasClass=function(s){return A.contains(this.classes,s)},r.toNode=function(){var s=document.createTextNode(this.text),h=null;this.italic>0&&(h=document.createElement("span"),h.style.marginRight=this.italic+"em"),this.classes.length>0&&(h=h||document.createElement("span"),h.className=g(this.classes));for(var z in this.style)this.style.hasOwnProperty(z)&&(h=h||document.createElement("span"),h.style[z]=this.style[z]);return h?(h.appendChild(s),h):s},r.toMarkup=function(){var s=!1,h="<span";this.classes.length&&(s=!0,h+=' class="',h+=A.escape(g(this.classes)),h+='"');var z="";this.italic>0&&(z+="margin-right:"+this.italic+"em;");for(var ue in this.style)this.style.hasOwnProperty(ue)&&(z+=A.hyphenate(ue)+":"+this.style[ue]+";");z&&(s=!0,h+=' style="'+A.escape(z)+'"');var De=A.escape(this.text);return s?(h+=">",h+=De,h+="</span>",h):De},F}(),Ye=function(){function F(o,s){this.children=void 0,this.attributes=void 0,this.children=o||[],this.attributes=s||{}}var r=F.prototype;return r.toNode=function(){var s="http://www.w3.org/2000/svg",h=document.createElementNS(s,"svg");for(var z in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,z)&&h.setAttribute(z,this.attributes[z]);for(var ue=0;ue<this.children.length;ue++)h.appendChild(this.children[ue].toNode());return h},r.toMarkup=function(){var s="<svg";for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&(s+=" "+h+"='"+this.attributes[h]+"'");s+=">";for(var z=0;z<this.children.length;z++)s+=this.children[z].toMarkup();return s+="</svg>",s},F}(),At=function(){function F(o,s){this.pathName=void 0,this.alternate=void 0,this.pathName=o,this.alternate=s}var r=F.prototype;return r.toNode=function(){var s="http://www.w3.org/2000/svg",h=document.createElementNS(s,"path");return this.alternate?h.setAttribute("d",this.alternate):h.setAttribute("d",$e[this.pathName]),h},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+$e[this.pathName]+"'/>"},F}(),Bt=function(){function F(o){this.attributes=void 0,this.attributes=o||{}}var r=F.prototype;return r.toNode=function(){var s="http://www.w3.org/2000/svg",h=document.createElementNS(s,"line");for(var z in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,z)&&h.setAttribute(z,this.attributes[z]);return h},r.toMarkup=function(){var s="<line";for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&(s+=" "+h+"='"+this.attributes[h]+"'");return s+="/>",s},F}();function cr(F){if(F instanceof Ae)return F;throw new Error("Expected symbolNode but got "+String(F)+".")}function ur(F){if(F instanceof fe)return F;throw new Error("Expected span<HtmlDomNode> but got "+String(F)+".")}var Et={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ut={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Mt={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Kt(F,r){Et[F]=r}function Qt(F,r,o){if(!Et[r])throw new Error("Font metrics not found for font: "+r+".");var s=F.charCodeAt(0),h=Et[r][s];if(!h&&F[0]in Mt&&(s=Mt[F[0]].charCodeAt(0),h=Et[r][s]),!h&&o==="text"&&et(s)&&(h=Et[r][77]),h)return{depth:h[0],height:h[1],italic:h[2],skew:h[3],width:h[4]}}var St={};function pr(F){var r;if(F>=5?r=0:F>=3?r=1:r=2,!St[r]){var o=St[r]={cssEmPerMu:ut.quad[r]/18};for(var s in ut)ut.hasOwnProperty(s)&&(o[s]=ut[s][r])}return St[r]}var Ur={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Lt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},lr={math:{},text:{}},_t=lr;function w(F,r,o,s,h,z){lr[F][h]={font:r,group:o,replace:s},z&&s&&(lr[F][s]=lr[F][h])}var P="math",Pt="text",ne="main",ke="ams",Mr="accent-token",Pr="bin",En="close",Nn="inner",mn="mathord",yn="op-token",Cn="open",L="punct",x="rel",Dr="spacing",K="textord";w(P,ne,x,"\u2261","\\equiv",!0),w(P,ne,x,"\u227A","\\prec",!0),w(P,ne,x,"\u227B","\\succ",!0),w(P,ne,x,"\u223C","\\sim",!0),w(P,ne,x,"\u22A5","\\perp"),w(P,ne,x,"\u2AAF","\\preceq",!0),w(P,ne,x,"\u2AB0","\\succeq",!0),w(P,ne,x,"\u2243","\\simeq",!0),w(P,ne,x,"\u2223","\\mid",!0),w(P,ne,x,"\u226A","\\ll",!0),w(P,ne,x,"\u226B","\\gg",!0),w(P,ne,x,"\u224D","\\asymp",!0),w(P,ne,x,"\u2225","\\parallel"),w(P,ne,x,"\u22C8","\\bowtie",!0),w(P,ne,x,"\u2323","\\smile",!0),w(P,ne,x,"\u2291","\\sqsubseteq",!0),w(P,ne,x,"\u2292","\\sqsupseteq",!0),w(P,ne,x,"\u2250","\\doteq",!0),w(P,ne,x,"\u2322","\\frown",!0),w(P,ne,x,"\u220B","\\ni",!0),w(P,ne,x,"\u221D","\\propto",!0),w(P,ne,x,"\u22A2","\\vdash",!0),w(P,ne,x,"\u22A3","\\dashv",!0),w(P,ne,x,"\u220B","\\owns"),w(P,ne,L,".","\\ldotp"),w(P,ne,L,"\u22C5","\\cdotp"),w(P,ne,K,"#","\\#"),w(Pt,ne,K,"#","\\#"),w(P,ne,K,"&","\\&"),w(Pt,ne,K,"&","\\&"),w(P,ne,K,"\u2135","\\aleph",!0),w(P,ne,K,"\u2200","\\forall",!0),w(P,ne,K,"\u210F","\\hbar",!0),w(P,ne,K,"\u2203","\\exists",!0),w(P,ne,K,"\u2207","\\nabla",!0),w(P,ne,K,"\u266D","\\flat",!0),w(P,ne,K,"\u2113","\\ell",!0),w(P,ne,K,"\u266E","\\natural",!0),w(P,ne,K,"\u2663","\\clubsuit",!0),w(P,ne,K,"\u2118","\\wp",!0),w(P,ne,K,"\u266F","\\sharp",!0),w(P,ne,K,"\u2662","\\diamondsuit",!0),w(P,ne,K,"\u211C","\\Re",!0),w(P,ne,K,"\u2661","\\heartsuit",!0),w(P,ne,K,"\u2111","\\Im",!0),w(P,ne,K,"\u2660","\\spadesuit",!0),w(Pt,ne,K,"\xA7","\\S",!0),w(Pt,ne,K,"\xB6","\\P",!0),w(P,ne,K,"\u2020","\\dag"),w(Pt,ne,K,"\u2020","\\dag"),w(Pt,ne,K,"\u2020","\\textdagger"),w(P,ne,K,"\u2021","\\ddag"),w(Pt,ne,K,"\u2021","\\ddag"),w(Pt,ne,K,"\u2021","\\textdaggerdbl"),w(P,ne,En,"\u23B1","\\rmoustache",!0),w(P,ne,Cn,"\u23B0","\\lmoustache",!0),w(P,ne,En,"\u27EF","\\rgroup",!0),w(P,ne,Cn,"\u27EE","\\lgroup",!0),w(P,ne,Pr,"\u2213","\\mp",!0),w(P,ne,Pr,"\u2296","\\ominus",!0),w(P,ne,Pr,"\u228E","\\uplus",!0),w(P,ne,Pr,"\u2293","\\sqcap",!0),w(P,ne,Pr,"\u2217","\\ast"),w(P,ne,Pr,"\u2294","\\sqcup",!0),w(P,ne,Pr,"\u25EF","\\bigcirc"),w(P,ne,Pr,"\u2219","\\bullet"),w(P,ne,Pr,"\u2021","\\ddagger"),w(P,ne,Pr,"\u2240","\\wr",!0),w(P,ne,Pr,"\u2A3F","\\amalg"),w(P,ne,Pr,"&","\\And"),w(P,ne,x,"\u27F5","\\longleftarrow",!0),w(P,ne,x,"\u21D0","\\Leftarrow",!0),w(P,ne,x,"\u27F8","\\Longleftarrow",!0),w(P,ne,x,"\u27F6","\\longrightarrow",!0),w(P,ne,x,"\u21D2","\\Rightarrow",!0),w(P,ne,x,"\u27F9","\\Longrightarrow",!0),w(P,ne,x,"\u2194","\\leftrightarrow",!0),w(P,ne,x,"\u27F7","\\longleftrightarrow",!0),w(P,ne,x,"\u21D4","\\Leftrightarrow",!0),w(P,ne,x,"\u27FA","\\Longleftrightarrow",!0),w(P,ne,x,"\u21A6","\\mapsto",!0),w(P,ne,x,"\u27FC","\\longmapsto",!0),w(P,ne,x,"\u2197","\\nearrow",!0),w(P,ne,x,"\u21A9","\\hookleftarrow",!0),w(P,ne,x,"\u21AA","\\hookrightarrow",!0),w(P,ne,x,"\u2198","\\searrow",!0),w(P,ne,x,"\u21BC","\\leftharpoonup",!0),w(P,ne,x,"\u21C0","\\rightharpoonup",!0),w(P,ne,x,"\u2199","\\swarrow",!0),w(P,ne,x,"\u21BD","\\leftharpoondown",!0),w(P,ne,x,"\u21C1","\\rightharpoondown",!0),w(P,ne,x,"\u2196","\\nwarrow",!0),w(P,ne,x,"\u21CC","\\rightleftharpoons",!0),w(P,ke,x,"\u226E","\\nless",!0),w(P,ke,x,"\uE010","\\@nleqslant"),w(P,ke,x,"\uE011","\\@nleqq"),w(P,ke,x,"\u2A87","\\lneq",!0),w(P,ke,x,"\u2268","\\lneqq",!0),w(P,ke,x,"\uE00C","\\@lvertneqq"),w(P,ke,x,"\u22E6","\\lnsim",!0),w(P,ke,x,"\u2A89","\\lnapprox",!0),w(P,ke,x,"\u2280","\\nprec",!0),w(P,ke,x,"\u22E0","\\npreceq",!0),w(P,ke,x,"\u22E8","\\precnsim",!0),w(P,ke,x,"\u2AB9","\\precnapprox",!0),w(P,ke,x,"\u2241","\\nsim",!0),w(P,ke,x,"\uE006","\\@nshortmid"),w(P,ke,x,"\u2224","\\nmid",!0),w(P,ke,x,"\u22AC","\\nvdash",!0),w(P,ke,x,"\u22AD","\\nvDash",!0),w(P,ke,x,"\u22EA","\\ntriangleleft"),w(P,ke,x,"\u22EC","\\ntrianglelefteq",!0),w(P,ke,x,"\u228A","\\subsetneq",!0),w(P,ke,x,"\uE01A","\\@varsubsetneq"),w(P,ke,x,"\u2ACB","\\subsetneqq",!0),w(P,ke,x,"\uE017","\\@varsubsetneqq"),w(P,ke,x,"\u226F","\\ngtr",!0),w(P,ke,x,"\uE00F","\\@ngeqslant"),w(P,ke,x,"\uE00E","\\@ngeqq"),w(P,ke,x,"\u2A88","\\gneq",!0),w(P,ke,x,"\u2269","\\gneqq",!0),w(P,ke,x,"\uE00D","\\@gvertneqq"),w(P,ke,x,"\u22E7","\\gnsim",!0),w(P,ke,x,"\u2A8A","\\gnapprox",!0),w(P,ke,x,"\u2281","\\nsucc",!0),w(P,ke,x,"\u22E1","\\nsucceq",!0),w(P,ke,x,"\u22E9","\\succnsim",!0),w(P,ke,x,"\u2ABA","\\succnapprox",!0),w(P,ke,x,"\u2246","\\ncong",!0),w(P,ke,x,"\uE007","\\@nshortparallel"),w(P,ke,x,"\u2226","\\nparallel",!0),w(P,ke,x,"\u22AF","\\nVDash",!0),w(P,ke,x,"\u22EB","\\ntriangleright"),w(P,ke,x,"\u22ED","\\ntrianglerighteq",!0),w(P,ke,x,"\uE018","\\@nsupseteqq"),w(P,ke,x,"\u228B","\\supsetneq",!0),w(P,ke,x,"\uE01B","\\@varsupsetneq"),w(P,ke,x,"\u2ACC","\\supsetneqq",!0),w(P,ke,x,"\uE019","\\@varsupsetneqq"),w(P,ke,x,"\u22AE","\\nVdash",!0),w(P,ke,x,"\u2AB5","\\precneqq",!0),w(P,ke,x,"\u2AB6","\\succneqq",!0),w(P,ke,x,"\uE016","\\@nsubseteqq"),w(P,ke,Pr,"\u22B4","\\unlhd"),w(P,ke,Pr,"\u22B5","\\unrhd"),w(P,ke,x,"\u219A","\\nleftarrow",!0),w(P,ke,x,"\u219B","\\nrightarrow",!0),w(P,ke,x,"\u21CD","\\nLeftarrow",!0),w(P,ke,x,"\u21CF","\\nRightarrow",!0),w(P,ke,x,"\u21AE","\\nleftrightarrow",!0),w(P,ke,x,"\u21CE","\\nLeftrightarrow",!0),w(P,ke,x,"\u25B3","\\vartriangle"),w(P,ke,K,"\u210F","\\hslash"),w(P,ke,K,"\u25BD","\\triangledown"),w(P,ke,K,"\u25CA","\\lozenge"),w(P,ke,K,"\u24C8","\\circledS"),w(P,ke,K,"\xAE","\\circledR"),w(Pt,ke,K,"\xAE","\\circledR"),w(P,ke,K,"\u2221","\\measuredangle",!0),w(P,ke,K,"\u2204","\\nexists"),w(P,ke,K,"\u2127","\\mho"),w(P,ke,K,"\u2132","\\Finv",!0),w(P,ke,K,"\u2141","\\Game",!0),w(P,ke,K,"\u2035","\\backprime"),w(P,ke,K,"\u25B2","\\blacktriangle"),w(P,ke,K,"\u25BC","\\blacktriangledown"),w(P,ke,K,"\u25A0","\\blacksquare"),w(P,ke,K,"\u29EB","\\blacklozenge"),w(P,ke,K,"\u2605","\\bigstar"),w(P,ke,K,"\u2222","\\sphericalangle",!0),w(P,ke,K,"\u2201","\\complement",!0),w(P,ke,K,"\xF0","\\eth",!0),w(P,ke,K,"\u2571","\\diagup"),w(P,ke,K,"\u2572","\\diagdown"),w(P,ke,K,"\u25A1","\\square"),w(P,ke,K,"\u25A1","\\Box"),w(P,ke,K,"\u25CA","\\Diamond"),w(P,ke,K,"\xA5","\\yen",!0),w(Pt,ke,K,"\xA5","\\yen",!0),w(P,ke,K,"\u2713","\\checkmark",!0),w(Pt,ke,K,"\u2713","\\checkmark"),w(P,ke,K,"\u2136","\\beth",!0),w(P,ke,K,"\u2138","\\daleth",!0),w(P,ke,K,"\u2137","\\gimel",!0),w(P,ke,K,"\u03DD","\\digamma",!0),w(P,ke,K,"\u03F0","\\varkappa"),w(P,ke,Cn,"\u250C","\\ulcorner",!0),w(P,ke,En,"\u2510","\\urcorner",!0),w(P,ke,Cn,"\u2514","\\llcorner",!0),w(P,ke,En,"\u2518","\\lrcorner",!0),w(P,ke,x,"\u2266","\\leqq",!0),w(P,ke,x,"\u2A7D","\\leqslant",!0),w(P,ke,x,"\u2A95","\\eqslantless",!0),w(P,ke,x,"\u2272","\\lesssim",!0),w(P,ke,x,"\u2A85","\\lessapprox",!0),w(P,ke,x,"\u224A","\\approxeq",!0),w(P,ke,Pr,"\u22D6","\\lessdot"),w(P,ke,x,"\u22D8","\\lll",!0),w(P,ke,x,"\u2276","\\lessgtr",!0),w(P,ke,x,"\u22DA","\\lesseqgtr",!0),w(P,ke,x,"\u2A8B","\\lesseqqgtr",!0),w(P,ke,x,"\u2251","\\doteqdot"),w(P,ke,x,"\u2253","\\risingdotseq",!0),w(P,ke,x,"\u2252","\\fallingdotseq",!0),w(P,ke,x,"\u223D","\\backsim",!0),w(P,ke,x,"\u22CD","\\backsimeq",!0),w(P,ke,x,"\u2AC5","\\subseteqq",!0),w(P,ke,x,"\u22D0","\\Subset",!0),w(P,ke,x,"\u228F","\\sqsubset",!0),w(P,ke,x,"\u227C","\\preccurlyeq",!0),w(P,ke,x,"\u22DE","\\curlyeqprec",!0),w(P,ke,x,"\u227E","\\precsim",!0),w(P,ke,x,"\u2AB7","\\precapprox",!0),w(P,ke,x,"\u22B2","\\vartriangleleft"),w(P,ke,x,"\u22B4","\\trianglelefteq"),w(P,ke,x,"\u22A8","\\vDash",!0),w(P,ke,x,"\u22AA","\\Vvdash",!0),w(P,ke,x,"\u2323","\\smallsmile"),w(P,ke,x,"\u2322","\\smallfrown"),w(P,ke,x,"\u224F","\\bumpeq",!0),w(P,ke,x,"\u224E","\\Bumpeq",!0),w(P,ke,x,"\u2267","\\geqq",!0),w(P,ke,x,"\u2A7E","\\geqslant",!0),w(P,ke,x,"\u2A96","\\eqslantgtr",!0),w(P,ke,x,"\u2273","\\gtrsim",!0),w(P,ke,x,"\u2A86","\\gtrapprox",!0),w(P,ke,Pr,"\u22D7","\\gtrdot"),w(P,ke,x,"\u22D9","\\ggg",!0),w(P,ke,x,"\u2277","\\gtrless",!0),w(P,ke,x,"\u22DB","\\gtreqless",!0),w(P,ke,x,"\u2A8C","\\gtreqqless",!0),w(P,ke,x,"\u2256","\\eqcirc",!0),w(P,ke,x,"\u2257","\\circeq",!0),w(P,ke,x,"\u225C","\\triangleq",!0),w(P,ke,x,"\u223C","\\thicksim"),w(P,ke,x,"\u2248","\\thickapprox"),w(P,ke,x,"\u2AC6","\\supseteqq",!0),w(P,ke,x,"\u22D1","\\Supset",!0),w(P,ke,x,"\u2290","\\sqsupset",!0),w(P,ke,x,"\u227D","\\succcurlyeq",!0),w(P,ke,x,"\u22DF","\\curlyeqsucc",!0),w(P,ke,x,"\u227F","\\succsim",!0),w(P,ke,x,"\u2AB8","\\succapprox",!0),w(P,ke,x,"\u22B3","\\vartriangleright"),w(P,ke,x,"\u22B5","\\trianglerighteq"),w(P,ke,x,"\u22A9","\\Vdash",!0),w(P,ke,x,"\u2223","\\shortmid"),w(P,ke,x,"\u2225","\\shortparallel"),w(P,ke,x,"\u226C","\\between",!0),w(P,ke,x,"\u22D4","\\pitchfork",!0),w(P,ke,x,"\u221D","\\varpropto"),w(P,ke,x,"\u25C0","\\blacktriangleleft"),w(P,ke,x,"\u2234","\\therefore",!0),w(P,ke,x,"\u220D","\\backepsilon"),w(P,ke,x,"\u25B6","\\blacktriangleright"),w(P,ke,x,"\u2235","\\because",!0),w(P,ke,x,"\u22D8","\\llless"),w(P,ke,x,"\u22D9","\\gggtr"),w(P,ke,Pr,"\u22B2","\\lhd"),w(P,ke,Pr,"\u22B3","\\rhd"),w(P,ke,x,"\u2242","\\eqsim",!0),w(P,ne,x,"\u22C8","\\Join"),w(P,ke,x,"\u2251","\\Doteq",!0),w(P,ke,Pr,"\u2214","\\dotplus",!0),w(P,ke,Pr,"\u2216","\\smallsetminus"),w(P,ke,Pr,"\u22D2","\\Cap",!0),w(P,ke,Pr,"\u22D3","\\Cup",!0),w(P,ke,Pr,"\u2A5E","\\doublebarwedge",!0),w(P,ke,Pr,"\u229F","\\boxminus",!0),w(P,ke,Pr,"\u229E","\\boxplus",!0),w(P,ke,Pr,"\u22C7","\\divideontimes",!0),w(P,ke,Pr,"\u22C9","\\ltimes",!0),w(P,ke,Pr,"\u22CA","\\rtimes",!0),w(P,ke,Pr,"\u22CB","\\leftthreetimes",!0),w(P,ke,Pr,"\u22CC","\\rightthreetimes",!0),w(P,ke,Pr,"\u22CF","\\curlywedge",!0),w(P,ke,Pr,"\u22CE","\\curlyvee",!0),w(P,ke,Pr,"\u229D","\\circleddash",!0),w(P,ke,Pr,"\u229B","\\circledast",!0),w(P,ke,Pr,"\u22C5","\\centerdot"),w(P,ke,Pr,"\u22BA","\\intercal",!0),w(P,ke,Pr,"\u22D2","\\doublecap"),w(P,ke,Pr,"\u22D3","\\doublecup"),w(P,ke,Pr,"\u22A0","\\boxtimes",!0),w(P,ke,x,"\u21E2","\\dashrightarrow",!0),w(P,ke,x,"\u21E0","\\dashleftarrow",!0),w(P,ke,x,"\u21C7","\\leftleftarrows",!0),w(P,ke,x,"\u21C6","\\leftrightarrows",!0),w(P,ke,x,"\u21DA","\\Lleftarrow",!0),w(P,ke,x,"\u219E","\\twoheadleftarrow",!0),w(P,ke,x,"\u21A2","\\leftarrowtail",!0),w(P,ke,x,"\u21AB","\\looparrowleft",!0),w(P,ke,x,"\u21CB","\\leftrightharpoons",!0),w(P,ke,x,"\u21B6","\\curvearrowleft",!0),w(P,ke,x,"\u21BA","\\circlearrowleft",!0),w(P,ke,x,"\u21B0","\\Lsh",!0),w(P,ke,x,"\u21C8","\\upuparrows",!0),w(P,ke,x,"\u21BF","\\upharpoonleft",!0),w(P,ke,x,"\u21C3","\\downharpoonleft",!0),w(P,ke,x,"\u22B8","\\multimap",!0),w(P,ke,x,"\u21AD","\\leftrightsquigarrow",!0),w(P,ke,x,"\u21C9","\\rightrightarrows",!0),w(P,ke,x,"\u21C4","\\rightleftarrows",!0),w(P,ke,x,"\u21A0","\\twoheadrightarrow",!0),w(P,ke,x,"\u21A3","\\rightarrowtail",!0),w(P,ke,x,"\u21AC","\\looparrowright",!0),w(P,ke,x,"\u21B7","\\curvearrowright",!0),w(P,ke,x,"\u21BB","\\circlearrowright",!0),w(P,ke,x,"\u21B1","\\Rsh",!0),w(P,ke,x,"\u21CA","\\downdownarrows",!0),w(P,ke,x,"\u21BE","\\upharpoonright",!0),w(P,ke,x,"\u21C2","\\downharpoonright",!0),w(P,ke,x,"\u21DD","\\rightsquigarrow",!0),w(P,ke,x,"\u21DD","\\leadsto"),w(P,ke,x,"\u21DB","\\Rrightarrow",!0),w(P,ke,x,"\u21BE","\\restriction"),w(P,ne,K,"\u2018","`"),w(P,ne,K,"$","\\$"),w(Pt,ne,K,"$","\\$"),w(Pt,ne,K,"$","\\textdollar"),w(P,ne,K,"%","\\%"),w(Pt,ne,K,"%","\\%"),w(P,ne,K,"_","\\_"),w(Pt,ne,K,"_","\\_"),w(Pt,ne,K,"_","\\textunderscore"),w(P,ne,K,"\u2220","\\angle",!0),w(P,ne,K,"\u221E","\\infty",!0),w(P,ne,K,"\u2032","\\prime"),w(P,ne,K,"\u25B3","\\triangle"),w(P,ne,K,"\u0393","\\Gamma",!0),w(P,ne,K,"\u0394","\\Delta",!0),w(P,ne,K,"\u0398","\\Theta",!0),w(P,ne,K,"\u039B","\\Lambda",!0),w(P,ne,K,"\u039E","\\Xi",!0),w(P,ne,K,"\u03A0","\\Pi",!0),w(P,ne,K,"\u03A3","\\Sigma",!0),w(P,ne,K,"\u03A5","\\Upsilon",!0),w(P,ne,K,"\u03A6","\\Phi",!0),w(P,ne,K,"\u03A8","\\Psi",!0),w(P,ne,K,"\u03A9","\\Omega",!0),w(P,ne,K,"A","\u0391"),w(P,ne,K,"B","\u0392"),w(P,ne,K,"E","\u0395"),w(P,ne,K,"Z","\u0396"),w(P,ne,K,"H","\u0397"),w(P,ne,K,"I","\u0399"),w(P,ne,K,"K","\u039A"),w(P,ne,K,"M","\u039C"),w(P,ne,K,"N","\u039D"),w(P,ne,K,"O","\u039F"),w(P,ne,K,"P","\u03A1"),w(P,ne,K,"T","\u03A4"),w(P,ne,K,"X","\u03A7"),w(P,ne,K,"\xAC","\\neg",!0),w(P,ne,K,"\xAC","\\lnot"),w(P,ne,K,"\u22A4","\\top"),w(P,ne,K,"\u22A5","\\bot"),w(P,ne,K,"\u2205","\\emptyset"),w(P,ke,K,"\u2205","\\varnothing"),w(P,ne,mn,"\u03B1","\\alpha",!0),w(P,ne,mn,"\u03B2","\\beta",!0),w(P,ne,mn,"\u03B3","\\gamma",!0),w(P,ne,mn,"\u03B4","\\delta",!0),w(P,ne,mn,"\u03F5","\\epsilon",!0),w(P,ne,mn,"\u03B6","\\zeta",!0),w(P,ne,mn,"\u03B7","\\eta",!0),w(P,ne,mn,"\u03B8","\\theta",!0),w(P,ne,mn,"\u03B9","\\iota",!0),w(P,ne,mn,"\u03BA","\\kappa",!0),w(P,ne,mn,"\u03BB","\\lambda",!0),w(P,ne,mn,"\u03BC","\\mu",!0),w(P,ne,mn,"\u03BD","\\nu",!0),w(P,ne,mn,"\u03BE","\\xi",!0),w(P,ne,mn,"\u03BF","\\omicron",!0),w(P,ne,mn,"\u03C0","\\pi",!0),w(P,ne,mn,"\u03C1","\\rho",!0),w(P,ne,mn,"\u03C3","\\sigma",!0),w(P,ne,mn,"\u03C4","\\tau",!0),w(P,ne,mn,"\u03C5","\\upsilon",!0),w(P,ne,mn,"\u03D5","\\phi",!0),w(P,ne,mn,"\u03C7","\\chi",!0),w(P,ne,mn,"\u03C8","\\psi",!0),w(P,ne,mn,"\u03C9","\\omega",!0),w(P,ne,mn,"\u03B5","\\varepsilon",!0),w(P,ne,mn,"\u03D1","\\vartheta",!0),w(P,ne,mn,"\u03D6","\\varpi",!0),w(P,ne,mn,"\u03F1","\\varrho",!0),w(P,ne,mn,"\u03C2","\\varsigma",!0),w(P,ne,mn,"\u03C6","\\varphi",!0),w(P,ne,Pr,"\u2217","*"),w(P,ne,Pr,"+","+"),w(P,ne,Pr,"\u2212","-"),w(P,ne,Pr,"\u22C5","\\cdot",!0),w(P,ne,Pr,"\u2218","\\circ"),w(P,ne,Pr,"\xF7","\\div",!0),w(P,ne,Pr,"\xB1","\\pm",!0),w(P,ne,Pr,"\xD7","\\times",!0),w(P,ne,Pr,"\u2229","\\cap",!0),w(P,ne,Pr,"\u222A","\\cup",!0),w(P,ne,Pr,"\u2216","\\setminus"),w(P,ne,Pr,"\u2227","\\land"),w(P,ne,Pr,"\u2228","\\lor"),w(P,ne,Pr,"\u2227","\\wedge",!0),w(P,ne,Pr,"\u2228","\\vee",!0),w(P,ne,K,"\u221A","\\surd"),w(P,ne,Cn,"(","("),w(P,ne,Cn,"[","["),w(P,ne,Cn,"\u27E8","\\langle",!0),w(P,ne,Cn,"\u2223","\\lvert"),w(P,ne,Cn,"\u2225","\\lVert"),w(P,ne,En,")",")"),w(P,ne,En,"]","]"),w(P,ne,En,"?","?"),w(P,ne,En,"!","!"),w(P,ne,En,"\u27E9","\\rangle",!0),w(P,ne,En,"\u2223","\\rvert"),w(P,ne,En,"\u2225","\\rVert"),w(P,ne,x,"=","="),w(P,ne,x,"<","<"),w(P,ne,x,">",">"),w(P,ne,x,":",":"),w(P,ne,x,"\u2248","\\approx",!0),w(P,ne,x,"\u2245","\\cong",!0),w(P,ne,x,"\u2265","\\ge"),w(P,ne,x,"\u2265","\\geq",!0),w(P,ne,x,"\u2190","\\gets"),w(P,ne,x,">","\\gt"),w(P,ne,x,"\u2208","\\in",!0),w(P,ne,x,"\uE020","\\@not"),w(P,ne,x,"\u2282","\\subset",!0),w(P,ne,x,"\u2283","\\supset",!0),w(P,ne,x,"\u2286","\\subseteq",!0),w(P,ne,x,"\u2287","\\supseteq",!0),w(P,ke,x,"\u2288","\\nsubseteq",!0),w(P,ke,x,"\u2289","\\nsupseteq",!0),w(P,ne,x,"\u22A8","\\models"),w(P,ne,x,"\u2190","\\leftarrow",!0),w(P,ne,x,"\u2264","\\le"),w(P,ne,x,"\u2264","\\leq",!0),w(P,ne,x,"<","\\lt"),w(P,ne,x,"\u2192","\\rightarrow",!0),w(P,ne,x,"\u2192","\\to"),w(P,ke,x,"\u2271","\\ngeq",!0),w(P,ke,x,"\u2270","\\nleq",!0),w(P,ne,Dr,"\xA0","\\ "),w(P,ne,Dr,"\xA0","~"),w(P,ne,Dr,"\xA0","\\space"),w(P,ne,Dr,"\xA0","\\nobreakspace"),w(Pt,ne,Dr,"\xA0","\\ "),w(Pt,ne,Dr,"\xA0","~"),w(Pt,ne,Dr,"\xA0","\\space"),w(Pt,ne,Dr,"\xA0","\\nobreakspace"),w(P,ne,Dr,null,"\\nobreak"),w(P,ne,Dr,null,"\\allowbreak"),w(P,ne,L,",",","),w(P,ne,L,";",";"),w(P,ke,Pr,"\u22BC","\\barwedge",!0),w(P,ke,Pr,"\u22BB","\\veebar",!0),w(P,ne,Pr,"\u2299","\\odot",!0),w(P,ne,Pr,"\u2295","\\oplus",!0),w(P,ne,Pr,"\u2297","\\otimes",!0),w(P,ne,K,"\u2202","\\partial",!0),w(P,ne,Pr,"\u2298","\\oslash",!0),w(P,ke,Pr,"\u229A","\\circledcirc",!0),w(P,ke,Pr,"\u22A1","\\boxdot",!0),w(P,ne,Pr,"\u25B3","\\bigtriangleup"),w(P,ne,Pr,"\u25BD","\\bigtriangledown"),w(P,ne,Pr,"\u2020","\\dagger"),w(P,ne,Pr,"\u22C4","\\diamond"),w(P,ne,Pr,"\u22C6","\\star"),w(P,ne,Pr,"\u25C3","\\triangleleft"),w(P,ne,Pr,"\u25B9","\\triangleright"),w(P,ne,Cn,"{","\\{"),w(Pt,ne,K,"{","\\{"),w(Pt,ne,K,"{","\\textbraceleft"),w(P,ne,En,"}","\\}"),w(Pt,ne,K,"}","\\}"),w(Pt,ne,K,"}","\\textbraceright"),w(P,ne,Cn,"{","\\lbrace"),w(P,ne,En,"}","\\rbrace"),w(P,ne,Cn,"[","\\lbrack"),w(Pt,ne,K,"[","\\lbrack"),w(P,ne,En,"]","\\rbrack"),w(Pt,ne,K,"]","\\rbrack"),w(P,ne,Cn,"(","\\lparen"),w(P,ne,En,")","\\rparen"),w(Pt,ne,K,"<","\\textless"),w(Pt,ne,K,">","\\textgreater"),w(P,ne,Cn,"\u230A","\\lfloor",!0),w(P,ne,En,"\u230B","\\rfloor",!0),w(P,ne,Cn,"\u2308","\\lceil",!0),w(P,ne,En,"\u2309","\\rceil",!0),w(P,ne,K,"\\","\\backslash"),w(P,ne,K,"\u2223","|"),w(P,ne,K,"\u2223","\\vert"),w(Pt,ne,K,"|","\\textbar"),w(P,ne,K,"\u2225","\\|"),w(P,ne,K,"\u2225","\\Vert"),w(Pt,ne,K,"\u2225","\\textbardbl"),w(Pt,ne,K,"~","\\textasciitilde"),w(Pt,ne,K,"\\","\\textbackslash"),w(Pt,ne,K,"^","\\textasciicircum"),w(P,ne,x,"\u2191","\\uparrow",!0),w(P,ne,x,"\u21D1","\\Uparrow",!0),w(P,ne,x,"\u2193","\\downarrow",!0),w(P,ne,x,"\u21D3","\\Downarrow",!0),w(P,ne,x,"\u2195","\\updownarrow",!0),w(P,ne,x,"\u21D5","\\Updownarrow",!0),w(P,ne,yn,"\u2210","\\coprod"),w(P,ne,yn,"\u22C1","\\bigvee"),w(P,ne,yn,"\u22C0","\\bigwedge"),w(P,ne,yn,"\u2A04","\\biguplus"),w(P,ne,yn,"\u22C2","\\bigcap"),w(P,ne,yn,"\u22C3","\\bigcup"),w(P,ne,yn,"\u222B","\\int"),w(P,ne,yn,"\u222B","\\intop"),w(P,ne,yn,"\u222C","\\iint"),w(P,ne,yn,"\u222D","\\iiint"),w(P,ne,yn,"\u220F","\\prod"),w(P,ne,yn,"\u2211","\\sum"),w(P,ne,yn,"\u2A02","\\bigotimes"),w(P,ne,yn,"\u2A01","\\bigoplus"),w(P,ne,yn,"\u2A00","\\bigodot"),w(P,ne,yn,"\u222E","\\oint"),w(P,ne,yn,"\u222F","\\oiint"),w(P,ne,yn,"\u2230","\\oiiint"),w(P,ne,yn,"\u2A06","\\bigsqcup"),w(P,ne,yn,"\u222B","\\smallint"),w(Pt,ne,Nn,"\u2026","\\textellipsis"),w(P,ne,Nn,"\u2026","\\mathellipsis"),w(Pt,ne,Nn,"\u2026","\\ldots",!0),w(P,ne,Nn,"\u2026","\\ldots",!0),w(P,ne,Nn,"\u22EF","\\@cdots",!0),w(P,ne,Nn,"\u22F1","\\ddots",!0),w(P,ne,K,"\u22EE","\\varvdots"),w(P,ne,Mr,"\u02CA","\\acute"),w(P,ne,Mr,"\u02CB","\\grave"),w(P,ne,Mr,"\xA8","\\ddot"),w(P,ne,Mr,"~","\\tilde"),w(P,ne,Mr,"\u02C9","\\bar"),w(P,ne,Mr,"\u02D8","\\breve"),w(P,ne,Mr,"\u02C7","\\check"),w(P,ne,Mr,"^","\\hat"),w(P,ne,Mr,"\u20D7","\\vec"),w(P,ne,Mr,"\u02D9","\\dot"),w(P,ne,Mr,"\u02DA","\\mathring"),w(P,ne,mn,"\u0131","\\imath",!0),w(P,ne,mn,"\u0237","\\jmath",!0),w(Pt,ne,K,"\u0131","\\i",!0),w(Pt,ne,K,"\u0237","\\j",!0),w(Pt,ne,K,"\xDF","\\ss",!0),w(Pt,ne,K,"\xE6","\\ae",!0),w(Pt,ne,K,"\xE6","\\ae",!0),w(Pt,ne,K,"\u0153","\\oe",!0),w(Pt,ne,K,"\xF8","\\o",!0),w(Pt,ne,K,"\xC6","\\AE",!0),w(Pt,ne,K,"\u0152","\\OE",!0),w(Pt,ne,K,"\xD8","\\O",!0),w(Pt,ne,Mr,"\u02CA","\\'"),w(Pt,ne,Mr,"\u02CB","\\`"),w(Pt,ne,Mr,"\u02C6","\\^"),w(Pt,ne,Mr,"\u02DC","\\~"),w(Pt,ne,Mr,"\u02C9","\\="),w(Pt,ne,Mr,"\u02D8","\\u"),w(Pt,ne,Mr,"\u02D9","\\."),w(Pt,ne,Mr,"\u02DA","\\r"),w(Pt,ne,Mr,"\u02C7","\\v"),w(Pt,ne,Mr,"\xA8",'\\"'),w(Pt,ne,Mr,"\u02DD","\\H"),w(Pt,ne,Mr,"\u25EF","\\textcircled");var Tt={"--":!0,"---":!0,"``":!0,"''":!0};w(Pt,ne,K,"\u2013","--"),w(Pt,ne,K,"\u2013","\\textendash"),w(Pt,ne,K,"\u2014","---"),w(Pt,ne,K,"\u2014","\\textemdash"),w(Pt,ne,K,"\u2018","`"),w(Pt,ne,K,"\u2018","\\textquoteleft"),w(Pt,ne,K,"\u2019","'"),w(Pt,ne,K,"\u2019","\\textquoteright"),w(Pt,ne,K,"\u201C","``"),w(Pt,ne,K,"\u201C","\\textquotedblleft"),w(Pt,ne,K,"\u201D","''"),w(Pt,ne,K,"\u201D","\\textquotedblright"),w(P,ne,K,"\xB0","\\degree",!0),w(Pt,ne,K,"\xB0","\\degree"),w(Pt,ne,K,"\xB0","\\textdegree",!0),w(P,ne,mn,"\xA3","\\pounds"),w(P,ne,mn,"\xA3","\\mathsterling",!0),w(Pt,ne,mn,"\xA3","\\pounds"),w(Pt,ne,mn,"\xA3","\\textsterling",!0),w(P,ke,K,"\u2720","\\maltese"),w(Pt,ke,K,"\u2720","\\maltese"),w(Pt,ne,Dr,"\xA0","\\ "),w(Pt,ne,Dr,"\xA0"," "),w(Pt,ne,Dr,"\xA0","~");for(var Xt='0123456789/@."',ar=0;ar<Xt.length;ar++){var ot=Xt.charAt(ar);w(P,ne,K,ot,ot)}for(var Ie='0123456789!@*()-=+[]<>|";:?/.,',st=0;st<Ie.length;st++){var zt=Ie.charAt(st);w(Pt,ne,K,zt,zt)}for(var rr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",fr=0;fr<rr.length;fr++){var ht=rr.charAt(fr);w(P,ne,mn,ht,ht),w(Pt,ne,K,ht,ht)}w(P,ke,K,"C","\u2102"),w(Pt,ke,K,"C","\u2102"),w(P,ke,K,"H","\u210D"),w(Pt,ke,K,"H","\u210D"),w(P,ke,K,"N","\u2115"),w(Pt,ke,K,"N","\u2115"),w(P,ke,K,"P","\u2119"),w(Pt,ke,K,"P","\u2119"),w(P,ke,K,"Q","\u211A"),w(Pt,ke,K,"Q","\u211A"),w(P,ke,K,"R","\u211D"),w(Pt,ke,K,"R","\u211D"),w(P,ke,K,"Z","\u2124"),w(Pt,ke,K,"Z","\u2124"),w(P,ne,mn,"h","\u210E"),w(Pt,ne,mn,"h","\u210E");for(var ln="",pe=0;pe<rr.length;pe++){var qt=rr.charAt(pe);ln=String.fromCharCode(55349,56320+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56372+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56424+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56580+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56736+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56788+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56840+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56944+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),pe<26&&(ln=String.fromCharCode(55349,56632+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln),ln=String.fromCharCode(55349,56476+pe),w(P,ne,mn,qt,ln),w(Pt,ne,K,qt,ln))}ln="\u{1D55C}",w(P,ne,mn,"k",ln),w(Pt,ne,K,"k",ln);for(var gr=0;gr<10;gr++){var $r=gr.toString();ln=String.fromCharCode(55349,57294+gr),w(P,ne,mn,$r,ln),w(Pt,ne,K,$r,ln),ln=String.fromCharCode(55349,57314+gr),w(P,ne,mn,$r,ln),w(Pt,ne,K,$r,ln),ln=String.fromCharCode(55349,57324+gr),w(P,ne,mn,$r,ln),w(Pt,ne,K,$r,ln),ln=String.fromCharCode(55349,57334+gr),w(P,ne,mn,$r,ln),w(Pt,ne,K,$r,ln)}for(var tn="\xC7\xD0\xDE\xE7\xFE",$n=0;$n<tn.length;$n++){var Vt=tn.charAt($n);w(P,ne,mn,Vt,Vt),w(Pt,ne,K,Vt,Vt)}w(Pt,ne,K,"\xF0","\xF0"),w(Pt,ne,K,"\u2013","\u2013"),w(Pt,ne,K,"\u2014","\u2014"),w(Pt,ne,K,"\u2018","\u2018"),w(Pt,ne,K,"\u2019","\u2019"),w(Pt,ne,K,"\u201C","\u201C"),w(Pt,ne,K,"\u201D","\u201D");var yr=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],jr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Er=function(r,o){var s=r.charCodeAt(0),h=r.charCodeAt(1),z=(s-55296)*1024+(h-56320)+65536,ue=o==="math"?0:1;if(119808<=z&&z<120484){var De=Math.floor((z-119808)/26);return[yr[De][2],yr[De][ue]]}else if(120782<=z&&z<=120831){var tt=Math.floor((z-120782)/10);return[jr[tt][2],jr[tt][ue]]}else{if(z===120485||z===120486)return[yr[0][2],yr[0][ue]];if(120486<z&&z<120782)return["",""];throw new J("Unsupported character: "+r)}},Kr=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Jr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],mt=function(r,o){return o.size<2?r:Kr[r-1][o.size-1]},Jt=function(){function F(o){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=o.style,this.color=o.color,this.size=o.size||F.BASESIZE,this.textSize=o.textSize||this.size,this.phantom=!!o.phantom,this.font=o.font||"",this.fontFamily=o.fontFamily||"",this.fontWeight=o.fontWeight||"",this.fontShape=o.fontShape||"",this.sizeMultiplier=Jr[this.size-1],this.maxSize=o.maxSize,this.minRuleThickness=o.minRuleThickness,this._fontMetrics=void 0}var r=F.prototype;return r.extend=function(s){var h={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var z in s)s.hasOwnProperty(z)&&(h[z]=s[z]);return new F(h)},r.havingStyle=function(s){return this.style===s?this:this.extend({style:s,size:mt(this.textSize,s)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(s){return this.size===s&&this.textSize===s?this:this.extend({style:this.style.text(),size:s,textSize:s,sizeMultiplier:Jr[s-1]})},r.havingBaseStyle=function(s){s=s||this.style.text();var h=mt(F.BASESIZE,s);return this.size===h&&this.textSize===F.BASESIZE&&this.style===s?this:this.extend({style:s,size:h})},r.havingBaseSizing=function(){var s;switch(this.style.id){case 4:case 5:s=3;break;case 6:case 7:s=1;break;default:s=6}return this.extend({style:this.style.text(),size:s})},r.withColor=function(s){return this.extend({color:s})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(s){return this.extend({font:s})},r.withTextFontFamily=function(s){return this.extend({fontFamily:s,font:""})},r.withTextFontWeight=function(s){return this.extend({fontWeight:s,font:""})},r.withTextFontShape=function(s){return this.extend({fontShape:s,font:""})},r.sizingClasses=function(s){return s.size!==this.size?["sizing","reset-size"+s.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==F.BASESIZE?["sizing","reset-size"+this.size,"size"+F.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=pr(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},F}();Jt.BASESIZE=6;var nr=Jt,dr={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Rr={ex:!0,em:!0,mu:!0},Sn=function(r){return typeof r!="string"&&(r=r.unit),r in dr||r in Rr||r==="ex"},an=function(r,o){var s;if(r.unit in dr)s=dr[r.unit]/o.fontMetrics().ptPerEm/o.sizeMultiplier;else if(r.unit==="mu")s=o.fontMetrics().cssEmPerMu;else{var h;if(o.style.isTight()?h=o.havingStyle(o.style.text()):h=o,r.unit==="ex")s=h.fontMetrics().xHeight;else if(r.unit==="em")s=h.fontMetrics().quad;else throw new J("Invalid unit: '"+r.unit+"'");h!==o&&(s*=h.sizeMultiplier/o.sizeMultiplier)}return Math.min(r.number*s,o.maxSize)},An=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],zn=function(r,o,s){return _t[s][r]&&_t[s][r].replace&&(r=_t[s][r].replace),{value:r,metrics:Qt(r,o,s)}},Gr=function(r,o,s,h,z){var ue=zn(r,o,s),De=ue.metrics;r=ue.value;var tt;if(De){var Ot=De.italic;(s==="text"||h&&h.font==="mathit")&&(Ot=0),tt=new Ae(r,De.height,De.depth,Ot,De.skew,De.width,z)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+r+"' in style '"+o+"' and mode '"+s+"'")),tt=new Ae(r,0,0,0,0,0,z);if(h){tt.maxFontSize=h.sizeMultiplier,h.style.isTight()&&tt.classes.push("mtight");var or=h.getColor();or&&(tt.style.color=or)}return tt},Kn=function(r,o,s,h){return h===void 0&&(h=[]),s.font==="boldsymbol"&&zn(r,"Main-Bold",o).metrics?Gr(r,"Main-Bold",o,s,h.concat(["mathbf"])):r==="\\"||_t[o][r].font==="main"?Gr(r,"Main-Regular",o,s,h):Gr(r,"AMS-Regular",o,s,h.concat(["amsrm"]))},In=function(r,o,s,h){return/[0-9]/.test(r.charAt(0))||A.contains(An,r)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ha=function(r,o,s,h){return A.contains(An,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Oa=function(r,o,s,h){return zn(r,"Math-BoldItalic",o).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Ca=function(r,o,s){var h=r.mode,z=r.text,ue=["mord"],De=h==="math"||h==="text"&&o.font,tt=De?o.font:o.fontFamily;if(z.charCodeAt(0)===55349){var Ot=Er(z,h),or=Ot[0],xr=Ot[1];return Gr(z,or,h,o,ue.concat(xr))}else if(tt){var Wr,pn;if(tt==="boldsymbol"||tt==="mathnormal"){var Pn=tt==="boldsymbol"?Oa(z,h,o,ue):ha(z,h,o,ue);Wr=Pn.fontName,pn=[Pn.fontClass]}else A.contains(An,z)?(Wr="Main-Italic",pn=["mathit"]):De?(Wr=nt[tt].fontName,pn=[tt]):(Wr=Ge(tt,o.fontWeight,o.fontShape),pn=[tt,o.fontWeight,o.fontShape]);if(zn(z,Wr,h).metrics)return Gr(z,Wr,h,o,ue.concat(pn));if(Tt.hasOwnProperty(z)&&Wr.substr(0,10)==="Typewriter"){for(var Fn=[],ea=0;ea<z.length;ea++)Fn.push(Gr(z[ea],Wr,h,o,ue.concat(pn)));return B(Fn)}}if(s==="mathord"){var fa=In(z,h,o,ue);return Gr(z,fa.fontName,h,o,ue.concat([fa.fontClass]))}else if(s==="textord"){var u=_t[h][z]&&_t[h][z].font;if(u==="ams"){var e=Ge("amsrm",o.fontWeight,o.fontShape);return Gr(z,e,h,o,ue.concat("amsrm",o.fontWeight,o.fontShape))}else if(u==="main"||!u){var n=Ge("textrm",o.fontWeight,o.fontShape);return Gr(z,n,h,o,ue.concat(o.fontWeight,o.fontShape))}else{var f=Ge(u,o.fontWeight,o.fontShape);return Gr(z,f,h,o,ue.concat(f,o.fontWeight,o.fontShape))}}else throw new Error("unexpected type: "+s+" in makeOrd")},ra=function(r,o){if(g(r.classes)!==g(o.classes)||r.skew!==o.skew||r.maxFontSize!==o.maxFontSize)return!1;for(var s in r.style)if(r.style.hasOwnProperty(s)&&r.style[s]!==o.style[s])return!1;for(var h in o.style)if(o.style.hasOwnProperty(h)&&r.style[h]!==o.style[h])return!1;return!0},p=function(r){for(var o=0;o<r.length-1;o++){var s=r[o],h=r[o+1];s instanceof Ae&&h instanceof Ae&&ra(s,h)&&(s.text+=h.text,s.height=Math.max(s.height,h.height),s.depth=Math.max(s.depth,h.depth),s.italic=h.italic,r.splice(o+1,1),o--)}return r},c=function(r){for(var o=0,s=0,h=0,z=0;z<r.children.length;z++){var ue=r.children[z];ue.height>o&&(o=ue.height),ue.depth>s&&(s=ue.depth),ue.maxFontSize>h&&(h=ue.maxFontSize)}r.height=o,r.depth=s,r.maxFontSize=h},d=function(r,o,s,h){var z=new fe(r,o,s,h);return c(z),z},v=function(r,o,s,h){return new fe(r,o,s,h)},I=function(r,o,s){var h=d([r],[],o);return h.height=Math.max(s||o.fontMetrics().defaultRuleThickness,o.minRuleThickness),h.style.borderBottomWidth=h.height+"em",h.maxFontSize=1,h},b=function(r,o,s,h){var z=new q(r,o,s,h);return c(z),z},B=function(r){var o=new re(r);return c(o),o},X=function(r,o){return r instanceof re?d([],[r],o):r},_=function(r){if(r.positionType==="individualShift"){for(var o=r.children,s=[o[0]],h=-o[0].shift-o[0].elem.depth,z=h,ue=1;ue<o.length;ue++){var De=-o[ue].shift-z-o[ue].elem.depth,tt=De-(o[ue-1].elem.height+o[ue-1].elem.depth);z=z+De,s.push({type:"kern",size:tt}),s.push(o[ue])}return{children:s,depth:h}}var Ot;if(r.positionType==="top"){for(var or=r.positionData,xr=0;xr<r.children.length;xr++){var Wr=r.children[xr];or-=Wr.type==="kern"?Wr.size:Wr.elem.height+Wr.elem.depth}Ot=or}else if(r.positionType==="bottom")Ot=-r.positionData;else{var pn=r.children[0];if(pn.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")Ot=-pn.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")Ot=-pn.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:Ot}},Ce=function(r,o){for(var s=_(r),h=s.children,z=s.depth,ue=0,De=0;De<h.length;De++){var tt=h[De];if(tt.type==="elem"){var Ot=tt.elem;ue=Math.max(ue,Ot.maxFontSize,Ot.height)}}ue+=2;var or=d(["pstrut"],[]);or.style.height=ue+"em";for(var xr=[],Wr=z,pn=z,Pn=z,Fn=0;Fn<h.length;Fn++){var ea=h[Fn];if(ea.type==="kern")Pn+=ea.size;else{var fa=ea.elem,u=ea.wrapperClasses||[],e=ea.wrapperStyle||{},n=d(u,[or,fa],void 0,e);n.style.top=-ue-Pn-fa.depth+"em",ea.marginLeft&&(n.style.marginLeft=ea.marginLeft),ea.marginRight&&(n.style.marginRight=ea.marginRight),xr.push(n),Pn+=fa.height+fa.depth}Wr=Math.min(Wr,Pn),pn=Math.max(pn,Pn)}var f=d(["vlist"],xr);f.style.height=pn+"em";var O;if(Wr<0){var Q=d([],[]),je=d(["vlist"],[Q]);je.style.height=-Wr+"em";var Ve=d(["vlist-s"],[new Ae("\u200B")]);O=[d(["vlist-r"],[f,Ve]),d(["vlist-r"],[je])]}else O=[d(["vlist-r"],[f])];var qe=d(["vlist-t"],O);return O.length===2&&qe.classes.push("vlist-t2"),qe.height=pn,qe.depth=-Wr,qe},_e=function(r,o){var s=d(["mspace"],[],o),h=an(r,o);return s.style.marginRight=h+"em",s},Ge=function(r,o,s){var h="";switch(r){case"amsrm":h="AMS";break;case"textrm":h="Main";break;case"textsf":h="SansSerif";break;case"texttt":h="Typewriter";break;default:h=r}var z;return o==="textbf"&&s==="textit"?z="BoldItalic":o==="textbf"?z="Bold":o==="textit"?z="Italic":z="Regular",h+"-"+z},nt={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},me={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Gt=function(r,o){var s=me[r],h=s[0],z=s[1],ue=s[2],De=new At(h),tt=new Ye([De],{width:z+"em",height:ue+"em",style:"width:"+z+"em",viewBox:"0 0 "+1e3*z+" "+1e3*ue,preserveAspectRatio:"xMinYMin"}),Ot=v(["overlay"],[tt],o);return Ot.height=ue,Ot.style.height=ue+"em",Ot.style.width=z+"em",Ot},oe={fontMap:nt,makeSymbol:Gr,mathsym:Kn,makeSpan:d,makeSvgSpan:v,makeLineSpan:I,makeAnchor:b,makeFragment:B,wrapFragment:X,makeVList:Ce,makeOrd:Ca,makeGlue:_e,staticSvg:Gt,svgData:me,tryCombineChars:p};function jt(F,r){var o=lt(F,r);if(!o)throw new Error("Expected node of type "+r+", but got "+(F?"node of type "+F.type:String(F)));return o}function lt(F,r){return F&&F.type===r?F:null}function Zt(F,r){var o=wr(F,r);if(!o)throw new Error('Expected node of type "atom" and family "'+r+'", but got '+(F?F.type==="atom"?"atom of family "+F.family:"node of type "+F.type:String(F)));return o}function wr(F,r){return F&&F.type==="atom"&&F.family===r?F:null}function cn(F){var r=vn(F);if(!r)throw new Error("Expected node of symbol group type, but got "+(F?"node of type "+F.type:String(F)));return r}function vn(F){return F&&(F.type==="atom"||Lt.hasOwnProperty(F.type))?F:null}var On={number:3,unit:"mu"},qr={number:4,unit:"mu"},kt={number:5,unit:"mu"},un={mord:{mop:On,mbin:qr,mrel:kt,minner:On},mop:{mord:On,mop:On,mrel:kt,minner:On},mbin:{mord:qr,mop:qr,mopen:qr,minner:qr},mrel:{mord:kt,mop:kt,mopen:kt,minner:kt},mopen:{},mclose:{mop:On,mbin:qr,mrel:kt,minner:On},mpunct:{mord:On,mop:On,mrel:kt,mopen:On,mclose:On,mpunct:On,minner:On},minner:{mord:On,mop:On,mbin:qr,mrel:kt,mopen:On,mpunct:On,minner:On}},gn={mord:{mop:On},mop:{mord:On,mop:On},mbin:{},mrel:{},mopen:{},mclose:{mop:On},mpunct:{},minner:{mop:On}},yt={},Ct={},ir={};function Rt(F){for(var r=F.type,o=F.names,s=F.props,h=F.handler,z=F.htmlBuilder,ue=F.mathmlBuilder,De={type:r,numArgs:s.numArgs,argTypes:s.argTypes,greediness:s.greediness===void 0?1:s.greediness,allowedInText:!!s.allowedInText,allowedInMath:s.allowedInMath===void 0?!0:s.allowedInMath,numOptionalArgs:s.numOptionalArgs||0,infix:!!s.infix,handler:h},tt=0;tt<o.length;++tt)yt[o[tt]]=De;r&&(z&&(Ct[r]=z),ue&&(ir[r]=ue))}function Zr(F){var r=F.type,o=F.htmlBuilder,s=F.mathmlBuilder;Rt({type:r,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:o,mathmlBuilder:s})}var br=function(r){var o=lt(r,"ordgroup");return o?o.body:[r]},Br=oe.makeSpan,Fr=["leftmost","mbin","mopen","mrel","mop","mpunct"],Xr=["rightmost","mrel","mclose","mpunct"],kr={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},Un={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ke=function(r,o,s,h){h===void 0&&(h=[null,null]);for(var z=[],ue=0;ue<r.length;ue++){var De=$t(r[ue],o);if(De instanceof re){var tt=De.children;z.push.apply(z,tt)}else z.push(De)}if(!s)return z;var Ot=o;if(r.length===1){var or=lt(r[0],"sizing")||lt(r[0],"styling");or&&(or.type==="sizing"?Ot=o.havingSize(or.size):or.type==="styling"&&(Ot=o.havingStyle(kr[or.style])))}var xr=Br([h[0]||"leftmost"],[],o),Wr=Br([h[1]||"rightmost"],[],o);return be(z,function(pn,Pn){var Fn=Pn.classes[0],ea=pn.classes[0];Fn==="mbin"&&A.contains(Xr,ea)?Pn.classes[0]="mord":ea==="mbin"&&A.contains(Fr,Fn)&&(pn.classes[0]="mord")},{node:xr},Wr),be(z,function(pn,Pn){var Fn=dt(Pn),ea=dt(pn),fa=Fn&&ea?pn.hasClass("mtight")?gn[Fn][ea]:un[Fn][ea]:null;if(fa)return oe.makeGlue(fa,Ot)},{node:xr},Wr),z},be=function F(r,o,s,h){h&&r.push(h);for(var z=0;z<r.length;z++){var ue=r[z],De=ce(ue);if(De){F(De.children,o,s);continue}if(ue.classes[0]!=="mspace"){var tt=o(ue,s.node);tt&&(s.insertAfter?s.insertAfter(tt):(r.unshift(tt),z++)),s.node=ue,s.insertAfter=function(Ot){return function(or){r.splice(Ot+1,0,or),z++}}(z)}}h&&r.pop()},ce=function(r){return r instanceof re||r instanceof q?r:null},Je=function F(r,o){var s=ce(r);if(s){var h=s.children;if(h.length){if(o==="right")return F(h[h.length-1],"right");if(o==="left")return F(h[0],"left")}}return r},dt=function(r,o){return r?(o&&(r=Je(r,o)),Un[r.classes[0]]||null):null},Nt=function(r,o){var s=["nulldelimiter"].concat(r.baseSizingClasses());return Br(o.concat(s))},$t=function(r,o,s){if(!r)return Br();if(Ct[r.type]){var h=Ct[r.type](r,o);if(s&&o.size!==s.size){h=Br(o.sizingClasses(s),[h],o);var z=o.sizeMultiplier/s.sizeMultiplier;h.height*=z,h.depth*=z}return h}else throw new J("Got group of unknown type: '"+r.type+"'")};function er(F,r){var o=Br(["base"],F,r),s=Br(["strut"]);return s.style.height=o.height+o.depth+"em",s.style.verticalAlign=-o.depth+"em",o.children.unshift(s),o}function It(F,r){var o=null;F.length===1&&F[0].type==="tag"&&(o=F[0].tag,F=F[0].body);for(var s=Ke(F,r,!0),h=[],z=[],ue=0;ue<s.length;ue++)if(z.push(s[ue]),s[ue].hasClass("mbin")||s[ue].hasClass("mrel")||s[ue].hasClass("allowbreak")){for(var De=!1;ue<s.length-1&&s[ue+1].hasClass("mspace")&&!s[ue+1].hasClass("newline");)ue++,z.push(s[ue]),s[ue].hasClass("nobreak")&&(De=!0);De||(h.push(er(z,r)),z=[])}else s[ue].hasClass("newline")&&(z.pop(),z.length>0&&(h.push(er(z,r)),z=[]),h.push(s[ue]));z.length>0&&h.push(er(z,r));var tt;o&&(tt=er(Ke(o,r,!0)),tt.classes=["tag"],h.push(tt));var Ot=Br(["katex-html"],h);if(Ot.setAttribute("aria-hidden","true"),tt){var or=tt.children[0];or.style.height=Ot.height+Ot.depth+"em",or.style.verticalAlign=-Ot.depth+"em"}return Ot}function Cr(F){return new re(F)}var Hr=function(){function F(o,s){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=o,this.attributes={},this.children=s||[]}var r=F.prototype;return r.setAttribute=function(s,h){this.attributes[s]=h},r.getAttribute=function(s){return this.attributes[s]},r.toNode=function(){var s=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&s.setAttribute(h,this.attributes[h]);for(var z=0;z<this.children.length;z++)s.appendChild(this.children[z].toNode());return s},r.toMarkup=function(){var s="<"+this.type;for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&(s+=" "+h+'="',s+=A.escape(this.attributes[h]),s+='"');s+=">";for(var z=0;z<this.children.length;z++)s+=this.children[z].toMarkup();return s+="</"+this.type+">",s},r.toText=function(){return this.children.map(function(s){return s.toText()}).join("")},F}(),sn=function(){function F(o){this.text=void 0,this.text=o}var r=F.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return A.escape(this.toText())},r.toText=function(){return this.text},F}(),Qr=function(){function F(o){this.width=void 0,this.character=void 0,this.width=o,o>=.05555&&o<=.05556?this.character="\u200A":o>=.1666&&o<=.1667?this.character="\u2009":o>=.2222&&o<=.2223?this.character="\u2005":o>=.2777&&o<=.2778?this.character="\u2005\u200A":o>=-.05556&&o<=-.05555?this.character="\u200A\u2063":o>=-.1667&&o<=-.1666?this.character="\u2009\u2063":o>=-.2223&&o<=-.2222?this.character="\u205F\u2063":o>=-.2778&&o<=-.2777?this.character="\u2005\u2063":this.character=null}var r=F.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var s=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return s.setAttribute("width",this.width+"em"),s},r.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},r.toText=function(){return this.character?this.character:" "},F}(),bt={MathNode:Hr,TextNode:sn,SpaceNode:Qr,newDocumentFragment:Cr},xt=function(r,o,s){return _t[o][r]&&_t[o][r].replace&&r.charCodeAt(0)!==55349&&!(Tt.hasOwnProperty(r)&&s&&(s.fontFamily&&s.fontFamily.substr(4,2)==="tt"||s.font&&s.font.substr(4,2)==="tt"))&&(r=_t[o][r].replace),new bt.TextNode(r)},rn=function(r){return r.length===1?r[0]:new bt.MathNode("mrow",r)},Mn=function(r,o){if(o.fontFamily==="texttt")return"monospace";if(o.fontFamily==="textsf")return o.fontShape==="textit"&&o.fontWeight==="textbf"?"sans-serif-bold-italic":o.fontShape==="textit"?"sans-serif-italic":o.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(o.fontShape==="textit"&&o.fontWeight==="textbf")return"bold-italic";if(o.fontShape==="textit")return"italic";if(o.fontWeight==="textbf")return"bold";var s=o.font;if(!s||s==="mathnormal")return null;var h=r.mode;if(s==="mathit")return"italic";if(s==="boldsymbol")return"bold-italic";if(s==="mathbf")return"bold";if(s==="mathbb")return"double-struck";if(s==="mathfrak")return"fraktur";if(s==="mathscr"||s==="mathcal")return"script";if(s==="mathsf")return"sans-serif";if(s==="mathtt")return"monospace";var z=r.text;if(A.contains(["\\imath","\\jmath"],z))return null;_t[h][z]&&_t[h][z].replace&&(z=_t[h][z].replace);var ue=oe.fontMap[s].fontName;return Qt(z,ue,h)?oe.fontMap[s].variant:null},zr=function(r,o,s){if(r.length===1){var h=nn(r[0],o);return s&&h instanceof Hr&&h.type==="mo"&&(h.setAttribute("lspace","0em"),h.setAttribute("rspace","0em")),[h]}for(var z=[],ue,De=0;De<r.length;De++){var tt=nn(r[De],o);if(tt instanceof Hr&&ue instanceof Hr){if(tt.type==="mtext"&&ue.type==="mtext"&&tt.getAttribute("mathvariant")===ue.getAttribute("mathvariant")){var Ot;(Ot=ue.children).push.apply(Ot,tt.children);continue}else if(tt.type==="mn"&&ue.type==="mn"){var or;(or=ue.children).push.apply(or,tt.children);continue}else if(tt.type==="mi"&&tt.children.length===1&&ue.type==="mn"){var xr=tt.children[0];if(xr instanceof sn&&xr.text==="."){var Wr;(Wr=ue.children).push.apply(Wr,tt.children);continue}}else if(ue.type==="mi"&&ue.children.length===1){var pn=ue.children[0];if(pn instanceof sn&&pn.text==="\u0338"&&(tt.type==="mo"||tt.type==="mi"||tt.type==="mn")){var Pn=tt.children[0];Pn instanceof sn&&Pn.text.length>0&&(Pn.text=Pn.text.slice(0,1)+"\u0338"+Pn.text.slice(1),z.pop())}}}z.push(tt),ue=tt}return z},dn=function(r,o,s){return rn(zr(r,o,s))},nn=function(r,o){if(!r)return new bt.MathNode("mrow");if(ir[r.type]){var s=ir[r.type](r,o);return s}else throw new J("Got group of unknown type: '"+r.type+"'")};function xn(F,r,o,s){var h=zr(F,o),z;h.length===1&&h[0]instanceof Hr&&A.contains(["mrow","mtable"],h[0].type)?z=h[0]:z=new bt.MathNode("mrow",h);var ue=new bt.MathNode("annotation",[new bt.TextNode(r)]);ue.setAttribute("encoding","application/x-tex");var De=new bt.MathNode("semantics",[z,ue]),tt=new bt.MathNode("math",[De]);tt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Ot=s?"katex":"katex-mathml";return oe.makeSpan([Ot],[tt])}var Ln=function(r){return new nr({style:r.displayMode?k.DISPLAY:k.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},qn=function(r,o){if(o.displayMode){var s=["katex-display"];o.leqno&&s.push("leqno"),o.fleqn&&s.push("fleqn"),r=oe.makeSpan(s,[r])}return r},Jn=function(r,o,s){var h=Ln(s),z;if(s.output==="mathml")return xn(r,o,h,!0);if(s.output==="html"){var ue=It(r,h);z=oe.makeSpan(["katex"],[ue])}else{var De=xn(r,o,h,!1),tt=It(r,h);z=oe.makeSpan(["katex"],[De,tt])}return qn(z,s)},Qn=function(r,o,s){var h=Ln(s),z=It(r,h),ue=oe.makeSpan(["katex"],[z]);return qn(ue,s)},Fa=Jn,Ea={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Xn=function(r){var o=new bt.MathNode("mo",[new bt.TextNode(Ea[r.substr(1)])]);return o.setAttribute("stretchy","true"),o},jn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Vn=function(r){return r.type==="ordgroup"?r.body.length:1},ka=function(r,o){function s(){var tt=4e5,Ot=r.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],Ot)){var or=r,xr=Vn(or.base),Wr,pn,Pn;if(xr>5)Ot==="widehat"||Ot==="widecheck"?(Wr=420,tt=2364,Pn=.42,pn=Ot+"4"):(Wr=312,tt=2340,Pn=.34,pn="tilde4");else{var Fn=[1,1,2,2,3,3][xr];Ot==="widehat"||Ot==="widecheck"?(tt=[0,1062,2364,2364,2364][Fn],Wr=[0,239,300,360,420][Fn],Pn=[0,.24,.3,.3,.36,.42][Fn],pn=Ot+Fn):(tt=[0,600,1033,2339,2340][Fn],Wr=[0,260,286,306,312][Fn],Pn=[0,.26,.286,.3,.306,.34][Fn],pn="tilde"+Fn)}var ea=new At(pn),fa=new Ye([ea],{width:"100%",height:Pn+"em",viewBox:"0 0 "+tt+" "+Wr,preserveAspectRatio:"none"});return{span:oe.makeSvgSpan([],[fa],o),minWidth:0,height:Pn}}else{var u=[],e=jn[Ot],n=e[0],f=e[1],O=e[2],Q=O/1e3,je=n.length,Ve,qe;if(je===1){var Dt=e[3];Ve=["hide-tail"],qe=[Dt]}else if(je===2)Ve=["halfarrow-left","halfarrow-right"],qe=["xMinYMin","xMaxYMin"];else if(je===3)Ve=["brace-left","brace-center","brace-right"],qe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+je+" children.");for(var mr=0;mr<je;mr++){var Nr=new At(n[mr]),Ir=new Ye([Nr],{width:"400em",height:Q+"em",viewBox:"0 0 "+tt+" "+O,preserveAspectRatio:qe[mr]+" slice"}),Ar=oe.makeSvgSpan([Ve[mr]],[Ir],o);if(je===1)return{span:Ar,minWidth:f,height:Q};Ar.style.height=Q+"em",u.push(Ar)}return{span:oe.makeSpan(["stretchy"],u,o),minWidth:f,height:Q}}}var h=s(),z=h.span,ue=h.minWidth,De=h.height;return z.height=De,z.style.height=De+"em",ue>0&&(z.style.minWidth=ue+"em"),z},ba=function(r,o,s,h){var z,ue=r.height+r.depth+2*s;if(/fbox|color/.test(o)){if(z=oe.makeSpan(["stretchy",o],[],h),o==="fbox"){var De=h.color&&h.getColor();De&&(z.style.borderColor=De)}}else{var tt=[];/^[bx]cancel$/.test(o)&&tt.push(new Bt({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(o)&&tt.push(new Bt({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Ot=new Ye(tt,{width:"100%",height:ue+"em"});z=oe.makeSvgSpan([],[Ot],h)}return z.height=ue,z.style.height=ue+"em",z},ho={encloseSpan:ba,mathMLnode:Xn,svgSpan:ka},Va=function(r,o){var s,h,z=lt(r,"supsub"),ue;z?(h=jt(z.base,"accent"),s=h.base,z.base=s,ue=ur($t(z,o)),z.base=h):(h=jt(r,"accent"),s=h.base);var De=$t(s,o.havingCrampedStyle()),tt=h.isShifty&&A.isCharacterBox(s),Ot=0;if(tt){var or=A.getBaseElem(s),xr=$t(or,o.havingCrampedStyle());Ot=cr(xr).skew}var Wr=Math.min(De.height,o.fontMetrics().xHeight),pn;if(h.isStretchy)pn=ho.svgSpan(h,o),pn=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"elem",elem:pn,wrapperClasses:["svg-align"],wrapperStyle:Ot>0?{width:"calc(100% - "+2*Ot+"em)",marginLeft:2*Ot+"em"}:void 0}]},o);else{var Pn,Fn;h.label==="\\vec"?(Pn=oe.staticSvg("vec",o),Fn=oe.svgData.vec[1]):(Pn=oe.makeOrd({mode:h.mode,text:h.label},o,"textord"),Pn=cr(Pn),Pn.italic=0,Fn=Pn.width),pn=oe.makeSpan(["accent-body"],[Pn]);var ea=h.label==="\\textcircled";ea&&(pn.classes.push("accent-full"),Wr=De.height);var fa=Ot;ea||(fa-=Fn/2),pn.style.left=fa+"em",h.label==="\\textcircled"&&(pn.style.top=".2em"),pn=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:-Wr},{type:"elem",elem:pn}]},o)}var u=oe.makeSpan(["mord","accent"],[pn],o);return ue?(ue.children[0]=u,ue.height=Math.max(u.height,ue.height),ue.classes[0]="mord",ue):u},Ha=function(r,o){var s=r.isStretchy?ho.mathMLnode(r.label):new bt.MathNode("mo",[xt(r.label,r.mode)]),h=new bt.MathNode("mover",[nn(r.base,o),s]);return h.setAttribute("accent","true"),h},Yo=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(F){return"\\"+F}).join("|"));Rt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(r,o){var s=o[0],h=!Yo.test(r.funcName),z=!h||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:h,isShifty:z,base:s}},htmlBuilder:Va,mathmlBuilder:Ha}),Rt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(r,o){var s=o[0];return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:!1,isShifty:!0,base:s}},htmlBuilder:Va,mathmlBuilder:Ha}),Rt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0];return{type:"accentUnder",mode:s.mode,label:h,base:z}},htmlBuilder:function(r,o){var s=$t(r.base,o),h=ho.svgSpan(r,o),z=r.label==="\\utilde"?.12:0,ue=oe.makeVList({positionType:"bottom",positionData:h.height+z,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:z},{type:"elem",elem:s}]},o);return oe.makeSpan(["mord","accentunder"],[ue],o)},mathmlBuilder:function(r,o){var s=ho.mathMLnode(r.label),h=new bt.MathNode("munder",[nn(r.base,o),s]);return h.setAttribute("accentunder","true"),h}});var na=function(r){var o=new bt.MathNode("mpadded",r?[r]:[]);return o.setAttribute("width","+0.6em"),o.setAttribute("lspace","0.3em"),o};Rt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,o,s){var h=r.parser,z=r.funcName;return{type:"xArrow",mode:h.mode,label:z,body:o[0],below:s[0]}},htmlBuilder:function(r,o){var s=o.style,h=o.havingStyle(s.sup()),z=oe.wrapFragment($t(r.body,h,o),o);z.classes.push("x-arrow-pad");var ue;r.below&&(h=o.havingStyle(s.sub()),ue=oe.wrapFragment($t(r.below,h,o),o),ue.classes.push("x-arrow-pad"));var De=ho.svgSpan(r,o),tt=-o.fontMetrics().axisHeight+.5*De.height,Ot=-o.fontMetrics().axisHeight-.5*De.height-.111;(z.depth>.25||r.label==="\\xleftequilibrium")&&(Ot-=z.depth);var or;if(ue){var xr=-o.fontMetrics().axisHeight+ue.height+.5*De.height+.111;or=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:z,shift:Ot},{type:"elem",elem:De,shift:tt},{type:"elem",elem:ue,shift:xr}]},o)}else or=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:z,shift:Ot},{type:"elem",elem:De,shift:tt}]},o);return or.children[0].children[0].children[1].classes.push("svg-align"),oe.makeSpan(["mrel","x-arrow"],[or],o)},mathmlBuilder:function(r,o){var s=ho.mathMLnode(r.label),h;if(r.body){var z=na(nn(r.body,o));if(r.below){var ue=na(nn(r.below,o));h=new bt.MathNode("munderover",[s,ue,z])}else h=new bt.MathNode("mover",[s,z])}else if(r.below){var De=na(nn(r.below,o));h=new bt.MathNode("munder",[s,De])}else h=na(),h=new bt.MathNode("mover",[s,h]);return h}}),Rt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){for(var s=r.parser,h=jt(o[0],"ordgroup"),z=h.body,ue="",De=0;De<z.length;De++){var tt=jt(z[De],"textord");ue+=tt.text}var Ot=parseInt(ue);if(isNaN(Ot))throw new J("\\@char has non-numeric argument "+ue);return{type:"textord",mode:s.mode,text:String.fromCharCode(Ot)}}});var gi=function(r,o){var s=Ke(r.body,o.withColor(r.color),!1);return oe.makeFragment(s)},ro=function(r,o){var s=zr(r.body,o.withColor(r.color)),h=new bt.MathNode("mstyle",s);return h.setAttribute("mathcolor",r.color),h};Rt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(r,o){var s=r.parser,h=jt(o[0],"color-token").color,z=o[1];return{type:"color",mode:s.mode,color:h,body:br(z)}},htmlBuilder:gi,mathmlBuilder:ro}),Rt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(r,o){var s=r.parser,h=r.breakOnTokenText,z=jt(o[0],"color-token").color;s.gullet.macros.set("\\current@color",z);var ue=s.parseExpression(!0,h);return{type:"color",mode:s.mode,color:z,body:ue}},htmlBuilder:gi,mathmlBuilder:ro}),Rt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,o,s){var h=r.parser,z=r.funcName,ue=s[0],De=z==="\\cr",tt=!1;return De||(h.settings.displayMode&&h.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?tt=!1:tt=!0),{type:"cr",mode:h.mode,newLine:tt,newRow:De,size:ue&&jt(ue,"size").value}},htmlBuilder:function(r,o){if(r.newRow)throw new J("\\cr valid only within a tabular/array environment");var s=oe.makeSpan(["mspace"],[],o);return r.newLine&&(s.classes.push("newline"),r.size&&(s.style.marginTop=an(r.size,o)+"em")),s},mathmlBuilder:function(r,o){var s=new bt.MathNode("mspace");return r.newLine&&(s.setAttribute("linebreak","newline"),r.size&&s.setAttribute("height",an(r.size,o)+"em")),s}});var qo=function(r,o,s){var h=_t.math[r]&&_t.math[r].replace,z=Qt(h||r,o,s);if(!z)throw new Error("Unsupported symbol "+r+" and font size "+o+".");return z},Jo=function(r,o,s,h){var z=s.havingBaseStyle(o),ue=oe.makeSpan(h.concat(z.sizingClasses(s)),[r],s),De=z.sizeMultiplier/s.sizeMultiplier;return ue.height*=De,ue.depth*=De,ue.maxFontSize=z.sizeMultiplier,ue},_a=function(r,o,s){var h=o.havingBaseStyle(s),z=(1-o.sizeMultiplier/h.sizeMultiplier)*o.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=z+"em",r.height-=z,r.depth+=z},Sa=function(r,o,s,h,z,ue){var De=oe.makeSymbol(r,"Main-Regular",z,h),tt=Jo(De,o,h,ue);return s&&_a(tt,h,o),tt},mo=function(r,o,s,h){return oe.makeSymbol(r,"Size"+o+"-Regular",s,h)},oi=function(r,o,s,h,z,ue){var De=mo(r,o,z,h),tt=Jo(oe.makeSpan(["delimsizing","size"+o],[De],h),k.TEXT,h,ue);return s&&_a(tt,h,k.TEXT),tt},lo=function(r,o,s){var h;o==="Size1-Regular"?h="delim-size1":h="delim-size4";var z=oe.makeSpan(["delimsizinginner",h],[oe.makeSpan([],[oe.makeSymbol(r,o,s)])]);return{type:"elem",elem:z}},Go={type:"kern",size:-.005},ii=function(r,o,s,h,z,ue){var De,tt,Ot,or;De=Ot=or=r,tt=null;var xr="Size1-Regular";r==="\\uparrow"?Ot=or="\u23D0":r==="\\Uparrow"?Ot=or="\u2016":r==="\\downarrow"?De=Ot="\u23D0":r==="\\Downarrow"?De=Ot="\u2016":r==="\\updownarrow"?(De="\\uparrow",Ot="\u23D0",or="\\downarrow"):r==="\\Updownarrow"?(De="\\Uparrow",Ot="\u2016",or="\\Downarrow"):r==="["||r==="\\lbrack"?(De="\u23A1",Ot="\u23A2",or="\u23A3",xr="Size4-Regular"):r==="]"||r==="\\rbrack"?(De="\u23A4",Ot="\u23A5",or="\u23A6",xr="Size4-Regular"):r==="\\lfloor"||r==="\u230A"?(Ot=De="\u23A2",or="\u23A3",xr="Size4-Regular"):r==="\\lceil"||r==="\u2308"?(De="\u23A1",Ot=or="\u23A2",xr="Size4-Regular"):r==="\\rfloor"||r==="\u230B"?(Ot=De="\u23A5",or="\u23A6",xr="Size4-Regular"):r==="\\rceil"||r==="\u2309"?(De="\u23A4",Ot=or="\u23A5",xr="Size4-Regular"):r==="("||r==="\\lparen"?(De="\u239B",Ot="\u239C",or="\u239D",xr="Size4-Regular"):r===")"||r==="\\rparen"?(De="\u239E",Ot="\u239F",or="\u23A0",xr="Size4-Regular"):r==="\\{"||r==="\\lbrace"?(De="\u23A7",tt="\u23A8",or="\u23A9",Ot="\u23AA",xr="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(De="\u23AB",tt="\u23AC",or="\u23AD",Ot="\u23AA",xr="Size4-Regular"):r==="\\lgroup"||r==="\u27EE"?(De="\u23A7",or="\u23A9",Ot="\u23AA",xr="Size4-Regular"):r==="\\rgroup"||r==="\u27EF"?(De="\u23AB",or="\u23AD",Ot="\u23AA",xr="Size4-Regular"):r==="\\lmoustache"||r==="\u23B0"?(De="\u23A7",or="\u23AD",Ot="\u23AA",xr="Size4-Regular"):(r==="\\rmoustache"||r==="\u23B1")&&(De="\u23AB",or="\u23A9",Ot="\u23AA",xr="Size4-Regular");var Wr=qo(De,xr,z),pn=Wr.height+Wr.depth,Pn=qo(Ot,xr,z),Fn=Pn.height+Pn.depth,ea=qo(or,xr,z),fa=ea.height+ea.depth,u=0,e=1;if(tt!==null){var n=qo(tt,xr,z);u=n.height+n.depth,e=2}var f=pn+fa+u,O=Math.max(0,Math.ceil((o-f)/(e*Fn))),Q=f+O*e*Fn,je=h.fontMetrics().axisHeight;s&&(je*=h.sizeMultiplier);var Ve=Q/2-je,qe=(O+1)*.005-Fn,Dt=[];if(Dt.push(lo(or,xr,z)),tt===null)for(var mr=0;mr<O;mr++)Dt.push(Go),Dt.push(lo(Ot,xr,z));else{for(var Nr=0;Nr<O;Nr++)Dt.push(Go),Dt.push(lo(Ot,xr,z));Dt.push({type:"kern",size:qe}),Dt.push(lo(Ot,xr,z)),Dt.push(Go),Dt.push(lo(tt,xr,z));for(var Ir=0;Ir<O;Ir++)Dt.push(Go),Dt.push(lo(Ot,xr,z))}Dt.push({type:"kern",size:qe}),Dt.push(lo(Ot,xr,z)),Dt.push(Go),Dt.push(lo(De,xr,z));var Ar=h.havingBaseStyle(k.TEXT),Yr=oe.makeVList({positionType:"bottom",positionData:Ve,children:Dt},Ar);return Jo(oe.makeSpan(["delimsizing","mult"],[Yr],Ar),k.TEXT,h,ue)},Dn=80,Xa=.08,ia=function(r,o,s,h,z){var ue=tr(r,h,s),De=new At(r,ue),tt=new Ye([De],{width:"400em",height:o+"em",viewBox:"0 0 400000 "+s,preserveAspectRatio:"xMinYMin slice"});return oe.makeSvgSpan(["hide-tail"],[tt],z)},aa=function(r,o){var s=o.havingBaseSizing(),h=wo("\\surd",r*s.sizeMultiplier,Ua,s),z=s.sizeMultiplier,ue=Math.max(0,o.minRuleThickness-o.fontMetrics().sqrtRuleThickness),De,tt=0,Ot=0,or=0,xr;return h.type==="small"?(or=1e3+1e3*ue+Dn,r<1?z=1:r<1.4&&(z=.7),tt=(1+ue+Xa)/z,Ot=(1+ue)/z,De=ia("sqrtMain",tt,or,ue,o),De.style.minWidth="0.853em",xr=.833/z):h.type==="large"?(or=(1e3+Dn)*No[h.size],Ot=(No[h.size]+ue)/z,tt=(No[h.size]+ue+Xa)/z,De=ia("sqrtSize"+h.size,tt,or,ue,o),De.style.minWidth="1.02em",xr=1/z):(tt=r+ue+Xa,Ot=r+ue,or=Math.floor(1e3*r+ue)+Dn,De=ia("sqrtTall",tt,or,ue,o),De.style.minWidth="0.742em",xr=1.056),De.height=Ot,De.style.height=tt+"em",{span:De,advanceWidth:xr,ruleWidth:(o.fontMetrics().sqrtRuleThickness+ue)*z}},Aa=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],za=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Io=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],No=[0,1.2,1.8,2.4,3],ei=function(r,o,s,h,z){if(r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle"),A.contains(Aa,r)||A.contains(Io,r))return oi(r,o,!1,s,h,z);if(A.contains(za,r))return ii(r,No[o],!1,s,h,z);throw new J("Illegal delimiter: '"+r+"'")},di=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],sa=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],Ua=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],go=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},wo=function(r,o,s,h){for(var z=Math.min(2,3-h.style.size),ue=z;ue<s.length&&s[ue].type!=="stack";ue++){var De=qo(r,go(s[ue]),"math"),tt=De.height+De.depth;if(s[ue].type==="small"){var Ot=h.havingBaseStyle(s[ue].style);tt*=Ot.sizeMultiplier}if(tt>o)return s[ue]}return s[s.length-1]},Ko=function(r,o,s,h,z,ue){r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle");var De;A.contains(Io,r)?De=di:A.contains(Aa,r)?De=Ua:De=sa;var tt=wo(r,o,De,h);return tt.type==="small"?Sa(r,tt.style,s,h,z,ue):tt.type==="large"?oi(r,tt.size,s,h,z,ue):ii(r,o,s,h,z,ue)},si=function(r,o,s,h,z,ue){var De=h.fontMetrics().axisHeight*h.sizeMultiplier,tt=901,Ot=5/h.fontMetrics().ptPerEm,or=Math.max(o-De,s+De),xr=Math.max(or/500*tt,2*or-Ot);return Ko(r,xr,!0,h,z,ue)},Bo={sqrtImage:aa,sizedDelim:ei,customSizedDelim:Ko,leftRightDelim:si},Ni={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Mi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function co(F,r){var o=vn(F);if(o&&A.contains(Mi,o.text))return o;throw new J("Invalid delimiter: '"+(o?o.text:JSON.stringify(F))+"' after '"+r.funcName+"'",F)}Rt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(r,o){var s=co(o[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Ni[r.funcName].size,mclass:Ni[r.funcName].mclass,delim:s.text}},htmlBuilder:function(r,o){return r.delim==="."?oe.makeSpan([r.mclass]):Bo.sizedDelim(r.delim,r.size,o,r.mode,[r.mclass])},mathmlBuilder:function(r){var o=[];r.delim!=="."&&o.push(xt(r.delim,r.mode));var s=new bt.MathNode("mo",o);return r.mclass==="mopen"||r.mclass==="mclose"?s.setAttribute("fence","true"):s.setAttribute("fence","false"),s}});function Ao(F){if(!F.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Rt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(r,o){var s=r.parser.gullet.macros.get("\\current@color");if(s&&typeof s!="string")throw new J("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:co(o[0],r).text,color:s}}}),Rt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(r,o){var s=co(o[0],r),h=r.parser;++h.leftrightDepth;var z=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);var ue=jt(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:z,left:s.text,right:ue.delim,rightColor:ue.color}},htmlBuilder:function(r,o){Ao(r);for(var s=Ke(r.body,o,!0,["mopen","mclose"]),h=0,z=0,ue=!1,De=0;De<s.length;De++)s[De].isMiddle?ue=!0:(h=Math.max(s[De].height,h),z=Math.max(s[De].depth,z));h*=o.sizeMultiplier,z*=o.sizeMultiplier;var tt;if(r.left==="."?tt=Nt(o,["mopen"]):tt=Bo.leftRightDelim(r.left,h,z,o,r.mode,["mopen"]),s.unshift(tt),ue)for(var Ot=1;Ot<s.length;Ot++){var or=s[Ot],xr=or.isMiddle;xr&&(s[Ot]=Bo.leftRightDelim(xr.delim,h,z,xr.options,r.mode,[]))}var Wr;if(r.right===".")Wr=Nt(o,["mclose"]);else{var pn=r.rightColor?o.withColor(r.rightColor):o;Wr=Bo.leftRightDelim(r.right,h,z,pn,r.mode,["mclose"])}return s.push(Wr),oe.makeSpan(["minner"],s,o)},mathmlBuilder:function(r,o){Ao(r);var s=zr(r.body,o);if(r.left!=="."){var h=new bt.MathNode("mo",[xt(r.left,r.mode)]);h.setAttribute("fence","true"),s.unshift(h)}if(r.right!=="."){var z=new bt.MathNode("mo",[xt(r.right,r.mode)]);z.setAttribute("fence","true"),r.rightColor&&z.setAttribute("mathcolor",r.rightColor),s.push(z)}return rn(s)}}),Rt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(r,o){var s=co(o[0],r);if(!r.parser.leftrightDepth)throw new J("\\middle without preceding \\left",s);return{type:"middle",mode:r.parser.mode,delim:s.text}},htmlBuilder:function(r,o){var s;if(r.delim===".")s=Nt(o,[]);else{s=Bo.sizedDelim(r.delim,1,o,r.mode,[]);var h={delim:r.delim,options:o};s.isMiddle=h}return s},mathmlBuilder:function(r,o){var s=r.delim==="\\vert"||r.delim==="|"?xt("|","text"):xt(r.delim,r.mode),h=new bt.MathNode("mo",[s]);return h.setAttribute("fence","true"),h.setAttribute("lspace","0.05em"),h.setAttribute("rspace","0.05em"),h}});var Mo=function(r,o){var s=oe.wrapFragment($t(r.body,o),o),h=r.label.substr(1),z=o.sizeMultiplier,ue,De=0,tt=A.isCharacterBox(r.body);if(h==="sout")ue=oe.makeSpan(["stretchy","sout"]),ue.height=o.fontMetrics().defaultRuleThickness/z,De=-.5*o.fontMetrics().xHeight;else{/cancel/.test(h)?tt||s.classes.push("cancel-pad"):s.classes.push("boxpad");var Ot=0,or=0;/box/.test(h)?(or=Math.max(o.fontMetrics().fboxrule,o.minRuleThickness),Ot=o.fontMetrics().fboxsep+(h==="colorbox"?0:or)):Ot=tt?.2:0,ue=ho.encloseSpan(s,h,Ot,o),/fbox|boxed|fcolorbox/.test(h)&&(ue.style.borderStyle="solid",ue.style.borderWidth=or+"em"),De=s.depth+Ot,r.backgroundColor&&(ue.style.backgroundColor=r.backgroundColor,r.borderColor&&(ue.style.borderColor=r.borderColor))}var xr;return r.backgroundColor?xr=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ue,shift:De},{type:"elem",elem:s,shift:0}]},o):xr=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:ue,shift:De,wrapperClasses:/cancel/.test(h)?["svg-align"]:[]}]},o),/cancel/.test(h)&&(xr.height=s.height,xr.depth=s.depth),/cancel/.test(h)&&!tt?oe.makeSpan(["mord","cancel-lap"],[xr],o):oe.makeSpan(["mord"],[xr],o)},li=function(r,o){var s=0,h=new bt.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[nn(r.body,o)]);switch(r.label){case"\\cancel":h.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":h.setAttribute("notation","downdiagonalstrike");break;case"\\sout":h.setAttribute("notation","horizontalstrike");break;case"\\fbox":h.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(s=o.fontMetrics().fboxsep*o.fontMetrics().ptPerEm,h.setAttribute("width","+"+2*s+"pt"),h.setAttribute("height","+"+2*s+"pt"),h.setAttribute("lspace",s+"pt"),h.setAttribute("voffset",s+"pt"),r.label==="\\fcolorbox"){var z=Math.max(o.fontMetrics().fboxrule,o.minRuleThickness);h.setAttribute("style","border: "+z+"em solid "+String(r.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&h.setAttribute("mathbackground",r.backgroundColor),h};Rt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(r,o,s){var h=r.parser,z=r.funcName,ue=jt(o[0],"color-token").color,De=o[1];return{type:"enclose",mode:h.mode,label:z,backgroundColor:ue,body:De}},htmlBuilder:Mo,mathmlBuilder:li}),Rt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(r,o,s){var h=r.parser,z=r.funcName,ue=jt(o[0],"color-token").color,De=jt(o[1],"color-token").color,tt=o[2];return{type:"enclose",mode:h.mode,label:z,backgroundColor:De,borderColor:ue,body:tt}},htmlBuilder:Mo,mathmlBuilder:li}),Rt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,o){var s=r.parser;return{type:"enclose",mode:s.mode,label:"\\fbox",body:o[0]}}}),Rt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(r,o,s){var h=r.parser,z=r.funcName,ue=o[0];return{type:"enclose",mode:h.mode,label:z,body:ue}},htmlBuilder:Mo,mathmlBuilder:li});var Po={};function ao(F){for(var r=F.type,o=F.names,s=F.props,h=F.handler,z=F.htmlBuilder,ue=F.mathmlBuilder,De={type:r,numArgs:s.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:h},tt=0;tt<o.length;++tt)Po[o[tt]]=De;z&&(Ct[r]=z),ue&&(ir[r]=ue)}function Qo(F){var r=[];F.consumeSpaces();for(var o=F.fetch().text;o==="\\hline"||o==="\\hdashline";)F.consume(),r.push(o==="\\hdashline"),F.consumeSpaces(),o=F.fetch().text;return r}function uo(F,r,o){var s=r.hskipBeforeAndAfter,h=r.addJot,z=r.cols,ue=r.arraystretch,De=r.colSeparationType;if(F.gullet.beginGroup(),F.gullet.macros.set("\\\\","\\cr"),!ue){var tt=F.gullet.expandMacroAsText("\\arraystretch");if(tt==null)ue=1;else if(ue=parseFloat(tt),!ue||ue<0)throw new J("Invalid \\arraystretch: "+tt)}F.gullet.beginGroup();var Ot=[],or=[Ot],xr=[],Wr=[];for(Wr.push(Qo(F));;){var pn=F.parseExpression(!1,"\\cr");F.gullet.endGroup(),F.gullet.beginGroup(),pn={type:"ordgroup",mode:F.mode,body:pn},o&&(pn={type:"styling",mode:F.mode,style:o,body:[pn]}),Ot.push(pn);var Pn=F.fetch().text;if(Pn==="&")F.consume();else if(Pn==="\\end"){Ot.length===1&&pn.type==="styling"&&pn.body[0].body.length===0&&or.pop(),Wr.length<or.length+1&&Wr.push([]);break}else if(Pn==="\\cr"){var Fn=jt(F.parseFunction(),"cr");xr.push(Fn.size),Wr.push(Qo(F)),Ot=[],or.push(Ot)}else throw new J("Expected & or \\\\ or \\cr or \\end",F.nextToken)}return F.gullet.endGroup(),F.gullet.endGroup(),{type:"array",mode:F.mode,addJot:h,arraystretch:ue,body:or,cols:z,rowGaps:xr,hskipBeforeAndAfter:s,hLinesBeforeRow:Wr,colSeparationType:De}}function fi(F){return F.substr(0,1)==="d"?"display":"text"}var Do=function(r,o){var s,h,z=r.body.length,ue=r.hLinesBeforeRow,De=0,tt=new Array(z),Ot=[],or=Math.max(o.fontMetrics().arrayRuleWidth,o.minRuleThickness),xr=1/o.fontMetrics().ptPerEm,Wr=5*xr;if(r.colSeparationType&&r.colSeparationType==="small"){var pn=o.havingStyle(k.SCRIPT).sizeMultiplier;Wr=.2778*(pn/o.sizeMultiplier)}var Pn=12*xr,Fn=3*xr,ea=r.arraystretch*Pn,fa=.7*ea,u=.3*ea,e=0;function n(Pi){for(var ni=0;ni<Pi.length;++ni)ni>0&&(e+=.25),Ot.push({pos:e,isDashed:Pi[ni]})}for(n(ue[0]),s=0;s<r.body.length;++s){var f=r.body[s],O=fa,Q=u;De<f.length&&(De=f.length);var je=new Array(f.length);for(h=0;h<f.length;++h){var Ve=$t(f[h],o);Q<Ve.depth&&(Q=Ve.depth),O<Ve.height&&(O=Ve.height),je[h]=Ve}var qe=r.rowGaps[s],Dt=0;qe&&(Dt=an(qe,o),Dt>0&&(Dt+=u,Q<Dt&&(Q=Dt),Dt=0)),r.addJot&&(Q+=Fn),je.height=O,je.depth=Q,e+=O,je.pos=e,e+=Q+Dt,tt[s]=je,n(ue[s+1])}var mr=e/2+o.fontMetrics().axisHeight,Nr=r.cols||[],Ir=[],Ar,Yr;for(h=0,Yr=0;h<De||Yr<Nr.length;++h,++Yr){for(var hn=Nr[Yr]||{},kn=!0;hn.type==="separator";){if(kn||(Ar=oe.makeSpan(["arraycolsep"],[]),Ar.style.width=o.fontMetrics().doubleRuleSep+"em",Ir.push(Ar)),hn.separator==="|"||hn.separator===":"){var Gn=hn.separator==="|"?"solid":"dashed",ua=oe.makeSpan(["vertical-separator"],[],o);ua.style.height=e+"em",ua.style.borderRightWidth=or+"em",ua.style.borderRightStyle=Gn,ua.style.margin="0 -"+or/2+"em",ua.style.verticalAlign=-(e-mr)+"em",Ir.push(ua)}else throw new J("Invalid separator type: "+hn.separator);Yr++,hn=Nr[Yr]||{},kn=!1}if(!(h>=De)){var da=void 0;(h>0||r.hskipBeforeAndAfter)&&(da=A.deflt(hn.pregap,Wr),da!==0&&(Ar=oe.makeSpan(["arraycolsep"],[]),Ar.style.width=da+"em",Ir.push(Ar)));var Ba=[];for(s=0;s<z;++s){var ga=tt[s],Wa=ga[h];if(Wa){var Ya=ga.pos-mr;Wa.depth=ga.depth,Wa.height=ga.height,Ba.push({type:"elem",elem:Wa,shift:Ya})}}Ba=oe.makeVList({positionType:"individualShift",children:Ba},o),Ba=oe.makeSpan(["col-align-"+(hn.align||"c")],[Ba]),Ir.push(Ba),(h<De-1||r.hskipBeforeAndAfter)&&(da=A.deflt(hn.postgap,Wr),da!==0&&(Ar=oe.makeSpan(["arraycolsep"],[]),Ar.style.width=da+"em",Ir.push(Ar)))}}if(tt=oe.makeSpan(["mtable"],Ir),Ot.length>0){for(var Lo=oe.makeLineSpan("hline",o,or),vo=oe.makeLineSpan("hdashline",o,or),Ci=[{type:"elem",elem:tt,shift:0}];Ot.length>0;){var Zo=Ot.pop(),Ho=Zo.pos-mr;Zo.isDashed?Ci.push({type:"elem",elem:vo,shift:Ho}):Ci.push({type:"elem",elem:Lo,shift:Ho})}tt=oe.makeVList({positionType:"individualShift",children:Ci},o)}return oe.makeSpan(["mord"],[tt],o)},Ii={c:"center ",l:"left ",r:"right "},bi=function(r,o){var s=new bt.MathNode("mtable",r.body.map(function(e){return new bt.MathNode("mtr",e.map(function(n){return new bt.MathNode("mtd",[nn(n,o)])}))})),h=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);s.setAttribute("rowspacing",h+"em");var z="",ue="";if(r.cols){var De=r.cols,tt="",Ot=!1,or=0,xr=De.length;De[0].type==="separator"&&(z+="top ",or=1),De[De.length-1].type==="separator"&&(z+="bottom ",xr-=1);for(var Wr=or;Wr<xr;Wr++)De[Wr].type==="align"?(ue+=Ii[De[Wr].align],Ot&&(tt+="none "),Ot=!0):De[Wr].type==="separator"&&Ot&&(tt+=De[Wr].separator==="|"?"solid ":"dashed ",Ot=!1);s.setAttribute("columnalign",ue.trim()),/[sd]/.test(tt)&&s.setAttribute("columnlines",tt.trim())}if(r.colSeparationType==="align"){for(var pn=r.cols||[],Pn="",Fn=1;Fn<pn.length;Fn++)Pn+=Fn%2?"0em ":"1em ";s.setAttribute("columnspacing",Pn.trim())}else r.colSeparationType==="alignat"?s.setAttribute("columnspacing","0em"):r.colSeparationType==="small"?s.setAttribute("columnspacing","0.2778em"):s.setAttribute("columnspacing","1em");var ea="",fa=r.hLinesBeforeRow;z+=fa[0].length>0?"left ":"",z+=fa[fa.length-1].length>0?"right ":"";for(var u=1;u<fa.length-1;u++)ea+=fa[u].length===0?"none ":fa[u][0]?"dashed ":"solid ";return/[sd]/.test(ea)&&s.setAttribute("rowlines",ea.trim()),z!==""&&(s=new bt.MathNode("menclose",[s]),s.setAttribute("notation",z.trim())),r.arraystretch&&r.arraystretch<1&&(s=new bt.MathNode("mstyle",[s]),s.setAttribute("scriptlevel","1")),s},es=function(r,o){var s=[],h=uo(r.parser,{cols:s,addJot:!0},"display"),z,ue=0,De={type:"ordgroup",mode:r.mode,body:[]},tt=lt(o[0],"ordgroup");if(tt){for(var Ot="",or=0;or<tt.body.length;or++){var xr=jt(tt.body[or],"textord");Ot+=xr.text}z=Number(Ot),ue=z*2}var Wr=!ue;h.body.forEach(function(ea){for(var fa=1;fa<ea.length;fa+=2){var u=jt(ea[fa],"styling"),e=jt(u.body[0],"ordgroup");e.body.unshift(De)}if(Wr)ue<ea.length&&(ue=ea.length);else{var n=ea.length/2;if(z<n)throw new J("Too many math in a row: "+("expected "+z+", but got "+n),ea[0])}});for(var pn=0;pn<ue;++pn){var Pn="r",Fn=0;pn%2===1?Pn="l":pn>0&&Wr&&(Fn=1),s[pn]={type:"align",align:Pn,pregap:Fn,postgap:0}}return h.colSeparationType=Wr?"align":"alignat",h};ao({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,o){var s=vn(o[0]),h=s?[o[0]]:jt(o[0],"ordgroup").body,z=h.map(function(De){var tt=cn(De),Ot=tt.text;if("lcr".indexOf(Ot)!==-1)return{type:"align",align:Ot};if(Ot==="|")return{type:"separator",separator:"|"};if(Ot===":")return{type:"separator",separator:":"};throw new J("Unknown column alignment: "+Ot,De)}),ue={cols:z,hskipBeforeAndAfter:!0};return uo(r.parser,ue,fi(r.envName))},htmlBuilder:Do,mathmlBuilder:bi}),ao({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(r){var o={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName],s={hskipBeforeAndAfter:!1},h=uo(r.parser,s,fi(r.envName));return o?{type:"leftright",mode:r.mode,body:[h],left:o[0],right:o[1],rightColor:void 0}:h},htmlBuilder:Do,mathmlBuilder:bi}),ao({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var o={arraystretch:.5},s=uo(r.parser,o,"script");return s.colSeparationType="small",s},htmlBuilder:Do,mathmlBuilder:bi}),ao({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,o){var s=vn(o[0]),h=s?[o[0]]:jt(o[0],"ordgroup").body,z=h.map(function(De){var tt=cn(De),Ot=tt.text;if("lc".indexOf(Ot)!==-1)return{type:"align",align:Ot};throw new J("Unknown column alignment: "+Ot,De)});if(z.length>1)throw new J("{subarray} can contain only one column");var ue={cols:z,hskipBeforeAndAfter:!1,arraystretch:.5};if(ue=uo(r.parser,ue,"script"),ue.body[0].length>1)throw new J("{subarray} can contain only one column");return ue},htmlBuilder:Do,mathmlBuilder:bi}),ao({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(r){var o={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},s=uo(r.parser,o,fi(r.envName));return{type:"leftright",mode:r.mode,body:[s],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Do,mathmlBuilder:bi}),ao({type:"array",names:["aligned"],props:{numArgs:0},handler:es,htmlBuilder:Do,mathmlBuilder:bi}),ao({type:"array",names:["gathered"],props:{numArgs:0},handler:function(r){var o={cols:[{type:"align",align:"c"}],addJot:!0};return uo(r.parser,o,"display")},htmlBuilder:Do,mathmlBuilder:bi}),ao({type:"array",names:["alignedat"],props:{numArgs:1},handler:es,htmlBuilder:Do,mathmlBuilder:bi}),Rt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,o){throw new J(r.funcName+" valid only within array environment")}});var Ma=Po,Ji=Ma;Rt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0];if(z.type!=="ordgroup")throw new J("Invalid environment name",z);for(var ue="",De=0;De<z.body.length;++De)ue+=jt(z.body[De],"textord").text;if(h==="\\begin"){if(!Ji.hasOwnProperty(ue))throw new J("No such environment: "+ue,z);var tt=Ji[ue],Ot=s.parseArguments("\\begin{"+ue+"}",tt),or=Ot.args,xr=Ot.optArgs,Wr={mode:s.mode,envName:ue,parser:s},pn=tt.handler(Wr,or,xr);s.expect("\\end",!1);var Pn=s.nextToken,Fn=jt(s.parseFunction(),"environment");if(Fn.name!==ue)throw new J("Mismatch: \\begin{"+ue+"} matched by \\end{"+Fn.name+"}",Pn);return pn}return{type:"environment",mode:s.mode,name:ue,nameGroup:z}}});var $i=oe.makeSpan;function Ai(F,r){var o=Ke(F.body,r,!0);return $i([F.mclass],o,r)}function Ti(F,r){var o,s=zr(F.body,r);return F.mclass==="minner"?bt.newDocumentFragment(s):(F.mclass==="mord"?F.isCharacterBox?(o=s[0],o.type="mi"):o=new bt.MathNode("mi",s):(F.isCharacterBox?(o=s[0],o.type="mo"):o=new bt.MathNode("mo",s),F.mclass==="mbin"?(o.attributes.lspace="0.22em",o.attributes.rspace="0.22em"):F.mclass==="mpunct"?(o.attributes.lspace="0em",o.attributes.rspace="0.17em"):(F.mclass==="mopen"||F.mclass==="mclose")&&(o.attributes.lspace="0em",o.attributes.rspace="0em")),o)}Rt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0];return{type:"mclass",mode:s.mode,mclass:"m"+h.substr(5),body:br(z),isCharacterBox:A.isCharacterBox(z)}},htmlBuilder:Ai,mathmlBuilder:Ti});var Zi=function(r){var o=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return o.type==="atom"&&(o.family==="bin"||o.family==="rel")?"m"+o.family:"mord"};Rt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,o){var s=r.parser;return{type:"mclass",mode:s.mode,mclass:Zi(o[0]),body:[o[1]],isCharacterBox:A.isCharacterBox(o[1])}}}),Rt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[1],ue=o[0],De;h!=="\\stackrel"?De=Zi(z):De="mrel";var tt={type:"op",mode:z.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:br(z)},Ot={type:"supsub",mode:ue.mode,base:tt,sup:h==="\\underset"?null:ue,sub:h==="\\underset"?ue:null};return{type:"mclass",mode:s.mode,mclass:De,body:[Ot],isCharacterBox:A.isCharacterBox(Ot)}},htmlBuilder:Ai,mathmlBuilder:Ti});var Ei=function(r,o){var s=r.font,h=o.withFont(s);return $t(r.body,h)},Di=function(r,o){var s=r.font,h=o.withFont(s);return nn(r.body,h)},Fo={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Rt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0],ue=h;return ue in Fo&&(ue=Fo[ue]),{type:"font",mode:s.mode,font:ue.slice(1),body:z}},htmlBuilder:Ei,mathmlBuilder:Di}),Rt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(r,o){var s=r.parser,h=o[0],z=A.isCharacterBox(h);return{type:"mclass",mode:s.mode,mclass:Zi(h),body:[{type:"font",mode:s.mode,font:"boldsymbol",body:h}],isCharacterBox:z}}}),Rt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(r,o){var s=r.parser,h=r.funcName,z=r.breakOnTokenText,ue=s.mode,De=s.parseExpression(!0,z),tt="math"+h.slice(1);return{type:"font",mode:ue,font:tt,body:{type:"ordgroup",mode:s.mode,body:De}}},htmlBuilder:Ei,mathmlBuilder:Di});var Gi=function(r,o){var s=o;return r==="display"?s=s.id>=k.SCRIPT.id?s.text():k.DISPLAY:r==="text"&&s.size===k.DISPLAY.size?s=k.TEXT:r==="script"?s=k.SCRIPT:r==="scriptscript"&&(s=k.SCRIPTSCRIPT),s},ft=function(r,o){var s=Gi(r.size,o.style),h=s.fracNum(),z=s.fracDen(),ue;ue=o.havingStyle(h);var De=$t(r.numer,ue,o);if(r.continued){var tt=8.5/o.fontMetrics().ptPerEm,Ot=3.5/o.fontMetrics().ptPerEm;De.height=De.height<tt?tt:De.height,De.depth=De.depth<Ot?Ot:De.depth}ue=o.havingStyle(z);var or=$t(r.denom,ue,o),xr,Wr,pn;r.hasBarLine?(r.barSize?(Wr=an(r.barSize,o),xr=oe.makeLineSpan("frac-line",o,Wr)):xr=oe.makeLineSpan("frac-line",o),Wr=xr.height,pn=xr.height):(xr=null,Wr=0,pn=o.fontMetrics().defaultRuleThickness);var Pn,Fn,ea;s.size===k.DISPLAY.size||r.size==="display"?(Pn=o.fontMetrics().num1,Wr>0?Fn=3*pn:Fn=7*pn,ea=o.fontMetrics().denom1):(Wr>0?(Pn=o.fontMetrics().num2,Fn=pn):(Pn=o.fontMetrics().num3,Fn=3*pn),ea=o.fontMetrics().denom2);var fa;if(xr){var e=o.fontMetrics().axisHeight;Pn-De.depth-(e+.5*Wr)<Fn&&(Pn+=Fn-(Pn-De.depth-(e+.5*Wr))),e-.5*Wr-(or.height-ea)<Fn&&(ea+=Fn-(e-.5*Wr-(or.height-ea)));var n=-(e-.5*Wr);fa=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:or,shift:ea},{type:"elem",elem:xr,shift:n},{type:"elem",elem:De,shift:-Pn}]},o)}else{var u=Pn-De.depth-(or.height-ea);u<Fn&&(Pn+=.5*(Fn-u),ea+=.5*(Fn-u)),fa=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:or,shift:ea},{type:"elem",elem:De,shift:-Pn}]},o)}ue=o.havingStyle(s),fa.height*=ue.sizeMultiplier/o.sizeMultiplier,fa.depth*=ue.sizeMultiplier/o.sizeMultiplier;var f;s.size===k.DISPLAY.size?f=o.fontMetrics().delim1:f=o.fontMetrics().delim2;var O,Q;return r.leftDelim==null?O=Nt(o,["mopen"]):O=Bo.customSizedDelim(r.leftDelim,f,!0,o.havingStyle(s),r.mode,["mopen"]),r.continued?Q=oe.makeSpan([]):r.rightDelim==null?Q=Nt(o,["mclose"]):Q=Bo.customSizedDelim(r.rightDelim,f,!0,o.havingStyle(s),r.mode,["mclose"]),oe.makeSpan(["mord"].concat(ue.sizingClasses(o)),[O,oe.makeSpan(["mfrac"],[fa]),Q],o)},is=function(r,o){var s=new bt.MathNode("mfrac",[nn(r.numer,o),nn(r.denom,o)]);if(!r.hasBarLine)s.setAttribute("linethickness","0px");else if(r.barSize){var h=an(r.barSize,o);s.setAttribute("linethickness",h+"em")}var z=Gi(r.size,o.style);if(z.size!==o.style.size){s=new bt.MathNode("mstyle",[s]);var ue=z.size===k.DISPLAY.size?"true":"false";s.setAttribute("displaystyle",ue),s.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var De=[];if(r.leftDelim!=null){var tt=new bt.MathNode("mo",[new bt.TextNode(r.leftDelim.replace("\\",""))]);tt.setAttribute("fence","true"),De.push(tt)}if(De.push(s),r.rightDelim!=null){var Ot=new bt.MathNode("mo",[new bt.TextNode(r.rightDelim.replace("\\",""))]);Ot.setAttribute("fence","true"),De.push(Ot)}return rn(De)}return s};Rt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0],ue=o[1],De,tt=null,Ot=null,or="auto";switch(h){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":De=!0;break;case"\\\\atopfrac":De=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":De=!1,tt="(",Ot=")";break;case"\\\\bracefrac":De=!1,tt="\\{",Ot="\\}";break;case"\\\\brackfrac":De=!1,tt="[",Ot="]";break;default:throw new Error("Unrecognized genfrac command")}switch(h){case"\\cfrac":case"\\dfrac":case"\\dbinom":or="display";break;case"\\tfrac":case"\\tbinom":or="text";break}return{type:"genfrac",mode:s.mode,continued:h==="\\cfrac",numer:z,denom:ue,hasBarLine:De,leftDelim:tt,rightDelim:Ot,size:or,barSize:null}},htmlBuilder:ft,mathmlBuilder:is}),Rt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(r){var o=r.parser,s=r.funcName,h=r.token,z;switch(s){case"\\over":z="\\frac";break;case"\\choose":z="\\binom";break;case"\\atop":z="\\\\atopfrac";break;case"\\brace":z="\\\\bracefrac";break;case"\\brack":z="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:o.mode,replaceWith:z,token:h}}});var Qi=["display","text","script","scriptscript"],ts=function(r){var o=null;return r.length>0&&(o=r,o=o==="."?null:o),o};Rt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(r,o){var s=r.parser,h=o[4],z=o[5],ue=lt(o[0],"atom");ue&&(ue=Zt(o[0],"open"));var De=ue?ts(ue.text):null,tt=lt(o[1],"atom");tt&&(tt=Zt(o[1],"close"));var Ot=tt?ts(tt.text):null,or=jt(o[2],"size"),xr,Wr=null;or.isBlank?xr=!0:(Wr=or.value,xr=Wr.number>0);var pn="auto",Pn=lt(o[3],"ordgroup");if(Pn){if(Pn.body.length>0){var Fn=jt(Pn.body[0],"textord");pn=Qi[Number(Fn.text)]}}else Pn=jt(o[3],"textord"),pn=Qi[Number(Pn.text)];return{type:"genfrac",mode:s.mode,numer:h,denom:z,continued:!1,hasBarLine:xr,barSize:Wr,leftDelim:De,rightDelim:Ot,size:pn}},htmlBuilder:ft,mathmlBuilder:is}),Rt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,o){var s=r.parser,h=r.funcName,z=r.token;return{type:"infix",mode:s.mode,replaceWith:"\\\\abovefrac",size:jt(o[0],"size").value,token:z}}}),Rt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0],ue=E(jt(o[1],"infix").size),De=o[2],tt=ue.number>0;return{type:"genfrac",mode:s.mode,numer:z,denom:De,continued:!1,hasBarLine:tt,barSize:ue,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ft,mathmlBuilder:is});var Bi=function(r,o){var s=o.style,h,z,ue=lt(r,"supsub");ue?(h=ue.sup?$t(ue.sup,o.havingStyle(s.sup()),o):$t(ue.sub,o.havingStyle(s.sub()),o),z=jt(ue.base,"horizBrace")):z=jt(r,"horizBrace");var De=$t(z.base,o.havingBaseStyle(k.DISPLAY)),tt=ho.svgSpan(z,o),Ot;if(z.isOver?(Ot=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:.1},{type:"elem",elem:tt}]},o),Ot.children[0].children[0].children[1].classes.push("svg-align")):(Ot=oe.makeVList({positionType:"bottom",positionData:De.depth+.1+tt.height,children:[{type:"elem",elem:tt},{type:"kern",size:.1},{type:"elem",elem:De}]},o),Ot.children[0].children[0].children[0].classes.push("svg-align")),h){var or=oe.makeSpan(["mord",z.isOver?"mover":"munder"],[Ot],o);z.isOver?Ot=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:or},{type:"kern",size:.2},{type:"elem",elem:h}]},o):Ot=oe.makeVList({positionType:"bottom",positionData:or.depth+.2+h.height+h.depth,children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:or}]},o)}return oe.makeSpan(["mord",z.isOver?"mover":"munder"],[Ot],o)},Wi=function(r,o){var s=ho.mathMLnode(r.label);return new bt.MathNode(r.isOver?"mover":"munder",[nn(r.base,o),s])};Rt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,o){var s=r.parser,h=r.funcName;return{type:"horizBrace",mode:s.mode,label:h,isOver:/^\\over/.test(h),base:o[0]}},htmlBuilder:Bi,mathmlBuilder:Wi}),Rt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,o){var s=r.parser,h=o[1],z=jt(o[0],"url").url;return s.settings.isTrusted({command:"\\href",url:z})?{type:"href",mode:s.mode,href:z,body:br(h)}:s.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,o){var s=Ke(r.body,o,!1);return oe.makeAnchor(r.href,[],s,o)},mathmlBuilder:function(r,o){var s=dn(r.body,o);return s instanceof Hr||(s=new Hr("mrow",[s])),s.setAttribute("href",r.href),s}}),Rt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,o){var s=r.parser,h=jt(o[0],"url").url;if(!s.settings.isTrusted({command:"\\url",url:h}))return s.formatUnsupportedCmd("\\url");for(var z=[],ue=0;ue<h.length;ue++){var De=h[ue];De==="~"&&(De="\\textasciitilde"),z.push({type:"textord",mode:"text",text:De})}var tt={type:"text",mode:s.mode,font:"\\texttt",body:z};return{type:"href",mode:s.mode,href:h,body:br(tt)}}}),Rt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(r,o){var s=r.parser;return{type:"htmlmathml",mode:s.mode,html:br(o[0]),mathml:br(o[1])}},htmlBuilder:function(r,o){var s=Ke(r.html,o,!1);return oe.makeFragment(s)},mathmlBuilder:function(r,o){return dn(r.mathml,o)}});var Pa=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!o)throw new J("Invalid size: '"+r+"' in \\includegraphics");var s={number:+(o[1]+o[2]),unit:o[3]};if(!Sn(s))throw new J("Invalid unit: '"+s.unit+"' in \\includegraphics.");return s};Rt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(r,o,s){var h=r.parser,z={number:0,unit:"em"},ue={number:.9,unit:"em"},De={number:0,unit:"em"},tt="";if(s[0])for(var Ot=jt(s[0],"raw").string,or=Ot.split(","),xr=0;xr<or.length;xr++){var Wr=or[xr].split("=");if(Wr.length===2){var pn=Wr[1].trim();switch(Wr[0].trim()){case"alt":tt=pn;break;case"width":z=Pa(pn);break;case"height":ue=Pa(pn);break;case"totalheight":De=Pa(pn);break;default:throw new J("Invalid key: '"+Wr[0]+"' in \\includegraphics.")}}}var Pn=jt(o[0],"url").url;return tt===""&&(tt=Pn,tt=tt.replace(/^.*[\\/]/,""),tt=tt.substring(0,tt.lastIndexOf("."))),h.settings.isTrusted({command:"\\includegraphics",url:Pn})?{type:"includegraphics",mode:h.mode,alt:tt,width:z,height:ue,totalheight:De,src:Pn}:h.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,o){var s=an(r.height,o),h=0;r.totalheight.number>0&&(h=an(r.totalheight,o)-s,h=Number(h.toFixed(2)));var z=0;r.width.number>0&&(z=an(r.width,o));var ue={height:s+h+"em"};z>0&&(ue.width=z+"em"),h>0&&(ue.verticalAlign=-h+"em");var De=new we(r.src,r.alt,ue);return De.height=s,De.depth=h,De},mathmlBuilder:function(r,o){var s=new bt.MathNode("mglyph",[]);s.setAttribute("alt",r.alt);var h=an(r.height,o),z=0;if(r.totalheight.number>0&&(z=an(r.totalheight,o)-h,z=z.toFixed(2),s.setAttribute("valign","-"+z+"em")),s.setAttribute("height",h+z+"em"),r.width.number>0){var ue=an(r.width,o);s.setAttribute("width",ue+"em")}return s.setAttribute("src",r.src),s}}),Rt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,o){var s=r.parser,h=r.funcName,z=jt(o[0],"size");if(s.settings.strict){var ue=h[1]==="m",De=z.value.unit==="mu";ue?(De||s.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+z.value.unit+" units")),s.mode!=="math"&&s.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):De&&s.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:s.mode,dimension:z.value}},htmlBuilder:function(r,o){return oe.makeGlue(r.dimension,o)},mathmlBuilder:function(r,o){var s=an(r.dimension,o);return new bt.SpaceNode(s)}}),Rt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0];return{type:"lap",mode:s.mode,alignment:h.slice(5),body:z}},htmlBuilder:function(r,o){var s;r.alignment==="clap"?(s=oe.makeSpan([],[$t(r.body,o)]),s=oe.makeSpan(["inner"],[s],o)):s=oe.makeSpan(["inner"],[$t(r.body,o)]);var h=oe.makeSpan(["fix"],[]),z=oe.makeSpan([r.alignment],[s,h],o),ue=oe.makeSpan(["strut"]);return ue.style.height=z.height+z.depth+"em",ue.style.verticalAlign=-z.depth+"em",z.children.unshift(ue),z=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:z}]},o),oe.makeSpan(["mord"],[z],o)},mathmlBuilder:function(r,o){var s=new bt.MathNode("mpadded",[nn(r.body,o)]);if(r.alignment!=="rlap"){var h=r.alignment==="llap"?"-1":"-0.5";s.setAttribute("lspace",h+"width")}return s.setAttribute("width","0px"),s}}),Rt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,o){var s=r.funcName,h=r.parser,z=h.mode;h.switchMode("math");var ue=s==="\\("?"\\)":"$",De=h.parseExpression(!1,ue);return h.expect(ue),h.switchMode(z),{type:"styling",mode:h.mode,style:"text",body:De}}}),Rt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,o){throw new J("Mismatched "+r.funcName)}});var $o=function(r,o){switch(o.style.size){case k.DISPLAY.size:return r.display;case k.TEXT.size:return r.text;case k.SCRIPT.size:return r.script;case k.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};Rt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(r,o){var s=r.parser;return{type:"mathchoice",mode:s.mode,display:br(o[0]),text:br(o[1]),script:br(o[2]),scriptscript:br(o[3])}},htmlBuilder:function(r,o){var s=$o(r,o),h=Ke(s,o,!1);return oe.makeFragment(h)},mathmlBuilder:function(r,o){var s=$o(r,o);return dn(s,o)}});var se=function(r,o,s,h,z,ue,De){r=oe.makeSpan([],[r]);var tt,Ot;if(o){var or=$t(o,h.havingStyle(z.sup()),h);Ot={elem:or,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-or.depth)}}if(s){var xr=$t(s,h.havingStyle(z.sub()),h);tt={elem:xr,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-xr.height)}}var Wr;if(Ot&&tt){var pn=h.fontMetrics().bigOpSpacing5+tt.elem.height+tt.elem.depth+tt.kern+r.depth+De;Wr=oe.makeVList({positionType:"bottom",positionData:pn,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:tt.elem,marginLeft:-ue+"em"},{type:"kern",size:tt.kern},{type:"elem",elem:r},{type:"kern",size:Ot.kern},{type:"elem",elem:Ot.elem,marginLeft:ue+"em"},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else if(tt){var Pn=r.height-De;Wr=oe.makeVList({positionType:"top",positionData:Pn,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:tt.elem,marginLeft:-ue+"em"},{type:"kern",size:tt.kern},{type:"elem",elem:r}]},h)}else if(Ot){var Fn=r.depth+De;Wr=oe.makeVList({positionType:"bottom",positionData:Fn,children:[{type:"elem",elem:r},{type:"kern",size:Ot.kern},{type:"elem",elem:Ot.elem,marginLeft:ue+"em"},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else return r;return oe.makeSpan(["mop","op-limits"],[Wr],h)},xe=["\\smallint"],ct=function(r,o){var s,h,z=!1,ue,De=lt(r,"supsub");De?(s=De.sup,h=De.sub,ue=jt(De.base,"op"),z=!0):ue=jt(r,"op");var tt=o.style,Ot=!1;tt.size===k.DISPLAY.size&&ue.symbol&&!A.contains(xe,ue.name)&&(Ot=!0);var or;if(ue.symbol){var xr=Ot?"Size2-Regular":"Size1-Regular",Wr="";if((ue.name==="\\oiint"||ue.name==="\\oiiint")&&(Wr=ue.name.substr(1),ue.name=Wr==="oiint"?"\\iint":"\\iiint"),or=oe.makeSymbol(ue.name,xr,"math",o,["mop","op-symbol",Ot?"large-op":"small-op"]),Wr.length>0){var pn=or.italic,Pn=oe.staticSvg(Wr+"Size"+(Ot?"2":"1"),o);or=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:or,shift:0},{type:"elem",elem:Pn,shift:Ot?.08:0}]},o),ue.name="\\"+Wr,or.classes.unshift("mop"),or.italic=pn}}else if(ue.body){var Fn=Ke(ue.body,o,!0);Fn.length===1&&Fn[0]instanceof Ae?(or=Fn[0],or.classes[0]="mop"):or=oe.makeSpan(["mop"],oe.tryCombineChars(Fn),o)}else{for(var ea=[],fa=1;fa<ue.name.length;fa++)ea.push(oe.mathsym(ue.name[fa],ue.mode,o));or=oe.makeSpan(["mop"],ea,o)}var u=0,e=0;return(or instanceof Ae||ue.name==="\\oiint"||ue.name==="\\oiiint")&&!ue.suppressBaseShift&&(u=(or.height-or.depth)/2-o.fontMetrics().axisHeight,e=or.italic),z?se(or,s,h,o,tt,e,u):(u&&(or.style.position="relative",or.style.top=u+"em"),or)},gt=function(r,o){var s;if(r.symbol)s=new Hr("mo",[xt(r.name,r.mode)]),A.contains(xe,r.name)&&s.setAttribute("largeop","false");else if(r.body)s=new Hr("mo",zr(r.body,o));else{s=new Hr("mi",[new sn(r.name.slice(1))]);var h=new Hr("mo",[xt("\u2061","text")]);r.parentIsSupSub?s=new Hr("mo",[s,h]):s=Cr([s,h])}return s},vr={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Rt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(r,o){var s=r.parser,h=r.funcName,z=h;return z.length===1&&(z=vr[z]),{type:"op",mode:s.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:z}},htmlBuilder:ct,mathmlBuilder:gt}),Rt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(r,o){var s=r.parser,h=o[0];return{type:"op",mode:s.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:br(h)}},htmlBuilder:ct,mathmlBuilder:gt});var Vr={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Rt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(r){var o=r.parser,s=r.funcName;return{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:s}},htmlBuilder:ct,mathmlBuilder:gt}),Rt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(r){var o=r.parser,s=r.funcName;return{type:"op",mode:o.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:s}},htmlBuilder:ct,mathmlBuilder:gt}),Rt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(r){var o=r.parser,s=r.funcName,h=s;return h.length===1&&(h=Vr[h]),{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:h}},htmlBuilder:ct,mathmlBuilder:gt});var fn=function(r,o){var s,h,z=!1,ue,De=lt(r,"supsub");De?(s=De.sup,h=De.sub,ue=jt(De.base,"operatorname"),z=!0):ue=jt(r,"operatorname");var tt;if(ue.body.length>0){for(var Ot=ue.body.map(function(pn){var Pn=pn.text;return typeof Pn=="string"?{type:"textord",mode:pn.mode,text:Pn}:pn}),or=Ke(Ot,o.withFont("mathrm"),!0),xr=0;xr<or.length;xr++){var Wr=or[xr];Wr instanceof Ae&&(Wr.text=Wr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}tt=oe.makeSpan(["mop"],or,o)}else tt=oe.makeSpan(["mop"],[],o);return z?se(tt,s,h,o,o.style,0,0):tt},Zn=function(r,o){for(var s=zr(r.body,o.withFont("mathrm")),h=!0,z=0;z<s.length;z++){var ue=s[z];if(!(ue instanceof bt.SpaceNode))if(ue instanceof bt.MathNode)switch(ue.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var De=ue.children[0];ue.children.length===1&&De instanceof bt.TextNode?De.text=De.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):h=!1;break}default:h=!1}else h=!1}if(h){var tt=s.map(function(xr){return xr.toText()}).join("");s=[new bt.TextNode(tt)]}var Ot=new bt.MathNode("mi",s);Ot.setAttribute("mathvariant","normal");var or=new bt.MathNode("mo",[xt("\u2061","text")]);return r.parentIsSupSub?new bt.MathNode("mo",[Ot,or]):bt.newDocumentFragment([Ot,or])};Rt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0];return{type:"operatorname",mode:s.mode,body:br(z),alwaysHandleSupSub:h==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:fn,mathmlBuilder:Zn}),Zr({type:"ordgroup",htmlBuilder:function(r,o){return r.semisimple?oe.makeFragment(Ke(r.body,o,!1)):oe.makeSpan(["mord"],Ke(r.body,o,!0),o)},mathmlBuilder:function(r,o){return dn(r.body,o,!0)}}),Rt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(r,o){var s=r.parser,h=o[0];return{type:"overline",mode:s.mode,body:h}},htmlBuilder:function(r,o){var s=$t(r.body,o.havingCrampedStyle()),h=oe.makeLineSpan("overline-line",o),z=o.fontMetrics().defaultRuleThickness,ue=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:3*z},{type:"elem",elem:h},{type:"kern",size:z}]},o);return oe.makeSpan(["mord","overline"],[ue],o)},mathmlBuilder:function(r,o){var s=new bt.MathNode("mo",[new bt.TextNode("\u203E")]);s.setAttribute("stretchy","true");var h=new bt.MathNode("mover",[nn(r.body,o),s]);return h.setAttribute("accent","true"),h}}),Rt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var s=r.parser,h=o[0];return{type:"phantom",mode:s.mode,body:br(h)}},htmlBuilder:function(r,o){var s=Ke(r.body,o.withPhantom(),!1);return oe.makeFragment(s)},mathmlBuilder:function(r,o){var s=zr(r.body,o);return new bt.MathNode("mphantom",s)}}),Rt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var s=r.parser,h=o[0];return{type:"hphantom",mode:s.mode,body:h}},htmlBuilder:function(r,o){var s=oe.makeSpan([],[$t(r.body,o.withPhantom())]);if(s.height=0,s.depth=0,s.children)for(var h=0;h<s.children.length;h++)s.children[h].height=0,s.children[h].depth=0;return s=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s}]},o),oe.makeSpan(["mord"],[s],o)},mathmlBuilder:function(r,o){var s=zr(br(r.body),o),h=new bt.MathNode("mphantom",s),z=new bt.MathNode("mpadded",[h]);return z.setAttribute("height","0px"),z.setAttribute("depth","0px"),z}}),Rt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var s=r.parser,h=o[0];return{type:"vphantom",mode:s.mode,body:h}},htmlBuilder:function(r,o){var s=oe.makeSpan(["inner"],[$t(r.body,o.withPhantom())]),h=oe.makeSpan(["fix"],[]);return oe.makeSpan(["mord","rlap"],[s,h],o)},mathmlBuilder:function(r,o){var s=zr(br(r.body),o),h=new bt.MathNode("mphantom",s),z=new bt.MathNode("mpadded",[h]);return z.setAttribute("width","0px"),z}}),Rt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(r,o){var s=r.parser,h=jt(o[0],"size").value,z=o[1];return{type:"raisebox",mode:s.mode,dy:h,body:z}},htmlBuilder:function(r,o){var s=$t(r.body,o),h=an(r.dy,o);return oe.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:s}]},o)},mathmlBuilder:function(r,o){var s=new bt.MathNode("mpadded",[nn(r.body,o)]),h=r.dy.number+r.dy.unit;return s.setAttribute("voffset",h),s}}),Rt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(r,o,s){var h=r.parser,z=s[0],ue=jt(o[0],"size"),De=jt(o[1],"size");return{type:"rule",mode:h.mode,shift:z&&jt(z,"size").value,width:ue.value,height:De.value}},htmlBuilder:function(r,o){var s=oe.makeSpan(["mord","rule"],[],o),h=an(r.width,o),z=an(r.height,o),ue=r.shift?an(r.shift,o):0;return s.style.borderRightWidth=h+"em",s.style.borderTopWidth=z+"em",s.style.bottom=ue+"em",s.width=h,s.height=z+ue,s.depth=-ue,s.maxFontSize=z*1.125*o.sizeMultiplier,s},mathmlBuilder:function(r,o){var s=an(r.width,o),h=an(r.height,o),z=r.shift?an(r.shift,o):0,ue=o.color&&o.getColor()||"black",De=new bt.MathNode("mspace");De.setAttribute("mathbackground",ue),De.setAttribute("width",s+"em"),De.setAttribute("height",h+"em");var tt=new bt.MathNode("mpadded",[De]);return z>=0?tt.setAttribute("height","+"+z+"em"):(tt.setAttribute("height",z+"em"),tt.setAttribute("depth","+"+-z+"em")),tt.setAttribute("voffset",z+"em"),tt}});function Wn(F,r,o){for(var s=Ke(F,r,!1),h=r.sizeMultiplier/o.sizeMultiplier,z=0;z<s.length;z++){var ue=s[z].classes.indexOf("sizing");ue<0?Array.prototype.push.apply(s[z].classes,r.sizingClasses(o)):s[z].classes[ue+1]==="reset-size"+r.size&&(s[z].classes[ue+1]="reset-size"+o.size),s[z].height*=h,s[z].depth*=h}return oe.makeFragment(s)}var wn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],_n=function(r,o){var s=o.havingSize(r.size);return Wn(r.body,s,o)};Rt({type:"sizing",names:wn,props:{numArgs:0,allowedInText:!0},handler:function(r,o){var s=r.breakOnTokenText,h=r.funcName,z=r.parser,ue=z.parseExpression(!1,s);return{type:"sizing",mode:z.mode,size:wn.indexOf(h)+1,body:ue}},htmlBuilder:_n,mathmlBuilder:function(r,o){var s=o.havingSize(r.size),h=zr(r.body,s),z=new bt.MathNode("mstyle",h);return z.setAttribute("mathsize",s.sizeMultiplier+"em"),z}}),Rt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,o,s){var h=r.parser,z=!1,ue=!1,De=s[0]&&jt(s[0],"ordgroup");if(De)for(var tt="",Ot=0;Ot<De.body.length;++Ot){var or=De.body[Ot];if(tt=or.text,tt==="t")z=!0;else if(tt==="b")ue=!0;else{z=!1,ue=!1;break}}else z=!0,ue=!0;var xr=o[0];return{type:"smash",mode:h.mode,body:xr,smashHeight:z,smashDepth:ue}},htmlBuilder:function(r,o){var s=oe.makeSpan([],[$t(r.body,o)]);if(!r.smashHeight&&!r.smashDepth)return s;if(r.smashHeight&&(s.height=0,s.children))for(var h=0;h<s.children.length;h++)s.children[h].height=0;if(r.smashDepth&&(s.depth=0,s.children))for(var z=0;z<s.children.length;z++)s.children[z].depth=0;var ue=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s}]},o);return oe.makeSpan(["mord"],[ue],o)},mathmlBuilder:function(r,o){var s=new bt.MathNode("mpadded",[nn(r.body,o)]);return r.smashHeight&&s.setAttribute("height","0px"),r.smashDepth&&s.setAttribute("depth","0px"),s}}),Rt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,o,s){var h=r.parser,z=s[0],ue=o[0];return{type:"sqrt",mode:h.mode,body:ue,index:z}},htmlBuilder:function(r,o){var s=$t(r.body,o.havingCrampedStyle());s.height===0&&(s.height=o.fontMetrics().xHeight),s=oe.wrapFragment(s,o);var h=o.fontMetrics(),z=h.defaultRuleThickness,ue=z;o.style.id<k.TEXT.id&&(ue=o.fontMetrics().xHeight);var De=z+ue/4,tt=s.height+s.depth+De+z,Ot=Bo.sqrtImage(tt,o),or=Ot.span,xr=Ot.ruleWidth,Wr=Ot.advanceWidth,pn=or.height-xr;pn>s.height+s.depth+De&&(De=(De+pn-s.height-s.depth)/2);var Pn=or.height-s.height-De-xr;s.style.paddingLeft=Wr+"em";var Fn=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s,wrapperClasses:["svg-align"]},{type:"kern",size:-(s.height+Pn)},{type:"elem",elem:or},{type:"kern",size:xr}]},o);if(r.index){var ea=o.havingStyle(k.SCRIPTSCRIPT),fa=$t(r.index,ea,o),u=.6*(Fn.height-Fn.depth),e=oe.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:fa}]},o),n=oe.makeSpan(["root"],[e]);return oe.makeSpan(["mord","sqrt"],[n,Fn],o)}else return oe.makeSpan(["mord","sqrt"],[Fn],o)},mathmlBuilder:function(r,o){var s=r.body,h=r.index;return h?new bt.MathNode("mroot",[nn(s,o),nn(h,o)]):new bt.MathNode("msqrt",[nn(s,o)])}});var la={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};Rt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(r,o){var s=r.breakOnTokenText,h=r.funcName,z=r.parser,ue=z.parseExpression(!0,s),De=h.slice(1,h.length-5);return{type:"styling",mode:z.mode,style:De,body:ue}},htmlBuilder:function(r,o){var s=la[r.style],h=o.havingStyle(s).withFont("");return Wn(r.body,h,o)},mathmlBuilder:function(r,o){var s=la[r.style],h=o.havingStyle(s),z=zr(r.body,h),ue=new bt.MathNode("mstyle",z),De={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},tt=De[r.style];return ue.setAttribute("scriptlevel",tt[0]),ue.setAttribute("displaystyle",tt[1]),ue}});var Ia=function(r,o){var s=r.base;if(s)if(s.type==="op"){var h=s.limits&&(o.style.size===k.DISPLAY.size||s.alwaysHandleSupSub);return h?ct:null}else if(s.type==="operatorname"){var z=s.alwaysHandleSupSub&&(o.style.size===k.DISPLAY.size||s.limits);return z?fn:null}else{if(s.type==="accent")return A.isCharacterBox(s.base)?Va:null;if(s.type==="horizBrace"){var ue=!r.sub;return ue===s.isOver?Bi:null}else return null}else return null};Zr({type:"supsub",htmlBuilder:function(r,o){var s=Ia(r,o);if(s)return s(r,o);var h=r.base,z=r.sup,ue=r.sub,De=$t(h,o),tt,Ot,or=o.fontMetrics(),xr=0,Wr=0,pn=h&&A.isCharacterBox(h);if(z){var Pn=o.havingStyle(o.style.sup());tt=$t(z,Pn,o),pn||(xr=De.height-Pn.fontMetrics().supDrop*Pn.sizeMultiplier/o.sizeMultiplier)}if(ue){var Fn=o.havingStyle(o.style.sub());Ot=$t(ue,Fn,o),pn||(Wr=De.depth+Fn.fontMetrics().subDrop*Fn.sizeMultiplier/o.sizeMultiplier)}var ea;o.style===k.DISPLAY?ea=or.sup1:o.style.cramped?ea=or.sup3:ea=or.sup2;var fa=o.sizeMultiplier,u=.5/or.ptPerEm/fa+"em",e=null;if(Ot){var n=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(De instanceof Ae||n)&&(e=-De.italic+"em")}var f;if(tt&&Ot){xr=Math.max(xr,ea,tt.depth+.25*or.xHeight),Wr=Math.max(Wr,or.sub2);var O=or.defaultRuleThickness,Q=4*O;if(xr-tt.depth-(Ot.height-Wr)<Q){Wr=Q-(xr-tt.depth)+Ot.height;var je=.8*or.xHeight-(xr-tt.depth);je>0&&(xr+=je,Wr-=je)}var Ve=[{type:"elem",elem:Ot,shift:Wr,marginRight:u,marginLeft:e},{type:"elem",elem:tt,shift:-xr,marginRight:u}];f=oe.makeVList({positionType:"individualShift",children:Ve},o)}else if(Ot){Wr=Math.max(Wr,or.sub1,Ot.height-.8*or.xHeight);var qe=[{type:"elem",elem:Ot,marginLeft:e,marginRight:u}];f=oe.makeVList({positionType:"shift",positionData:Wr,children:qe},o)}else if(tt)xr=Math.max(xr,ea,tt.depth+.25*or.xHeight),f=oe.makeVList({positionType:"shift",positionData:-xr,children:[{type:"elem",elem:tt,marginRight:u}]},o);else throw new Error("supsub must have either sup or sub.");var Dt=dt(De,"right")||"mord";return oe.makeSpan([Dt],[De,oe.makeSpan(["msupsub"],[f])],o)},mathmlBuilder:function(r,o){var s=!1,h,z,ue=lt(r.base,"horizBrace");ue&&(z=!!r.sup,z===ue.isOver&&(s=!0,h=ue.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var De=[nn(r.base,o)];r.sub&&De.push(nn(r.sub,o)),r.sup&&De.push(nn(r.sup,o));var tt;if(s)tt=h?"mover":"munder";else if(r.sub)if(r.sup){var xr=r.base;xr&&xr.type==="op"&&xr.limits&&o.style===k.DISPLAY||xr&&xr.type==="operatorname"&&xr.alwaysHandleSupSub&&(o.style===k.DISPLAY||xr.limits)?tt="munderover":tt="msubsup"}else{var or=r.base;or&&or.type==="op"&&or.limits&&(o.style===k.DISPLAY||or.alwaysHandleSupSub)||or&&or.type==="operatorname"&&or.alwaysHandleSupSub&&(or.limits||o.style===k.DISPLAY)?tt="munder":tt="msub"}else{var Ot=r.base;Ot&&Ot.type==="op"&&Ot.limits&&(o.style===k.DISPLAY||Ot.alwaysHandleSupSub)||Ot&&Ot.type==="operatorname"&&Ot.alwaysHandleSupSub&&(Ot.limits||o.style===k.DISPLAY)?tt="mover":tt="msup"}var Wr=new bt.MathNode(tt,De);return Wr}}),Zr({type:"atom",htmlBuilder:function(r,o){return oe.mathsym(r.text,r.mode,o,["m"+r.family])},mathmlBuilder:function(r,o){var s=new bt.MathNode("mo",[xt(r.text,r.mode)]);if(r.family==="bin"){var h=Mn(r,o);h==="bold-italic"&&s.setAttribute("mathvariant",h)}else r.family==="punct"?s.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&s.setAttribute("stretchy","false");return s}});var Yn={mi:"italic",mn:"normal",mtext:"normal"};Zr({type:"mathord",htmlBuilder:function(r,o){return oe.makeOrd(r,o,"mathord")},mathmlBuilder:function(r,o){var s=new bt.MathNode("mi",[xt(r.text,r.mode,o)]),h=Mn(r,o)||"italic";return h!==Yn[s.type]&&s.setAttribute("mathvariant",h),s}}),Zr({type:"textord",htmlBuilder:function(r,o){return oe.makeOrd(r,o,"textord")},mathmlBuilder:function(r,o){var s=xt(r.text,r.mode,o),h=Mn(r,o)||"normal",z;return r.mode==="text"?z=new bt.MathNode("mtext",[s]):/[0-9]/.test(r.text)?z=new bt.MathNode("mn",[s]):r.text==="\\prime"?z=new bt.MathNode("mo",[s]):z=new bt.MathNode("mi",[s]),h!==Yn[z.type]&&z.setAttribute("mathvariant",h),z}});var ma={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Zr({type:"spacing",htmlBuilder:function(r,o){if(pa.hasOwnProperty(r.text)){var s=pa[r.text].className||"";if(r.mode==="text"){var h=oe.makeOrd(r,o,"textord");return h.classes.push(s),h}else return oe.makeSpan(["mspace",s],[oe.mathsym(r.text,r.mode,o)],o)}else{if(ma.hasOwnProperty(r.text))return oe.makeSpan(["mspace",ma[r.text]],[],o);throw new J('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,o){var s;if(pa.hasOwnProperty(r.text))s=new bt.MathNode("mtext",[new bt.TextNode("\xA0")]);else{if(ma.hasOwnProperty(r.text))return new bt.MathNode("mspace");throw new J('Unknown type of space "'+r.text+'"')}return s}});var ta=function(){var r=new bt.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};Zr({type:"tag",mathmlBuilder:function(r,o){var s=new bt.MathNode("mtable",[new bt.MathNode("mtr",[ta(),new bt.MathNode("mtd",[dn(r.body,o)]),ta(),new bt.MathNode("mtd",[dn(r.tag,o)])])]);return s.setAttribute("width","100%"),s}});var Ta={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Za={"\\textbf":"textbf","\\textmd":"textmd"},eo={"\\textit":"textit","\\textup":"textup"},$a=function(r,o){var s=r.font;return s?Ta[s]?o.withTextFontFamily(Ta[s]):Za[s]?o.withTextFontWeight(Za[s]):o.withTextFontShape(eo[s]):o};Rt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(r,o){var s=r.parser,h=r.funcName,z=o[0];return{type:"text",mode:s.mode,body:br(z),font:h}},htmlBuilder:function(r,o){var s=$a(r,o),h=Ke(r.body,s,!0);return oe.makeSpan(["mord","text"],oe.tryCombineChars(h),s)},mathmlBuilder:function(r,o){var s=$a(r,o);return dn(r.body,s)}}),Rt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,o){var s=r.parser;return{type:"underline",mode:s.mode,body:o[0]}},htmlBuilder:function(r,o){var s=$t(r.body,o),h=oe.makeLineSpan("underline-line",o),z=o.fontMetrics().defaultRuleThickness,ue=oe.makeVList({positionType:"top",positionData:s.height,children:[{type:"kern",size:z},{type:"elem",elem:h},{type:"kern",size:3*z},{type:"elem",elem:s}]},o);return oe.makeSpan(["mord","underline"],[ue],o)},mathmlBuilder:function(r,o){var s=new bt.MathNode("mo",[new bt.TextNode("\u203E")]);s.setAttribute("stretchy","true");var h=new bt.MathNode("munder",[nn(r.body,o),s]);return h.setAttribute("accentunder","true"),h}}),Rt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,o,s){throw new J("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,o){for(var s=Ga(r),h=[],z=o.havingStyle(o.style.text()),ue=0;ue<s.length;ue++){var De=s[ue];De==="~"&&(De="\\textasciitilde"),h.push(oe.makeSymbol(De,"Typewriter-Regular",r.mode,z,["mord","texttt"]))}return oe.makeSpan(["mord","text"].concat(z.sizingClasses(o)),oe.tryCombineChars(h),z)},mathmlBuilder:function(r,o){var s=new bt.TextNode(Ga(r)),h=new bt.MathNode("mtext",[s]);return h.setAttribute("mathvariant","monospace"),h}});var Ga=function(r){return r.body.replace(/ /g,r.star?"\u2423":"\xA0")},xa=yt,Ka=xa,Ra=`[ \r
|
|
|
]`,oo="\\\\[a-zA-Z@]+",fo="\\\\[^\uD800-\uDFFF]",no=""+oo+Ra+"*",yo=new RegExp("^("+oo+")"+Ra+"*$"),Ja="[\u0300-\u036F]",Eo=new RegExp(Ja+"+$"),io="("+Ra+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ja+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ja+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+no)+("|"+fo+")"),po=function(){function F(o,s){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=o,this.settings=s,this.tokenRegex=new RegExp(io,"g"),this.catcodes={"%":14}}var r=F.prototype;return r.setCatcode=function(s,h){this.catcodes[s]=h},r.lex=function(){var s=this.input,h=this.tokenRegex.lastIndex;if(h===s.length)return new Be("EOF",new $(this,h,h));var z=this.tokenRegex.exec(s);if(z===null||z.index!==h)throw new J("Unexpected character: '"+s[h]+"'",new Be(s[h],new $(this,h,h+1)));var ue=z[2]||" ";if(this.catcodes[ue]===14){var De=s.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return De===-1?(this.tokenRegex.lastIndex=s.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=De+1,this.lex()}var tt=ue.match(yo);return tt&&(ue=tt[1]),new Be(ue,new $(this,h,this.tokenRegex.lastIndex))},F}(),Vo=function(){function F(o,s){o===void 0&&(o={}),s===void 0&&(s={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=s,this.builtins=o,this.undefStack=[]}var r=F.prototype;return r.beginGroup=function(){this.undefStack.push({})},r.endGroup=function(){if(this.undefStack.length===0)throw new J("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var s=this.undefStack.pop();for(var h in s)s.hasOwnProperty(h)&&(s[h]===void 0?delete this.current[h]:this.current[h]=s[h])},r.has=function(s){return this.current.hasOwnProperty(s)||this.builtins.hasOwnProperty(s)},r.get=function(s){return this.current.hasOwnProperty(s)?this.current[s]:this.builtins[s]},r.set=function(s,h,z){if(z===void 0&&(z=!1),z){for(var ue=0;ue<this.undefStack.length;ue++)delete this.undefStack[ue][s];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][s]=h)}else{var De=this.undefStack[this.undefStack.length-1];De&&!De.hasOwnProperty(s)&&(De[s]=this.current[s])}this.current[s]=h},F}(),So={},Qa=So;function it(F,r){So[F]=r}it("\\@firstoftwo",function(F){var r=F.consumeArgs(2);return{tokens:r[0],numArgs:0}}),it("\\@secondoftwo",function(F){var r=F.consumeArgs(2);return{tokens:r[1],numArgs:0}}),it("\\@ifnextchar",function(F){var r=F.consumeArgs(3),o=F.future();return r[0].length===1&&r[0][0].text===o.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),it("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),it("\\TextOrMath",function(F){var r=F.consumeArgs(2);return F.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var ja={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};it("\\char",function(F){var r=F.popToken(),o,s="";if(r.text==="'")o=8,r=F.popToken();else if(r.text==='"')o=16,r=F.popToken();else if(r.text==="`")if(r=F.popToken(),r.text[0]==="\\")s=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new J("\\char` missing argument");s=r.text.charCodeAt(0)}else o=10;if(o){if(s=ja[r.text],s==null||s>=o)throw new J("Invalid base-"+o+" digit "+r.text);for(var h;(h=ja[F.future().text])!=null&&h<o;)s*=o,s+=h,F.popToken()}return"\\@char{"+s+"}"});var ko=function(r,o){var s=r.consumeArgs(1)[0];if(s.length!==1)throw new J("\\gdef's first argument must be a macro name");var h=s[0].text,z=0;for(s=r.consumeArgs(1)[0];s.length===1&&s[0].text==="#";){if(s=r.consumeArgs(1)[0],s.length!==1)throw new J('Invalid argument number length "'+s.length+'"');if(!/^[1-9]$/.test(s[0].text))throw new J('Invalid argument number "'+s[0].text+'"');if(z++,parseInt(s[0].text)!==z)throw new J('Argument number "'+s[0].text+'" out of order');s=r.consumeArgs(1)[0]}return r.macros.set(h,{tokens:s,numArgs:z},o),""};it("\\gdef",function(F){return ko(F,!0)}),it("\\def",function(F){return ko(F,!1)}),it("\\global",function(F){var r=F.consumeArgs(1)[0];if(r.length!==1)throw new J("Invalid command after \\global");var o=r[0].text;if(o==="\\def")return ko(F,!0);throw new J("Invalid command '"+o+"' after \\global")});var ti=function(r,o,s){var h=r.consumeArgs(1)[0];if(h.length!==1)throw new J("\\newcommand's first argument must be a macro name");var z=h[0].text,ue=r.isDefined(z);if(ue&&!o)throw new J("\\newcommand{"+z+"} attempting to redefine "+(z+"; use \\renewcommand"));if(!ue&&!s)throw new J("\\renewcommand{"+z+"} when command "+z+" does not yet exist; use \\newcommand");var De=0;if(h=r.consumeArgs(1)[0],h.length===1&&h[0].text==="["){for(var tt="",Ot=r.expandNextToken();Ot.text!=="]"&&Ot.text!=="EOF";)tt+=Ot.text,Ot=r.expandNextToken();if(!tt.match(/^\s*[0-9]+\s*$/))throw new J("Invalid number of arguments: "+tt);De=parseInt(tt),h=r.consumeArgs(1)[0]}return r.macros.set(z,{tokens:h,numArgs:De}),""};it("\\newcommand",function(F){return ti(F,!1,!0)}),it("\\renewcommand",function(F){return ti(F,!0,!1)}),it("\\providecommand",function(F){return ti(F,!0,!0)}),it("\\bgroup","{"),it("\\egroup","}"),it("\\lq","`"),it("\\rq","'"),it("\\aa","\\r a"),it("\\AA","\\r A"),it("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),it("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),it("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),it("\u212C","\\mathscr{B}"),it("\u2130","\\mathscr{E}"),it("\u2131","\\mathscr{F}"),it("\u210B","\\mathscr{H}"),it("\u2110","\\mathscr{I}"),it("\u2112","\\mathscr{L}"),it("\u2133","\\mathscr{M}"),it("\u211B","\\mathscr{R}"),it("\u212D","\\mathfrak{C}"),it("\u210C","\\mathfrak{H}"),it("\u2128","\\mathfrak{Z}"),it("\\Bbbk","\\Bbb{k}"),it("\xB7","\\cdotp"),it("\\llap","\\mathllap{\\textrm{#1}}"),it("\\rlap","\\mathrlap{\\textrm{#1}}"),it("\\clap","\\mathclap{\\textrm{#1}}"),it("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),it("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),it("\\ne","\\neq"),it("\u2260","\\neq"),it("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),it("\u2209","\\notin"),it("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),it("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),it("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),it("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),it("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),it("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),it("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),it("\u27C2","\\perp"),it("\u203C","\\mathclose{!\\mkern-0.8mu!}"),it("\u220C","\\notni"),it("\u231C","\\ulcorner"),it("\u231D","\\urcorner"),it("\u231E","\\llcorner"),it("\u231F","\\lrcorner"),it("\xA9","\\copyright"),it("\xAE","\\textregistered"),it("\uFE0F","\\textregistered"),it("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),it("\u22EE","\\vdots"),it("\\varGamma","\\mathit{\\Gamma}"),it("\\varDelta","\\mathit{\\Delta}"),it("\\varTheta","\\mathit{\\Theta}"),it("\\varLambda","\\mathit{\\Lambda}"),it("\\varXi","\\mathit{\\Xi}"),it("\\varPi","\\mathit{\\Pi}"),it("\\varSigma","\\mathit{\\Sigma}"),it("\\varUpsilon","\\mathit{\\Upsilon}"),it("\\varPhi","\\mathit{\\Phi}"),it("\\varPsi","\\mathit{\\Psi}"),it("\\varOmega","\\mathit{\\Omega}"),it("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),it("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),it("\\boxed","\\fbox{$\\displaystyle{#1}$}"),it("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),it("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),it("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Co={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};it("\\dots",function(F){var r="\\dotso",o=F.expandAfterFuture().text;return o in Co?r=Co[o]:(o.substr(0,4)==="\\not"||o in _t.math&&A.contains(["bin","rel"],_t.math[o].group))&&(r="\\dotsb"),r});var To={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};it("\\dotso",function(F){var r=F.future().text;return r in To?"\\ldots\\,":"\\ldots"}),it("\\dotsc",function(F){var r=F.future().text;return r in To&&r!==","?"\\ldots\\,":"\\ldots"}),it("\\cdots",function(F){var r=F.future().text;return r in To?"\\@cdots\\,":"\\@cdots"}),it("\\dotsb","\\cdots"),it("\\dotsm","\\cdots"),it("\\dotsi","\\!\\cdots"),it("\\dotsx","\\ldots\\,"),it("\\DOTSI","\\relax"),it("\\DOTSB","\\relax"),it("\\DOTSX","\\relax"),it("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),it("\\,","\\tmspace+{3mu}{.1667em}"),it("\\thinspace","\\,"),it("\\>","\\mskip{4mu}"),it("\\:","\\tmspace+{4mu}{.2222em}"),it("\\medspace","\\:"),it("\\;","\\tmspace+{5mu}{.2777em}"),it("\\thickspace","\\;"),it("\\!","\\tmspace-{3mu}{.1667em}"),it("\\negthinspace","\\!"),it("\\negmedspace","\\tmspace-{4mu}{.2222em}"),it("\\negthickspace","\\tmspace-{5mu}{.277em}"),it("\\enspace","\\kern.5em "),it("\\enskip","\\hskip.5em\\relax"),it("\\quad","\\hskip1em\\relax"),it("\\qquad","\\hskip2em\\relax"),it("\\tag","\\@ifstar\\tag@literal\\tag@paren"),it("\\tag@paren","\\tag@literal{({#1})}"),it("\\tag@literal",function(F){if(F.macros.get("\\df@tag"))throw new J("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),it("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),it("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),it("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),it("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),it("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),it("\\\\","\\newline"),it("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ri=Et["Main-Regular"][84][1]-.7*Et["Main-Regular"][65][1]+"em";it("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ri+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),it("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ri+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),it("\\hspace","\\@ifstar\\@hspacer\\@hspace"),it("\\@hspace","\\hskip #1\\relax"),it("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),it("\\ordinarycolon",":"),it("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),it("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),it("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),it("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),it("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),it("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),it("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),it("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),it("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),it("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),it("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),it("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),it("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),it("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),it("\u2237","\\dblcolon"),it("\u2239","\\eqcolon"),it("\u2254","\\coloneqq"),it("\u2255","\\eqqcolon"),it("\u2A74","\\Coloneqq"),it("\\ratio","\\vcentcolon"),it("\\coloncolon","\\dblcolon"),it("\\colonequals","\\coloneqq"),it("\\coloncolonequals","\\Coloneqq"),it("\\equalscolon","\\eqqcolon"),it("\\equalscoloncolon","\\Eqqcolon"),it("\\colonminus","\\coloneq"),it("\\coloncolonminus","\\Coloneq"),it("\\minuscolon","\\eqcolon"),it("\\minuscoloncolon","\\Eqcolon"),it("\\coloncolonapprox","\\Colonapprox"),it("\\coloncolonsim","\\Colonsim"),it("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),it("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),it("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),it("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),it("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),it("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),it("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),it("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),it("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),it("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),it("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),it("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),it("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),it("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),it("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),it("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),it("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),it("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),it("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),it("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),it("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),it("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),it("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),it("\u27E6","\\llbracket"),it("\u27E7","\\rrbracket"),it("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),it("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),it("\u2983","\\lBrace"),it("\u2984","\\rBrace"),it("\\darr","\\downarrow"),it("\\dArr","\\Downarrow"),it("\\Darr","\\Downarrow"),it("\\lang","\\langle"),it("\\rang","\\rangle"),it("\\uarr","\\uparrow"),it("\\uArr","\\Uparrow"),it("\\Uarr","\\Uparrow"),it("\\N","\\mathbb{N}"),it("\\R","\\mathbb{R}"),it("\\Z","\\mathbb{Z}"),it("\\alef","\\aleph"),it("\\alefsym","\\aleph"),it("\\Alpha","\\mathrm{A}"),it("\\Beta","\\mathrm{B}"),it("\\bull","\\bullet"),it("\\Chi","\\mathrm{X}"),it("\\clubs","\\clubsuit"),it("\\cnums","\\mathbb{C}"),it("\\Complex","\\mathbb{C}"),it("\\Dagger","\\ddagger"),it("\\diamonds","\\diamondsuit"),it("\\empty","\\emptyset"),it("\\Epsilon","\\mathrm{E}"),it("\\Eta","\\mathrm{H}"),it("\\exist","\\exists"),it("\\harr","\\leftrightarrow"),it("\\hArr","\\Leftrightarrow"),it("\\Harr","\\Leftrightarrow"),it("\\hearts","\\heartsuit"),it("\\image","\\Im"),it("\\infin","\\infty"),it("\\Iota","\\mathrm{I}"),it("\\isin","\\in"),it("\\Kappa","\\mathrm{K}"),it("\\larr","\\leftarrow"),it("\\lArr","\\Leftarrow"),it("\\Larr","\\Leftarrow"),it("\\lrarr","\\leftrightarrow"),it("\\lrArr","\\Leftrightarrow"),it("\\Lrarr","\\Leftrightarrow"),it("\\Mu","\\mathrm{M}"),it("\\natnums","\\mathbb{N}"),it("\\Nu","\\mathrm{N}"),it("\\Omicron","\\mathrm{O}"),it("\\plusmn","\\pm"),it("\\rarr","\\rightarrow"),it("\\rArr","\\Rightarrow"),it("\\Rarr","\\Rightarrow"),it("\\real","\\Re"),it("\\reals","\\mathbb{R}"),it("\\Reals","\\mathbb{R}"),it("\\Rho","\\mathrm{P}"),it("\\sdot","\\cdot"),it("\\sect","\\S"),it("\\spades","\\spadesuit"),it("\\sub","\\subset"),it("\\sube","\\subseteq"),it("\\supe","\\supseteq"),it("\\Tau","\\mathrm{T}"),it("\\thetasym","\\vartheta"),it("\\weierp","\\wp"),it("\\Zeta","\\mathrm{Z}"),it("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),it("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),it("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),it("\\blue","\\textcolor{##6495ed}{#1}"),it("\\orange","\\textcolor{##ffa500}{#1}"),it("\\pink","\\textcolor{##ff00af}{#1}"),it("\\red","\\textcolor{##df0030}{#1}"),it("\\green","\\textcolor{##28ae7b}{#1}"),it("\\gray","\\textcolor{gray}{#1}"),it("\\purple","\\textcolor{##9d38bd}{#1}"),it("\\blueA","\\textcolor{##ccfaff}{#1}"),it("\\blueB","\\textcolor{##80f6ff}{#1}"),it("\\blueC","\\textcolor{##63d9ea}{#1}"),it("\\blueD","\\textcolor{##11accd}{#1}"),it("\\blueE","\\textcolor{##0c7f99}{#1}"),it("\\tealA","\\textcolor{##94fff5}{#1}"),it("\\tealB","\\textcolor{##26edd5}{#1}"),it("\\tealC","\\textcolor{##01d1c1}{#1}"),it("\\tealD","\\textcolor{##01a995}{#1}"),it("\\tealE","\\textcolor{##208170}{#1}"),it("\\greenA","\\textcolor{##b6ffb0}{#1}"),it("\\greenB","\\textcolor{##8af281}{#1}"),it("\\greenC","\\textcolor{##74cf70}{#1}"),it("\\greenD","\\textcolor{##1fab54}{#1}"),it("\\greenE","\\textcolor{##0d923f}{#1}"),it("\\goldA","\\textcolor{##ffd0a9}{#1}"),it("\\goldB","\\textcolor{##ffbb71}{#1}"),it("\\goldC","\\textcolor{##ff9c39}{#1}"),it("\\goldD","\\textcolor{##e07d10}{#1}"),it("\\goldE","\\textcolor{##a75a05}{#1}"),it("\\redA","\\textcolor{##fca9a9}{#1}"),it("\\redB","\\textcolor{##ff8482}{#1}"),it("\\redC","\\textcolor{##f9685d}{#1}"),it("\\redD","\\textcolor{##e84d39}{#1}"),it("\\redE","\\textcolor{##bc2612}{#1}"),it("\\maroonA","\\textcolor{##ffbde0}{#1}"),it("\\maroonB","\\textcolor{##ff92c6}{#1}"),it("\\maroonC","\\textcolor{##ed5fa6}{#1}"),it("\\maroonD","\\textcolor{##ca337c}{#1}"),it("\\maroonE","\\textcolor{##9e034e}{#1}"),it("\\purpleA","\\textcolor{##ddd7ff}{#1}"),it("\\purpleB","\\textcolor{##c6b9fc}{#1}"),it("\\purpleC","\\textcolor{##aa87ff}{#1}"),it("\\purpleD","\\textcolor{##7854ab}{#1}"),it("\\purpleE","\\textcolor{##543b78}{#1}"),it("\\mintA","\\textcolor{##f5f9e8}{#1}"),it("\\mintB","\\textcolor{##edf2df}{#1}"),it("\\mintC","\\textcolor{##e0e5cc}{#1}"),it("\\grayA","\\textcolor{##f6f7f7}{#1}"),it("\\grayB","\\textcolor{##f0f1f2}{#1}"),it("\\grayC","\\textcolor{##e3e5e6}{#1}"),it("\\grayD","\\textcolor{##d6d8da}{#1}"),it("\\grayE","\\textcolor{##babec2}{#1}"),it("\\grayF","\\textcolor{##888d93}{#1}"),it("\\grayG","\\textcolor{##626569}{#1}"),it("\\grayH","\\textcolor{##3b3e40}{#1}"),it("\\grayI","\\textcolor{##21242c}{#1}"),it("\\kaBlue","\\textcolor{##314453}{#1}"),it("\\kaGreen","\\textcolor{##71B307}{#1}");var Ro={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},yi=function(){function F(o,s,h){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=s,this.expansionCount=0,this.feed(o),this.macros=new Vo(Qa,s.macros),this.mode=h,this.stack=[]}var r=F.prototype;return r.feed=function(s){this.lexer=new po(s,this.settings)},r.switchMode=function(s){this.mode=s},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(s){this.stack.push(s)},r.pushTokens=function(s){var h;(h=this.stack).push.apply(h,s)},r.consumeSpaces=function(){for(;;){var s=this.future();if(s.text===" ")this.stack.pop();else break}},r.consumeArgs=function(s){for(var h=[],z=0;z<s;++z){this.consumeSpaces();var ue=this.popToken();if(ue.text==="{"){for(var De=[],tt=1;tt!==0;){var Ot=this.popToken();if(De.push(Ot),Ot.text==="{")++tt;else if(Ot.text==="}")--tt;else if(Ot.text==="EOF")throw new J("End of input in macro argument",ue)}De.pop(),De.reverse(),h[z]=De}else{if(ue.text==="EOF")throw new J("End of input expecting macro argument");h[z]=[ue]}}return h},r.expandOnce=function(){var s=this.popToken(),h=s.text,z=this._getExpansion(h);if(z==null)return this.pushToken(s),s;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new J("Too many expansions: infinite loop or need to increase maxExpand setting");var ue=z.tokens;if(z.numArgs){var De=this.consumeArgs(z.numArgs);ue=ue.slice();for(var tt=ue.length-1;tt>=0;--tt){var Ot=ue[tt];if(Ot.text==="#"){if(tt===0)throw new J("Incomplete placeholder at end of macro body",Ot);if(Ot=ue[--tt],Ot.text==="#")ue.splice(tt+1,1);else if(/^[1-9]$/.test(Ot.text)){var or;(or=ue).splice.apply(or,[tt,2].concat(De[+Ot.text-1]))}else throw new J("Not a valid argument number",Ot)}}}return this.pushTokens(ue),ue},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;){var s=this.expandOnce();if(s instanceof Be)if(s.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},r.expandMacro=function(s){if(this.macros.get(s)){var h=[],z=this.stack.length;for(this.pushToken(new Be(s));this.stack.length>z;){var ue=this.expandOnce();ue instanceof Be&&h.push(this.stack.pop())}return h}},r.expandMacroAsText=function(s){var h=this.expandMacro(s);return h&&h.map(function(z){return z.text}).join("")},r._getExpansion=function(s){var h=this.macros.get(s);if(h==null)return h;var z=typeof h=="function"?h(this):h;if(typeof z=="string"){var ue=0;if(z.indexOf("#")!==-1)for(var De=z.replace(/##/g,"");De.indexOf("#"+(ue+1))!==-1;)++ue;for(var tt=new po(z,this.settings),Ot=[],or=tt.lex();or.text!=="EOF";)Ot.push(or),or=tt.lex();Ot.reverse();var xr={tokens:Ot,numArgs:ue};return xr}return z},r.isDefined=function(s){return this.macros.has(s)||Ka.hasOwnProperty(s)||_t.math.hasOwnProperty(s)||_t.text.hasOwnProperty(s)||Ro.hasOwnProperty(s)},F}(),Si={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},_o={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Na=function(){function F(o,s){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new yi(o,s,this.mode),this.settings=s,this.leftrightDepth=0}var r=F.prototype;return r.expect=function(s,h){if(h===void 0&&(h=!0),this.fetch().text!==s)throw new J("Expected '"+s+"', got '"+this.fetch().text+"'",this.fetch());h&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(s){this.mode=s,this.gullet.switchMode(s)},r.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var s=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),s},r.parseExpression=function(s,h){for(var z=[];;){this.mode==="math"&&this.consumeSpaces();var ue=this.fetch();if(F.endOfExpression.indexOf(ue.text)!==-1||h&&ue.text===h||s&&Ka[ue.text]&&Ka[ue.text].infix)break;var De=this.parseAtom(h);if(!De)break;z.push(De)}return this.mode==="text"&&this.formLigatures(z),this.handleInfixNodes(z)},r.handleInfixNodes=function(s){for(var h=-1,z,ue=0;ue<s.length;ue++){var De=lt(s[ue],"infix");if(De){if(h!==-1)throw new J("only one infix operator per group",De.token);h=ue,z=De.replaceWith}}if(h!==-1&&z){var tt,Ot,or=s.slice(0,h),xr=s.slice(h+1);or.length===1&&or[0].type==="ordgroup"?tt=or[0]:tt={type:"ordgroup",mode:this.mode,body:or},xr.length===1&&xr[0].type==="ordgroup"?Ot=xr[0]:Ot={type:"ordgroup",mode:this.mode,body:xr};var Wr;return z==="\\\\abovefrac"?Wr=this.callFunction(z,[tt,s[h],Ot],[]):Wr=this.callFunction(z,[tt,Ot],[]),[Wr]}else return s},r.handleSupSubscript=function(s){var h=this.fetch(),z=h.text;this.consume();var ue=this.parseGroup(s,!1,F.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!ue)throw new J("Expected group after '"+z+"'",h);return ue},r.formatUnsupportedCmd=function(s){for(var h=[],z=0;z<s.length;z++)h.push({type:"textord",mode:"text",text:s[z]});var ue={type:"text",mode:this.mode,body:h},De={type:"color",mode:this.mode,color:this.settings.errorColor,body:[ue]};return De},r.parseAtom=function(s){var h=this.parseGroup("atom",!1,null,s);if(this.mode==="text")return h;for(var z,ue;;){this.consumeSpaces();var De=this.fetch();if(De.text==="\\limits"||De.text==="\\nolimits"){var tt=lt(h,"op");if(tt){var Ot=De.text==="\\limits";tt.limits=Ot,tt.alwaysHandleSupSub=!0}else if(tt=lt(h,"operatorname"),tt&&tt.alwaysHandleSupSub){var or=De.text==="\\limits";tt.limits=or}else throw new J("Limit controls must follow a math operator",De);this.consume()}else if(De.text==="^"){if(z)throw new J("Double superscript",De);z=this.handleSupSubscript("superscript")}else if(De.text==="_"){if(ue)throw new J("Double subscript",De);ue=this.handleSupSubscript("subscript")}else if(De.text==="'"){if(z)throw new J("Double superscript",De);var xr={type:"textord",mode:this.mode,text:"\\prime"},Wr=[xr];for(this.consume();this.fetch().text==="'";)Wr.push(xr),this.consume();this.fetch().text==="^"&&Wr.push(this.handleSupSubscript("superscript")),z={type:"ordgroup",mode:this.mode,body:Wr}}else break}return z||ue?{type:"supsub",mode:this.mode,base:h,sup:z,sub:ue}:h},r.parseFunction=function(s,h,z){var ue=this.fetch(),De=ue.text,tt=Ka[De];if(!tt)return null;if(this.consume(),z!=null&&tt.greediness<=z)throw new J("Got function '"+De+"' with no arguments"+(h?" as "+h:""),ue);if(this.mode==="text"&&!tt.allowedInText)throw new J("Can't use function '"+De+"' in text mode",ue);if(this.mode==="math"&&tt.allowedInMath===!1)throw new J("Can't use function '"+De+"' in math mode",ue);var Ot=this.parseArguments(De,tt),or=Ot.args,xr=Ot.optArgs;return this.callFunction(De,or,xr,ue,s)},r.callFunction=function(s,h,z,ue,De){var tt={funcName:s,parser:this,token:ue,breakOnTokenText:De},Ot=Ka[s];if(Ot&&Ot.handler)return Ot.handler(tt,h,z);throw new J("No function handler for "+s)},r.parseArguments=function(s,h){var z=h.numArgs+h.numOptionalArgs;if(z===0)return{args:[],optArgs:[]};for(var ue=h.greediness,De=[],tt=[],Ot=0;Ot<z;Ot++){var or=h.argTypes&&h.argTypes[Ot],xr=Ot<h.numOptionalArgs,Wr=Ot>0&&!xr||Ot===0&&!xr&&this.mode==="math",pn=this.parseGroupOfType("argument to '"+s+"'",or,xr,ue,Wr);if(!pn){if(xr){tt.push(null);continue}throw new J("Expected group after '"+s+"'",this.fetch())}(xr?tt:De).push(pn)}return{args:De,optArgs:tt}},r.parseGroupOfType=function(s,h,z,ue,De){switch(h){case"color":return De&&this.consumeSpaces(),this.parseColorGroup(z);case"size":return De&&this.consumeSpaces(),this.parseSizeGroup(z);case"url":return this.parseUrlGroup(z,De);case"math":case"text":return this.parseGroup(s,z,ue,void 0,h,De);case"hbox":{var tt=this.parseGroup(s,z,ue,void 0,"text",De);if(!tt)return tt;var Ot={type:"styling",mode:tt.mode,body:[tt],style:"text"};return Ot}case"raw":{if(De&&this.consumeSpaces(),z&&this.fetch().text==="{")return null;var or=this.parseStringGroup("raw",z,!0);if(or)return{type:"raw",mode:"text",string:or.text};throw new J("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(s,z,ue,void 0,void 0,De);default:throw new J("Unknown group type as "+s,this.fetch())}},r.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},r.parseStringGroup=function(s,h,z){var ue=h?"[":"{",De=h?"]":"}",tt=this.fetch();if(tt.text!==ue){if(h)return null;if(z&&tt.text!=="EOF"&&/[^{}[\]]/.test(tt.text))return this.consume(),tt}var Ot=this.mode;this.mode="text",this.expect(ue);for(var or="",xr=this.fetch(),Wr=0,pn=xr,Pn;(Pn=this.fetch()).text!==De||z&&Wr>0;){switch(Pn.text){case"EOF":throw new J("Unexpected end of input in "+s,xr.range(pn,or));case ue:Wr++;break;case De:Wr--;break}pn=Pn,or+=pn.text,this.consume()}return this.expect(De),this.mode=Ot,xr.range(pn,or)},r.parseRegexGroup=function(s,h){var z=this.mode;this.mode="text";for(var ue=this.fetch(),De=ue,tt="",Ot;(Ot=this.fetch()).text!=="EOF"&&s.test(tt+Ot.text);)De=Ot,tt+=De.text,this.consume();if(tt==="")throw new J("Invalid "+h+": '"+ue.text+"'",ue);return this.mode=z,ue.range(De,tt)},r.parseColorGroup=function(s){var h=this.parseStringGroup("color",s);if(!h)return null;var z=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(h.text);if(!z)throw new J("Invalid color: '"+h.text+"'",h);var ue=z[0];return/^[0-9a-f]{6}$/i.test(ue)&&(ue="#"+ue),{type:"color-token",mode:this.mode,color:ue}},r.parseSizeGroup=function(s){var h,z=!1;if(!s&&this.fetch().text!=="{"?h=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):h=this.parseStringGroup("size",s),!h)return null;!s&&h.text.length===0&&(h.text="0pt",z=!0);var ue=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(h.text);if(!ue)throw new J("Invalid size: '"+h.text+"'",h);var De={number:+(ue[1]+ue[2]),unit:ue[3]};if(!Sn(De))throw new J("Invalid unit: '"+De.unit+"'",h);return{type:"size",mode:this.mode,value:De,isBlank:z}},r.parseUrlGroup=function(s,h){this.gullet.lexer.setCatcode("%",13);var z=this.parseStringGroup("url",s,!0);if(this.gullet.lexer.setCatcode("%",14),!z)return null;var ue=z.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:ue}},r.parseGroup=function(s,h,z,ue,De,tt){var Ot=this.mode;De&&this.switchMode(De),tt&&this.consumeSpaces();var or=this.fetch(),xr=or.text,Wr;if(h?xr==="[":xr==="{"||xr==="\\begingroup"){this.consume();var pn=F.endOfGroup[xr];this.gullet.beginGroup();var Pn=this.parseExpression(!1,pn),Fn=this.fetch();this.expect(pn),this.gullet.endGroup(),Wr={type:"ordgroup",mode:this.mode,loc:$.range(or,Fn),body:Pn,semisimple:xr==="\\begingroup"||void 0}}else if(h)Wr=null;else if(Wr=this.parseFunction(ue,s,z)||this.parseSymbol(),Wr==null&&xr[0]==="\\"&&!Ro.hasOwnProperty(xr)){if(this.settings.throwOnError)throw new J("Undefined control sequence: "+xr,or);Wr=this.formatUnsupportedCmd(xr),this.consume()}return De&&this.switchMode(Ot),Wr},r.formLigatures=function(s){for(var h=s.length-1,z=0;z<h;++z){var ue=s[z],De=ue.text;De==="-"&&s[z+1].text==="-"&&(z+1<h&&s[z+2].text==="-"?(s.splice(z,3,{type:"textord",mode:"text",loc:$.range(ue,s[z+2]),text:"---"}),h-=2):(s.splice(z,2,{type:"textord",mode:"text",loc:$.range(ue,s[z+1]),text:"--"}),h-=1)),(De==="'"||De==="`")&&s[z+1].text===De&&(s.splice(z,2,{type:"textord",mode:"text",loc:$.range(ue,s[z+1]),text:De+De}),h-=1)}},r.parseSymbol=function(){var s=this.fetch(),h=s.text;if(/^\\verb[^a-zA-Z]/.test(h)){this.consume();var z=h.slice(5),ue=z.charAt(0)==="*";if(ue&&(z=z.slice(1)),z.length<2||z.charAt(0)!==z.slice(-1))throw new J(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return z=z.slice(1,-1),{type:"verb",mode:"text",body:z,star:ue}}_o.hasOwnProperty(h[0])&&!_t[this.mode][h[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+h[0]+'" used in math mode',s),h=_o[h[0]]+h.substr(1));var De=Eo.exec(h);De&&(h=h.substring(0,De.index),h==="i"?h="\u0131":h==="j"&&(h="\u0237"));var tt;if(_t[this.mode][h]){this.settings.strict&&this.mode==="math"&&tn.indexOf(h)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+h[0]+'" used in math mode',s);var Ot=_t[this.mode][h].group,or=$.range(s),xr;if(Ur.hasOwnProperty(Ot)){var Wr=Ot;xr={type:"atom",mode:this.mode,family:Wr,loc:or,text:h}}else xr={type:Ot,mode:this.mode,loc:or,text:h};tt=xr}else if(h.charCodeAt(0)>=128)this.settings.strict&&(et(h.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+h[0]+'" used in math mode',s):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+h[0]+'"'+(" ("+h.charCodeAt(0)+")"),s)),tt={type:"textord",mode:"text",loc:$.range(s),text:h};else return null;if(this.consume(),De)for(var pn=0;pn<De[0].length;pn++){var Pn=De[0][pn];if(!Si[Pn])throw new J("Unknown accent ' "+Pn+"'",s);var Fn=Si[Pn][this.mode];if(!Fn)throw new J("Accent "+Pn+" unsupported in "+this.mode+" mode",s);tt={type:"accent",mode:this.mode,loc:$.range(s),label:Fn,isStretchy:!1,isShifty:!0,base:tt}}return tt},F}();Na.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Na.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Na.SUPSUB_GREEDINESS=1;var wa=function(r,o){if(!(typeof r=="string"||r instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var s=new Na(r,o);delete s.gullet.macros.current["\\df@tag"];var h=s.parse();if(s.gullet.macros.get("\\df@tag")){if(!o.displayMode)throw new J("\\tag works only in display equations");s.gullet.feed("\\df@tag"),h=[{type:"tag",mode:"text",body:h,tag:s.parse()}]}return h},Da=wa,to=function(r,o,s){o.textContent="";var h=S(r,s).toNode();o.appendChild(h)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),to=function(){throw new J("KaTeX doesn't work in quirks mode.")});var ya=function(r,o){var s=S(r,o).toMarkup();return s},La=function(r,o){var s=new M(o);return Da(r,s)},bo=function(r,o,s){if(s.throwOnError||!(r instanceof J))throw r;var h=oe.makeSpan(["katex-error"],[new Ae(o)]);return h.setAttribute("title",r.toString()),h.setAttribute("style","color:"+s.errorColor),h},S=function(r,o){var s=new M(o);try{var h=Da(r,s);return Jn(h,r,s)}catch(z){return bo(z,r,s)}},Re=function(r,o){var s=new M(o);try{var h=Da(r,s);return Qn(h,r,s)}catch(z){return bo(z,r,s)}},Ft={version:"0.11.1",render:to,renderToString:ya,ParseError:J,__parse:La,__renderToDomTree:S,__renderToHTMLTree:Re,__setFontMetrics:Kt,__defineSymbol:w,__defineMacro:it,__domTree:{Span:fe,Anchor:q,SymbolNode:Ae,SvgNode:Ye,PathNode:At,LineNode:Bt}},hr=a.default=Ft}]).default})},44140:function(on,Yt,a){"use strict";a.d(Yt,{Z:function(){return fa}});var t=a(11748),Fe=a(91891);class ${constructor(e,n,f){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=n,this.end=f}static range(e,n){return n?!e||!e.loc||!n.loc||e.loc.lexer!==n.loc.lexer?null:new $(e.loc.lexer,e.loc.start,n.loc.end):e&&e.loc}}class Be{constructor(e,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=n}range(e,n){return new Be(n,$.range(this,e))}}class G{constructor(e,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var f="KaTeX parse error: "+e,O,Q,je=n&&n.loc;if(je&&je.start<=je.end){var Ve=je.lexer.input;O=je.start,Q=je.end,O===Ve.length?f+=" at end of input: ":f+=" at position "+(O+1)+": ";var qe=Ve.slice(O,Q).replace(/[^]/g,"$&\u0332"),Dt;O>15?Dt="\u2026"+Ve.slice(O-15,O):Dt=Ve.slice(0,O);var mr;Q+15<Ve.length?mr=Ve.slice(Q,Q+15)+"\u2026":mr=Ve.slice(Q),f+=Dt+qe+mr}var Nr=new Error(f);return Nr.name="ParseError",Nr.__proto__=G.prototype,Nr.position=O,O!=null&&Q!=null&&(Nr.length=Q-O),Nr.rawMessage=e,Nr}}G.prototype.__proto__=Error.prototype;var J=function(e,n){return e.indexOf(n)!==-1},U=function(e,n){return e===void 0?n:e},y=/([A-Z])/g,W=function(e){return e.replace(y,"-$1").toLowerCase()},l={"&":"&",">":">","<":"<",'"':""","'":"'"},H=/[&><"']/g;function V(u){return String(u).replace(H,e=>l[e])}var Y=function u(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?u(e.body[0]):e:e.type==="font"?u(e.body):e},T=function(e){var n=Y(e);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},Z=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},E=function(e){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},j={contains:J,deflt:U,escape:V,hyphenate:W,getBaseElem:Y,isCharacterBox:T,protocolFromUrl:E},A={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:u=>"#"+u},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(u,e)=>(e.push(u),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:u=>Math.max(0,u),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:u=>Math.max(0,u),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:u=>Math.max(0,u),cli:"-e, --max-expand <n>",cliProcessor:u=>u==="Infinity"?1/0:parseInt(u)},globalGroup:{type:"boolean",cli:!1}};function M(u){if(u.default)return u.default;var e=u.type,n=Array.isArray(e)?e[0]:e;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class le{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var n in A)if(A.hasOwnProperty(n)){var f=A[n];this[n]=e[n]!==void 0?f.processor?f.processor(e[n]):e[n]:M(f)}}reportNonstrict(e,n,f){var O=this.strict;if(typeof O=="function"&&(O=O(e,n,f)),!(!O||O==="ignore")){if(O===!0||O==="error")throw new G("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+e+"]"),f);O==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+O+"': "+n+" ["+e+"]"))}}useStrictBehavior(e,n,f){var O=this.strict;if(typeof O=="function")try{O=O(e,n,f)}catch(Q){O="error"}return!O||O==="ignore"?!1:O===!0||O==="error"?!0:O==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+O+"': "+n+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var n=j.protocolFromUrl(e.url);if(n==null)return!1;e.protocol=n}var f=typeof this.trust=="function"?this.trust(e):this.trust;return!!f}}class ee{constructor(e,n,f){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=n,this.cramped=f}sup(){return Ee[R[this.id]]}sub(){return Ee[N[this.id]]}fracNum(){return Ee[vt[this.id]]}fracDen(){return Ee[ve[this.id]]}cramp(){return Ee[de[this.id]]}text(){return Ee[k[this.id]]}isTight(){return this.size>=2}}var C=0,Le=1,Me=2,He=3,We=4,Pe=5,Ne=6,ae=7,Ee=[new ee(C,0,!1),new ee(Le,0,!0),new ee(Me,1,!1),new ee(He,1,!0),new ee(We,2,!1),new ee(Pe,2,!0),new ee(Ne,3,!1),new ee(ae,3,!0)],R=[We,Pe,We,Pe,Ne,ae,Ne,ae],N=[Pe,Pe,Pe,Pe,ae,ae,ae,ae],vt=[Me,He,We,Pe,Ne,ae,Ne,ae],ve=[He,He,Pe,Pe,ae,ae,ae,ae],de=[Le,Le,He,He,Pe,Pe,ae,ae],k=[C,Le,Me,He,Me,He,Me,He],te={DISPLAY:Ee[C],TEXT:Ee[Me],SCRIPT:Ee[We],SCRIPTSCRIPT:Ee[Ne]},ie=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ye(u){for(var e=0;e<ie.length;e++)for(var n=ie[e],f=0;f<n.blocks.length;f++){var O=n.blocks[f];if(u>=O[0]&&u<=O[1])return n.name}return null}var et=[];ie.forEach(u=>u.blocks.forEach(e=>et.push(...e)));function Te(u){for(var e=0;e<et.length;e+=2)if(u>=et[e]&&u<=et[e+1])return!0;return!1}var Qe=80,Wt=function(e,n){return"M95,"+(622+e+n)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+e/2.075+" -"+e+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+e)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},Ut=function(e,n){return"M263,"+(601+e+n)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+e/2.084+" -"+e+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+e)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},ze=function(e,n){return"M983 "+(10+e+n)+`
|
|
|
l`+e/3.13+" -"+e+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},Ue=function(e,n){return"M424,"+(2398+e+n)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+e)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+n+`
|
|
|
h400000v`+(40+e)+"h-400000z"},sr=function(e,n){return"M473,"+(2713+e+n)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+e)+" "+n+"h400000v"+(40+e)+"H1017.7z"},tr=function(e){var n=e/2;return"M400000 "+e+" H0 L"+n+" 0 l65 45 L145 "+(e-80)+" H400000z"},$e=function(e,n,f){var O=f-54-n-e;return"M702 "+(e+n)+"H400000"+(40+e)+`
|
|
|
H742v`+O+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+n+"H400000v"+(40+e)+"H742z"},re=function(e,n,f){n=1e3*n;var O="";switch(e){case"sqrtMain":O=Wt(n,Qe);break;case"sqrtSize1":O=Ut(n,Qe);break;case"sqrtSize2":O=ze(n,Qe);break;case"sqrtSize3":O=Ue(n,Qe);break;case"sqrtSize4":O=sr(n,Qe);break;case"sqrtTall":O=$e(n,Qe,f)}return O},g=function(e,n){switch(e){case"\u239C":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"\u2223":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"\u2225":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"\u239F":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"\u23A2":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"\u23A5":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"\u23AA":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"\u23D0":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"\u2016":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},Xe={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Se=function(e,n){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
|
|
|
H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
|
|
|
M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
|
|
|
M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z
|
|
|
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
|
|
|
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
|
|
|
M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
|
|
|
M347 1759 V0 h-84 V1759 v`+n+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
|
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
|
-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
|
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
|
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
|
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
|
l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
|
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
|
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
|
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
|
|
|
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
|
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
|
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
|
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
|
l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class ge{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return j.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){for(var e="",n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e}toText(){var e=n=>n.toText();return this.children.map(e).join("")}}var fe={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},q={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},we={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Oe(u,e){fe[u]=e}function Ae(u,e,n){if(!fe[e])throw new Error("Font metrics not found for font: "+e+".");var f=u.charCodeAt(0),O=fe[e][f];if(!O&&u[0]in we&&(f=we[u[0]].charCodeAt(0),O=fe[e][f]),!O&&n==="text"&&Te(f)&&(O=fe[e][77]),O)return{depth:O[0],height:O[1],italic:O[2],skew:O[3],width:O[4]}}var Ye={};function At(u){var e;if(u>=5?e=0:u>=3?e=1:e=2,!Ye[e]){var n=Ye[e]={cssEmPerMu:q.quad[e]/18};for(var f in q)q.hasOwnProperty(f)&&(n[f]=q[f][e])}return Ye[e]}var Bt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],cr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ur=function(e,n){return n.size<2?e:Bt[e-1][n.size-1]};class Et{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||Et.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=cr[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var f in e)e.hasOwnProperty(f)&&(n[f]=e[f]);return new Et(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:ur(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:cr[e-1]})}havingBaseStyle(e){e=e||this.style.text();var n=ur(Et.BASESIZE,e);return this.size===n&&this.textSize===Et.BASESIZE&&this.style===e?this:this.extend({style:e,size:n})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Et.BASESIZE?["sizing","reset-size"+this.size,"size"+Et.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=At(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Et.BASESIZE=6;var ut={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Mt={ex:!0,em:!0,mu:!0},Kt=function(e){return typeof e!="string"&&(e=e.unit),e in ut||e in Mt||e==="ex"},Qt=function(e,n){var f;if(e.unit in ut)f=ut[e.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(e.unit==="mu")f=n.fontMetrics().cssEmPerMu;else{var O;if(n.style.isTight()?O=n.havingStyle(n.style.text()):O=n,e.unit==="ex")f=O.fontMetrics().xHeight;else if(e.unit==="em")f=O.fontMetrics().quad;else throw new G("Invalid unit: '"+e.unit+"'");O!==n&&(f*=O.sizeMultiplier/n.sizeMultiplier)}return Math.min(e.number*f,n.maxSize)},St=function(e){return+e.toFixed(4)+"em"},pr=function(e){return e.filter(n=>n).join(" ")},Ur=function(e,n,f){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=f||{},n){n.style.isTight()&&this.classes.push("mtight");var O=n.getColor();O&&(this.style.color=O)}},Lt=function(e){var n=document.createElement(e);n.className=pr(this.classes);for(var f in this.style)this.style.hasOwnProperty(f)&&(n.style[f]=this.style[f]);for(var O in this.attributes)this.attributes.hasOwnProperty(O)&&n.setAttribute(O,this.attributes[O]);for(var Q=0;Q<this.children.length;Q++)n.appendChild(this.children[Q].toNode());return n},lr=function(e){var n="<"+e;this.classes.length&&(n+=' class="'+j.escape(pr(this.classes))+'"');var f="";for(var O in this.style)this.style.hasOwnProperty(O)&&(f+=j.hyphenate(O)+":"+this.style[O]+";");f&&(n+=' style="'+j.escape(f)+'"');for(var Q in this.attributes)this.attributes.hasOwnProperty(Q)&&(n+=" "+Q+'="'+j.escape(this.attributes[Q])+'"');n+=">";for(var je=0;je<this.children.length;je++)n+=this.children[je].toMarkup();return n+="</"+e+">",n};class _t{constructor(e,n,f,O){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ur.call(this,e,f,O),this.children=n||[]}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return j.contains(this.classes,e)}toNode(){return Lt.call(this,"span")}toMarkup(){return lr.call(this,"span")}}class w{constructor(e,n,f,O){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ur.call(this,n,O),this.children=f||[],this.setAttribute("href",e)}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return j.contains(this.classes,e)}toNode(){return Lt.call(this,"a")}toMarkup(){return lr.call(this,"a")}}class P{constructor(e,n,f){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=e,this.classes=["mord"],this.style=f}hasClass(e){return j.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(e.style[n]=this.style[n]);return e}toMarkup(){var e='<img src="'+j.escape(this.src)+'"'+(' alt="'+j.escape(this.alt)+'"'),n="";for(var f in this.style)this.style.hasOwnProperty(f)&&(n+=j.hyphenate(f)+":"+this.style[f]+";");return n&&(e+=' style="'+j.escape(n)+'"'),e+="'/>",e}}var Pt={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class ne{constructor(e,n,f,O,Q,je,Ve,qe){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=n||0,this.depth=f||0,this.italic=O||0,this.skew=Q||0,this.width=je||0,this.classes=Ve||[],this.style=qe||{},this.maxFontSize=0;var Dt=ye(this.text.charCodeAt(0));Dt&&this.classes.push(Dt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Pt[this.text])}hasClass(e){return j.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=St(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=pr(this.classes));for(var f in this.style)this.style.hasOwnProperty(f)&&(n=n||document.createElement("span"),n.style[f]=this.style[f]);return n?(n.appendChild(e),n):e}toMarkup(){var e=!1,n="<span";this.classes.length&&(e=!0,n+=' class="',n+=j.escape(pr(this.classes)),n+='"');var f="";this.italic>0&&(f+="margin-right:"+this.italic+"em;");for(var O in this.style)this.style.hasOwnProperty(O)&&(f+=j.hyphenate(O)+":"+this.style[O]+";");f&&(e=!0,n+=' style="'+j.escape(f)+'"');var Q=j.escape(this.text);return e?(n+=">",n+=Q,n+="</span>",n):Q}}class ke{constructor(e,n){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=n||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"svg");for(var f in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,f)&&n.setAttribute(f,this.attributes[f]);for(var O=0;O<this.children.length;O++)n.appendChild(this.children[O].toNode());return n}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="'+j.escape(this.attributes[n])+'"');e+=">";for(var f=0;f<this.children.length;f++)e+=this.children[f].toMarkup();return e+="</svg>",e}}class Mr{constructor(e,n){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=n}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",Xe[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+j.escape(this.alternate)+'"/>':'<path d="'+j.escape(Xe[this.pathName])+'"/>'}}class Pr{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"line");for(var f in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,f)&&n.setAttribute(f,this.attributes[f]);return n}toMarkup(){var e="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="'+j.escape(this.attributes[n])+'"');return e+="/>",e}}function En(u){if(u instanceof ne)return u;throw new Error("Expected symbolNode but got "+String(u)+".")}function Nn(u){if(u instanceof _t)return u;throw new Error("Expected span<HtmlDomNode> but got "+String(u)+".")}var mn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},yn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Cn={math:{},text:{}};function L(u,e,n,f,O,Q){Cn[u][O]={font:e,group:n,replace:f},Q&&f&&(Cn[u][f]=Cn[u][O])}var x="math",Dr="text",K="main",Tt="ams",Xt="accent-token",ar="bin",ot="close",Ie="inner",st="mathord",zt="op-token",rr="open",fr="punct",ht="rel",ln="spacing",pe="textord";L(x,K,ht,"\u2261","\\equiv",!0),L(x,K,ht,"\u227A","\\prec",!0),L(x,K,ht,"\u227B","\\succ",!0),L(x,K,ht,"\u223C","\\sim",!0),L(x,K,ht,"\u22A5","\\perp"),L(x,K,ht,"\u2AAF","\\preceq",!0),L(x,K,ht,"\u2AB0","\\succeq",!0),L(x,K,ht,"\u2243","\\simeq",!0),L(x,K,ht,"\u2223","\\mid",!0),L(x,K,ht,"\u226A","\\ll",!0),L(x,K,ht,"\u226B","\\gg",!0),L(x,K,ht,"\u224D","\\asymp",!0),L(x,K,ht,"\u2225","\\parallel"),L(x,K,ht,"\u22C8","\\bowtie",!0),L(x,K,ht,"\u2323","\\smile",!0),L(x,K,ht,"\u2291","\\sqsubseteq",!0),L(x,K,ht,"\u2292","\\sqsupseteq",!0),L(x,K,ht,"\u2250","\\doteq",!0),L(x,K,ht,"\u2322","\\frown",!0),L(x,K,ht,"\u220B","\\ni",!0),L(x,K,ht,"\u221D","\\propto",!0),L(x,K,ht,"\u22A2","\\vdash",!0),L(x,K,ht,"\u22A3","\\dashv",!0),L(x,K,ht,"\u220B","\\owns"),L(x,K,fr,".","\\ldotp"),L(x,K,fr,"\u22C5","\\cdotp"),L(x,K,pe,"#","\\#"),L(Dr,K,pe,"#","\\#"),L(x,K,pe,"&","\\&"),L(Dr,K,pe,"&","\\&"),L(x,K,pe,"\u2135","\\aleph",!0),L(x,K,pe,"\u2200","\\forall",!0),L(x,K,pe,"\u210F","\\hbar",!0),L(x,K,pe,"\u2203","\\exists",!0),L(x,K,pe,"\u2207","\\nabla",!0),L(x,K,pe,"\u266D","\\flat",!0),L(x,K,pe,"\u2113","\\ell",!0),L(x,K,pe,"\u266E","\\natural",!0),L(x,K,pe,"\u2663","\\clubsuit",!0),L(x,K,pe,"\u2118","\\wp",!0),L(x,K,pe,"\u266F","\\sharp",!0),L(x,K,pe,"\u2662","\\diamondsuit",!0),L(x,K,pe,"\u211C","\\Re",!0),L(x,K,pe,"\u2661","\\heartsuit",!0),L(x,K,pe,"\u2111","\\Im",!0),L(x,K,pe,"\u2660","\\spadesuit",!0),L(x,K,pe,"\xA7","\\S",!0),L(Dr,K,pe,"\xA7","\\S"),L(x,K,pe,"\xB6","\\P",!0),L(Dr,K,pe,"\xB6","\\P"),L(x,K,pe,"\u2020","\\dag"),L(Dr,K,pe,"\u2020","\\dag"),L(Dr,K,pe,"\u2020","\\textdagger"),L(x,K,pe,"\u2021","\\ddag"),L(Dr,K,pe,"\u2021","\\ddag"),L(Dr,K,pe,"\u2021","\\textdaggerdbl"),L(x,K,ot,"\u23B1","\\rmoustache",!0),L(x,K,rr,"\u23B0","\\lmoustache",!0),L(x,K,ot,"\u27EF","\\rgroup",!0),L(x,K,rr,"\u27EE","\\lgroup",!0),L(x,K,ar,"\u2213","\\mp",!0),L(x,K,ar,"\u2296","\\ominus",!0),L(x,K,ar,"\u228E","\\uplus",!0),L(x,K,ar,"\u2293","\\sqcap",!0),L(x,K,ar,"\u2217","\\ast"),L(x,K,ar,"\u2294","\\sqcup",!0),L(x,K,ar,"\u25EF","\\bigcirc",!0),L(x,K,ar,"\u2219","\\bullet",!0),L(x,K,ar,"\u2021","\\ddagger"),L(x,K,ar,"\u2240","\\wr",!0),L(x,K,ar,"\u2A3F","\\amalg"),L(x,K,ar,"&","\\And"),L(x,K,ht,"\u27F5","\\longleftarrow",!0),L(x,K,ht,"\u21D0","\\Leftarrow",!0),L(x,K,ht,"\u27F8","\\Longleftarrow",!0),L(x,K,ht,"\u27F6","\\longrightarrow",!0),L(x,K,ht,"\u21D2","\\Rightarrow",!0),L(x,K,ht,"\u27F9","\\Longrightarrow",!0),L(x,K,ht,"\u2194","\\leftrightarrow",!0),L(x,K,ht,"\u27F7","\\longleftrightarrow",!0),L(x,K,ht,"\u21D4","\\Leftrightarrow",!0),L(x,K,ht,"\u27FA","\\Longleftrightarrow",!0),L(x,K,ht,"\u21A6","\\mapsto",!0),L(x,K,ht,"\u27FC","\\longmapsto",!0),L(x,K,ht,"\u2197","\\nearrow",!0),L(x,K,ht,"\u21A9","\\hookleftarrow",!0),L(x,K,ht,"\u21AA","\\hookrightarrow",!0),L(x,K,ht,"\u2198","\\searrow",!0),L(x,K,ht,"\u21BC","\\leftharpoonup",!0),L(x,K,ht,"\u21C0","\\rightharpoonup",!0),L(x,K,ht,"\u2199","\\swarrow",!0),L(x,K,ht,"\u21BD","\\leftharpoondown",!0),L(x,K,ht,"\u21C1","\\rightharpoondown",!0),L(x,K,ht,"\u2196","\\nwarrow",!0),L(x,K,ht,"\u21CC","\\rightleftharpoons",!0),L(x,Tt,ht,"\u226E","\\nless",!0),L(x,Tt,ht,"\uE010","\\@nleqslant"),L(x,Tt,ht,"\uE011","\\@nleqq"),L(x,Tt,ht,"\u2A87","\\lneq",!0),L(x,Tt,ht,"\u2268","\\lneqq",!0),L(x,Tt,ht,"\uE00C","\\@lvertneqq"),L(x,Tt,ht,"\u22E6","\\lnsim",!0),L(x,Tt,ht,"\u2A89","\\lnapprox",!0),L(x,Tt,ht,"\u2280","\\nprec",!0),L(x,Tt,ht,"\u22E0","\\npreceq",!0),L(x,Tt,ht,"\u22E8","\\precnsim",!0),L(x,Tt,ht,"\u2AB9","\\precnapprox",!0),L(x,Tt,ht,"\u2241","\\nsim",!0),L(x,Tt,ht,"\uE006","\\@nshortmid"),L(x,Tt,ht,"\u2224","\\nmid",!0),L(x,Tt,ht,"\u22AC","\\nvdash",!0),L(x,Tt,ht,"\u22AD","\\nvDash",!0),L(x,Tt,ht,"\u22EA","\\ntriangleleft"),L(x,Tt,ht,"\u22EC","\\ntrianglelefteq",!0),L(x,Tt,ht,"\u228A","\\subsetneq",!0),L(x,Tt,ht,"\uE01A","\\@varsubsetneq"),L(x,Tt,ht,"\u2ACB","\\subsetneqq",!0),L(x,Tt,ht,"\uE017","\\@varsubsetneqq"),L(x,Tt,ht,"\u226F","\\ngtr",!0),L(x,Tt,ht,"\uE00F","\\@ngeqslant"),L(x,Tt,ht,"\uE00E","\\@ngeqq"),L(x,Tt,ht,"\u2A88","\\gneq",!0),L(x,Tt,ht,"\u2269","\\gneqq",!0),L(x,Tt,ht,"\uE00D","\\@gvertneqq"),L(x,Tt,ht,"\u22E7","\\gnsim",!0),L(x,Tt,ht,"\u2A8A","\\gnapprox",!0),L(x,Tt,ht,"\u2281","\\nsucc",!0),L(x,Tt,ht,"\u22E1","\\nsucceq",!0),L(x,Tt,ht,"\u22E9","\\succnsim",!0),L(x,Tt,ht,"\u2ABA","\\succnapprox",!0),L(x,Tt,ht,"\u2246","\\ncong",!0),L(x,Tt,ht,"\uE007","\\@nshortparallel"),L(x,Tt,ht,"\u2226","\\nparallel",!0),L(x,Tt,ht,"\u22AF","\\nVDash",!0),L(x,Tt,ht,"\u22EB","\\ntriangleright"),L(x,Tt,ht,"\u22ED","\\ntrianglerighteq",!0),L(x,Tt,ht,"\uE018","\\@nsupseteqq"),L(x,Tt,ht,"\u228B","\\supsetneq",!0),L(x,Tt,ht,"\uE01B","\\@varsupsetneq"),L(x,Tt,ht,"\u2ACC","\\supsetneqq",!0),L(x,Tt,ht,"\uE019","\\@varsupsetneqq"),L(x,Tt,ht,"\u22AE","\\nVdash",!0),L(x,Tt,ht,"\u2AB5","\\precneqq",!0),L(x,Tt,ht,"\u2AB6","\\succneqq",!0),L(x,Tt,ht,"\uE016","\\@nsubseteqq"),L(x,Tt,ar,"\u22B4","\\unlhd"),L(x,Tt,ar,"\u22B5","\\unrhd"),L(x,Tt,ht,"\u219A","\\nleftarrow",!0),L(x,Tt,ht,"\u219B","\\nrightarrow",!0),L(x,Tt,ht,"\u21CD","\\nLeftarrow",!0),L(x,Tt,ht,"\u21CF","\\nRightarrow",!0),L(x,Tt,ht,"\u21AE","\\nleftrightarrow",!0),L(x,Tt,ht,"\u21CE","\\nLeftrightarrow",!0),L(x,Tt,ht,"\u25B3","\\vartriangle"),L(x,Tt,pe,"\u210F","\\hslash"),L(x,Tt,pe,"\u25BD","\\triangledown"),L(x,Tt,pe,"\u25CA","\\lozenge"),L(x,Tt,pe,"\u24C8","\\circledS"),L(x,Tt,pe,"\xAE","\\circledR"),L(Dr,Tt,pe,"\xAE","\\circledR"),L(x,Tt,pe,"\u2221","\\measuredangle",!0),L(x,Tt,pe,"\u2204","\\nexists"),L(x,Tt,pe,"\u2127","\\mho"),L(x,Tt,pe,"\u2132","\\Finv",!0),L(x,Tt,pe,"\u2141","\\Game",!0),L(x,Tt,pe,"\u2035","\\backprime"),L(x,Tt,pe,"\u25B2","\\blacktriangle"),L(x,Tt,pe,"\u25BC","\\blacktriangledown"),L(x,Tt,pe,"\u25A0","\\blacksquare"),L(x,Tt,pe,"\u29EB","\\blacklozenge"),L(x,Tt,pe,"\u2605","\\bigstar"),L(x,Tt,pe,"\u2222","\\sphericalangle",!0),L(x,Tt,pe,"\u2201","\\complement",!0),L(x,Tt,pe,"\xF0","\\eth",!0),L(Dr,K,pe,"\xF0","\xF0"),L(x,Tt,pe,"\u2571","\\diagup"),L(x,Tt,pe,"\u2572","\\diagdown"),L(x,Tt,pe,"\u25A1","\\square"),L(x,Tt,pe,"\u25A1","\\Box"),L(x,Tt,pe,"\u25CA","\\Diamond"),L(x,Tt,pe,"\xA5","\\yen",!0),L(Dr,Tt,pe,"\xA5","\\yen",!0),L(x,Tt,pe,"\u2713","\\checkmark",!0),L(Dr,Tt,pe,"\u2713","\\checkmark"),L(x,Tt,pe,"\u2136","\\beth",!0),L(x,Tt,pe,"\u2138","\\daleth",!0),L(x,Tt,pe,"\u2137","\\gimel",!0),L(x,Tt,pe,"\u03DD","\\digamma",!0),L(x,Tt,pe,"\u03F0","\\varkappa"),L(x,Tt,rr,"\u250C","\\@ulcorner",!0),L(x,Tt,ot,"\u2510","\\@urcorner",!0),L(x,Tt,rr,"\u2514","\\@llcorner",!0),L(x,Tt,ot,"\u2518","\\@lrcorner",!0),L(x,Tt,ht,"\u2266","\\leqq",!0),L(x,Tt,ht,"\u2A7D","\\leqslant",!0),L(x,Tt,ht,"\u2A95","\\eqslantless",!0),L(x,Tt,ht,"\u2272","\\lesssim",!0),L(x,Tt,ht,"\u2A85","\\lessapprox",!0),L(x,Tt,ht,"\u224A","\\approxeq",!0),L(x,Tt,ar,"\u22D6","\\lessdot"),L(x,Tt,ht,"\u22D8","\\lll",!0),L(x,Tt,ht,"\u2276","\\lessgtr",!0),L(x,Tt,ht,"\u22DA","\\lesseqgtr",!0),L(x,Tt,ht,"\u2A8B","\\lesseqqgtr",!0),L(x,Tt,ht,"\u2251","\\doteqdot"),L(x,Tt,ht,"\u2253","\\risingdotseq",!0),L(x,Tt,ht,"\u2252","\\fallingdotseq",!0),L(x,Tt,ht,"\u223D","\\backsim",!0),L(x,Tt,ht,"\u22CD","\\backsimeq",!0),L(x,Tt,ht,"\u2AC5","\\subseteqq",!0),L(x,Tt,ht,"\u22D0","\\Subset",!0),L(x,Tt,ht,"\u228F","\\sqsubset",!0),L(x,Tt,ht,"\u227C","\\preccurlyeq",!0),L(x,Tt,ht,"\u22DE","\\curlyeqprec",!0),L(x,Tt,ht,"\u227E","\\precsim",!0),L(x,Tt,ht,"\u2AB7","\\precapprox",!0),L(x,Tt,ht,"\u22B2","\\vartriangleleft"),L(x,Tt,ht,"\u22B4","\\trianglelefteq"),L(x,Tt,ht,"\u22A8","\\vDash",!0),L(x,Tt,ht,"\u22AA","\\Vvdash",!0),L(x,Tt,ht,"\u2323","\\smallsmile"),L(x,Tt,ht,"\u2322","\\smallfrown"),L(x,Tt,ht,"\u224F","\\bumpeq",!0),L(x,Tt,ht,"\u224E","\\Bumpeq",!0),L(x,Tt,ht,"\u2267","\\geqq",!0),L(x,Tt,ht,"\u2A7E","\\geqslant",!0),L(x,Tt,ht,"\u2A96","\\eqslantgtr",!0),L(x,Tt,ht,"\u2273","\\gtrsim",!0),L(x,Tt,ht,"\u2A86","\\gtrapprox",!0),L(x,Tt,ar,"\u22D7","\\gtrdot"),L(x,Tt,ht,"\u22D9","\\ggg",!0),L(x,Tt,ht,"\u2277","\\gtrless",!0),L(x,Tt,ht,"\u22DB","\\gtreqless",!0),L(x,Tt,ht,"\u2A8C","\\gtreqqless",!0),L(x,Tt,ht,"\u2256","\\eqcirc",!0),L(x,Tt,ht,"\u2257","\\circeq",!0),L(x,Tt,ht,"\u225C","\\triangleq",!0),L(x,Tt,ht,"\u223C","\\thicksim"),L(x,Tt,ht,"\u2248","\\thickapprox"),L(x,Tt,ht,"\u2AC6","\\supseteqq",!0),L(x,Tt,ht,"\u22D1","\\Supset",!0),L(x,Tt,ht,"\u2290","\\sqsupset",!0),L(x,Tt,ht,"\u227D","\\succcurlyeq",!0),L(x,Tt,ht,"\u22DF","\\curlyeqsucc",!0),L(x,Tt,ht,"\u227F","\\succsim",!0),L(x,Tt,ht,"\u2AB8","\\succapprox",!0),L(x,Tt,ht,"\u22B3","\\vartriangleright"),L(x,Tt,ht,"\u22B5","\\trianglerighteq"),L(x,Tt,ht,"\u22A9","\\Vdash",!0),L(x,Tt,ht,"\u2223","\\shortmid"),L(x,Tt,ht,"\u2225","\\shortparallel"),L(x,Tt,ht,"\u226C","\\between",!0),L(x,Tt,ht,"\u22D4","\\pitchfork",!0),L(x,Tt,ht,"\u221D","\\varpropto"),L(x,Tt,ht,"\u25C0","\\blacktriangleleft"),L(x,Tt,ht,"\u2234","\\therefore",!0),L(x,Tt,ht,"\u220D","\\backepsilon"),L(x,Tt,ht,"\u25B6","\\blacktriangleright"),L(x,Tt,ht,"\u2235","\\because",!0),L(x,Tt,ht,"\u22D8","\\llless"),L(x,Tt,ht,"\u22D9","\\gggtr"),L(x,Tt,ar,"\u22B2","\\lhd"),L(x,Tt,ar,"\u22B3","\\rhd"),L(x,Tt,ht,"\u2242","\\eqsim",!0),L(x,K,ht,"\u22C8","\\Join"),L(x,Tt,ht,"\u2251","\\Doteq",!0),L(x,Tt,ar,"\u2214","\\dotplus",!0),L(x,Tt,ar,"\u2216","\\smallsetminus"),L(x,Tt,ar,"\u22D2","\\Cap",!0),L(x,Tt,ar,"\u22D3","\\Cup",!0),L(x,Tt,ar,"\u2A5E","\\doublebarwedge",!0),L(x,Tt,ar,"\u229F","\\boxminus",!0),L(x,Tt,ar,"\u229E","\\boxplus",!0),L(x,Tt,ar,"\u22C7","\\divideontimes",!0),L(x,Tt,ar,"\u22C9","\\ltimes",!0),L(x,Tt,ar,"\u22CA","\\rtimes",!0),L(x,Tt,ar,"\u22CB","\\leftthreetimes",!0),L(x,Tt,ar,"\u22CC","\\rightthreetimes",!0),L(x,Tt,ar,"\u22CF","\\curlywedge",!0),L(x,Tt,ar,"\u22CE","\\curlyvee",!0),L(x,Tt,ar,"\u229D","\\circleddash",!0),L(x,Tt,ar,"\u229B","\\circledast",!0),L(x,Tt,ar,"\u22C5","\\centerdot"),L(x,Tt,ar,"\u22BA","\\intercal",!0),L(x,Tt,ar,"\u22D2","\\doublecap"),L(x,Tt,ar,"\u22D3","\\doublecup"),L(x,Tt,ar,"\u22A0","\\boxtimes",!0),L(x,Tt,ht,"\u21E2","\\dashrightarrow",!0),L(x,Tt,ht,"\u21E0","\\dashleftarrow",!0),L(x,Tt,ht,"\u21C7","\\leftleftarrows",!0),L(x,Tt,ht,"\u21C6","\\leftrightarrows",!0),L(x,Tt,ht,"\u21DA","\\Lleftarrow",!0),L(x,Tt,ht,"\u219E","\\twoheadleftarrow",!0),L(x,Tt,ht,"\u21A2","\\leftarrowtail",!0),L(x,Tt,ht,"\u21AB","\\looparrowleft",!0),L(x,Tt,ht,"\u21CB","\\leftrightharpoons",!0),L(x,Tt,ht,"\u21B6","\\curvearrowleft",!0),L(x,Tt,ht,"\u21BA","\\circlearrowleft",!0),L(x,Tt,ht,"\u21B0","\\Lsh",!0),L(x,Tt,ht,"\u21C8","\\upuparrows",!0),L(x,Tt,ht,"\u21BF","\\upharpoonleft",!0),L(x,Tt,ht,"\u21C3","\\downharpoonleft",!0),L(x,K,ht,"\u22B6","\\origof",!0),L(x,K,ht,"\u22B7","\\imageof",!0),L(x,Tt,ht,"\u22B8","\\multimap",!0),L(x,Tt,ht,"\u21AD","\\leftrightsquigarrow",!0),L(x,Tt,ht,"\u21C9","\\rightrightarrows",!0),L(x,Tt,ht,"\u21C4","\\rightleftarrows",!0),L(x,Tt,ht,"\u21A0","\\twoheadrightarrow",!0),L(x,Tt,ht,"\u21A3","\\rightarrowtail",!0),L(x,Tt,ht,"\u21AC","\\looparrowright",!0),L(x,Tt,ht,"\u21B7","\\curvearrowright",!0),L(x,Tt,ht,"\u21BB","\\circlearrowright",!0),L(x,Tt,ht,"\u21B1","\\Rsh",!0),L(x,Tt,ht,"\u21CA","\\downdownarrows",!0),L(x,Tt,ht,"\u21BE","\\upharpoonright",!0),L(x,Tt,ht,"\u21C2","\\downharpoonright",!0),L(x,Tt,ht,"\u21DD","\\rightsquigarrow",!0),L(x,Tt,ht,"\u21DD","\\leadsto"),L(x,Tt,ht,"\u21DB","\\Rrightarrow",!0),L(x,Tt,ht,"\u21BE","\\restriction"),L(x,K,pe,"\u2018","`"),L(x,K,pe,"$","\\$"),L(Dr,K,pe,"$","\\$"),L(Dr,K,pe,"$","\\textdollar"),L(x,K,pe,"%","\\%"),L(Dr,K,pe,"%","\\%"),L(x,K,pe,"_","\\_"),L(Dr,K,pe,"_","\\_"),L(Dr,K,pe,"_","\\textunderscore"),L(x,K,pe,"\u2220","\\angle",!0),L(x,K,pe,"\u221E","\\infty",!0),L(x,K,pe,"\u2032","\\prime"),L(x,K,pe,"\u25B3","\\triangle"),L(x,K,pe,"\u0393","\\Gamma",!0),L(x,K,pe,"\u0394","\\Delta",!0),L(x,K,pe,"\u0398","\\Theta",!0),L(x,K,pe,"\u039B","\\Lambda",!0),L(x,K,pe,"\u039E","\\Xi",!0),L(x,K,pe,"\u03A0","\\Pi",!0),L(x,K,pe,"\u03A3","\\Sigma",!0),L(x,K,pe,"\u03A5","\\Upsilon",!0),L(x,K,pe,"\u03A6","\\Phi",!0),L(x,K,pe,"\u03A8","\\Psi",!0),L(x,K,pe,"\u03A9","\\Omega",!0),L(x,K,pe,"A","\u0391"),L(x,K,pe,"B","\u0392"),L(x,K,pe,"E","\u0395"),L(x,K,pe,"Z","\u0396"),L(x,K,pe,"H","\u0397"),L(x,K,pe,"I","\u0399"),L(x,K,pe,"K","\u039A"),L(x,K,pe,"M","\u039C"),L(x,K,pe,"N","\u039D"),L(x,K,pe,"O","\u039F"),L(x,K,pe,"P","\u03A1"),L(x,K,pe,"T","\u03A4"),L(x,K,pe,"X","\u03A7"),L(x,K,pe,"\xAC","\\neg",!0),L(x,K,pe,"\xAC","\\lnot"),L(x,K,pe,"\u22A4","\\top"),L(x,K,pe,"\u22A5","\\bot"),L(x,K,pe,"\u2205","\\emptyset"),L(x,Tt,pe,"\u2205","\\varnothing"),L(x,K,st,"\u03B1","\\alpha",!0),L(x,K,st,"\u03B2","\\beta",!0),L(x,K,st,"\u03B3","\\gamma",!0),L(x,K,st,"\u03B4","\\delta",!0),L(x,K,st,"\u03F5","\\epsilon",!0),L(x,K,st,"\u03B6","\\zeta",!0),L(x,K,st,"\u03B7","\\eta",!0),L(x,K,st,"\u03B8","\\theta",!0),L(x,K,st,"\u03B9","\\iota",!0),L(x,K,st,"\u03BA","\\kappa",!0),L(x,K,st,"\u03BB","\\lambda",!0),L(x,K,st,"\u03BC","\\mu",!0),L(x,K,st,"\u03BD","\\nu",!0),L(x,K,st,"\u03BE","\\xi",!0),L(x,K,st,"\u03BF","\\omicron",!0),L(x,K,st,"\u03C0","\\pi",!0),L(x,K,st,"\u03C1","\\rho",!0),L(x,K,st,"\u03C3","\\sigma",!0),L(x,K,st,"\u03C4","\\tau",!0),L(x,K,st,"\u03C5","\\upsilon",!0),L(x,K,st,"\u03D5","\\phi",!0),L(x,K,st,"\u03C7","\\chi",!0),L(x,K,st,"\u03C8","\\psi",!0),L(x,K,st,"\u03C9","\\omega",!0),L(x,K,st,"\u03B5","\\varepsilon",!0),L(x,K,st,"\u03D1","\\vartheta",!0),L(x,K,st,"\u03D6","\\varpi",!0),L(x,K,st,"\u03F1","\\varrho",!0),L(x,K,st,"\u03C2","\\varsigma",!0),L(x,K,st,"\u03C6","\\varphi",!0),L(x,K,ar,"\u2217","*",!0),L(x,K,ar,"+","+"),L(x,K,ar,"\u2212","-",!0),L(x,K,ar,"\u22C5","\\cdot",!0),L(x,K,ar,"\u2218","\\circ",!0),L(x,K,ar,"\xF7","\\div",!0),L(x,K,ar,"\xB1","\\pm",!0),L(x,K,ar,"\xD7","\\times",!0),L(x,K,ar,"\u2229","\\cap",!0),L(x,K,ar,"\u222A","\\cup",!0),L(x,K,ar,"\u2216","\\setminus",!0),L(x,K,ar,"\u2227","\\land"),L(x,K,ar,"\u2228","\\lor"),L(x,K,ar,"\u2227","\\wedge",!0),L(x,K,ar,"\u2228","\\vee",!0),L(x,K,pe,"\u221A","\\surd"),L(x,K,rr,"\u27E8","\\langle",!0),L(x,K,rr,"\u2223","\\lvert"),L(x,K,rr,"\u2225","\\lVert"),L(x,K,ot,"?","?"),L(x,K,ot,"!","!"),L(x,K,ot,"\u27E9","\\rangle",!0),L(x,K,ot,"\u2223","\\rvert"),L(x,K,ot,"\u2225","\\rVert"),L(x,K,ht,"=","="),L(x,K,ht,":",":"),L(x,K,ht,"\u2248","\\approx",!0),L(x,K,ht,"\u2245","\\cong",!0),L(x,K,ht,"\u2265","\\ge"),L(x,K,ht,"\u2265","\\geq",!0),L(x,K,ht,"\u2190","\\gets"),L(x,K,ht,">","\\gt",!0),L(x,K,ht,"\u2208","\\in",!0),L(x,K,ht,"\uE020","\\@not"),L(x,K,ht,"\u2282","\\subset",!0),L(x,K,ht,"\u2283","\\supset",!0),L(x,K,ht,"\u2286","\\subseteq",!0),L(x,K,ht,"\u2287","\\supseteq",!0),L(x,Tt,ht,"\u2288","\\nsubseteq",!0),L(x,Tt,ht,"\u2289","\\nsupseteq",!0),L(x,K,ht,"\u22A8","\\models"),L(x,K,ht,"\u2190","\\leftarrow",!0),L(x,K,ht,"\u2264","\\le"),L(x,K,ht,"\u2264","\\leq",!0),L(x,K,ht,"<","\\lt",!0),L(x,K,ht,"\u2192","\\rightarrow",!0),L(x,K,ht,"\u2192","\\to"),L(x,Tt,ht,"\u2271","\\ngeq",!0),L(x,Tt,ht,"\u2270","\\nleq",!0),L(x,K,ln,"\xA0","\\ "),L(x,K,ln,"\xA0","\\space"),L(x,K,ln,"\xA0","\\nobreakspace"),L(Dr,K,ln,"\xA0","\\ "),L(Dr,K,ln,"\xA0"," "),L(Dr,K,ln,"\xA0","\\space"),L(Dr,K,ln,"\xA0","\\nobreakspace"),L(x,K,ln,null,"\\nobreak"),L(x,K,ln,null,"\\allowbreak"),L(x,K,fr,",",","),L(x,K,fr,";",";"),L(x,Tt,ar,"\u22BC","\\barwedge",!0),L(x,Tt,ar,"\u22BB","\\veebar",!0),L(x,K,ar,"\u2299","\\odot",!0),L(x,K,ar,"\u2295","\\oplus",!0),L(x,K,ar,"\u2297","\\otimes",!0),L(x,K,pe,"\u2202","\\partial",!0),L(x,K,ar,"\u2298","\\oslash",!0),L(x,Tt,ar,"\u229A","\\circledcirc",!0),L(x,Tt,ar,"\u22A1","\\boxdot",!0),L(x,K,ar,"\u25B3","\\bigtriangleup"),L(x,K,ar,"\u25BD","\\bigtriangledown"),L(x,K,ar,"\u2020","\\dagger"),L(x,K,ar,"\u22C4","\\diamond"),L(x,K,ar,"\u22C6","\\star"),L(x,K,ar,"\u25C3","\\triangleleft"),L(x,K,ar,"\u25B9","\\triangleright"),L(x,K,rr,"{","\\{"),L(Dr,K,pe,"{","\\{"),L(Dr,K,pe,"{","\\textbraceleft"),L(x,K,ot,"}","\\}"),L(Dr,K,pe,"}","\\}"),L(Dr,K,pe,"}","\\textbraceright"),L(x,K,rr,"{","\\lbrace"),L(x,K,ot,"}","\\rbrace"),L(x,K,rr,"[","\\lbrack",!0),L(Dr,K,pe,"[","\\lbrack",!0),L(x,K,ot,"]","\\rbrack",!0),L(Dr,K,pe,"]","\\rbrack",!0),L(x,K,rr,"(","\\lparen",!0),L(x,K,ot,")","\\rparen",!0),L(Dr,K,pe,"<","\\textless",!0),L(Dr,K,pe,">","\\textgreater",!0),L(x,K,rr,"\u230A","\\lfloor",!0),L(x,K,ot,"\u230B","\\rfloor",!0),L(x,K,rr,"\u2308","\\lceil",!0),L(x,K,ot,"\u2309","\\rceil",!0),L(x,K,pe,"\\","\\backslash"),L(x,K,pe,"\u2223","|"),L(x,K,pe,"\u2223","\\vert"),L(Dr,K,pe,"|","\\textbar",!0),L(x,K,pe,"\u2225","\\|"),L(x,K,pe,"\u2225","\\Vert"),L(Dr,K,pe,"\u2225","\\textbardbl"),L(Dr,K,pe,"~","\\textasciitilde"),L(Dr,K,pe,"\\","\\textbackslash"),L(Dr,K,pe,"^","\\textasciicircum"),L(x,K,ht,"\u2191","\\uparrow",!0),L(x,K,ht,"\u21D1","\\Uparrow",!0),L(x,K,ht,"\u2193","\\downarrow",!0),L(x,K,ht,"\u21D3","\\Downarrow",!0),L(x,K,ht,"\u2195","\\updownarrow",!0),L(x,K,ht,"\u21D5","\\Updownarrow",!0),L(x,K,zt,"\u2210","\\coprod"),L(x,K,zt,"\u22C1","\\bigvee"),L(x,K,zt,"\u22C0","\\bigwedge"),L(x,K,zt,"\u2A04","\\biguplus"),L(x,K,zt,"\u22C2","\\bigcap"),L(x,K,zt,"\u22C3","\\bigcup"),L(x,K,zt,"\u222B","\\int"),L(x,K,zt,"\u222B","\\intop"),L(x,K,zt,"\u222C","\\iint"),L(x,K,zt,"\u222D","\\iiint"),L(x,K,zt,"\u220F","\\prod"),L(x,K,zt,"\u2211","\\sum"),L(x,K,zt,"\u2A02","\\bigotimes"),L(x,K,zt,"\u2A01","\\bigoplus"),L(x,K,zt,"\u2A00","\\bigodot"),L(x,K,zt,"\u222E","\\oint"),L(x,K,zt,"\u222F","\\oiint"),L(x,K,zt,"\u2230","\\oiiint"),L(x,K,zt,"\u2A06","\\bigsqcup"),L(x,K,zt,"\u222B","\\smallint"),L(Dr,K,Ie,"\u2026","\\textellipsis"),L(x,K,Ie,"\u2026","\\mathellipsis"),L(Dr,K,Ie,"\u2026","\\ldots",!0),L(x,K,Ie,"\u2026","\\ldots",!0),L(x,K,Ie,"\u22EF","\\@cdots",!0),L(x,K,Ie,"\u22F1","\\ddots",!0),L(x,K,pe,"\u22EE","\\varvdots"),L(Dr,K,pe,"\u22EE","\\varvdots"),L(x,K,Xt,"\u02CA","\\acute"),L(x,K,Xt,"\u02CB","\\grave"),L(x,K,Xt,"\xA8","\\ddot"),L(x,K,Xt,"~","\\tilde"),L(x,K,Xt,"\u02C9","\\bar"),L(x,K,Xt,"\u02D8","\\breve"),L(x,K,Xt,"\u02C7","\\check"),L(x,K,Xt,"^","\\hat"),L(x,K,Xt,"\u20D7","\\vec"),L(x,K,Xt,"\u02D9","\\dot"),L(x,K,Xt,"\u02DA","\\mathring"),L(x,K,st,"\uE131","\\@imath"),L(x,K,st,"\uE237","\\@jmath"),L(x,K,pe,"\u0131","\u0131"),L(x,K,pe,"\u0237","\u0237"),L(Dr,K,pe,"\u0131","\\i",!0),L(Dr,K,pe,"\u0237","\\j",!0),L(Dr,K,pe,"\xDF","\\ss",!0),L(Dr,K,pe,"\xE6","\\ae",!0),L(Dr,K,pe,"\u0153","\\oe",!0),L(Dr,K,pe,"\xF8","\\o",!0),L(Dr,K,pe,"\xC6","\\AE",!0),L(Dr,K,pe,"\u0152","\\OE",!0),L(Dr,K,pe,"\xD8","\\O",!0),L(Dr,K,Xt,"\u02CA","\\'"),L(Dr,K,Xt,"\u02CB","\\`"),L(Dr,K,Xt,"\u02C6","\\^"),L(Dr,K,Xt,"\u02DC","\\~"),L(Dr,K,Xt,"\u02C9","\\="),L(Dr,K,Xt,"\u02D8","\\u"),L(Dr,K,Xt,"\u02D9","\\."),L(Dr,K,Xt,"\xB8","\\c"),L(Dr,K,Xt,"\u02DA","\\r"),L(Dr,K,Xt,"\u02C7","\\v"),L(Dr,K,Xt,"\xA8",'\\"'),L(Dr,K,Xt,"\u02DD","\\H"),L(Dr,K,Xt,"\u25EF","\\textcircled");var qt={"--":!0,"---":!0,"``":!0,"''":!0};L(Dr,K,pe,"\u2013","--",!0),L(Dr,K,pe,"\u2013","\\textendash"),L(Dr,K,pe,"\u2014","---",!0),L(Dr,K,pe,"\u2014","\\textemdash"),L(Dr,K,pe,"\u2018","`",!0),L(Dr,K,pe,"\u2018","\\textquoteleft"),L(Dr,K,pe,"\u2019","'",!0),L(Dr,K,pe,"\u2019","\\textquoteright"),L(Dr,K,pe,"\u201C","``",!0),L(Dr,K,pe,"\u201C","\\textquotedblleft"),L(Dr,K,pe,"\u201D","''",!0),L(Dr,K,pe,"\u201D","\\textquotedblright"),L(x,K,pe,"\xB0","\\degree",!0),L(Dr,K,pe,"\xB0","\\degree"),L(Dr,K,pe,"\xB0","\\textdegree",!0),L(x,K,pe,"\xA3","\\pounds"),L(x,K,pe,"\xA3","\\mathsterling",!0),L(Dr,K,pe,"\xA3","\\pounds"),L(Dr,K,pe,"\xA3","\\textsterling",!0),L(x,Tt,pe,"\u2720","\\maltese"),L(Dr,Tt,pe,"\u2720","\\maltese");for(var gr='0123456789/@."',$r=0;$r<gr.length;$r++){var tn=gr.charAt($r);L(x,K,pe,tn,tn)}for(var $n='0123456789!@*()-=+";:?/.,',Vt=0;Vt<$n.length;Vt++){var yr=$n.charAt(Vt);L(Dr,K,pe,yr,yr)}for(var jr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Er=0;Er<jr.length;Er++){var Kr=jr.charAt(Er);L(x,K,st,Kr,Kr),L(Dr,K,pe,Kr,Kr)}L(x,Tt,pe,"C","\u2102"),L(Dr,Tt,pe,"C","\u2102"),L(x,Tt,pe,"H","\u210D"),L(Dr,Tt,pe,"H","\u210D"),L(x,Tt,pe,"N","\u2115"),L(Dr,Tt,pe,"N","\u2115"),L(x,Tt,pe,"P","\u2119"),L(Dr,Tt,pe,"P","\u2119"),L(x,Tt,pe,"Q","\u211A"),L(Dr,Tt,pe,"Q","\u211A"),L(x,Tt,pe,"R","\u211D"),L(Dr,Tt,pe,"R","\u211D"),L(x,Tt,pe,"Z","\u2124"),L(Dr,Tt,pe,"Z","\u2124"),L(x,K,st,"h","\u210E"),L(Dr,K,st,"h","\u210E");for(var Jr="",mt=0;mt<jr.length;mt++){var Jt=jr.charAt(mt);Jr=String.fromCharCode(55349,56320+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56372+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56424+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56580+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56684+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56736+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56788+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56840+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56944+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),mt<26&&(Jr=String.fromCharCode(55349,56632+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr),Jr=String.fromCharCode(55349,56476+mt),L(x,K,st,Jt,Jr),L(Dr,K,pe,Jt,Jr))}Jr="\u{1D55C}",L(x,K,st,"k",Jr),L(Dr,K,pe,"k",Jr);for(var nr=0;nr<10;nr++){var dr=nr.toString();Jr=String.fromCharCode(55349,57294+nr),L(x,K,st,dr,Jr),L(Dr,K,pe,dr,Jr),Jr=String.fromCharCode(55349,57314+nr),L(x,K,st,dr,Jr),L(Dr,K,pe,dr,Jr),Jr=String.fromCharCode(55349,57324+nr),L(x,K,st,dr,Jr),L(Dr,K,pe,dr,Jr),Jr=String.fromCharCode(55349,57334+nr),L(x,K,st,dr,Jr),L(Dr,K,pe,dr,Jr)}for(var Rr="\xD0\xDE\xFE",Sn=0;Sn<Rr.length;Sn++){var an=Rr.charAt(Sn);L(x,K,st,an,an),L(Dr,K,pe,an,an)}var An=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],zn=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Gr=function(e,n){var f=e.charCodeAt(0),O=e.charCodeAt(1),Q=(f-55296)*1024+(O-56320)+65536,je=n==="math"?0:1;if(119808<=Q&&Q<120484){var Ve=Math.floor((Q-119808)/26);return[An[Ve][2],An[Ve][je]]}else if(120782<=Q&&Q<=120831){var qe=Math.floor((Q-120782)/10);return[zn[qe][2],zn[qe][je]]}else{if(Q===120485||Q===120486)return[An[0][2],An[0][je]];if(120486<Q&&Q<120782)return["",""];throw new G("Unsupported character: "+e)}},Kn=function(e,n,f){return Cn[f][e]&&Cn[f][e].replace&&(e=Cn[f][e].replace),{value:e,metrics:Ae(e,n,f)}},In=function(e,n,f,O,Q){var je=Kn(e,n,f),Ve=je.metrics;e=je.value;var qe;if(Ve){var Dt=Ve.italic;(f==="text"||O&&O.font==="mathit")&&(Dt=0),qe=new ne(e,Ve.height,Ve.depth,Dt,Ve.skew,Ve.width,Q)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+n+"' and mode '"+f+"'")),qe=new ne(e,0,0,0,0,0,Q);if(O){qe.maxFontSize=O.sizeMultiplier,O.style.isTight()&&qe.classes.push("mtight");var mr=O.getColor();mr&&(qe.style.color=mr)}return qe},ha=function(e,n,f,O){return O===void 0&&(O=[]),f.font==="boldsymbol"&&Kn(e,"Main-Bold",n).metrics?In(e,"Main-Bold",n,f,O.concat(["mathbf"])):e==="\\"||Cn[n][e].font==="main"?In(e,"Main-Regular",n,f,O):In(e,"AMS-Regular",n,f,O.concat(["amsrm"]))},Oa=function(e,n,f,O,Q){return Q!=="textord"&&Kn(e,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Ca=function(e,n,f){var O=e.mode,Q=e.text,je=["mord"],Ve=O==="math"||O==="text"&&n.font,qe=Ve?n.font:n.fontFamily,Dt="",mr="";if(Q.charCodeAt(0)===55349&&([Dt,mr]=Gr(Q,O)),Dt.length>0)return In(Q,Dt,O,n,je.concat(mr));if(qe){var Nr,Ir;if(qe==="boldsymbol"){var Ar=Oa(Q,O,n,je,f);Nr=Ar.fontName,Ir=[Ar.fontClass]}else Ve?(Nr=nt[qe].fontName,Ir=[qe]):(Nr=Ge(qe,n.fontWeight,n.fontShape),Ir=[qe,n.fontWeight,n.fontShape]);if(Kn(Q,Nr,O).metrics)return In(Q,Nr,O,n,je.concat(Ir));if(qt.hasOwnProperty(Q)&&Nr.slice(0,10)==="Typewriter"){for(var Yr=[],hn=0;hn<Q.length;hn++)Yr.push(In(Q[hn],Nr,O,n,je.concat(Ir)));return B(Yr)}}if(f==="mathord")return In(Q,"Math-Italic",O,n,je.concat(["mathnormal"]));if(f==="textord"){var kn=Cn[O][Q]&&Cn[O][Q].font;if(kn==="ams"){var Gn=Ge("amsrm",n.fontWeight,n.fontShape);return In(Q,Gn,O,n,je.concat("amsrm",n.fontWeight,n.fontShape))}else if(kn==="main"||!kn){var ua=Ge("textrm",n.fontWeight,n.fontShape);return In(Q,ua,O,n,je.concat(n.fontWeight,n.fontShape))}else{var da=Ge(kn,n.fontWeight,n.fontShape);return In(Q,da,O,n,je.concat(da,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+f+" in makeOrd")},ra=(u,e)=>{if(pr(u.classes)!==pr(e.classes)||u.skew!==e.skew||u.maxFontSize!==e.maxFontSize)return!1;if(u.classes.length===1){var n=u.classes[0];if(n==="mbin"||n==="mord")return!1}for(var f in u.style)if(u.style.hasOwnProperty(f)&&u.style[f]!==e.style[f])return!1;for(var O in e.style)if(e.style.hasOwnProperty(O)&&u.style[O]!==e.style[O])return!1;return!0},p=u=>{for(var e=0;e<u.length-1;e++){var n=u[e],f=u[e+1];n instanceof ne&&f instanceof ne&&ra(n,f)&&(n.text+=f.text,n.height=Math.max(n.height,f.height),n.depth=Math.max(n.depth,f.depth),n.italic=f.italic,u.splice(e+1,1),e--)}return u},c=function(e){for(var n=0,f=0,O=0,Q=0;Q<e.children.length;Q++){var je=e.children[Q];je.height>n&&(n=je.height),je.depth>f&&(f=je.depth),je.maxFontSize>O&&(O=je.maxFontSize)}e.height=n,e.depth=f,e.maxFontSize=O},d=function(e,n,f,O){var Q=new _t(e,n,f,O);return c(Q),Q},v=(u,e,n,f)=>new _t(u,e,n,f),I=function(e,n,f){var O=d([e],[],n);return O.height=Math.max(f||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),O.style.borderBottomWidth=St(O.height),O.maxFontSize=1,O},b=function(e,n,f,O){var Q=new w(e,n,f,O);return c(Q),Q},B=function(e){var n=new ge(e);return c(n),n},X=function(e,n){return e instanceof ge?d([],[e],n):e},_=function(e){if(e.positionType==="individualShift"){for(var n=e.children,f=[n[0]],O=-n[0].shift-n[0].elem.depth,Q=O,je=1;je<n.length;je++){var Ve=-n[je].shift-Q-n[je].elem.depth,qe=Ve-(n[je-1].elem.height+n[je-1].elem.depth);Q=Q+Ve,f.push({type:"kern",size:qe}),f.push(n[je])}return{children:f,depth:O}}var Dt;if(e.positionType==="top"){for(var mr=e.positionData,Nr=0;Nr<e.children.length;Nr++){var Ir=e.children[Nr];mr-=Ir.type==="kern"?Ir.size:Ir.elem.height+Ir.elem.depth}Dt=mr}else if(e.positionType==="bottom")Dt=-e.positionData;else{var Ar=e.children[0];if(Ar.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")Dt=-Ar.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")Dt=-Ar.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:Dt}},Ce=function(e,n){for(var{children:f,depth:O}=_(e),Q=0,je=0;je<f.length;je++){var Ve=f[je];if(Ve.type==="elem"){var qe=Ve.elem;Q=Math.max(Q,qe.maxFontSize,qe.height)}}Q+=2;var Dt=d(["pstrut"],[]);Dt.style.height=St(Q);for(var mr=[],Nr=O,Ir=O,Ar=O,Yr=0;Yr<f.length;Yr++){var hn=f[Yr];if(hn.type==="kern")Ar+=hn.size;else{var kn=hn.elem,Gn=hn.wrapperClasses||[],ua=hn.wrapperStyle||{},da=d(Gn,[Dt,kn],void 0,ua);da.style.top=St(-Q-Ar-kn.depth),hn.marginLeft&&(da.style.marginLeft=hn.marginLeft),hn.marginRight&&(da.style.marginRight=hn.marginRight),mr.push(da),Ar+=kn.height+kn.depth}Nr=Math.min(Nr,Ar),Ir=Math.max(Ir,Ar)}var Ba=d(["vlist"],mr);Ba.style.height=St(Ir);var ga;if(Nr<0){var Wa=d([],[]),Ya=d(["vlist"],[Wa]);Ya.style.height=St(-Nr);var Lo=d(["vlist-s"],[new ne("\u200B")]);ga=[d(["vlist-r"],[Ba,Lo]),d(["vlist-r"],[Ya])]}else ga=[d(["vlist-r"],[Ba])];var vo=d(["vlist-t"],ga);return ga.length===2&&vo.classes.push("vlist-t2"),vo.height=Ir,vo.depth=-Nr,vo},_e=(u,e)=>{var n=d(["mspace"],[],e),f=Qt(u,e);return n.style.marginRight=St(f),n},Ge=function(e,n,f){var O="";switch(e){case"amsrm":O="AMS";break;case"textrm":O="Main";break;case"textsf":O="SansSerif";break;case"texttt":O="Typewriter";break;default:O=e}var Q;return n==="textbf"&&f==="textit"?Q="BoldItalic":n==="textbf"?Q="Bold":n==="textit"?Q="Italic":Q="Regular",O+"-"+Q},nt={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},me={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Gt=function(e,n){var[f,O,Q]=me[e],je=new Mr(f),Ve=new ke([je],{width:St(O),height:St(Q),style:"width:"+St(O),viewBox:"0 0 "+1e3*O+" "+1e3*Q,preserveAspectRatio:"xMinYMin"}),qe=v(["overlay"],[Ve],n);return qe.height=Q,qe.style.height=St(Q),qe.style.width=St(O),qe},oe={fontMap:nt,makeSymbol:In,mathsym:ha,makeSpan:d,makeSvgSpan:v,makeLineSpan:I,makeAnchor:b,makeFragment:B,wrapFragment:X,makeVList:Ce,makeOrd:Ca,makeGlue:_e,staticSvg:Gt,svgData:me,tryCombineChars:p},jt={number:3,unit:"mu"},lt={number:4,unit:"mu"},Zt={number:5,unit:"mu"},wr={mord:{mop:jt,mbin:lt,mrel:Zt,minner:jt},mop:{mord:jt,mop:jt,mrel:Zt,minner:jt},mbin:{mord:lt,mop:lt,mopen:lt,minner:lt},mrel:{mord:Zt,mop:Zt,mopen:Zt,minner:Zt},mopen:{},mclose:{mop:jt,mbin:lt,mrel:Zt,minner:jt},mpunct:{mord:jt,mop:jt,mrel:Zt,mopen:jt,mclose:jt,mpunct:jt,minner:jt},minner:{mord:jt,mop:jt,mbin:lt,mrel:Zt,mopen:jt,mpunct:jt,minner:jt}},cn={mord:{mop:jt},mop:{mord:jt,mop:jt},mbin:{},mrel:{},mopen:{},mclose:{mop:jt},mpunct:{},minner:{mop:jt}},vn={},On={},qr={};function kt(u){for(var{type:e,names:n,props:f,handler:O,htmlBuilder:Q,mathmlBuilder:je}=u,Ve={type:e,numArgs:f.numArgs,argTypes:f.argTypes,allowedInArgument:!!f.allowedInArgument,allowedInText:!!f.allowedInText,allowedInMath:f.allowedInMath===void 0?!0:f.allowedInMath,numOptionalArgs:f.numOptionalArgs||0,infix:!!f.infix,primitive:!!f.primitive,handler:O},qe=0;qe<n.length;++qe)vn[n[qe]]=Ve;e&&(Q&&(On[e]=Q),je&&(qr[e]=je))}function un(u){var{type:e,htmlBuilder:n,mathmlBuilder:f}=u;kt({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:f})}var gn=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},yt=function(e){return e.type==="ordgroup"?e.body:[e]},Ct=oe.makeSpan,ir=["leftmost","mbin","mopen","mrel","mop","mpunct"],Rt=["rightmost","mrel","mclose","mpunct"],Zr={display:te.DISPLAY,text:te.TEXT,script:te.SCRIPT,scriptscript:te.SCRIPTSCRIPT},br={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Br=function(e,n,f,O){O===void 0&&(O=[null,null]);for(var Q=[],je=0;je<e.length;je++){var Ve=be(e[je],n);if(Ve instanceof ge){var qe=Ve.children;Q.push(...qe)}else Q.push(Ve)}if(oe.tryCombineChars(Q),!f)return Q;var Dt=n;if(e.length===1){var mr=e[0];mr.type==="sizing"?Dt=n.havingSize(mr.size):mr.type==="styling"&&(Dt=n.havingStyle(Zr[mr.style]))}var Nr=Ct([O[0]||"leftmost"],[],n),Ir=Ct([O[1]||"rightmost"],[],n),Ar=f==="root";return Fr(Q,(Yr,hn)=>{var kn=hn.classes[0],Gn=Yr.classes[0];kn==="mbin"&&j.contains(Rt,Gn)?hn.classes[0]="mord":Gn==="mbin"&&j.contains(ir,kn)&&(Yr.classes[0]="mord")},{node:Nr},Ir,Ar),Fr(Q,(Yr,hn)=>{var kn=Un(hn),Gn=Un(Yr),ua=kn&&Gn?Yr.hasClass("mtight")?cn[kn][Gn]:wr[kn][Gn]:null;if(ua)return oe.makeGlue(ua,Dt)},{node:Nr},Ir,Ar),Q},Fr=function u(e,n,f,O,Q){O&&e.push(O);for(var je=0;je<e.length;je++){var Ve=e[je],qe=Xr(Ve);if(qe){u(qe.children,n,f,null,Q);continue}var Dt=!Ve.hasClass("mspace");if(Dt){var mr=n(Ve,f.node);mr&&(f.insertAfter?f.insertAfter(mr):(e.unshift(mr),je++))}Dt?f.node=Ve:Q&&Ve.hasClass("newline")&&(f.node=Ct(["leftmost"])),f.insertAfter=(Nr=>Ir=>{e.splice(Nr+1,0,Ir),je++})(je)}O&&e.pop()},Xr=function(e){return e instanceof ge||e instanceof w||e instanceof _t&&e.hasClass("enclosing")?e:null},kr=function u(e,n){var f=Xr(e);if(f){var O=f.children;if(O.length){if(n==="right")return u(O[O.length-1],"right");if(n==="left")return u(O[0],"left")}}return e},Un=function(e,n){return e?(n&&(e=kr(e,n)),br[e.classes[0]]||null):null},Ke=function(e,n){var f=["nulldelimiter"].concat(e.baseSizingClasses());return Ct(n.concat(f))},be=function(e,n,f){if(!e)return Ct();if(On[e.type]){var O=On[e.type](e,n);if(f&&n.size!==f.size){O=Ct(n.sizingClasses(f),[O],n);var Q=n.sizeMultiplier/f.sizeMultiplier;O.height*=Q,O.depth*=Q}return O}else throw new G("Got group of unknown type: '"+e.type+"'")};function ce(u,e){var n=Ct(["base"],u,e),f=Ct(["strut"]);return f.style.height=St(n.height+n.depth),n.depth&&(f.style.verticalAlign=St(-n.depth)),n.children.unshift(f),n}function Je(u,e){var n=null;u.length===1&&u[0].type==="tag"&&(n=u[0].tag,u=u[0].body);var f=Br(u,e,"root"),O;f.length===2&&f[1].hasClass("tag")&&(O=f.pop());for(var Q=[],je=[],Ve=0;Ve<f.length;Ve++)if(je.push(f[Ve]),f[Ve].hasClass("mbin")||f[Ve].hasClass("mrel")||f[Ve].hasClass("allowbreak")){for(var qe=!1;Ve<f.length-1&&f[Ve+1].hasClass("mspace")&&!f[Ve+1].hasClass("newline");)Ve++,je.push(f[Ve]),f[Ve].hasClass("nobreak")&&(qe=!0);qe||(Q.push(ce(je,e)),je=[])}else f[Ve].hasClass("newline")&&(je.pop(),je.length>0&&(Q.push(ce(je,e)),je=[]),Q.push(f[Ve]));je.length>0&&Q.push(ce(je,e));var Dt;n?(Dt=ce(Br(n,e,!0)),Dt.classes=["tag"],Q.push(Dt)):O&&Q.push(O);var mr=Ct(["katex-html"],Q);if(mr.setAttribute("aria-hidden","true"),Dt){var Nr=Dt.children[0];Nr.style.height=St(mr.height+mr.depth),mr.depth&&(Nr.style.verticalAlign=St(-mr.depth))}return mr}function dt(u){return new ge(u)}class Nt{constructor(e,n,f){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=n||[],this.classes=f||[]}setAttribute(e,n){this.attributes[e]=n}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);this.classes.length>0&&(e.className=pr(this.classes));for(var f=0;f<this.children.length;f++)if(this.children[f]instanceof $t&&this.children[f+1]instanceof $t){for(var O=this.children[f].toText()+this.children[++f].toText();this.children[f+1]instanceof $t;)O+=this.children[++f].toText();e.appendChild(new $t(O).toNode())}else e.appendChild(this.children[f].toNode());return e}toMarkup(){var e="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="',e+=j.escape(this.attributes[n]),e+='"');this.classes.length>0&&(e+=' class ="'+j.escape(pr(this.classes))+'"'),e+=">";for(var f=0;f<this.children.length;f++)e+=this.children[f].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class $t{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return j.escape(this.toText())}toText(){return this.text}}class er{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",St(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+St(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var It={MathNode:Nt,TextNode:$t,SpaceNode:er,newDocumentFragment:dt},Cr=function(e,n,f){return Cn[n][e]&&Cn[n][e].replace&&e.charCodeAt(0)!==55349&&!(qt.hasOwnProperty(e)&&f&&(f.fontFamily&&f.fontFamily.slice(4,6)==="tt"||f.font&&f.font.slice(4,6)==="tt"))&&(e=Cn[n][e].replace),new It.TextNode(e)},Hr=function(e){return e.length===1?e[0]:new It.MathNode("mrow",e)},sn=function(e,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var f=n.font;if(!f||f==="mathnormal")return null;var O=e.mode;if(f==="mathit")return"italic";if(f==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(f==="mathbf")return"bold";if(f==="mathbb")return"double-struck";if(f==="mathsfit")return"sans-serif-italic";if(f==="mathfrak")return"fraktur";if(f==="mathscr"||f==="mathcal")return"script";if(f==="mathsf")return"sans-serif";if(f==="mathtt")return"monospace";var Q=e.text;if(j.contains(["\\imath","\\jmath"],Q))return null;Cn[O][Q]&&Cn[O][Q].replace&&(Q=Cn[O][Q].replace);var je=oe.fontMap[f].fontName;return Ae(Q,je,O)?oe.fontMap[f].variant:null};function Qr(u){if(!u)return!1;if(u.type==="mi"&&u.children.length===1){var e=u.children[0];return e instanceof $t&&e.text==="."}else if(u.type==="mo"&&u.children.length===1&&u.getAttribute("separator")==="true"&&u.getAttribute("lspace")==="0em"&&u.getAttribute("rspace")==="0em"){var n=u.children[0];return n instanceof $t&&n.text===","}else return!1}var bt=function(e,n,f){if(e.length===1){var O=rn(e[0],n);return f&&O instanceof Nt&&O.type==="mo"&&(O.setAttribute("lspace","0em"),O.setAttribute("rspace","0em")),[O]}for(var Q=[],je,Ve=0;Ve<e.length;Ve++){var qe=rn(e[Ve],n);if(qe instanceof Nt&&je instanceof Nt){if(qe.type==="mtext"&&je.type==="mtext"&&qe.getAttribute("mathvariant")===je.getAttribute("mathvariant")){je.children.push(...qe.children);continue}else if(qe.type==="mn"&&je.type==="mn"){je.children.push(...qe.children);continue}else if(Qr(qe)&&je.type==="mn"){je.children.push(...qe.children);continue}else if(qe.type==="mn"&&Qr(je))qe.children=[...je.children,...qe.children],Q.pop();else if((qe.type==="msup"||qe.type==="msub")&&qe.children.length>=1&&(je.type==="mn"||Qr(je))){var Dt=qe.children[0];Dt instanceof Nt&&Dt.type==="mn"&&(Dt.children=[...je.children,...Dt.children],Q.pop())}else if(je.type==="mi"&&je.children.length===1){var mr=je.children[0];if(mr instanceof $t&&mr.text==="\u0338"&&(qe.type==="mo"||qe.type==="mi"||qe.type==="mn")){var Nr=qe.children[0];Nr instanceof $t&&Nr.text.length>0&&(Nr.text=Nr.text.slice(0,1)+"\u0338"+Nr.text.slice(1),Q.pop())}}}Q.push(qe),je=qe}return Q},xt=function(e,n,f){return Hr(bt(e,n,f))},rn=function(e,n){if(!e)return new It.MathNode("mrow");if(qr[e.type]){var f=qr[e.type](e,n);return f}else throw new G("Got group of unknown type: '"+e.type+"'")};function Mn(u,e,n,f,O){var Q=bt(u,n),je;Q.length===1&&Q[0]instanceof Nt&&j.contains(["mrow","mtable"],Q[0].type)?je=Q[0]:je=new It.MathNode("mrow",Q);var Ve=new It.MathNode("annotation",[new It.TextNode(e)]);Ve.setAttribute("encoding","application/x-tex");var qe=new It.MathNode("semantics",[je,Ve]),Dt=new It.MathNode("math",[qe]);Dt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),f&&Dt.setAttribute("display","block");var mr=O?"katex":"katex-mathml";return oe.makeSpan([mr],[Dt])}var zr=function(e){return new Et({style:e.displayMode?te.DISPLAY:te.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},dn=function(e,n){if(n.displayMode){var f=["katex-display"];n.leqno&&f.push("leqno"),n.fleqn&&f.push("fleqn"),e=oe.makeSpan(f,[e])}return e},nn=function(e,n,f){var O=zr(f),Q;if(f.output==="mathml")return Mn(e,n,O,f.displayMode,!0);if(f.output==="html"){var je=Je(e,O);Q=oe.makeSpan(["katex"],[je])}else{var Ve=Mn(e,n,O,f.displayMode,!1),qe=Je(e,O);Q=oe.makeSpan(["katex"],[Ve,qe])}return dn(Q,f)},xn=function(e,n,f){var O=zr(f),Q=Je(e,O),je=oe.makeSpan(["katex"],[Q]);return dn(je,f)},Ln={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},qn=function(e){var n=new It.MathNode("mo",[new It.TextNode(Ln[e.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},Jn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Qn=function(e){return e.type==="ordgroup"?e.body.length:1},Fa=function(e,n){function f(){var Ve=4e5,qe=e.label.slice(1);if(j.contains(["widehat","widecheck","widetilde","utilde"],qe)){var Dt=e,mr=Qn(Dt.base),Nr,Ir,Ar;if(mr>5)qe==="widehat"||qe==="widecheck"?(Nr=420,Ve=2364,Ar=.42,Ir=qe+"4"):(Nr=312,Ve=2340,Ar=.34,Ir="tilde4");else{var Yr=[1,1,2,2,3,3][mr];qe==="widehat"||qe==="widecheck"?(Ve=[0,1062,2364,2364,2364][Yr],Nr=[0,239,300,360,420][Yr],Ar=[0,.24,.3,.3,.36,.42][Yr],Ir=qe+Yr):(Ve=[0,600,1033,2339,2340][Yr],Nr=[0,260,286,306,312][Yr],Ar=[0,.26,.286,.3,.306,.34][Yr],Ir="tilde"+Yr)}var hn=new Mr(Ir),kn=new ke([hn],{width:"100%",height:St(Ar),viewBox:"0 0 "+Ve+" "+Nr,preserveAspectRatio:"none"});return{span:oe.makeSvgSpan([],[kn],n),minWidth:0,height:Ar}}else{var Gn=[],ua=Jn[qe],[da,Ba,ga]=ua,Wa=ga/1e3,Ya=da.length,Lo,vo;if(Ya===1){var Ci=ua[3];Lo=["hide-tail"],vo=[Ci]}else if(Ya===2)Lo=["halfarrow-left","halfarrow-right"],vo=["xMinYMin","xMaxYMin"];else if(Ya===3)Lo=["brace-left","brace-center","brace-right"],vo=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ya+" children.");for(var Zo=0;Zo<Ya;Zo++){var Ho=new Mr(da[Zo]),Pi=new ke([Ho],{width:"400em",height:St(Wa),viewBox:"0 0 "+Ve+" "+ga,preserveAspectRatio:vo[Zo]+" slice"}),ni=oe.makeSvgSpan([Lo[Zo]],[Pi],n);if(Ya===1)return{span:ni,minWidth:Ba,height:Wa};ni.style.height=St(Wa),Gn.push(ni)}return{span:oe.makeSpan(["stretchy"],Gn,n),minWidth:Ba,height:Wa}}}var{span:O,minWidth:Q,height:je}=f();return O.height=je,O.style.height=St(je),Q>0&&(O.style.minWidth=St(Q)),O},Ea=function(e,n,f,O,Q){var je,Ve=e.height+e.depth+f+O;if(/fbox|color|angl/.test(n)){if(je=oe.makeSpan(["stretchy",n],[],Q),n==="fbox"){var qe=Q.color&&Q.getColor();qe&&(je.style.borderColor=qe)}}else{var Dt=[];/^[bx]cancel$/.test(n)&&Dt.push(new Pr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&Dt.push(new Pr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var mr=new ke(Dt,{width:"100%",height:St(Ve)});je=oe.makeSvgSpan([],[mr],Q)}return je.height=Ve,je.style.height=St(Ve),je},Xn={encloseSpan:Ea,mathMLnode:qn,svgSpan:Fa};function jn(u,e){if(!u||u.type!==e)throw new Error("Expected node of type "+e+", but got "+(u?"node of type "+u.type:String(u)));return u}function Vn(u){var e=ka(u);if(!e)throw new Error("Expected node of symbol group type, but got "+(u?"node of type "+u.type:String(u)));return e}function ka(u){return u&&(u.type==="atom"||yn.hasOwnProperty(u.type))?u:null}var ba=(u,e)=>{var n,f,O;u&&u.type==="supsub"?(f=jn(u.base,"accent"),n=f.base,u.base=n,O=Nn(be(u,e)),u.base=f):(f=jn(u,"accent"),n=f.base);var Q=be(n,e.havingCrampedStyle()),je=f.isShifty&&j.isCharacterBox(n),Ve=0;if(je){var qe=j.getBaseElem(n),Dt=be(qe,e.havingCrampedStyle());Ve=En(Dt).skew}var mr=f.label==="\\c",Nr=mr?Q.height+Q.depth:Math.min(Q.height,e.fontMetrics().xHeight),Ir;if(f.isStretchy)Ir=Xn.svgSpan(f,e),Ir=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Q},{type:"elem",elem:Ir,wrapperClasses:["svg-align"],wrapperStyle:Ve>0?{width:"calc(100% - "+St(2*Ve)+")",marginLeft:St(2*Ve)}:void 0}]},e);else{var Ar,Yr;f.label==="\\vec"?(Ar=oe.staticSvg("vec",e),Yr=oe.svgData.vec[1]):(Ar=oe.makeOrd({mode:f.mode,text:f.label},e,"textord"),Ar=En(Ar),Ar.italic=0,Yr=Ar.width,mr&&(Nr+=Ar.depth)),Ir=oe.makeSpan(["accent-body"],[Ar]);var hn=f.label==="\\textcircled";hn&&(Ir.classes.push("accent-full"),Nr=Q.height);var kn=Ve;hn||(kn-=Yr/2),Ir.style.left=St(kn),f.label==="\\textcircled"&&(Ir.style.top=".2em"),Ir=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Q},{type:"kern",size:-Nr},{type:"elem",elem:Ir}]},e)}var Gn=oe.makeSpan(["mord","accent"],[Ir],e);return O?(O.children[0]=Gn,O.height=Math.max(Gn.height,O.height),O.classes[0]="mord",O):Gn},ho=(u,e)=>{var n=u.isStretchy?Xn.mathMLnode(u.label):new It.MathNode("mo",[Cr(u.label,u.mode)]),f=new It.MathNode("mover",[rn(u.base,e),n]);return f.setAttribute("accent","true"),f},Va=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(u=>"\\"+u).join("|"));kt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(u,e)=>{var n=gn(e[0]),f=!Va.test(u.funcName),O=!f||u.funcName==="\\widehat"||u.funcName==="\\widetilde"||u.funcName==="\\widecheck";return{type:"accent",mode:u.parser.mode,label:u.funcName,isStretchy:f,isShifty:O,base:n}},htmlBuilder:ba,mathmlBuilder:ho}),kt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(u,e)=>{var n=e[0],f=u.parser.mode;return f==="math"&&(u.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+u.funcName+" works only in text mode"),f="text"),{type:"accent",mode:f,label:u.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:ba,mathmlBuilder:ho}),kt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=e[0];return{type:"accentUnder",mode:n.mode,label:f,base:O}},htmlBuilder:(u,e)=>{var n=be(u.base,e),f=Xn.svgSpan(u,e),O=u.label==="\\utilde"?.12:0,Q=oe.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:f,wrapperClasses:["svg-align"]},{type:"kern",size:O},{type:"elem",elem:n}]},e);return oe.makeSpan(["mord","accentunder"],[Q],e)},mathmlBuilder:(u,e)=>{var n=Xn.mathMLnode(u.label),f=new It.MathNode("munder",[rn(u.base,e),n]);return f.setAttribute("accentunder","true"),f}});var Ha=u=>{var e=new It.MathNode("mpadded",u?[u]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};kt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(u,e,n){var{parser:f,funcName:O}=u;return{type:"xArrow",mode:f.mode,label:O,body:e[0],below:n[0]}},htmlBuilder(u,e){var n=e.style,f=e.havingStyle(n.sup()),O=oe.wrapFragment(be(u.body,f,e),e),Q=u.label.slice(0,2)==="\\x"?"x":"cd";O.classes.push(Q+"-arrow-pad");var je;u.below&&(f=e.havingStyle(n.sub()),je=oe.wrapFragment(be(u.below,f,e),e),je.classes.push(Q+"-arrow-pad"));var Ve=Xn.svgSpan(u,e),qe=-e.fontMetrics().axisHeight+.5*Ve.height,Dt=-e.fontMetrics().axisHeight-.5*Ve.height-.111;(O.depth>.25||u.label==="\\xleftequilibrium")&&(Dt-=O.depth);var mr;if(je){var Nr=-e.fontMetrics().axisHeight+je.height+.5*Ve.height+.111;mr=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Dt},{type:"elem",elem:Ve,shift:qe},{type:"elem",elem:je,shift:Nr}]},e)}else mr=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Dt},{type:"elem",elem:Ve,shift:qe}]},e);return mr.children[0].children[0].children[1].classes.push("svg-align"),oe.makeSpan(["mrel","x-arrow"],[mr],e)},mathmlBuilder(u,e){var n=Xn.mathMLnode(u.label);n.setAttribute("minsize",u.label.charAt(0)==="x"?"1.75em":"3.0em");var f;if(u.body){var O=Ha(rn(u.body,e));if(u.below){var Q=Ha(rn(u.below,e));f=new It.MathNode("munderover",[n,Q,O])}else f=new It.MathNode("mover",[n,O])}else if(u.below){var je=Ha(rn(u.below,e));f=new It.MathNode("munder",[n,je])}else f=Ha(),f=new It.MathNode("mover",[n,f]);return f}});var Yo=oe.makeSpan;function na(u,e){var n=Br(u.body,e,!0);return Yo([u.mclass],n,e)}function gi(u,e){var n,f=bt(u.body,e);return u.mclass==="minner"?n=new It.MathNode("mpadded",f):u.mclass==="mord"?u.isCharacterBox?(n=f[0],n.type="mi"):n=new It.MathNode("mi",f):(u.isCharacterBox?(n=f[0],n.type="mo"):n=new It.MathNode("mo",f),u.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):u.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):u.mclass==="mopen"||u.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):u.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}kt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(u,e){var{parser:n,funcName:f}=u,O=e[0];return{type:"mclass",mode:n.mode,mclass:"m"+f.slice(5),body:yt(O),isCharacterBox:j.isCharacterBox(O)}},htmlBuilder:na,mathmlBuilder:gi});var ro=u=>{var e=u.type==="ordgroup"&&u.body.length?u.body[0]:u;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};kt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(u,e){var{parser:n}=u;return{type:"mclass",mode:n.mode,mclass:ro(e[0]),body:yt(e[1]),isCharacterBox:j.isCharacterBox(e[1])}}}),kt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(u,e){var{parser:n,funcName:f}=u,O=e[1],Q=e[0],je;f!=="\\stackrel"?je=ro(O):je="mrel";var Ve={type:"op",mode:O.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:f!=="\\stackrel",body:yt(O)},qe={type:"supsub",mode:Q.mode,base:Ve,sup:f==="\\underset"?null:Q,sub:f==="\\underset"?Q:null};return{type:"mclass",mode:n.mode,mclass:je,body:[qe],isCharacterBox:j.isCharacterBox(qe)}},htmlBuilder:na,mathmlBuilder:gi}),kt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(u,e){var{parser:n}=u;return{type:"pmb",mode:n.mode,mclass:ro(e[0]),body:yt(e[0])}},htmlBuilder(u,e){var n=Br(u.body,e,!0),f=oe.makeSpan([u.mclass],n,e);return f.style.textShadow="0.02em 0.01em 0.04px",f},mathmlBuilder(u,e){var n=bt(u.body,e),f=new It.MathNode("mstyle",n);return f.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),f}});var qo={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Jo=()=>({type:"styling",body:[],mode:"math",style:"display"}),_a=u=>u.type==="textord"&&u.text==="@",Sa=(u,e)=>(u.type==="mathord"||u.type==="atom")&&u.text===e;function mo(u,e,n){var f=qo[u];switch(f){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(f,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var O=n.callFunction("\\\\cdleft",[e[0]],[]),Q={type:"atom",text:f,mode:"math",family:"rel"},je=n.callFunction("\\Big",[Q],[]),Ve=n.callFunction("\\\\cdright",[e[1]],[]),qe={type:"ordgroup",mode:"math",body:[O,je,Ve]};return n.callFunction("\\\\cdparent",[qe],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Dt={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[Dt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function oi(u){var e=[];for(u.gullet.beginGroup(),u.gullet.macros.set("\\cr","\\\\\\relax"),u.gullet.beginGroup();;){e.push(u.parseExpression(!1,"\\\\")),u.gullet.endGroup(),u.gullet.beginGroup();var n=u.fetch().text;if(n==="&"||n==="\\\\")u.consume();else if(n==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new G("Expected \\\\ or \\cr or \\end",u.nextToken)}for(var f=[],O=[f],Q=0;Q<e.length;Q++){for(var je=e[Q],Ve=Jo(),qe=0;qe<je.length;qe++)if(!_a(je[qe]))Ve.body.push(je[qe]);else{f.push(Ve),qe+=1;var Dt=Vn(je[qe]).text,mr=new Array(2);if(mr[0]={type:"ordgroup",mode:"math",body:[]},mr[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(Dt)>-1))if("<>AV".indexOf(Dt)>-1)for(var Nr=0;Nr<2;Nr++){for(var Ir=!0,Ar=qe+1;Ar<je.length;Ar++){if(Sa(je[Ar],Dt)){Ir=!1,qe=Ar;break}if(_a(je[Ar]))throw new G("Missing a "+Dt+" character to complete a CD arrow.",je[Ar]);mr[Nr].body.push(je[Ar])}if(Ir)throw new G("Missing a "+Dt+" character to complete a CD arrow.",je[qe])}else throw new G('Expected one of "<>AV=|." after @',je[qe]);var Yr=mo(Dt,mr,u),hn={type:"styling",body:[Yr],mode:"math",style:"display"};f.push(hn),Ve=Jo()}Q%2===0?f.push(Ve):f.shift(),f=[],O.push(f)}u.gullet.endGroup(),u.gullet.endGroup();var kn=new Array(O[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:O,arraystretch:1,addJot:!0,rowGaps:[null],cols:kn,colSeparationType:"CD",hLinesBeforeRow:new Array(O.length+1).fill([])}}kt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(u,e){var{parser:n,funcName:f}=u;return{type:"cdlabel",mode:n.mode,side:f.slice(4),label:e[0]}},htmlBuilder(u,e){var n=e.havingStyle(e.style.sup()),f=oe.wrapFragment(be(u.label,n,e),e);return f.classes.push("cd-label-"+u.side),f.style.bottom=St(.8-f.depth),f.height=0,f.depth=0,f},mathmlBuilder(u,e){var n=new It.MathNode("mrow",[rn(u.label,e)]);return n=new It.MathNode("mpadded",[n]),n.setAttribute("width","0"),u.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new It.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),kt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(u,e){var{parser:n}=u;return{type:"cdlabelparent",mode:n.mode,fragment:e[0]}},htmlBuilder(u,e){var n=oe.wrapFragment(be(u.fragment,e),e);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(u,e){return new It.MathNode("mrow",[rn(u.fragment,e)])}}),kt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(u,e){for(var{parser:n}=u,f=jn(e[0],"ordgroup"),O=f.body,Q="",je=0;je<O.length;je++){var Ve=jn(O[je],"textord");Q+=Ve.text}var qe=parseInt(Q),Dt;if(isNaN(qe))throw new G("\\@char has non-numeric argument "+Q);if(qe<0||qe>=1114111)throw new G("\\@char with invalid code point "+Q);return qe<=65535?Dt=String.fromCharCode(qe):(qe-=65536,Dt=String.fromCharCode((qe>>10)+55296,(qe&1023)+56320)),{type:"textord",mode:n.mode,text:Dt}}});var lo=(u,e)=>{var n=Br(u.body,e.withColor(u.color),!1);return oe.makeFragment(n)},Go=(u,e)=>{var n=bt(u.body,e.withColor(u.color)),f=new It.MathNode("mstyle",n);return f.setAttribute("mathcolor",u.color),f};kt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(u,e){var{parser:n}=u,f=jn(e[0],"color-token").color,O=e[1];return{type:"color",mode:n.mode,color:f,body:yt(O)}},htmlBuilder:lo,mathmlBuilder:Go}),kt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(u,e){var{parser:n,breakOnTokenText:f}=u,O=jn(e[0],"color-token").color;n.gullet.macros.set("\\current@color",O);var Q=n.parseExpression(!0,f);return{type:"color",mode:n.mode,color:O,body:Q}},htmlBuilder:lo,mathmlBuilder:Go}),kt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(u,e,n){var{parser:f}=u,O=f.gullet.future().text==="["?f.parseSizeGroup(!0):null,Q=!f.settings.displayMode||!f.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:f.mode,newLine:Q,size:O&&jn(O,"size").value}},htmlBuilder(u,e){var n=oe.makeSpan(["mspace"],[],e);return u.newLine&&(n.classes.push("newline"),u.size&&(n.style.marginTop=St(Qt(u.size,e)))),n},mathmlBuilder(u,e){var n=new It.MathNode("mspace");return u.newLine&&(n.setAttribute("linebreak","newline"),u.size&&n.setAttribute("height",St(Qt(u.size,e)))),n}});var ii={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Dn=u=>{var e=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new G("Expected a control sequence",u);return e},Xa=u=>{var e=u.gullet.popToken();return e.text==="="&&(e=u.gullet.popToken(),e.text===" "&&(e=u.gullet.popToken())),e},ia=(u,e,n,f)=>{var O=u.gullet.macros.get(n.text);O==null&&(n.noexpand=!0,O={tokens:[n],numArgs:0,unexpandable:!u.gullet.isExpandable(n.text)}),u.gullet.macros.set(e,O,f)};kt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(u){var{parser:e,funcName:n}=u;e.consumeSpaces();var f=e.fetch();if(ii[f.text])return(n==="\\global"||n==="\\\\globallong")&&(f.text=ii[f.text]),jn(e.parseFunction(),"internal");throw new G("Invalid token after macro prefix",f)}}),kt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:n}=u,f=e.gullet.popToken(),O=f.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(O))throw new G("Expected a control sequence",f);for(var Q=0,je,Ve=[[]];e.gullet.future().text!=="{";)if(f=e.gullet.popToken(),f.text==="#"){if(e.gullet.future().text==="{"){je=e.gullet.future(),Ve[Q].push("{");break}if(f=e.gullet.popToken(),!/^[1-9]$/.test(f.text))throw new G('Invalid argument number "'+f.text+'"');if(parseInt(f.text)!==Q+1)throw new G('Argument number "'+f.text+'" out of order');Q++,Ve.push([])}else{if(f.text==="EOF")throw new G("Expected a macro definition");Ve[Q].push(f.text)}var{tokens:qe}=e.gullet.consumeArg();return je&&qe.unshift(je),(n==="\\edef"||n==="\\xdef")&&(qe=e.gullet.expandTokens(qe),qe.reverse()),e.gullet.macros.set(O,{tokens:qe,numArgs:Q,delimiters:Ve},n===ii[n]),{type:"internal",mode:e.mode}}}),kt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:n}=u,f=Dn(e.gullet.popToken());e.gullet.consumeSpaces();var O=Xa(e);return ia(e,f,O,n==="\\\\globallet"),{type:"internal",mode:e.mode}}}),kt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:n}=u,f=Dn(e.gullet.popToken()),O=e.gullet.popToken(),Q=e.gullet.popToken();return ia(e,f,Q,n==="\\\\globalfuture"),e.gullet.pushToken(Q),e.gullet.pushToken(O),{type:"internal",mode:e.mode}}});var aa=function(e,n,f){var O=Cn.math[e]&&Cn.math[e].replace,Q=Ae(O||e,n,f);if(!Q)throw new Error("Unsupported symbol "+e+" and font size "+n+".");return Q},Aa=function(e,n,f,O){var Q=f.havingBaseStyle(n),je=oe.makeSpan(O.concat(Q.sizingClasses(f)),[e],f),Ve=Q.sizeMultiplier/f.sizeMultiplier;return je.height*=Ve,je.depth*=Ve,je.maxFontSize=Q.sizeMultiplier,je},za=function(e,n,f){var O=n.havingBaseStyle(f),Q=(1-n.sizeMultiplier/O.sizeMultiplier)*n.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=St(Q),e.height-=Q,e.depth+=Q},Io=function(e,n,f,O,Q,je){var Ve=oe.makeSymbol(e,"Main-Regular",Q,O),qe=Aa(Ve,n,O,je);return f&&za(qe,O,n),qe},No=function(e,n,f,O){return oe.makeSymbol(e,"Size"+n+"-Regular",f,O)},ei=function(e,n,f,O,Q,je){var Ve=No(e,n,Q,O),qe=Aa(oe.makeSpan(["delimsizing","size"+n],[Ve],O),te.TEXT,O,je);return f&&za(qe,O,te.TEXT),qe},di=function(e,n,f){var O;n==="Size1-Regular"?O="delim-size1":O="delim-size4";var Q=oe.makeSpan(["delimsizinginner",O],[oe.makeSpan([],[oe.makeSymbol(e,n,f)])]);return{type:"elem",elem:Q}},sa=function(e,n,f){var O=fe["Size4-Regular"][e.charCodeAt(0)]?fe["Size4-Regular"][e.charCodeAt(0)][4]:fe["Size1-Regular"][e.charCodeAt(0)][4],Q=new Mr("inner",g(e,Math.round(1e3*n))),je=new ke([Q],{width:St(O),height:St(n),style:"width:"+St(O),viewBox:"0 0 "+1e3*O+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),Ve=oe.makeSvgSpan([],[je],f);return Ve.height=n,Ve.style.height=St(n),Ve.style.width=St(O),{type:"elem",elem:Ve}},Ua=.008,go={type:"kern",size:-1*Ua},wo=["|","\\lvert","\\rvert","\\vert"],Ko=["\\|","\\lVert","\\rVert","\\Vert"],si=function(e,n,f,O,Q,je){var Ve,qe,Dt,mr,Nr="",Ir=0;Ve=Dt=mr=e,qe=null;var Ar="Size1-Regular";e==="\\uparrow"?Dt=mr="\u23D0":e==="\\Uparrow"?Dt=mr="\u2016":e==="\\downarrow"?Ve=Dt="\u23D0":e==="\\Downarrow"?Ve=Dt="\u2016":e==="\\updownarrow"?(Ve="\\uparrow",Dt="\u23D0",mr="\\downarrow"):e==="\\Updownarrow"?(Ve="\\Uparrow",Dt="\u2016",mr="\\Downarrow"):j.contains(wo,e)?(Dt="\u2223",Nr="vert",Ir=333):j.contains(Ko,e)?(Dt="\u2225",Nr="doublevert",Ir=556):e==="["||e==="\\lbrack"?(Ve="\u23A1",Dt="\u23A2",mr="\u23A3",Ar="Size4-Regular",Nr="lbrack",Ir=667):e==="]"||e==="\\rbrack"?(Ve="\u23A4",Dt="\u23A5",mr="\u23A6",Ar="Size4-Regular",Nr="rbrack",Ir=667):e==="\\lfloor"||e==="\u230A"?(Dt=Ve="\u23A2",mr="\u23A3",Ar="Size4-Regular",Nr="lfloor",Ir=667):e==="\\lceil"||e==="\u2308"?(Ve="\u23A1",Dt=mr="\u23A2",Ar="Size4-Regular",Nr="lceil",Ir=667):e==="\\rfloor"||e==="\u230B"?(Dt=Ve="\u23A5",mr="\u23A6",Ar="Size4-Regular",Nr="rfloor",Ir=667):e==="\\rceil"||e==="\u2309"?(Ve="\u23A4",Dt=mr="\u23A5",Ar="Size4-Regular",Nr="rceil",Ir=667):e==="("||e==="\\lparen"?(Ve="\u239B",Dt="\u239C",mr="\u239D",Ar="Size4-Regular",Nr="lparen",Ir=875):e===")"||e==="\\rparen"?(Ve="\u239E",Dt="\u239F",mr="\u23A0",Ar="Size4-Regular",Nr="rparen",Ir=875):e==="\\{"||e==="\\lbrace"?(Ve="\u23A7",qe="\u23A8",mr="\u23A9",Dt="\u23AA",Ar="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(Ve="\u23AB",qe="\u23AC",mr="\u23AD",Dt="\u23AA",Ar="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(Ve="\u23A7",mr="\u23A9",Dt="\u23AA",Ar="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(Ve="\u23AB",mr="\u23AD",Dt="\u23AA",Ar="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(Ve="\u23A7",mr="\u23AD",Dt="\u23AA",Ar="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(Ve="\u23AB",mr="\u23A9",Dt="\u23AA",Ar="Size4-Regular");var Yr=aa(Ve,Ar,Q),hn=Yr.height+Yr.depth,kn=aa(Dt,Ar,Q),Gn=kn.height+kn.depth,ua=aa(mr,Ar,Q),da=ua.height+ua.depth,Ba=0,ga=1;if(qe!==null){var Wa=aa(qe,Ar,Q);Ba=Wa.height+Wa.depth,ga=2}var Ya=hn+da+Ba,Lo=Math.max(0,Math.ceil((n-Ya)/(ga*Gn))),vo=Ya+Lo*ga*Gn,Ci=O.fontMetrics().axisHeight;f&&(Ci*=O.sizeMultiplier);var Zo=vo/2-Ci,Ho=[];if(Nr.length>0){var Pi=vo-hn-da,ni=Math.round(vo*1e3),Oi=Se(Nr,Math.round(Pi*1e3)),Ki=new Mr(Nr,Oi),_i=(Ir/1e3).toFixed(3)+"em",Xi=(ni/1e3).toFixed(3)+"em",ps=new ke([Ki],{width:_i,height:Xi,viewBox:"0 0 "+Ir+" "+ni}),ji=oe.makeSvgSpan([],[ps],O);ji.height=ni/1e3,ji.style.width=_i,ji.style.height=Xi,Ho.push({type:"elem",elem:ji})}else{if(Ho.push(di(mr,Ar,Q)),Ho.push(go),qe===null){var Li=vo-hn-da+2*Ua;Ho.push(sa(Dt,Li,O))}else{var Oo=(vo-hn-da-Ba)/2+2*Ua;Ho.push(sa(Dt,Oo,O)),Ho.push(go),Ho.push(di(qe,Ar,Q)),Ho.push(go),Ho.push(sa(Dt,Oo,O))}Ho.push(go),Ho.push(di(Ve,Ar,Q))}var Wo=O.havingBaseStyle(te.TEXT),hi=oe.makeVList({positionType:"bottom",positionData:Zo,children:Ho},Wo);return Aa(oe.makeSpan(["delimsizing","mult"],[hi],Wo),te.TEXT,O,je)},Bo=80,Ni=.08,Mi=function(e,n,f,O,Q){var je=re(e,O,f),Ve=new Mr(e,je),qe=new ke([Ve],{width:"400em",height:St(n),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});return oe.makeSvgSpan(["hide-tail"],[qe],Q)},co=function(e,n){var f=n.havingBaseSizing(),O=Ii("\\surd",e*f.sizeMultiplier,fi,f),Q=f.sizeMultiplier,je=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),Ve,qe=0,Dt=0,mr=0,Nr;return O.type==="small"?(mr=1e3+1e3*je+Bo,e<1?Q=1:e<1.4&&(Q=.7),qe=(1+je+Ni)/Q,Dt=(1+je)/Q,Ve=Mi("sqrtMain",qe,mr,je,n),Ve.style.minWidth="0.853em",Nr=.833/Q):O.type==="large"?(mr=(1e3+Bo)*Po[O.size],Dt=(Po[O.size]+je)/Q,qe=(Po[O.size]+je+Ni)/Q,Ve=Mi("sqrtSize"+O.size,qe,mr,je,n),Ve.style.minWidth="1.02em",Nr=1/Q):(qe=e+je+Ni,Dt=e+je,mr=Math.floor(1e3*e+je)+Bo,Ve=Mi("sqrtTall",qe,mr,je,n),Ve.style.minWidth="0.742em",Nr=1.056),Ve.height=Dt,Ve.style.height=St(qe),{span:Ve,advanceWidth:Nr,ruleWidth:(n.fontMetrics().sqrtRuleThickness+je)*Q}},Ao=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Mo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],li=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Po=[0,1.2,1.8,2.4,3],ao=function(e,n,f,O,Q){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),j.contains(Ao,e)||j.contains(li,e))return ei(e,n,!1,f,O,Q);if(j.contains(Mo,e))return si(e,Po[n],!1,f,O,Q);throw new G("Illegal delimiter: '"+e+"'")},Qo=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],uo=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"stack"}],fi=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Do=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Ii=function(e,n,f,O){for(var Q=Math.min(2,3-O.style.size),je=Q;je<f.length&&f[je].type!=="stack";je++){var Ve=aa(e,Do(f[je]),"math"),qe=Ve.height+Ve.depth;if(f[je].type==="small"){var Dt=O.havingBaseStyle(f[je].style);qe*=Dt.sizeMultiplier}if(qe>n)return f[je]}return f[f.length-1]},bi=function(e,n,f,O,Q,je){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var Ve;j.contains(li,e)?Ve=Qo:j.contains(Ao,e)?Ve=fi:Ve=uo;var qe=Ii(e,n,Ve,O);return qe.type==="small"?Io(e,qe.style,f,O,Q,je):qe.type==="large"?ei(e,qe.size,f,O,Q,je):si(e,n,f,O,Q,je)},es=function(e,n,f,O,Q,je){var Ve=O.fontMetrics().axisHeight*O.sizeMultiplier,qe=901,Dt=5/O.fontMetrics().ptPerEm,mr=Math.max(n-Ve,f+Ve),Nr=Math.max(mr/500*qe,2*mr-Dt);return bi(e,Nr,!0,O,Q,je)},Ma={sqrtImage:co,sizedDelim:ao,sizeToMaxHeight:Po,customSizedDelim:bi,leftRightDelim:es},Ji={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},$i=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ai(u,e){var n=ka(u);if(n&&j.contains($i,n.text))return n;throw n?new G("Invalid delimiter '"+n.text+"' after '"+e.funcName+"'",u):new G("Invalid delimiter type '"+u.type+"'",u)}kt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(u,e)=>{var n=Ai(e[0],u);return{type:"delimsizing",mode:u.parser.mode,size:Ji[u.funcName].size,mclass:Ji[u.funcName].mclass,delim:n.text}},htmlBuilder:(u,e)=>u.delim==="."?oe.makeSpan([u.mclass]):Ma.sizedDelim(u.delim,u.size,e,u.mode,[u.mclass]),mathmlBuilder:u=>{var e=[];u.delim!=="."&&e.push(Cr(u.delim,u.mode));var n=new It.MathNode("mo",e);u.mclass==="mopen"||u.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var f=St(Ma.sizeToMaxHeight[u.size]);return n.setAttribute("minsize",f),n.setAttribute("maxsize",f),n}});function Ti(u){if(!u.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}kt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var n=u.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new G("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:u.parser.mode,delim:Ai(e[0],u).text,color:n}}}),kt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var n=Ai(e[0],u),f=u.parser;++f.leftrightDepth;var O=f.parseExpression(!1);--f.leftrightDepth,f.expect("\\right",!1);var Q=jn(f.parseFunction(),"leftright-right");return{type:"leftright",mode:f.mode,body:O,left:n.text,right:Q.delim,rightColor:Q.color}},htmlBuilder:(u,e)=>{Ti(u);for(var n=Br(u.body,e,!0,["mopen","mclose"]),f=0,O=0,Q=!1,je=0;je<n.length;je++)n[je].isMiddle?Q=!0:(f=Math.max(n[je].height,f),O=Math.max(n[je].depth,O));f*=e.sizeMultiplier,O*=e.sizeMultiplier;var Ve;if(u.left==="."?Ve=Ke(e,["mopen"]):Ve=Ma.leftRightDelim(u.left,f,O,e,u.mode,["mopen"]),n.unshift(Ve),Q)for(var qe=1;qe<n.length;qe++){var Dt=n[qe],mr=Dt.isMiddle;mr&&(n[qe]=Ma.leftRightDelim(mr.delim,f,O,mr.options,u.mode,[]))}var Nr;if(u.right===".")Nr=Ke(e,["mclose"]);else{var Ir=u.rightColor?e.withColor(u.rightColor):e;Nr=Ma.leftRightDelim(u.right,f,O,Ir,u.mode,["mclose"])}return n.push(Nr),oe.makeSpan(["minner"],n,e)},mathmlBuilder:(u,e)=>{Ti(u);var n=bt(u.body,e);if(u.left!=="."){var f=new It.MathNode("mo",[Cr(u.left,u.mode)]);f.setAttribute("fence","true"),n.unshift(f)}if(u.right!=="."){var O=new It.MathNode("mo",[Cr(u.right,u.mode)]);O.setAttribute("fence","true"),u.rightColor&&O.setAttribute("mathcolor",u.rightColor),n.push(O)}return Hr(n)}}),kt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var n=Ai(e[0],u);if(!u.parser.leftrightDepth)throw new G("\\middle without preceding \\left",n);return{type:"middle",mode:u.parser.mode,delim:n.text}},htmlBuilder:(u,e)=>{var n;if(u.delim===".")n=Ke(e,[]);else{n=Ma.sizedDelim(u.delim,1,e,u.mode,[]);var f={delim:u.delim,options:e};n.isMiddle=f}return n},mathmlBuilder:(u,e)=>{var n=u.delim==="\\vert"||u.delim==="|"?Cr("|","text"):Cr(u.delim,u.mode),f=new It.MathNode("mo",[n]);return f.setAttribute("fence","true"),f.setAttribute("lspace","0.05em"),f.setAttribute("rspace","0.05em"),f}});var Zi=(u,e)=>{var n=oe.wrapFragment(be(u.body,e),e),f=u.label.slice(1),O=e.sizeMultiplier,Q,je=0,Ve=j.isCharacterBox(u.body);if(f==="sout")Q=oe.makeSpan(["stretchy","sout"]),Q.height=e.fontMetrics().defaultRuleThickness/O,je=-.5*e.fontMetrics().xHeight;else if(f==="phase"){var qe=Qt({number:.6,unit:"pt"},e),Dt=Qt({number:.35,unit:"ex"},e),mr=e.havingBaseSizing();O=O/mr.sizeMultiplier;var Nr=n.height+n.depth+qe+Dt;n.style.paddingLeft=St(Nr/2+qe);var Ir=Math.floor(1e3*Nr*O),Ar=tr(Ir),Yr=new ke([new Mr("phase",Ar)],{width:"400em",height:St(Ir/1e3),viewBox:"0 0 400000 "+Ir,preserveAspectRatio:"xMinYMin slice"});Q=oe.makeSvgSpan(["hide-tail"],[Yr],e),Q.style.height=St(Nr),je=n.depth+qe+Dt}else{/cancel/.test(f)?Ve||n.classes.push("cancel-pad"):f==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var hn=0,kn=0,Gn=0;/box/.test(f)?(Gn=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),hn=e.fontMetrics().fboxsep+(f==="colorbox"?0:Gn),kn=hn):f==="angl"?(Gn=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),hn=4*Gn,kn=Math.max(0,.25-n.depth)):(hn=Ve?.2:0,kn=hn),Q=Xn.encloseSpan(n,f,hn,kn,e),/fbox|boxed|fcolorbox/.test(f)?(Q.style.borderStyle="solid",Q.style.borderWidth=St(Gn)):f==="angl"&&Gn!==.049&&(Q.style.borderTopWidth=St(Gn),Q.style.borderRightWidth=St(Gn)),je=n.depth+kn,u.backgroundColor&&(Q.style.backgroundColor=u.backgroundColor,u.borderColor&&(Q.style.borderColor=u.borderColor))}var ua;if(u.backgroundColor)ua=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Q,shift:je},{type:"elem",elem:n,shift:0}]},e);else{var da=/cancel|phase/.test(f)?["svg-align"]:[];ua=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:Q,shift:je,wrapperClasses:da}]},e)}return/cancel/.test(f)&&(ua.height=n.height,ua.depth=n.depth),/cancel/.test(f)&&!Ve?oe.makeSpan(["mord","cancel-lap"],[ua],e):oe.makeSpan(["mord"],[ua],e)},Ei=(u,e)=>{var n=0,f=new It.MathNode(u.label.indexOf("colorbox")>-1?"mpadded":"menclose",[rn(u.body,e)]);switch(u.label){case"\\cancel":f.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":f.setAttribute("notation","downdiagonalstrike");break;case"\\phase":f.setAttribute("notation","phasorangle");break;case"\\sout":f.setAttribute("notation","horizontalstrike");break;case"\\fbox":f.setAttribute("notation","box");break;case"\\angl":f.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,f.setAttribute("width","+"+2*n+"pt"),f.setAttribute("height","+"+2*n+"pt"),f.setAttribute("lspace",n+"pt"),f.setAttribute("voffset",n+"pt"),u.label==="\\fcolorbox"){var O=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);f.setAttribute("style","border: "+O+"em solid "+String(u.borderColor))}break;case"\\xcancel":f.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return u.backgroundColor&&f.setAttribute("mathbackground",u.backgroundColor),f};kt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(u,e,n){var{parser:f,funcName:O}=u,Q=jn(e[0],"color-token").color,je=e[1];return{type:"enclose",mode:f.mode,label:O,backgroundColor:Q,body:je}},htmlBuilder:Zi,mathmlBuilder:Ei}),kt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(u,e,n){var{parser:f,funcName:O}=u,Q=jn(e[0],"color-token").color,je=jn(e[1],"color-token").color,Ve=e[2];return{type:"enclose",mode:f.mode,label:O,backgroundColor:je,borderColor:Q,body:Ve}},htmlBuilder:Zi,mathmlBuilder:Ei}),kt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(u,e){var{parser:n}=u;return{type:"enclose",mode:n.mode,label:"\\fbox",body:e[0]}}}),kt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(u,e){var{parser:n,funcName:f}=u,O=e[0];return{type:"enclose",mode:n.mode,label:f,body:O}},htmlBuilder:Zi,mathmlBuilder:Ei}),kt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(u,e){var{parser:n}=u;return{type:"enclose",mode:n.mode,label:"\\angl",body:e[0]}}});var Di={};function Fo(u){for(var{type:e,names:n,props:f,handler:O,htmlBuilder:Q,mathmlBuilder:je}=u,Ve={type:e,numArgs:f.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:O},qe=0;qe<n.length;++qe)Di[n[qe]]=Ve;Q&&(On[e]=Q),je&&(qr[e]=je)}var Gi={};function ft(u,e){Gi[u]=e}function is(u){var e=[];u.consumeSpaces();var n=u.fetch().text;for(n==="\\relax"&&(u.consume(),u.consumeSpaces(),n=u.fetch().text);n==="\\hline"||n==="\\hdashline";)u.consume(),e.push(n==="\\hdashline"),u.consumeSpaces(),n=u.fetch().text;return e}var Qi=u=>{var e=u.parser.settings;if(!e.displayMode)throw new G("{"+u.envName+"} can be used only in display mode.")};function ts(u){if(u.indexOf("ed")===-1)return u.indexOf("*")===-1}function Bi(u,e,n){var{hskipBeforeAndAfter:f,addJot:O,cols:Q,arraystretch:je,colSeparationType:Ve,autoTag:qe,singleRow:Dt,emptySingleRow:mr,maxNumCols:Nr,leqno:Ir}=e;if(u.gullet.beginGroup(),Dt||u.gullet.macros.set("\\cr","\\\\\\relax"),!je){var Ar=u.gullet.expandMacroAsText("\\arraystretch");if(Ar==null)je=1;else if(je=parseFloat(Ar),!je||je<0)throw new G("Invalid \\arraystretch: "+Ar)}u.gullet.beginGroup();var Yr=[],hn=[Yr],kn=[],Gn=[],ua=qe!=null?[]:void 0;function da(){qe&&u.gullet.macros.set("\\@eqnsw","1",!0)}function Ba(){ua&&(u.gullet.macros.get("\\df@tag")?(ua.push(u.subparse([new Be("\\df@tag")])),u.gullet.macros.set("\\df@tag",void 0,!0)):ua.push(!!qe&&u.gullet.macros.get("\\@eqnsw")==="1"))}for(da(),Gn.push(is(u));;){var ga=u.parseExpression(!1,Dt?"\\end":"\\\\");u.gullet.endGroup(),u.gullet.beginGroup(),ga={type:"ordgroup",mode:u.mode,body:ga},n&&(ga={type:"styling",mode:u.mode,style:n,body:[ga]}),Yr.push(ga);var Wa=u.fetch().text;if(Wa==="&"){if(Nr&&Yr.length===Nr){if(Dt||Ve)throw new G("Too many tab characters: &",u.nextToken);u.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}u.consume()}else if(Wa==="\\end"){Ba(),Yr.length===1&&ga.type==="styling"&&ga.body[0].body.length===0&&(hn.length>1||!mr)&&hn.pop(),Gn.length<hn.length+1&&Gn.push([]);break}else if(Wa==="\\\\"){u.consume();var Ya=void 0;u.gullet.future().text!==" "&&(Ya=u.parseSizeGroup(!0)),kn.push(Ya?Ya.value:null),Ba(),Gn.push(is(u)),Yr=[],hn.push(Yr),da()}else throw new G("Expected & or \\\\ or \\cr or \\end",u.nextToken)}return u.gullet.endGroup(),u.gullet.endGroup(),{type:"array",mode:u.mode,addJot:O,arraystretch:je,body:hn,cols:Q,rowGaps:kn,hskipBeforeAndAfter:f,hLinesBeforeRow:Gn,colSeparationType:Ve,tags:ua,leqno:Ir}}function Wi(u){return u.slice(0,1)==="d"?"display":"text"}var Pa=function(e,n){var f,O,Q=e.body.length,je=e.hLinesBeforeRow,Ve=0,qe=new Array(Q),Dt=[],mr=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),Nr=1/n.fontMetrics().ptPerEm,Ir=5*Nr;if(e.colSeparationType&&e.colSeparationType==="small"){var Ar=n.havingStyle(te.SCRIPT).sizeMultiplier;Ir=.2778*(Ar/n.sizeMultiplier)}var Yr=e.colSeparationType==="CD"?Qt({number:3,unit:"ex"},n):12*Nr,hn=3*Nr,kn=e.arraystretch*Yr,Gn=.7*kn,ua=.3*kn,da=0;function Ba(Uo){for(var xi=0;xi<Uo.length;++xi)xi>0&&(da+=.25),Dt.push({pos:da,isDashed:Uo[xi]})}for(Ba(je[0]),f=0;f<e.body.length;++f){var ga=e.body[f],Wa=Gn,Ya=ua;Ve<ga.length&&(Ve=ga.length);var Lo=new Array(ga.length);for(O=0;O<ga.length;++O){var vo=be(ga[O],n);Ya<vo.depth&&(Ya=vo.depth),Wa<vo.height&&(Wa=vo.height),Lo[O]=vo}var Ci=e.rowGaps[f],Zo=0;Ci&&(Zo=Qt(Ci,n),Zo>0&&(Zo+=ua,Ya<Zo&&(Ya=Zo),Zo=0)),e.addJot&&(Ya+=hn),Lo.height=Wa,Lo.depth=Ya,da+=Wa,Lo.pos=da,da+=Ya+Zo,qe[f]=Lo,Ba(je[f+1])}var Ho=da/2+n.fontMetrics().axisHeight,Pi=e.cols||[],ni=[],Oi,Ki,_i=[];if(e.tags&&e.tags.some(Uo=>Uo))for(f=0;f<Q;++f){var Xi=qe[f],ps=Xi.pos-Ho,ji=e.tags[f],Li=void 0;ji===!0?Li=oe.makeSpan(["eqn-num"],[],n):ji===!1?Li=oe.makeSpan([],[],n):Li=oe.makeSpan([],Br(ji,n,!0),n),Li.depth=Xi.depth,Li.height=Xi.height,_i.push({type:"elem",elem:Li,shift:ps})}for(O=0,Ki=0;O<Ve||Ki<Pi.length;++O,++Ki){for(var Oo=Pi[Ki]||{},Wo=!0;Oo.type==="separator";){if(Wo||(Oi=oe.makeSpan(["arraycolsep"],[]),Oi.style.width=St(n.fontMetrics().doubleRuleSep),ni.push(Oi)),Oo.separator==="|"||Oo.separator===":"){var hi=Oo.separator==="|"?"solid":"dashed",mi=oe.makeSpan(["vertical-separator"],[],n);mi.style.height=St(da),mi.style.borderRightWidth=St(mr),mi.style.borderRightStyle=hi,mi.style.margin="0 "+St(-mr/2);var rs=da-Ho;rs&&(mi.style.verticalAlign=St(-rs)),ni.push(mi)}else throw new G("Invalid separator type: "+Oo.separator);Ki++,Oo=Pi[Ki]||{},Wo=!1}if(!(O>=Ve)){var Yi=void 0;(O>0||e.hskipBeforeAndAfter)&&(Yi=j.deflt(Oo.pregap,Ir),Yi!==0&&(Oi=oe.makeSpan(["arraycolsep"],[]),Oi.style.width=St(Yi),ni.push(Oi)));var ns=[];for(f=0;f<Q;++f){var vs=qe[f],xs=vs[O];if(xs){var Bs=vs.pos-Ho;xs.depth=vs.depth,xs.height=vs.height,ns.push({type:"elem",elem:xs,shift:Bs})}}ns=oe.makeVList({positionType:"individualShift",children:ns},n),ns=oe.makeSpan(["col-align-"+(Oo.align||"c")],[ns]),ni.push(ns),(O<Ve-1||e.hskipBeforeAndAfter)&&(Yi=j.deflt(Oo.postgap,Ir),Yi!==0&&(Oi=oe.makeSpan(["arraycolsep"],[]),Oi.style.width=St(Yi),ni.push(Oi)))}}if(qe=oe.makeSpan(["mtable"],ni),Dt.length>0){for(var Is=oe.makeLineSpan("hline",n,mr),jo=oe.makeLineSpan("hdashline",n,mr),so=[{type:"elem",elem:qe,shift:0}];Dt.length>0;){var Fi=Dt.pop(),zi=Fi.pos-Ho;Fi.isDashed?so.push({type:"elem",elem:jo,shift:zi}):so.push({type:"elem",elem:Is,shift:zi})}qe=oe.makeVList({positionType:"individualShift",children:so},n)}if(_i.length===0)return oe.makeSpan(["mord"],[qe],n);var pi=oe.makeVList({positionType:"individualShift",children:_i},n);return pi=oe.makeSpan(["tag"],[pi],n),oe.makeFragment([qe,pi])},$o={c:"center ",l:"left ",r:"right "},se=function(e,n){for(var f=[],O=new It.MathNode("mtd",[],["mtr-glue"]),Q=new It.MathNode("mtd",[],["mml-eqn-num"]),je=0;je<e.body.length;je++){for(var Ve=e.body[je],qe=[],Dt=0;Dt<Ve.length;Dt++)qe.push(new It.MathNode("mtd",[rn(Ve[Dt],n)]));e.tags&&e.tags[je]&&(qe.unshift(O),qe.push(O),e.leqno?qe.unshift(Q):qe.push(Q)),f.push(new It.MathNode("mtr",qe))}var mr=new It.MathNode("mtable",f),Nr=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);mr.setAttribute("rowspacing",St(Nr));var Ir="",Ar="";if(e.cols&&e.cols.length>0){var Yr=e.cols,hn="",kn=!1,Gn=0,ua=Yr.length;Yr[0].type==="separator"&&(Ir+="top ",Gn=1),Yr[Yr.length-1].type==="separator"&&(Ir+="bottom ",ua-=1);for(var da=Gn;da<ua;da++)Yr[da].type==="align"?(Ar+=$o[Yr[da].align],kn&&(hn+="none "),kn=!0):Yr[da].type==="separator"&&kn&&(hn+=Yr[da].separator==="|"?"solid ":"dashed ",kn=!1);mr.setAttribute("columnalign",Ar.trim()),/[sd]/.test(hn)&&mr.setAttribute("columnlines",hn.trim())}if(e.colSeparationType==="align"){for(var Ba=e.cols||[],ga="",Wa=1;Wa<Ba.length;Wa++)ga+=Wa%2?"0em ":"1em ";mr.setAttribute("columnspacing",ga.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?mr.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?mr.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?mr.setAttribute("columnspacing","0.5em"):mr.setAttribute("columnspacing","1em");var Ya="",Lo=e.hLinesBeforeRow;Ir+=Lo[0].length>0?"left ":"",Ir+=Lo[Lo.length-1].length>0?"right ":"";for(var vo=1;vo<Lo.length-1;vo++)Ya+=Lo[vo].length===0?"none ":Lo[vo][0]?"dashed ":"solid ";return/[sd]/.test(Ya)&&mr.setAttribute("rowlines",Ya.trim()),Ir!==""&&(mr=new It.MathNode("menclose",[mr]),mr.setAttribute("notation",Ir.trim())),e.arraystretch&&e.arraystretch<1&&(mr=new It.MathNode("mstyle",[mr]),mr.setAttribute("scriptlevel","1")),mr},xe=function(e,n){e.envName.indexOf("ed")===-1&&Qi(e);var f=[],O=e.envName.indexOf("at")>-1?"alignat":"align",Q=e.envName==="split",je=Bi(e.parser,{cols:f,addJot:!0,autoTag:Q?void 0:ts(e.envName),emptySingleRow:!0,colSeparationType:O,maxNumCols:Q?2:void 0,leqno:e.parser.settings.leqno},"display"),Ve,qe=0,Dt={type:"ordgroup",mode:e.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var mr="",Nr=0;Nr<n[0].body.length;Nr++){var Ir=jn(n[0].body[Nr],"textord");mr+=Ir.text}Ve=Number(mr),qe=Ve*2}var Ar=!qe;je.body.forEach(function(Gn){for(var ua=1;ua<Gn.length;ua+=2){var da=jn(Gn[ua],"styling"),Ba=jn(da.body[0],"ordgroup");Ba.body.unshift(Dt)}if(Ar)qe<Gn.length&&(qe=Gn.length);else{var ga=Gn.length/2;if(Ve<ga)throw new G("Too many math in a row: "+("expected "+Ve+", but got "+ga),Gn[0])}});for(var Yr=0;Yr<qe;++Yr){var hn="r",kn=0;Yr%2===1?hn="l":Yr>0&&Ar&&(kn=1),f[Yr]={type:"align",align:hn,pregap:kn,postgap:0}}return je.colSeparationType=Ar?"align":"alignat",je};Fo({type:"array",names:["array","darray"],props:{numArgs:1},handler(u,e){var n=ka(e[0]),f=n?[e[0]]:jn(e[0],"ordgroup").body,O=f.map(function(je){var Ve=Vn(je),qe=Ve.text;if("lcr".indexOf(qe)!==-1)return{type:"align",align:qe};if(qe==="|")return{type:"separator",separator:"|"};if(qe===":")return{type:"separator",separator:":"};throw new G("Unknown column alignment: "+qe,je)}),Q={cols:O,hskipBeforeAndAfter:!0,maxNumCols:O.length};return Bi(u.parser,Q,Wi(u.envName))},htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(u){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[u.envName.replace("*","")],n="c",f={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(u.envName.charAt(u.envName.length-1)==="*"){var O=u.parser;if(O.consumeSpaces(),O.fetch().text==="["){if(O.consume(),O.consumeSpaces(),n=O.fetch().text,"lcr".indexOf(n)===-1)throw new G("Expected l or c or r",O.nextToken);O.consume(),O.consumeSpaces(),O.expect("]"),O.consume(),f.cols=[{type:"align",align:n}]}}var Q=Bi(u.parser,f,Wi(u.envName)),je=Math.max(0,...Q.body.map(Ve=>Ve.length));return Q.cols=new Array(je).fill({type:"align",align:n}),e?{type:"leftright",mode:u.mode,body:[Q],left:e[0],right:e[1],rightColor:void 0}:Q},htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(u){var e={arraystretch:.5},n=Bi(u.parser,e,"script");return n.colSeparationType="small",n},htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["subarray"],props:{numArgs:1},handler(u,e){var n=ka(e[0]),f=n?[e[0]]:jn(e[0],"ordgroup").body,O=f.map(function(je){var Ve=Vn(je),qe=Ve.text;if("lc".indexOf(qe)!==-1)return{type:"align",align:qe};throw new G("Unknown column alignment: "+qe,je)});if(O.length>1)throw new G("{subarray} can contain only one column");var Q={cols:O,hskipBeforeAndAfter:!1,arraystretch:.5};if(Q=Bi(u.parser,Q,"script"),Q.body.length>0&&Q.body[0].length>1)throw new G("{subarray} can contain only one column");return Q},htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(u){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Bi(u.parser,e,Wi(u.envName));return{type:"leftright",mode:u.mode,body:[n],left:u.envName.indexOf("r")>-1?".":"\\{",right:u.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:xe,htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(u){j.contains(["gather","gather*"],u.envName)&&Qi(u);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ts(u.envName),emptySingleRow:!0,leqno:u.parser.settings.leqno};return Bi(u.parser,e,"display")},htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:xe,htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(u){Qi(u);var e={autoTag:ts(u.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:u.parser.settings.leqno};return Bi(u.parser,e,"display")},htmlBuilder:Pa,mathmlBuilder:se}),Fo({type:"array",names:["CD"],props:{numArgs:0},handler(u){return Qi(u),oi(u.parser)},htmlBuilder:Pa,mathmlBuilder:se}),ft("\\nonumber","\\gdef\\@eqnsw{0}"),ft("\\notag","\\nonumber"),kt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(u,e){throw new G(u.funcName+" valid only within array environment")}});var ct=Di;kt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(u,e){var{parser:n,funcName:f}=u,O=e[0];if(O.type!=="ordgroup")throw new G("Invalid environment name",O);for(var Q="",je=0;je<O.body.length;++je)Q+=jn(O.body[je],"textord").text;if(f==="\\begin"){if(!ct.hasOwnProperty(Q))throw new G("No such environment: "+Q,O);var Ve=ct[Q],{args:qe,optArgs:Dt}=n.parseArguments("\\begin{"+Q+"}",Ve),mr={mode:n.mode,envName:Q,parser:n},Nr=Ve.handler(mr,qe,Dt);n.expect("\\end",!1);var Ir=n.nextToken,Ar=jn(n.parseFunction(),"environment");if(Ar.name!==Q)throw new G("Mismatch: \\begin{"+Q+"} matched by \\end{"+Ar.name+"}",Ir);return Nr}return{type:"environment",mode:n.mode,name:Q,nameGroup:O}}});var gt=(u,e)=>{var n=u.font,f=e.withFont(n);return be(u.body,f)},vr=(u,e)=>{var n=u.font,f=e.withFont(n);return rn(u.body,f)},Vr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};kt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=gn(e[0]),Q=f;return Q in Vr&&(Q=Vr[Q]),{type:"font",mode:n.mode,font:Q.slice(1),body:O}},htmlBuilder:gt,mathmlBuilder:vr}),kt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(u,e)=>{var{parser:n}=u,f=e[0],O=j.isCharacterBox(f);return{type:"mclass",mode:n.mode,mclass:ro(f),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:f}],isCharacterBox:O}}}),kt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{parser:n,funcName:f,breakOnTokenText:O}=u,{mode:Q}=n,je=n.parseExpression(!0,O),Ve="math"+f.slice(1);return{type:"font",mode:Q,font:Ve,body:{type:"ordgroup",mode:n.mode,body:je}}},htmlBuilder:gt,mathmlBuilder:vr});var fn=(u,e)=>{var n=e;return u==="display"?n=n.id>=te.SCRIPT.id?n.text():te.DISPLAY:u==="text"&&n.size===te.DISPLAY.size?n=te.TEXT:u==="script"?n=te.SCRIPT:u==="scriptscript"&&(n=te.SCRIPTSCRIPT),n},Zn=(u,e)=>{var n=fn(u.size,e.style),f=n.fracNum(),O=n.fracDen(),Q;Q=e.havingStyle(f);var je=be(u.numer,Q,e);if(u.continued){var Ve=8.5/e.fontMetrics().ptPerEm,qe=3.5/e.fontMetrics().ptPerEm;je.height=je.height<Ve?Ve:je.height,je.depth=je.depth<qe?qe:je.depth}Q=e.havingStyle(O);var Dt=be(u.denom,Q,e),mr,Nr,Ir;u.hasBarLine?(u.barSize?(Nr=Qt(u.barSize,e),mr=oe.makeLineSpan("frac-line",e,Nr)):mr=oe.makeLineSpan("frac-line",e),Nr=mr.height,Ir=mr.height):(mr=null,Nr=0,Ir=e.fontMetrics().defaultRuleThickness);var Ar,Yr,hn;n.size===te.DISPLAY.size||u.size==="display"?(Ar=e.fontMetrics().num1,Nr>0?Yr=3*Ir:Yr=7*Ir,hn=e.fontMetrics().denom1):(Nr>0?(Ar=e.fontMetrics().num2,Yr=Ir):(Ar=e.fontMetrics().num3,Yr=3*Ir),hn=e.fontMetrics().denom2);var kn;if(mr){var ua=e.fontMetrics().axisHeight;Ar-je.depth-(ua+.5*Nr)<Yr&&(Ar+=Yr-(Ar-je.depth-(ua+.5*Nr))),ua-.5*Nr-(Dt.height-hn)<Yr&&(hn+=Yr-(ua-.5*Nr-(Dt.height-hn)));var da=-(ua-.5*Nr);kn=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Dt,shift:hn},{type:"elem",elem:mr,shift:da},{type:"elem",elem:je,shift:-Ar}]},e)}else{var Gn=Ar-je.depth-(Dt.height-hn);Gn<Yr&&(Ar+=.5*(Yr-Gn),hn+=.5*(Yr-Gn)),kn=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Dt,shift:hn},{type:"elem",elem:je,shift:-Ar}]},e)}Q=e.havingStyle(n),kn.height*=Q.sizeMultiplier/e.sizeMultiplier,kn.depth*=Q.sizeMultiplier/e.sizeMultiplier;var Ba;n.size===te.DISPLAY.size?Ba=e.fontMetrics().delim1:n.size===te.SCRIPTSCRIPT.size?Ba=e.havingStyle(te.SCRIPT).fontMetrics().delim2:Ba=e.fontMetrics().delim2;var ga,Wa;return u.leftDelim==null?ga=Ke(e,["mopen"]):ga=Ma.customSizedDelim(u.leftDelim,Ba,!0,e.havingStyle(n),u.mode,["mopen"]),u.continued?Wa=oe.makeSpan([]):u.rightDelim==null?Wa=Ke(e,["mclose"]):Wa=Ma.customSizedDelim(u.rightDelim,Ba,!0,e.havingStyle(n),u.mode,["mclose"]),oe.makeSpan(["mord"].concat(Q.sizingClasses(e)),[ga,oe.makeSpan(["mfrac"],[kn]),Wa],e)},Wn=(u,e)=>{var n=new It.MathNode("mfrac",[rn(u.numer,e),rn(u.denom,e)]);if(!u.hasBarLine)n.setAttribute("linethickness","0px");else if(u.barSize){var f=Qt(u.barSize,e);n.setAttribute("linethickness",St(f))}var O=fn(u.size,e.style);if(O.size!==e.style.size){n=new It.MathNode("mstyle",[n]);var Q=O.size===te.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",Q),n.setAttribute("scriptlevel","0")}if(u.leftDelim!=null||u.rightDelim!=null){var je=[];if(u.leftDelim!=null){var Ve=new It.MathNode("mo",[new It.TextNode(u.leftDelim.replace("\\",""))]);Ve.setAttribute("fence","true"),je.push(Ve)}if(je.push(n),u.rightDelim!=null){var qe=new It.MathNode("mo",[new It.TextNode(u.rightDelim.replace("\\",""))]);qe.setAttribute("fence","true"),je.push(qe)}return Hr(je)}return n};kt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=e[0],Q=e[1],je,Ve=null,qe=null,Dt="auto";switch(f){case"\\dfrac":case"\\frac":case"\\tfrac":je=!0;break;case"\\\\atopfrac":je=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":je=!1,Ve="(",qe=")";break;case"\\\\bracefrac":je=!1,Ve="\\{",qe="\\}";break;case"\\\\brackfrac":je=!1,Ve="[",qe="]";break;default:throw new Error("Unrecognized genfrac command")}switch(f){case"\\dfrac":case"\\dbinom":Dt="display";break;case"\\tfrac":case"\\tbinom":Dt="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:O,denom:Q,hasBarLine:je,leftDelim:Ve,rightDelim:qe,size:Dt,barSize:null}},htmlBuilder:Zn,mathmlBuilder:Wn}),kt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=e[0],Q=e[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:O,denom:Q,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),kt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(u){var{parser:e,funcName:n,token:f}=u,O;switch(n){case"\\over":O="\\frac";break;case"\\choose":O="\\binom";break;case"\\atop":O="\\\\atopfrac";break;case"\\brace":O="\\\\bracefrac";break;case"\\brack":O="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:O,token:f}}});var wn=["display","text","script","scriptscript"],_n=function(e){var n=null;return e.length>0&&(n=e,n=n==="."?null:n),n};kt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(u,e){var{parser:n}=u,f=e[4],O=e[5],Q=gn(e[0]),je=Q.type==="atom"&&Q.family==="open"?_n(Q.text):null,Ve=gn(e[1]),qe=Ve.type==="atom"&&Ve.family==="close"?_n(Ve.text):null,Dt=jn(e[2],"size"),mr,Nr=null;Dt.isBlank?mr=!0:(Nr=Dt.value,mr=Nr.number>0);var Ir="auto",Ar=e[3];if(Ar.type==="ordgroup"){if(Ar.body.length>0){var Yr=jn(Ar.body[0],"textord");Ir=wn[Number(Yr.text)]}}else Ar=jn(Ar,"textord"),Ir=wn[Number(Ar.text)];return{type:"genfrac",mode:n.mode,numer:f,denom:O,continued:!1,hasBarLine:mr,barSize:Nr,leftDelim:je,rightDelim:qe,size:Ir}},htmlBuilder:Zn,mathmlBuilder:Wn}),kt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(u,e){var{parser:n,funcName:f,token:O}=u;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:jn(e[0],"size").value,token:O}}}),kt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=e[0],Q=Z(jn(e[1],"infix").size),je=e[2],Ve=Q.number>0;return{type:"genfrac",mode:n.mode,numer:O,denom:je,continued:!1,hasBarLine:Ve,barSize:Q,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Zn,mathmlBuilder:Wn});var la=(u,e)=>{var n=e.style,f,O;u.type==="supsub"?(f=u.sup?be(u.sup,e.havingStyle(n.sup()),e):be(u.sub,e.havingStyle(n.sub()),e),O=jn(u.base,"horizBrace")):O=jn(u,"horizBrace");var Q=be(O.base,e.havingBaseStyle(te.DISPLAY)),je=Xn.svgSpan(O,e),Ve;if(O.isOver?(Ve=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Q},{type:"kern",size:.1},{type:"elem",elem:je}]},e),Ve.children[0].children[0].children[1].classes.push("svg-align")):(Ve=oe.makeVList({positionType:"bottom",positionData:Q.depth+.1+je.height,children:[{type:"elem",elem:je},{type:"kern",size:.1},{type:"elem",elem:Q}]},e),Ve.children[0].children[0].children[0].classes.push("svg-align")),f){var qe=oe.makeSpan(["mord",O.isOver?"mover":"munder"],[Ve],e);O.isOver?Ve=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:qe},{type:"kern",size:.2},{type:"elem",elem:f}]},e):Ve=oe.makeVList({positionType:"bottom",positionData:qe.depth+.2+f.height+f.depth,children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:qe}]},e)}return oe.makeSpan(["mord",O.isOver?"mover":"munder"],[Ve],e)},Ia=(u,e)=>{var n=Xn.mathMLnode(u.label);return new It.MathNode(u.isOver?"mover":"munder",[rn(u.base,e),n])};kt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(u,e){var{parser:n,funcName:f}=u;return{type:"horizBrace",mode:n.mode,label:f,isOver:/^\\over/.test(f),base:e[0]}},htmlBuilder:la,mathmlBuilder:Ia}),kt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(u,e)=>{var{parser:n}=u,f=e[1],O=jn(e[0],"url").url;return n.settings.isTrusted({command:"\\href",url:O})?{type:"href",mode:n.mode,href:O,body:yt(f)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(u,e)=>{var n=Br(u.body,e,!1);return oe.makeAnchor(u.href,[],n,e)},mathmlBuilder:(u,e)=>{var n=xt(u.body,e);return n instanceof Nt||(n=new Nt("mrow",[n])),n.setAttribute("href",u.href),n}}),kt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(u,e)=>{var{parser:n}=u,f=jn(e[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:f}))return n.formatUnsupportedCmd("\\url");for(var O=[],Q=0;Q<f.length;Q++){var je=f[Q];je==="~"&&(je="\\textasciitilde"),O.push({type:"textord",mode:"text",text:je})}var Ve={type:"text",mode:n.mode,font:"\\texttt",body:O};return{type:"href",mode:n.mode,href:f,body:yt(Ve)}}}),kt({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(u,e){var{parser:n}=u;return{type:"hbox",mode:n.mode,body:yt(e[0])}},htmlBuilder(u,e){var n=Br(u.body,e,!1);return oe.makeFragment(n)},mathmlBuilder(u,e){return new It.MathNode("mrow",bt(u.body,e))}}),kt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(u,e)=>{var{parser:n,funcName:f,token:O}=u,Q=jn(e[0],"raw").string,je=e[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var Ve,qe={};switch(f){case"\\htmlClass":qe.class=Q,Ve={command:"\\htmlClass",class:Q};break;case"\\htmlId":qe.id=Q,Ve={command:"\\htmlId",id:Q};break;case"\\htmlStyle":qe.style=Q,Ve={command:"\\htmlStyle",style:Q};break;case"\\htmlData":{for(var Dt=Q.split(","),mr=0;mr<Dt.length;mr++){var Nr=Dt[mr].split("=");if(Nr.length!==2)throw new G("Error parsing key-value for \\htmlData");qe["data-"+Nr[0].trim()]=Nr[1].trim()}Ve={command:"\\htmlData",attributes:qe};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(Ve)?{type:"html",mode:n.mode,attributes:qe,body:yt(je)}:n.formatUnsupportedCmd(f)},htmlBuilder:(u,e)=>{var n=Br(u.body,e,!1),f=["enclosing"];u.attributes.class&&f.push(...u.attributes.class.trim().split(/\s+/));var O=oe.makeSpan(f,n,e);for(var Q in u.attributes)Q!=="class"&&u.attributes.hasOwnProperty(Q)&&O.setAttribute(Q,u.attributes[Q]);return O},mathmlBuilder:(u,e)=>xt(u.body,e)}),kt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(u,e)=>{var{parser:n}=u;return{type:"htmlmathml",mode:n.mode,html:yt(e[0]),mathml:yt(e[1])}},htmlBuilder:(u,e)=>{var n=Br(u.html,e,!1);return oe.makeFragment(n)},mathmlBuilder:(u,e)=>xt(u.mathml,e)});var Yn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!n)throw new G("Invalid size: '"+e+"' in \\includegraphics");var f={number:+(n[1]+n[2]),unit:n[3]};if(!Kt(f))throw new G("Invalid unit: '"+f.unit+"' in \\includegraphics.");return f};kt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(u,e,n)=>{var{parser:f}=u,O={number:0,unit:"em"},Q={number:.9,unit:"em"},je={number:0,unit:"em"},Ve="";if(n[0])for(var qe=jn(n[0],"raw").string,Dt=qe.split(","),mr=0;mr<Dt.length;mr++){var Nr=Dt[mr].split("=");if(Nr.length===2){var Ir=Nr[1].trim();switch(Nr[0].trim()){case"alt":Ve=Ir;break;case"width":O=Yn(Ir);break;case"height":Q=Yn(Ir);break;case"totalheight":je=Yn(Ir);break;default:throw new G("Invalid key: '"+Nr[0]+"' in \\includegraphics.")}}}var Ar=jn(e[0],"url").url;return Ve===""&&(Ve=Ar,Ve=Ve.replace(/^.*[\\/]/,""),Ve=Ve.substring(0,Ve.lastIndexOf("."))),f.settings.isTrusted({command:"\\includegraphics",url:Ar})?{type:"includegraphics",mode:f.mode,alt:Ve,width:O,height:Q,totalheight:je,src:Ar}:f.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(u,e)=>{var n=Qt(u.height,e),f=0;u.totalheight.number>0&&(f=Qt(u.totalheight,e)-n);var O=0;u.width.number>0&&(O=Qt(u.width,e));var Q={height:St(n+f)};O>0&&(Q.width=St(O)),f>0&&(Q.verticalAlign=St(-f));var je=new P(u.src,u.alt,Q);return je.height=n,je.depth=f,je},mathmlBuilder:(u,e)=>{var n=new It.MathNode("mglyph",[]);n.setAttribute("alt",u.alt);var f=Qt(u.height,e),O=0;if(u.totalheight.number>0&&(O=Qt(u.totalheight,e)-f,n.setAttribute("valign",St(-O))),n.setAttribute("height",St(f+O)),u.width.number>0){var Q=Qt(u.width,e);n.setAttribute("width",St(Q))}return n.setAttribute("src",u.src),n}}),kt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(u,e){var{parser:n,funcName:f}=u,O=jn(e[0],"size");if(n.settings.strict){var Q=f[1]==="m",je=O.value.unit==="mu";Q?(je||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+f+" supports only mu units, "+("not "+O.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+f+" works only in math mode")):je&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+f+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:O.value}},htmlBuilder(u,e){return oe.makeGlue(u.dimension,e)},mathmlBuilder(u,e){var n=Qt(u.dimension,e);return new It.SpaceNode(n)}}),kt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=e[0];return{type:"lap",mode:n.mode,alignment:f.slice(5),body:O}},htmlBuilder:(u,e)=>{var n;u.alignment==="clap"?(n=oe.makeSpan([],[be(u.body,e)]),n=oe.makeSpan(["inner"],[n],e)):n=oe.makeSpan(["inner"],[be(u.body,e)]);var f=oe.makeSpan(["fix"],[]),O=oe.makeSpan([u.alignment],[n,f],e),Q=oe.makeSpan(["strut"]);return Q.style.height=St(O.height+O.depth),O.depth&&(Q.style.verticalAlign=St(-O.depth)),O.children.unshift(Q),O=oe.makeSpan(["thinbox"],[O],e),oe.makeSpan(["mord","vbox"],[O],e)},mathmlBuilder:(u,e)=>{var n=new It.MathNode("mpadded",[rn(u.body,e)]);if(u.alignment!=="rlap"){var f=u.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",f+"width")}return n.setAttribute("width","0px"),n}}),kt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){var{funcName:n,parser:f}=u,O=f.mode;f.switchMode("math");var Q=n==="\\("?"\\)":"$",je=f.parseExpression(!1,Q);return f.expect(Q),f.switchMode(O),{type:"styling",mode:f.mode,style:"text",body:je}}}),kt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){throw new G("Mismatched "+u.funcName)}});var ma=(u,e)=>{switch(e.style.size){case te.DISPLAY.size:return u.display;case te.TEXT.size:return u.text;case te.SCRIPT.size:return u.script;case te.SCRIPTSCRIPT.size:return u.scriptscript;default:return u.text}};kt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(u,e)=>{var{parser:n}=u;return{type:"mathchoice",mode:n.mode,display:yt(e[0]),text:yt(e[1]),script:yt(e[2]),scriptscript:yt(e[3])}},htmlBuilder:(u,e)=>{var n=ma(u,e),f=Br(n,e,!1);return oe.makeFragment(f)},mathmlBuilder:(u,e)=>{var n=ma(u,e);return xt(n,e)}});var pa=(u,e,n,f,O,Q,je)=>{u=oe.makeSpan([],[u]);var Ve=n&&j.isCharacterBox(n),qe,Dt;if(e){var mr=be(e,f.havingStyle(O.sup()),f);Dt={elem:mr,kern:Math.max(f.fontMetrics().bigOpSpacing1,f.fontMetrics().bigOpSpacing3-mr.depth)}}if(n){var Nr=be(n,f.havingStyle(O.sub()),f);qe={elem:Nr,kern:Math.max(f.fontMetrics().bigOpSpacing2,f.fontMetrics().bigOpSpacing4-Nr.height)}}var Ir;if(Dt&&qe){var Ar=f.fontMetrics().bigOpSpacing5+qe.elem.height+qe.elem.depth+qe.kern+u.depth+je;Ir=oe.makeVList({positionType:"bottom",positionData:Ar,children:[{type:"kern",size:f.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:St(-Q)},{type:"kern",size:qe.kern},{type:"elem",elem:u},{type:"kern",size:Dt.kern},{type:"elem",elem:Dt.elem,marginLeft:St(Q)},{type:"kern",size:f.fontMetrics().bigOpSpacing5}]},f)}else if(qe){var Yr=u.height-je;Ir=oe.makeVList({positionType:"top",positionData:Yr,children:[{type:"kern",size:f.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:St(-Q)},{type:"kern",size:qe.kern},{type:"elem",elem:u}]},f)}else if(Dt){var hn=u.depth+je;Ir=oe.makeVList({positionType:"bottom",positionData:hn,children:[{type:"elem",elem:u},{type:"kern",size:Dt.kern},{type:"elem",elem:Dt.elem,marginLeft:St(Q)},{type:"kern",size:f.fontMetrics().bigOpSpacing5}]},f)}else return u;var kn=[Ir];if(qe&&Q!==0&&!Ve){var Gn=oe.makeSpan(["mspace"],[],f);Gn.style.marginRight=St(Q),kn.unshift(Gn)}return oe.makeSpan(["mop","op-limits"],kn,f)},ta=["\\smallint"],Ta=(u,e)=>{var n,f,O=!1,Q;u.type==="supsub"?(n=u.sup,f=u.sub,Q=jn(u.base,"op"),O=!0):Q=jn(u,"op");var je=e.style,Ve=!1;je.size===te.DISPLAY.size&&Q.symbol&&!j.contains(ta,Q.name)&&(Ve=!0);var qe;if(Q.symbol){var Dt=Ve?"Size2-Regular":"Size1-Regular",mr="";if((Q.name==="\\oiint"||Q.name==="\\oiiint")&&(mr=Q.name.slice(1),Q.name=mr==="oiint"?"\\iint":"\\iiint"),qe=oe.makeSymbol(Q.name,Dt,"math",e,["mop","op-symbol",Ve?"large-op":"small-op"]),mr.length>0){var Nr=qe.italic,Ir=oe.staticSvg(mr+"Size"+(Ve?"2":"1"),e);qe=oe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qe,shift:0},{type:"elem",elem:Ir,shift:Ve?.08:0}]},e),Q.name="\\"+mr,qe.classes.unshift("mop"),qe.italic=Nr}}else if(Q.body){var Ar=Br(Q.body,e,!0);Ar.length===1&&Ar[0]instanceof ne?(qe=Ar[0],qe.classes[0]="mop"):qe=oe.makeSpan(["mop"],Ar,e)}else{for(var Yr=[],hn=1;hn<Q.name.length;hn++)Yr.push(oe.mathsym(Q.name[hn],Q.mode,e));qe=oe.makeSpan(["mop"],Yr,e)}var kn=0,Gn=0;return(qe instanceof ne||Q.name==="\\oiint"||Q.name==="\\oiiint")&&!Q.suppressBaseShift&&(kn=(qe.height-qe.depth)/2-e.fontMetrics().axisHeight,Gn=qe.italic),O?pa(qe,n,f,e,je,Gn,kn):(kn&&(qe.style.position="relative",qe.style.top=St(kn)),qe)},Za=(u,e)=>{var n;if(u.symbol)n=new Nt("mo",[Cr(u.name,u.mode)]),j.contains(ta,u.name)&&n.setAttribute("largeop","false");else if(u.body)n=new Nt("mo",bt(u.body,e));else{n=new Nt("mi",[new $t(u.name.slice(1))]);var f=new Nt("mo",[Cr("\u2061","text")]);u.parentIsSupSub?n=new Nt("mrow",[n,f]):n=dt([n,f])}return n},eo={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};kt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=f;return O.length===1&&(O=eo[O]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:O}},htmlBuilder:Ta,mathmlBuilder:Za}),kt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var{parser:n}=u,f=e[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:yt(f)}},htmlBuilder:Ta,mathmlBuilder:Za});var $a={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};kt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(u){var{parser:e,funcName:n}=u;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Ta,mathmlBuilder:Za}),kt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(u){var{parser:e,funcName:n}=u;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Ta,mathmlBuilder:Za}),kt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(u){var{parser:e,funcName:n}=u,f=n;return f.length===1&&(f=$a[f]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:f}},htmlBuilder:Ta,mathmlBuilder:Za});var Ga=(u,e)=>{var n,f,O=!1,Q;u.type==="supsub"?(n=u.sup,f=u.sub,Q=jn(u.base,"operatorname"),O=!0):Q=jn(u,"operatorname");var je;if(Q.body.length>0){for(var Ve=Q.body.map(Nr=>{var Ir=Nr.text;return typeof Ir=="string"?{type:"textord",mode:Nr.mode,text:Ir}:Nr}),qe=Br(Ve,e.withFont("mathrm"),!0),Dt=0;Dt<qe.length;Dt++){var mr=qe[Dt];mr instanceof ne&&(mr.text=mr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}je=oe.makeSpan(["mop"],qe,e)}else je=oe.makeSpan(["mop"],[],e);return O?pa(je,n,f,e,e.style,0,0):je},xa=(u,e)=>{for(var n=bt(u.body,e.withFont("mathrm")),f=!0,O=0;O<n.length;O++){var Q=n[O];if(!(Q instanceof It.SpaceNode))if(Q instanceof It.MathNode)switch(Q.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var je=Q.children[0];Q.children.length===1&&je instanceof It.TextNode?je.text=je.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):f=!1;break}default:f=!1}else f=!1}if(f){var Ve=n.map(mr=>mr.toText()).join("");n=[new It.TextNode(Ve)]}var qe=new It.MathNode("mi",n);qe.setAttribute("mathvariant","normal");var Dt=new It.MathNode("mo",[Cr("\u2061","text")]);return u.parentIsSupSub?new It.MathNode("mrow",[qe,Dt]):It.newDocumentFragment([qe,Dt])};kt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(u,e)=>{var{parser:n,funcName:f}=u,O=e[0];return{type:"operatorname",mode:n.mode,body:yt(O),alwaysHandleSupSub:f==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ga,mathmlBuilder:xa}),ft("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),un({type:"ordgroup",htmlBuilder(u,e){return u.semisimple?oe.makeFragment(Br(u.body,e,!1)):oe.makeSpan(["mord"],Br(u.body,e,!0),e)},mathmlBuilder(u,e){return xt(u.body,e,!0)}}),kt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(u,e){var{parser:n}=u,f=e[0];return{type:"overline",mode:n.mode,body:f}},htmlBuilder(u,e){var n=be(u.body,e.havingCrampedStyle()),f=oe.makeLineSpan("overline-line",e),O=e.fontMetrics().defaultRuleThickness,Q=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*O},{type:"elem",elem:f},{type:"kern",size:O}]},e);return oe.makeSpan(["mord","overline"],[Q],e)},mathmlBuilder(u,e){var n=new It.MathNode("mo",[new It.TextNode("\u203E")]);n.setAttribute("stretchy","true");var f=new It.MathNode("mover",[rn(u.body,e),n]);return f.setAttribute("accent","true"),f}}),kt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:n}=u,f=e[0];return{type:"phantom",mode:n.mode,body:yt(f)}},htmlBuilder:(u,e)=>{var n=Br(u.body,e.withPhantom(),!1);return oe.makeFragment(n)},mathmlBuilder:(u,e)=>{var n=bt(u.body,e);return new It.MathNode("mphantom",n)}}),kt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:n}=u,f=e[0];return{type:"hphantom",mode:n.mode,body:f}},htmlBuilder:(u,e)=>{var n=oe.makeSpan([],[be(u.body,e.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var f=0;f<n.children.length;f++)n.children[f].height=0,n.children[f].depth=0;return n=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e),oe.makeSpan(["mord"],[n],e)},mathmlBuilder:(u,e)=>{var n=bt(yt(u.body),e),f=new It.MathNode("mphantom",n),O=new It.MathNode("mpadded",[f]);return O.setAttribute("height","0px"),O.setAttribute("depth","0px"),O}}),kt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:n}=u,f=e[0];return{type:"vphantom",mode:n.mode,body:f}},htmlBuilder:(u,e)=>{var n=oe.makeSpan(["inner"],[be(u.body,e.withPhantom())]),f=oe.makeSpan(["fix"],[]);return oe.makeSpan(["mord","rlap"],[n,f],e)},mathmlBuilder:(u,e)=>{var n=bt(yt(u.body),e),f=new It.MathNode("mphantom",n),O=new It.MathNode("mpadded",[f]);return O.setAttribute("width","0px"),O}}),kt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(u,e){var{parser:n}=u,f=jn(e[0],"size").value,O=e[1];return{type:"raisebox",mode:n.mode,dy:f,body:O}},htmlBuilder(u,e){var n=be(u.body,e),f=Qt(u.dy,e);return oe.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(u,e){var n=new It.MathNode("mpadded",[rn(u.body,e)]),f=u.dy.number+u.dy.unit;return n.setAttribute("voffset",f),n}}),kt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(u){var{parser:e}=u;return{type:"internal",mode:e.mode}}}),kt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(u,e,n){var{parser:f}=u,O=n[0],Q=jn(e[0],"size"),je=jn(e[1],"size");return{type:"rule",mode:f.mode,shift:O&&jn(O,"size").value,width:Q.value,height:je.value}},htmlBuilder(u,e){var n=oe.makeSpan(["mord","rule"],[],e),f=Qt(u.width,e),O=Qt(u.height,e),Q=u.shift?Qt(u.shift,e):0;return n.style.borderRightWidth=St(f),n.style.borderTopWidth=St(O),n.style.bottom=St(Q),n.width=f,n.height=O+Q,n.depth=-Q,n.maxFontSize=O*1.125*e.sizeMultiplier,n},mathmlBuilder(u,e){var n=Qt(u.width,e),f=Qt(u.height,e),O=u.shift?Qt(u.shift,e):0,Q=e.color&&e.getColor()||"black",je=new It.MathNode("mspace");je.setAttribute("mathbackground",Q),je.setAttribute("width",St(n)),je.setAttribute("height",St(f));var Ve=new It.MathNode("mpadded",[je]);return O>=0?Ve.setAttribute("height",St(O)):(Ve.setAttribute("height",St(O)),Ve.setAttribute("depth",St(-O))),Ve.setAttribute("voffset",St(O)),Ve}});function Ka(u,e,n){for(var f=Br(u,e,!1),O=e.sizeMultiplier/n.sizeMultiplier,Q=0;Q<f.length;Q++){var je=f[Q].classes.indexOf("sizing");je<0?Array.prototype.push.apply(f[Q].classes,e.sizingClasses(n)):f[Q].classes[je+1]==="reset-size"+e.size&&(f[Q].classes[je+1]="reset-size"+n.size),f[Q].height*=O,f[Q].depth*=O}return oe.makeFragment(f)}var Ra=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],oo=(u,e)=>{var n=e.havingSize(u.size);return Ka(u.body,n,e)};kt({type:"sizing",names:Ra,props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{breakOnTokenText:n,funcName:f,parser:O}=u,Q=O.parseExpression(!1,n);return{type:"sizing",mode:O.mode,size:Ra.indexOf(f)+1,body:Q}},htmlBuilder:oo,mathmlBuilder:(u,e)=>{var n=e.havingSize(u.size),f=bt(u.body,n),O=new It.MathNode("mstyle",f);return O.setAttribute("mathsize",St(n.sizeMultiplier)),O}}),kt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(u,e,n)=>{var{parser:f}=u,O=!1,Q=!1,je=n[0]&&jn(n[0],"ordgroup");if(je)for(var Ve="",qe=0;qe<je.body.length;++qe){var Dt=je.body[qe];if(Ve=Dt.text,Ve==="t")O=!0;else if(Ve==="b")Q=!0;else{O=!1,Q=!1;break}}else O=!0,Q=!0;var mr=e[0];return{type:"smash",mode:f.mode,body:mr,smashHeight:O,smashDepth:Q}},htmlBuilder:(u,e)=>{var n=oe.makeSpan([],[be(u.body,e)]);if(!u.smashHeight&&!u.smashDepth)return n;if(u.smashHeight&&(n.height=0,n.children))for(var f=0;f<n.children.length;f++)n.children[f].height=0;if(u.smashDepth&&(n.depth=0,n.children))for(var O=0;O<n.children.length;O++)n.children[O].depth=0;var Q=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e);return oe.makeSpan(["mord"],[Q],e)},mathmlBuilder:(u,e)=>{var n=new It.MathNode("mpadded",[rn(u.body,e)]);return u.smashHeight&&n.setAttribute("height","0px"),u.smashDepth&&n.setAttribute("depth","0px"),n}}),kt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(u,e,n){var{parser:f}=u,O=n[0],Q=e[0];return{type:"sqrt",mode:f.mode,body:Q,index:O}},htmlBuilder(u,e){var n=be(u.body,e.havingCrampedStyle());n.height===0&&(n.height=e.fontMetrics().xHeight),n=oe.wrapFragment(n,e);var f=e.fontMetrics(),O=f.defaultRuleThickness,Q=O;e.style.id<te.TEXT.id&&(Q=e.fontMetrics().xHeight);var je=O+Q/4,Ve=n.height+n.depth+je+O,{span:qe,ruleWidth:Dt,advanceWidth:mr}=Ma.sqrtImage(Ve,e),Nr=qe.height-Dt;Nr>n.height+n.depth+je&&(je=(je+Nr-n.height-n.depth)/2);var Ir=qe.height-n.height-je-Dt;n.style.paddingLeft=St(mr);var Ar=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+Ir)},{type:"elem",elem:qe},{type:"kern",size:Dt}]},e);if(u.index){var Yr=e.havingStyle(te.SCRIPTSCRIPT),hn=be(u.index,Yr,e),kn=.6*(Ar.height-Ar.depth),Gn=oe.makeVList({positionType:"shift",positionData:-kn,children:[{type:"elem",elem:hn}]},e),ua=oe.makeSpan(["root"],[Gn]);return oe.makeSpan(["mord","sqrt"],[ua,Ar],e)}else return oe.makeSpan(["mord","sqrt"],[Ar],e)},mathmlBuilder(u,e){var{body:n,index:f}=u;return f?new It.MathNode("mroot",[rn(n,e),rn(f,e)]):new It.MathNode("msqrt",[rn(n,e)])}});var fo={display:te.DISPLAY,text:te.TEXT,script:te.SCRIPT,scriptscript:te.SCRIPTSCRIPT};kt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u,e){var{breakOnTokenText:n,funcName:f,parser:O}=u,Q=O.parseExpression(!0,n),je=f.slice(1,f.length-5);return{type:"styling",mode:O.mode,style:je,body:Q}},htmlBuilder(u,e){var n=fo[u.style],f=e.havingStyle(n).withFont("");return Ka(u.body,f,e)},mathmlBuilder(u,e){var n=fo[u.style],f=e.havingStyle(n),O=bt(u.body,f),Q=new It.MathNode("mstyle",O),je={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ve=je[u.style];return Q.setAttribute("scriptlevel",Ve[0]),Q.setAttribute("displaystyle",Ve[1]),Q}});var no=function(e,n){var f=e.base;if(f)if(f.type==="op"){var O=f.limits&&(n.style.size===te.DISPLAY.size||f.alwaysHandleSupSub);return O?Ta:null}else if(f.type==="operatorname"){var Q=f.alwaysHandleSupSub&&(n.style.size===te.DISPLAY.size||f.limits);return Q?Ga:null}else{if(f.type==="accent")return j.isCharacterBox(f.base)?ba:null;if(f.type==="horizBrace"){var je=!e.sub;return je===f.isOver?la:null}else return null}else return null};un({type:"supsub",htmlBuilder(u,e){var n=no(u,e);if(n)return n(u,e);var{base:f,sup:O,sub:Q}=u,je=be(f,e),Ve,qe,Dt=e.fontMetrics(),mr=0,Nr=0,Ir=f&&j.isCharacterBox(f);if(O){var Ar=e.havingStyle(e.style.sup());Ve=be(O,Ar,e),Ir||(mr=je.height-Ar.fontMetrics().supDrop*Ar.sizeMultiplier/e.sizeMultiplier)}if(Q){var Yr=e.havingStyle(e.style.sub());qe=be(Q,Yr,e),Ir||(Nr=je.depth+Yr.fontMetrics().subDrop*Yr.sizeMultiplier/e.sizeMultiplier)}var hn;e.style===te.DISPLAY?hn=Dt.sup1:e.style.cramped?hn=Dt.sup3:hn=Dt.sup2;var kn=e.sizeMultiplier,Gn=St(.5/Dt.ptPerEm/kn),ua=null;if(qe){var da=u.base&&u.base.type==="op"&&u.base.name&&(u.base.name==="\\oiint"||u.base.name==="\\oiiint");(je instanceof ne||da)&&(ua=St(-je.italic))}var Ba;if(Ve&&qe){mr=Math.max(mr,hn,Ve.depth+.25*Dt.xHeight),Nr=Math.max(Nr,Dt.sub2);var ga=Dt.defaultRuleThickness,Wa=4*ga;if(mr-Ve.depth-(qe.height-Nr)<Wa){Nr=Wa-(mr-Ve.depth)+qe.height;var Ya=.8*Dt.xHeight-(mr-Ve.depth);Ya>0&&(mr+=Ya,Nr-=Ya)}var Lo=[{type:"elem",elem:qe,shift:Nr,marginRight:Gn,marginLeft:ua},{type:"elem",elem:Ve,shift:-mr,marginRight:Gn}];Ba=oe.makeVList({positionType:"individualShift",children:Lo},e)}else if(qe){Nr=Math.max(Nr,Dt.sub1,qe.height-.8*Dt.xHeight);var vo=[{type:"elem",elem:qe,marginLeft:ua,marginRight:Gn}];Ba=oe.makeVList({positionType:"shift",positionData:Nr,children:vo},e)}else if(Ve)mr=Math.max(mr,hn,Ve.depth+.25*Dt.xHeight),Ba=oe.makeVList({positionType:"shift",positionData:-mr,children:[{type:"elem",elem:Ve,marginRight:Gn}]},e);else throw new Error("supsub must have either sup or sub.");var Ci=Un(je,"right")||"mord";return oe.makeSpan([Ci],[je,oe.makeSpan(["msupsub"],[Ba])],e)},mathmlBuilder(u,e){var n=!1,f,O;u.base&&u.base.type==="horizBrace"&&(O=!!u.sup,O===u.base.isOver&&(n=!0,f=u.base.isOver)),u.base&&(u.base.type==="op"||u.base.type==="operatorname")&&(u.base.parentIsSupSub=!0);var Q=[rn(u.base,e)];u.sub&&Q.push(rn(u.sub,e)),u.sup&&Q.push(rn(u.sup,e));var je;if(n)je=f?"mover":"munder";else if(u.sub)if(u.sup){var Dt=u.base;Dt&&Dt.type==="op"&&Dt.limits&&e.style===te.DISPLAY||Dt&&Dt.type==="operatorname"&&Dt.alwaysHandleSupSub&&(e.style===te.DISPLAY||Dt.limits)?je="munderover":je="msubsup"}else{var qe=u.base;qe&&qe.type==="op"&&qe.limits&&(e.style===te.DISPLAY||qe.alwaysHandleSupSub)||qe&&qe.type==="operatorname"&&qe.alwaysHandleSupSub&&(qe.limits||e.style===te.DISPLAY)?je="munder":je="msub"}else{var Ve=u.base;Ve&&Ve.type==="op"&&Ve.limits&&(e.style===te.DISPLAY||Ve.alwaysHandleSupSub)||Ve&&Ve.type==="operatorname"&&Ve.alwaysHandleSupSub&&(Ve.limits||e.style===te.DISPLAY)?je="mover":je="msup"}return new It.MathNode(je,Q)}}),un({type:"atom",htmlBuilder(u,e){return oe.mathsym(u.text,u.mode,e,["m"+u.family])},mathmlBuilder(u,e){var n=new It.MathNode("mo",[Cr(u.text,u.mode)]);if(u.family==="bin"){var f=sn(u,e);f==="bold-italic"&&n.setAttribute("mathvariant",f)}else u.family==="punct"?n.setAttribute("separator","true"):(u.family==="open"||u.family==="close")&&n.setAttribute("stretchy","false");return n}});var yo={mi:"italic",mn:"normal",mtext:"normal"};un({type:"mathord",htmlBuilder(u,e){return oe.makeOrd(u,e,"mathord")},mathmlBuilder(u,e){var n=new It.MathNode("mi",[Cr(u.text,u.mode,e)]),f=sn(u,e)||"italic";return f!==yo[n.type]&&n.setAttribute("mathvariant",f),n}}),un({type:"textord",htmlBuilder(u,e){return oe.makeOrd(u,e,"textord")},mathmlBuilder(u,e){var n=Cr(u.text,u.mode,e),f=sn(u,e)||"normal",O;return u.mode==="text"?O=new It.MathNode("mtext",[n]):/[0-9]/.test(u.text)?O=new It.MathNode("mn",[n]):u.text==="\\prime"?O=new It.MathNode("mo",[n]):O=new It.MathNode("mi",[n]),f!==yo[O.type]&&O.setAttribute("mathvariant",f),O}});var Ja={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Eo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};un({type:"spacing",htmlBuilder(u,e){if(Eo.hasOwnProperty(u.text)){var n=Eo[u.text].className||"";if(u.mode==="text"){var f=oe.makeOrd(u,e,"textord");return f.classes.push(n),f}else return oe.makeSpan(["mspace",n],[oe.mathsym(u.text,u.mode,e)],e)}else{if(Ja.hasOwnProperty(u.text))return oe.makeSpan(["mspace",Ja[u.text]],[],e);throw new G('Unknown type of space "'+u.text+'"')}},mathmlBuilder(u,e){var n;if(Eo.hasOwnProperty(u.text))n=new It.MathNode("mtext",[new It.TextNode("\xA0")]);else{if(Ja.hasOwnProperty(u.text))return new It.MathNode("mspace");throw new G('Unknown type of space "'+u.text+'"')}return n}});var io=()=>{var u=new It.MathNode("mtd",[]);return u.setAttribute("width","50%"),u};un({type:"tag",mathmlBuilder(u,e){var n=new It.MathNode("mtable",[new It.MathNode("mtr",[io(),new It.MathNode("mtd",[xt(u.body,e)]),io(),new It.MathNode("mtd",[xt(u.tag,e)])])]);return n.setAttribute("width","100%"),n}});var po={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Vo={"\\textbf":"textbf","\\textmd":"textmd"},So={"\\textit":"textit","\\textup":"textup"},Qa=(u,e)=>{var n=u.font;if(n){if(po[n])return e.withTextFontFamily(po[n]);if(Vo[n])return e.withTextFontWeight(Vo[n]);if(n==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(So[n])};kt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(u,e){var{parser:n,funcName:f}=u,O=e[0];return{type:"text",mode:n.mode,body:yt(O),font:f}},htmlBuilder(u,e){var n=Qa(u,e),f=Br(u.body,n,!0);return oe.makeSpan(["mord","text"],f,n)},mathmlBuilder(u,e){var n=Qa(u,e);return xt(u.body,n)}}),kt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(u,e){var{parser:n}=u;return{type:"underline",mode:n.mode,body:e[0]}},htmlBuilder(u,e){var n=be(u.body,e),f=oe.makeLineSpan("underline-line",e),O=e.fontMetrics().defaultRuleThickness,Q=oe.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:O},{type:"elem",elem:f},{type:"kern",size:3*O},{type:"elem",elem:n}]},e);return oe.makeSpan(["mord","underline"],[Q],e)},mathmlBuilder(u,e){var n=new It.MathNode("mo",[new It.TextNode("\u203E")]);n.setAttribute("stretchy","true");var f=new It.MathNode("munder",[rn(u.body,e),n]);return f.setAttribute("accentunder","true"),f}}),kt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(u,e){var{parser:n}=u;return{type:"vcenter",mode:n.mode,body:e[0]}},htmlBuilder(u,e){var n=be(u.body,e),f=e.fontMetrics().axisHeight,O=.5*(n.height-f-(n.depth+f));return oe.makeVList({positionType:"shift",positionData:O,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(u,e){return new It.MathNode("mpadded",[rn(u.body,e)],["vcenter"])}}),kt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(u,e,n){throw new G("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(u,e){for(var n=it(u),f=[],O=e.havingStyle(e.style.text()),Q=0;Q<n.length;Q++){var je=n[Q];je==="~"&&(je="\\textasciitilde"),f.push(oe.makeSymbol(je,"Typewriter-Regular",u.mode,O,["mord","texttt"]))}return oe.makeSpan(["mord","text"].concat(O.sizingClasses(e)),oe.tryCombineChars(f),O)},mathmlBuilder(u,e){var n=new It.TextNode(it(u)),f=new It.MathNode("mtext",[n]);return f.setAttribute("mathvariant","monospace"),f}});var it=u=>u.body.replace(/ /g,u.star?"\u2423":"\xA0"),ja=vn,ko=`[ \r
|
|
|
]`,ti="\\\\[a-zA-Z@]+",Co="\\\\[^\uD800-\uDFFF]",To="("+ti+")"+ko+"*",ri=`\\\\(
|
|
|
|[ \r ]+
|
|
|
?)[ \r ]*`,Ro="[\u0300-\u036F]",yi=new RegExp(Ro+"+$"),Si="("+ko+"+)|"+(ri+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ro+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ro+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+To)+("|"+Co+")");class _o{constructor(e,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=n,this.tokenRegex=new RegExp(Si,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,n){this.catcodes[e]=n}lex(){var e=this.input,n=this.tokenRegex.lastIndex;if(n===e.length)return new Be("EOF",new $(this,n,n));var f=this.tokenRegex.exec(e);if(f===null||f.index!==n)throw new G("Unexpected character: '"+e[n]+"'",new Be(e[n],new $(this,n,n+1)));var O=f[6]||f[3]||(f[2]?"\\ ":" ");if(this.catcodes[O]===14){var Q=e.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Q===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Q+1,this.lex()}return new Be(O,new $(this,n,this.tokenRegex.lastIndex))}}class Na{constructor(e,n){e===void 0&&(e={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new G("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var n in e)e.hasOwnProperty(n)&&(e[n]==null?delete this.current[n]:this.current[n]=e[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,n,f){if(f===void 0&&(f=!1),f){for(var O=0;O<this.undefStack.length;O++)delete this.undefStack[O][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=n)}else{var Q=this.undefStack[this.undefStack.length-1];Q&&!Q.hasOwnProperty(e)&&(Q[e]=this.current[e])}n==null?delete this.current[e]:this.current[e]=n}}var wa=Gi;ft("\\noexpand",function(u){var e=u.popToken();return u.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),ft("\\expandafter",function(u){var e=u.popToken();return u.expandOnce(!0),{tokens:[e],numArgs:0}}),ft("\\@firstoftwo",function(u){var e=u.consumeArgs(2);return{tokens:e[0],numArgs:0}}),ft("\\@secondoftwo",function(u){var e=u.consumeArgs(2);return{tokens:e[1],numArgs:0}}),ft("\\@ifnextchar",function(u){var e=u.consumeArgs(3);u.consumeSpaces();var n=u.future();return e[0].length===1&&e[0][0].text===n.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),ft("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ft("\\TextOrMath",function(u){var e=u.consumeArgs(2);return u.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var Da={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ft("\\char",function(u){var e=u.popToken(),n,f="";if(e.text==="'")n=8,e=u.popToken();else if(e.text==='"')n=16,e=u.popToken();else if(e.text==="`")if(e=u.popToken(),e.text[0]==="\\")f=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new G("\\char` missing argument");f=e.text.charCodeAt(0)}else n=10;if(n){if(f=Da[e.text],f==null||f>=n)throw new G("Invalid base-"+n+" digit "+e.text);for(var O;(O=Da[u.future().text])!=null&&O<n;)f*=n,f+=O,u.popToken()}return"\\@char{"+f+"}"});var to=(u,e,n,f)=>{var O=u.consumeArg().tokens;if(O.length!==1)throw new G("\\newcommand's first argument must be a macro name");var Q=O[0].text,je=u.isDefined(Q);if(je&&!e)throw new G("\\newcommand{"+Q+"} attempting to redefine "+(Q+"; use \\renewcommand"));if(!je&&!n)throw new G("\\renewcommand{"+Q+"} when command "+Q+" does not yet exist; use \\newcommand");var Ve=0;if(O=u.consumeArg().tokens,O.length===1&&O[0].text==="["){for(var qe="",Dt=u.expandNextToken();Dt.text!=="]"&&Dt.text!=="EOF";)qe+=Dt.text,Dt=u.expandNextToken();if(!qe.match(/^\s*[0-9]+\s*$/))throw new G("Invalid number of arguments: "+qe);Ve=parseInt(qe),O=u.consumeArg().tokens}return je&&f||u.macros.set(Q,{tokens:O,numArgs:Ve}),""};ft("\\newcommand",u=>to(u,!1,!0,!1)),ft("\\renewcommand",u=>to(u,!0,!1,!1)),ft("\\providecommand",u=>to(u,!0,!0,!0)),ft("\\message",u=>{var e=u.consumeArgs(1)[0];return console.log(e.reverse().map(n=>n.text).join("")),""}),ft("\\errmessage",u=>{var e=u.consumeArgs(1)[0];return console.error(e.reverse().map(n=>n.text).join("")),""}),ft("\\show",u=>{var e=u.popToken(),n=e.text;return console.log(e,u.macros.get(n),ja[n],Cn.math[n],Cn.text[n]),""}),ft("\\bgroup","{"),ft("\\egroup","}"),ft("~","\\nobreakspace"),ft("\\lq","`"),ft("\\rq","'"),ft("\\aa","\\r a"),ft("\\AA","\\r A"),ft("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ft("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ft("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ft("\u212C","\\mathscr{B}"),ft("\u2130","\\mathscr{E}"),ft("\u2131","\\mathscr{F}"),ft("\u210B","\\mathscr{H}"),ft("\u2110","\\mathscr{I}"),ft("\u2112","\\mathscr{L}"),ft("\u2133","\\mathscr{M}"),ft("\u211B","\\mathscr{R}"),ft("\u212D","\\mathfrak{C}"),ft("\u210C","\\mathfrak{H}"),ft("\u2128","\\mathfrak{Z}"),ft("\\Bbbk","\\Bbb{k}"),ft("\xB7","\\cdotp"),ft("\\llap","\\mathllap{\\textrm{#1}}"),ft("\\rlap","\\mathrlap{\\textrm{#1}}"),ft("\\clap","\\mathclap{\\textrm{#1}}"),ft("\\mathstrut","\\vphantom{(}"),ft("\\underbar","\\underline{\\text{#1}}"),ft("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ft("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ft("\\ne","\\neq"),ft("\u2260","\\neq"),ft("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ft("\u2209","\\notin"),ft("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ft("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ft("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ft("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ft("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ft("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ft("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ft("\u27C2","\\perp"),ft("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ft("\u220C","\\notni"),ft("\u231C","\\ulcorner"),ft("\u231D","\\urcorner"),ft("\u231E","\\llcorner"),ft("\u231F","\\lrcorner"),ft("\xA9","\\copyright"),ft("\xAE","\\textregistered"),ft("\uFE0F","\\textregistered"),ft("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),ft("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),ft("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),ft("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),ft("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),ft("\u22EE","\\vdots"),ft("\\varGamma","\\mathit{\\Gamma}"),ft("\\varDelta","\\mathit{\\Delta}"),ft("\\varTheta","\\mathit{\\Theta}"),ft("\\varLambda","\\mathit{\\Lambda}"),ft("\\varXi","\\mathit{\\Xi}"),ft("\\varPi","\\mathit{\\Pi}"),ft("\\varSigma","\\mathit{\\Sigma}"),ft("\\varUpsilon","\\mathit{\\Upsilon}"),ft("\\varPhi","\\mathit{\\Phi}"),ft("\\varPsi","\\mathit{\\Psi}"),ft("\\varOmega","\\mathit{\\Omega}"),ft("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ft("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),ft("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ft("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ft("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ft("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),ft("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),ft("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var ya={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ft("\\dots",function(u){var e="\\dotso",n=u.expandAfterFuture().text;return n in ya?e=ya[n]:(n.slice(0,4)==="\\not"||n in Cn.math&&j.contains(["bin","rel"],Cn.math[n].group))&&(e="\\dotsb"),e});var La={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ft("\\dotso",function(u){var e=u.future().text;return e in La?"\\ldots\\,":"\\ldots"}),ft("\\dotsc",function(u){var e=u.future().text;return e in La&&e!==","?"\\ldots\\,":"\\ldots"}),ft("\\cdots",function(u){var e=u.future().text;return e in La?"\\@cdots\\,":"\\@cdots"}),ft("\\dotsb","\\cdots"),ft("\\dotsm","\\cdots"),ft("\\dotsi","\\!\\cdots"),ft("\\dotsx","\\ldots\\,"),ft("\\DOTSI","\\relax"),ft("\\DOTSB","\\relax"),ft("\\DOTSX","\\relax"),ft("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ft("\\,","\\tmspace+{3mu}{.1667em}"),ft("\\thinspace","\\,"),ft("\\>","\\mskip{4mu}"),ft("\\:","\\tmspace+{4mu}{.2222em}"),ft("\\medspace","\\:"),ft("\\;","\\tmspace+{5mu}{.2777em}"),ft("\\thickspace","\\;"),ft("\\!","\\tmspace-{3mu}{.1667em}"),ft("\\negthinspace","\\!"),ft("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ft("\\negthickspace","\\tmspace-{5mu}{.277em}"),ft("\\enspace","\\kern.5em "),ft("\\enskip","\\hskip.5em\\relax"),ft("\\quad","\\hskip1em\\relax"),ft("\\qquad","\\hskip2em\\relax"),ft("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ft("\\tag@paren","\\tag@literal{({#1})}"),ft("\\tag@literal",u=>{if(u.macros.get("\\df@tag"))throw new G("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ft("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ft("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ft("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ft("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ft("\\newline","\\\\\\relax"),ft("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var bo=St(fe["Main-Regular"][84][1]-.7*fe["Main-Regular"][65][1]);ft("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+bo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ft("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+bo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ft("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ft("\\@hspace","\\hskip #1\\relax"),ft("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ft("\\ordinarycolon",":"),ft("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ft("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ft("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ft("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ft("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ft("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ft("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ft("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ft("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ft("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ft("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ft("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ft("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ft("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ft("\u2237","\\dblcolon"),ft("\u2239","\\eqcolon"),ft("\u2254","\\coloneqq"),ft("\u2255","\\eqqcolon"),ft("\u2A74","\\Coloneqq"),ft("\\ratio","\\vcentcolon"),ft("\\coloncolon","\\dblcolon"),ft("\\colonequals","\\coloneqq"),ft("\\coloncolonequals","\\Coloneqq"),ft("\\equalscolon","\\eqqcolon"),ft("\\equalscoloncolon","\\Eqqcolon"),ft("\\colonminus","\\coloneq"),ft("\\coloncolonminus","\\Coloneq"),ft("\\minuscolon","\\eqcolon"),ft("\\minuscoloncolon","\\Eqcolon"),ft("\\coloncolonapprox","\\Colonapprox"),ft("\\coloncolonsim","\\Colonsim"),ft("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ft("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ft("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ft("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),ft("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),ft("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),ft("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),ft("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),ft("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),ft("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ft("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ft("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ft("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ft("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ft("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ft("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ft("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ft("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ft("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ft("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ft("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ft("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ft("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ft("\\imath","\\html@mathml{\\@imath}{\u0131}"),ft("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),ft("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ft("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ft("\u27E6","\\llbracket"),ft("\u27E7","\\rrbracket"),ft("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ft("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ft("\u2983","\\lBrace"),ft("\u2984","\\rBrace"),ft("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),ft("\u29B5","\\minuso"),ft("\\darr","\\downarrow"),ft("\\dArr","\\Downarrow"),ft("\\Darr","\\Downarrow"),ft("\\lang","\\langle"),ft("\\rang","\\rangle"),ft("\\uarr","\\uparrow"),ft("\\uArr","\\Uparrow"),ft("\\Uarr","\\Uparrow"),ft("\\N","\\mathbb{N}"),ft("\\R","\\mathbb{R}"),ft("\\Z","\\mathbb{Z}"),ft("\\alef","\\aleph"),ft("\\alefsym","\\aleph"),ft("\\Alpha","\\mathrm{A}"),ft("\\Beta","\\mathrm{B}"),ft("\\bull","\\bullet"),ft("\\Chi","\\mathrm{X}"),ft("\\clubs","\\clubsuit"),ft("\\cnums","\\mathbb{C}"),ft("\\Complex","\\mathbb{C}"),ft("\\Dagger","\\ddagger"),ft("\\diamonds","\\diamondsuit"),ft("\\empty","\\emptyset"),ft("\\Epsilon","\\mathrm{E}"),ft("\\Eta","\\mathrm{H}"),ft("\\exist","\\exists"),ft("\\harr","\\leftrightarrow"),ft("\\hArr","\\Leftrightarrow"),ft("\\Harr","\\Leftrightarrow"),ft("\\hearts","\\heartsuit"),ft("\\image","\\Im"),ft("\\infin","\\infty"),ft("\\Iota","\\mathrm{I}"),ft("\\isin","\\in"),ft("\\Kappa","\\mathrm{K}"),ft("\\larr","\\leftarrow"),ft("\\lArr","\\Leftarrow"),ft("\\Larr","\\Leftarrow"),ft("\\lrarr","\\leftrightarrow"),ft("\\lrArr","\\Leftrightarrow"),ft("\\Lrarr","\\Leftrightarrow"),ft("\\Mu","\\mathrm{M}"),ft("\\natnums","\\mathbb{N}"),ft("\\Nu","\\mathrm{N}"),ft("\\Omicron","\\mathrm{O}"),ft("\\plusmn","\\pm"),ft("\\rarr","\\rightarrow"),ft("\\rArr","\\Rightarrow"),ft("\\Rarr","\\Rightarrow"),ft("\\real","\\Re"),ft("\\reals","\\mathbb{R}"),ft("\\Reals","\\mathbb{R}"),ft("\\Rho","\\mathrm{P}"),ft("\\sdot","\\cdot"),ft("\\sect","\\S"),ft("\\spades","\\spadesuit"),ft("\\sub","\\subset"),ft("\\sube","\\subseteq"),ft("\\supe","\\supseteq"),ft("\\Tau","\\mathrm{T}"),ft("\\thetasym","\\vartheta"),ft("\\weierp","\\wp"),ft("\\Zeta","\\mathrm{Z}"),ft("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ft("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ft("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ft("\\bra","\\mathinner{\\langle{#1}|}"),ft("\\ket","\\mathinner{|{#1}\\rangle}"),ft("\\braket","\\mathinner{\\langle{#1}\\rangle}"),ft("\\Bra","\\left\\langle#1\\right|"),ft("\\Ket","\\left|#1\\right\\rangle");var S=u=>e=>{var n=e.consumeArg().tokens,f=e.consumeArg().tokens,O=e.consumeArg().tokens,Q=e.consumeArg().tokens,je=e.macros.get("|"),Ve=e.macros.get("\\|");e.macros.beginGroup();var qe=Nr=>Ir=>{u&&(Ir.macros.set("|",je),O.length&&Ir.macros.set("\\|",Ve));var Ar=Nr;if(!Nr&&O.length){var Yr=Ir.future();Yr.text==="|"&&(Ir.popToken(),Ar=!0)}return{tokens:Ar?O:f,numArgs:0}};e.macros.set("|",qe(!1)),O.length&&e.macros.set("\\|",qe(!0));var Dt=e.consumeArg().tokens,mr=e.expandTokens([...Q,...Dt,...n]);return e.macros.endGroup(),{tokens:mr.reverse(),numArgs:0}};ft("\\bra@ket",S(!1)),ft("\\bra@set",S(!0)),ft("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),ft("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),ft("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),ft("\\angln","{\\angl n}"),ft("\\blue","\\textcolor{##6495ed}{#1}"),ft("\\orange","\\textcolor{##ffa500}{#1}"),ft("\\pink","\\textcolor{##ff00af}{#1}"),ft("\\red","\\textcolor{##df0030}{#1}"),ft("\\green","\\textcolor{##28ae7b}{#1}"),ft("\\gray","\\textcolor{gray}{#1}"),ft("\\purple","\\textcolor{##9d38bd}{#1}"),ft("\\blueA","\\textcolor{##ccfaff}{#1}"),ft("\\blueB","\\textcolor{##80f6ff}{#1}"),ft("\\blueC","\\textcolor{##63d9ea}{#1}"),ft("\\blueD","\\textcolor{##11accd}{#1}"),ft("\\blueE","\\textcolor{##0c7f99}{#1}"),ft("\\tealA","\\textcolor{##94fff5}{#1}"),ft("\\tealB","\\textcolor{##26edd5}{#1}"),ft("\\tealC","\\textcolor{##01d1c1}{#1}"),ft("\\tealD","\\textcolor{##01a995}{#1}"),ft("\\tealE","\\textcolor{##208170}{#1}"),ft("\\greenA","\\textcolor{##b6ffb0}{#1}"),ft("\\greenB","\\textcolor{##8af281}{#1}"),ft("\\greenC","\\textcolor{##74cf70}{#1}"),ft("\\greenD","\\textcolor{##1fab54}{#1}"),ft("\\greenE","\\textcolor{##0d923f}{#1}"),ft("\\goldA","\\textcolor{##ffd0a9}{#1}"),ft("\\goldB","\\textcolor{##ffbb71}{#1}"),ft("\\goldC","\\textcolor{##ff9c39}{#1}"),ft("\\goldD","\\textcolor{##e07d10}{#1}"),ft("\\goldE","\\textcolor{##a75a05}{#1}"),ft("\\redA","\\textcolor{##fca9a9}{#1}"),ft("\\redB","\\textcolor{##ff8482}{#1}"),ft("\\redC","\\textcolor{##f9685d}{#1}"),ft("\\redD","\\textcolor{##e84d39}{#1}"),ft("\\redE","\\textcolor{##bc2612}{#1}"),ft("\\maroonA","\\textcolor{##ffbde0}{#1}"),ft("\\maroonB","\\textcolor{##ff92c6}{#1}"),ft("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ft("\\maroonD","\\textcolor{##ca337c}{#1}"),ft("\\maroonE","\\textcolor{##9e034e}{#1}"),ft("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ft("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ft("\\purpleC","\\textcolor{##aa87ff}{#1}"),ft("\\purpleD","\\textcolor{##7854ab}{#1}"),ft("\\purpleE","\\textcolor{##543b78}{#1}"),ft("\\mintA","\\textcolor{##f5f9e8}{#1}"),ft("\\mintB","\\textcolor{##edf2df}{#1}"),ft("\\mintC","\\textcolor{##e0e5cc}{#1}"),ft("\\grayA","\\textcolor{##f6f7f7}{#1}"),ft("\\grayB","\\textcolor{##f0f1f2}{#1}"),ft("\\grayC","\\textcolor{##e3e5e6}{#1}"),ft("\\grayD","\\textcolor{##d6d8da}{#1}"),ft("\\grayE","\\textcolor{##babec2}{#1}"),ft("\\grayF","\\textcolor{##888d93}{#1}"),ft("\\grayG","\\textcolor{##626569}{#1}"),ft("\\grayH","\\textcolor{##3b3e40}{#1}"),ft("\\grayI","\\textcolor{##21242c}{#1}"),ft("\\kaBlue","\\textcolor{##314453}{#1}"),ft("\\kaGreen","\\textcolor{##71B307}{#1}");var Re={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ft{constructor(e,n,f){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(e),this.macros=new Na(wa,n.macros),this.mode=f,this.stack=[]}feed(e){this.lexer=new _o(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var n,f,O;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:O,end:f}=this.consumeArg(["]"])}else({tokens:O,start:n,end:f}=this.consumeArg());return this.pushToken(new Be("EOF",f.loc)),this.pushTokens(O),n.range(f,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var n=[],f=e&&e.length>0;f||this.consumeSpaces();var O=this.future(),Q,je=0,Ve=0;do{if(Q=this.popToken(),n.push(Q),Q.text==="{")++je;else if(Q.text==="}"){if(--je,je===-1)throw new G("Extra }",Q)}else if(Q.text==="EOF")throw new G("Unexpected end of input in a macro argument, expected '"+(e&&f?e[Ve]:"}")+"'",Q);if(e&&f)if((je===0||je===1&&e[Ve]==="{")&&Q.text===e[Ve]){if(++Ve,Ve===e.length){n.splice(-Ve,Ve);break}}else Ve=0}while(je!==0||f);return O.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:O,end:Q}}consumeArgs(e,n){if(n){if(n.length!==e+1)throw new G("The length of delimiters doesn't match the number of args!");for(var f=n[0],O=0;O<f.length;O++){var Q=this.popToken();if(f[O]!==Q.text)throw new G("Use of the macro doesn't match its definition",Q)}}for(var je=[],Ve=0;Ve<e;Ve++)je.push(this.consumeArg(n&&n[Ve+1]).tokens);return je}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new G("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var n=this.popToken(),f=n.text,O=n.noexpand?null:this._getExpansion(f);if(O==null||e&&O.unexpandable){if(e&&O==null&&f[0]==="\\"&&!this.isDefined(f))throw new G("Undefined control sequence: "+f);return this.pushToken(n),!1}this.countExpansion(1);var Q=O.tokens,je=this.consumeArgs(O.numArgs,O.delimiters);if(O.numArgs){Q=Q.slice();for(var Ve=Q.length-1;Ve>=0;--Ve){var qe=Q[Ve];if(qe.text==="#"){if(Ve===0)throw new G("Incomplete placeholder at end of macro body",qe);if(qe=Q[--Ve],qe.text==="#")Q.splice(Ve+1,1);else if(/^[1-9]$/.test(qe.text))Q.splice(Ve,2,...je[+qe.text-1]);else throw new G("Not a valid argument number",qe)}}}return this.pushTokens(Q),Q.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Be(e)]):void 0}expandTokens(e){var n=[],f=this.stack.length;for(this.pushTokens(e);this.stack.length>f;)if(this.expandOnce(!0)===!1){var O=this.stack.pop();O.treatAsRelax&&(O.noexpand=!1,O.treatAsRelax=!1),n.push(O)}return this.countExpansion(n.length),n}expandMacroAsText(e){var n=this.expandMacro(e);return n&&n.map(f=>f.text).join("")}_getExpansion(e){var n=this.macros.get(e);if(n==null)return n;if(e.length===1){var f=this.lexer.catcodes[e];if(f!=null&&f!==13)return}var O=typeof n=="function"?n(this):n;if(typeof O=="string"){var Q=0;if(O.indexOf("#")!==-1)for(var je=O.replace(/##/g,"");je.indexOf("#"+(Q+1))!==-1;)++Q;for(var Ve=new _o(O,this.settings),qe=[],Dt=Ve.lex();Dt.text!=="EOF";)qe.push(Dt),Dt=Ve.lex();qe.reverse();var mr={tokens:qe,numArgs:Q};return mr}return O}isDefined(e){return this.macros.has(e)||ja.hasOwnProperty(e)||Cn.math.hasOwnProperty(e)||Cn.text.hasOwnProperty(e)||Re.hasOwnProperty(e)}isExpandable(e){var n=this.macros.get(e);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:ja.hasOwnProperty(e)&&!ja[e].primitive}}var hr=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,F=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),r={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},o={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class s{constructor(e,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ft(e,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(e,n){if(n===void 0&&(n=!0),this.fetch().text!==e)throw new G("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Be("}")),this.gullet.pushTokens(e);var f=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,f}parseExpression(e,n){for(var f=[];;){this.mode==="math"&&this.consumeSpaces();var O=this.fetch();if(s.endOfExpression.indexOf(O.text)!==-1||n&&O.text===n||e&&ja[O.text]&&ja[O.text].infix)break;var Q=this.parseAtom(n);if(Q){if(Q.type==="internal")continue}else break;f.push(Q)}return this.mode==="text"&&this.formLigatures(f),this.handleInfixNodes(f)}handleInfixNodes(e){for(var n=-1,f,O=0;O<e.length;O++)if(e[O].type==="infix"){if(n!==-1)throw new G("only one infix operator per group",e[O].token);n=O,f=e[O].replaceWith}if(n!==-1&&f){var Q,je,Ve=e.slice(0,n),qe=e.slice(n+1);Ve.length===1&&Ve[0].type==="ordgroup"?Q=Ve[0]:Q={type:"ordgroup",mode:this.mode,body:Ve},qe.length===1&&qe[0].type==="ordgroup"?je=qe[0]:je={type:"ordgroup",mode:this.mode,body:qe};var Dt;return f==="\\\\abovefrac"?Dt=this.callFunction(f,[Q,e[n],je],[]):Dt=this.callFunction(f,[Q,je],[]),[Dt]}else return e}handleSupSubscript(e){var n=this.fetch(),f=n.text;this.consume(),this.consumeSpaces();var O=this.parseGroup(e);if(!O)throw new G("Expected group after '"+f+"'",n);return O}formatUnsupportedCmd(e){for(var n=[],f=0;f<e.length;f++)n.push({type:"textord",mode:"text",text:e[f]});var O={type:"text",mode:this.mode,body:n},Q={type:"color",mode:this.mode,color:this.settings.errorColor,body:[O]};return Q}parseAtom(e){var n=this.parseGroup("atom",e);if(this.mode==="text")return n;for(var f,O;;){this.consumeSpaces();var Q=this.fetch();if(Q.text==="\\limits"||Q.text==="\\nolimits"){if(n&&n.type==="op"){var je=Q.text==="\\limits";n.limits=je,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=Q.text==="\\limits");else throw new G("Limit controls must follow a math operator",Q);this.consume()}else if(Q.text==="^"){if(f)throw new G("Double superscript",Q);f=this.handleSupSubscript("superscript")}else if(Q.text==="_"){if(O)throw new G("Double subscript",Q);O=this.handleSupSubscript("subscript")}else if(Q.text==="'"){if(f)throw new G("Double superscript",Q);var Ve={type:"textord",mode:this.mode,text:"\\prime"},qe=[Ve];for(this.consume();this.fetch().text==="'";)qe.push(Ve),this.consume();this.fetch().text==="^"&&qe.push(this.handleSupSubscript("superscript")),f={type:"ordgroup",mode:this.mode,body:qe}}else if(F[Q.text]){var Dt=hr.test(Q.text),mr=[];for(mr.push(new Be(F[Q.text])),this.consume();;){var Nr=this.fetch().text;if(!F[Nr]||hr.test(Nr)!==Dt)break;mr.unshift(new Be(F[Nr])),this.consume()}var Ir=this.subparse(mr);Dt?O={type:"ordgroup",mode:"math",body:Ir}:f={type:"ordgroup",mode:"math",body:Ir}}else break}return f||O?{type:"supsub",mode:this.mode,base:n,sup:f,sub:O}:n}parseFunction(e,n){var f=this.fetch(),O=f.text,Q=ja[O];if(!Q)return null;if(this.consume(),n&&n!=="atom"&&!Q.allowedInArgument)throw new G("Got function '"+O+"' with no arguments"+(n?" as "+n:""),f);if(this.mode==="text"&&!Q.allowedInText)throw new G("Can't use function '"+O+"' in text mode",f);if(this.mode==="math"&&Q.allowedInMath===!1)throw new G("Can't use function '"+O+"' in math mode",f);var{args:je,optArgs:Ve}=this.parseArguments(O,Q);return this.callFunction(O,je,Ve,f,e)}callFunction(e,n,f,O,Q){var je={funcName:e,parser:this,token:O,breakOnTokenText:Q},Ve=ja[e];if(Ve&&Ve.handler)return Ve.handler(je,n,f);throw new G("No function handler for "+e)}parseArguments(e,n){var f=n.numArgs+n.numOptionalArgs;if(f===0)return{args:[],optArgs:[]};for(var O=[],Q=[],je=0;je<f;je++){var Ve=n.argTypes&&n.argTypes[je],qe=je<n.numOptionalArgs;(n.primitive&&Ve==null||n.type==="sqrt"&&je===1&&Q[0]==null)&&(Ve="primitive");var Dt=this.parseGroupOfType("argument to '"+e+"'",Ve,qe);if(qe)Q.push(Dt);else if(Dt!=null)O.push(Dt);else throw new G("Null argument, please report this as a bug")}return{args:O,optArgs:Q}}parseGroupOfType(e,n,f){switch(n){case"color":return this.parseColorGroup(f);case"size":return this.parseSizeGroup(f);case"url":return this.parseUrlGroup(f);case"math":case"text":return this.parseArgumentGroup(f,n);case"hbox":{var O=this.parseArgumentGroup(f,"text");return O!=null?{type:"styling",mode:O.mode,body:[O],style:"text"}:null}case"raw":{var Q=this.parseStringGroup("raw",f);return Q!=null?{type:"raw",mode:"text",string:Q.text}:null}case"primitive":{if(f)throw new G("A primitive argument cannot be optional");var je=this.parseGroup(e);if(je==null)throw new G("Expected group as "+e,this.fetch());return je}case"original":case null:case void 0:return this.parseArgumentGroup(f);default:throw new G("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,n){var f=this.gullet.scanArgument(n);if(f==null)return null;for(var O="",Q;(Q=this.fetch()).text!=="EOF";)O+=Q.text,this.consume();return this.consume(),f.text=O,f}parseRegexGroup(e,n){for(var f=this.fetch(),O=f,Q="",je;(je=this.fetch()).text!=="EOF"&&e.test(Q+je.text);)O=je,Q+=O.text,this.consume();if(Q==="")throw new G("Invalid "+n+": '"+f.text+"'",f);return f.range(O,Q)}parseColorGroup(e){var n=this.parseStringGroup("color",e);if(n==null)return null;var f=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!f)throw new G("Invalid color: '"+n.text+"'",n);var O=f[0];return/^[0-9a-f]{6}$/i.test(O)&&(O="#"+O),{type:"color-token",mode:this.mode,color:O}}parseSizeGroup(e){var n,f=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",e),!n)return null;!e&&n.text.length===0&&(n.text="0pt",f=!0);var O=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!O)throw new G("Invalid size: '"+n.text+"'",n);var Q={number:+(O[1]+O[2]),unit:O[3]};if(!Kt(Q))throw new G("Invalid unit: '"+Q.unit+"'",n);return{type:"size",mode:this.mode,value:Q,isBlank:f}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var f=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:f}}parseArgumentGroup(e,n){var f=this.gullet.scanArgument(e);if(f==null)return null;var O=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var Q=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var je={type:"ordgroup",mode:this.mode,loc:f.loc,body:Q};return n&&this.switchMode(O),je}parseGroup(e,n){var f=this.fetch(),O=f.text,Q;if(O==="{"||O==="\\begingroup"){this.consume();var je=O==="{"?"}":"\\endgroup";this.gullet.beginGroup();var Ve=this.parseExpression(!1,je),qe=this.fetch();this.expect(je),this.gullet.endGroup(),Q={type:"ordgroup",mode:this.mode,loc:$.range(f,qe),body:Ve,semisimple:O==="\\begingroup"||void 0}}else if(Q=this.parseFunction(n,e)||this.parseSymbol(),Q==null&&O[0]==="\\"&&!Re.hasOwnProperty(O)){if(this.settings.throwOnError)throw new G("Undefined control sequence: "+O,f);Q=this.formatUnsupportedCmd(O),this.consume()}return Q}formLigatures(e){for(var n=e.length-1,f=0;f<n;++f){var O=e[f],Q=O.text;Q==="-"&&e[f+1].text==="-"&&(f+1<n&&e[f+2].text==="-"?(e.splice(f,3,{type:"textord",mode:"text",loc:$.range(O,e[f+2]),text:"---"}),n-=2):(e.splice(f,2,{type:"textord",mode:"text",loc:$.range(O,e[f+1]),text:"--"}),n-=1)),(Q==="'"||Q==="`")&&e[f+1].text===Q&&(e.splice(f,2,{type:"textord",mode:"text",loc:$.range(O,e[f+1]),text:Q+Q}),n-=1)}}parseSymbol(){var e=this.fetch(),n=e.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var f=n.slice(5),O=f.charAt(0)==="*";if(O&&(f=f.slice(1)),f.length<2||f.charAt(0)!==f.slice(-1))throw new G(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return f=f.slice(1,-1),{type:"verb",mode:"text",body:f,star:O}}o.hasOwnProperty(n[0])&&!Cn[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',e),n=o[n[0]]+n.slice(1));var Q=yi.exec(n);Q&&(n=n.substring(0,Q.index),n==="i"?n="\u0131":n==="j"&&(n="\u0237"));var je;if(Cn[this.mode][n]){this.settings.strict&&this.mode==="math"&&Rr.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',e);var Ve=Cn[this.mode][n].group,qe=$.range(e),Dt;if(mn.hasOwnProperty(Ve)){var mr=Ve;Dt={type:"atom",mode:this.mode,family:mr,loc:qe,text:n}}else Dt={type:Ve,mode:this.mode,loc:qe,text:n};je=Dt}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Te(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),e)),je={type:"textord",mode:"text",loc:$.range(e),text:n};else return null;if(this.consume(),Q)for(var Nr=0;Nr<Q[0].length;Nr++){var Ir=Q[0][Nr];if(!r[Ir])throw new G("Unknown accent ' "+Ir+"'",e);var Ar=r[Ir][this.mode]||r[Ir].text;if(!Ar)throw new G("Accent "+Ir+" unsupported in "+this.mode+" mode",e);je={type:"accent",mode:this.mode,loc:$.range(e),label:Ar,isStretchy:!1,isShifty:!0,base:je}}return je}}s.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var h=function(e,n){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var f=new s(e,n);delete f.gullet.macros.current["\\df@tag"];var O=f.parse();if(delete f.gullet.macros.current["\\current@color"],delete f.gullet.macros.current["\\color"],f.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new G("\\tag works only in display equations");O=[{type:"tag",mode:"text",body:O,tag:f.subparse([new Be("\\df@tag")])}]}return O},z=function(e,n,f){n.textContent="";var O=Ot(e,f).toNode();n.appendChild(O)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),z=function(){throw new G("KaTeX doesn't work in quirks mode.")});var ue=function(e,n){var f=Ot(e,n).toMarkup();return f},De=function(e,n){var f=new le(n);return h(e,f)},tt=function(e,n,f){if(f.throwOnError||!(e instanceof G))throw e;var O=oe.makeSpan(["katex-error"],[new ne(n)]);return O.setAttribute("title",e.toString()),O.setAttribute("style","color:"+f.errorColor),O},Ot=function(e,n){var f=new le(n);try{var O=h(e,f);return nn(O,e,f)}catch(Q){return tt(Q,e,f)}},or=function(e,n){var f=new le(n);try{var O=h(e,f);return xn(O,e,f)}catch(Q){return tt(Q,e,f)}},xr="0.16.20",Wr={Span:_t,Anchor:w,SymbolNode:ne,SvgNode:ke,PathNode:Mr,LineNode:Pr},pn={version:xr,render:z,renderToString:ue,ParseError:G,SETTINGS_SCHEMA:A,__parse:De,__renderToDomTree:Ot,__renderToHTMLTree:or,__setFontMetrics:Oe,__defineSymbol:L,__defineFunction:kt,__defineMacro:ft,__domTree:Wr},Pn=a(88718);const Fn={},ea=[];function fa(u){const e=u||Fn;return function(n,f){(0,Pn.S4)(n,"element",function(O,Q){const je=Array.isArray(O.properties.className)?O.properties.className:ea,Ve=je.includes("language-math"),qe=je.includes("math-display"),Dt=je.includes("math-inline");let mr=qe;if(!Ve&&!qe&&!Dt)return;let Nr=Q[Q.length-1],Ir=O;if(O.tagName==="code"&&Ve&&Nr&&Nr.type==="element"&&Nr.tagName==="pre"&&(Ir=Nr,Nr=Q[Q.length-2],mr=!0),!Nr)return;const Ar=(0,Fe.l)(Ir,{whitespace:"pre"});let Yr;try{Yr=pn.renderToString(Ar,Cl(Sl({},e),{displayMode:mr,throwOnError:!0}))}catch(kn){const Gn=kn,ua=Gn.name.toLowerCase();f.message("Could not render math with KaTeX",{ancestors:[...Q,O],cause:Gn,place:O.position,ruleId:ua,source:"rehype-katex"});try{Yr=pn.renderToString(Ar,Cl(Sl({},e),{displayMode:mr,strict:"ignore",throwOnError:!1}))}catch(da){Yr=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(kn)},children:[{type:"text",value:Ar}]}]}}typeof Yr=="string"&&(Yr=(0,t.N)(Yr,{fragment:!0}).children);const hn=Nr.children.indexOf(Ir);return Nr.children.splice(hn,1,...Yr),Pn.AM})}}}}]);
|
|
|
}()); |