"u"||ng.call(y,oe)},Ib=function(y,R){Lb&&R.name==="__proto__"?Lb(y,R.name,{enumerable:!0,configurable:!0,value:R.newValue,writable:!0}):y[R.name]=R.newValue},zb=function(y,R){if(R==="__proto__")if(ng.call(y,R)){if(Pb)return Pb(y,R).value}else return;return y[R]},uP=function i(){var y,R,Y,oe,he,B,O=arguments[0],e=1,p=arguments.length,E=!1;for(typeof O=="boolean"&&(E=O,O=arguments[1]||{},e=2),(O==null||typeof O!="object"&&typeof O!="function")&&(O={});eB.length;let e;O&&B.push(oe);try{e=i.apply(this,B)}catch(p){const E=p;if(O&&R)throw E;return oe(E)}O||(e instanceof Promise?e.then(he,oe):e instanceof Error?oe(e):he(e))}function oe(B,...O){R||(R=!0,y(B,...O))}function he(B){oe(null,B)}}const hP=Y9().freeze(),W9={}.hasOwnProperty;function Y9(){const i=fP(),y=[];let R={},Y,oe=-1;return he.data=B,he.Parser=void 0,he.Compiler=void 0,he.freeze=O,he.attachers=y,he.use=e,he.parse=p,he.stringify=E,he.run=a,he.runSync=L,he.process=x,he.processSync=d,he;function he(){const m=Y9();let r=-1;for(;++r{if(u||!b||!h)c(u);else{const S=he.stringify(b,h);S==null||(pP(S)?h.value=S:h.result=S),c(u,h)}});function c(u,b){u||!b?n(u):s?s(b):r(null,b)}}}function d(m){let r;he.freeze(),z2("processSync",he.Parser),F2("processSync",he.Compiler);const t=G1(m);return he.process(t,s),_b("processSync","process",r),t;function s(n){r=!0,kb(n)}}}function Bb(i,y){return typeof i=="function"&&i.prototype&&(dP(i.prototype)||y in i.prototype)}function dP(i){let y;for(y in i)if(W9.call(i,y))return!0;return!1}function z2(i,y){if(typeof y!="function")throw new TypeError("Cannot `"+i+"` without `Parser`")}function F2(i,y){if(typeof y!="function")throw new TypeError("Cannot `"+i+"` without `Compiler`")}function B2(i,y){if(y)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ob(i){if(!r3(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function _b(i,y,R){if(!R)throw new Error("`"+i+"` finished async. Use `"+y+"` instead")}function G1(i){return vP(i)?i:new V9(i)}function vP(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function pP(i){return typeof i=="string"||H9(i)}const mP={};function gP(i,y){const R=y||mP,Y=typeof R.includeImageAlt=="boolean"?R.includeImageAlt:!0,oe=typeof R.includeHtml=="boolean"?R.includeHtml:!0;return Z9(i,Y,oe)}function Z9(i,y,R){if(yP(i)){if("value"in i)return i.type==="html"&&!R?"":i.value;if(y&&"alt"in i&&i.alt)return i.alt;if("children"in i)return Nb(i.children,y,R)}return Array.isArray(i)?Nb(i,y,R):""}function Nb(i,y,R){const Y=[];let oe=-1;for(;++oeoe?0:oe+y:y=y>oe?oe:y,R=R>0?R:0,Y.length<1e4)B=Array.from(Y),B.unshift(y,R),i.splice(...B);else for(R&&i.splice(y,R);he0?(q0(i,i.length,0,y),i):y}const Ub={}.hasOwnProperty;function xP(i){const y={};let R=-1;for(;++RB))return;const b=y.events.length;let h=b,S,v;for(;h--;)if(y.events[h][0]==="exit"&&y.events[h][1].type==="chunkFlow"){if(S){v=y.events[h][1].end;break}S=!0}for(t(Y),u=b;un;){const c=R[f];y.containerState=c[1],c[0].exit.call(y,i)}R.length=n}function s(){oe.write([null]),he=void 0,oe=void 0,y.containerState._closeFlow=void 0}}function RP(i,y,R){return cs(i,i.attempt(this.parser.constructs.document,y,R),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Vb(i){if(i===null||gc(i)||EP(i))return 1;if(CP(i))return 2}function w4(i,y,R){const Y=[];let oe=-1;for(;++oe1&&i[R][1].end.offset-i[R][1].start.offset>1?2:1;const a=Object.assign({},i[Y][1].end),L=Object.assign({},i[R][1].start);Gb(a,-e),Gb(L,e),B={type:e>1?"strongSequence":"emphasisSequence",start:a,end:Object.assign({},i[Y][1].end)},O={type:e>1?"strongSequence":"emphasisSequence",start:Object.assign({},i[R][1].start),end:L},he={type:e>1?"strongText":"emphasisText",start:Object.assign({},i[Y][1].end),end:Object.assign({},i[R][1].start)},oe={type:e>1?"strong":"emphasis",start:Object.assign({},B.start),end:Object.assign({},O.end)},i[Y][1].end=Object.assign({},B.start),i[R][1].start=Object.assign({},O.end),p=[],i[Y][1].end.offset-i[Y][1].start.offset&&(p=n0(p,[["enter",i[Y][1],y],["exit",i[Y][1],y]])),p=n0(p,[["enter",oe,y],["enter",B,y],["exit",B,y],["enter",he,y]]),p=n0(p,w4(y.parser.constructs.insideSpan.null,i.slice(Y+1,R),y)),p=n0(p,[["exit",he,y],["enter",O,y],["exit",O,y],["exit",oe,y]]),i[R][1].end.offset-i[R][1].start.offset?(E=2,p=n0(p,[["enter",i[R][1],y],["exit",i[R][1],y]])):E=0,q0(i,Y-1,R-Y+3,p),R=Y+p.length-E-2;break}}for(R=-1;++R0&&ls(u)?cs(i,s,"linePrefix",he+1)(u):s(u)}function s(u){return u===null||Gi(u)?i.check(Yb,m,f)(u):(i.enter("codeFlowValue"),n(u))}function n(u){return u===null||Gi(u)?(i.exit("codeFlowValue"),s(u)):(i.consume(u),n)}function f(u){return i.exit("codeFenced"),y(u)}function c(u,b,h){let S=0;return v;function v(D){return u.enter("lineEnding"),u.consume(D),u.exit("lineEnding"),l}function l(D){return u.enter("codeFencedFence"),ls(D)?cs(u,g,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):g(D)}function g(D){return D===O?(u.enter("codeFencedFenceSequence"),C(D)):h(D)}function C(D){return D===O?(S++,u.consume(D),C):S>=B?(u.exit("codeFencedFenceSequence"),ls(D)?cs(u,M,"whitespace")(D):M(D)):h(D)}function M(D){return D===null||Gi(D)?(u.exit("codeFencedFence"),b(D)):h(D)}}}function WP(i,y,R){const Y=this;return oe;function oe(B){return B===null?R(B):(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),he)}function he(B){return Y.parser.lazy[Y.now().line]?R(B):y(B)}}const O2={name:"codeIndented",tokenize:ZP},YP={tokenize:jP,partial:!0};function ZP(i,y,R){const Y=this;return oe;function oe(p){return i.enter("codeIndented"),cs(i,he,"linePrefix",4+1)(p)}function he(p){const E=Y.events[Y.events.length-1];return E&&E[1].type==="linePrefix"&&E[2].sliceSerialize(E[1],!0).length>=4?B(p):R(p)}function B(p){return p===null?e(p):Gi(p)?i.attempt(YP,B,e)(p):(i.enter("codeFlowValue"),O(p))}function O(p){return p===null||Gi(p)?(i.exit("codeFlowValue"),B(p)):(i.consume(p),O)}function e(p){return i.exit("codeIndented"),y(p)}}function jP(i,y,R){const Y=this;return oe;function oe(B){return Y.parser.lazy[Y.now().line]?R(B):Gi(B)?(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),oe):cs(i,he,"linePrefix",4+1)(B)}function he(B){const O=Y.events[Y.events.length-1];return O&&O[1].type==="linePrefix"&&O[2].sliceSerialize(O[1],!0).length>=4?y(B):Gi(B)?oe(B):R(B)}}const XP={name:"codeText",tokenize:JP,resolve:$P,previous:KP};function $P(i){let y=i.length-4,R=3,Y,oe;if((i[R][1].type==="lineEnding"||i[R][1].type==="space")&&(i[y][1].type==="lineEnding"||i[y][1].type==="space")){for(Y=R;++Y=4?y(B):i.interrupt(Y.parser.constructs.flow,R,y)(B)}}function J9(i,y,R,Y,oe,he,B,O,e){const p=e||Number.POSITIVE_INFINITY;let E=0;return a;function a(t){return t===60?(i.enter(Y),i.enter(oe),i.enter(he),i.consume(t),i.exit(he),L):t===null||t===32||t===41||n3(t)?R(t):(i.enter(Y),i.enter(B),i.enter(O),i.enter("chunkString",{contentType:"string"}),m(t))}function L(t){return t===62?(i.enter(he),i.consume(t),i.exit(he),i.exit(oe),i.exit(Y),y):(i.enter(O),i.enter("chunkString",{contentType:"string"}),x(t))}function x(t){return t===62?(i.exit("chunkString"),i.exit(O),L(t)):t===null||t===60||Gi(t)?R(t):(i.consume(t),t===92?d:x)}function d(t){return t===60||t===62||t===92?(i.consume(t),x):x(t)}function m(t){return!E&&(t===null||t===41||gc(t))?(i.exit("chunkString"),i.exit(O),i.exit(B),i.exit(Y),y(t)):E999||x===null||x===91||x===93&&!e||x===94&&!O&&"_hiddenFootnoteSupport"in B.parser.constructs?R(x):x===93?(i.exit(he),i.enter(oe),i.consume(x),i.exit(oe),i.exit(Y),y):Gi(x)?(i.enter("lineEnding"),i.consume(x),i.exit("lineEnding"),E):(i.enter("chunkString",{contentType:"string"}),a(x))}function a(x){return x===null||x===91||x===93||Gi(x)||O++>999?(i.exit("chunkString"),E(x)):(i.consume(x),e||(e=!ls(x)),x===92?L:a)}function L(x){return x===91||x===92||x===93?(i.consume(x),O++,a):a(x)}}function q9(i,y,R,Y,oe,he){let B;return O;function O(L){return L===34||L===39||L===40?(i.enter(Y),i.enter(oe),i.consume(L),i.exit(oe),B=L===40?41:L,e):R(L)}function e(L){return L===B?(i.enter(oe),i.consume(L),i.exit(oe),i.exit(Y),y):(i.enter(he),p(L))}function p(L){return L===B?(i.exit(he),e(B)):L===null?R(L):Gi(L)?(i.enter("lineEnding"),i.consume(L),i.exit("lineEnding"),cs(i,p,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),E(L))}function E(L){return L===B||L===null||Gi(L)?(i.exit("chunkString"),p(L)):(i.consume(L),L===92?a:E)}function a(L){return L===B||L===92?(i.consume(L),E):E(L)}}function ip(i,y){let R;return Y;function Y(oe){return Gi(oe)?(i.enter("lineEnding"),i.consume(oe),i.exit("lineEnding"),R=!0,Y):ls(oe)?cs(i,Y,R?"linePrefix":"lineSuffix")(oe):y(oe)}}function $v(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const aD={name:"definition",tokenize:oD},iD={tokenize:sD,partial:!0};function oD(i,y,R){const Y=this;let oe;return he;function he(x){return i.enter("definition"),B(x)}function B(x){return Q9.call(Y,i,O,R,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function O(x){return oe=$v(Y.sliceSerialize(Y.events[Y.events.length-1][1]).slice(1,-1)),x===58?(i.enter("definitionMarker"),i.consume(x),i.exit("definitionMarker"),e):R(x)}function e(x){return gc(x)?ip(i,p)(x):p(x)}function p(x){return J9(i,E,R,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function E(x){return i.attempt(iD,a,a)(x)}function a(x){return ls(x)?cs(i,L,"whitespace")(x):L(x)}function L(x){return x===null||Gi(x)?(i.exit("definition"),Y.parser.defined.push(oe),y(x)):R(x)}}function sD(i,y,R){return Y;function Y(O){return gc(O)?ip(i,oe)(O):R(O)}function oe(O){return q9(i,he,R,"definitionTitle","definitionTitleMarker","definitionTitleString")(O)}function he(O){return ls(O)?cs(i,B,"whitespace")(O):B(O)}function B(O){return O===null||Gi(O)?y(O):R(O)}}const lD={name:"hardBreakEscape",tokenize:uD};function uD(i,y,R){return Y;function Y(he){return i.enter("hardBreakEscape"),i.consume(he),oe}function oe(he){return Gi(he)?(i.exit("hardBreakEscape"),y(he)):R(he)}}const fD={name:"headingAtx",tokenize:hD,resolve:cD};function cD(i,y){let R=i.length-2,Y=3,oe,he;return i[Y][1].type==="whitespace"&&(Y+=2),R-2>Y&&i[R][1].type==="whitespace"&&(R-=2),i[R][1].type==="atxHeadingSequence"&&(Y===R-1||R-4>Y&&i[R-2][1].type==="whitespace")&&(R-=Y+1===R?2:4),R>Y&&(oe={type:"atxHeadingText",start:i[Y][1].start,end:i[R][1].end},he={type:"chunkText",start:i[Y][1].start,end:i[R][1].end,contentType:"text"},q0(i,Y,R-Y+1,[["enter",oe,y],["enter",he,y],["exit",he,y],["exit",oe,y]])),i}function hD(i,y,R){let Y=0;return oe;function oe(E){return i.enter("atxHeading"),he(E)}function he(E){return i.enter("atxHeadingSequence"),B(E)}function B(E){return E===35&&Y++<6?(i.consume(E),B):E===null||gc(E)?(i.exit("atxHeadingSequence"),O(E)):R(E)}function O(E){return E===35?(i.enter("atxHeadingSequence"),e(E)):E===null||Gi(E)?(i.exit("atxHeading"),y(E)):ls(E)?cs(i,O,"whitespace")(E):(i.enter("atxHeadingText"),p(E))}function e(E){return E===35?(i.consume(E),e):(i.exit("atxHeadingSequence"),O(E))}function p(E){return E===null||E===35||gc(E)?(i.exit("atxHeadingText"),O(E)):(i.consume(E),p)}}const dD=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],jb=["pre","script","style","textarea"],vD={name:"htmlFlow",tokenize:yD,resolveTo:gD,concrete:!0},pD={tokenize:bD,partial:!0},mD={tokenize:xD,partial:!0};function gD(i){let y=i.length;for(;y--&&!(i[y][0]==="enter"&&i[y][1].type==="htmlFlow"););return y>1&&i[y-2][1].type==="linePrefix"&&(i[y][1].start=i[y-2][1].start,i[y+1][1].start=i[y-2][1].start,i.splice(y-2,2)),i}function yD(i,y,R){const Y=this;let oe,he,B,O,e;return p;function p(F){return E(F)}function E(F){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(F),a}function a(F){return F===33?(i.consume(F),L):F===47?(i.consume(F),he=!0,m):F===63?(i.consume(F),oe=3,Y.interrupt?y:k):j0(F)?(i.consume(F),B=String.fromCharCode(F),r):R(F)}function L(F){return F===45?(i.consume(F),oe=2,x):F===91?(i.consume(F),oe=5,O=0,d):j0(F)?(i.consume(F),oe=4,Y.interrupt?y:k):R(F)}function x(F){return F===45?(i.consume(F),Y.interrupt?y:k):R(F)}function d(F){const G="CDATA[";return F===G.charCodeAt(O++)?(i.consume(F),O===G.length?Y.interrupt?y:g:d):R(F)}function m(F){return j0(F)?(i.consume(F),B=String.fromCharCode(F),r):R(F)}function r(F){if(F===null||F===47||F===62||gc(F)){const G=F===47,_=B.toLowerCase();return!G&&!he&&jb.includes(_)?(oe=1,Y.interrupt?y(F):g(F)):dD.includes(B.toLowerCase())?(oe=6,G?(i.consume(F),t):Y.interrupt?y(F):g(F)):(oe=7,Y.interrupt&&!Y.parser.lazy[Y.now().line]?R(F):he?s(F):n(F))}return F===45||Bc(F)?(i.consume(F),B+=String.fromCharCode(F),r):R(F)}function t(F){return F===62?(i.consume(F),Y.interrupt?y:g):R(F)}function s(F){return ls(F)?(i.consume(F),s):v(F)}function n(F){return F===47?(i.consume(F),v):F===58||F===95||j0(F)?(i.consume(F),f):ls(F)?(i.consume(F),n):v(F)}function f(F){return F===45||F===46||F===58||F===95||Bc(F)?(i.consume(F),f):c(F)}function c(F){return F===61?(i.consume(F),u):ls(F)?(i.consume(F),c):n(F)}function u(F){return F===null||F===60||F===61||F===62||F===96?R(F):F===34||F===39?(i.consume(F),e=F,b):ls(F)?(i.consume(F),u):h(F)}function b(F){return F===e?(i.consume(F),e=null,S):F===null||Gi(F)?R(F):(i.consume(F),b)}function h(F){return F===null||F===34||F===39||F===47||F===60||F===61||F===62||F===96||gc(F)?c(F):(i.consume(F),h)}function S(F){return F===47||F===62||ls(F)?n(F):R(F)}function v(F){return F===62?(i.consume(F),l):R(F)}function l(F){return F===null||Gi(F)?g(F):ls(F)?(i.consume(F),l):R(F)}function g(F){return F===45&&oe===2?(i.consume(F),T):F===60&&oe===1?(i.consume(F),P):F===62&&oe===4?(i.consume(F),w):F===63&&oe===3?(i.consume(F),k):F===93&&oe===5?(i.consume(F),o):Gi(F)&&(oe===6||oe===7)?(i.exit("htmlFlowData"),i.check(pD,U,C)(F)):F===null||Gi(F)?(i.exit("htmlFlowData"),C(F)):(i.consume(F),g)}function C(F){return i.check(mD,M,U)(F)}function M(F){return i.enter("lineEnding"),i.consume(F),i.exit("lineEnding"),D}function D(F){return F===null||Gi(F)?C(F):(i.enter("htmlFlowData"),g(F))}function T(F){return F===45?(i.consume(F),k):g(F)}function P(F){return F===47?(i.consume(F),B="",A):g(F)}function A(F){if(F===62){const G=B.toLowerCase();return jb.includes(G)?(i.consume(F),w):g(F)}return j0(F)&&B.length<8?(i.consume(F),B+=String.fromCharCode(F),A):g(F)}function o(F){return F===93?(i.consume(F),k):g(F)}function k(F){return F===62?(i.consume(F),w):F===45&&oe===2?(i.consume(F),k):g(F)}function w(F){return F===null||Gi(F)?(i.exit("htmlFlowData"),U(F)):(i.consume(F),w)}function U(F){return i.exit("htmlFlow"),y(F)}}function xD(i,y,R){const Y=this;return oe;function oe(B){return Gi(B)?(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),he):R(B)}function he(B){return Y.parser.lazy[Y.now().line]?R(B):y(B)}}function bD(i,y,R){return Y;function Y(oe){return i.enter("lineEnding"),i.consume(oe),i.exit("lineEnding"),i.attempt(iy,y,R)}}const wD={name:"htmlText",tokenize:TD};function TD(i,y,R){const Y=this;let oe,he,B;return O;function O(k){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(k),e}function e(k){return k===33?(i.consume(k),p):k===47?(i.consume(k),c):k===63?(i.consume(k),n):j0(k)?(i.consume(k),h):R(k)}function p(k){return k===45?(i.consume(k),E):k===91?(i.consume(k),he=0,d):j0(k)?(i.consume(k),s):R(k)}function E(k){return k===45?(i.consume(k),x):R(k)}function a(k){return k===null?R(k):k===45?(i.consume(k),L):Gi(k)?(B=a,P(k)):(i.consume(k),a)}function L(k){return k===45?(i.consume(k),x):a(k)}function x(k){return k===62?T(k):k===45?L(k):a(k)}function d(k){const w="CDATA[";return k===w.charCodeAt(he++)?(i.consume(k),he===w.length?m:d):R(k)}function m(k){return k===null?R(k):k===93?(i.consume(k),r):Gi(k)?(B=m,P(k)):(i.consume(k),m)}function r(k){return k===93?(i.consume(k),t):m(k)}function t(k){return k===62?T(k):k===93?(i.consume(k),t):m(k)}function s(k){return k===null||k===62?T(k):Gi(k)?(B=s,P(k)):(i.consume(k),s)}function n(k){return k===null?R(k):k===63?(i.consume(k),f):Gi(k)?(B=n,P(k)):(i.consume(k),n)}function f(k){return k===62?T(k):n(k)}function c(k){return j0(k)?(i.consume(k),u):R(k)}function u(k){return k===45||Bc(k)?(i.consume(k),u):b(k)}function b(k){return Gi(k)?(B=b,P(k)):ls(k)?(i.consume(k),b):T(k)}function h(k){return k===45||Bc(k)?(i.consume(k),h):k===47||k===62||gc(k)?S(k):R(k)}function S(k){return k===47?(i.consume(k),T):k===58||k===95||j0(k)?(i.consume(k),v):Gi(k)?(B=S,P(k)):ls(k)?(i.consume(k),S):T(k)}function v(k){return k===45||k===46||k===58||k===95||Bc(k)?(i.consume(k),v):l(k)}function l(k){return k===61?(i.consume(k),g):Gi(k)?(B=l,P(k)):ls(k)?(i.consume(k),l):S(k)}function g(k){return k===null||k===60||k===61||k===62||k===96?R(k):k===34||k===39?(i.consume(k),oe=k,C):Gi(k)?(B=g,P(k)):ls(k)?(i.consume(k),g):(i.consume(k),M)}function C(k){return k===oe?(i.consume(k),oe=void 0,D):k===null?R(k):Gi(k)?(B=C,P(k)):(i.consume(k),C)}function M(k){return k===null||k===34||k===39||k===60||k===61||k===96?R(k):k===47||k===62||gc(k)?S(k):(i.consume(k),M)}function D(k){return k===47||k===62||gc(k)?S(k):R(k)}function T(k){return k===62?(i.consume(k),i.exit("htmlTextData"),i.exit("htmlText"),y):R(k)}function P(k){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),A}function A(k){return ls(k)?cs(i,o,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):o(k)}function o(k){return i.enter("htmlTextData"),B(k)}}const A4={name:"labelEnd",tokenize:kD,resolveTo:ED,resolveAll:CD},AD={tokenize:LD},SD={tokenize:PD},MD={tokenize:DD};function CD(i){let y=-1;for(;++y=3&&(p===null||Gi(p))?(i.exit("thematicBreak"),y(p)):R(p)}function e(p){return p===oe?(i.consume(p),Y++,e):(i.exit("thematicBreakSequence"),ls(p)?cs(i,O,"whitespace")(p):O(p))}}const fc={name:"list",tokenize:UD,continuation:{tokenize:HD},exit:GD},_D={tokenize:WD,partial:!0},ND={tokenize:VD,partial:!0};function UD(i,y,R){const Y=this,oe=Y.events[Y.events.length-1];let he=oe&&oe[1].type==="linePrefix"?oe[2].sliceSerialize(oe[1],!0).length:0,B=0;return O;function O(x){const d=Y.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(d==="listUnordered"?!Y.containerState.marker||x===Y.containerState.marker:a3(x)){if(Y.containerState.type||(Y.containerState.type=d,i.enter(d,{_container:!0})),d==="listUnordered")return i.enter("listItemPrefix"),x===42||x===45?i.check(ag,R,p)(x):p(x);if(!Y.interrupt||x===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),e(x)}return R(x)}function e(x){return a3(x)&&++B<10?(i.consume(x),e):(!Y.interrupt||B<2)&&(Y.containerState.marker?x===Y.containerState.marker:x===41||x===46)?(i.exit("listItemValue"),p(x)):R(x)}function p(x){return i.enter("listItemMarker"),i.consume(x),i.exit("listItemMarker"),Y.containerState.marker=Y.containerState.marker||x,i.check(iy,Y.interrupt?R:E,i.attempt(_D,L,a))}function E(x){return Y.containerState.initialBlankLine=!0,he++,L(x)}function a(x){return ls(x)?(i.enter("listItemPrefixWhitespace"),i.consume(x),i.exit("listItemPrefixWhitespace"),L):R(x)}function L(x){return Y.containerState.size=he+Y.sliceSerialize(i.exit("listItemPrefix"),!0).length,y(x)}}function HD(i,y,R){const Y=this;return Y.containerState._closeFlow=void 0,i.check(iy,oe,he);function oe(O){return Y.containerState.furtherBlankLines=Y.containerState.furtherBlankLines||Y.containerState.initialBlankLine,cs(i,y,"listItemIndent",Y.containerState.size+1)(O)}function he(O){return Y.containerState.furtherBlankLines||!ls(O)?(Y.containerState.furtherBlankLines=void 0,Y.containerState.initialBlankLine=void 0,B(O)):(Y.containerState.furtherBlankLines=void 0,Y.containerState.initialBlankLine=void 0,i.attempt(ND,y,B)(O))}function B(O){return Y.containerState._closeFlow=!0,Y.interrupt=void 0,cs(i,i.attempt(fc,y,R),"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O)}}function VD(i,y,R){const Y=this;return cs(i,oe,"listItemIndent",Y.containerState.size+1);function oe(he){const B=Y.events[Y.events.length-1];return B&&B[1].type==="listItemIndent"&&B[2].sliceSerialize(B[1],!0).length===Y.containerState.size?y(he):R(he)}}function GD(i){i.exit(this.containerState.type)}function WD(i,y,R){const Y=this;return cs(i,oe,"listItemPrefixWhitespace",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function oe(he){const B=Y.events[Y.events.length-1];return!ls(he)&&B&&B[1].type==="listItemPrefixWhitespace"?y(he):R(he)}}const Xb={name:"setextUnderline",tokenize:ZD,resolveTo:YD};function YD(i,y){let R=i.length,Y,oe,he;for(;R--;)if(i[R][0]==="enter"){if(i[R][1].type==="content"){Y=R;break}i[R][1].type==="paragraph"&&(oe=R)}else i[R][1].type==="content"&&i.splice(R,1),!he&&i[R][1].type==="definition"&&(he=R);const B={type:"setextHeading",start:Object.assign({},i[oe][1].start),end:Object.assign({},i[i.length-1][1].end)};return i[oe][1].type="setextHeadingText",he?(i.splice(oe,0,["enter",B,y]),i.splice(he+1,0,["exit",i[Y][1],y]),i[Y][1].end=Object.assign({},i[he][1].end)):i[Y][1]=B,i.push(["exit",B,y]),i}function ZD(i,y,R){const Y=this;let oe;return he;function he(p){let E=Y.events.length,a;for(;E--;)if(Y.events[E][1].type!=="lineEnding"&&Y.events[E][1].type!=="linePrefix"&&Y.events[E][1].type!=="content"){a=Y.events[E][1].type==="paragraph";break}return!Y.parser.lazy[Y.now().line]&&(Y.interrupt||a)?(i.enter("setextHeadingLine"),oe=p,B(p)):R(p)}function B(p){return i.enter("setextHeadingLineSequence"),O(p)}function O(p){return p===oe?(i.consume(p),O):(i.exit("setextHeadingLineSequence"),ls(p)?cs(i,e,"lineSuffix")(p):e(p))}function e(p){return p===null||Gi(p)?(i.exit("setextHeadingLine"),y(p)):R(p)}}const jD={tokenize:XD};function XD(i){const y=this,R=i.attempt(iy,Y,i.attempt(this.parser.constructs.flowInitial,oe,cs(i,i.attempt(this.parser.constructs.flow,oe,i.attempt(qP,oe)),"linePrefix")));return R;function Y(he){if(he===null){i.consume(he);return}return i.enter("lineEndingBlank"),i.consume(he),i.exit("lineEndingBlank"),y.currentConstruct=void 0,R}function oe(he){if(he===null){i.consume(he);return}return i.enter("lineEnding"),i.consume(he),i.exit("lineEnding"),y.currentConstruct=void 0,R}}const $D={resolveAll:tT()},KD=eT("string"),JD=eT("text");function eT(i){return{tokenize:y,resolveAll:tT(i==="text"?QD:void 0)};function y(R){const Y=this,oe=this.parser.constructs[i],he=R.attempt(oe,B,O);return B;function B(E){return p(E)?he(E):O(E)}function O(E){if(E===null){R.consume(E);return}return R.enter("data"),R.consume(E),e}function e(E){return p(E)?(R.exit("data"),he(E)):(R.consume(E),e)}function p(E){if(E===null)return!0;const a=oe[E];let L=-1;if(a)for(;++L-1){const O=B[0];typeof O=="string"?B[0]=O.slice(Y):B.shift()}he>0&&B.push(i[oe].slice(0,he))}return B}function tR(i,y){let R=-1;const Y=[];let oe;for(;++R13&&R<32||R>126&&R<160||R>55295&&R<57344||R>64975&&R<65008||(R&65535)===65535||(R&65535)===65534||R>1114111?"�":String.fromCharCode(R)}const pR=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function mR(i){return i.replace(pR,gR)}function gR(i,y,R){if(y)return y;if(R.charCodeAt(0)===35){const oe=R.charCodeAt(1),he=oe===120||oe===88;return rT(R.slice(he?2:1),he?16:10)}return T4(R)||i}const nT={}.hasOwnProperty,yR=function(i,y,R){return typeof y!="string"&&(R=y,y=void 0),xR(R)(vR(hR(R).document().write(dR()(i,y,!0))))};function xR(i){const y={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:O(fe),autolinkProtocol:l,autolinkEmail:l,atxHeading:O(X),blockQuote:O(Q),characterEscape:l,characterReference:l,codeFenced:O(ie),codeFencedFenceInfo:e,codeFencedFenceMeta:e,codeIndented:O(ie,e),codeText:O(ue,e),codeTextData:l,data:l,codeFlowValue:l,definition:O(pe),definitionDestinationString:e,definitionLabelString:e,definitionTitleString:e,emphasis:O(q),hardBreakEscape:O(K),hardBreakTrailing:O(K),htmlFlow:O(J,e),htmlFlowData:l,htmlText:O(J,e),htmlTextData:l,image:O(re),label:e,link:O(fe),listItem:O(ee),listItemValue:d,listOrdered:O(te,x),listUnordered:O(te),paragraph:O(ce),reference:_,referenceString:e,resourceDestinationString:e,resourceTitleString:e,setextHeading:O(X),strong:O(le),thematicBreak:O(we)},exit:{atxHeading:E(),atxHeadingSequence:b,autolink:E(),autolinkEmail:j,autolinkProtocol:W,blockQuote:E(),characterEscapeValue:g,characterReferenceMarkerHexadecimal:V,characterReferenceMarkerNumeric:V,characterReferenceValue:N,codeFenced:E(s),codeFencedFence:t,codeFencedFenceInfo:m,codeFencedFenceMeta:r,codeFlowValue:g,codeIndented:E(n),codeText:E(P),codeTextData:g,data:g,definition:E(),definitionDestinationString:u,definitionLabelString:f,definitionTitleString:c,emphasis:E(),hardBreakEscape:E(M),hardBreakTrailing:E(M),htmlFlow:E(D),htmlFlowData:g,htmlText:E(T),htmlTextData:g,image:E(o),label:w,labelText:k,lineEnding:C,link:E(A),listItem:E(),listOrdered:E(),listUnordered:E(),paragraph:E(),referenceString:H,resourceDestinationString:U,resourceTitleString:F,resource:G,setextHeading:E(v),setextHeadingLineSequence:S,setextHeadingText:h,strong:E(),thematicBreak:E()}};aT(y,(i||{}).mdastExtensions||[]);const R={};return Y;function Y(Se){let Ee={type:"root",children:[]};const We={stack:[Ee],tokenStack:[],config:y,enter:p,exit:a,buffer:e,resume:L,setData:he,getData:B},Ye=[];let De=-1;for(;++De0){const Te=We.tokenStack[We.tokenStack.length-1];(Te[1]||Kb).call(We,void 0,Te[0])}for(Ee.position={start:Qh(Se.length>0?Se[0][1].start:{line:1,column:1,offset:0}),end:Qh(Se.length>0?Se[Se.length-2][1].end:{line:1,column:1,offset:0})},De=-1;++De{const Y=this.data("settings");return yR(R,Object.assign({},Y,i,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function TR(i,y){const R={type:"element",tagName:"blockquote",properties:{},children:i.wrap(i.all(y),!0)};return i.patch(y,R),i.applyData(y,R)}function AR(i,y){const R={type:"element",tagName:"br",properties:{},children:[]};return i.patch(y,R),[i.applyData(y,R),{type:"text",value:`
-`}]}function SR(i,y){const R=y.value?y.value+`
-`:"",Y=y.lang?y.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,oe={};Y&&(oe.className=["language-"+Y]);let he={type:"element",tagName:"code",properties:oe,children:[{type:"text",value:R}]};return y.meta&&(he.data={meta:y.meta}),i.patch(y,he),he=i.applyData(y,he),he={type:"element",tagName:"pre",properties:{},children:[he]},i.patch(y,he),he}function MR(i,y){const R={type:"element",tagName:"del",properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}function CR(i,y){const R={type:"element",tagName:"em",properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}function h1(i){const y=[];let R=-1,Y=0,oe=0;for(;++R55295&&he<57344){const O=i.charCodeAt(R+1);he<56320&&O>56319&&O<57344?(B=String.fromCharCode(he,O),oe=1):B="�"}else B=String.fromCharCode(he);B&&(y.push(i.slice(Y,R),encodeURIComponent(B)),Y=R+oe+1,B=""),oe&&(R+=oe,oe=0)}return y.join("")+i.slice(Y)}function iT(i,y){const R=String(y.identifier).toUpperCase(),Y=h1(R.toLowerCase()),oe=i.footnoteOrder.indexOf(R);let he;oe===-1?(i.footnoteOrder.push(R),i.footnoteCounts[R]=1,he=i.footnoteOrder.length):(i.footnoteCounts[R]++,he=oe+1);const B=i.footnoteCounts[R],O={type:"element",tagName:"a",properties:{href:"#"+i.clobberPrefix+"fn-"+Y,id:i.clobberPrefix+"fnref-"+Y+(B>1?"-"+B:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(he)}]};i.patch(y,O);const e={type:"element",tagName:"sup",properties:{},children:[O]};return i.patch(y,e),i.applyData(y,e)}function ER(i,y){const R=i.footnoteById;let Y=1;for(;Y in R;)Y++;const oe=String(Y);return R[oe]={type:"footnoteDefinition",identifier:oe,children:[{type:"paragraph",children:y.children}],position:y.position},iT(i,{type:"footnoteReference",identifier:oe,position:y.position})}function kR(i,y){const R={type:"element",tagName:"h"+y.depth,properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}function LR(i,y){if(i.dangerous){const R={type:"raw",value:y.value};return i.patch(y,R),i.applyData(y,R)}return null}function oT(i,y){const R=y.referenceType;let Y="]";if(R==="collapsed"?Y+="[]":R==="full"&&(Y+="["+(y.label||y.identifier)+"]"),y.type==="imageReference")return{type:"text",value:"!["+y.alt+Y};const oe=i.all(y),he=oe[0];he&&he.type==="text"?he.value="["+he.value:oe.unshift({type:"text",value:"["});const B=oe[oe.length-1];return B&&B.type==="text"?B.value+=Y:oe.push({type:"text",value:Y}),oe}function PR(i,y){const R=i.definition(y.identifier);if(!R)return oT(i,y);const Y={src:h1(R.url||""),alt:y.alt};R.title!==null&&R.title!==void 0&&(Y.title=R.title);const oe={type:"element",tagName:"img",properties:Y,children:[]};return i.patch(y,oe),i.applyData(y,oe)}function DR(i,y){const R={src:h1(y.url)};y.alt!==null&&y.alt!==void 0&&(R.alt=y.alt),y.title!==null&&y.title!==void 0&&(R.title=y.title);const Y={type:"element",tagName:"img",properties:R,children:[]};return i.patch(y,Y),i.applyData(y,Y)}function RR(i,y){const R={type:"text",value:y.value.replace(/\r?\n|\r/g," ")};i.patch(y,R);const Y={type:"element",tagName:"code",properties:{},children:[R]};return i.patch(y,Y),i.applyData(y,Y)}function IR(i,y){const R=i.definition(y.identifier);if(!R)return oT(i,y);const Y={href:h1(R.url||"")};R.title!==null&&R.title!==void 0&&(Y.title=R.title);const oe={type:"element",tagName:"a",properties:Y,children:i.all(y)};return i.patch(y,oe),i.applyData(y,oe)}function zR(i,y){const R={href:h1(y.url)};y.title!==null&&y.title!==void 0&&(R.title=y.title);const Y={type:"element",tagName:"a",properties:R,children:i.all(y)};return i.patch(y,Y),i.applyData(y,Y)}function FR(i,y,R){const Y=i.all(y),oe=R?BR(R):sT(y),he={},B=[];if(typeof y.checked=="boolean"){const E=Y[0];let a;E&&E.type==="element"&&E.tagName==="p"?a=E:(a={type:"element",tagName:"p",properties:{},children:[]},Y.unshift(a)),a.children.length>0&&a.children.unshift({type:"text",value:" "}),a.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:y.checked,disabled:!0},children:[]}),he.className=["task-list-item"]}let O=-1;for(;++O1}function OR(i,y){const R={},Y=i.all(y);let oe=-1;for(typeof y.start=="number"&&y.start!==1&&(R.start=y.start);++oe-1?Y.offset:null}}}function VR(i,y){const R=i.all(y),Y=R.shift(),oe=[];if(Y){const B={type:"element",tagName:"thead",properties:{},children:i.wrap([Y],!0)};i.patch(y.children[0],B),oe.push(B)}if(R.length>0){const B={type:"element",tagName:"tbody",properties:{},children:i.wrap(R,!0)},O=S4(y.children[1]),e=M4(y.children[y.children.length-1]);O.line&&e.line&&(B.position={start:O,end:e}),oe.push(B)}const he={type:"element",tagName:"table",properties:{},children:i.wrap(oe,!0)};return i.patch(y,he),i.applyData(y,he)}function GR(i,y,R){const Y=R?R.children:void 0,he=(Y?Y.indexOf(y):1)===0?"th":"td",B=R&&R.type==="table"?R.align:void 0,O=B?B.length:y.children.length;let e=-1;const p=[];for(;++e0,!0),Y[0]),oe=Y.index+Y[0].length,Y=R.exec(y);return he.push(qb(y.slice(oe),oe>0,!1)),he.join("")}function qb(i,y,R){let Y=0,oe=i.length;if(y){let he=i.codePointAt(Y);for(;he===Jb||he===Qb;)Y++,he=i.codePointAt(Y)}if(R){let he=i.codePointAt(oe-1);for(;he===Jb||he===Qb;)oe--,he=i.codePointAt(oe-1)}return oe>Y?i.slice(Y,oe):""}function ZR(i,y){const R={type:"text",value:YR(String(y.value))};return i.patch(y,R),i.applyData(y,R)}function jR(i,y){const R={type:"element",tagName:"hr",properties:{},children:[]};return i.patch(y,R),i.applyData(y,R)}const XR={blockquote:TR,break:AR,code:SR,delete:MR,emphasis:CR,footnoteReference:iT,footnote:ER,heading:kR,html:LR,imageReference:PR,image:DR,inlineCode:RR,linkReference:IR,link:zR,listItem:FR,list:OR,paragraph:_R,root:NR,strong:UR,table:VR,tableCell:WR,tableRow:GR,text:ZR,thematicBreak:jR,toml:Dm,yaml:Dm,definition:Dm,footnoteDefinition:Dm};function Dm(){return null}const C4=function(i){if(i==null)return QR;if(typeof i=="string")return JR(i);if(typeof i=="object")return Array.isArray(i)?$R(i):KR(i);if(typeof i=="function")return oy(i);throw new Error("Expected function, string, or object as test")};function $R(i){const y=[];let R=-1;for(;++R":""))+")"})}return a;function a(){let L=[],x,d,m;if((!y||oe(O,e,p[p.length-1]||null))&&(L=rI(R(O,p)),L[0]===e8))return L;if(O.children&&L[0]!==eI)for(d=(Y?O.children.length:-1)+he,m=p.concat(O);d>-1&&d{const oe=r8(Y.identifier);oe&&!t8.call(y,oe)&&(y[oe]=Y)}),R;function R(Y){const oe=r8(Y);return oe&&t8.call(y,oe)?y[oe]:null}}function r8(i){return String(i||"").toUpperCase()}const Rg={}.hasOwnProperty;function iI(i,y){const R=y||{},Y=R.allowDangerousHtml||!1,oe={};return B.dangerous=Y,B.clobberPrefix=R.clobberPrefix===void 0||R.clobberPrefix===null?"user-content-":R.clobberPrefix,B.footnoteLabel=R.footnoteLabel||"Footnotes",B.footnoteLabelTagName=R.footnoteLabelTagName||"h2",B.footnoteLabelProperties=R.footnoteLabelProperties||{className:["sr-only"]},B.footnoteBackLabel=R.footnoteBackLabel||"Back to content",B.unknownHandler=R.unknownHandler,B.passThrough=R.passThrough,B.handlers={...XR,...R.handlers},B.definition=aI(i),B.footnoteById=oe,B.footnoteOrder=[],B.footnoteCounts={},B.patch=oI,B.applyData=sI,B.one=O,B.all=e,B.wrap=uI,B.augment=he,sy(i,"footnoteDefinition",p=>{const E=String(p.identifier).toUpperCase();Rg.call(oe,E)||(oe[E]=p)}),B;function he(p,E){if(p&&"data"in p&&p.data){const a=p.data;a.hName&&(E.type!=="element"&&(E={type:"element",tagName:"",properties:{},children:[]}),E.tagName=a.hName),E.type==="element"&&a.hProperties&&(E.properties={...E.properties,...a.hProperties}),"children"in E&&E.children&&a.hChildren&&(E.children=a.hChildren)}if(p){const a="type"in p?p:{position:p};nI(a)||(E.position={start:S4(a),end:M4(a)})}return E}function B(p,E,a,L){return Array.isArray(a)&&(L=a,a={}),he(p,{type:"element",tagName:E,properties:a||{},children:L||[]})}function O(p,E){return uT(B,p,E)}function e(p){return E4(B,p)}}function oI(i,y){i.position&&(y.position=HR(i))}function sI(i,y){let R=y;if(i&&i.data){const Y=i.data.hName,oe=i.data.hChildren,he=i.data.hProperties;typeof Y=="string"&&(R.type==="element"?R.tagName=Y:R={type:"element",tagName:Y,properties:{},children:[]}),R.type==="element"&&he&&(R.properties={...R.properties,...he}),"children"in R&&R.children&&oe!==null&&oe!==void 0&&(R.children=oe)}return R}function uT(i,y,R){const Y=y&&y.type;if(!Y)throw new Error("Expected node, got `"+y+"`");return Rg.call(i.handlers,Y)?i.handlers[Y](i,y,R):i.passThrough&&i.passThrough.includes(Y)?"children"in y?{...y,children:E4(i,y)}:y:i.unknownHandler?i.unknownHandler(i,y,R):lI(i,y)}function E4(i,y){const R=[];if("children"in y){const Y=y.children;let oe=-1;for(;++oe0&&R.push({type:"text",value:`
-`}),R}function fI(i){const y=[];let R=-1;for(;++R1?"-"+O:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:i.footnoteBackLabel},children:[{type:"text",value:"↩"}]};O>1&&a.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(O)}]}),e.length>0&&e.push({type:"text",value:" "}),e.push(a)}const p=oe[oe.length-1];if(p&&p.type==="element"&&p.tagName==="p"){const a=p.children[p.children.length-1];a&&a.type==="text"?a.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...e)}else oe.push(...e);const E={type:"element",tagName:"li",properties:{id:i.clobberPrefix+"fn-"+B},children:i.wrap(oe,!0)};i.patch(Y,E),y.push(E)}if(y.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(i.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:i.footnoteLabel}]},{type:"text",value:`
-`},{type:"element",tagName:"ol",properties:{},children:i.wrap(y,!0)},{type:"text",value:`
-`}]}}function fT(i,y){const R=iI(i,y),Y=R.one(i,null),oe=fI(R);return oe&&Y.children.push({type:"text",value:`
-`},oe),Array.isArray(Y)?{type:"root",children:Y}:Y}const cI=function(i,y){return i&&"run"in i?dI(i,y):vI(i||y)},hI=cI;function dI(i,y){return(R,Y,oe)=>{i.run(fT(R,y),Y,he=>{oe(he)})}}function vI(i){return y=>fT(y,i)}var cT={exports:{}},pI="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",mI=pI,gI=mI;function hT(){}function dT(){}dT.resetWarningCache=hT;var yI=function(){function i(Y,oe,he,B,O,e){if(e!==gI){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}i.isRequired=i;function y(){return i}var R={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:y,element:i,elementType:i,instanceOf:y,node:i,objectOf:y,oneOf:y,oneOfType:y,shape:y,exact:y,checkPropTypes:dT,resetWarningCache:hT};return R.PropTypes=R,R};cT.exports=yI();var vT=cT.exports;const uo=Jd(vT);class Up{constructor(y,R,Y){this.property=y,this.normal=R,Y&&(this.space=Y)}}Up.prototype.property={};Up.prototype.normal={};Up.prototype.space=null;function pT(i,y){const R={},Y={};let oe=-1;for(;++oe4&&R.slice(0,4)==="data"&&AI.test(y)){if(y.charAt(4)==="-"){const he=y.slice(5).replace(a8,CI);Y="data"+he.charAt(0).toUpperCase()+he.slice(1)}else{const he=y.slice(4);if(!a8.test(he)){let B=he.replace(SI,MI);B.charAt(0)!=="-"&&(B="-"+B),y="data"+B}}oe=k4}return new oe(Y,y)}function MI(i){return"-"+i.toLowerCase()}function CI(i){return i.charAt(1).toUpperCase()}const i8={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ST=pT([yT,gT,wT,TT,wI],"html"),MT=pT([yT,gT,wT,TT,TI],"svg");function EI(i){if(i.allowedElements&&i.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(i.allowedElements||i.disallowedElements||i.allowElement)return y=>{sy(y,"element",(R,Y,oe)=>{const he=oe;let B;if(i.allowedElements?B=!i.allowedElements.includes(R.tagName):i.disallowedElements&&(B=i.disallowedElements.includes(R.tagName)),!B&&i.allowElement&&typeof Y=="number"&&(B=!i.allowElement(R,Y,he)),B&&typeof Y=="number")return i.unwrapDisallowed&&R.children?he.children.splice(Y,1,...R.children):he.children.splice(Y,1),Y})}}var CT={exports:{}},ws={};/**
- * @license React
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var L4=Symbol.for("react.element"),P4=Symbol.for("react.portal"),ly=Symbol.for("react.fragment"),uy=Symbol.for("react.strict_mode"),fy=Symbol.for("react.profiler"),cy=Symbol.for("react.provider"),hy=Symbol.for("react.context"),kI=Symbol.for("react.server_context"),dy=Symbol.for("react.forward_ref"),vy=Symbol.for("react.suspense"),py=Symbol.for("react.suspense_list"),my=Symbol.for("react.memo"),gy=Symbol.for("react.lazy"),LI=Symbol.for("react.offscreen"),ET;ET=Symbol.for("react.module.reference");function p0(i){if(typeof i=="object"&&i!==null){var y=i.$$typeof;switch(y){case L4:switch(i=i.type,i){case ly:case fy:case uy:case vy:case py:return i;default:switch(i=i&&i.$$typeof,i){case kI:case hy:case dy:case gy:case my:case cy:return i;default:return y}}case P4:return y}}}ws.ContextConsumer=hy;ws.ContextProvider=cy;ws.Element=L4;ws.ForwardRef=dy;ws.Fragment=ly;ws.Lazy=gy;ws.Memo=my;ws.Portal=P4;ws.Profiler=fy;ws.StrictMode=uy;ws.Suspense=vy;ws.SuspenseList=py;ws.isAsyncMode=function(){return!1};ws.isConcurrentMode=function(){return!1};ws.isContextConsumer=function(i){return p0(i)===hy};ws.isContextProvider=function(i){return p0(i)===cy};ws.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===L4};ws.isForwardRef=function(i){return p0(i)===dy};ws.isFragment=function(i){return p0(i)===ly};ws.isLazy=function(i){return p0(i)===gy};ws.isMemo=function(i){return p0(i)===my};ws.isPortal=function(i){return p0(i)===P4};ws.isProfiler=function(i){return p0(i)===fy};ws.isStrictMode=function(i){return p0(i)===uy};ws.isSuspense=function(i){return p0(i)===vy};ws.isSuspenseList=function(i){return p0(i)===py};ws.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===ly||i===fy||i===uy||i===vy||i===py||i===LI||typeof i=="object"&&i!==null&&(i.$$typeof===gy||i.$$typeof===my||i.$$typeof===cy||i.$$typeof===hy||i.$$typeof===dy||i.$$typeof===ET||i.getModuleId!==void 0)};ws.typeOf=p0;CT.exports=ws;var PI=CT.exports;const DI=Jd(PI);function RI(i){const y=i&&typeof i=="object"&&i.type==="text"?i.value||"":i;return typeof y=="string"&&y.replace(/[ \t\n\f\r]/g,"")===""}function o8(i){const y=String(i||"").trim();return y?y.split(/[ \t\n\r\f]+/g):[]}function II(i){return i.join(" ").trim()}function s8(i){const y=[],R=String(i||"");let Y=R.indexOf(","),oe=0,he=!1;for(;!he;){Y===-1&&(Y=R.length,he=!0);const B=R.slice(oe,Y).trim();(B||!he)&&y.push(B),oe=Y+1,Y=R.indexOf(",",oe)}return y}function zI(i,y){const R=y||{};return(i[i.length-1]===""?[...i,""]:i).join((R.padRight?" ":"")+","+(R.padLeft===!1?"":" ")).trim()}var D4={exports:{}},l8=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,FI=/\n/g,BI=/^\s*/,OI=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,_I=/^:\s*/,NI=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,UI=/^[;\s]*/,HI=/^\s+|\s+$/g,VI=`
-`,u8="/",f8="*",Nd="",GI="comment",WI="declaration",YI=function(i,y){if(typeof i!="string")throw new TypeError("First argument must be a string");if(!i)return[];y=y||{};var R=1,Y=1;function oe(d){var m=d.match(FI);m&&(R+=m.length);var r=d.lastIndexOf(VI);Y=~r?d.length-r:Y+d.length}function he(){var d={line:R,column:Y};return function(m){return m.position=new B(d),p(),m}}function B(d){this.start=d,this.end={line:R,column:Y},this.source=y.source}B.prototype.content=i;function O(d){var m=new Error(y.source+":"+R+":"+Y+": "+d);if(m.reason=d,m.filename=y.source,m.line=R,m.column=Y,m.source=i,!y.silent)throw m}function e(d){var m=d.exec(i);if(m){var r=m[0];return oe(r),i=i.slice(r.length),m}}function p(){e(BI)}function E(d){var m;for(d=d||[];m=a();)m!==!1&&d.push(m);return d}function a(){var d=he();if(!(u8!=i.charAt(0)||f8!=i.charAt(1))){for(var m=2;Nd!=i.charAt(m)&&(f8!=i.charAt(m)||u8!=i.charAt(m+1));)++m;if(m+=2,Nd===i.charAt(m-1))return O("End of comment missing");var r=i.slice(2,m-2);return Y+=2,oe(r),i=i.slice(m),Y+=2,d({type:GI,comment:r})}}function L(){var d=he(),m=e(OI);if(m){if(a(),!e(_I))return O("property missing ':'");var r=e(NI),t=d({type:WI,property:c8(m[0].replace(l8,Nd)),value:r?c8(r[0].replace(l8,Nd)):Nd});return e(UI),t}}function x(){var d=[];E(d);for(var m;m=L();)m!==!1&&(d.push(m),E(d));return d}return p(),x()};function c8(i){return i?i.replace(HI,Nd):Nd}var ZI=YI;function kT(i,y){var R=null;if(!i||typeof i!="string")return R;for(var Y,oe=ZI(i),he=typeof y=="function",B,O,e=0,p=oe.length;e0?Gd.createElement(x,e,a):Gd.createElement(x,e)}function JI(i){let y=-1;for(;++y for more info)`),delete Rm[he]}const y=hP().use(wR).use(i.remarkPlugins||[]).use(hI,{...i.remarkRehypeOptions,allowDangerousHtml:!0}).use(i.rehypePlugins||[]).use(EI,i),R=new V9;typeof i.children=="string"?R.value=i.children:i.children!==void 0&&i.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${i.children}\`)`);const Y=y.runSync(y.parse(R),R);if(Y.type!=="root")throw new TypeError("Expected a `root` node");let oe=Gd.createElement(Gd.Fragment,{},LT({options:i,schema:ST,listDepth:0},Y));return i.className&&(oe=Gd.createElement("div",{className:i.className},oe)),oe}o1.propTypes={children:uo.string,className:uo.string,allowElement:uo.func,allowedElements:uo.arrayOf(uo.string),disallowedElements:uo.arrayOf(uo.string),unwrapDisallowed:uo.bool,remarkPlugins:uo.arrayOf(uo.oneOfType([uo.object,uo.func,uo.arrayOf(uo.oneOfType([uo.bool,uo.string,uo.object,uo.func,uo.arrayOf(uo.any)]))])),rehypePlugins:uo.arrayOf(uo.oneOfType([uo.object,uo.func,uo.arrayOf(uo.oneOfType([uo.bool,uo.string,uo.object,uo.func,uo.arrayOf(uo.any)]))])),sourcePos:uo.bool,rawSourcePos:uo.bool,skipHtml:uo.bool,includeElementIndex:uo.bool,transformLinkUri:uo.oneOfType([uo.func,uo.bool]),linkTarget:uo.oneOfType([uo.func,uo.string]),transformImageUri:uo.func,components:uo.object};const nz={tokenize:az,concrete:!0},d8={tokenize:iz,partial:!0};function az(i,y,R){const Y=this,oe=Y.events[Y.events.length-1],he=oe&&oe[1].type==="linePrefix"?oe[2].sliceSerialize(oe[1],!0).length:0;let B=0;return O;function O(s){return i.enter("mathFlow"),i.enter("mathFlowFence"),i.enter("mathFlowFenceSequence"),e(s)}function e(s){return s===36?(i.consume(s),B++,e):B<2?R(s):(i.exit("mathFlowFenceSequence"),cs(i,p,"whitespace")(s))}function p(s){return s===null||Gi(s)?a(s):(i.enter("mathFlowFenceMeta"),i.enter("chunkString",{contentType:"string"}),E(s))}function E(s){return s===null||Gi(s)?(i.exit("chunkString"),i.exit("mathFlowFenceMeta"),a(s)):s===36?R(s):(i.consume(s),E)}function a(s){return i.exit("mathFlowFence"),Y.interrupt?y(s):i.attempt(d8,L,r)(s)}function L(s){return i.attempt({tokenize:t,partial:!0},r,x)(s)}function x(s){return(he?cs(i,d,"linePrefix",he+1):d)(s)}function d(s){return s===null?r(s):Gi(s)?i.attempt(d8,L,r)(s):(i.enter("mathFlowValue"),m(s))}function m(s){return s===null||Gi(s)?(i.exit("mathFlowValue"),d(s)):(i.consume(s),m)}function r(s){return i.exit("mathFlow"),y(s)}function t(s,n,f){let c=0;return cs(s,u,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function u(S){return s.enter("mathFlowFence"),s.enter("mathFlowFenceSequence"),b(S)}function b(S){return S===36?(c++,s.consume(S),b):c15?p="…"+O.slice(oe-15,oe):p=O.slice(0,oe);var E;he+15":">","<":"<",'"':""","'":"'"},pz=/[&><"']/g;function mz(i){return String(i).replace(pz,y=>vz[y])}var PT=function i(y){return y.type==="ordgroup"||y.type==="color"?y.body.length===1?i(y.body[0]):y:y.type==="font"?i(y.body):y},gz=function(y){var R=PT(y);return R.type==="mathord"||R.type==="textord"||R.type==="atom"},yz=function(y){if(!y)throw new Error("Expected non-null, but got "+String(y));return y},xz=function(y){var R=/^\s*([^\\/#]*?)(?::|*58|*3a)/i.exec(y);return R!=null?R[1]:"_relative"},Ki={contains:fz,deflt:cz,escape:mz,hyphenate:dz,getBaseElem:PT,isCharacterBox:gz,protocolFromUrl:xz},ig={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 "},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 ",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:i=>"#"+i},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(i,y)=>(y.push(i),y)},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:i=>Math.max(0,i),cli:"--min-rule-thickness ",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:i=>Math.max(0,i),cli:"-s, --max-size ",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:i=>Math.max(0,i),cli:"-e, --max-expand ",cliProcessor:i=>i==="Infinity"?1/0:parseInt(i)},globalGroup:{type:"boolean",cli:!1}};function bz(i){if(i.default)return i.default;var y=i.type,R=Array.isArray(y)?y[0]:y;if(typeof R!="string")return R.enum[0];switch(R){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}let R4=class{constructor(y){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,y=y||{};for(var R in ig)if(ig.hasOwnProperty(R)){var Y=ig[R];this[R]=y[R]!==void 0?Y.processor?Y.processor(y[R]):y[R]:bz(Y)}}reportNonstrict(y,R,Y){var oe=this.strict;if(typeof oe=="function"&&(oe=oe(y,R,Y)),!(!oe||oe==="ignore")){if(oe===!0||oe==="error")throw new ti("LaTeX-incompatible input and strict mode is set to 'error': "+(R+" ["+y+"]"),Y);oe==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(R+" ["+y+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+oe+"': "+R+" ["+y+"]"))}}useStrictBehavior(y,R,Y){var oe=this.strict;if(typeof oe=="function")try{oe=oe(y,R,Y)}catch{oe="error"}return!oe||oe==="ignore"?!1:oe===!0||oe==="error"?!0:oe==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(R+" ["+y+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+oe+"': "+R+" ["+y+"]")),!1)}isTrusted(y){y.url&&!y.protocol&&(y.protocol=Ki.protocolFromUrl(y.url));var R=typeof this.trust=="function"?this.trust(y):this.trust;return!!R}};class qh{constructor(y,R,Y){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=y,this.size=R,this.cramped=Y}sup(){return Y0[wz[this.id]]}sub(){return Y0[Tz[this.id]]}fracNum(){return Y0[Az[this.id]]}fracDen(){return Y0[Sz[this.id]]}cramp(){return Y0[Mz[this.id]]}text(){return Y0[Cz[this.id]]}isTight(){return this.size>=2}}var I4=0,Ig=1,Jv=2,Sh=3,Ep=4,o0=5,s1=6,Bf=7,Y0=[new qh(I4,0,!1),new qh(Ig,0,!0),new qh(Jv,1,!1),new qh(Sh,1,!0),new qh(Ep,2,!1),new qh(o0,2,!0),new qh(s1,3,!1),new qh(Bf,3,!0)],wz=[Ep,o0,Ep,o0,s1,Bf,s1,Bf],Tz=[o0,o0,o0,o0,Bf,Bf,Bf,Bf],Az=[Jv,Sh,Ep,o0,s1,Bf,s1,Bf],Sz=[Sh,Sh,o0,o0,Bf,Bf,Bf,Bf],Mz=[Ig,Ig,Sh,Sh,o0,o0,Bf,Bf],Cz=[I4,Ig,Jv,Sh,Jv,Sh,Jv,Sh],Zi={DISPLAY:Y0[I4],TEXT:Y0[Jv],SCRIPT:Y0[Ep],SCRIPTSCRIPT:Y0[s1]},l3=[{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 Ez(i){for(var y=0;y=oe[0]&&i<=oe[1])return R.name}return null}var og=[];l3.forEach(i=>i.blocks.forEach(y=>og.push(...y)));function DT(i){for(var y=0;y=og[y]&&i<=og[y+1])return!0;return!1}var Pv=80,kz=function(y,R){return"M95,"+(622+y+R)+`
-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`+y/2.075+" -"+y+`
-c5.3,-9.3,12,-14,20,-14
-H400000v`+(40+y)+`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+y)+" "+R+"h400000v"+(40+y)+"h-400000z"},Lz=function(y,R){return"M263,"+(601+y+R)+`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`+y/2.084+" -"+y+`
-c4.7,-7.3,11,-11,19,-11
-H40000v`+(40+y)+`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+y)+" "+R+"h400000v"+(40+y)+"h-400000z"},Pz=function(y,R){return"M983 "+(10+y+R)+`
-l`+y/3.13+" -"+y+`
-c4,-6.7,10,-10,18,-10 H400000v`+(40+y)+`
-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+y)+" "+R+"h400000v"+(40+y)+"h-400000z"},Dz=function(y,R){return"M424,"+(2398+y+R)+`
-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`+y/4.223+" -"+y+`c4,-6.7,10,-10,18,-10 H400000
-v`+(40+y)+`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+y)+" "+R+`
-h400000v`+(40+y)+"h-400000z"},Rz=function(y,R){return"M473,"+(2713+y+R)+`
-c339.3,-1799.3,509.3,-2700,510,-2702 l`+y/5.298+" -"+y+`
-c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+y)+`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+y)+" "+R+"h400000v"+(40+y)+"H1017.7z"},Iz=function(y){var R=y/2;return"M400000 "+y+" H0 L"+R+" 0 l65 45 L145 "+(y-80)+" H400000z"},zz=function(y,R,Y){var oe=Y-54-R-y;return"M702 "+(y+R)+"H400000"+(40+y)+`
-H742v`+oe+`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 `+R+"H400000v"+(40+y)+"H742z"},Fz=function(y,R,Y){R=1e3*R;var oe="";switch(y){case"sqrtMain":oe=kz(R,Pv);break;case"sqrtSize1":oe=Lz(R,Pv);break;case"sqrtSize2":oe=Pz(R,Pv);break;case"sqrtSize3":oe=Dz(R,Pv);break;case"sqrtSize4":oe=Rz(R,Pv);break;case"sqrtTall":oe=zz(R,Pv,Y)}return oe},Bz=function(y,R){switch(y){case"⎜":return"M291 0 H417 V"+R+" H291z M291 0 H417 V"+R+" H291z";case"∣":return"M145 0 H188 V"+R+" H145z M145 0 H188 V"+R+" H145z";case"∥":return"M145 0 H188 V"+R+" H145z M145 0 H188 V"+R+" H145z"+("M367 0 H410 V"+R+" H367z M367 0 H410 V"+R+" H367z");case"⎟":return"M457 0 H583 V"+R+" H457z M457 0 H583 V"+R+" H457z";case"⎢":return"M319 0 H403 V"+R+" H319z M319 0 H403 V"+R+" H319z";case"⎥":return"M263 0 H347 V"+R+" H263z M263 0 H347 V"+R+" H263z";case"⎪":return"M384 0 H504 V"+R+" H384z M384 0 H504 V"+R+" H384z";case"⏐":return"M312 0 H355 V"+R+" H312z M312 0 H355 V"+R+" H312z";case"‖":return"M257 0 H300 V"+R+" H257z M257 0 H300 V"+R+" H257z"+("M478 0 H521 V"+R+" H478z M478 0 H521 V"+R+" H478z");default:return""}},v8={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`},Oz=function(y,R){switch(y){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+R+` v1759 h347 v-84
-H403z M403 1759 V0 H319 V1759 v`+R+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+R+` v1759 H0 v84 H347z
-M347 1759 V0 H263 V1759 v`+R+" v1759 h84z";case"vert":return"M145 15 v585 v"+R+` v585 c2.667,10,9.667,15,21,15
-c10,0,16.667,-5,20,-15 v-585 v`+-R+` v-585 c-2.667,-10,-9.667,-15,-21,-15
-c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+R+" v585 h43z";case"doublevert":return"M145 15 v585 v"+R+` v585 c2.667,10,9.667,15,21,15
-c10,0,16.667,-5,20,-15 v-585 v`+-R+` v-585 c-2.667,-10,-9.667,-15,-21,-15
-c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+R+` v585 h43z
-M367 15 v585 v`+R+` v585 c2.667,10,9.667,15,21,15
-c10,0,16.667,-5,20,-15 v-585 v`+-R+` v-585 c-2.667,-10,-9.667,-15,-21,-15
-c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+R+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+R+` v1715 h263 v84 H319z
-MM319 602 V0 H403 V602 v`+R+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+R+` v1799 H0 v-84 H319z
-MM319 602 V0 H403 V602 v`+R+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+R+` v602 h84z
-M403 1759 V0 H319 V1759 v`+R+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+R+` v602 h84z
-M347 1759 V0 h-84 V1759 v`+R+" 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,`+(R+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,-`+(R+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,`+(R+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,-`+(R+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 Hp{constructor(y){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=y,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(y){return Ki.contains(this.classes,y)}toNode(){for(var y=document.createDocumentFragment(),R=0;RR.toText();return this.children.map(y).join("")}}var $0={"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]}},Im={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]},p8={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function _z(i,y){$0[i]=y}function z4(i,y,R){if(!$0[y])throw new Error("Font metrics not found for font: "+y+".");var Y=i.charCodeAt(0),oe=$0[y][Y];if(!oe&&i[0]in p8&&(Y=p8[i[0]].charCodeAt(0),oe=$0[y][Y]),!oe&&R==="text"&&DT(Y)&&(oe=$0[y][77]),oe)return{depth:oe[0],height:oe[1],italic:oe[2],skew:oe[3],width:oe[4]}}var H2={};function Nz(i){var y;if(i>=5?y=0:i>=3?y=1:y=2,!H2[y]){var R=H2[y]={cssEmPerMu:Im.quad[y]/18};for(var Y in Im)Im.hasOwnProperty(Y)&&(R[Y]=Im[Y][y])}return H2[y]}var Uz=[[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]],m8=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],g8=function(y,R){return R.size<2?y:Uz[y-1][R.size-1]};class xh{constructor(y){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=y.style,this.color=y.color,this.size=y.size||xh.BASESIZE,this.textSize=y.textSize||this.size,this.phantom=!!y.phantom,this.font=y.font||"",this.fontFamily=y.fontFamily||"",this.fontWeight=y.fontWeight||"",this.fontShape=y.fontShape||"",this.sizeMultiplier=m8[this.size-1],this.maxSize=y.maxSize,this.minRuleThickness=y.minRuleThickness,this._fontMetrics=void 0}extend(y){var R={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 Y in y)y.hasOwnProperty(Y)&&(R[Y]=y[Y]);return new xh(R)}havingStyle(y){return this.style===y?this:this.extend({style:y,size:g8(this.textSize,y)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(y){return this.size===y&&this.textSize===y?this:this.extend({style:this.style.text(),size:y,textSize:y,sizeMultiplier:m8[y-1]})}havingBaseStyle(y){y=y||this.style.text();var R=g8(xh.BASESIZE,y);return this.size===R&&this.textSize===xh.BASESIZE&&this.style===y?this:this.extend({style:y,size:R})}havingBaseSizing(){var y;switch(this.style.id){case 4:case 5:y=3;break;case 6:case 7:y=1;break;default:y=6}return this.extend({style:this.style.text(),size:y})}withColor(y){return this.extend({color:y})}withPhantom(){return this.extend({phantom:!0})}withFont(y){return this.extend({font:y})}withTextFontFamily(y){return this.extend({fontFamily:y,font:""})}withTextFontWeight(y){return this.extend({fontWeight:y,font:""})}withTextFontShape(y){return this.extend({fontShape:y,font:""})}sizingClasses(y){return y.size!==this.size?["sizing","reset-size"+y.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==xh.BASESIZE?["sizing","reset-size"+this.size,"size"+xh.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Nz(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}xh.BASESIZE=6;var u3={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},Hz={ex:!0,em:!0,mu:!0},RT=function(y){return typeof y!="string"&&(y=y.unit),y in u3||y in Hz||y==="ex"},dl=function(y,R){var Y;if(y.unit in u3)Y=u3[y.unit]/R.fontMetrics().ptPerEm/R.sizeMultiplier;else if(y.unit==="mu")Y=R.fontMetrics().cssEmPerMu;else{var oe;if(R.style.isTight()?oe=R.havingStyle(R.style.text()):oe=R,y.unit==="ex")Y=oe.fontMetrics().xHeight;else if(y.unit==="em")Y=oe.fontMetrics().quad;else throw new ti("Invalid unit: '"+y.unit+"'");oe!==R&&(Y*=oe.sizeMultiplier/R.sizeMultiplier)}return Math.min(y.number*Y,R.maxSize)},mi=function(y){return+y.toFixed(4)+"em"},yd=function(y){return y.filter(R=>R).join(" ")},IT=function(y,R,Y){if(this.classes=y||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Y||{},R){R.style.isTight()&&this.classes.push("mtight");var oe=R.getColor();oe&&(this.style.color=oe)}},zT=function(y){var R=document.createElement(y);R.className=yd(this.classes);for(var Y in this.style)this.style.hasOwnProperty(Y)&&(R.style[Y]=this.style[Y]);for(var oe in this.attributes)this.attributes.hasOwnProperty(oe)&&R.setAttribute(oe,this.attributes[oe]);for(var he=0;he";for(var B=0;B",R};class Vp{constructor(y,R,Y,oe){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,IT.call(this,y,Y,oe),this.children=R||[]}setAttribute(y,R){this.attributes[y]=R}hasClass(y){return Ki.contains(this.classes,y)}toNode(){return zT.call(this,"span")}toMarkup(){return FT.call(this,"span")}}class F4{constructor(y,R,Y,oe){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,IT.call(this,R,oe),this.children=Y||[],this.setAttribute("href",y)}setAttribute(y,R){this.attributes[y]=R}hasClass(y){return Ki.contains(this.classes,y)}toNode(){return zT.call(this,"a")}toMarkup(){return FT.call(this,"a")}}class Vz{constructor(y,R,Y){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=R,this.src=y,this.classes=["mord"],this.style=Y}hasClass(y){return Ki.contains(this.classes,y)}toNode(){var y=document.createElement("img");y.src=this.src,y.alt=this.alt,y.className="mord";for(var R in this.style)this.style.hasOwnProperty(R)&&(y.style[R]=this.style[R]);return y}toMarkup(){var y="",y}}var Gz={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class c0{constructor(y,R,Y,oe,he,B,O,e){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=y,this.height=R||0,this.depth=Y||0,this.italic=oe||0,this.skew=he||0,this.width=B||0,this.classes=O||[],this.style=e||{},this.maxFontSize=0;var p=Ez(this.text.charCodeAt(0));p&&this.classes.push(p+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Gz[this.text])}hasClass(y){return Ki.contains(this.classes,y)}toNode(){var y=document.createTextNode(this.text),R=null;this.italic>0&&(R=document.createElement("span"),R.style.marginRight=mi(this.italic)),this.classes.length>0&&(R=R||document.createElement("span"),R.className=yd(this.classes));for(var Y in this.style)this.style.hasOwnProperty(Y)&&(R=R||document.createElement("span"),R.style[Y]=this.style[Y]);return R?(R.appendChild(y),R):y}toMarkup(){var y=!1,R="0&&(Y+="margin-right:"+this.italic+"em;");for(var oe in this.style)this.style.hasOwnProperty(oe)&&(Y+=Ki.hyphenate(oe)+":"+this.style[oe]+";");Y&&(y=!0,R+=' style="'+Ki.escape(Y)+'"');var he=Ki.escape(this.text);return y?(R+=">",R+=he,R+="",R):he}}class Ph{constructor(y,R){this.children=void 0,this.attributes=void 0,this.children=y||[],this.attributes=R||{}}toNode(){var y="http://www.w3.org/2000/svg",R=document.createElementNS(y,"svg");for(var Y in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Y)&&R.setAttribute(Y,this.attributes[Y]);for(var oe=0;oe";for(var Y=0;Y",y}}class xd{constructor(y,R){this.pathName=void 0,this.alternate=void 0,this.pathName=y,this.alternate=R}toNode(){var y="http://www.w3.org/2000/svg",R=document.createElementNS(y,"path");return this.alternate?R.setAttribute("d",this.alternate):R.setAttribute("d",v8[this.pathName]),R}toMarkup(){return this.alternate?"":""}}class f3{constructor(y){this.attributes=void 0,this.attributes=y||{}}toNode(){var y="http://www.w3.org/2000/svg",R=document.createElementNS(y,"line");for(var Y in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Y)&&R.setAttribute(Y,this.attributes[Y]);return R}toMarkup(){var y="",y}}function y8(i){if(i instanceof c0)return i;throw new Error("Expected symbolNode but got "+String(i)+".")}function Wz(i){if(i instanceof Vp)return i;throw new Error("Expected span but got "+String(i)+".")}var Yz={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Zz={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Vs={math:{},text:{}};function Ft(i,y,R,Y,oe,he){Vs[i][oe]={font:y,group:R,replace:Y},he&&Y&&(Vs[i][Y]=Vs[i][oe])}var er="math",Za="text",Er="main",Sn="ams",el="accent-token",Ci="bin",Uf="close",v1="inner",Yi="mathord",ru="op-token",Hc="open",yy="punct",Cn="rel",zh="spacing",$n="textord";Ft(er,Er,Cn,"≡","\\equiv",!0);Ft(er,Er,Cn,"≺","\\prec",!0);Ft(er,Er,Cn,"≻","\\succ",!0);Ft(er,Er,Cn,"∼","\\sim",!0);Ft(er,Er,Cn,"⊥","\\perp");Ft(er,Er,Cn,"⪯","\\preceq",!0);Ft(er,Er,Cn,"⪰","\\succeq",!0);Ft(er,Er,Cn,"≃","\\simeq",!0);Ft(er,Er,Cn,"∣","\\mid",!0);Ft(er,Er,Cn,"≪","\\ll",!0);Ft(er,Er,Cn,"≫","\\gg",!0);Ft(er,Er,Cn,"≍","\\asymp",!0);Ft(er,Er,Cn,"∥","\\parallel");Ft(er,Er,Cn,"⋈","\\bowtie",!0);Ft(er,Er,Cn,"⌣","\\smile",!0);Ft(er,Er,Cn,"⊑","\\sqsubseteq",!0);Ft(er,Er,Cn,"⊒","\\sqsupseteq",!0);Ft(er,Er,Cn,"≐","\\doteq",!0);Ft(er,Er,Cn,"⌢","\\frown",!0);Ft(er,Er,Cn,"∋","\\ni",!0);Ft(er,Er,Cn,"∝","\\propto",!0);Ft(er,Er,Cn,"⊢","\\vdash",!0);Ft(er,Er,Cn,"⊣","\\dashv",!0);Ft(er,Er,Cn,"∋","\\owns");Ft(er,Er,yy,".","\\ldotp");Ft(er,Er,yy,"⋅","\\cdotp");Ft(er,Er,$n,"#","\\#");Ft(Za,Er,$n,"#","\\#");Ft(er,Er,$n,"&","\\&");Ft(Za,Er,$n,"&","\\&");Ft(er,Er,$n,"ℵ","\\aleph",!0);Ft(er,Er,$n,"∀","\\forall",!0);Ft(er,Er,$n,"ℏ","\\hbar",!0);Ft(er,Er,$n,"∃","\\exists",!0);Ft(er,Er,$n,"∇","\\nabla",!0);Ft(er,Er,$n,"♭","\\flat",!0);Ft(er,Er,$n,"ℓ","\\ell",!0);Ft(er,Er,$n,"♮","\\natural",!0);Ft(er,Er,$n,"♣","\\clubsuit",!0);Ft(er,Er,$n,"℘","\\wp",!0);Ft(er,Er,$n,"♯","\\sharp",!0);Ft(er,Er,$n,"♢","\\diamondsuit",!0);Ft(er,Er,$n,"ℜ","\\Re",!0);Ft(er,Er,$n,"♡","\\heartsuit",!0);Ft(er,Er,$n,"ℑ","\\Im",!0);Ft(er,Er,$n,"♠","\\spadesuit",!0);Ft(er,Er,$n,"§","\\S",!0);Ft(Za,Er,$n,"§","\\S");Ft(er,Er,$n,"¶","\\P",!0);Ft(Za,Er,$n,"¶","\\P");Ft(er,Er,$n,"†","\\dag");Ft(Za,Er,$n,"†","\\dag");Ft(Za,Er,$n,"†","\\textdagger");Ft(er,Er,$n,"‡","\\ddag");Ft(Za,Er,$n,"‡","\\ddag");Ft(Za,Er,$n,"‡","\\textdaggerdbl");Ft(er,Er,Uf,"⎱","\\rmoustache",!0);Ft(er,Er,Hc,"⎰","\\lmoustache",!0);Ft(er,Er,Uf,"⟯","\\rgroup",!0);Ft(er,Er,Hc,"⟮","\\lgroup",!0);Ft(er,Er,Ci,"∓","\\mp",!0);Ft(er,Er,Ci,"⊖","\\ominus",!0);Ft(er,Er,Ci,"⊎","\\uplus",!0);Ft(er,Er,Ci,"⊓","\\sqcap",!0);Ft(er,Er,Ci,"∗","\\ast");Ft(er,Er,Ci,"⊔","\\sqcup",!0);Ft(er,Er,Ci,"◯","\\bigcirc",!0);Ft(er,Er,Ci,"∙","\\bullet",!0);Ft(er,Er,Ci,"‡","\\ddagger");Ft(er,Er,Ci,"≀","\\wr",!0);Ft(er,Er,Ci,"⨿","\\amalg");Ft(er,Er,Ci,"&","\\And");Ft(er,Er,Cn,"⟵","\\longleftarrow",!0);Ft(er,Er,Cn,"⇐","\\Leftarrow",!0);Ft(er,Er,Cn,"⟸","\\Longleftarrow",!0);Ft(er,Er,Cn,"⟶","\\longrightarrow",!0);Ft(er,Er,Cn,"⇒","\\Rightarrow",!0);Ft(er,Er,Cn,"⟹","\\Longrightarrow",!0);Ft(er,Er,Cn,"↔","\\leftrightarrow",!0);Ft(er,Er,Cn,"⟷","\\longleftrightarrow",!0);Ft(er,Er,Cn,"⇔","\\Leftrightarrow",!0);Ft(er,Er,Cn,"⟺","\\Longleftrightarrow",!0);Ft(er,Er,Cn,"↦","\\mapsto",!0);Ft(er,Er,Cn,"⟼","\\longmapsto",!0);Ft(er,Er,Cn,"↗","\\nearrow",!0);Ft(er,Er,Cn,"↩","\\hookleftarrow",!0);Ft(er,Er,Cn,"↪","\\hookrightarrow",!0);Ft(er,Er,Cn,"↘","\\searrow",!0);Ft(er,Er,Cn,"↼","\\leftharpoonup",!0);Ft(er,Er,Cn,"⇀","\\rightharpoonup",!0);Ft(er,Er,Cn,"↙","\\swarrow",!0);Ft(er,Er,Cn,"↽","\\leftharpoondown",!0);Ft(er,Er,Cn,"⇁","\\rightharpoondown",!0);Ft(er,Er,Cn,"↖","\\nwarrow",!0);Ft(er,Er,Cn,"⇌","\\rightleftharpoons",!0);Ft(er,Sn,Cn,"≮","\\nless",!0);Ft(er,Sn,Cn,"","\\@nleqslant");Ft(er,Sn,Cn,"","\\@nleqq");Ft(er,Sn,Cn,"⪇","\\lneq",!0);Ft(er,Sn,Cn,"≨","\\lneqq",!0);Ft(er,Sn,Cn,"","\\@lvertneqq");Ft(er,Sn,Cn,"⋦","\\lnsim",!0);Ft(er,Sn,Cn,"⪉","\\lnapprox",!0);Ft(er,Sn,Cn,"⊀","\\nprec",!0);Ft(er,Sn,Cn,"⋠","\\npreceq",!0);Ft(er,Sn,Cn,"⋨","\\precnsim",!0);Ft(er,Sn,Cn,"⪹","\\precnapprox",!0);Ft(er,Sn,Cn,"≁","\\nsim",!0);Ft(er,Sn,Cn,"","\\@nshortmid");Ft(er,Sn,Cn,"∤","\\nmid",!0);Ft(er,Sn,Cn,"⊬","\\nvdash",!0);Ft(er,Sn,Cn,"⊭","\\nvDash",!0);Ft(er,Sn,Cn,"⋪","\\ntriangleleft");Ft(er,Sn,Cn,"⋬","\\ntrianglelefteq",!0);Ft(er,Sn,Cn,"⊊","\\subsetneq",!0);Ft(er,Sn,Cn,"","\\@varsubsetneq");Ft(er,Sn,Cn,"⫋","\\subsetneqq",!0);Ft(er,Sn,Cn,"","\\@varsubsetneqq");Ft(er,Sn,Cn,"≯","\\ngtr",!0);Ft(er,Sn,Cn,"","\\@ngeqslant");Ft(er,Sn,Cn,"","\\@ngeqq");Ft(er,Sn,Cn,"⪈","\\gneq",!0);Ft(er,Sn,Cn,"≩","\\gneqq",!0);Ft(er,Sn,Cn,"","\\@gvertneqq");Ft(er,Sn,Cn,"⋧","\\gnsim",!0);Ft(er,Sn,Cn,"⪊","\\gnapprox",!0);Ft(er,Sn,Cn,"⊁","\\nsucc",!0);Ft(er,Sn,Cn,"⋡","\\nsucceq",!0);Ft(er,Sn,Cn,"⋩","\\succnsim",!0);Ft(er,Sn,Cn,"⪺","\\succnapprox",!0);Ft(er,Sn,Cn,"≆","\\ncong",!0);Ft(er,Sn,Cn,"","\\@nshortparallel");Ft(er,Sn,Cn,"∦","\\nparallel",!0);Ft(er,Sn,Cn,"⊯","\\nVDash",!0);Ft(er,Sn,Cn,"⋫","\\ntriangleright");Ft(er,Sn,Cn,"⋭","\\ntrianglerighteq",!0);Ft(er,Sn,Cn,"","\\@nsupseteqq");Ft(er,Sn,Cn,"⊋","\\supsetneq",!0);Ft(er,Sn,Cn,"","\\@varsupsetneq");Ft(er,Sn,Cn,"⫌","\\supsetneqq",!0);Ft(er,Sn,Cn,"","\\@varsupsetneqq");Ft(er,Sn,Cn,"⊮","\\nVdash",!0);Ft(er,Sn,Cn,"⪵","\\precneqq",!0);Ft(er,Sn,Cn,"⪶","\\succneqq",!0);Ft(er,Sn,Cn,"","\\@nsubseteqq");Ft(er,Sn,Ci,"⊴","\\unlhd");Ft(er,Sn,Ci,"⊵","\\unrhd");Ft(er,Sn,Cn,"↚","\\nleftarrow",!0);Ft(er,Sn,Cn,"↛","\\nrightarrow",!0);Ft(er,Sn,Cn,"⇍","\\nLeftarrow",!0);Ft(er,Sn,Cn,"⇏","\\nRightarrow",!0);Ft(er,Sn,Cn,"↮","\\nleftrightarrow",!0);Ft(er,Sn,Cn,"⇎","\\nLeftrightarrow",!0);Ft(er,Sn,Cn,"△","\\vartriangle");Ft(er,Sn,$n,"ℏ","\\hslash");Ft(er,Sn,$n,"▽","\\triangledown");Ft(er,Sn,$n,"◊","\\lozenge");Ft(er,Sn,$n,"Ⓢ","\\circledS");Ft(er,Sn,$n,"®","\\circledR");Ft(Za,Sn,$n,"®","\\circledR");Ft(er,Sn,$n,"∡","\\measuredangle",!0);Ft(er,Sn,$n,"∄","\\nexists");Ft(er,Sn,$n,"℧","\\mho");Ft(er,Sn,$n,"Ⅎ","\\Finv",!0);Ft(er,Sn,$n,"⅁","\\Game",!0);Ft(er,Sn,$n,"‵","\\backprime");Ft(er,Sn,$n,"▲","\\blacktriangle");Ft(er,Sn,$n,"▼","\\blacktriangledown");Ft(er,Sn,$n,"■","\\blacksquare");Ft(er,Sn,$n,"⧫","\\blacklozenge");Ft(er,Sn,$n,"★","\\bigstar");Ft(er,Sn,$n,"∢","\\sphericalangle",!0);Ft(er,Sn,$n,"∁","\\complement",!0);Ft(er,Sn,$n,"ð","\\eth",!0);Ft(Za,Er,$n,"ð","ð");Ft(er,Sn,$n,"╱","\\diagup");Ft(er,Sn,$n,"╲","\\diagdown");Ft(er,Sn,$n,"□","\\square");Ft(er,Sn,$n,"□","\\Box");Ft(er,Sn,$n,"◊","\\Diamond");Ft(er,Sn,$n,"¥","\\yen",!0);Ft(Za,Sn,$n,"¥","\\yen",!0);Ft(er,Sn,$n,"✓","\\checkmark",!0);Ft(Za,Sn,$n,"✓","\\checkmark");Ft(er,Sn,$n,"ℶ","\\beth",!0);Ft(er,Sn,$n,"ℸ","\\daleth",!0);Ft(er,Sn,$n,"ℷ","\\gimel",!0);Ft(er,Sn,$n,"ϝ","\\digamma",!0);Ft(er,Sn,$n,"ϰ","\\varkappa");Ft(er,Sn,Hc,"┌","\\@ulcorner",!0);Ft(er,Sn,Uf,"┐","\\@urcorner",!0);Ft(er,Sn,Hc,"└","\\@llcorner",!0);Ft(er,Sn,Uf,"┘","\\@lrcorner",!0);Ft(er,Sn,Cn,"≦","\\leqq",!0);Ft(er,Sn,Cn,"⩽","\\leqslant",!0);Ft(er,Sn,Cn,"⪕","\\eqslantless",!0);Ft(er,Sn,Cn,"≲","\\lesssim",!0);Ft(er,Sn,Cn,"⪅","\\lessapprox",!0);Ft(er,Sn,Cn,"≊","\\approxeq",!0);Ft(er,Sn,Ci,"⋖","\\lessdot");Ft(er,Sn,Cn,"⋘","\\lll",!0);Ft(er,Sn,Cn,"≶","\\lessgtr",!0);Ft(er,Sn,Cn,"⋚","\\lesseqgtr",!0);Ft(er,Sn,Cn,"⪋","\\lesseqqgtr",!0);Ft(er,Sn,Cn,"≑","\\doteqdot");Ft(er,Sn,Cn,"≓","\\risingdotseq",!0);Ft(er,Sn,Cn,"≒","\\fallingdotseq",!0);Ft(er,Sn,Cn,"∽","\\backsim",!0);Ft(er,Sn,Cn,"⋍","\\backsimeq",!0);Ft(er,Sn,Cn,"⫅","\\subseteqq",!0);Ft(er,Sn,Cn,"⋐","\\Subset",!0);Ft(er,Sn,Cn,"⊏","\\sqsubset",!0);Ft(er,Sn,Cn,"≼","\\preccurlyeq",!0);Ft(er,Sn,Cn,"⋞","\\curlyeqprec",!0);Ft(er,Sn,Cn,"≾","\\precsim",!0);Ft(er,Sn,Cn,"⪷","\\precapprox",!0);Ft(er,Sn,Cn,"⊲","\\vartriangleleft");Ft(er,Sn,Cn,"⊴","\\trianglelefteq");Ft(er,Sn,Cn,"⊨","\\vDash",!0);Ft(er,Sn,Cn,"⊪","\\Vvdash",!0);Ft(er,Sn,Cn,"⌣","\\smallsmile");Ft(er,Sn,Cn,"⌢","\\smallfrown");Ft(er,Sn,Cn,"≏","\\bumpeq",!0);Ft(er,Sn,Cn,"≎","\\Bumpeq",!0);Ft(er,Sn,Cn,"≧","\\geqq",!0);Ft(er,Sn,Cn,"⩾","\\geqslant",!0);Ft(er,Sn,Cn,"⪖","\\eqslantgtr",!0);Ft(er,Sn,Cn,"≳","\\gtrsim",!0);Ft(er,Sn,Cn,"⪆","\\gtrapprox",!0);Ft(er,Sn,Ci,"⋗","\\gtrdot");Ft(er,Sn,Cn,"⋙","\\ggg",!0);Ft(er,Sn,Cn,"≷","\\gtrless",!0);Ft(er,Sn,Cn,"⋛","\\gtreqless",!0);Ft(er,Sn,Cn,"⪌","\\gtreqqless",!0);Ft(er,Sn,Cn,"≖","\\eqcirc",!0);Ft(er,Sn,Cn,"≗","\\circeq",!0);Ft(er,Sn,Cn,"≜","\\triangleq",!0);Ft(er,Sn,Cn,"∼","\\thicksim");Ft(er,Sn,Cn,"≈","\\thickapprox");Ft(er,Sn,Cn,"⫆","\\supseteqq",!0);Ft(er,Sn,Cn,"⋑","\\Supset",!0);Ft(er,Sn,Cn,"⊐","\\sqsupset",!0);Ft(er,Sn,Cn,"≽","\\succcurlyeq",!0);Ft(er,Sn,Cn,"⋟","\\curlyeqsucc",!0);Ft(er,Sn,Cn,"≿","\\succsim",!0);Ft(er,Sn,Cn,"⪸","\\succapprox",!0);Ft(er,Sn,Cn,"⊳","\\vartriangleright");Ft(er,Sn,Cn,"⊵","\\trianglerighteq");Ft(er,Sn,Cn,"⊩","\\Vdash",!0);Ft(er,Sn,Cn,"∣","\\shortmid");Ft(er,Sn,Cn,"∥","\\shortparallel");Ft(er,Sn,Cn,"≬","\\between",!0);Ft(er,Sn,Cn,"⋔","\\pitchfork",!0);Ft(er,Sn,Cn,"∝","\\varpropto");Ft(er,Sn,Cn,"◀","\\blacktriangleleft");Ft(er,Sn,Cn,"∴","\\therefore",!0);Ft(er,Sn,Cn,"∍","\\backepsilon");Ft(er,Sn,Cn,"▶","\\blacktriangleright");Ft(er,Sn,Cn,"∵","\\because",!0);Ft(er,Sn,Cn,"⋘","\\llless");Ft(er,Sn,Cn,"⋙","\\gggtr");Ft(er,Sn,Ci,"⊲","\\lhd");Ft(er,Sn,Ci,"⊳","\\rhd");Ft(er,Sn,Cn,"≂","\\eqsim",!0);Ft(er,Er,Cn,"⋈","\\Join");Ft(er,Sn,Cn,"≑","\\Doteq",!0);Ft(er,Sn,Ci,"∔","\\dotplus",!0);Ft(er,Sn,Ci,"∖","\\smallsetminus");Ft(er,Sn,Ci,"⋒","\\Cap",!0);Ft(er,Sn,Ci,"⋓","\\Cup",!0);Ft(er,Sn,Ci,"⩞","\\doublebarwedge",!0);Ft(er,Sn,Ci,"⊟","\\boxminus",!0);Ft(er,Sn,Ci,"⊞","\\boxplus",!0);Ft(er,Sn,Ci,"⋇","\\divideontimes",!0);Ft(er,Sn,Ci,"⋉","\\ltimes",!0);Ft(er,Sn,Ci,"⋊","\\rtimes",!0);Ft(er,Sn,Ci,"⋋","\\leftthreetimes",!0);Ft(er,Sn,Ci,"⋌","\\rightthreetimes",!0);Ft(er,Sn,Ci,"⋏","\\curlywedge",!0);Ft(er,Sn,Ci,"⋎","\\curlyvee",!0);Ft(er,Sn,Ci,"⊝","\\circleddash",!0);Ft(er,Sn,Ci,"⊛","\\circledast",!0);Ft(er,Sn,Ci,"⋅","\\centerdot");Ft(er,Sn,Ci,"⊺","\\intercal",!0);Ft(er,Sn,Ci,"⋒","\\doublecap");Ft(er,Sn,Ci,"⋓","\\doublecup");Ft(er,Sn,Ci,"⊠","\\boxtimes",!0);Ft(er,Sn,Cn,"⇢","\\dashrightarrow",!0);Ft(er,Sn,Cn,"⇠","\\dashleftarrow",!0);Ft(er,Sn,Cn,"⇇","\\leftleftarrows",!0);Ft(er,Sn,Cn,"⇆","\\leftrightarrows",!0);Ft(er,Sn,Cn,"⇚","\\Lleftarrow",!0);Ft(er,Sn,Cn,"↞","\\twoheadleftarrow",!0);Ft(er,Sn,Cn,"↢","\\leftarrowtail",!0);Ft(er,Sn,Cn,"↫","\\looparrowleft",!0);Ft(er,Sn,Cn,"⇋","\\leftrightharpoons",!0);Ft(er,Sn,Cn,"↶","\\curvearrowleft",!0);Ft(er,Sn,Cn,"↺","\\circlearrowleft",!0);Ft(er,Sn,Cn,"↰","\\Lsh",!0);Ft(er,Sn,Cn,"⇈","\\upuparrows",!0);Ft(er,Sn,Cn,"↿","\\upharpoonleft",!0);Ft(er,Sn,Cn,"⇃","\\downharpoonleft",!0);Ft(er,Er,Cn,"⊶","\\origof",!0);Ft(er,Er,Cn,"⊷","\\imageof",!0);Ft(er,Sn,Cn,"⊸","\\multimap",!0);Ft(er,Sn,Cn,"↭","\\leftrightsquigarrow",!0);Ft(er,Sn,Cn,"⇉","\\rightrightarrows",!0);Ft(er,Sn,Cn,"⇄","\\rightleftarrows",!0);Ft(er,Sn,Cn,"↠","\\twoheadrightarrow",!0);Ft(er,Sn,Cn,"↣","\\rightarrowtail",!0);Ft(er,Sn,Cn,"↬","\\looparrowright",!0);Ft(er,Sn,Cn,"↷","\\curvearrowright",!0);Ft(er,Sn,Cn,"↻","\\circlearrowright",!0);Ft(er,Sn,Cn,"↱","\\Rsh",!0);Ft(er,Sn,Cn,"⇊","\\downdownarrows",!0);Ft(er,Sn,Cn,"↾","\\upharpoonright",!0);Ft(er,Sn,Cn,"⇂","\\downharpoonright",!0);Ft(er,Sn,Cn,"⇝","\\rightsquigarrow",!0);Ft(er,Sn,Cn,"⇝","\\leadsto");Ft(er,Sn,Cn,"⇛","\\Rrightarrow",!0);Ft(er,Sn,Cn,"↾","\\restriction");Ft(er,Er,$n,"‘","`");Ft(er,Er,$n,"$","\\$");Ft(Za,Er,$n,"$","\\$");Ft(Za,Er,$n,"$","\\textdollar");Ft(er,Er,$n,"%","\\%");Ft(Za,Er,$n,"%","\\%");Ft(er,Er,$n,"_","\\_");Ft(Za,Er,$n,"_","\\_");Ft(Za,Er,$n,"_","\\textunderscore");Ft(er,Er,$n,"∠","\\angle",!0);Ft(er,Er,$n,"∞","\\infty",!0);Ft(er,Er,$n,"′","\\prime");Ft(er,Er,$n,"△","\\triangle");Ft(er,Er,$n,"Γ","\\Gamma",!0);Ft(er,Er,$n,"Δ","\\Delta",!0);Ft(er,Er,$n,"Θ","\\Theta",!0);Ft(er,Er,$n,"Λ","\\Lambda",!0);Ft(er,Er,$n,"Ξ","\\Xi",!0);Ft(er,Er,$n,"Π","\\Pi",!0);Ft(er,Er,$n,"Σ","\\Sigma",!0);Ft(er,Er,$n,"Υ","\\Upsilon",!0);Ft(er,Er,$n,"Φ","\\Phi",!0);Ft(er,Er,$n,"Ψ","\\Psi",!0);Ft(er,Er,$n,"Ω","\\Omega",!0);Ft(er,Er,$n,"A","Α");Ft(er,Er,$n,"B","Β");Ft(er,Er,$n,"E","Ε");Ft(er,Er,$n,"Z","Ζ");Ft(er,Er,$n,"H","Η");Ft(er,Er,$n,"I","Ι");Ft(er,Er,$n,"K","Κ");Ft(er,Er,$n,"M","Μ");Ft(er,Er,$n,"N","Ν");Ft(er,Er,$n,"O","Ο");Ft(er,Er,$n,"P","Ρ");Ft(er,Er,$n,"T","Τ");Ft(er,Er,$n,"X","Χ");Ft(er,Er,$n,"¬","\\neg",!0);Ft(er,Er,$n,"¬","\\lnot");Ft(er,Er,$n,"⊤","\\top");Ft(er,Er,$n,"⊥","\\bot");Ft(er,Er,$n,"∅","\\emptyset");Ft(er,Sn,$n,"∅","\\varnothing");Ft(er,Er,Yi,"α","\\alpha",!0);Ft(er,Er,Yi,"β","\\beta",!0);Ft(er,Er,Yi,"γ","\\gamma",!0);Ft(er,Er,Yi,"δ","\\delta",!0);Ft(er,Er,Yi,"ϵ","\\epsilon",!0);Ft(er,Er,Yi,"ζ","\\zeta",!0);Ft(er,Er,Yi,"η","\\eta",!0);Ft(er,Er,Yi,"θ","\\theta",!0);Ft(er,Er,Yi,"ι","\\iota",!0);Ft(er,Er,Yi,"κ","\\kappa",!0);Ft(er,Er,Yi,"λ","\\lambda",!0);Ft(er,Er,Yi,"μ","\\mu",!0);Ft(er,Er,Yi,"ν","\\nu",!0);Ft(er,Er,Yi,"ξ","\\xi",!0);Ft(er,Er,Yi,"ο","\\omicron",!0);Ft(er,Er,Yi,"π","\\pi",!0);Ft(er,Er,Yi,"ρ","\\rho",!0);Ft(er,Er,Yi,"σ","\\sigma",!0);Ft(er,Er,Yi,"τ","\\tau",!0);Ft(er,Er,Yi,"υ","\\upsilon",!0);Ft(er,Er,Yi,"ϕ","\\phi",!0);Ft(er,Er,Yi,"χ","\\chi",!0);Ft(er,Er,Yi,"ψ","\\psi",!0);Ft(er,Er,Yi,"ω","\\omega",!0);Ft(er,Er,Yi,"ε","\\varepsilon",!0);Ft(er,Er,Yi,"ϑ","\\vartheta",!0);Ft(er,Er,Yi,"ϖ","\\varpi",!0);Ft(er,Er,Yi,"ϱ","\\varrho",!0);Ft(er,Er,Yi,"ς","\\varsigma",!0);Ft(er,Er,Yi,"φ","\\varphi",!0);Ft(er,Er,Ci,"∗","*",!0);Ft(er,Er,Ci,"+","+");Ft(er,Er,Ci,"−","-",!0);Ft(er,Er,Ci,"⋅","\\cdot",!0);Ft(er,Er,Ci,"∘","\\circ",!0);Ft(er,Er,Ci,"÷","\\div",!0);Ft(er,Er,Ci,"±","\\pm",!0);Ft(er,Er,Ci,"×","\\times",!0);Ft(er,Er,Ci,"∩","\\cap",!0);Ft(er,Er,Ci,"∪","\\cup",!0);Ft(er,Er,Ci,"∖","\\setminus",!0);Ft(er,Er,Ci,"∧","\\land");Ft(er,Er,Ci,"∨","\\lor");Ft(er,Er,Ci,"∧","\\wedge",!0);Ft(er,Er,Ci,"∨","\\vee",!0);Ft(er,Er,$n,"√","\\surd");Ft(er,Er,Hc,"⟨","\\langle",!0);Ft(er,Er,Hc,"∣","\\lvert");Ft(er,Er,Hc,"∥","\\lVert");Ft(er,Er,Uf,"?","?");Ft(er,Er,Uf,"!","!");Ft(er,Er,Uf,"⟩","\\rangle",!0);Ft(er,Er,Uf,"∣","\\rvert");Ft(er,Er,Uf,"∥","\\rVert");Ft(er,Er,Cn,"=","=");Ft(er,Er,Cn,":",":");Ft(er,Er,Cn,"≈","\\approx",!0);Ft(er,Er,Cn,"≅","\\cong",!0);Ft(er,Er,Cn,"≥","\\ge");Ft(er,Er,Cn,"≥","\\geq",!0);Ft(er,Er,Cn,"←","\\gets");Ft(er,Er,Cn,">","\\gt",!0);Ft(er,Er,Cn,"∈","\\in",!0);Ft(er,Er,Cn,"","\\@not");Ft(er,Er,Cn,"⊂","\\subset",!0);Ft(er,Er,Cn,"⊃","\\supset",!0);Ft(er,Er,Cn,"⊆","\\subseteq",!0);Ft(er,Er,Cn,"⊇","\\supseteq",!0);Ft(er,Sn,Cn,"⊈","\\nsubseteq",!0);Ft(er,Sn,Cn,"⊉","\\nsupseteq",!0);Ft(er,Er,Cn,"⊨","\\models");Ft(er,Er,Cn,"←","\\leftarrow",!0);Ft(er,Er,Cn,"≤","\\le");Ft(er,Er,Cn,"≤","\\leq",!0);Ft(er,Er,Cn,"<","\\lt",!0);Ft(er,Er,Cn,"→","\\rightarrow",!0);Ft(er,Er,Cn,"→","\\to");Ft(er,Sn,Cn,"≱","\\ngeq",!0);Ft(er,Sn,Cn,"≰","\\nleq",!0);Ft(er,Er,zh," ","\\ ");Ft(er,Er,zh," ","\\space");Ft(er,Er,zh," ","\\nobreakspace");Ft(Za,Er,zh," ","\\ ");Ft(Za,Er,zh," "," ");Ft(Za,Er,zh," ","\\space");Ft(Za,Er,zh," ","\\nobreakspace");Ft(er,Er,zh,null,"\\nobreak");Ft(er,Er,zh,null,"\\allowbreak");Ft(er,Er,yy,",",",");Ft(er,Er,yy,";",";");Ft(er,Sn,Ci,"⊼","\\barwedge",!0);Ft(er,Sn,Ci,"⊻","\\veebar",!0);Ft(er,Er,Ci,"⊙","\\odot",!0);Ft(er,Er,Ci,"⊕","\\oplus",!0);Ft(er,Er,Ci,"⊗","\\otimes",!0);Ft(er,Er,$n,"∂","\\partial",!0);Ft(er,Er,Ci,"⊘","\\oslash",!0);Ft(er,Sn,Ci,"⊚","\\circledcirc",!0);Ft(er,Sn,Ci,"⊡","\\boxdot",!0);Ft(er,Er,Ci,"△","\\bigtriangleup");Ft(er,Er,Ci,"▽","\\bigtriangledown");Ft(er,Er,Ci,"†","\\dagger");Ft(er,Er,Ci,"⋄","\\diamond");Ft(er,Er,Ci,"⋆","\\star");Ft(er,Er,Ci,"◃","\\triangleleft");Ft(er,Er,Ci,"▹","\\triangleright");Ft(er,Er,Hc,"{","\\{");Ft(Za,Er,$n,"{","\\{");Ft(Za,Er,$n,"{","\\textbraceleft");Ft(er,Er,Uf,"}","\\}");Ft(Za,Er,$n,"}","\\}");Ft(Za,Er,$n,"}","\\textbraceright");Ft(er,Er,Hc,"{","\\lbrace");Ft(er,Er,Uf,"}","\\rbrace");Ft(er,Er,Hc,"[","\\lbrack",!0);Ft(Za,Er,$n,"[","\\lbrack",!0);Ft(er,Er,Uf,"]","\\rbrack",!0);Ft(Za,Er,$n,"]","\\rbrack",!0);Ft(er,Er,Hc,"(","\\lparen",!0);Ft(er,Er,Uf,")","\\rparen",!0);Ft(Za,Er,$n,"<","\\textless",!0);Ft(Za,Er,$n,">","\\textgreater",!0);Ft(er,Er,Hc,"⌊","\\lfloor",!0);Ft(er,Er,Uf,"⌋","\\rfloor",!0);Ft(er,Er,Hc,"⌈","\\lceil",!0);Ft(er,Er,Uf,"⌉","\\rceil",!0);Ft(er,Er,$n,"\\","\\backslash");Ft(er,Er,$n,"∣","|");Ft(er,Er,$n,"∣","\\vert");Ft(Za,Er,$n,"|","\\textbar",!0);Ft(er,Er,$n,"∥","\\|");Ft(er,Er,$n,"∥","\\Vert");Ft(Za,Er,$n,"∥","\\textbardbl");Ft(Za,Er,$n,"~","\\textasciitilde");Ft(Za,Er,$n,"\\","\\textbackslash");Ft(Za,Er,$n,"^","\\textasciicircum");Ft(er,Er,Cn,"↑","\\uparrow",!0);Ft(er,Er,Cn,"⇑","\\Uparrow",!0);Ft(er,Er,Cn,"↓","\\downarrow",!0);Ft(er,Er,Cn,"⇓","\\Downarrow",!0);Ft(er,Er,Cn,"↕","\\updownarrow",!0);Ft(er,Er,Cn,"⇕","\\Updownarrow",!0);Ft(er,Er,ru,"∐","\\coprod");Ft(er,Er,ru,"⋁","\\bigvee");Ft(er,Er,ru,"⋀","\\bigwedge");Ft(er,Er,ru,"⨄","\\biguplus");Ft(er,Er,ru,"⋂","\\bigcap");Ft(er,Er,ru,"⋃","\\bigcup");Ft(er,Er,ru,"∫","\\int");Ft(er,Er,ru,"∫","\\intop");Ft(er,Er,ru,"∬","\\iint");Ft(er,Er,ru,"∭","\\iiint");Ft(er,Er,ru,"∏","\\prod");Ft(er,Er,ru,"∑","\\sum");Ft(er,Er,ru,"⨂","\\bigotimes");Ft(er,Er,ru,"⨁","\\bigoplus");Ft(er,Er,ru,"⨀","\\bigodot");Ft(er,Er,ru,"∮","\\oint");Ft(er,Er,ru,"∯","\\oiint");Ft(er,Er,ru,"∰","\\oiiint");Ft(er,Er,ru,"⨆","\\bigsqcup");Ft(er,Er,ru,"∫","\\smallint");Ft(Za,Er,v1,"…","\\textellipsis");Ft(er,Er,v1,"…","\\mathellipsis");Ft(Za,Er,v1,"…","\\ldots",!0);Ft(er,Er,v1,"…","\\ldots",!0);Ft(er,Er,v1,"⋯","\\@cdots",!0);Ft(er,Er,v1,"⋱","\\ddots",!0);Ft(er,Er,$n,"⋮","\\varvdots");Ft(er,Er,el,"ˊ","\\acute");Ft(er,Er,el,"ˋ","\\grave");Ft(er,Er,el,"¨","\\ddot");Ft(er,Er,el,"~","\\tilde");Ft(er,Er,el,"ˉ","\\bar");Ft(er,Er,el,"˘","\\breve");Ft(er,Er,el,"ˇ","\\check");Ft(er,Er,el,"^","\\hat");Ft(er,Er,el,"⃗","\\vec");Ft(er,Er,el,"˙","\\dot");Ft(er,Er,el,"˚","\\mathring");Ft(er,Er,Yi,"","\\@imath");Ft(er,Er,Yi,"","\\@jmath");Ft(er,Er,$n,"ı","ı");Ft(er,Er,$n,"ȷ","ȷ");Ft(Za,Er,$n,"ı","\\i",!0);Ft(Za,Er,$n,"ȷ","\\j",!0);Ft(Za,Er,$n,"ß","\\ss",!0);Ft(Za,Er,$n,"æ","\\ae",!0);Ft(Za,Er,$n,"œ","\\oe",!0);Ft(Za,Er,$n,"ø","\\o",!0);Ft(Za,Er,$n,"Æ","\\AE",!0);Ft(Za,Er,$n,"Œ","\\OE",!0);Ft(Za,Er,$n,"Ø","\\O",!0);Ft(Za,Er,el,"ˊ","\\'");Ft(Za,Er,el,"ˋ","\\`");Ft(Za,Er,el,"ˆ","\\^");Ft(Za,Er,el,"˜","\\~");Ft(Za,Er,el,"ˉ","\\=");Ft(Za,Er,el,"˘","\\u");Ft(Za,Er,el,"˙","\\.");Ft(Za,Er,el,"¸","\\c");Ft(Za,Er,el,"˚","\\r");Ft(Za,Er,el,"ˇ","\\v");Ft(Za,Er,el,"¨",'\\"');Ft(Za,Er,el,"˝","\\H");Ft(Za,Er,el,"◯","\\textcircled");var BT={"--":!0,"---":!0,"``":!0,"''":!0};Ft(Za,Er,$n,"–","--",!0);Ft(Za,Er,$n,"–","\\textendash");Ft(Za,Er,$n,"—","---",!0);Ft(Za,Er,$n,"—","\\textemdash");Ft(Za,Er,$n,"‘","`",!0);Ft(Za,Er,$n,"‘","\\textquoteleft");Ft(Za,Er,$n,"’","'",!0);Ft(Za,Er,$n,"’","\\textquoteright");Ft(Za,Er,$n,"“","``",!0);Ft(Za,Er,$n,"“","\\textquotedblleft");Ft(Za,Er,$n,"”","''",!0);Ft(Za,Er,$n,"”","\\textquotedblright");Ft(er,Er,$n,"°","\\degree",!0);Ft(Za,Er,$n,"°","\\degree");Ft(Za,Er,$n,"°","\\textdegree",!0);Ft(er,Er,$n,"£","\\pounds");Ft(er,Er,$n,"£","\\mathsterling",!0);Ft(Za,Er,$n,"£","\\pounds");Ft(Za,Er,$n,"£","\\textsterling",!0);Ft(er,Sn,$n,"✠","\\maltese");Ft(Za,Sn,$n,"✠","\\maltese");var x8='0123456789/@."';for(var V2=0;V20)return k0(he,p,oe,R,B.concat(E));if(e){var a,L;if(e==="boldsymbol"){var x=$z(he,oe,R,B,Y);a=x.fontName,L=[x.fontClass]}else O?(a=NT[e].fontName,L=[e]):(a=Om(e,R.fontWeight,R.fontShape),L=[e,R.fontWeight,R.fontShape]);if(xy(he,a,oe).metrics)return k0(he,a,oe,R,B.concat(L));if(BT.hasOwnProperty(he)&&a.slice(0,10)==="Typewriter"){for(var d=[],m=0;m{if(yd(i.classes)!==yd(y.classes)||i.skew!==y.skew||i.maxFontSize!==y.maxFontSize)return!1;if(i.classes.length===1){var R=i.classes[0];if(R==="mbin"||R==="mord")return!1}for(var Y in i.style)if(i.style.hasOwnProperty(Y)&&i.style[Y]!==y.style[Y])return!1;for(var oe in y.style)if(y.style.hasOwnProperty(oe)&&i.style[oe]!==y.style[oe])return!1;return!0},Qz=i=>{for(var y=0;yR&&(R=B.height),B.depth>Y&&(Y=B.depth),B.maxFontSize>oe&&(oe=B.maxFontSize)}y.height=R,y.depth=Y,y.maxFontSize=oe},cc=function(y,R,Y,oe){var he=new Vp(y,R,Y,oe);return B4(he),he},OT=(i,y,R,Y)=>new Vp(i,y,R,Y),qz=function(y,R,Y){var oe=cc([y],[],R);return oe.height=Math.max(Y||R.fontMetrics().defaultRuleThickness,R.minRuleThickness),oe.style.borderBottomWidth=mi(oe.height),oe.maxFontSize=1,oe},eF=function(y,R,Y,oe){var he=new F4(y,R,Y,oe);return B4(he),he},_T=function(y){var R=new Hp(y);return B4(R),R},tF=function(y,R){return y instanceof Hp?cc([],[y],R):y},rF=function(y){if(y.positionType==="individualShift"){for(var R=y.children,Y=[R[0]],oe=-R[0].shift-R[0].elem.depth,he=oe,B=1;B{var R=cc(["mspace"],[],y),Y=dl(i,y);return R.style.marginRight=mi(Y),R},Om=function(y,R,Y){var oe="";switch(y){case"amsrm":oe="AMS";break;case"textrm":oe="Main";break;case"textsf":oe="SansSerif";break;case"texttt":oe="Typewriter";break;default:oe=y}var he;return R==="textbf"&&Y==="textit"?he="BoldItalic":R==="textbf"?he="Bold":R==="textit"?he="Italic":he="Regular",oe+"-"+he},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"},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"}},UT={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},iF=function(y,R){var[Y,oe,he]=UT[y],B=new xd(Y),O=new Ph([B],{width:mi(oe),height:mi(he),style:"width:"+mi(oe),viewBox:"0 0 "+1e3*oe+" "+1e3*he,preserveAspectRatio:"xMinYMin"}),e=OT(["overlay"],[O],R);return e.height=he,e.style.height=mi(he),e.style.width=mi(oe),e},ca={fontMap:NT,makeSymbol:k0,mathsym:Xz,makeSpan:cc,makeSvgSpan:OT,makeLineSpan:qz,makeAnchor:eF,makeFragment:_T,wrapFragment:tF,makeVList:nF,makeOrd:Kz,makeGlue:aF,staticSvg:iF,svgData:UT,tryCombineChars:Qz},cl={number:3,unit:"mu"},Bd={number:4,unit:"mu"},ph={number:5,unit:"mu"},oF={mord:{mop:cl,mbin:Bd,mrel:ph,minner:cl},mop:{mord:cl,mop:cl,mrel:ph,minner:cl},mbin:{mord:Bd,mop:Bd,mopen:Bd,minner:Bd},mrel:{mord:ph,mop:ph,mopen:ph,minner:ph},mopen:{},mclose:{mop:cl,mbin:Bd,mrel:ph,minner:cl},mpunct:{mord:cl,mop:cl,mrel:ph,mopen:cl,mclose:cl,mpunct:cl,minner:cl},minner:{mord:cl,mop:cl,mbin:Bd,mrel:ph,mopen:cl,mpunct:cl,minner:cl}},sF={mord:{mop:cl},mop:{mord:cl,mop:cl},mbin:{},mrel:{},mopen:{},mclose:{mop:cl},mpunct:{},minner:{mop:cl}},HT={},Fg={},Bg={};function Mi(i){for(var{type:y,names:R,props:Y,handler:oe,htmlBuilder:he,mathmlBuilder:B}=i,O={type:y,numArgs:Y.numArgs,argTypes:Y.argTypes,allowedInArgument:!!Y.allowedInArgument,allowedInText:!!Y.allowedInText,allowedInMath:Y.allowedInMath===void 0?!0:Y.allowedInMath,numOptionalArgs:Y.numOptionalArgs||0,infix:!!Y.infix,primitive:!!Y.primitive,handler:oe},e=0;e{var r=m.classes[0],t=d.classes[0];r==="mbin"&&Ki.contains(uF,t)?m.classes[0]="mord":t==="mbin"&&Ki.contains(lF,r)&&(d.classes[0]="mord")},{node:a},L,x),S8(he,(d,m)=>{var r=h3(m),t=h3(d),s=r&&t?d.hasClass("mtight")?sF[r][t]:oF[r][t]:null;if(s)return ca.makeGlue(s,p)},{node:a},L,x),he},S8=function i(y,R,Y,oe,he){oe&&y.push(oe);for(var B=0;BL=>{y.splice(a+1,0,L),B++})(B)}oe&&y.pop()},VT=function(y){return y instanceof Hp||y instanceof F4||y instanceof Vp&&y.hasClass("enclosing")?y:null},hF=function i(y,R){var Y=VT(y);if(Y){var oe=Y.children;if(oe.length){if(R==="right")return i(oe[oe.length-1],"right");if(R==="left")return i(oe[0],"left")}}return y},h3=function(y,R){return y?(R&&(y=hF(y,R)),cF[y.classes[0]]||null):null},kp=function(y,R){var Y=["nulldelimiter"].concat(y.baseSizingClasses());return Dh(R.concat(Y))},Jo=function(y,R,Y){if(!y)return Dh();if(Fg[y.type]){var oe=Fg[y.type](y,R);if(Y&&R.size!==Y.size){oe=Dh(R.sizingClasses(Y),[oe],R);var he=R.sizeMultiplier/Y.sizeMultiplier;oe.height*=he,oe.depth*=he}return oe}else throw new ti("Got group of unknown type: '"+y.type+"'")};function _m(i,y){var R=Dh(["base"],i,y),Y=Dh(["strut"]);return Y.style.height=mi(R.height+R.depth),R.depth&&(Y.style.verticalAlign=mi(-R.depth)),R.children.unshift(Y),R}function d3(i,y){var R=null;i.length===1&&i[0].type==="tag"&&(R=i[0].tag,i=i[0].body);var Y=pu(i,y,"root"),oe;Y.length===2&&Y[1].hasClass("tag")&&(oe=Y.pop());for(var he=[],B=[],O=0;O0&&(he.push(_m(B,y)),B=[]),he.push(Y[O]));B.length>0&&he.push(_m(B,y));var p;R?(p=_m(pu(R,y,!0)),p.classes=["tag"],he.push(p)):oe&&he.push(oe);var E=Dh(["katex-html"],he);if(E.setAttribute("aria-hidden","true"),p){var a=p.children[0];a.style.height=mi(E.height+E.depth),E.depth&&(a.style.verticalAlign=mi(-E.depth))}return E}function GT(i){return new Hp(i)}class a0{constructor(y,R,Y){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=y,this.attributes={},this.children=R||[],this.classes=Y||[]}setAttribute(y,R){this.attributes[y]=R}getAttribute(y){return this.attributes[y]}toNode(){var y=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&y.setAttribute(R,this.attributes[R]);this.classes.length>0&&(y.className=yd(this.classes));for(var Y=0;Y0&&(y+=' class ="'+Ki.escape(yd(this.classes))+'"'),y+=">";for(var Y=0;Y",y}toText(){return this.children.map(y=>y.toText()).join("")}}class op{constructor(y){this.text=void 0,this.text=y}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ki.escape(this.toText())}toText(){return this.text}}class dF{constructor(y){this.width=void 0,this.character=void 0,this.width=y,y>=.05555&&y<=.05556?this.character=" ":y>=.1666&&y<=.1667?this.character=" ":y>=.2222&&y<=.2223?this.character=" ":y>=.2777&&y<=.2778?this.character=" ":y>=-.05556&&y<=-.05555?this.character=" ":y>=-.1667&&y<=-.1666?this.character=" ":y>=-.2223&&y<=-.2222?this.character=" ":y>=-.2778&&y<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var y=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return y.setAttribute("width",mi(this.width)),y}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Ja={MathNode:a0,TextNode:op,SpaceNode:dF,newDocumentFragment:GT},h0=function(y,R,Y){return Vs[R][y]&&Vs[R][y].replace&&y.charCodeAt(0)!==55349&&!(BT.hasOwnProperty(y)&&Y&&(Y.fontFamily&&Y.fontFamily.slice(4,6)==="tt"||Y.font&&Y.font.slice(4,6)==="tt"))&&(y=Vs[R][y].replace),new Ja.TextNode(y)},O4=function(y){return y.length===1?y[0]:new Ja.MathNode("mrow",y)},_4=function(y,R){if(R.fontFamily==="texttt")return"monospace";if(R.fontFamily==="textsf")return R.fontShape==="textit"&&R.fontWeight==="textbf"?"sans-serif-bold-italic":R.fontShape==="textit"?"sans-serif-italic":R.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(R.fontShape==="textit"&&R.fontWeight==="textbf")return"bold-italic";if(R.fontShape==="textit")return"italic";if(R.fontWeight==="textbf")return"bold";var Y=R.font;if(!Y||Y==="mathnormal")return null;var oe=y.mode;if(Y==="mathit")return"italic";if(Y==="boldsymbol")return y.type==="textord"?"bold":"bold-italic";if(Y==="mathbf")return"bold";if(Y==="mathbb")return"double-struck";if(Y==="mathfrak")return"fraktur";if(Y==="mathscr"||Y==="mathcal")return"script";if(Y==="mathsf")return"sans-serif";if(Y==="mathtt")return"monospace";var he=y.text;if(Ki.contains(["\\imath","\\jmath"],he))return null;Vs[oe][he]&&Vs[oe][he].replace&&(he=Vs[oe][he].replace);var B=ca.fontMap[Y].fontName;return z4(he,B,oe)?ca.fontMap[Y].variant:null},yc=function(y,R,Y){if(y.length===1){var oe=Rs(y[0],R);return Y&&oe instanceof a0&&oe.type==="mo"&&(oe.setAttribute("lspace","0em"),oe.setAttribute("rspace","0em")),[oe]}for(var he=[],B,O=0;O0&&(a.text=a.text.slice(0,1)+"̸"+a.text.slice(1),he.pop())}}}he.push(e),B=e}return he},bd=function(y,R,Y){return O4(yc(y,R,Y))},Rs=function(y,R){if(!y)return new Ja.MathNode("mrow");if(Bg[y.type]){var Y=Bg[y.type](y,R);return Y}else throw new ti("Got group of unknown type: '"+y.type+"'")};function M8(i,y,R,Y,oe){var he=yc(i,R),B;he.length===1&&he[0]instanceof a0&&Ki.contains(["mrow","mtable"],he[0].type)?B=he[0]:B=new Ja.MathNode("mrow",he);var O=new Ja.MathNode("annotation",[new Ja.TextNode(y)]);O.setAttribute("encoding","application/x-tex");var e=new Ja.MathNode("semantics",[B,O]),p=new Ja.MathNode("math",[e]);p.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),Y&&p.setAttribute("display","block");var E=oe?"katex":"katex-mathml";return ca.makeSpan([E],[p])}var WT=function(y){return new xh({style:y.displayMode?Zi.DISPLAY:Zi.TEXT,maxSize:y.maxSize,minRuleThickness:y.minRuleThickness})},YT=function(y,R){if(R.displayMode){var Y=["katex-display"];R.leqno&&Y.push("leqno"),R.fleqn&&Y.push("fleqn"),y=ca.makeSpan(Y,[y])}return y},vF=function(y,R,Y){var oe=WT(Y),he;if(Y.output==="mathml")return M8(y,R,oe,Y.displayMode,!0);if(Y.output==="html"){var B=d3(y,oe);he=ca.makeSpan(["katex"],[B])}else{var O=M8(y,R,oe,Y.displayMode,!1),e=d3(y,oe);he=ca.makeSpan(["katex"],[O,e])}return YT(he,Y)},pF=function(y,R,Y){var oe=WT(Y),he=d3(y,oe),B=ca.makeSpan(["katex"],[he]);return YT(B,Y)},mF={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},gF=function(y){var R=new Ja.MathNode("mo",[new Ja.TextNode(mF[y.replace(/^\\/,"")])]);return R.setAttribute("stretchy","true"),R},yF={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]},xF=function(y){return y.type==="ordgroup"?y.body.length:1},bF=function(y,R){function Y(){var O=4e5,e=y.label.slice(1);if(Ki.contains(["widehat","widecheck","widetilde","utilde"],e)){var p=y,E=xF(p.base),a,L,x;if(E>5)e==="widehat"||e==="widecheck"?(a=420,O=2364,x=.42,L=e+"4"):(a=312,O=2340,x=.34,L="tilde4");else{var d=[1,1,2,2,3,3][E];e==="widehat"||e==="widecheck"?(O=[0,1062,2364,2364,2364][d],a=[0,239,300,360,420][d],x=[0,.24,.3,.3,.36,.42][d],L=e+d):(O=[0,600,1033,2339,2340][d],a=[0,260,286,306,312][d],x=[0,.26,.286,.3,.306,.34][d],L="tilde"+d)}var m=new xd(L),r=new Ph([m],{width:"100%",height:mi(x),viewBox:"0 0 "+O+" "+a,preserveAspectRatio:"none"});return{span:ca.makeSvgSpan([],[r],R),minWidth:0,height:x}}else{var t=[],s=yF[e],[n,f,c]=s,u=c/1e3,b=n.length,h,S;if(b===1){var v=s[3];h=["hide-tail"],S=[v]}else if(b===2)h=["halfarrow-left","halfarrow-right"],S=["xMinYMin","xMaxYMin"];else if(b===3)h=["brace-left","brace-center","brace-right"],S=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
- `+b+" children.");for(var l=0;l0&&(oe.style.minWidth=mi(he)),oe},wF=function(y,R,Y,oe,he){var B,O=y.height+y.depth+Y+oe;if(/fbox|color|angl/.test(R)){if(B=ca.makeSpan(["stretchy",R],[],he),R==="fbox"){var e=he.color&&he.getColor();e&&(B.style.borderColor=e)}}else{var p=[];/^[bx]cancel$/.test(R)&&p.push(new f3({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(R)&&p.push(new f3({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var E=new Ph(p,{width:"100%",height:mi(O)});B=ca.makeSvgSpan([],[E],he)}return B.height=O,B.style.height=mi(O),B},Rh={encloseSpan:wF,mathMLnode:gF,svgSpan:bF};function To(i,y){if(!i||i.type!==y)throw new Error("Expected node of type "+y+", but got "+(i?"node of type "+i.type:String(i)));return i}function N4(i){var y=by(i);if(!y)throw new Error("Expected node of symbol group type, but got "+(i?"node of type "+i.type:String(i)));return y}function by(i){return i&&(i.type==="atom"||Zz.hasOwnProperty(i.type))?i:null}var U4=(i,y)=>{var R,Y,oe;i&&i.type==="supsub"?(Y=To(i.base,"accent"),R=Y.base,i.base=R,oe=Wz(Jo(i,y)),i.base=Y):(Y=To(i,"accent"),R=Y.base);var he=Jo(R,y.havingCrampedStyle()),B=Y.isShifty&&Ki.isCharacterBox(R),O=0;if(B){var e=Ki.getBaseElem(R),p=Jo(e,y.havingCrampedStyle());O=y8(p).skew}var E=Y.label==="\\c",a=E?he.height+he.depth:Math.min(he.height,y.fontMetrics().xHeight),L;if(Y.isStretchy)L=Rh.svgSpan(Y,y),L=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:he},{type:"elem",elem:L,wrapperClasses:["svg-align"],wrapperStyle:O>0?{width:"calc(100% - "+mi(2*O)+")",marginLeft:mi(2*O)}:void 0}]},y);else{var x,d;Y.label==="\\vec"?(x=ca.staticSvg("vec",y),d=ca.svgData.vec[1]):(x=ca.makeOrd({mode:Y.mode,text:Y.label},y,"textord"),x=y8(x),x.italic=0,d=x.width,E&&(a+=x.depth)),L=ca.makeSpan(["accent-body"],[x]);var m=Y.label==="\\textcircled";m&&(L.classes.push("accent-full"),a=he.height);var r=O;m||(r-=d/2),L.style.left=mi(r),Y.label==="\\textcircled"&&(L.style.top=".2em"),L=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:he},{type:"kern",size:-a},{type:"elem",elem:L}]},y)}var t=ca.makeSpan(["mord","accent"],[L],y);return oe?(oe.children[0]=t,oe.height=Math.max(t.height,oe.height),oe.classes[0]="mord",oe):t},ZT=(i,y)=>{var R=i.isStretchy?Rh.mathMLnode(i.label):new Ja.MathNode("mo",[h0(i.label,i.mode)]),Y=new Ja.MathNode("mover",[Rs(i.base,y),R]);return Y.setAttribute("accent","true"),Y},TF=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(i=>"\\"+i).join("|"));Mi({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:(i,y)=>{var R=Og(y[0]),Y=!TF.test(i.funcName),oe=!Y||i.funcName==="\\widehat"||i.funcName==="\\widetilde"||i.funcName==="\\widecheck";return{type:"accent",mode:i.parser.mode,label:i.funcName,isStretchy:Y,isShifty:oe,base:R}},htmlBuilder:U4,mathmlBuilder:ZT});Mi({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(i,y)=>{var R=y[0],Y=i.parser.mode;return Y==="math"&&(i.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+i.funcName+" works only in text mode"),Y="text"),{type:"accent",mode:Y,label:i.funcName,isStretchy:!1,isShifty:!0,base:R}},htmlBuilder:U4,mathmlBuilder:ZT});Mi({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0];return{type:"accentUnder",mode:R.mode,label:Y,base:oe}},htmlBuilder:(i,y)=>{var R=Jo(i.base,y),Y=Rh.svgSpan(i,y),oe=i.label==="\\utilde"?.12:0,he=ca.makeVList({positionType:"top",positionData:R.height,children:[{type:"elem",elem:Y,wrapperClasses:["svg-align"]},{type:"kern",size:oe},{type:"elem",elem:R}]},y);return ca.makeSpan(["mord","accentunder"],[he],y)},mathmlBuilder:(i,y)=>{var R=Rh.mathMLnode(i.label),Y=new Ja.MathNode("munder",[Rs(i.base,y),R]);return Y.setAttribute("accentunder","true"),Y}});var Nm=i=>{var y=new Ja.MathNode("mpadded",i?[i]:[]);return y.setAttribute("width","+0.6em"),y.setAttribute("lspace","0.3em"),y};Mi({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(i,y,R){var{parser:Y,funcName:oe}=i;return{type:"xArrow",mode:Y.mode,label:oe,body:y[0],below:R[0]}},htmlBuilder(i,y){var R=y.style,Y=y.havingStyle(R.sup()),oe=ca.wrapFragment(Jo(i.body,Y,y),y),he=i.label.slice(0,2)==="\\x"?"x":"cd";oe.classes.push(he+"-arrow-pad");var B;i.below&&(Y=y.havingStyle(R.sub()),B=ca.wrapFragment(Jo(i.below,Y,y),y),B.classes.push(he+"-arrow-pad"));var O=Rh.svgSpan(i,y),e=-y.fontMetrics().axisHeight+.5*O.height,p=-y.fontMetrics().axisHeight-.5*O.height-.111;(oe.depth>.25||i.label==="\\xleftequilibrium")&&(p-=oe.depth);var E;if(B){var a=-y.fontMetrics().axisHeight+B.height+.5*O.height+.111;E=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:oe,shift:p},{type:"elem",elem:O,shift:e},{type:"elem",elem:B,shift:a}]},y)}else E=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:oe,shift:p},{type:"elem",elem:O,shift:e}]},y);return E.children[0].children[0].children[1].classes.push("svg-align"),ca.makeSpan(["mrel","x-arrow"],[E],y)},mathmlBuilder(i,y){var R=Rh.mathMLnode(i.label);R.setAttribute("minsize",i.label.charAt(0)==="x"?"1.75em":"3.0em");var Y;if(i.body){var oe=Nm(Rs(i.body,y));if(i.below){var he=Nm(Rs(i.below,y));Y=new Ja.MathNode("munderover",[R,he,oe])}else Y=new Ja.MathNode("mover",[R,oe])}else if(i.below){var B=Nm(Rs(i.below,y));Y=new Ja.MathNode("munder",[R,B])}else Y=Nm(),Y=new Ja.MathNode("mover",[R,Y]);return Y}});var AF=ca.makeSpan;function jT(i,y){var R=pu(i.body,y,!0);return AF([i.mclass],R,y)}function XT(i,y){var R,Y=yc(i.body,y);return i.mclass==="minner"?R=new Ja.MathNode("mpadded",Y):i.mclass==="mord"?i.isCharacterBox?(R=Y[0],R.type="mi"):R=new Ja.MathNode("mi",Y):(i.isCharacterBox?(R=Y[0],R.type="mo"):R=new Ja.MathNode("mo",Y),i.mclass==="mbin"?(R.attributes.lspace="0.22em",R.attributes.rspace="0.22em"):i.mclass==="mpunct"?(R.attributes.lspace="0em",R.attributes.rspace="0.17em"):i.mclass==="mopen"||i.mclass==="mclose"?(R.attributes.lspace="0em",R.attributes.rspace="0em"):i.mclass==="minner"&&(R.attributes.lspace="0.0556em",R.attributes.width="+0.1111em")),R}Mi({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];return{type:"mclass",mode:R.mode,mclass:"m"+Y.slice(5),body:Gl(oe),isCharacterBox:Ki.isCharacterBox(oe)}},htmlBuilder:jT,mathmlBuilder:XT});var wy=i=>{var y=i.type==="ordgroup"&&i.body.length?i.body[0]:i;return y.type==="atom"&&(y.family==="bin"||y.family==="rel")?"m"+y.family:"mord"};Mi({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(i,y){var{parser:R}=i;return{type:"mclass",mode:R.mode,mclass:wy(y[0]),body:Gl(y[1]),isCharacterBox:Ki.isCharacterBox(y[1])}}});Mi({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[1],he=y[0],B;Y!=="\\stackrel"?B=wy(oe):B="mrel";var O={type:"op",mode:oe.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Y!=="\\stackrel",body:Gl(oe)},e={type:"supsub",mode:he.mode,base:O,sup:Y==="\\underset"?null:he,sub:Y==="\\underset"?he:null};return{type:"mclass",mode:R.mode,mclass:B,body:[e],isCharacterBox:Ki.isCharacterBox(e)}},htmlBuilder:jT,mathmlBuilder:XT});Mi({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(i,y){var{parser:R}=i;return{type:"pmb",mode:R.mode,mclass:wy(y[0]),body:Gl(y[0])}},htmlBuilder(i,y){var R=pu(i.body,y,!0),Y=ca.makeSpan([i.mclass],R,y);return Y.style.textShadow="0.02em 0.01em 0.04px",Y},mathmlBuilder(i,y){var R=yc(i.body,y),Y=new Ja.MathNode("mstyle",R);return Y.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),Y}});var SF={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},C8=()=>({type:"styling",body:[],mode:"math",style:"display"}),E8=i=>i.type==="textord"&&i.text==="@",MF=(i,y)=>(i.type==="mathord"||i.type==="atom")&&i.text===y;function CF(i,y,R){var Y=SF[i];switch(Y){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return R.callFunction(Y,[y[0]],[y[1]]);case"\\uparrow":case"\\downarrow":{var oe=R.callFunction("\\\\cdleft",[y[0]],[]),he={type:"atom",text:Y,mode:"math",family:"rel"},B=R.callFunction("\\Big",[he],[]),O=R.callFunction("\\\\cdright",[y[1]],[]),e={type:"ordgroup",mode:"math",body:[oe,B,O]};return R.callFunction("\\\\cdparent",[e],[])}case"\\\\cdlongequal":return R.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var p={type:"textord",text:"\\Vert",mode:"math"};return R.callFunction("\\Big",[p],[])}default:return{type:"textord",text:" ",mode:"math"}}}function EF(i){var y=[];for(i.gullet.beginGroup(),i.gullet.macros.set("\\cr","\\\\\\relax"),i.gullet.beginGroup();;){y.push(i.parseExpression(!1,"\\\\")),i.gullet.endGroup(),i.gullet.beginGroup();var R=i.fetch().text;if(R==="&"||R==="\\\\")i.consume();else if(R==="\\end"){y[y.length-1].length===0&&y.pop();break}else throw new ti("Expected \\\\ or \\cr or \\end",i.nextToken)}for(var Y=[],oe=[Y],he=0;he-1))if("<>AV".indexOf(p)>-1)for(var a=0;a<2;a++){for(var L=!0,x=e+1;xAV=|." after @',B[e]);var d=CF(p,E,i),m={type:"styling",body:[d],mode:"math",style:"display"};Y.push(m),O=C8()}he%2===0?Y.push(O):Y.shift(),Y=[],oe.push(Y)}i.gullet.endGroup(),i.gullet.endGroup();var r=new Array(oe[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:oe,arraystretch:1,addJot:!0,rowGaps:[null],cols:r,colSeparationType:"CD",hLinesBeforeRow:new Array(oe.length+1).fill([])}}Mi({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(i,y){var{parser:R,funcName:Y}=i;return{type:"cdlabel",mode:R.mode,side:Y.slice(4),label:y[0]}},htmlBuilder(i,y){var R=y.havingStyle(y.style.sup()),Y=ca.wrapFragment(Jo(i.label,R,y),y);return Y.classes.push("cd-label-"+i.side),Y.style.bottom=mi(.8-Y.depth),Y.height=0,Y.depth=0,Y},mathmlBuilder(i,y){var R=new Ja.MathNode("mrow",[Rs(i.label,y)]);return R=new Ja.MathNode("mpadded",[R]),R.setAttribute("width","0"),i.side==="left"&&R.setAttribute("lspace","-1width"),R.setAttribute("voffset","0.7em"),R=new Ja.MathNode("mstyle",[R]),R.setAttribute("displaystyle","false"),R.setAttribute("scriptlevel","1"),R}});Mi({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(i,y){var{parser:R}=i;return{type:"cdlabelparent",mode:R.mode,fragment:y[0]}},htmlBuilder(i,y){var R=ca.wrapFragment(Jo(i.fragment,y),y);return R.classes.push("cd-vert-arrow"),R},mathmlBuilder(i,y){return new Ja.MathNode("mrow",[Rs(i.fragment,y)])}});Mi({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(i,y){for(var{parser:R}=i,Y=To(y[0],"ordgroup"),oe=Y.body,he="",B=0;B=1114111)throw new ti("\\@char with invalid code point "+he);return e<=65535?p=String.fromCharCode(e):(e-=65536,p=String.fromCharCode((e>>10)+55296,(e&1023)+56320)),{type:"textord",mode:R.mode,text:p}}});var $T=(i,y)=>{var R=pu(i.body,y.withColor(i.color),!1);return ca.makeFragment(R)},KT=(i,y)=>{var R=yc(i.body,y.withColor(i.color)),Y=new Ja.MathNode("mstyle",R);return Y.setAttribute("mathcolor",i.color),Y};Mi({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(i,y){var{parser:R}=i,Y=To(y[0],"color-token").color,oe=y[1];return{type:"color",mode:R.mode,color:Y,body:Gl(oe)}},htmlBuilder:$T,mathmlBuilder:KT});Mi({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(i,y){var{parser:R,breakOnTokenText:Y}=i,oe=To(y[0],"color-token").color;R.gullet.macros.set("\\current@color",oe);var he=R.parseExpression(!0,Y);return{type:"color",mode:R.mode,color:oe,body:he}},htmlBuilder:$T,mathmlBuilder:KT});Mi({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(i,y,R){var{parser:Y}=i,oe=Y.gullet.future().text==="["?Y.parseSizeGroup(!0):null,he=!Y.settings.displayMode||!Y.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:Y.mode,newLine:he,size:oe&&To(oe,"size").value}},htmlBuilder(i,y){var R=ca.makeSpan(["mspace"],[],y);return i.newLine&&(R.classes.push("newline"),i.size&&(R.style.marginTop=mi(dl(i.size,y)))),R},mathmlBuilder(i,y){var R=new Ja.MathNode("mspace");return i.newLine&&(R.setAttribute("linebreak","newline"),i.size&&R.setAttribute("height",mi(dl(i.size,y)))),R}});var v3={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},JT=i=>{var y=i.text;if(/^(?:[\\{}$^_]|EOF)$/.test(y))throw new ti("Expected a control sequence",i);return y},kF=i=>{var y=i.gullet.popToken();return y.text==="="&&(y=i.gullet.popToken(),y.text===" "&&(y=i.gullet.popToken())),y},QT=(i,y,R,Y)=>{var oe=i.gullet.macros.get(R.text);oe==null&&(R.noexpand=!0,oe={tokens:[R],numArgs:0,unexpandable:!i.gullet.isExpandable(R.text)}),i.gullet.macros.set(y,oe,Y)};Mi({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:y,funcName:R}=i;y.consumeSpaces();var Y=y.fetch();if(v3[Y.text])return(R==="\\global"||R==="\\\\globallong")&&(Y.text=v3[Y.text]),To(y.parseFunction(),"internal");throw new ti("Invalid token after macro prefix",Y)}});Mi({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:y,funcName:R}=i,Y=y.gullet.popToken(),oe=Y.text;if(/^(?:[\\{}$^_]|EOF)$/.test(oe))throw new ti("Expected a control sequence",Y);for(var he=0,B,O=[[]];y.gullet.future().text!=="{";)if(Y=y.gullet.popToken(),Y.text==="#"){if(y.gullet.future().text==="{"){B=y.gullet.future(),O[he].push("{");break}if(Y=y.gullet.popToken(),!/^[1-9]$/.test(Y.text))throw new ti('Invalid argument number "'+Y.text+'"');if(parseInt(Y.text)!==he+1)throw new ti('Argument number "'+Y.text+'" out of order');he++,O.push([])}else{if(Y.text==="EOF")throw new ti("Expected a macro definition");O[he].push(Y.text)}var{tokens:e}=y.gullet.consumeArg();return B&&e.unshift(B),(R==="\\edef"||R==="\\xdef")&&(e=y.gullet.expandTokens(e),e.reverse()),y.gullet.macros.set(oe,{tokens:e,numArgs:he,delimiters:O},R===v3[R]),{type:"internal",mode:y.mode}}});Mi({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:y,funcName:R}=i,Y=JT(y.gullet.popToken());y.gullet.consumeSpaces();var oe=kF(y);return QT(y,Y,oe,R==="\\\\globallet"),{type:"internal",mode:y.mode}}});Mi({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:y,funcName:R}=i,Y=JT(y.gullet.popToken()),oe=y.gullet.popToken(),he=y.gullet.popToken();return QT(y,Y,he,R==="\\\\globalfuture"),y.gullet.pushToken(he),y.gullet.pushToken(oe),{type:"internal",mode:y.mode}}});var X1=function(y,R,Y){var oe=Vs.math[y]&&Vs.math[y].replace,he=z4(oe||y,R,Y);if(!he)throw new Error("Unsupported symbol "+y+" and font size "+R+".");return he},H4=function(y,R,Y,oe){var he=Y.havingBaseStyle(R),B=ca.makeSpan(oe.concat(he.sizingClasses(Y)),[y],Y),O=he.sizeMultiplier/Y.sizeMultiplier;return B.height*=O,B.depth*=O,B.maxFontSize=he.sizeMultiplier,B},qT=function(y,R,Y){var oe=R.havingBaseStyle(Y),he=(1-R.sizeMultiplier/oe.sizeMultiplier)*R.fontMetrics().axisHeight;y.classes.push("delimcenter"),y.style.top=mi(he),y.height-=he,y.depth+=he},LF=function(y,R,Y,oe,he,B){var O=ca.makeSymbol(y,"Main-Regular",he,oe),e=H4(O,R,oe,B);return Y&&qT(e,oe,R),e},PF=function(y,R,Y,oe){return ca.makeSymbol(y,"Size"+R+"-Regular",Y,oe)},eA=function(y,R,Y,oe,he,B){var O=PF(y,R,he,oe),e=H4(ca.makeSpan(["delimsizing","size"+R],[O],oe),Zi.TEXT,oe,B);return Y&&qT(e,oe,Zi.TEXT),e},Z2=function(y,R,Y){var oe;R==="Size1-Regular"?oe="delim-size1":oe="delim-size4";var he=ca.makeSpan(["delimsizinginner",oe],[ca.makeSpan([],[ca.makeSymbol(y,R,Y)])]);return{type:"elem",elem:he}},j2=function(y,R,Y){var oe=$0["Size4-Regular"][y.charCodeAt(0)]?$0["Size4-Regular"][y.charCodeAt(0)][4]:$0["Size1-Regular"][y.charCodeAt(0)][4],he=new xd("inner",Bz(y,Math.round(1e3*R))),B=new Ph([he],{width:mi(oe),height:mi(R),style:"width:"+mi(oe),viewBox:"0 0 "+1e3*oe+" "+Math.round(1e3*R),preserveAspectRatio:"xMinYMin"}),O=ca.makeSvgSpan([],[B],Y);return O.height=R,O.style.height=mi(R),O.style.width=mi(oe),{type:"elem",elem:O}},p3=.008,Um={type:"kern",size:-1*p3},DF=["|","\\lvert","\\rvert","\\vert"],RF=["\\|","\\lVert","\\rVert","\\Vert"],tA=function(y,R,Y,oe,he,B){var O,e,p,E,a="",L=0;O=p=E=y,e=null;var x="Size1-Regular";y==="\\uparrow"?p=E="⏐":y==="\\Uparrow"?p=E="‖":y==="\\downarrow"?O=p="⏐":y==="\\Downarrow"?O=p="‖":y==="\\updownarrow"?(O="\\uparrow",p="⏐",E="\\downarrow"):y==="\\Updownarrow"?(O="\\Uparrow",p="‖",E="\\Downarrow"):Ki.contains(DF,y)?(p="∣",a="vert",L=333):Ki.contains(RF,y)?(p="∥",a="doublevert",L=556):y==="["||y==="\\lbrack"?(O="⎡",p="⎢",E="⎣",x="Size4-Regular",a="lbrack",L=667):y==="]"||y==="\\rbrack"?(O="⎤",p="⎥",E="⎦",x="Size4-Regular",a="rbrack",L=667):y==="\\lfloor"||y==="⌊"?(p=O="⎢",E="⎣",x="Size4-Regular",a="lfloor",L=667):y==="\\lceil"||y==="⌈"?(O="⎡",p=E="⎢",x="Size4-Regular",a="lceil",L=667):y==="\\rfloor"||y==="⌋"?(p=O="⎥",E="⎦",x="Size4-Regular",a="rfloor",L=667):y==="\\rceil"||y==="⌉"?(O="⎤",p=E="⎥",x="Size4-Regular",a="rceil",L=667):y==="("||y==="\\lparen"?(O="⎛",p="⎜",E="⎝",x="Size4-Regular",a="lparen",L=875):y===")"||y==="\\rparen"?(O="⎞",p="⎟",E="⎠",x="Size4-Regular",a="rparen",L=875):y==="\\{"||y==="\\lbrace"?(O="⎧",e="⎨",E="⎩",p="⎪",x="Size4-Regular"):y==="\\}"||y==="\\rbrace"?(O="⎫",e="⎬",E="⎭",p="⎪",x="Size4-Regular"):y==="\\lgroup"||y==="⟮"?(O="⎧",E="⎩",p="⎪",x="Size4-Regular"):y==="\\rgroup"||y==="⟯"?(O="⎫",E="⎭",p="⎪",x="Size4-Regular"):y==="\\lmoustache"||y==="⎰"?(O="⎧",E="⎭",p="⎪",x="Size4-Regular"):(y==="\\rmoustache"||y==="⎱")&&(O="⎫",E="⎩",p="⎪",x="Size4-Regular");var d=X1(O,x,he),m=d.height+d.depth,r=X1(p,x,he),t=r.height+r.depth,s=X1(E,x,he),n=s.height+s.depth,f=0,c=1;if(e!==null){var u=X1(e,x,he);f=u.height+u.depth,c=2}var b=m+n+f,h=Math.max(0,Math.ceil((R-b)/(c*t))),S=b+h*c*t,v=oe.fontMetrics().axisHeight;Y&&(v*=oe.sizeMultiplier);var l=S/2-v,g=[];if(a.length>0){var C=S-m-n,M=Math.round(S*1e3),D=Oz(a,Math.round(C*1e3)),T=new xd(a,D),P=(L/1e3).toFixed(3)+"em",A=(M/1e3).toFixed(3)+"em",o=new Ph([T],{width:P,height:A,viewBox:"0 0 "+L+" "+M}),k=ca.makeSvgSpan([],[o],oe);k.height=M/1e3,k.style.width=P,k.style.height=A,g.push({type:"elem",elem:k})}else{if(g.push(Z2(E,x,he)),g.push(Um),e===null){var w=S-m-n+2*p3;g.push(j2(p,w,oe))}else{var U=(S-m-n-f)/2+2*p3;g.push(j2(p,U,oe)),g.push(Um),g.push(Z2(e,x,he)),g.push(Um),g.push(j2(p,U,oe))}g.push(Um),g.push(Z2(O,x,he))}var F=oe.havingBaseStyle(Zi.TEXT),G=ca.makeVList({positionType:"bottom",positionData:l,children:g},F);return H4(ca.makeSpan(["delimsizing","mult"],[G],F),Zi.TEXT,oe,B)},X2=80,$2=.08,K2=function(y,R,Y,oe,he){var B=Fz(y,oe,Y),O=new xd(y,B),e=new Ph([O],{width:"400em",height:mi(R),viewBox:"0 0 400000 "+Y,preserveAspectRatio:"xMinYMin slice"});return ca.makeSvgSpan(["hide-tail"],[e],he)},IF=function(y,R){var Y=R.havingBaseSizing(),oe=iA("\\surd",y*Y.sizeMultiplier,aA,Y),he=Y.sizeMultiplier,B=Math.max(0,R.minRuleThickness-R.fontMetrics().sqrtRuleThickness),O,e=0,p=0,E=0,a;return oe.type==="small"?(E=1e3+1e3*B+X2,y<1?he=1:y<1.4&&(he=.7),e=(1+B+$2)/he,p=(1+B)/he,O=K2("sqrtMain",e,E,B,R),O.style.minWidth="0.853em",a=.833/he):oe.type==="large"?(E=(1e3+X2)*sp[oe.size],p=(sp[oe.size]+B)/he,e=(sp[oe.size]+B+$2)/he,O=K2("sqrtSize"+oe.size,e,E,B,R),O.style.minWidth="1.02em",a=1/he):(e=y+B+$2,p=y+B,E=Math.floor(1e3*y+B)+X2,O=K2("sqrtTall",e,E,B,R),O.style.minWidth="0.742em",a=1.056),O.height=p,O.style.height=mi(e),{span:O,advanceWidth:a,ruleWidth:(R.fontMetrics().sqrtRuleThickness+B)*he}},rA=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],zF=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],nA=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],sp=[0,1.2,1.8,2.4,3],FF=function(y,R,Y,oe,he){if(y==="<"||y==="\\lt"||y==="⟨"?y="\\langle":(y===">"||y==="\\gt"||y==="⟩")&&(y="\\rangle"),Ki.contains(rA,y)||Ki.contains(nA,y))return eA(y,R,!1,Y,oe,he);if(Ki.contains(zF,y))return tA(y,sp[R],!1,Y,oe,he);throw new ti("Illegal delimiter: '"+y+"'")},BF=[{type:"small",style:Zi.SCRIPTSCRIPT},{type:"small",style:Zi.SCRIPT},{type:"small",style:Zi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],OF=[{type:"small",style:Zi.SCRIPTSCRIPT},{type:"small",style:Zi.SCRIPT},{type:"small",style:Zi.TEXT},{type:"stack"}],aA=[{type:"small",style:Zi.SCRIPTSCRIPT},{type:"small",style:Zi.SCRIPT},{type:"small",style:Zi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],_F=function(y){if(y.type==="small")return"Main-Regular";if(y.type==="large")return"Size"+y.size+"-Regular";if(y.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+y.type+"' here.")},iA=function(y,R,Y,oe){for(var he=Math.min(2,3-oe.style.size),B=he;BR)return Y[B]}return Y[Y.length-1]},oA=function(y,R,Y,oe,he,B){y==="<"||y==="\\lt"||y==="⟨"?y="\\langle":(y===">"||y==="\\gt"||y==="⟩")&&(y="\\rangle");var O;Ki.contains(nA,y)?O=BF:Ki.contains(rA,y)?O=aA:O=OF;var e=iA(y,R,O,oe);return e.type==="small"?LF(y,e.style,Y,oe,he,B):e.type==="large"?eA(y,e.size,Y,oe,he,B):tA(y,R,Y,oe,he,B)},NF=function(y,R,Y,oe,he,B){var O=oe.fontMetrics().axisHeight*oe.sizeMultiplier,e=901,p=5/oe.fontMetrics().ptPerEm,E=Math.max(R-O,Y+O),a=Math.max(E/500*e,2*E-p);return oA(y,a,!0,oe,he,B)},Mh={sqrtImage:IF,sizedDelim:FF,sizeToMaxHeight:sp,customSizedDelim:oA,leftRightDelim:NF},k8={"\\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}},UF=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ty(i,y){var R=by(i);if(R&&Ki.contains(UF,R.text))return R;throw R?new ti("Invalid delimiter '"+R.text+"' after '"+y.funcName+"'",i):new ti("Invalid delimiter type '"+i.type+"'",i)}Mi({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:(i,y)=>{var R=Ty(y[0],i);return{type:"delimsizing",mode:i.parser.mode,size:k8[i.funcName].size,mclass:k8[i.funcName].mclass,delim:R.text}},htmlBuilder:(i,y)=>i.delim==="."?ca.makeSpan([i.mclass]):Mh.sizedDelim(i.delim,i.size,y,i.mode,[i.mclass]),mathmlBuilder:i=>{var y=[];i.delim!=="."&&y.push(h0(i.delim,i.mode));var R=new Ja.MathNode("mo",y);i.mclass==="mopen"||i.mclass==="mclose"?R.setAttribute("fence","true"):R.setAttribute("fence","false"),R.setAttribute("stretchy","true");var Y=mi(Mh.sizeToMaxHeight[i.size]);return R.setAttribute("minsize",Y),R.setAttribute("maxsize",Y),R}});function L8(i){if(!i.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Mi({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var R=i.parser.gullet.macros.get("\\current@color");if(R&&typeof R!="string")throw new ti("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:i.parser.mode,delim:Ty(y[0],i).text,color:R}}});Mi({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var R=Ty(y[0],i),Y=i.parser;++Y.leftrightDepth;var oe=Y.parseExpression(!1);--Y.leftrightDepth,Y.expect("\\right",!1);var he=To(Y.parseFunction(),"leftright-right");return{type:"leftright",mode:Y.mode,body:oe,left:R.text,right:he.delim,rightColor:he.color}},htmlBuilder:(i,y)=>{L8(i);for(var R=pu(i.body,y,!0,["mopen","mclose"]),Y=0,oe=0,he=!1,B=0;B{L8(i);var R=yc(i.body,y);if(i.left!=="."){var Y=new Ja.MathNode("mo",[h0(i.left,i.mode)]);Y.setAttribute("fence","true"),R.unshift(Y)}if(i.right!=="."){var oe=new Ja.MathNode("mo",[h0(i.right,i.mode)]);oe.setAttribute("fence","true"),i.rightColor&&oe.setAttribute("mathcolor",i.rightColor),R.push(oe)}return O4(R)}});Mi({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var R=Ty(y[0],i);if(!i.parser.leftrightDepth)throw new ti("\\middle without preceding \\left",R);return{type:"middle",mode:i.parser.mode,delim:R.text}},htmlBuilder:(i,y)=>{var R;if(i.delim===".")R=kp(y,[]);else{R=Mh.sizedDelim(i.delim,1,y,i.mode,[]);var Y={delim:i.delim,options:y};R.isMiddle=Y}return R},mathmlBuilder:(i,y)=>{var R=i.delim==="\\vert"||i.delim==="|"?h0("|","text"):h0(i.delim,i.mode),Y=new Ja.MathNode("mo",[R]);return Y.setAttribute("fence","true"),Y.setAttribute("lspace","0.05em"),Y.setAttribute("rspace","0.05em"),Y}});var V4=(i,y)=>{var R=ca.wrapFragment(Jo(i.body,y),y),Y=i.label.slice(1),oe=y.sizeMultiplier,he,B=0,O=Ki.isCharacterBox(i.body);if(Y==="sout")he=ca.makeSpan(["stretchy","sout"]),he.height=y.fontMetrics().defaultRuleThickness/oe,B=-.5*y.fontMetrics().xHeight;else if(Y==="phase"){var e=dl({number:.6,unit:"pt"},y),p=dl({number:.35,unit:"ex"},y),E=y.havingBaseSizing();oe=oe/E.sizeMultiplier;var a=R.height+R.depth+e+p;R.style.paddingLeft=mi(a/2+e);var L=Math.floor(1e3*a*oe),x=Iz(L),d=new Ph([new xd("phase",x)],{width:"400em",height:mi(L/1e3),viewBox:"0 0 400000 "+L,preserveAspectRatio:"xMinYMin slice"});he=ca.makeSvgSpan(["hide-tail"],[d],y),he.style.height=mi(a),B=R.depth+e+p}else{/cancel/.test(Y)?O||R.classes.push("cancel-pad"):Y==="angl"?R.classes.push("anglpad"):R.classes.push("boxpad");var m=0,r=0,t=0;/box/.test(Y)?(t=Math.max(y.fontMetrics().fboxrule,y.minRuleThickness),m=y.fontMetrics().fboxsep+(Y==="colorbox"?0:t),r=m):Y==="angl"?(t=Math.max(y.fontMetrics().defaultRuleThickness,y.minRuleThickness),m=4*t,r=Math.max(0,.25-R.depth)):(m=O?.2:0,r=m),he=Rh.encloseSpan(R,Y,m,r,y),/fbox|boxed|fcolorbox/.test(Y)?(he.style.borderStyle="solid",he.style.borderWidth=mi(t)):Y==="angl"&&t!==.049&&(he.style.borderTopWidth=mi(t),he.style.borderRightWidth=mi(t)),B=R.depth+r,i.backgroundColor&&(he.style.backgroundColor=i.backgroundColor,i.borderColor&&(he.style.borderColor=i.borderColor))}var s;if(i.backgroundColor)s=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:he,shift:B},{type:"elem",elem:R,shift:0}]},y);else{var n=/cancel|phase/.test(Y)?["svg-align"]:[];s=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:R,shift:0},{type:"elem",elem:he,shift:B,wrapperClasses:n}]},y)}return/cancel/.test(Y)&&(s.height=R.height,s.depth=R.depth),/cancel/.test(Y)&&!O?ca.makeSpan(["mord","cancel-lap"],[s],y):ca.makeSpan(["mord"],[s],y)},G4=(i,y)=>{var R=0,Y=new Ja.MathNode(i.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Rs(i.body,y)]);switch(i.label){case"\\cancel":Y.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Y.setAttribute("notation","downdiagonalstrike");break;case"\\phase":Y.setAttribute("notation","phasorangle");break;case"\\sout":Y.setAttribute("notation","horizontalstrike");break;case"\\fbox":Y.setAttribute("notation","box");break;case"\\angl":Y.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(R=y.fontMetrics().fboxsep*y.fontMetrics().ptPerEm,Y.setAttribute("width","+"+2*R+"pt"),Y.setAttribute("height","+"+2*R+"pt"),Y.setAttribute("lspace",R+"pt"),Y.setAttribute("voffset",R+"pt"),i.label==="\\fcolorbox"){var oe=Math.max(y.fontMetrics().fboxrule,y.minRuleThickness);Y.setAttribute("style","border: "+oe+"em solid "+String(i.borderColor))}break;case"\\xcancel":Y.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return i.backgroundColor&&Y.setAttribute("mathbackground",i.backgroundColor),Y};Mi({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(i,y,R){var{parser:Y,funcName:oe}=i,he=To(y[0],"color-token").color,B=y[1];return{type:"enclose",mode:Y.mode,label:oe,backgroundColor:he,body:B}},htmlBuilder:V4,mathmlBuilder:G4});Mi({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(i,y,R){var{parser:Y,funcName:oe}=i,he=To(y[0],"color-token").color,B=To(y[1],"color-token").color,O=y[2];return{type:"enclose",mode:Y.mode,label:oe,backgroundColor:B,borderColor:he,body:O}},htmlBuilder:V4,mathmlBuilder:G4});Mi({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(i,y){var{parser:R}=i;return{type:"enclose",mode:R.mode,label:"\\fbox",body:y[0]}}});Mi({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];return{type:"enclose",mode:R.mode,label:Y,body:oe}},htmlBuilder:V4,mathmlBuilder:G4});Mi({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(i,y){var{parser:R}=i;return{type:"enclose",mode:R.mode,label:"\\angl",body:y[0]}}});var sA={};function th(i){for(var{type:y,names:R,props:Y,handler:oe,htmlBuilder:he,mathmlBuilder:B}=i,O={type:y,numArgs:Y.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:oe},e=0;e{var y=i.parser.settings;if(!y.displayMode)throw new ti("{"+i.envName+"} can be used only in display mode.")};function W4(i){if(i.indexOf("ed")===-1)return i.indexOf("*")===-1}function Md(i,y,R){var{hskipBeforeAndAfter:Y,addJot:oe,cols:he,arraystretch:B,colSeparationType:O,autoTag:e,singleRow:p,emptySingleRow:E,maxNumCols:a,leqno:L}=y;if(i.gullet.beginGroup(),p||i.gullet.macros.set("\\cr","\\\\\\relax"),!B){var x=i.gullet.expandMacroAsText("\\arraystretch");if(x==null)B=1;else if(B=parseFloat(x),!B||B<0)throw new ti("Invalid \\arraystretch: "+x)}i.gullet.beginGroup();var d=[],m=[d],r=[],t=[],s=e!=null?[]:void 0;function n(){e&&i.gullet.macros.set("\\@eqnsw","1",!0)}function f(){s&&(i.gullet.macros.get("\\df@tag")?(s.push(i.subparse([new Q0("\\df@tag")])),i.gullet.macros.set("\\df@tag",void 0,!0)):s.push(!!e&&i.gullet.macros.get("\\@eqnsw")==="1"))}for(n(),t.push(P8(i));;){var c=i.parseExpression(!1,p?"\\end":"\\\\");i.gullet.endGroup(),i.gullet.beginGroup(),c={type:"ordgroup",mode:i.mode,body:c},R&&(c={type:"styling",mode:i.mode,style:R,body:[c]}),d.push(c);var u=i.fetch().text;if(u==="&"){if(a&&d.length===a){if(p||O)throw new ti("Too many tab characters: &",i.nextToken);i.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}i.consume()}else if(u==="\\end"){f(),d.length===1&&c.type==="styling"&&c.body[0].body.length===0&&(m.length>1||!E)&&m.pop(),t.length0&&(n+=.25),p.push({pos:n,isDashed:J[re]})}for(f(B[0]),Y=0;Y0&&(l+=s,bJ))for(Y=0;Y=O)){var V=void 0;(oe>0||y.hskipBeforeAndAfter)&&(V=Ki.deflt(U.pregap,L),V!==0&&(D=ca.makeSpan(["arraycolsep"],[]),D.style.width=mi(V),M.push(D)));var N=[];for(Y=0;Y0){for(var ie=ca.makeLineSpan("hline",R,E),ue=ca.makeLineSpan("hdashline",R,E),pe=[{type:"elem",elem:e,shift:0}];p.length>0;){var q=p.pop(),X=q.pos-g;q.isDashed?pe.push({type:"elem",elem:ue,shift:X}):pe.push({type:"elem",elem:ie,shift:X})}e=ca.makeVList({positionType:"individualShift",children:pe},R)}if(P.length===0)return ca.makeSpan(["mord"],[e],R);var K=ca.makeVList({positionType:"individualShift",children:P},R);return K=ca.makeSpan(["tag"],[K],R),ca.makeFragment([e,K])},HF={c:"center ",l:"left ",r:"right "},nh=function(y,R){for(var Y=[],oe=new Ja.MathNode("mtd",[],["mtr-glue"]),he=new Ja.MathNode("mtd",[],["mml-eqn-num"]),B=0;B0){var d=y.cols,m="",r=!1,t=0,s=d.length;d[0].type==="separator"&&(L+="top ",t=1),d[d.length-1].type==="separator"&&(L+="bottom ",s-=1);for(var n=t;n0?"left ":"",L+=h[h.length-1].length>0?"right ":"";for(var S=1;S-1?"alignat":"align",he=y.envName==="split",B=Md(y.parser,{cols:Y,addJot:!0,autoTag:he?void 0:W4(y.envName),emptySingleRow:!0,colSeparationType:oe,maxNumCols:he?2:void 0,leqno:y.parser.settings.leqno},"display"),O,e=0,p={type:"ordgroup",mode:y.mode,body:[]};if(R[0]&&R[0].type==="ordgroup"){for(var E="",a=0;a0&&x&&(r=1),Y[d]={type:"align",align:m,pregap:r,postgap:0}}return B.colSeparationType=x?"align":"alignat",B};th({type:"array",names:["array","darray"],props:{numArgs:1},handler(i,y){var R=by(y[0]),Y=R?[y[0]]:To(y[0],"ordgroup").body,oe=Y.map(function(B){var O=N4(B),e=O.text;if("lcr".indexOf(e)!==-1)return{type:"align",align:e};if(e==="|")return{type:"separator",separator:"|"};if(e===":")return{type:"separator",separator:":"};throw new ti("Unknown column alignment: "+e,B)}),he={cols:oe,hskipBeforeAndAfter:!0,maxNumCols:oe.length};return Md(i.parser,he,Y4(i.envName))},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(i){var y={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[i.envName.replace("*","")],R="c",Y={hskipBeforeAndAfter:!1,cols:[{type:"align",align:R}]};if(i.envName.charAt(i.envName.length-1)==="*"){var oe=i.parser;if(oe.consumeSpaces(),oe.fetch().text==="["){if(oe.consume(),oe.consumeSpaces(),R=oe.fetch().text,"lcr".indexOf(R)===-1)throw new ti("Expected l or c or r",oe.nextToken);oe.consume(),oe.consumeSpaces(),oe.expect("]"),oe.consume(),Y.cols=[{type:"align",align:R}]}}var he=Md(i.parser,Y,Y4(i.envName)),B=Math.max(0,...he.body.map(O=>O.length));return he.cols=new Array(B).fill({type:"align",align:R}),y?{type:"leftright",mode:i.mode,body:[he],left:y[0],right:y[1],rightColor:void 0}:he},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(i){var y={arraystretch:.5},R=Md(i.parser,y,"script");return R.colSeparationType="small",R},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["subarray"],props:{numArgs:1},handler(i,y){var R=by(y[0]),Y=R?[y[0]]:To(y[0],"ordgroup").body,oe=Y.map(function(B){var O=N4(B),e=O.text;if("lc".indexOf(e)!==-1)return{type:"align",align:e};throw new ti("Unknown column alignment: "+e,B)});if(oe.length>1)throw new ti("{subarray} can contain only one column");var he={cols:oe,hskipBeforeAndAfter:!1,arraystretch:.5};if(he=Md(i.parser,he,"script"),he.body.length>0&&he.body[0].length>1)throw new ti("{subarray} can contain only one column");return he},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(i){var y={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},R=Md(i.parser,y,Y4(i.envName));return{type:"leftright",mode:i.mode,body:[R],left:i.envName.indexOf("r")>-1?".":"\\{",right:i.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:uA,htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(i){Ki.contains(["gather","gather*"],i.envName)&&Ay(i);var y={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:W4(i.envName),emptySingleRow:!0,leqno:i.parser.settings.leqno};return Md(i.parser,y,"display")},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uA,htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(i){Ay(i);var y={autoTag:W4(i.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:i.parser.settings.leqno};return Md(i.parser,y,"display")},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["CD"],props:{numArgs:0},handler(i){return Ay(i),EF(i.parser)},htmlBuilder:rh,mathmlBuilder:nh});$r("\\nonumber","\\gdef\\@eqnsw{0}");$r("\\notag","\\nonumber");Mi({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(i,y){throw new ti(i.funcName+" valid only within array environment")}});var D8=sA;Mi({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];if(oe.type!=="ordgroup")throw new ti("Invalid environment name",oe);for(var he="",B=0;B{var R=i.font,Y=y.withFont(R);return Jo(i.body,Y)},cA=(i,y)=>{var R=i.font,Y=y.withFont(R);return Rs(i.body,Y)},R8={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Mi({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=Og(y[0]),he=Y;return he in R8&&(he=R8[he]),{type:"font",mode:R.mode,font:he.slice(1),body:oe}},htmlBuilder:fA,mathmlBuilder:cA});Mi({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(i,y)=>{var{parser:R}=i,Y=y[0],oe=Ki.isCharacterBox(Y);return{type:"mclass",mode:R.mode,mclass:wy(Y),body:[{type:"font",mode:R.mode,font:"boldsymbol",body:Y}],isCharacterBox:oe}}});Mi({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(i,y)=>{var{parser:R,funcName:Y,breakOnTokenText:oe}=i,{mode:he}=R,B=R.parseExpression(!0,oe),O="math"+Y.slice(1);return{type:"font",mode:he,font:O,body:{type:"ordgroup",mode:R.mode,body:B}}},htmlBuilder:fA,mathmlBuilder:cA});var hA=(i,y)=>{var R=y;return i==="display"?R=R.id>=Zi.SCRIPT.id?R.text():Zi.DISPLAY:i==="text"&&R.size===Zi.DISPLAY.size?R=Zi.TEXT:i==="script"?R=Zi.SCRIPT:i==="scriptscript"&&(R=Zi.SCRIPTSCRIPT),R},Z4=(i,y)=>{var R=hA(i.size,y.style),Y=R.fracNum(),oe=R.fracDen(),he;he=y.havingStyle(Y);var B=Jo(i.numer,he,y);if(i.continued){var O=8.5/y.fontMetrics().ptPerEm,e=3.5/y.fontMetrics().ptPerEm;B.height=B.height0?d=3*L:d=7*L,m=y.fontMetrics().denom1):(a>0?(x=y.fontMetrics().num2,d=L):(x=y.fontMetrics().num3,d=3*L),m=y.fontMetrics().denom2);var r;if(E){var s=y.fontMetrics().axisHeight;x-B.depth-(s+.5*a){var R=new Ja.MathNode("mfrac",[Rs(i.numer,y),Rs(i.denom,y)]);if(!i.hasBarLine)R.setAttribute("linethickness","0px");else if(i.barSize){var Y=dl(i.barSize,y);R.setAttribute("linethickness",mi(Y))}var oe=hA(i.size,y.style);if(oe.size!==y.style.size){R=new Ja.MathNode("mstyle",[R]);var he=oe.size===Zi.DISPLAY.size?"true":"false";R.setAttribute("displaystyle",he),R.setAttribute("scriptlevel","0")}if(i.leftDelim!=null||i.rightDelim!=null){var B=[];if(i.leftDelim!=null){var O=new Ja.MathNode("mo",[new Ja.TextNode(i.leftDelim.replace("\\",""))]);O.setAttribute("fence","true"),B.push(O)}if(B.push(R),i.rightDelim!=null){var e=new Ja.MathNode("mo",[new Ja.TextNode(i.rightDelim.replace("\\",""))]);e.setAttribute("fence","true"),B.push(e)}return O4(B)}return R};Mi({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0],he=y[1],B,O=null,e=null,p="auto";switch(Y){case"\\dfrac":case"\\frac":case"\\tfrac":B=!0;break;case"\\\\atopfrac":B=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":B=!1,O="(",e=")";break;case"\\\\bracefrac":B=!1,O="\\{",e="\\}";break;case"\\\\brackfrac":B=!1,O="[",e="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Y){case"\\dfrac":case"\\dbinom":p="display";break;case"\\tfrac":case"\\tbinom":p="text";break}return{type:"genfrac",mode:R.mode,continued:!1,numer:oe,denom:he,hasBarLine:B,leftDelim:O,rightDelim:e,size:p,barSize:null}},htmlBuilder:Z4,mathmlBuilder:j4});Mi({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0],he=y[1];return{type:"genfrac",mode:R.mode,continued:!0,numer:oe,denom:he,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Mi({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(i){var{parser:y,funcName:R,token:Y}=i,oe;switch(R){case"\\over":oe="\\frac";break;case"\\choose":oe="\\binom";break;case"\\atop":oe="\\\\atopfrac";break;case"\\brace":oe="\\\\bracefrac";break;case"\\brack":oe="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:y.mode,replaceWith:oe,token:Y}}});var I8=["display","text","script","scriptscript"],z8=function(y){var R=null;return y.length>0&&(R=y,R=R==="."?null:R),R};Mi({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(i,y){var{parser:R}=i,Y=y[4],oe=y[5],he=Og(y[0]),B=he.type==="atom"&&he.family==="open"?z8(he.text):null,O=Og(y[1]),e=O.type==="atom"&&O.family==="close"?z8(O.text):null,p=To(y[2],"size"),E,a=null;p.isBlank?E=!0:(a=p.value,E=a.number>0);var L="auto",x=y[3];if(x.type==="ordgroup"){if(x.body.length>0){var d=To(x.body[0],"textord");L=I8[Number(d.text)]}}else x=To(x,"textord"),L=I8[Number(x.text)];return{type:"genfrac",mode:R.mode,numer:Y,denom:oe,continued:!1,hasBarLine:E,barSize:a,leftDelim:B,rightDelim:e,size:L}},htmlBuilder:Z4,mathmlBuilder:j4});Mi({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(i,y){var{parser:R,funcName:Y,token:oe}=i;return{type:"infix",mode:R.mode,replaceWith:"\\\\abovefrac",size:To(y[0],"size").value,token:oe}}});Mi({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0],he=yz(To(y[1],"infix").size),B=y[2],O=he.number>0;return{type:"genfrac",mode:R.mode,numer:oe,denom:B,continued:!1,hasBarLine:O,barSize:he,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Z4,mathmlBuilder:j4});var dA=(i,y)=>{var R=y.style,Y,oe;i.type==="supsub"?(Y=i.sup?Jo(i.sup,y.havingStyle(R.sup()),y):Jo(i.sub,y.havingStyle(R.sub()),y),oe=To(i.base,"horizBrace")):oe=To(i,"horizBrace");var he=Jo(oe.base,y.havingBaseStyle(Zi.DISPLAY)),B=Rh.svgSpan(oe,y),O;if(oe.isOver?(O=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:he},{type:"kern",size:.1},{type:"elem",elem:B}]},y),O.children[0].children[0].children[1].classes.push("svg-align")):(O=ca.makeVList({positionType:"bottom",positionData:he.depth+.1+B.height,children:[{type:"elem",elem:B},{type:"kern",size:.1},{type:"elem",elem:he}]},y),O.children[0].children[0].children[0].classes.push("svg-align")),Y){var e=ca.makeSpan(["mord",oe.isOver?"mover":"munder"],[O],y);oe.isOver?O=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:Y}]},y):O=ca.makeVList({positionType:"bottom",positionData:e.depth+.2+Y.height+Y.depth,children:[{type:"elem",elem:Y},{type:"kern",size:.2},{type:"elem",elem:e}]},y)}return ca.makeSpan(["mord",oe.isOver?"mover":"munder"],[O],y)},VF=(i,y)=>{var R=Rh.mathMLnode(i.label);return new Ja.MathNode(i.isOver?"mover":"munder",[Rs(i.base,y),R])};Mi({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(i,y){var{parser:R,funcName:Y}=i;return{type:"horizBrace",mode:R.mode,label:Y,isOver:/^\\over/.test(Y),base:y[0]}},htmlBuilder:dA,mathmlBuilder:VF});Mi({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[1],oe=To(y[0],"url").url;return R.settings.isTrusted({command:"\\href",url:oe})?{type:"href",mode:R.mode,href:oe,body:Gl(Y)}:R.formatUnsupportedCmd("\\href")},htmlBuilder:(i,y)=>{var R=pu(i.body,y,!1);return ca.makeAnchor(i.href,[],R,y)},mathmlBuilder:(i,y)=>{var R=bd(i.body,y);return R instanceof a0||(R=new a0("mrow",[R])),R.setAttribute("href",i.href),R}});Mi({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=To(y[0],"url").url;if(!R.settings.isTrusted({command:"\\url",url:Y}))return R.formatUnsupportedCmd("\\url");for(var oe=[],he=0;he{var{parser:R,funcName:Y,token:oe}=i,he=To(y[0],"raw").string,B=y[1];R.settings.strict&&R.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var O,e={};switch(Y){case"\\htmlClass":e.class=he,O={command:"\\htmlClass",class:he};break;case"\\htmlId":e.id=he,O={command:"\\htmlId",id:he};break;case"\\htmlStyle":e.style=he,O={command:"\\htmlStyle",style:he};break;case"\\htmlData":{for(var p=he.split(","),E=0;E{var R=pu(i.body,y,!1),Y=["enclosing"];i.attributes.class&&Y.push(...i.attributes.class.trim().split(/\s+/));var oe=ca.makeSpan(Y,R,y);for(var he in i.attributes)he!=="class"&&i.attributes.hasOwnProperty(he)&&oe.setAttribute(he,i.attributes[he]);return oe},mathmlBuilder:(i,y)=>bd(i.body,y)});Mi({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i;return{type:"htmlmathml",mode:R.mode,html:Gl(y[0]),mathml:Gl(y[1])}},htmlBuilder:(i,y)=>{var R=pu(i.html,y,!1);return ca.makeFragment(R)},mathmlBuilder:(i,y)=>bd(i.mathml,y)});var J2=function(y){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(y))return{number:+y,unit:"bp"};var R=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(y);if(!R)throw new ti("Invalid size: '"+y+"' in \\includegraphics");var Y={number:+(R[1]+R[2]),unit:R[3]};if(!RT(Y))throw new ti("Invalid unit: '"+Y.unit+"' in \\includegraphics.");return Y};Mi({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(i,y,R)=>{var{parser:Y}=i,oe={number:0,unit:"em"},he={number:.9,unit:"em"},B={number:0,unit:"em"},O="";if(R[0])for(var e=To(R[0],"raw").string,p=e.split(","),E=0;E{var R=dl(i.height,y),Y=0;i.totalheight.number>0&&(Y=dl(i.totalheight,y)-R);var oe=0;i.width.number>0&&(oe=dl(i.width,y));var he={height:mi(R+Y)};oe>0&&(he.width=mi(oe)),Y>0&&(he.verticalAlign=mi(-Y));var B=new Vz(i.src,i.alt,he);return B.height=R,B.depth=Y,B},mathmlBuilder:(i,y)=>{var R=new Ja.MathNode("mglyph",[]);R.setAttribute("alt",i.alt);var Y=dl(i.height,y),oe=0;if(i.totalheight.number>0&&(oe=dl(i.totalheight,y)-Y,R.setAttribute("valign",mi(-oe))),R.setAttribute("height",mi(Y+oe)),i.width.number>0){var he=dl(i.width,y);R.setAttribute("width",mi(he))}return R.setAttribute("src",i.src),R}});Mi({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(i,y){var{parser:R,funcName:Y}=i,oe=To(y[0],"size");if(R.settings.strict){var he=Y[1]==="m",B=oe.value.unit==="mu";he?(B||R.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Y+" supports only mu units, "+("not "+oe.value.unit+" units")),R.mode!=="math"&&R.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Y+" works only in math mode")):B&&R.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Y+" doesn't support mu units")}return{type:"kern",mode:R.mode,dimension:oe.value}},htmlBuilder(i,y){return ca.makeGlue(i.dimension,y)},mathmlBuilder(i,y){var R=dl(i.dimension,y);return new Ja.SpaceNode(R)}});Mi({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0];return{type:"lap",mode:R.mode,alignment:Y.slice(5),body:oe}},htmlBuilder:(i,y)=>{var R;i.alignment==="clap"?(R=ca.makeSpan([],[Jo(i.body,y)]),R=ca.makeSpan(["inner"],[R],y)):R=ca.makeSpan(["inner"],[Jo(i.body,y)]);var Y=ca.makeSpan(["fix"],[]),oe=ca.makeSpan([i.alignment],[R,Y],y),he=ca.makeSpan(["strut"]);return he.style.height=mi(oe.height+oe.depth),oe.depth&&(he.style.verticalAlign=mi(-oe.depth)),oe.children.unshift(he),oe=ca.makeSpan(["thinbox"],[oe],y),ca.makeSpan(["mord","vbox"],[oe],y)},mathmlBuilder:(i,y)=>{var R=new Ja.MathNode("mpadded",[Rs(i.body,y)]);if(i.alignment!=="rlap"){var Y=i.alignment==="llap"?"-1":"-0.5";R.setAttribute("lspace",Y+"width")}return R.setAttribute("width","0px"),R}});Mi({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,y){var{funcName:R,parser:Y}=i,oe=Y.mode;Y.switchMode("math");var he=R==="\\("?"\\)":"$",B=Y.parseExpression(!1,he);return Y.expect(he),Y.switchMode(oe),{type:"styling",mode:Y.mode,style:"text",body:B}}});Mi({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,y){throw new ti("Mismatched "+i.funcName)}});var F8=(i,y)=>{switch(y.style.size){case Zi.DISPLAY.size:return i.display;case Zi.TEXT.size:return i.text;case Zi.SCRIPT.size:return i.script;case Zi.SCRIPTSCRIPT.size:return i.scriptscript;default:return i.text}};Mi({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(i,y)=>{var{parser:R}=i;return{type:"mathchoice",mode:R.mode,display:Gl(y[0]),text:Gl(y[1]),script:Gl(y[2]),scriptscript:Gl(y[3])}},htmlBuilder:(i,y)=>{var R=F8(i,y),Y=pu(R,y,!1);return ca.makeFragment(Y)},mathmlBuilder:(i,y)=>{var R=F8(i,y);return bd(R,y)}});var vA=(i,y,R,Y,oe,he,B)=>{i=ca.makeSpan([],[i]);var O=R&&Ki.isCharacterBox(R),e,p;if(y){var E=Jo(y,Y.havingStyle(oe.sup()),Y);p={elem:E,kern:Math.max(Y.fontMetrics().bigOpSpacing1,Y.fontMetrics().bigOpSpacing3-E.depth)}}if(R){var a=Jo(R,Y.havingStyle(oe.sub()),Y);e={elem:a,kern:Math.max(Y.fontMetrics().bigOpSpacing2,Y.fontMetrics().bigOpSpacing4-a.height)}}var L;if(p&&e){var x=Y.fontMetrics().bigOpSpacing5+e.elem.height+e.elem.depth+e.kern+i.depth+B;L=ca.makeVList({positionType:"bottom",positionData:x,children:[{type:"kern",size:Y.fontMetrics().bigOpSpacing5},{type:"elem",elem:e.elem,marginLeft:mi(-he)},{type:"kern",size:e.kern},{type:"elem",elem:i},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:mi(he)},{type:"kern",size:Y.fontMetrics().bigOpSpacing5}]},Y)}else if(e){var d=i.height-B;L=ca.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:Y.fontMetrics().bigOpSpacing5},{type:"elem",elem:e.elem,marginLeft:mi(-he)},{type:"kern",size:e.kern},{type:"elem",elem:i}]},Y)}else if(p){var m=i.depth+B;L=ca.makeVList({positionType:"bottom",positionData:m,children:[{type:"elem",elem:i},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:mi(he)},{type:"kern",size:Y.fontMetrics().bigOpSpacing5}]},Y)}else return i;var r=[L];if(e&&he!==0&&!O){var t=ca.makeSpan(["mspace"],[],Y);t.style.marginRight=mi(he),r.unshift(t)}return ca.makeSpan(["mop","op-limits"],r,Y)},pA=["\\smallint"],p1=(i,y)=>{var R,Y,oe=!1,he;i.type==="supsub"?(R=i.sup,Y=i.sub,he=To(i.base,"op"),oe=!0):he=To(i,"op");var B=y.style,O=!1;B.size===Zi.DISPLAY.size&&he.symbol&&!Ki.contains(pA,he.name)&&(O=!0);var e;if(he.symbol){var p=O?"Size2-Regular":"Size1-Regular",E="";if((he.name==="\\oiint"||he.name==="\\oiiint")&&(E=he.name.slice(1),he.name=E==="oiint"?"\\iint":"\\iiint"),e=ca.makeSymbol(he.name,p,"math",y,["mop","op-symbol",O?"large-op":"small-op"]),E.length>0){var a=e.italic,L=ca.staticSvg(E+"Size"+(O?"2":"1"),y);e=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:e,shift:0},{type:"elem",elem:L,shift:O?.08:0}]},y),he.name="\\"+E,e.classes.unshift("mop"),e.italic=a}}else if(he.body){var x=pu(he.body,y,!0);x.length===1&&x[0]instanceof c0?(e=x[0],e.classes[0]="mop"):e=ca.makeSpan(["mop"],x,y)}else{for(var d=[],m=1;m{var R;if(i.symbol)R=new a0("mo",[h0(i.name,i.mode)]),Ki.contains(pA,i.name)&&R.setAttribute("largeop","false");else if(i.body)R=new a0("mo",yc(i.body,y));else{R=new a0("mi",[new op(i.name.slice(1))]);var Y=new a0("mo",[h0("","text")]);i.parentIsSupSub?R=new a0("mrow",[R,Y]):R=GT([R,Y])}return R},GF={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Mi({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=Y;return oe.length===1&&(oe=GF[oe]),{type:"op",mode:R.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:oe}},htmlBuilder:p1,mathmlBuilder:Gp});Mi({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"op",mode:R.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Gl(Y)}},htmlBuilder:p1,mathmlBuilder:Gp});var WF={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Mi({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(i){var{parser:y,funcName:R}=i;return{type:"op",mode:y.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:R}},htmlBuilder:p1,mathmlBuilder:Gp});Mi({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(i){var{parser:y,funcName:R}=i;return{type:"op",mode:y.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:R}},htmlBuilder:p1,mathmlBuilder:Gp});Mi({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(i){var{parser:y,funcName:R}=i,Y=R;return Y.length===1&&(Y=WF[Y]),{type:"op",mode:y.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Y}},htmlBuilder:p1,mathmlBuilder:Gp});var mA=(i,y)=>{var R,Y,oe=!1,he;i.type==="supsub"?(R=i.sup,Y=i.sub,he=To(i.base,"operatorname"),oe=!0):he=To(i,"operatorname");var B;if(he.body.length>0){for(var O=he.body.map(a=>{var L=a.text;return typeof L=="string"?{type:"textord",mode:a.mode,text:L}:a}),e=pu(O,y.withFont("mathrm"),!0),p=0;p{for(var R=yc(i.body,y.withFont("mathrm")),Y=!0,oe=0;oeE.toText()).join("");R=[new Ja.TextNode(O)]}var e=new Ja.MathNode("mi",R);e.setAttribute("mathvariant","normal");var p=new Ja.MathNode("mo",[h0("","text")]);return i.parentIsSupSub?new Ja.MathNode("mrow",[e,p]):Ja.newDocumentFragment([e,p])};Mi({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0];return{type:"operatorname",mode:R.mode,body:Gl(oe),alwaysHandleSupSub:Y==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:mA,mathmlBuilder:YF});$r("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");tv({type:"ordgroup",htmlBuilder(i,y){return i.semisimple?ca.makeFragment(pu(i.body,y,!1)):ca.makeSpan(["mord"],pu(i.body,y,!0),y)},mathmlBuilder(i,y){return bd(i.body,y,!0)}});Mi({type:"overline",names:["\\overline"],props:{numArgs:1},handler(i,y){var{parser:R}=i,Y=y[0];return{type:"overline",mode:R.mode,body:Y}},htmlBuilder(i,y){var R=Jo(i.body,y.havingCrampedStyle()),Y=ca.makeLineSpan("overline-line",y),oe=y.fontMetrics().defaultRuleThickness,he=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R},{type:"kern",size:3*oe},{type:"elem",elem:Y},{type:"kern",size:oe}]},y);return ca.makeSpan(["mord","overline"],[he],y)},mathmlBuilder(i,y){var R=new Ja.MathNode("mo",[new Ja.TextNode("‾")]);R.setAttribute("stretchy","true");var Y=new Ja.MathNode("mover",[Rs(i.body,y),R]);return Y.setAttribute("accent","true"),Y}});Mi({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"phantom",mode:R.mode,body:Gl(Y)}},htmlBuilder:(i,y)=>{var R=pu(i.body,y.withPhantom(),!1);return ca.makeFragment(R)},mathmlBuilder:(i,y)=>{var R=yc(i.body,y);return new Ja.MathNode("mphantom",R)}});Mi({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"hphantom",mode:R.mode,body:Y}},htmlBuilder:(i,y)=>{var R=ca.makeSpan([],[Jo(i.body,y.withPhantom())]);if(R.height=0,R.depth=0,R.children)for(var Y=0;Y{var R=yc(Gl(i.body),y),Y=new Ja.MathNode("mphantom",R),oe=new Ja.MathNode("mpadded",[Y]);return oe.setAttribute("height","0px"),oe.setAttribute("depth","0px"),oe}});Mi({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"vphantom",mode:R.mode,body:Y}},htmlBuilder:(i,y)=>{var R=ca.makeSpan(["inner"],[Jo(i.body,y.withPhantom())]),Y=ca.makeSpan(["fix"],[]);return ca.makeSpan(["mord","rlap"],[R,Y],y)},mathmlBuilder:(i,y)=>{var R=yc(Gl(i.body),y),Y=new Ja.MathNode("mphantom",R),oe=new Ja.MathNode("mpadded",[Y]);return oe.setAttribute("width","0px"),oe}});Mi({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(i,y){var{parser:R}=i,Y=To(y[0],"size").value,oe=y[1];return{type:"raisebox",mode:R.mode,dy:Y,body:oe}},htmlBuilder(i,y){var R=Jo(i.body,y),Y=dl(i.dy,y);return ca.makeVList({positionType:"shift",positionData:-Y,children:[{type:"elem",elem:R}]},y)},mathmlBuilder(i,y){var R=new Ja.MathNode("mpadded",[Rs(i.body,y)]),Y=i.dy.number+i.dy.unit;return R.setAttribute("voffset",Y),R}});Mi({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:y}=i;return{type:"internal",mode:y.mode}}});Mi({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(i,y,R){var{parser:Y}=i,oe=R[0],he=To(y[0],"size"),B=To(y[1],"size");return{type:"rule",mode:Y.mode,shift:oe&&To(oe,"size").value,width:he.value,height:B.value}},htmlBuilder(i,y){var R=ca.makeSpan(["mord","rule"],[],y),Y=dl(i.width,y),oe=dl(i.height,y),he=i.shift?dl(i.shift,y):0;return R.style.borderRightWidth=mi(Y),R.style.borderTopWidth=mi(oe),R.style.bottom=mi(he),R.width=Y,R.height=oe+he,R.depth=-he,R.maxFontSize=oe*1.125*y.sizeMultiplier,R},mathmlBuilder(i,y){var R=dl(i.width,y),Y=dl(i.height,y),oe=i.shift?dl(i.shift,y):0,he=y.color&&y.getColor()||"black",B=new Ja.MathNode("mspace");B.setAttribute("mathbackground",he),B.setAttribute("width",mi(R)),B.setAttribute("height",mi(Y));var O=new Ja.MathNode("mpadded",[B]);return oe>=0?O.setAttribute("height",mi(oe)):(O.setAttribute("height",mi(oe)),O.setAttribute("depth",mi(-oe))),O.setAttribute("voffset",mi(oe)),O}});function gA(i,y,R){for(var Y=pu(i,y,!1),oe=y.sizeMultiplier/R.sizeMultiplier,he=0;he{var R=y.havingSize(i.size);return gA(i.body,R,y)};Mi({type:"sizing",names:B8,props:{numArgs:0,allowedInText:!0},handler:(i,y)=>{var{breakOnTokenText:R,funcName:Y,parser:oe}=i,he=oe.parseExpression(!1,R);return{type:"sizing",mode:oe.mode,size:B8.indexOf(Y)+1,body:he}},htmlBuilder:ZF,mathmlBuilder:(i,y)=>{var R=y.havingSize(i.size),Y=yc(i.body,R),oe=new Ja.MathNode("mstyle",Y);return oe.setAttribute("mathsize",mi(R.sizeMultiplier)),oe}});Mi({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(i,y,R)=>{var{parser:Y}=i,oe=!1,he=!1,B=R[0]&&To(R[0],"ordgroup");if(B)for(var O="",e=0;e{var R=ca.makeSpan([],[Jo(i.body,y)]);if(!i.smashHeight&&!i.smashDepth)return R;if(i.smashHeight&&(R.height=0,R.children))for(var Y=0;Y{var R=new Ja.MathNode("mpadded",[Rs(i.body,y)]);return i.smashHeight&&R.setAttribute("height","0px"),i.smashDepth&&R.setAttribute("depth","0px"),R}});Mi({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(i,y,R){var{parser:Y}=i,oe=R[0],he=y[0];return{type:"sqrt",mode:Y.mode,body:he,index:oe}},htmlBuilder(i,y){var R=Jo(i.body,y.havingCrampedStyle());R.height===0&&(R.height=y.fontMetrics().xHeight),R=ca.wrapFragment(R,y);var Y=y.fontMetrics(),oe=Y.defaultRuleThickness,he=oe;y.style.idR.height+R.depth+B&&(B=(B+a-R.height-R.depth)/2);var L=e.height-R.height-B-p;R.style.paddingLeft=mi(E);var x=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R,wrapperClasses:["svg-align"]},{type:"kern",size:-(R.height+L)},{type:"elem",elem:e},{type:"kern",size:p}]},y);if(i.index){var d=y.havingStyle(Zi.SCRIPTSCRIPT),m=Jo(i.index,d,y),r=.6*(x.height-x.depth),t=ca.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:m}]},y),s=ca.makeSpan(["root"],[t]);return ca.makeSpan(["mord","sqrt"],[s,x],y)}else return ca.makeSpan(["mord","sqrt"],[x],y)},mathmlBuilder(i,y){var{body:R,index:Y}=i;return Y?new Ja.MathNode("mroot",[Rs(R,y),Rs(Y,y)]):new Ja.MathNode("msqrt",[Rs(R,y)])}});var O8={display:Zi.DISPLAY,text:Zi.TEXT,script:Zi.SCRIPT,scriptscript:Zi.SCRIPTSCRIPT};Mi({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i,y){var{breakOnTokenText:R,funcName:Y,parser:oe}=i,he=oe.parseExpression(!0,R),B=Y.slice(1,Y.length-5);return{type:"styling",mode:oe.mode,style:B,body:he}},htmlBuilder(i,y){var R=O8[i.style],Y=y.havingStyle(R).withFont("");return gA(i.body,Y,y)},mathmlBuilder(i,y){var R=O8[i.style],Y=y.havingStyle(R),oe=yc(i.body,Y),he=new Ja.MathNode("mstyle",oe),B={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},O=B[i.style];return he.setAttribute("scriptlevel",O[0]),he.setAttribute("displaystyle",O[1]),he}});var jF=function(y,R){var Y=y.base;if(Y)if(Y.type==="op"){var oe=Y.limits&&(R.style.size===Zi.DISPLAY.size||Y.alwaysHandleSupSub);return oe?p1:null}else if(Y.type==="operatorname"){var he=Y.alwaysHandleSupSub&&(R.style.size===Zi.DISPLAY.size||Y.limits);return he?mA:null}else{if(Y.type==="accent")return Ki.isCharacterBox(Y.base)?U4:null;if(Y.type==="horizBrace"){var B=!y.sub;return B===Y.isOver?dA:null}else return null}else return null};tv({type:"supsub",htmlBuilder(i,y){var R=jF(i,y);if(R)return R(i,y);var{base:Y,sup:oe,sub:he}=i,B=Jo(Y,y),O,e,p=y.fontMetrics(),E=0,a=0,L=Y&&Ki.isCharacterBox(Y);if(oe){var x=y.havingStyle(y.style.sup());O=Jo(oe,x,y),L||(E=B.height-x.fontMetrics().supDrop*x.sizeMultiplier/y.sizeMultiplier)}if(he){var d=y.havingStyle(y.style.sub());e=Jo(he,d,y),L||(a=B.depth+d.fontMetrics().subDrop*d.sizeMultiplier/y.sizeMultiplier)}var m;y.style===Zi.DISPLAY?m=p.sup1:y.style.cramped?m=p.sup3:m=p.sup2;var r=y.sizeMultiplier,t=mi(.5/p.ptPerEm/r),s=null;if(e){var n=i.base&&i.base.type==="op"&&i.base.name&&(i.base.name==="\\oiint"||i.base.name==="\\oiiint");(B instanceof c0||n)&&(s=mi(-B.italic))}var f;if(O&&e){E=Math.max(E,m,O.depth+.25*p.xHeight),a=Math.max(a,p.sub2);var c=p.defaultRuleThickness,u=4*c;if(E-O.depth-(e.height-a)0&&(E+=b,a-=b)}var h=[{type:"elem",elem:e,shift:a,marginRight:t,marginLeft:s},{type:"elem",elem:O,shift:-E,marginRight:t}];f=ca.makeVList({positionType:"individualShift",children:h},y)}else if(e){a=Math.max(a,p.sub1,e.height-.8*p.xHeight);var S=[{type:"elem",elem:e,marginLeft:s,marginRight:t}];f=ca.makeVList({positionType:"shift",positionData:a,children:S},y)}else if(O)E=Math.max(E,m,O.depth+.25*p.xHeight),f=ca.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:O,marginRight:t}]},y);else throw new Error("supsub must have either sup or sub.");var v=h3(B,"right")||"mord";return ca.makeSpan([v],[B,ca.makeSpan(["msupsub"],[f])],y)},mathmlBuilder(i,y){var R=!1,Y,oe;i.base&&i.base.type==="horizBrace"&&(oe=!!i.sup,oe===i.base.isOver&&(R=!0,Y=i.base.isOver)),i.base&&(i.base.type==="op"||i.base.type==="operatorname")&&(i.base.parentIsSupSub=!0);var he=[Rs(i.base,y)];i.sub&&he.push(Rs(i.sub,y)),i.sup&&he.push(Rs(i.sup,y));var B;if(R)B=Y?"mover":"munder";else if(i.sub)if(i.sup){var p=i.base;p&&p.type==="op"&&p.limits&&y.style===Zi.DISPLAY||p&&p.type==="operatorname"&&p.alwaysHandleSupSub&&(y.style===Zi.DISPLAY||p.limits)?B="munderover":B="msubsup"}else{var e=i.base;e&&e.type==="op"&&e.limits&&(y.style===Zi.DISPLAY||e.alwaysHandleSupSub)||e&&e.type==="operatorname"&&e.alwaysHandleSupSub&&(e.limits||y.style===Zi.DISPLAY)?B="munder":B="msub"}else{var O=i.base;O&&O.type==="op"&&O.limits&&(y.style===Zi.DISPLAY||O.alwaysHandleSupSub)||O&&O.type==="operatorname"&&O.alwaysHandleSupSub&&(O.limits||y.style===Zi.DISPLAY)?B="mover":B="msup"}return new Ja.MathNode(B,he)}});tv({type:"atom",htmlBuilder(i,y){return ca.mathsym(i.text,i.mode,y,["m"+i.family])},mathmlBuilder(i,y){var R=new Ja.MathNode("mo",[h0(i.text,i.mode)]);if(i.family==="bin"){var Y=_4(i,y);Y==="bold-italic"&&R.setAttribute("mathvariant",Y)}else i.family==="punct"?R.setAttribute("separator","true"):(i.family==="open"||i.family==="close")&&R.setAttribute("stretchy","false");return R}});var yA={mi:"italic",mn:"normal",mtext:"normal"};tv({type:"mathord",htmlBuilder(i,y){return ca.makeOrd(i,y,"mathord")},mathmlBuilder(i,y){var R=new Ja.MathNode("mi",[h0(i.text,i.mode,y)]),Y=_4(i,y)||"italic";return Y!==yA[R.type]&&R.setAttribute("mathvariant",Y),R}});tv({type:"textord",htmlBuilder(i,y){return ca.makeOrd(i,y,"textord")},mathmlBuilder(i,y){var R=h0(i.text,i.mode,y),Y=_4(i,y)||"normal",oe;return i.mode==="text"?oe=new Ja.MathNode("mtext",[R]):/[0-9]/.test(i.text)?oe=new Ja.MathNode("mn",[R]):i.text==="\\prime"?oe=new Ja.MathNode("mo",[R]):oe=new Ja.MathNode("mi",[R]),Y!==yA[oe.type]&&oe.setAttribute("mathvariant",Y),oe}});var Q2={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},q2={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tv({type:"spacing",htmlBuilder(i,y){if(q2.hasOwnProperty(i.text)){var R=q2[i.text].className||"";if(i.mode==="text"){var Y=ca.makeOrd(i,y,"textord");return Y.classes.push(R),Y}else return ca.makeSpan(["mspace",R],[ca.mathsym(i.text,i.mode,y)],y)}else{if(Q2.hasOwnProperty(i.text))return ca.makeSpan(["mspace",Q2[i.text]],[],y);throw new ti('Unknown type of space "'+i.text+'"')}},mathmlBuilder(i,y){var R;if(q2.hasOwnProperty(i.text))R=new Ja.MathNode("mtext",[new Ja.TextNode(" ")]);else{if(Q2.hasOwnProperty(i.text))return new Ja.MathNode("mspace");throw new ti('Unknown type of space "'+i.text+'"')}return R}});var _8=()=>{var i=new Ja.MathNode("mtd",[]);return i.setAttribute("width","50%"),i};tv({type:"tag",mathmlBuilder(i,y){var R=new Ja.MathNode("mtable",[new Ja.MathNode("mtr",[_8(),new Ja.MathNode("mtd",[bd(i.body,y)]),_8(),new Ja.MathNode("mtd",[bd(i.tag,y)])])]);return R.setAttribute("width","100%"),R}});var N8={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},U8={"\\textbf":"textbf","\\textmd":"textmd"},XF={"\\textit":"textit","\\textup":"textup"},H8=(i,y)=>{var R=i.font;return R?N8[R]?y.withTextFontFamily(N8[R]):U8[R]?y.withTextFontWeight(U8[R]):y.withTextFontShape(XF[R]):y};Mi({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];return{type:"text",mode:R.mode,body:Gl(oe),font:Y}},htmlBuilder(i,y){var R=H8(i,y),Y=pu(i.body,R,!0);return ca.makeSpan(["mord","text"],Y,R)},mathmlBuilder(i,y){var R=H8(i,y);return bd(i.body,R)}});Mi({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(i,y){var{parser:R}=i;return{type:"underline",mode:R.mode,body:y[0]}},htmlBuilder(i,y){var R=Jo(i.body,y),Y=ca.makeLineSpan("underline-line",y),oe=y.fontMetrics().defaultRuleThickness,he=ca.makeVList({positionType:"top",positionData:R.height,children:[{type:"kern",size:oe},{type:"elem",elem:Y},{type:"kern",size:3*oe},{type:"elem",elem:R}]},y);return ca.makeSpan(["mord","underline"],[he],y)},mathmlBuilder(i,y){var R=new Ja.MathNode("mo",[new Ja.TextNode("‾")]);R.setAttribute("stretchy","true");var Y=new Ja.MathNode("munder",[Rs(i.body,y),R]);return Y.setAttribute("accentunder","true"),Y}});Mi({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(i,y){var{parser:R}=i;return{type:"vcenter",mode:R.mode,body:y[0]}},htmlBuilder(i,y){var R=Jo(i.body,y),Y=y.fontMetrics().axisHeight,oe=.5*(R.height-Y-(R.depth+Y));return ca.makeVList({positionType:"shift",positionData:oe,children:[{type:"elem",elem:R}]},y)},mathmlBuilder(i,y){return new Ja.MathNode("mpadded",[Rs(i.body,y)],["vcenter"])}});Mi({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(i,y,R){throw new ti("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(i,y){for(var R=V8(i),Y=[],oe=y.havingStyle(y.style.text()),he=0;hei.body.replace(/ /g,i.star?"␣":" "),sd=HT,xA=`[ \r
- ]`,$F="\\\\[a-zA-Z@]+",KF="\\\\[^\uD800-\uDFFF]",JF="("+$F+")"+xA+"*",QF=`\\\\(
-|[ \r ]+
-?)[ \r ]*`,m3="[̀-ͯ]",qF=new RegExp(m3+"+$"),eB="("+xA+"+)|"+(QF+"|")+"([!-\\[\\]-‧-豈-]"+(m3+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(m3+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+JF)+("|"+KF+")");class G8{constructor(y,R){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=y,this.settings=R,this.tokenRegex=new RegExp(eB,"g"),this.catcodes={"%":14,"~":13}}setCatcode(y,R){this.catcodes[y]=R}lex(){var y=this.input,R=this.tokenRegex.lastIndex;if(R===y.length)return new Q0("EOF",new zc(this,R,R));var Y=this.tokenRegex.exec(y);if(Y===null||Y.index!==R)throw new ti("Unexpected character: '"+y[R]+"'",new Q0(y[R],new zc(this,R,R+1)));var oe=Y[6]||Y[3]||(Y[2]?"\\ ":" ");if(this.catcodes[oe]===14){var he=y.indexOf(`
-`,this.tokenRegex.lastIndex);return he===-1?(this.tokenRegex.lastIndex=y.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=he+1,this.lex()}return new Q0(oe,new zc(this,R,this.tokenRegex.lastIndex))}}class tB{constructor(y,R){y===void 0&&(y={}),R===void 0&&(R={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=R,this.builtins=y,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ti("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var y=this.undefStack.pop();for(var R in y)y.hasOwnProperty(R)&&(y[R]==null?delete this.current[R]:this.current[R]=y[R])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(y){return this.current.hasOwnProperty(y)||this.builtins.hasOwnProperty(y)}get(y){return this.current.hasOwnProperty(y)?this.current[y]:this.builtins[y]}set(y,R,Y){if(Y===void 0&&(Y=!1),Y){for(var oe=0;oe0&&(this.undefStack[this.undefStack.length-1][y]=R)}else{var he=this.undefStack[this.undefStack.length-1];he&&!he.hasOwnProperty(y)&&(he[y]=this.current[y])}R==null?delete this.current[y]:this.current[y]=R}}var rB=lA;$r("\\noexpand",function(i){var y=i.popToken();return i.isExpandable(y.text)&&(y.noexpand=!0,y.treatAsRelax=!0),{tokens:[y],numArgs:0}});$r("\\expandafter",function(i){var y=i.popToken();return i.expandOnce(!0),{tokens:[y],numArgs:0}});$r("\\@firstoftwo",function(i){var y=i.consumeArgs(2);return{tokens:y[0],numArgs:0}});$r("\\@secondoftwo",function(i){var y=i.consumeArgs(2);return{tokens:y[1],numArgs:0}});$r("\\@ifnextchar",function(i){var y=i.consumeArgs(3);i.consumeSpaces();var R=i.future();return y[0].length===1&&y[0][0].text===R.text?{tokens:y[1],numArgs:0}:{tokens:y[2],numArgs:0}});$r("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");$r("\\TextOrMath",function(i){var y=i.consumeArgs(2);return i.mode==="text"?{tokens:y[0],numArgs:0}:{tokens:y[1],numArgs:0}});var W8={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};$r("\\char",function(i){var y=i.popToken(),R,Y="";if(y.text==="'")R=8,y=i.popToken();else if(y.text==='"')R=16,y=i.popToken();else if(y.text==="`")if(y=i.popToken(),y.text[0]==="\\")Y=y.text.charCodeAt(1);else{if(y.text==="EOF")throw new ti("\\char` missing argument");Y=y.text.charCodeAt(0)}else R=10;if(R){if(Y=W8[y.text],Y==null||Y>=R)throw new ti("Invalid base-"+R+" digit "+y.text);for(var oe;(oe=W8[i.future().text])!=null&&oe{var Y=i.consumeArg().tokens;if(Y.length!==1)throw new ti("\\newcommand's first argument must be a macro name");var oe=Y[0].text,he=i.isDefined(oe);if(he&&!y)throw new ti("\\newcommand{"+oe+"} attempting to redefine "+(oe+"; use \\renewcommand"));if(!he&&!R)throw new ti("\\renewcommand{"+oe+"} when command "+oe+" does not yet exist; use \\newcommand");var B=0;if(Y=i.consumeArg().tokens,Y.length===1&&Y[0].text==="["){for(var O="",e=i.expandNextToken();e.text!=="]"&&e.text!=="EOF";)O+=e.text,e=i.expandNextToken();if(!O.match(/^\s*[0-9]+\s*$/))throw new ti("Invalid number of arguments: "+O);B=parseInt(O),Y=i.consumeArg().tokens}return i.macros.set(oe,{tokens:Y,numArgs:B}),""};$r("\\newcommand",i=>X4(i,!1,!0));$r("\\renewcommand",i=>X4(i,!0,!1));$r("\\providecommand",i=>X4(i,!0,!0));$r("\\message",i=>{var y=i.consumeArgs(1)[0];return console.log(y.reverse().map(R=>R.text).join("")),""});$r("\\errmessage",i=>{var y=i.consumeArgs(1)[0];return console.error(y.reverse().map(R=>R.text).join("")),""});$r("\\show",i=>{var y=i.popToken(),R=y.text;return console.log(y,i.macros.get(R),sd[R],Vs.math[R],Vs.text[R]),""});$r("\\bgroup","{");$r("\\egroup","}");$r("~","\\nobreakspace");$r("\\lq","`");$r("\\rq","'");$r("\\aa","\\r a");$r("\\AA","\\r A");$r("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");$r("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");$r("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");$r("ℬ","\\mathscr{B}");$r("ℰ","\\mathscr{E}");$r("ℱ","\\mathscr{F}");$r("ℋ","\\mathscr{H}");$r("ℐ","\\mathscr{I}");$r("ℒ","\\mathscr{L}");$r("ℳ","\\mathscr{M}");$r("ℛ","\\mathscr{R}");$r("ℭ","\\mathfrak{C}");$r("ℌ","\\mathfrak{H}");$r("ℨ","\\mathfrak{Z}");$r("\\Bbbk","\\Bbb{k}");$r("·","\\cdotp");$r("\\llap","\\mathllap{\\textrm{#1}}");$r("\\rlap","\\mathrlap{\\textrm{#1}}");$r("\\clap","\\mathclap{\\textrm{#1}}");$r("\\mathstrut","\\vphantom{(}");$r("\\underbar","\\underline{\\text{#1}}");$r("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');$r("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");$r("\\ne","\\neq");$r("≠","\\neq");$r("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");$r("∉","\\notin");$r("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");$r("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");$r("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");$r("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");$r("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");$r("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");$r("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");$r("⟂","\\perp");$r("‼","\\mathclose{!\\mkern-0.8mu!}");$r("∌","\\notni");$r("⌜","\\ulcorner");$r("⌝","\\urcorner");$r("⌞","\\llcorner");$r("⌟","\\lrcorner");$r("©","\\copyright");$r("®","\\textregistered");$r("️","\\textregistered");$r("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');$r("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');$r("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');$r("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');$r("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");$r("⋮","\\vdots");$r("\\varGamma","\\mathit{\\Gamma}");$r("\\varDelta","\\mathit{\\Delta}");$r("\\varTheta","\\mathit{\\Theta}");$r("\\varLambda","\\mathit{\\Lambda}");$r("\\varXi","\\mathit{\\Xi}");$r("\\varPi","\\mathit{\\Pi}");$r("\\varSigma","\\mathit{\\Sigma}");$r("\\varUpsilon","\\mathit{\\Upsilon}");$r("\\varPhi","\\mathit{\\Phi}");$r("\\varPsi","\\mathit{\\Psi}");$r("\\varOmega","\\mathit{\\Omega}");$r("\\substack","\\begin{subarray}{c}#1\\end{subarray}");$r("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");$r("\\boxed","\\fbox{$\\displaystyle{#1}$}");$r("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");$r("\\implies","\\DOTSB\\;\\Longrightarrow\\;");$r("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Y8={",":"\\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"};$r("\\dots",function(i){var y="\\dotso",R=i.expandAfterFuture().text;return R in Y8?y=Y8[R]:(R.slice(0,4)==="\\not"||R in Vs.math&&Ki.contains(["bin","rel"],Vs.math[R].group))&&(y="\\dotsb"),y});var $4={")":!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};$r("\\dotso",function(i){var y=i.future().text;return y in $4?"\\ldots\\,":"\\ldots"});$r("\\dotsc",function(i){var y=i.future().text;return y in $4&&y!==","?"\\ldots\\,":"\\ldots"});$r("\\cdots",function(i){var y=i.future().text;return y in $4?"\\@cdots\\,":"\\@cdots"});$r("\\dotsb","\\cdots");$r("\\dotsm","\\cdots");$r("\\dotsi","\\!\\cdots");$r("\\dotsx","\\ldots\\,");$r("\\DOTSI","\\relax");$r("\\DOTSB","\\relax");$r("\\DOTSX","\\relax");$r("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");$r("\\,","\\tmspace+{3mu}{.1667em}");$r("\\thinspace","\\,");$r("\\>","\\mskip{4mu}");$r("\\:","\\tmspace+{4mu}{.2222em}");$r("\\medspace","\\:");$r("\\;","\\tmspace+{5mu}{.2777em}");$r("\\thickspace","\\;");$r("\\!","\\tmspace-{3mu}{.1667em}");$r("\\negthinspace","\\!");$r("\\negmedspace","\\tmspace-{4mu}{.2222em}");$r("\\negthickspace","\\tmspace-{5mu}{.277em}");$r("\\enspace","\\kern.5em ");$r("\\enskip","\\hskip.5em\\relax");$r("\\quad","\\hskip1em\\relax");$r("\\qquad","\\hskip2em\\relax");$r("\\tag","\\@ifstar\\tag@literal\\tag@paren");$r("\\tag@paren","\\tag@literal{({#1})}");$r("\\tag@literal",i=>{if(i.macros.get("\\df@tag"))throw new ti("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});$r("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");$r("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");$r("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");$r("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");$r("\\newline","\\\\\\relax");$r("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var bA=mi($0["Main-Regular"]["T".charCodeAt(0)][1]-.7*$0["Main-Regular"]["A".charCodeAt(0)][1]);$r("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+bA+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");$r("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+bA+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");$r("\\hspace","\\@ifstar\\@hspacer\\@hspace");$r("\\@hspace","\\hskip #1\\relax");$r("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");$r("\\ordinarycolon",":");$r("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");$r("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');$r("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');$r("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');$r("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');$r("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');$r("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');$r("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');$r("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');$r("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');$r("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');$r("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');$r("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');$r("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');$r("∷","\\dblcolon");$r("∹","\\eqcolon");$r("≔","\\coloneqq");$r("≕","\\eqqcolon");$r("⩴","\\Coloneqq");$r("\\ratio","\\vcentcolon");$r("\\coloncolon","\\dblcolon");$r("\\colonequals","\\coloneqq");$r("\\coloncolonequals","\\Coloneqq");$r("\\equalscolon","\\eqqcolon");$r("\\equalscoloncolon","\\Eqqcolon");$r("\\colonminus","\\coloneq");$r("\\coloncolonminus","\\Coloneq");$r("\\minuscolon","\\eqcolon");$r("\\minuscoloncolon","\\Eqcolon");$r("\\coloncolonapprox","\\Colonapprox");$r("\\coloncolonsim","\\Colonsim");$r("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");$r("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");$r("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");$r("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");$r("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");$r("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");$r("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");$r("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");$r("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");$r("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");$r("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");$r("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");$r("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");$r("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");$r("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");$r("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");$r("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");$r("\\nleqq","\\html@mathml{\\@nleqq}{≰}");$r("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");$r("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");$r("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");$r("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");$r("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");$r("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");$r("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");$r("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");$r("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");$r("\\imath","\\html@mathml{\\@imath}{ı}");$r("\\jmath","\\html@mathml{\\@jmath}{ȷ}");$r("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");$r("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");$r("⟦","\\llbracket");$r("⟧","\\rrbracket");$r("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");$r("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");$r("⦃","\\lBrace");$r("⦄","\\rBrace");$r("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");$r("⦵","\\minuso");$r("\\darr","\\downarrow");$r("\\dArr","\\Downarrow");$r("\\Darr","\\Downarrow");$r("\\lang","\\langle");$r("\\rang","\\rangle");$r("\\uarr","\\uparrow");$r("\\uArr","\\Uparrow");$r("\\Uarr","\\Uparrow");$r("\\N","\\mathbb{N}");$r("\\R","\\mathbb{R}");$r("\\Z","\\mathbb{Z}");$r("\\alef","\\aleph");$r("\\alefsym","\\aleph");$r("\\Alpha","\\mathrm{A}");$r("\\Beta","\\mathrm{B}");$r("\\bull","\\bullet");$r("\\Chi","\\mathrm{X}");$r("\\clubs","\\clubsuit");$r("\\cnums","\\mathbb{C}");$r("\\Complex","\\mathbb{C}");$r("\\Dagger","\\ddagger");$r("\\diamonds","\\diamondsuit");$r("\\empty","\\emptyset");$r("\\Epsilon","\\mathrm{E}");$r("\\Eta","\\mathrm{H}");$r("\\exist","\\exists");$r("\\harr","\\leftrightarrow");$r("\\hArr","\\Leftrightarrow");$r("\\Harr","\\Leftrightarrow");$r("\\hearts","\\heartsuit");$r("\\image","\\Im");$r("\\infin","\\infty");$r("\\Iota","\\mathrm{I}");$r("\\isin","\\in");$r("\\Kappa","\\mathrm{K}");$r("\\larr","\\leftarrow");$r("\\lArr","\\Leftarrow");$r("\\Larr","\\Leftarrow");$r("\\lrarr","\\leftrightarrow");$r("\\lrArr","\\Leftrightarrow");$r("\\Lrarr","\\Leftrightarrow");$r("\\Mu","\\mathrm{M}");$r("\\natnums","\\mathbb{N}");$r("\\Nu","\\mathrm{N}");$r("\\Omicron","\\mathrm{O}");$r("\\plusmn","\\pm");$r("\\rarr","\\rightarrow");$r("\\rArr","\\Rightarrow");$r("\\Rarr","\\Rightarrow");$r("\\real","\\Re");$r("\\reals","\\mathbb{R}");$r("\\Reals","\\mathbb{R}");$r("\\Rho","\\mathrm{P}");$r("\\sdot","\\cdot");$r("\\sect","\\S");$r("\\spades","\\spadesuit");$r("\\sub","\\subset");$r("\\sube","\\subseteq");$r("\\supe","\\supseteq");$r("\\Tau","\\mathrm{T}");$r("\\thetasym","\\vartheta");$r("\\weierp","\\wp");$r("\\Zeta","\\mathrm{Z}");$r("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");$r("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");$r("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");$r("\\bra","\\mathinner{\\langle{#1}|}");$r("\\ket","\\mathinner{|{#1}\\rangle}");$r("\\braket","\\mathinner{\\langle{#1}\\rangle}");$r("\\Bra","\\left\\langle#1\\right|");$r("\\Ket","\\left|#1\\right\\rangle");var wA=i=>y=>{var R=y.consumeArg().tokens,Y=y.consumeArg().tokens,oe=y.consumeArg().tokens,he=y.consumeArg().tokens,B=y.macros.get("|"),O=y.macros.get("\\|");y.macros.beginGroup();var e=a=>L=>{i&&(L.macros.set("|",B),oe.length&&L.macros.set("\\|",O));var x=a;if(!a&&oe.length){var d=L.future();d.text==="|"&&(L.popToken(),x=!0)}return{tokens:x?oe:Y,numArgs:0}};y.macros.set("|",e(!1)),oe.length&&y.macros.set("\\|",e(!0));var p=y.consumeArg().tokens,E=y.expandTokens([...he,...p,...R]);return y.macros.endGroup(),{tokens:E.reverse(),numArgs:0}};$r("\\bra@ket",wA(!1));$r("\\bra@set",wA(!0));$r("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");$r("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");$r("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");$r("\\angln","{\\angl n}");$r("\\blue","\\textcolor{##6495ed}{#1}");$r("\\orange","\\textcolor{##ffa500}{#1}");$r("\\pink","\\textcolor{##ff00af}{#1}");$r("\\red","\\textcolor{##df0030}{#1}");$r("\\green","\\textcolor{##28ae7b}{#1}");$r("\\gray","\\textcolor{gray}{#1}");$r("\\purple","\\textcolor{##9d38bd}{#1}");$r("\\blueA","\\textcolor{##ccfaff}{#1}");$r("\\blueB","\\textcolor{##80f6ff}{#1}");$r("\\blueC","\\textcolor{##63d9ea}{#1}");$r("\\blueD","\\textcolor{##11accd}{#1}");$r("\\blueE","\\textcolor{##0c7f99}{#1}");$r("\\tealA","\\textcolor{##94fff5}{#1}");$r("\\tealB","\\textcolor{##26edd5}{#1}");$r("\\tealC","\\textcolor{##01d1c1}{#1}");$r("\\tealD","\\textcolor{##01a995}{#1}");$r("\\tealE","\\textcolor{##208170}{#1}");$r("\\greenA","\\textcolor{##b6ffb0}{#1}");$r("\\greenB","\\textcolor{##8af281}{#1}");$r("\\greenC","\\textcolor{##74cf70}{#1}");$r("\\greenD","\\textcolor{##1fab54}{#1}");$r("\\greenE","\\textcolor{##0d923f}{#1}");$r("\\goldA","\\textcolor{##ffd0a9}{#1}");$r("\\goldB","\\textcolor{##ffbb71}{#1}");$r("\\goldC","\\textcolor{##ff9c39}{#1}");$r("\\goldD","\\textcolor{##e07d10}{#1}");$r("\\goldE","\\textcolor{##a75a05}{#1}");$r("\\redA","\\textcolor{##fca9a9}{#1}");$r("\\redB","\\textcolor{##ff8482}{#1}");$r("\\redC","\\textcolor{##f9685d}{#1}");$r("\\redD","\\textcolor{##e84d39}{#1}");$r("\\redE","\\textcolor{##bc2612}{#1}");$r("\\maroonA","\\textcolor{##ffbde0}{#1}");$r("\\maroonB","\\textcolor{##ff92c6}{#1}");$r("\\maroonC","\\textcolor{##ed5fa6}{#1}");$r("\\maroonD","\\textcolor{##ca337c}{#1}");$r("\\maroonE","\\textcolor{##9e034e}{#1}");$r("\\purpleA","\\textcolor{##ddd7ff}{#1}");$r("\\purpleB","\\textcolor{##c6b9fc}{#1}");$r("\\purpleC","\\textcolor{##aa87ff}{#1}");$r("\\purpleD","\\textcolor{##7854ab}{#1}");$r("\\purpleE","\\textcolor{##543b78}{#1}");$r("\\mintA","\\textcolor{##f5f9e8}{#1}");$r("\\mintB","\\textcolor{##edf2df}{#1}");$r("\\mintC","\\textcolor{##e0e5cc}{#1}");$r("\\grayA","\\textcolor{##f6f7f7}{#1}");$r("\\grayB","\\textcolor{##f0f1f2}{#1}");$r("\\grayC","\\textcolor{##e3e5e6}{#1}");$r("\\grayD","\\textcolor{##d6d8da}{#1}");$r("\\grayE","\\textcolor{##babec2}{#1}");$r("\\grayF","\\textcolor{##888d93}{#1}");$r("\\grayG","\\textcolor{##626569}{#1}");$r("\\grayH","\\textcolor{##3b3e40}{#1}");$r("\\grayI","\\textcolor{##21242c}{#1}");$r("\\kaBlue","\\textcolor{##314453}{#1}");$r("\\kaGreen","\\textcolor{##71B307}{#1}");var TA={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class nB{constructor(y,R,Y){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=R,this.expansionCount=0,this.feed(y),this.macros=new tB(rB,R.macros),this.mode=Y,this.stack=[]}feed(y){this.lexer=new G8(y,this.settings)}switchMode(y){this.mode=y}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(y){this.stack.push(y)}pushTokens(y){this.stack.push(...y)}scanArgument(y){var R,Y,oe;if(y){if(this.consumeSpaces(),this.future().text!=="[")return null;R=this.popToken(),{tokens:oe,end:Y}=this.consumeArg(["]"])}else({tokens:oe,start:R,end:Y}=this.consumeArg());return this.pushToken(new Q0("EOF",Y.loc)),this.pushTokens(oe),R.range(Y,"")}consumeSpaces(){for(;;){var y=this.future();if(y.text===" ")this.stack.pop();else break}}consumeArg(y){var R=[],Y=y&&y.length>0;Y||this.consumeSpaces();var oe=this.future(),he,B=0,O=0;do{if(he=this.popToken(),R.push(he),he.text==="{")++B;else if(he.text==="}"){if(--B,B===-1)throw new ti("Extra }",he)}else if(he.text==="EOF")throw new ti("Unexpected end of input in a macro argument, expected '"+(y&&Y?y[O]:"}")+"'",he);if(y&&Y)if((B===0||B===1&&y[O]==="{")&&he.text===y[O]){if(++O,O===y.length){R.splice(-O,O);break}}else O=0}while(B!==0||Y);return oe.text==="{"&&R[R.length-1].text==="}"&&(R.pop(),R.shift()),R.reverse(),{tokens:R,start:oe,end:he}}consumeArgs(y,R){if(R){if(R.length!==y+1)throw new ti("The length of delimiters doesn't match the number of args!");for(var Y=R[0],oe=0;oethis.settings.maxExpand)throw new ti("Too many expansions: infinite loop or need to increase maxExpand setting");var he=oe.tokens,B=this.consumeArgs(oe.numArgs,oe.delimiters);if(oe.numArgs){he=he.slice();for(var O=he.length-1;O>=0;--O){var e=he[O];if(e.text==="#"){if(O===0)throw new ti("Incomplete placeholder at end of macro body",e);if(e=he[--O],e.text==="#")he.splice(O+1,1);else if(/^[1-9]$/.test(e.text))he.splice(O,2,...B[+e.text-1]);else throw new ti("Not a valid argument number",e)}}}return this.pushTokens(he),he.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var y=this.stack.pop();return y.treatAsRelax&&(y.text="\\relax"),y}throw new Error}expandMacro(y){return this.macros.has(y)?this.expandTokens([new Q0(y)]):void 0}expandTokens(y){var R=[],Y=this.stack.length;for(this.pushTokens(y);this.stack.length>Y;)if(this.expandOnce(!0)===!1){var oe=this.stack.pop();oe.treatAsRelax&&(oe.noexpand=!1,oe.treatAsRelax=!1),R.push(oe)}return R}expandMacroAsText(y){var R=this.expandMacro(y);return R&&R.map(Y=>Y.text).join("")}_getExpansion(y){var R=this.macros.get(y);if(R==null)return R;if(y.length===1){var Y=this.lexer.catcodes[y];if(Y!=null&&Y!==13)return}var oe=typeof R=="function"?R(this):R;if(typeof oe=="string"){var he=0;if(oe.indexOf("#")!==-1)for(var B=oe.replace(/##/g,"");B.indexOf("#"+(he+1))!==-1;)++he;for(var O=new G8(oe,this.settings),e=[],p=O.lex();p.text!=="EOF";)e.push(p),p=O.lex();e.reverse();var E={tokens:e,numArgs:he};return E}return oe}isDefined(y){return this.macros.has(y)||sd.hasOwnProperty(y)||Vs.math.hasOwnProperty(y)||Vs.text.hasOwnProperty(y)||TA.hasOwnProperty(y)}isExpandable(y){var R=this.macros.get(y);return R!=null?typeof R=="string"||typeof R=="function"||!R.unexpandable:sd.hasOwnProperty(y)&&!sd[y].primitive}}var Z8=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Hm=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),ex={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},j8={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Lp{constructor(y,R){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 nB(y,R,this.mode),this.settings=R,this.leftrightDepth=0}expect(y,R){if(R===void 0&&(R=!0),this.fetch().text!==y)throw new ti("Expected '"+y+"', got '"+this.fetch().text+"'",this.fetch());R&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(y){this.mode=y,this.gullet.switchMode(y)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var y=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),y}finally{this.gullet.endGroups()}}subparse(y){var R=this.nextToken;this.consume(),this.gullet.pushToken(new Q0("}")),this.gullet.pushTokens(y);var Y=this.parseExpression(!1);return this.expect("}"),this.nextToken=R,Y}parseExpression(y,R){for(var Y=[];;){this.mode==="math"&&this.consumeSpaces();var oe=this.fetch();if(Lp.endOfExpression.indexOf(oe.text)!==-1||R&&oe.text===R||y&&sd[oe.text]&&sd[oe.text].infix)break;var he=this.parseAtom(R);if(he){if(he.type==="internal")continue}else break;Y.push(he)}return this.mode==="text"&&this.formLigatures(Y),this.handleInfixNodes(Y)}handleInfixNodes(y){for(var R=-1,Y,oe=0;oe=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+R[0]+'" used in math mode',y);var O=Vs[this.mode][R].group,e=zc.range(y),p;if(Yz.hasOwnProperty(O)){var E=O;p={type:"atom",mode:this.mode,family:E,loc:e,text:R}}else p={type:O,mode:this.mode,loc:e,text:R};B=p}else if(R.charCodeAt(0)>=128)this.settings.strict&&(DT(R.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+R[0]+'" used in math mode',y):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+R[0]+'"'+(" ("+R.charCodeAt(0)+")"),y)),B={type:"textord",mode:"text",loc:zc.range(y),text:R};else return null;if(this.consume(),he)for(var a=0;aB&&(B=he):he=1,oe=Y+y.length,Y=R.indexOf(y,oe);return B}function MA(i){if(!i._compiled){const y=(i.atBreak?"[\\r\\n][\\t ]*":"")+(i.before?"(?:"+i.before+")":"");i._compiled=new RegExp((y?"("+y+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(i.character)?"\\":"")+i.character+(i.after?"(?:"+i.after+")":""),"g")}return i._compiled}function lB(i,y){return $8(i,y.inConstruct,!0)&&!$8(i,y.notInConstruct,!1)}function $8(i,y,R){if(typeof y=="string"&&(y=[y]),!y||y.length===0)return R;let Y=-1;for(;++Y=p||E+1e&&(e=p):p&&(e!==void 0&&e>-1&&O.push(`
-`.repeat(e)||" "),e=-1,O.push(p))}return O.join("")}function kA(i,y,R){return i.type==="element"?xB(i,y,R):i.type==="text"?R.whitespace==="normal"?LA(i,R):bB(i):[]}function xB(i,y,R){const Y=PA(i,R),oe=i.children||[];let he=-1,B=[];if(gB(i))return B;let O,e;for(g3(i)||t7(i)&&J8(y,i,t7)?e=`
-`:mB(i)?(O=2,e=2):EA(i)&&(O=1,e=1);++he{sy(Y,"element",he=>{const B=he.properties&&Array.isArray(he.properties.className)?he.properties.className:[],O=B.includes("math-inline"),e=B.includes("math-display");if(!O&&!e)return;const p=yB(he,{whitespace:"pre"});let E;try{E=X8.renderToString(p,i7({},y,{displayMode:e,throwOnError:!0}))}catch(L){const x=L,d=R?"fail":"message",m=[VB,x.name.toLowerCase()].join(":");if(oe[d](x.message,he.position,m),x.name!=="ParseError"){he.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(x),style:"color:"+(y.errorColor||"#cc0000")},children:[{type:"text",value:p}]}];return}E=X8.renderToString(p,i7({},y,{displayMode:e,throwOnError:!1,strict:"ignore"}))}const a=UB(E,{fragment:!0});he.children=a.children})}}function GB(i){return wa.jsx(wa.Fragment,{children:wa.jsxs("div",{className:"uk-grid-small uk-child-width-1-1","data-uk-grid":!0,children:[wa.jsx("div",{className:"uk-heading-bullet uk-margin-small-top uk-text-bolder uk-first-column",children:i.title}),wa.jsx("div",{children:wa.jsx(o1,{children:i.text,remarkPlugins:[Pp],rehypePlugins:[Dp]})})]})})}function WB(i){const y=Co.useMemo(()=>i.docs.map((R,Y)=>wa.jsx(GB,{title:R.title,id:R.id,text:R.text,activated:R.activated,dependency:R.dependency},Y)),[i.docs]);return wa.jsx("div",{className:"uk-card uk-card-body uk-card-default uk-card-hover",children:wa.jsx("div",{style:{overflow:"auto"},children:wa.jsx("div",{className:"uk-child uk-child-width-1-1","data-uk-grid":!0,children:y})})})}var zA={},FA={};(function(i){function y(c){"@babel/helpers - typeof";return y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},y(c)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=f;var R=B(Co),Y=oe(vT);function oe(c){return c&&c.__esModule?c:{default:c}}function he(c){if(typeof WeakMap!="function")return null;var u=new WeakMap,b=new WeakMap;return(he=function(S){return S?b:u})(c)}function B(c,u){if(!u&&c&&c.__esModule)return c;if(c===null||y(c)!=="object"&&typeof c!="function")return{default:c};var b=he(u);if(b&&b.has(c))return b.get(c);var h={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in c)if(v!=="default"&&Object.prototype.hasOwnProperty.call(c,v)){var l=S?Object.getOwnPropertyDescriptor(c,v):null;l&&(l.get||l.set)?Object.defineProperty(h,v,l):h[v]=c[v]}return h.default=c,b&&b.set(c,h),h}function O(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function e(c,u){for(var b=0;b"u"||!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{return!1}}function r(c){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},r(c)}var t=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover","WebGlContextLost"],s=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],n=typeof window<"u";function f(c){var u=function(b){E(S,b);var h=L(S);function S(v){var l;return O(this,S),l=h.call(this,v),l.p=Promise.resolve(),l.resizeHandler=null,l.handlers={},l.syncWindowResize=l.syncWindowResize.bind(d(l)),l.syncEventHandlers=l.syncEventHandlers.bind(d(l)),l.attachUpdateEvents=l.attachUpdateEvents.bind(d(l)),l.getRef=l.getRef.bind(d(l)),l.handleUpdate=l.handleUpdate.bind(d(l)),l.figureCallback=l.figureCallback.bind(d(l)),l.updatePlotly=l.updatePlotly.bind(d(l)),l}return p(S,[{key:"updatePlotly",value:function(l,g,C){var M=this;this.p=this.p.then(function(){if(!M.unmounting){if(!M.el)throw new Error("Missing element reference");return c.react(M.el,{data:M.props.data,layout:M.props.layout,config:M.props.config,frames:M.props.frames})}}).then(function(){M.unmounting||(M.syncWindowResize(l),M.syncEventHandlers(),M.figureCallback(g),C&&M.attachUpdateEvents())}).catch(function(D){M.props.onError&&M.props.onError(D)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(l){this.unmounting=!1;var g=l.frames&&l.frames.length?l.frames.length:0,C=this.props.frames&&this.props.frames.length?this.props.frames.length:0,M=!(l.layout===this.props.layout&&l.data===this.props.data&&l.config===this.props.config&&C===g),D=l.revision!==void 0,T=l.revision!==this.props.revision;!M&&(!D||D&&!T)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&n&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),c.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var l=this;!this.el||!this.el.removeListener||s.forEach(function(g){l.el.on(g,l.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var l=this;!this.el||!this.el.removeListener||s.forEach(function(g){l.el.removeListener(g,l.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(l){if(typeof l=="function"){var g=this.el,C=g.data,M=g.layout,D=this.el._transitionData?this.el._transitionData._frames:null,T={data:C,layout:M,frames:D};l(T,this.el)}}},{key:"syncWindowResize",value:function(l){var g=this;n&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return c.Plots.resize(g.el)},window.addEventListener("resize",this.resizeHandler),l&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(l){this.el=l,this.props.debug&&n&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var l=this;t.forEach(function(g){var C=l.props["on"+g],M=l.handlers[g],D=!!M;C&&!D?l.addEventHandler(g,C):!C&&D?l.removeEventHandler(g):C&&D&&C!==M&&(l.removeEventHandler(g),l.addEventHandler(g,C))})}},{key:"addEventHandler",value:function(l,g){this.handlers[l]=g,this.el.on(this.getPlotlyEventName(l),this.handlers[l])}},{key:"removeEventHandler",value:function(l){this.el.removeListener(this.getPlotlyEventName(l),this.handlers[l]),delete this.handlers[l]}},{key:"getPlotlyEventName",value:function(l){return"plotly_"+l.toLowerCase()}},{key:"render",value:function(){return R.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),S}(R.Component);return u.propTypes={data:Y.default.arrayOf(Y.default.object),config:Y.default.object,layout:Y.default.object,frames:Y.default.arrayOf(Y.default.object),revision:Y.default.number,onInitialized:Y.default.func,onPurge:Y.default.func,onError:Y.default.func,onUpdate:Y.default.func,debug:Y.default.bool,style:Y.default.object,className:Y.default.string,useResizeHandler:Y.default.bool,divId:Y.default.string},t.forEach(function(b){u.propTypes["on"+b]=Y.default.func}),u.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},u}})(FA);var BA={exports:{}};(function(i,y){(function(Y,oe){i.exports=oe()})(self,function(){return function(){var R={98847:function(B,O,e){var p=e(71828),E={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in E){var L=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");p.addStyleRule(L,E[a])}},98222:function(B,O,e){B.exports=e(82887)},27206:function(B,O,e){B.exports=e(60822)},59893:function(B,O,e){B.exports=e(23381)},5224:function(B,O,e){B.exports=e(83832)},59509:function(B,O,e){B.exports=e(72201)},75557:function(B,O,e){B.exports=e(91815)},40338:function(B,O,e){B.exports=e(21462)},35080:function(B,O,e){B.exports=e(51319)},61396:function(B,O,e){B.exports=e(57516)},40549:function(B,O,e){B.exports=e(98128)},49866:function(B,O,e){B.exports=e(99442)},36089:function(B,O,e){B.exports=e(93740)},19548:function(B,O,e){B.exports=e(8729)},35831:function(B,O,e){B.exports=e(93814)},61039:function(B,O,e){B.exports=e(14382)},97040:function(B,O,e){B.exports=e(51759)},77986:function(B,O,e){B.exports=e(10421)},24296:function(B,O,e){B.exports=e(43102)},58872:function(B,O,e){B.exports=e(92165)},29626:function(B,O,e){B.exports=e(3325)},65591:function(B,O,e){B.exports=e(36071)},69738:function(B,O,e){B.exports=e(43905)},92650:function(B,O,e){B.exports=e(35902)},35630:function(B,O,e){B.exports=e(69816)},73434:function(B,O,e){B.exports=e(94507)},27909:function(B,O,e){var p=e(19548);p.register([e(27206),e(5224),e(58872),e(65591),e(69738),e(92650),e(49866),e(25743),e(6197),e(97040),e(85461),e(73434),e(54201),e(81299),e(47645),e(35630),e(77986),e(83043),e(93005),e(96881),e(4534),e(50581),e(40549),e(77900),e(47582),e(35080),e(21641),e(17280),e(5861),e(29626),e(10021),e(65317),e(96268),e(61396),e(35831),e(16122),e(46163),e(40344),e(40338),e(48131),e(36089),e(55334),e(75557),e(19440),e(99488),e(59893),e(97393),e(98222),e(61039),e(24296),e(66398),e(59509)]),B.exports=p},46163:function(B,O,e){B.exports=e(15154)},96881:function(B,O,e){B.exports=e(64943)},50581:function(B,O,e){B.exports=e(21164)},55334:function(B,O,e){B.exports=e(54186)},65317:function(B,O,e){B.exports=e(94873)},10021:function(B,O,e){B.exports=e(67618)},54201:function(B,O,e){B.exports=e(58810)},5861:function(B,O,e){B.exports=e(20593)},16122:function(B,O,e){B.exports=e(29396)},83043:function(B,O,e){B.exports=e(13551)},48131:function(B,O,e){B.exports=e(46858)},47582:function(B,O,e){B.exports=e(17988)},21641:function(B,O,e){B.exports=e(68868)},96268:function(B,O,e){B.exports=e(20467)},19440:function(B,O,e){B.exports=e(91271)},99488:function(B,O,e){B.exports=e(21461)},97393:function(B,O,e){B.exports=e(85956)},25743:function(B,O,e){B.exports=e(52979)},66398:function(B,O,e){B.exports=e(32275)},17280:function(B,O,e){B.exports=e(6419)},77900:function(B,O,e){B.exports=e(61510)},81299:function(B,O,e){B.exports=e(87619)},93005:function(B,O,e){B.exports=e(93601)},40344:function(B,O,e){B.exports=e(96595)},47645:function(B,O,e){B.exports=e(70954)},6197:function(B,O,e){B.exports=e(47462)},4534:function(B,O,e){B.exports=e(17659)},85461:function(B,O,e){B.exports=e(19990)},82884:function(B){B.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(B,O,e){var p=e(82884),E=e(41940),a=e(85555),L=e(44467).templatedArray;e(24695),B.exports=L("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:E({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:p.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:p.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:E({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(B,O,e){var p=e(71828),E=e(89298),a=e(92605).draw;B.exports=function(m){var r=m._fullLayout,t=p.filterVisible(r.annotations);if(t.length&&m._fullData.length)return p.syncOrAsync([a,L],m)};function L(d){var m=d._fullLayout;p.filterVisible(m.annotations).forEach(function(r){var t=E.getFromId(d,r.xref),s=E.getFromId(d,r.yref),n=E.getRefType(r.xref),f=E.getRefType(r.yref);r._extremes={},n==="range"&&x(r,t),f==="range"&&x(r,s)})}function x(d,m){var r=m._id,t=r.charAt(0),s=d[t],n=d["a"+t],f=d[t+"ref"],c=d["a"+t+"ref"],u=d["_"+t+"padplus"],b=d["_"+t+"padminus"],h={x:1,y:-1}[t]*d[t+"shift"],S=3*d.arrowsize*d.arrowwidth||0,v=S+h,l=S-h,g=3*d.startarrowsize*d.arrowwidth||0,C=g+h,M=g-h,D;if(c===f){var T=E.findExtremes(m,[m.r2c(s)],{ppadplus:v,ppadminus:l}),P=E.findExtremes(m,[m.r2c(n)],{ppadplus:Math.max(u,C),ppadminus:Math.max(b,M)});D={min:[T.min[0],P.min[0]],max:[T.max[0],P.max[0]]}}else C=n?C+n:C,M=n?M-n:M,D=E.findExtremes(m,[m.r2c(s)],{ppadplus:Math.max(u,v,C),ppadminus:Math.max(b,l,M)});d._extremes[r]=D}},44317:function(B,O,e){var p=e(71828),E=e(73972),a=e(44467).arrayEditor;B.exports={hasClickToShow:L,onClick:x};function L(r,t){var s=d(r,t);return s.on.length>0||s.explicitOff.length>0}function x(r,t){var s=d(r,t),n=s.on,f=s.off.concat(s.explicitOff),c={},u=r._fullLayout.annotations,b,h;if(n.length||f.length){for(b=0;b.6666666666666666?kr="right":kr="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[kr]}for(var pt=!1,ut=["x","y"],lt=0;lt1)&&(gt===Ne?(ot=qe.r2fraction(g["a"+ke]),(ot<0||ot>1)&&(pt=!0)):pt=!0),Fe=qe._offset+qe.r2p(g[ke]),Ie=.5}else{var ct=je==="domain";ke==="x"?(ve=g[ke],Fe=ct?qe._offset+qe._length*ve:Fe=A.l+A.w*ve):(ve=1-g[ke],Fe=ct?qe._offset+qe._length*ve:Fe=A.t+A.h*ve),Ie=g.showarrow?.5:ve}if(g.showarrow){Ze.head=Fe;var Et=g["a"+ke];if(Ae=Bt*$e(.5,g.xanchor)-Yt*$e(.5,g.yanchor),gt===Ne){var kt=d.getRefType(gt);kt==="domain"?(ke==="y"&&(Et=1-Et),Ze.tail=qe._offset+qe._length*Et):kt==="paper"?ke==="y"?(Et=1-Et,Ze.tail=A.t+A.h*Et):Ze.tail=A.l+A.w*Et:Ze.tail=qe._offset+qe.r2p(Et),Ce=Ae}else Ze.tail=Fe+Et,Ce=Ae+Et;Ze.text=Ze.tail+Ae;var nr=P[ke==="x"?"width":"height"];if(Ne==="paper"&&(Ze.head=L.constrain(Ze.head,1,nr-1)),gt==="pixel"){var dr=-Math.max(Ze.tail-3,Ze.text),Dt=Math.min(Ze.tail+3,Ze.text)-nr;dr>0?(Ze.tail+=dr,Ze.text+=dr):Dt>0&&(Ze.tail-=Dt,Ze.text-=Dt)}Ze.tail+=_e,Ze.head+=_e}else Ae=it*$e(Ie,Ue),Ce=Ae,Ze.text=Fe+Ae;Ze.text+=_e,Ae+=_e,Ce+=_e,g["_"+ke+"padplus"]=it/2+Ce,g["_"+ke+"padminus"]=it/2-Ce,g["_"+ke+"size"]=it,g["_"+ke+"shift"]=Ae}if(pt){pe.remove();return}var $t=0,vr=0;if(g.align!=="left"&&($t=(Re-De)*(g.align==="center"?.5:1)),g.valign!=="top"&&(vr=(Xe-Te)*(g.valign==="middle"?.5:1)),We)Ee.select("svg").attr({x:K+$t-1,y:K+vr}).call(r.setClipUrl,re?H:null,l);else{var Pr=K+vr-Ye.top,Ct=K+$t-Ye.left;ce.call(s.positionText,Ct,Pr).call(r.setClipUrl,re?H:null,l)}fe.select("rect").call(r.setRect,K,K,Re,Xe),J.call(r.setRect,q/2,q/2,Je-q,He-q),pe.call(r.setTranslate,Math.round(V.x.text-Je/2),Math.round(V.y.text-He/2)),j.attr({transform:"rotate("+N+","+V.x.text+","+V.y.text+")"});var ir=function(Or,kr){W.selectAll(".annotation-arrow-g").remove();var Mt=V.x.head,yt=V.y.head,Rt=V.x.tail+Or,wt=V.y.tail+kr,Ut=V.x.text+Or,Ht=V.y.text+kr,Qt=L.rotationXYMatrix(N,Ut,Ht),qt=L.apply2DTransform(Qt),ur=L.apply2DTransform2(Qt),Cr=+J.attr("width"),mr=+J.attr("height"),Fr=Ut-.5*Cr,tt=Fr+Cr,et=Ht-.5*mr,Wt=et+mr,Gt=[[Fr,et,Fr,Wt],[Fr,Wt,tt,Wt],[tt,Wt,tt,et],[tt,et,Fr,et]].map(ur);if(!Gt.reduce(function(an,Wn){return an^!!L.segmentsIntersect(Mt,yt,Mt+1e6,yt+1e6,Wn[0],Wn[1],Wn[2],Wn[3])},!1)){Gt.forEach(function(an){var Wn=L.segmentsIntersect(Rt,wt,Mt,yt,an[0],an[1],an[2],an[3]);Wn&&(Rt=Wn.x,wt=Wn.y)});var or=g.arrowwidth,wr=g.arrowcolor,Tr=g.arrowside,br=W.append("g").style({opacity:m.opacity(wr)}).classed("annotation-arrow-g",!0),Kt=br.append("path").attr("d","M"+Rt+","+wt+"L"+Mt+","+yt).style("stroke-width",or+"px").call(m.stroke,m.rgb(wr));if(u(Kt,Tr,g),o.annotationPosition&&Kt.node().parentNode&&!M){var Ir=Mt,Lr=yt;if(g.standoff){var Br=Math.sqrt(Math.pow(Mt-Rt,2)+Math.pow(yt-wt,2));Ir+=g.standoff*(Rt-Mt)/Br,Lr+=g.standoff*(wt-yt)/Br}var zr=br.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Ir)+","+(wt-Lr),transform:x(Ir,Lr)}).style("stroke-width",or+6+"px").call(m.stroke,"rgba(0,0,0,0)").call(m.fill,"rgba(0,0,0,0)"),cn,tn;f.init({element:zr.node(),gd:l,prepFn:function(){var an=r.getTranslate(pe);cn=an.x,tn=an.y,D&&D.autorange&&F(D._name+".autorange",!0),T&&T.autorange&&F(T._name+".autorange",!0)},moveFn:function(an,Wn){var En=qt(cn,tn),pa=En[0]+an,Qn=En[1]+Wn;pe.call(r.setTranslate,pa,Qn),G("x",S(D,an,"x",A,g)),G("y",S(T,Wn,"y",A,g)),g.axref===g.xref&&G("ax",S(D,an,"ax",A,g)),g.ayref===g.yref&&G("ay",S(T,Wn,"ay",A,g)),br.attr("transform",x(an,Wn)),j.attr({transform:"rotate("+N+","+pa+","+Qn+")"})},doneFn:function(){E.call("_guiRelayout",l,_());var an=document.querySelector(".js-notes-box-panel");an&&an.redraw(an.selectedObj)}})}}};if(g.showarrow&&ir(0,0),Q){var cr;f.init({element:pe.node(),gd:l,prepFn:function(){cr=j.attr("transform")},moveFn:function(Or,kr){var Mt="pointer";if(g.showarrow)g.axref===g.xref?G("ax",S(D,Or,"ax",A,g)):G("ax",g.ax+Or),g.ayref===g.yref?G("ay",S(T,kr,"ay",A.w,g)):G("ay",g.ay+kr),ir(Or,kr);else{if(M)return;var yt,Rt;if(D)yt=S(D,Or,"x",A,g);else{var wt=g._xsize/A.w,Ut=g.x+(g._xshift-g.xshift)/A.w-wt/2;yt=f.align(Ut+Or/A.w,wt,0,1,g.xanchor)}if(T)Rt=S(T,kr,"y",A,g);else{var Ht=g._ysize/A.h,Qt=g.y-(g._yshift+g.yshift)/A.h-Ht/2;Rt=f.align(Qt-kr/A.h,Ht,0,1,g.yanchor)}G("x",yt),G("y",Rt),(!D||!T)&&(Mt=f.getCursor(D?.5:yt,T?.5:Rt,g.xanchor,g.yanchor))}j.attr({transform:x(Or,kr)+cr}),n(pe,Mt)},clickFn:function(Or,kr){g.captureevents&&l.emit("plotly_clickannotation",ue(kr))},doneFn:function(){n(pe),E.call("_guiRelayout",l,_());var Or=document.querySelector(".js-notes-box-panel");Or&&Or.redraw(Or.selectedObj)}})}}o.annotationText?ce.call(s.makeEditable,{delegate:pe,gd:l}).call(le).on("edit",function(we){g.text=we,this.call(le),G("text",we),D&&D.autorange&&F(D._name+".autorange",!0),T&&T.autorange&&F(T._name+".autorange",!0),E.call("_guiRelayout",l,_())}):ce.call(le)}},13011:function(B,O,e){var p=e(39898),E=e(7901),a=e(82884),L=e(71828),x=L.strScale,d=L.strRotate,m=L.strTranslate;B.exports=function(t,s,n){var f=t.node(),c=a[n.arrowhead||0],u=a[n.startarrowhead||0],b=(n.arrowwidth||1)*(n.arrowsize||1),h=(n.arrowwidth||1)*(n.startarrowsize||1),S=s.indexOf("start")>=0,v=s.indexOf("end")>=0,l=c.backoff*b+n.standoff,g=u.backoff*h+n.startstandoff,C,M,D,T;if(f.nodeName==="line"){C={x:+t.attr("x1"),y:+t.attr("y1")},M={x:+t.attr("x2"),y:+t.attr("y2")};var P=C.x-M.x,A=C.y-M.y;if(D=Math.atan2(A,P),T=D+Math.PI,l&&g&&l+g>Math.sqrt(P*P+A*A)){j();return}if(l){if(l*l>P*P+A*A){j();return}var o=l*Math.cos(D),k=l*Math.sin(D);M.x+=o,M.y+=k,t.attr({x2:M.x,y2:M.y})}if(g){if(g*g>P*P+A*A){j();return}var w=g*Math.cos(D),U=g*Math.sin(D);C.x-=w,C.y-=U,t.attr({x1:C.x,y1:C.y})}}else if(f.nodeName==="path"){var F=f.getTotalLength(),G="";if(F1){n=!0;break}}n?x.fullLayout._infolayer.select(".annotation-"+x.id+'[data-index="'+t+'"]').remove():(s._pdata=E(x.glplot.cameraParams,[d.xaxis.r2l(s.x)*m[0],d.yaxis.r2l(s.y)*m[1],d.zaxis.r2l(s.z)*m[2]]),p(x.graphDiv,s,t,x.id,s._xa,s._ya))}}},2468:function(B,O,e){var p=e(73972),E=e(71828);B.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:e(26997)}}},layoutAttributes:e(26997),handleDefaults:e(20226),includeBasePlot:a,convert:e(5485),draw:e(82188)};function a(L,x){var d=p.subplotsRegistry.gl3d;if(d)for(var m=d.attrRegex,r=Object.keys(L),t=0;t=0)))return t;if(u===3)f[u]>1&&(f[u]=1);else if(f[u]>=1)return t}var b=Math.round(f[0]*255)+", "+Math.round(f[1]*255)+", "+Math.round(f[2]*255);return c?"rgba("+b+", "+f[3]+")":"rgb("+b+")"}},63583:function(B,O,e){var p=e(13838),E=e(41940),a=e(1426).extendFlat,L=e(30962).overrideAll;B.exports=L({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:p.linecolor,outlinewidth:p.linewidth,bordercolor:p.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:p.minor.tickmode,nticks:p.nticks,tick0:p.tick0,dtick:p.dtick,tickvals:p.tickvals,ticktext:p.ticktext,ticks:a({},p.ticks,{dflt:""}),ticklabeloverflow:a({},p.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:p.ticklen,tickwidth:p.tickwidth,tickcolor:p.tickcolor,ticklabelstep:p.ticklabelstep,showticklabels:p.showticklabels,labelalias:p.labelalias,tickfont:E({}),tickangle:p.tickangle,tickformat:p.tickformat,tickformatstops:p.tickformatstops,tickprefix:p.tickprefix,showtickprefix:p.showtickprefix,ticksuffix:p.ticksuffix,showticksuffix:p.showticksuffix,separatethousands:p.separatethousands,exponentformat:p.exponentformat,minexponent:p.minexponent,showexponent:p.showexponent,title:{text:{valType:"string"},font:E({}),side:{valType:"enumerated",values:["right","top","bottom"]}},_deprecated:{title:{valType:"string"},titlefont:E({}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top"}}},"colorbars","from-root")},30939:function(B){B.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},62499:function(B,O,e){var p=e(71828),E=e(44467),a=e(26218),L=e(38701),x=e(96115),d=e(89426),m=e(63583);B.exports=function(t,s,n){var f=E.newContainer(s,"colorbar"),c=t.colorbar||{};function u(V,N){return p.coerce(c,f,m,V,N)}var b=n.margin||{t:0,b:0,l:0,r:0},h=n.width-b.l-b.r,S=n.height-b.t-b.b,v=u("orientation"),l=v==="v",g=u("thicknessmode");u("thickness",g==="fraction"?30/(l?h:S):30);var C=u("lenmode");u("len",C==="fraction"?1:l?S:h);var M=u("yref"),D=u("xref"),T=M==="paper",P=D==="paper",A,o,k,w="left";l?(k="middle",w=P?"left":"right",A=P?1.02:1,o=.5):(k=T?"bottom":"top",w="center",A=.5,o=T?1.02:1),p.coerce(c,f,{x:{valType:"number",min:P?-2:0,max:P?3:1,dflt:A}},"x"),p.coerce(c,f,{y:{valType:"number",min:T?-2:0,max:T?3:1,dflt:o}},"y"),u("xanchor",w),u("xpad"),u("yanchor",k),u("ypad"),p.noneOrAll(c,f,["x","y"]),u("outlinecolor"),u("outlinewidth"),u("bordercolor"),u("borderwidth"),u("bgcolor");var U=p.coerce(c,f,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:l?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");u("ticklabeloverflow",U.indexOf("inside")!==-1?"hide past domain":"hide past div"),a(c,f,u,"linear");var F=n.font,G={outerTicks:!1,font:F};U.indexOf("inside")!==-1&&(G.bgColor="black"),d(c,f,u,"linear",G),x(c,f,u,"linear",G),L(c,f,u,"linear",G),u("title.text",n._dfltTitle.colorbar);var _=f.showticklabels?f.tickfont:F,H=p.extendFlat({},_,{color:F.color,size:p.bigFont(_.size)});p.coerceFont(u,"title.font",H),u("title.side",l?"top":"right")}},98981:function(B,O,e){var p=e(39898),E=e(84267),a=e(74875),L=e(73972),x=e(89298),d=e(28569),m=e(71828),r=m.strTranslate,t=e(1426).extendFlat,s=e(6964),n=e(91424),f=e(7901),c=e(92998),u=e(63893),b=e(52075).flipScale,h=e(71453),S=e(52830),v=e(13838),l=e(18783),g=l.LINE_SPACING,C=l.FROM_TL,M=l.FROM_BR,D=e(30939).cn;function T(U){var F=U._fullLayout,G=F._infolayer.selectAll("g."+D.colorbar).data(P(U),function(_){return _._id});G.enter().append("g").attr("class",function(_){return _._id}).classed(D.colorbar,!0),G.each(function(_){var H=p.select(this);m.ensureSingle(H,"rect",D.cbbg),m.ensureSingle(H,"g",D.cbfills),m.ensureSingle(H,"g",D.cblines),m.ensureSingle(H,"g",D.cbaxis,function(N){N.classed(D.crisp,!0)}),m.ensureSingle(H,"g",D.cbtitleunshift,function(N){N.append("g").classed(D.cbtitle,!0)}),m.ensureSingle(H,"rect",D.cboutline);var V=A(H,_,U);V&&V.then&&(U._promises||[]).push(V),U._context.edits.colorbarPosition&&o(H,_,U)}),G.exit().each(function(_){a.autoMargin(U,_._id)}).remove(),G.order()}function P(U){var F=U._fullLayout,G=U.calcdata,_=[],H,V,N,W;function j(te){return t(te,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function Q(){typeof W.calc=="function"?W.calc(U,N,H):(H._fillgradient=V.reversescale?b(V.colorscale):V.colorscale,H._zrange=[V[W.min],V[W.max]])}for(var ie=0;ie1){var Ze=Math.pow(10,Math.floor(Math.log(_e)/Math.LN10));it*=Ze*m.roundUp(_e/Ze,[2,5,10]),(Math.abs(Ye.start)/Ye.size+1e-6)%1<2e-6&&(Bt.tick0=0)}Bt.dtick=it}Bt.domain=_?[qe+X/ee.h,qe+$e-X/ee.h]:[qe+q/ee.w,qe+$e-q/ee.w],Bt.setScale(),U.attr("transform",r(Math.round(ee.l),Math.round(ee.t)));var Fe=U.select("."+D.cbtitleunshift).attr("transform",r(-Math.round(ee.l),-Math.round(ee.t))),Ce=Bt.ticklabelposition,ve=Bt.title.font.size,Ie=U.select("."+D.cbaxis),Ae,je=0,ot=0;function ct(Dt,$t){var vr={propContainer:Bt,propName:F._propPrefix+"title",traceIndex:F._traceIndex,_meta:F._meta,placeholder:te._dfltTitle.colorbar,containerGroup:U.select("."+D.cbtitle)},Pr=Dt.charAt(0)==="h"?Dt.substr(1):"h"+Dt;U.selectAll("."+Pr+",."+Pr+"-math-group").remove(),c.draw(G,Dt,t(vr,$t||{}))}function Et(){if(_&&Yt||!_&&!Yt){var Dt,$t;we==="top"&&(Dt=q+ee.l+pt*K,$t=X+ee.t+ut*(1-qe-$e)+3+ve*.75),we==="bottom"&&(Dt=q+ee.l+pt*K,$t=X+ee.t+ut*(1-qe)-3-ve*.25),we==="right"&&($t=X+ee.t+ut*J+3+ve*.75,Dt=q+ee.l+pt*qe),ct(Bt._id+"title",{attributes:{x:Dt,y:$t,"text-anchor":_?"start":"middle"}})}}function kt(){if(_&&!Yt||!_&&Yt){var Dt=Bt.position||0,$t=Bt._offset+Bt._length/2,vr,Pr;if(we==="right")Pr=$t,vr=ee.l+pt*Dt+10+ve*(Bt.showticklabels?1:.5);else if(vr=$t,we==="bottom"&&(Pr=ee.t+ut*Dt+10+(Ce.indexOf("inside")===-1?Bt.tickfont.size:0)+(Bt.ticks!=="intside"&&F.ticklen||0)),we==="top"){var Ct=me.text.split("
").length;Pr=ee.t+ut*Dt+10-Xe-g*ve*Ct}ct((_?"h":"v")+Bt._id+"title",{avoid:{selection:p.select(G).selectAll("g."+Bt._id+"tick"),side:we,offsetTop:_?0:ee.t,offsetLeft:_?ee.l:0,maxShift:_?te.width:te.height},attributes:{x:vr,y:Pr,"text-anchor":"middle"},transform:{rotate:_?-90:0,offset:0}})}}function nr(){if(!_&&!Yt||_&&Yt){var Dt=U.select("."+D.cbtitle),$t=Dt.select("text"),vr=[-j/2,j/2],Pr=Dt.select(".h"+Bt._id+"title-math-group").node(),Ct=15.6;$t.node()&&(Ct=parseInt($t.node().style.fontSize,10)*g);var ir;if(Pr?(ir=n.bBox(Pr),ot=ir.width,je=ir.height,je>Ct&&(vr[1]-=(je-Ct)/2)):$t.node()&&!$t.classed(D.jsPlaceholder)&&(ir=n.bBox($t.node()),ot=ir.width,je=ir.height),_){if(je){if(je+=5,we==="top")Bt.domain[1]-=je/ee.h,vr[1]*=-1;else{Bt.domain[0]+=je/ee.h;var cr=u.lineCount($t);vr[1]+=(1-cr)*Ct}Dt.attr("transform",r(vr[0],vr[1])),Bt.setScale()}}else ot&&(we==="right"&&(Bt.domain[0]+=(ot+ve/2)/ee.w),Dt.attr("transform",r(vr[0],vr[1])),Bt.setScale())}U.selectAll("."+D.cbfills+",."+D.cblines).attr("transform",_?r(0,Math.round(ee.h*(1-Bt.domain[1]))):r(Math.round(ee.w*Bt.domain[0]),0)),Ie.attr("transform",_?r(0,Math.round(-ee.t)):r(Math.round(-ee.l),0));var Or=U.select("."+D.cbfills).selectAll("rect."+D.cbfill).attr("style","").data(Te);Or.enter().append("rect").classed(D.cbfill,!0).attr("style",""),Or.exit().remove();var kr=Se.map(Bt.c2p).map(Math.round).sort(function(Ut,Ht){return Ut-Ht});Or.each(function(Ut,Ht){var Qt=[Ht===0?Se[0]:(Te[Ht]+Te[Ht-1])/2,Ht===Te.length-1?Se[1]:(Te[Ht]+Te[Ht+1])/2].map(Bt.c2p).map(Math.round);_&&(Qt[1]=m.constrain(Qt[1]+(Qt[1]>Qt[0])?1:-1,kr[0],kr[1]));var qt=p.select(this).attr(_?"x":"y",lt).attr(_?"y":"x",p.min(Qt)).attr(_?"width":"height",Math.max(Xe,2)).attr(_?"height":"width",Math.max(p.max(Qt)-p.min(Qt),2));if(F._fillgradient)n.gradient(qt,G,F._id,_?"vertical":"horizontalreversed",F._fillgradient,"fill");else{var ur=We(Ut).replace("e-","");qt.attr("fill",E(ur).toHexString())}});var Mt=U.select("."+D.cblines).selectAll("path."+D.cbline).data(le.color&&le.width?Re:[]);Mt.enter().append("path").classed(D.cbline,!0),Mt.exit().remove(),Mt.each(function(Ut){var Ht=lt,Qt=Math.round(Bt.c2p(Ut))+le.width/2%1;p.select(this).attr("d","M"+(_?Ht+","+Qt:Qt+","+Ht)+(_?"h":"v")+Xe).call(n.lineGroupStyle,le.width,Ee(Ut),le.dash)}),Ie.selectAll("g."+Bt._id+"tick,path").remove();var yt=lt+Xe+(j||0)/2-(F.ticks==="outside"?1:0),Rt=x.calcTicks(Bt),wt=x.getTickSigns(Bt)[2];return x.drawTicks(G,Bt,{vals:Bt.ticks==="inside"?x.clipEnds(Bt,Rt):Rt,layer:Ie,path:x.makeTickPath(Bt,yt,wt),transFn:x.makeTransTickFn(Bt)}),x.drawLabels(G,Bt,{vals:Rt,layer:Ie,transFn:x.makeTransTickLabelFn(Bt),labelFns:x.makeLabelFns(Bt,yt)})}function dr(){var Dt,$t=Xe+j/2;Ce.indexOf("inside")===-1&&(Dt=n.bBox(Ie.node()),$t+=_?Dt.width:Dt.height),Ae=Fe.select("text");var vr=0,Pr=_&&we==="top",Ct=!_&&we==="right",ir=0;if(Ae.node()&&!Ae.classed(D.jsPlaceholder)){var cr,Or=Fe.select(".h"+Bt._id+"title-math-group").node();Or&&(_&&Yt||!_&&!Yt)?(Dt=n.bBox(Or),vr=Dt.width,cr=Dt.height):(Dt=n.bBox(Fe.node()),vr=Dt.right-ee.l-(_?lt:vt),cr=Dt.bottom-ee.t-(_?vt:lt),!_&&we==="top"&&($t+=Dt.height,ir=Dt.height)),Ct&&(Ae.attr("transform",r(vr/2+ve/2,0)),vr*=2),$t=Math.max($t,_?vr:cr)}var kr=(_?q:X)*2+$t+Q+j/2,Mt=0;!_&&me.text&&pe==="bottom"&&J<=0&&(Mt=kr/2,kr+=Mt,ir+=Mt),te._hColorbarMoveTitle=Mt,te._hColorbarMoveCBTitle=ir;var yt=Q+j,Rt=(_?lt:vt)-yt/2-(_?q:0),wt=(_?vt:lt)-(_?He:X+ir-Mt);U.select("."+D.cbbg).attr("x",Rt).attr("y",wt).attr(_?"width":"height",Math.max(kr-Mt,2)).attr(_?"height":"width",Math.max(He+yt,2)).call(f.fill,ie).call(f.stroke,F.bordercolor).style("stroke-width",Q);var Ut=Ct?Math.max(vr-10,0):0;U.selectAll("."+D.cboutline).attr("x",(_?lt:vt+q)+Ut).attr("y",(_?vt+X-He:lt)+(Pr?je:0)).attr(_?"width":"height",Math.max(Xe,2)).attr(_?"height":"width",Math.max(He-(_?2*X+je:2*q+Ut),2)).call(f.stroke,F.outlinecolor).style({fill:"none","stroke-width":j});var Ht=_?ke*kr:0,Qt=_?0:(1-Ne)*kr-ir;if(Ht=fe?ee.l-Ht:-Ht,Qt=re?ee.t-Qt:-Qt,U.attr("transform",r(Ht,Qt)),!_&&(Q||E(ie).getAlpha()&&!E.equals(te.paper_bgcolor,ie))){var qt=Ie.selectAll("text"),ur=qt[0].length,Cr=U.select("."+D.cbbg).node(),mr=n.bBox(Cr),Fr=n.getTranslate(U),tt=2;qt.each(function(Lr,Br){var zr=0,cn=ur-1;if(Br===zr||Br===cn){var tn=n.bBox(this),an=n.getTranslate(this),Wn;if(Br===cn){var En=tn.right+an.x,pa=mr.right+Fr.x+vt-Q-tt+K;Wn=pa-En,Wn>0&&(Wn=0)}else if(Br===zr){var Qn=tn.left+an.x,_r=mr.left+Fr.x+vt+Q+tt;Wn=_r-Qn,Wn<0&&(Wn=0)}Wn&&(ur<3?this.setAttribute("transform","translate("+Wn+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var et={},Wt=C[ue],Gt=M[ue],or=C[pe],wr=M[pe],Tr=kr-Xe;_?(V==="pixels"?(et.y=J,et.t=He*or,et.b=He*wr):(et.t=et.b=0,et.yt=J+H*or,et.yb=J-H*wr),W==="pixels"?(et.x=K,et.l=kr*Wt,et.r=kr*Gt):(et.l=Tr*Wt,et.r=Tr*Gt,et.xl=K-N*Wt,et.xr=K+N*Gt)):(V==="pixels"?(et.x=K,et.l=He*Wt,et.r=He*Gt):(et.l=et.r=0,et.xl=K+H*Wt,et.xr=K-H*Gt),W==="pixels"?(et.y=1-J,et.t=kr*or,et.b=kr*wr):(et.t=Tr*or,et.b=Tr*wr,et.yt=J-N*or,et.yb=J+N*wr));var br=F.y<.5?"b":"t",Kt=F.x<.5?"l":"r";G._fullLayout._reservedMargin[F._id]={};var Ir={r:te.width-Rt-Ht,l:Rt+et.r,b:te.height-wt-Qt,t:wt+et.b};fe&&re?a.autoMargin(G,F._id,et):fe?G._fullLayout._reservedMargin[F._id][br]=Ir[br]:re||_?G._fullLayout._reservedMargin[F._id][Kt]=Ir[Kt]:G._fullLayout._reservedMargin[F._id][br]=Ir[br]}return m.syncOrAsync([a.previousPromises,Et,nr,kt,a.previousPromises,dr],G)}function o(U,F,G){var _=F.orientation==="v",H=G._fullLayout,V=H._size,N,W,j;d.init({element:U.node(),gd:G,prepFn:function(){N=U.attr("transform"),s(U)},moveFn:function(Q,ie){U.attr("transform",N+r(Q,ie)),W=d.align((_?F._uFrac:F._vFrac)+Q/V.w,_?F._thickFrac:F._lenFrac,0,1,F.xanchor),j=d.align((_?F._vFrac:1-F._uFrac)-ie/V.h,_?F._lenFrac:F._thickFrac,0,1,F.yanchor);var ue=d.getCursor(W,j,F.xanchor,F.yanchor);s(U,ue)},doneFn:function(){if(s(U),W!==void 0&&j!==void 0){var Q={};Q[F._propPrefix+"x"]=W,Q[F._propPrefix+"y"]=j,F._traceIndex!==void 0?L.call("_guiRestyle",G,Q,F._traceIndex):L.call("_guiRelayout",G,Q)}}})}function k(U,F,G){var _=F._levels,H=[],V=[],N,W,j=_.end+_.size/100,Q=_.size,ie=1.001*G[0]-.001*G[1],ue=1.001*G[1]-.001*G[0];for(W=0;W<1e5&&(N=_.start+W*Q,!(Q>0?N>=j:N<=j));W++)N>ie&&N0?N>=j:N<=j));W++)N>G[0]&&Nh-u?u=h-(b-h):b-h=0?l=r.colorscale.sequential:l=r.colorscale.sequentialminus,f._sync("colorscale",l)}}},33046:function(B,O,e){var p=e(71828),E=e(52075).hasColorscale,a=e(52075).extractOpts;B.exports=function(x,d){function m(u,b){var h=u["_"+b];h!==void 0&&(u[b]=h)}function r(u,b){var h=b.container?p.nestedProperty(u,b.container).get():u;if(h)if(h.coloraxis)h._colorAx=d[h.coloraxis];else{var S=a(h),v=S.auto;(v||S.min===void 0)&&m(h,b.min),(v||S.max===void 0)&&m(h,b.max),S.autocolorscale&&m(h,"colorscale")}}for(var t=0;t=0;l--,g++){var C=h[l];v[g]=[1-C[0],C[1]]}return v}function c(h,S){S=S||{};for(var v=h.domain,l=h.range,g=l.length,C=new Array(g),M=0;M1.3333333333333333-m?d:m}},70461:function(B,O,e){var p=e(71828),E=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];B.exports=function(L,x,d,m){return d==="left"?L=0:d==="center"?L=1:d==="right"?L=2:L=p.constrain(Math.floor(L*3),0,2),m==="bottom"?x=0:m==="middle"?x=1:m==="top"?x=2:x=p.constrain(Math.floor(x*3),0,2),E[x][L]}},64505:function(B,O){O.selectMode=function(e){return e==="lasso"||e==="select"},O.drawMode=function(e){return e==="drawclosedpath"||e==="drawopenpath"||e==="drawline"||e==="drawrect"||e==="drawcircle"},O.openMode=function(e){return e==="drawline"||e==="drawopenpath"},O.rectMode=function(e){return e==="select"||e==="drawline"||e==="drawrect"||e==="drawcircle"},O.freeMode=function(e){return e==="lasso"||e==="drawclosedpath"||e==="drawopenpath"},O.selectingOrDrawing=function(e){return O.freeMode(e)||O.rectMode(e)}},28569:function(B,O,e){var p=e(48956),E=e(57035),a=e(38520),L=e(71828).removeElement,x=e(85555),d=B.exports={};d.align=e(92807),d.getCursor=e(70461);var m=e(26041);d.unhover=m.wrapped,d.unhoverRaw=m.raw,d.init=function(n){var f=n.gd,c=1,u=f._context.doubleClickDelay,b=n.element,h,S,v,l,g,C,M,D;f._mouseDownTime||(f._mouseDownTime=0),b.style.pointerEvents="all",b.onmousedown=A,a?(b._ontouchstart&&b.removeEventListener("touchstart",b._ontouchstart),b._ontouchstart=A,b.addEventListener("touchstart",A,{passive:!1})):b.ontouchstart=A;function T(w,U,F){return Math.abs(w)"u"&&typeof w.clientY>"u"&&(w.clientX=h,w.clientY=S),v=new Date().getTime(),v-f._mouseDownTimeu&&(c=Math.max(c-1,1)),f._dragged)n.doneFn&&n.doneFn();else if(n.clickFn&&n.clickFn(c,C),!D){var U;try{U=new MouseEvent("click",w)}catch{var F=t(w);U=document.createEvent("MouseEvents"),U.initMouseEvent("click",w.bubbles,w.cancelable,w.view,w.detail,w.screenX,w.screenY,F[0],F[1],w.ctrlKey,w.altKey,w.shiftKey,w.metaKey,w.button,w.relatedTarget)}M.dispatchEvent(U)}f._dragging=!1,f._dragged=!1}};function r(){var s=document.createElement("div");s.className="dragcover";var n=s.style;return n.position="fixed",n.left=0,n.right=0,n.top=0,n.bottom=0,n.zIndex=999999999,n.background="none",document.body.appendChild(s),s}d.coverSlip=r;function t(s){return p(s.changedTouches?s.changedTouches[0]:s,document.body)}},26041:function(B,O,e){var p=e(11086),E=e(79990),a=e(24401).getGraphDiv,L=e(26675),x=B.exports={};x.wrapped=function(d,m,r){d=a(d),d._fullLayout&&E.clear(d._fullLayout._uid+L.HOVERID),x.raw(d,m,r)},x.raw=function(m,r){var t=m._fullLayout,s=m._hoverdata;r||(r={}),!(r.target&&!m._dragged&&p.triggerHandler(m,"plotly_beforehover",r)===!1)&&(t._hoverlayer.selectAll("g").remove(),t._hoverlayer.selectAll("line").remove(),t._hoverlayer.selectAll("circle").remove(),m._hoverdata=void 0,r.target&&s&&m.emit("plotly_unhover",{event:r,points:s}))}},79952:function(B,O){O.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},O.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(B,O,e){var p=e(39898),E=e(71828),a=E.numberFormat,L=e(92770),x=e(84267),d=e(73972),m=e(7901),r=e(21081),t=E.strTranslate,s=e(63893),n=e(77922),f=e(18783),c=f.LINE_SPACING,u=e(37822).DESELECTDIM,b=e(34098),h=e(39984),S=e(23469).appendArrayPointValue,v=B.exports={};v.font=function(De,Te,Re,Xe){E.isPlainObject(Te)&&(Xe=Te.color,Re=Te.size,Te=Te.family),Te&&De.style("font-family",Te),Re+1&&De.style("font-size",Re+"px"),Xe&&De.call(m.fill,Xe)},v.setPosition=function(De,Te,Re){De.attr("x",Te).attr("y",Re)},v.setSize=function(De,Te,Re){De.attr("width",Te).attr("height",Re)},v.setRect=function(De,Te,Re,Xe,Je){De.call(v.setPosition,Te,Re).call(v.setSize,Xe,Je)},v.translatePoint=function(De,Te,Re,Xe){var Je=Re.c2p(De.x),He=Xe.c2p(De.y);if(L(Je)&&L(He)&&Te.node())Te.node().nodeName==="text"?Te.attr("x",Je).attr("y",He):Te.attr("transform",t(Je,He));else return!1;return!0},v.translatePoints=function(De,Te,Re){De.each(function(Xe){var Je=p.select(this);v.translatePoint(Xe,Je,Te,Re)})},v.hideOutsideRangePoint=function(De,Te,Re,Xe,Je,He){Te.attr("display",Re.isPtWithinRange(De,Je)&&Xe.isPtWithinRange(De,He)?null:"none")},v.hideOutsideRangePoints=function(De,Te){if(Te._hasClipOnAxisFalse){var Re=Te.xaxis,Xe=Te.yaxis;De.each(function(Je){var He=Je[0].trace,$e=He.xcalendar,pt=He.ycalendar,ut=d.traceIs(He,"bar-like")?".bartext":".point,.textpoint";De.selectAll(ut).each(function(lt){v.hideOutsideRangePoint(lt,p.select(this),Re,Xe,$e,pt)})})}},v.crispRound=function(De,Te,Re){return!Te||!L(Te)?Re||0:De._context.staticPlot?Te:Te<1?1:Math.round(Te)},v.singleLineStyle=function(De,Te,Re,Xe,Je){Te.style("fill","none");var He=(((De||[])[0]||{}).trace||{}).line||{},$e=Re||He.width||0,pt=Je||He.dash||"";m.stroke(Te,Xe||He.color),v.dashLine(Te,pt,$e)},v.lineGroupStyle=function(De,Te,Re,Xe){De.style("fill","none").each(function(Je){var He=(((Je||[])[0]||{}).trace||{}).line||{},$e=Te||He.width||0,pt=Xe||He.dash||"";p.select(this).call(m.stroke,Re||He.color).call(v.dashLine,pt,$e)})},v.dashLine=function(De,Te,Re){Re=+Re||0,Te=v.dashStyle(Te,Re),De.style({"stroke-dasharray":Te,"stroke-width":Re+"px"})},v.dashStyle=function(De,Te){Te=+Te||1;var Re=Math.max(Te,3);return De==="solid"?De="":De==="dot"?De=Re+"px,"+Re+"px":De==="dash"?De=3*Re+"px,"+3*Re+"px":De==="longdash"?De=5*Re+"px,"+5*Re+"px":De==="dashdot"?De=3*Re+"px,"+Re+"px,"+Re+"px,"+Re+"px":De==="longdashdot"&&(De=5*Re+"px,"+2*Re+"px,"+Re+"px,"+2*Re+"px"),De};function l(De,Te,Re){var Xe=Te.fillpattern,Je=Xe&&v.getPatternAttr(Xe.shape,0,"");if(Je){var He=v.getPatternAttr(Xe.bgcolor,0,null),$e=v.getPatternAttr(Xe.fgcolor,0,null),pt=Xe.fgopacity,ut=v.getPatternAttr(Xe.size,0,8),lt=v.getPatternAttr(Xe.solidity,0,.3),ke=Te.uid;v.pattern(De,"point",Re,ke,Je,ut,lt,void 0,Xe.fillmode,He,$e,pt)}else Te.fillcolor&&De.call(m.fill,Te.fillcolor)}v.singleFillStyle=function(De,Te){var Re=p.select(De.node()),Xe=Re.data(),Je=((Xe[0]||[])[0]||{}).trace||{};l(De,Je,Te)},v.fillGroupStyle=function(De,Te){De.style("stroke-width",0).each(function(Re){var Xe=p.select(this);Re[0].trace&&l(Xe,Re[0].trace,Te)})};var g=e(90998);v.symbolNames=[],v.symbolFuncs=[],v.symbolBackOffs=[],v.symbolNeedLines={},v.symbolNoDot={},v.symbolNoFill={},v.symbolList=[],Object.keys(g).forEach(function(De){var Te=g[De],Re=Te.n;v.symbolList.push(Re,String(Re),De,Re+100,String(Re+100),De+"-open"),v.symbolNames[Re]=De,v.symbolFuncs[Re]=Te.f,v.symbolBackOffs[Re]=Te.backoff||0,Te.needLine&&(v.symbolNeedLines[Re]=!0),Te.noDot?v.symbolNoDot[Re]=!0:v.symbolList.push(Re+200,String(Re+200),De+"-dot",Re+300,String(Re+300),De+"-open-dot"),Te.noFill&&(v.symbolNoFill[Re]=!0)});var C=v.symbolNames.length,M="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";v.symbolNumber=function(De){if(L(De))De=+De;else if(typeof De=="string"){var Te=0;De.indexOf("-open")>0&&(Te=100,De=De.replace("-open","")),De.indexOf("-dot")>0&&(Te+=200,De=De.replace("-dot","")),De=v.symbolNames.indexOf(De),De>=0&&(De+=Te)}return De%100>=C||De>=400?0:Math.floor(Math.max(De,0))};function D(De,Te,Re,Xe){var Je=De%100;return v.symbolFuncs[Je](Te,Re,Xe)+(De>=200?M:"")}var T={x1:1,x2:0,y1:0,y2:0},P={x1:0,x2:0,y1:1,y2:0},A=a("~f"),o={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:T},horizontalreversed:{node:"linearGradient",attrs:T,reversed:!0},vertical:{node:"linearGradient",attrs:P},verticalreversed:{node:"linearGradient",attrs:P,reversed:!0}};v.gradient=function(De,Te,Re,Xe,Je,He){for(var $e=Je.length,pt=o[Xe],ut=new Array($e),lt=0;lt<$e;lt++)pt.reversed?ut[$e-1-lt]=[A((1-Je[lt][0])*100),Je[lt][1]]:ut[lt]=[A(Je[lt][0]*100),Je[lt][1]];var ke=Te._fullLayout,Ne="g"+ke._uid+"-"+Re,gt=ke._defs.select(".gradients").selectAll("#"+Ne).data([Xe+ut.join(";")],E.identity);gt.exit().remove(),gt.enter().append(pt.node).each(function(){var qe=p.select(this);pt.attrs&&qe.attr(pt.attrs),qe.attr("id",Ne);var vt=qe.selectAll("stop").data(ut);vt.exit().remove(),vt.enter().append("stop"),vt.each(function(Bt){var Yt=x(Bt[1]);p.select(this).attr({offset:Bt[0]+"%","stop-color":m.tinyRGB(Yt),"stop-opacity":Yt.getAlpha()})})}),De.style(He,X(Ne,Te)).style(He+"-opacity",null),De.classed("gradient_filled",!0)},v.pattern=function(De,Te,Re,Xe,Je,He,$e,pt,ut,lt,ke,Ne){var gt=Te==="legend";pt&&(ut==="overlay"?(lt=pt,ke=m.contrast(lt)):(lt=void 0,ke=pt));var qe=Re._fullLayout,vt="p"+qe._uid+"-"+Xe,Bt,Yt,it=function(Et,kt,nr,dr,Dt){return dr+(Dt-dr)*(Et-kt)/(nr-kt)},Ue,_e,Ze,Fe,Ce={},ve=x(ke),Ie=m.tinyRGB(ve),Ae=ve.getAlpha(),je=Ne*Ae;switch(Je){case"/":Bt=He*Math.sqrt(2),Yt=He*Math.sqrt(2),Ue="M-"+Bt/4+","+Yt/4+"l"+Bt/2+",-"+Yt/2+"M0,"+Yt+"L"+Bt+",0M"+Bt/4*3+","+Yt/4*5+"l"+Bt/2+",-"+Yt/2,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"\\":Bt=He*Math.sqrt(2),Yt=He*Math.sqrt(2),Ue="M"+Bt/4*3+",-"+Yt/4+"l"+Bt/2+","+Yt/2+"M0,0L"+Bt+","+Yt+"M-"+Bt/4+","+Yt/4*3+"l"+Bt/2+","+Yt/2,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"x":Bt=He*Math.sqrt(2),Yt=He*Math.sqrt(2),Ue="M-"+Bt/4+","+Yt/4+"l"+Bt/2+",-"+Yt/2+"M0,"+Yt+"L"+Bt+",0M"+Bt/4*3+","+Yt/4*5+"l"+Bt/2+",-"+Yt/2+"M"+Bt/4*3+",-"+Yt/4+"l"+Bt/2+","+Yt/2+"M0,0L"+Bt+","+Yt+"M-"+Bt/4+","+Yt/4*3+"l"+Bt/2+","+Yt/2,_e=He-He*Math.sqrt(1-$e),Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"|":Bt=He,Yt=He,Fe="path",Ue="M"+Bt/2+",0L"+Bt/2+","+Yt,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"-":Bt=He,Yt=He,Fe="path",Ue="M0,"+Yt/2+"L"+Bt+","+Yt/2,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"+":Bt=He,Yt=He,Fe="path",Ue="M"+Bt/2+",0L"+Bt/2+","+Yt+"M0,"+Yt/2+"L"+Bt+","+Yt/2,_e=He-He*Math.sqrt(1-$e),Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case".":Bt=He,Yt=He,$e=0&&De.i===void 0&&(De.i=He.i),Te.style("opacity",Xe.selectedOpacityFn?Xe.selectedOpacityFn(De):De.mo===void 0?$e.opacity:De.mo),Xe.ms2mrc){var ut;De.ms==="various"||$e.size==="various"?ut=3:ut=Xe.ms2mrc(De.ms),De.mrc=ut,Xe.selectedSizeFn&&(ut=De.mrc=Xe.selectedSizeFn(De));var lt=v.symbolNumber(De.mx||$e.symbol)||0;De.om=lt%200>=100;var ke=Ye(De,Re),Ne=re(De,Re);Te.attr("d",D(lt,ut,ke,Ne))}var gt=!1,qe,vt,Bt;if(De.so)Bt=pt.outlierwidth,vt=pt.outliercolor,qe=$e.outliercolor;else{var Yt=(pt||{}).width;Bt=(De.mlw+1||Yt+1||(De.trace?(De.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in De?vt=De.mlcc=Xe.lineScale(De.mlc):E.isArrayOrTypedArray(pt.color)?vt=m.defaultLine:vt=pt.color,E.isArrayOrTypedArray($e.color)&&(qe=m.defaultLine,gt=!0),"mc"in De?qe=De.mcc=Xe.markerScale(De.mc):qe=$e.color||$e.colors||"rgba(0,0,0,0)",Xe.selectedColorFn&&(qe=Xe.selectedColorFn(De))}if(De.om)Te.call(m.stroke,qe).style({"stroke-width":(Bt||1)+"px",fill:"none"});else{Te.style("stroke-width",(De.isBlank?0:Bt)+"px");var it=$e.gradient,Ue=De.mgt;Ue?gt=!0:Ue=it&&it.type,E.isArrayOrTypedArray(Ue)&&(Ue=Ue[0],o[Ue]||(Ue=0));var _e=$e.pattern,Ze=_e&&v.getPatternAttr(_e.shape,De.i,"");if(Ue&&Ue!=="none"){var Fe=De.mgc;Fe?gt=!0:Fe=it.color;var Ce=Re.uid;gt&&(Ce+="-"+De.i),v.gradient(Te,Je,Ce,Ue,[[0,Fe],[1,qe]],"fill")}else if(Ze){var ve=!1,Ie=_e.fgcolor;!Ie&&He&&He.color&&(Ie=He.color,ve=!0);var Ae=v.getPatternAttr(Ie,De.i,He&&He.color||null),je=v.getPatternAttr(_e.bgcolor,De.i,null),ot=_e.fgopacity,ct=v.getPatternAttr(_e.size,De.i,8),Et=v.getPatternAttr(_e.solidity,De.i,.3);ve=ve||De.mcc||E.isArrayOrTypedArray(_e.shape)||E.isArrayOrTypedArray(_e.bgcolor)||E.isArrayOrTypedArray(_e.fgcolor)||E.isArrayOrTypedArray(_e.size)||E.isArrayOrTypedArray(_e.solidity);var kt=Re.uid;ve&&(kt+="-"+De.i),v.pattern(Te,"point",Je,kt,Ze,ct,Et,De.mcc,_e.fillmode,je,Ae,ot)}else E.isArrayOrTypedArray(qe)?m.fill(Te,qe[De.i]):m.fill(Te,qe);Bt&&m.stroke(Te,vt)}},v.makePointStyleFns=function(De){var Te={},Re=De.marker;return Te.markerScale=v.tryColorscale(Re,""),Te.lineScale=v.tryColorscale(Re,"line"),d.traceIs(De,"symbols")&&(Te.ms2mrc=b.isBubble(De)?h(De):function(){return(Re.size||6)/2}),De.selectedpoints&&E.extendFlat(Te,v.makeSelectedPointStyleFns(De)),Te},v.makeSelectedPointStyleFns=function(De){var Te={},Re=De.selected||{},Xe=De.unselected||{},Je=De.marker||{},He=Re.marker||{},$e=Xe.marker||{},pt=Je.opacity,ut=He.opacity,lt=$e.opacity,ke=ut!==void 0,Ne=lt!==void 0;(E.isArrayOrTypedArray(pt)||ke||Ne)&&(Te.selectedOpacityFn=function(Ze){var Fe=Ze.mo===void 0?Je.opacity:Ze.mo;return Ze.selected?ke?ut:Fe:Ne?lt:u*Fe});var gt=Je.color,qe=He.color,vt=$e.color;(qe||vt)&&(Te.selectedColorFn=function(Ze){var Fe=Ze.mcc||gt;return Ze.selected?qe||Fe:vt||Fe});var Bt=Je.size,Yt=He.size,it=$e.size,Ue=Yt!==void 0,_e=it!==void 0;return d.traceIs(De,"symbols")&&(Ue||_e)&&(Te.selectedSizeFn=function(Ze){var Fe=Ze.mrc||Bt/2;return Ze.selected?Ue?Yt/2:Fe:_e?it/2:Fe}),Te},v.makeSelectedTextStyleFns=function(De){var Te={},Re=De.selected||{},Xe=De.unselected||{},Je=De.textfont||{},He=Re.textfont||{},$e=Xe.textfont||{},pt=Je.color,ut=He.color,lt=$e.color;return Te.selectedTextColorFn=function(ke){var Ne=ke.tc||pt;return ke.selected?ut||Ne:lt||(ut?Ne:m.addOpacity(Ne,u))},Te},v.selectedPointStyle=function(De,Te){if(!(!De.size()||!Te.selectedpoints)){var Re=v.makeSelectedPointStyleFns(Te),Xe=Te.marker||{},Je=[];Re.selectedOpacityFn&&Je.push(function(He,$e){He.style("opacity",Re.selectedOpacityFn($e))}),Re.selectedColorFn&&Je.push(function(He,$e){m.fill(He,Re.selectedColorFn($e))}),Re.selectedSizeFn&&Je.push(function(He,$e){var pt=$e.mx||Xe.symbol||0,ut=Re.selectedSizeFn($e);He.attr("d",D(v.symbolNumber(pt),ut,Ye($e,Te),re($e,Te))),$e.mrc2=ut}),Je.length&&De.each(function(He){for(var $e=p.select(this),pt=0;pt0?Re:0}v.textPointStyle=function(De,Te,Re){if(De.size()){var Xe;if(Te.selectedpoints){var Je=v.makeSelectedTextStyleFns(Te);Xe=Je.selectedTextColorFn}var He=Te.texttemplate,$e=Re._fullLayout;De.each(function(pt){var ut=p.select(this),lt=He?E.extractOption(pt,Te,"txt","texttemplate"):E.extractOption(pt,Te,"tx","text");if(!lt&<!==0){ut.remove();return}if(He){var ke=Te._module.formatLabels,Ne=ke?ke(pt,Te,$e):{},gt={};S(gt,Te,pt.i);var qe=Te._meta||{};lt=E.texttemplateString(lt,Ne,$e._d3locale,gt,pt,qe)}var vt=pt.tp||Te.textposition,Bt=U(pt,Te),Yt=Xe?Xe(pt):pt.tc||Te.textfont.color;ut.call(v.font,pt.tf||Te.textfont.family,Bt,Yt).text(lt).call(s.convertToTspans,Re).call(w,vt,Bt,pt.mrc)})}},v.selectedTextStyle=function(De,Te){if(!(!De.size()||!Te.selectedpoints)){var Re=v.makeSelectedTextStyleFns(Te);De.each(function(Xe){var Je=p.select(this),He=Re.selectedTextColorFn(Xe),$e=Xe.tp||Te.textposition,pt=U(Xe,Te);m.fill(Je,He);var ut=d.traceIs(Te,"bar-like");w(Je,$e,pt,Xe.mrc2||Xe.mrc,ut)})}};var F=.5;v.smoothopen=function(De,Te){if(De.length<3)return"M"+De.join("L");var Re="M"+De[0],Xe=[],Je;for(Je=1;Je=ut||Ze>=ke&&Ze<=ut)&&(Fe<=Ne&&Fe>=lt||Fe>=Ne&&Fe<=lt)&&(De=[Ze,Fe])}return De}v.applyBackoff=ie,v.makeTester=function(){var De=E.ensureSingleById(p.select("body"),"svg","js-plotly-tester",function(Re){Re.attr(n.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),Te=E.ensureSingle(De,"path","js-reference-point",function(Re){Re.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});v.tester=De,v.testref=Te},v.savedBBoxes={};var ue=0,pe=1e4;v.bBox=function(De,Te,Re){Re||(Re=q(De));var Xe;if(Re){if(Xe=v.savedBBoxes[Re],Xe)return E.extendFlat({},Xe)}else if(De.childNodes.length===1){var Je=De.childNodes[0];if(Re=q(Je),Re){var He=+Je.getAttribute("x")||0,$e=+Je.getAttribute("y")||0,pt=Je.getAttribute("transform");if(!pt){var ut=v.bBox(Je,!1,Re);return He&&(ut.left+=He,ut.right+=He),$e&&(ut.top+=$e,ut.bottom+=$e),ut}if(Re+="~"+He+"~"+$e+"~"+pt,Xe=v.savedBBoxes[Re],Xe)return E.extendFlat({},Xe)}}var lt,ke;Te?lt=De:(ke=v.tester.node(),lt=De.cloneNode(!0),ke.appendChild(lt)),p.select(lt).attr("transform",null).call(s.positionText,0,0);var Ne=lt.getBoundingClientRect(),gt=v.testref.node().getBoundingClientRect();Te||ke.removeChild(lt);var qe={height:Ne.height,width:Ne.width,left:Ne.left-gt.left,top:Ne.top-gt.top,right:Ne.right-gt.left,bottom:Ne.bottom-gt.top};return ue>=pe&&(v.savedBBoxes={},ue=0),Re&&(v.savedBBoxes[Re]=qe),ue++,E.extendFlat({},qe)};function q(De){var Te=De.getAttribute("data-unformatted");if(Te!==null)return Te+De.getAttribute("data-math")+De.getAttribute("text-anchor")+De.getAttribute("style")}v.setClipUrl=function(De,Te,Re){De.attr("clip-path",X(Te,Re))};function X(De,Te){if(!De)return null;var Re=Te._context,Xe=Re._exportedPlot?"":Re._baseUrl||"";return Xe?"url('"+Xe+"#"+De+"')":"url(#"+De+")"}v.getTranslate=function(De){var Te=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,Re=De.attr?"attr":"getAttribute",Xe=De[Re]("transform")||"",Je=Xe.replace(Te,function(He,$e,pt){return[$e,pt].join(" ")}).split(" ");return{x:+Je[0]||0,y:+Je[1]||0}},v.setTranslate=function(De,Te,Re){var Xe=/(\btranslate\(.*?\);?)/,Je=De.attr?"attr":"getAttribute",He=De.attr?"attr":"setAttribute",$e=De[Je]("transform")||"";return Te=Te||0,Re=Re||0,$e=$e.replace(Xe,"").trim(),$e+=t(Te,Re),$e=$e.trim(),De[He]("transform",$e),$e},v.getScale=function(De){var Te=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,Re=De.attr?"attr":"getAttribute",Xe=De[Re]("transform")||"",Je=Xe.replace(Te,function(He,$e,pt){return[$e,pt].join(" ")}).split(" ");return{x:+Je[0]||1,y:+Je[1]||1}},v.setScale=function(De,Te,Re){var Xe=/(\bscale\(.*?\);?)/,Je=De.attr?"attr":"getAttribute",He=De.attr?"attr":"setAttribute",$e=De[Je]("transform")||"";return Te=Te||1,Re=Re||1,$e=$e.replace(Xe,"").trim(),$e+="scale("+Te+","+Re+")",$e=$e.trim(),De[He]("transform",$e),$e};var K=/\s*sc.*/;v.setPointGroupScale=function(De,Te,Re){if(Te=Te||1,Re=Re||1,!!De){var Xe=Te===1&&Re===1?"":"scale("+Te+","+Re+")";De.each(function(){var Je=(this.getAttribute("transform")||"").replace(K,"");Je+=Xe,Je=Je.trim(),this.setAttribute("transform",Je)})}};var J=/translate\([^)]*\)\s*$/;v.setTextPointsScale=function(De,Te,Re){De&&De.each(function(){var Xe,Je=p.select(this),He=Je.select("text");if(He.node()){var $e=parseFloat(He.attr("x")||0),pt=parseFloat(He.attr("y")||0),ut=(Je.attr("transform")||"").match(J);Te===1&&Re===1?Xe=[]:Xe=[t($e,pt),"scale("+Te+","+Re+")",t(-$e,-pt)],ut&&Xe.push(ut),Je.attr("transform",Xe.join(""))}})};function re(De,Te){var Re;return De&&(Re=De.mf),Re===void 0&&(Re=Te.marker&&Te.marker.standoff||0),!Te._geo&&!Te._xA?-Re:Re}v.getMarkerStandoff=re;var fe=Math.atan2,te=Math.cos,ee=Math.sin;function ce(De,Te){var Re=Te[0],Xe=Te[1];return[Re*te(De)-Xe*ee(De),Re*ee(De)+Xe*te(De)]}var le,me,we,Se,Ee,We;function Ye(De,Te){var Re=De.ma;Re===void 0&&(Re=Te.marker.angle||0);var Xe,Je,He=Te.marker.angleref;if(He==="previous"||He==="north"){if(Te._geo){var $e=Te._geo.project(De.lonlat);Xe=$e[0],Je=$e[1]}else{var pt=Te._xA,ut=Te._yA;if(pt&&ut)Xe=pt.c2p(De.x),Je=ut.c2p(De.y);else return 90}if(Te._geo){var lt=De.lonlat[0],ke=De.lonlat[1],Ne=Te._geo.project([lt,ke+1e-5]),gt=Te._geo.project([lt+1e-5,ke]),qe=fe(gt[1]-Je,gt[0]-Xe),vt=fe(Ne[1]-Je,Ne[0]-Xe),Bt;if(He==="north")Bt=Re/180*Math.PI;else if(He==="previous"){var Yt=lt/180*Math.PI,it=ke/180*Math.PI,Ue=le/180*Math.PI,_e=me/180*Math.PI,Ze=Ue-Yt,Fe=te(_e)*ee(Ze),Ce=ee(_e)*te(it)-te(_e)*ee(it)*te(Ze);Bt=-fe(Fe,Ce)-Math.PI,le=lt,me=ke}var ve=ce(qe,[te(Bt),0]),Ie=ce(vt,[ee(Bt),0]);Re=fe(ve[1]+Ie[1],ve[0]+Ie[0])/Math.PI*180,He==="previous"&&!(We===Te.uid&&De.i===Ee+1)&&(Re=null)}if(He==="previous"&&!Te._geo)if(We===Te.uid&&De.i===Ee+1&&L(Xe)&&L(Je)){var Ae=Xe-we,je=Je-Se,ot=Te.line&&Te.line.shape||"",ct=ot.slice(ot.length-1);ct==="h"&&(je=0),ct==="v"&&(Ae=0),Re+=fe(je,Ae)/Math.PI*180+90}else Re=null}return we=Xe,Se=Je,Ee=De.i,We=Te.uid,Re}v.getMarkerAngle=Ye},90998:function(B,O,e){var p=e(95616),E=e(39898).round,a="M0,0Z",L=Math.sqrt(2),x=Math.sqrt(3),d=Math.PI,m=Math.cos,r=Math.sin;B.exports={circle:{n:0,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l="M"+v+",0A"+v+","+v+" 0 1,1 0,-"+v+"A"+v+","+v+" 0 0,1 "+v+",0Z";return S?u(h,S,l):l}},square:{n:1,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"H-"+v+"V-"+v+"H"+v+"Z")}},diamond:{n:2,f:function(b,h,S){if(t(h))return a;var v=E(b*1.3,2);return u(h,S,"M"+v+",0L0,"+v+"L-"+v+",0L0,-"+v+"Z")}},cross:{n:3,f:function(b,h,S){if(t(h))return a;var v=E(b*.4,2),l=E(b*1.2,2);return u(h,S,"M"+l+","+v+"H"+v+"V"+l+"H-"+v+"V"+v+"H-"+l+"V-"+v+"H-"+v+"V-"+l+"H"+v+"V-"+v+"H"+l+"Z")}},x:{n:4,f:function(b,h,S){if(t(h))return a;var v=E(b*.8/L,2),l="l"+v+","+v,g="l"+v+",-"+v,C="l-"+v+",-"+v,M="l-"+v+","+v;return u(h,S,"M0,"+v+l+g+C+g+C+M+C+M+l+M+l+"Z")}},"triangle-up":{n:5,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M-"+v+","+l+"H"+v+"L0,-"+g+"Z")}},"triangle-down":{n:6,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M-"+v+",-"+l+"H"+v+"L0,"+g+"Z")}},"triangle-left":{n:7,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M"+l+",-"+v+"V"+v+"L-"+g+",0Z")}},"triangle-right":{n:8,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M-"+l+",-"+v+"V"+v+"L"+g+",0Z")}},"triangle-ne":{n:9,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M-"+l+",-"+v+"H"+v+"V"+l+"Z")}},"triangle-se":{n:10,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M"+v+",-"+l+"V"+v+"H-"+l+"Z")}},"triangle-sw":{n:11,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M"+l+","+v+"H-"+v+"V-"+l+"Z")}},"triangle-nw":{n:12,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M-"+v+","+l+"V-"+v+"H"+l+"Z")}},pentagon:{n:13,f:function(b,h,S){if(t(h))return a;var v=E(b*.951,2),l=E(b*.588,2),g=E(-b,2),C=E(b*-.309,2),M=E(b*.809,2);return u(h,S,"M"+v+","+C+"L"+l+","+M+"H-"+l+"L-"+v+","+C+"L0,"+g+"Z")}},hexagon:{n:14,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b/2,2),g=E(b*x/2,2);return u(h,S,"M"+g+",-"+l+"V"+l+"L0,"+v+"L-"+g+","+l+"V-"+l+"L0,-"+v+"Z")}},hexagon2:{n:15,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b/2,2),g=E(b*x/2,2);return u(h,S,"M-"+l+","+g+"H"+l+"L"+v+",0L"+l+",-"+g+"H-"+l+"L-"+v+",0Z")}},octagon:{n:16,f:function(b,h,S){if(t(h))return a;var v=E(b*.924,2),l=E(b*.383,2);return u(h,S,"M-"+l+",-"+v+"H"+l+"L"+v+",-"+l+"V"+l+"L"+l+","+v+"H-"+l+"L-"+v+","+l+"V-"+l+"Z")}},star:{n:17,f:function(b,h,S){if(t(h))return a;var v=b*1.4,l=E(v*.225,2),g=E(v*.951,2),C=E(v*.363,2),M=E(v*.588,2),D=E(-v,2),T=E(v*-.309,2),P=E(v*.118,2),A=E(v*.809,2),o=E(v*.382,2);return u(h,S,"M"+l+","+T+"H"+g+"L"+C+","+P+"L"+M+","+A+"L0,"+o+"L-"+M+","+A+"L-"+C+","+P+"L-"+g+","+T+"H-"+l+"L0,"+D+"Z")}},hexagram:{n:18,f:function(b,h,S){if(t(h))return a;var v=E(b*.66,2),l=E(b*.38,2),g=E(b*.76,2);return u(h,S,"M-"+g+",0l-"+l+",-"+v+"h"+g+"l"+l+",-"+v+"l"+l+","+v+"h"+g+"l-"+l+","+v+"l"+l+","+v+"h-"+g+"l-"+l+","+v+"l-"+l+",-"+v+"h-"+g+"Z")}},"star-triangle-up":{n:19,f:function(b,h,S){if(t(h))return a;var v=E(b*x*.8,2),l=E(b*.8,2),g=E(b*1.6,2),C=E(b*4,2),M="A "+C+","+C+" 0 0 1 ";return u(h,S,"M-"+v+","+l+M+v+","+l+M+"0,-"+g+M+"-"+v+","+l+"Z")}},"star-triangle-down":{n:20,f:function(b,h,S){if(t(h))return a;var v=E(b*x*.8,2),l=E(b*.8,2),g=E(b*1.6,2),C=E(b*4,2),M="A "+C+","+C+" 0 0 1 ";return u(h,S,"M"+v+",-"+l+M+"-"+v+",-"+l+M+"0,"+g+M+v+",-"+l+"Z")}},"star-square":{n:21,f:function(b,h,S){if(t(h))return a;var v=E(b*1.1,2),l=E(b*2,2),g="A "+l+","+l+" 0 0 1 ";return u(h,S,"M-"+v+",-"+v+g+"-"+v+","+v+g+v+","+v+g+v+",-"+v+g+"-"+v+",-"+v+"Z")}},"star-diamond":{n:22,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2),l=E(b*1.9,2),g="A "+l+","+l+" 0 0 1 ";return u(h,S,"M-"+v+",0"+g+"0,"+v+g+v+",0"+g+"0,-"+v+g+"-"+v+",0Z")}},"diamond-tall":{n:23,f:function(b,h,S){if(t(h))return a;var v=E(b*.7,2),l=E(b*1.4,2);return u(h,S,"M0,"+l+"L"+v+",0L0,-"+l+"L-"+v+",0Z")}},"diamond-wide":{n:24,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2),l=E(b*.7,2);return u(h,S,"M0,"+l+"L"+v+",0L0,-"+l+"L-"+v+",0Z")}},hourglass:{n:25,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"H-"+v+"L"+v+",-"+v+"H-"+v+"Z")},noDot:!0},bowtie:{n:26,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"V-"+v+"L-"+v+","+v+"V-"+v+"Z")},noDot:!0},"circle-cross":{n:27,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v+"M"+v+",0A"+v+","+v+" 0 1,1 0,-"+v+"A"+v+","+v+" 0 0,1 "+v+",0Z")},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b/L,2);return u(h,S,"M"+l+","+l+"L-"+l+",-"+l+"M"+l+",-"+l+"L-"+l+","+l+"M"+v+",0A"+v+","+v+" 0 1,1 0,-"+v+"A"+v+","+v+" 0 0,1 "+v+",0Z")},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v+"M"+v+","+v+"H-"+v+"V-"+v+"H"+v+"Z")},needLine:!0,noDot:!0},"square-x":{n:30,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"L-"+v+",-"+v+"M"+v+",-"+v+"L-"+v+","+v+"M"+v+","+v+"H-"+v+"V-"+v+"H"+v+"Z")},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(b,h,S){if(t(h))return a;var v=E(b*1.3,2);return u(h,S,"M"+v+",0L0,"+v+"L-"+v+",0L0,-"+v+"ZM0,-"+v+"V"+v+"M-"+v+",0H"+v)},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(b,h,S){if(t(h))return a;var v=E(b*1.3,2),l=E(b*.65,2);return u(h,S,"M"+v+",0L0,"+v+"L-"+v+",0L0,-"+v+"ZM-"+l+",-"+l+"L"+l+","+l+"M-"+l+","+l+"L"+l+",-"+l)},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v)},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"L-"+v+",-"+v+"M"+v+",-"+v+"L-"+v+","+v)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*.85,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v+"M"+l+","+l+"L-"+l+",-"+l+"M"+l+",-"+l+"L-"+l+","+l)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(b,h,S){if(t(h))return a;var v=E(b/2,2),l=E(b,2);return u(h,S,"M"+v+","+l+"V-"+l+"M"+(v-l)+",-"+l+"V"+l+"M"+l+","+v+"H-"+l+"M-"+l+","+(v-l)+"H"+l)},needLine:!0,noFill:!0},"y-up":{n:37,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M-"+v+","+g+"L0,0M"+v+","+g+"L0,0M0,-"+l+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M-"+v+",-"+g+"L0,0M"+v+",-"+g+"L0,0M0,"+l+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M"+g+","+v+"L0,0M"+g+",-"+v+"L0,0M-"+l+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M-"+g+","+v+"L0,0M-"+g+",-"+v+"L0,0M"+l+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2);return u(h,S,"M"+v+",0H-"+v)},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2);return u(h,S,"M0,"+v+"V-"+v)},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+",-"+v+"L-"+v+","+v)},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"L-"+v+",-"+v)},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M0,0L-"+v+","+l+"H"+v+"Z")},backoff:1,noDot:!0},"arrow-down":{n:46,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M0,0L-"+v+",-"+l+"H"+v+"Z")},noDot:!0},"arrow-left":{n:47,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,0L"+v+",-"+l+"V"+l+"Z")},noDot:!0},"arrow-right":{n:48,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,0L-"+v+",-"+l+"V"+l+"Z")},noDot:!0},"arrow-bar-up":{n:49,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M-"+v+",0H"+v+"M0,0L-"+v+","+l+"H"+v+"Z")},backoff:1,needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M-"+v+",0H"+v+"M0,0L-"+v+",-"+l+"H"+v+"Z")},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,-"+l+"V"+l+"M0,0L"+v+",-"+l+"V"+l+"Z")},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,-"+l+"V"+l+"M0,0L-"+v+",-"+l+"V"+l+"Z")},needLine:!0,noDot:!0},arrow:{n:53,f:function(b,h,S){if(t(h))return a;var v=d/2.5,l=2*b*m(v),g=2*b*r(v);return u(h,S,"M0,0L"+-l+","+g+"L"+l+","+g+"Z")},backoff:.9,noDot:!0},"arrow-wide":{n:54,f:function(b,h,S){if(t(h))return a;var v=d/4,l=2*b*m(v),g=2*b*r(v);return u(h,S,"M0,0L"+-l+","+g+"A "+2*b+","+2*b+" 0 0 1 "+l+","+g+"Z")},backoff:.4,noDot:!0}};function t(b){return b===null}var s,n,f,c;function u(b,h,S){if((!b||b%360===0)&&!h)return S;if(f===b&&c===h&&s===S)return n;f=b,c=h,s=S;function v(F,G){var _=m(F),H=r(F),V=G[0],N=G[1]+(h||0);return[V*_-N*H,V*H+N*_]}for(var l=b/180*d,g=0,C=0,M=p(S),D="",T=0;T0,b=m._context.staticPlot;r.each(function(h){var S=h[0].trace,v=S.error_x||{},l=S.error_y||{},g;S.ids&&(g=function(T){return T.id});var C=L.hasMarkers(S)&&S.marker.maxdisplayed>0;!l.visible&&!v.visible&&(h=[]);var M=p.select(this).selectAll("g.errorbar").data(h,g);if(M.exit().remove(),!!h.length){v.visible||M.selectAll("path.xerror").remove(),l.visible||M.selectAll("path.yerror").remove(),M.style("opacity",1);var D=M.enter().append("g").classed("errorbar",!0);u&&D.style("opacity",0).transition().duration(s.duration).style("opacity",1),a.setClipUrl(M,t.layerClipId,m),M.each(function(T){var P=p.select(this),A=x(T,f,c);if(!(C&&!T.vis)){var o,k=P.select("path.yerror");if(l.visible&&E(A.x)&&E(A.yh)&&E(A.ys)){var w=l.width;o="M"+(A.x-w)+","+A.yh+"h"+2*w+"m-"+w+",0V"+A.ys,A.noYS||(o+="m-"+w+",0h"+2*w),n=!k.size(),n?k=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("yerror",!0):u&&(k=k.transition().duration(s.duration).ease(s.easing)),k.attr("d",o)}else k.remove();var U=P.select("path.xerror");if(v.visible&&E(A.y)&&E(A.xh)&&E(A.xs)){var F=(v.copy_ystyle?l:v).width;o="M"+A.xh+","+(A.y-F)+"v"+2*F+"m0,-"+F+"H"+A.xs,A.noXS||(o+="m0,-"+F+"v"+2*F),n=!U.size(),n?U=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("xerror",!0):u&&(U=U.transition().duration(s.duration).ease(s.easing)),U.attr("d",o)}else U.remove()}})}})};function x(d,m,r){var t={x:m.c2p(d.x),y:r.c2p(d.y)};return d.yh!==void 0&&(t.yh=r.c2p(d.yh),t.ys=r.c2p(d.ys),E(t.ys)||(t.noYS=!0,t.ys=r.c2p(d.ys,!0))),d.xh!==void 0&&(t.xh=m.c2p(d.xh),t.xs=m.c2p(d.xs),E(t.xs)||(t.noXS=!0,t.xs=m.c2p(d.xs,!0))),t}},62662:function(B,O,e){var p=e(39898),E=e(7901);B.exports=function(L){L.each(function(x){var d=x[0].trace,m=d.error_y||{},r=d.error_x||{},t=p.select(this);t.selectAll("path.yerror").style("stroke-width",m.thickness+"px").call(E.stroke,m.color),r.copy_ystyle&&(r=m),t.selectAll("path.xerror").style("stroke-width",r.thickness+"px").call(E.stroke,r.color)})}},77914:function(B,O,e){var p=e(41940),E=e(528).hoverlabel,a=e(1426).extendFlat;B.exports={hoverlabel:{bgcolor:a({},E.bgcolor,{arrayOk:!0}),bordercolor:a({},E.bordercolor,{arrayOk:!0}),font:p({arrayOk:!0,editType:"none"}),align:a({},E.align,{arrayOk:!0}),namelength:a({},E.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(B,O,e){var p=e(71828),E=e(73972);B.exports=function(x){var d=x.calcdata,m=x._fullLayout;function r(c){return function(u){return p.coerceHoverinfo({hoverinfo:u},{_module:c._module},m)}}for(var t=0;t=0&&t.indexDe[0]._length||ct<0||ct>Te[0]._length)return f.unhoverRaw(re,fe)}if(fe.pointerX=ot+De[0]._offset,fe.pointerY=ct+Te[0]._offset,"xval"in fe?Ne=b.flat(le,fe.xval):Ne=b.p2c(De,ot),"yval"in fe?gt=b.flat(le,fe.yval):gt=b.p2c(Te,ct),!E(Ne[0])||!E(gt[0]))return L.warn("Fx.hover failed",fe,re),f.unhoverRaw(re,fe)}var nr=1/0;function dr(Vr,qr){for(vt=0;vtve&&(lt.splice(0,ve),nr=lt[0].distance),Ee&&ut!==0&<.length===0){Ce.distance=ut,Ce.index=!1;var Fn=Yt._module.hoverPoints(Ce,Ze,Fe,"closest",{hoverLayer:me._hoverlayer});if(Fn&&(Fn=Fn.filter(function(La){return La.spikeDistance<=ut})),Fn&&Fn.length){var fa,Ma=Fn.filter(function(La){return La.xa.showspikes&&La.xa.spikesnap!=="hovered data"});if(Ma.length){var Sa=Ma[0];E(Sa.x0)&&E(Sa.y0)&&(fa=$t(Sa),(!Ie.vLinePoint||Ie.vLinePoint.spikeDistance>fa.spikeDistance)&&(Ie.vLinePoint=fa))}var _a=Fn.filter(function(La){return La.ya.showspikes&&La.ya.spikesnap!=="hovered data"});if(_a.length){var qn=_a[0];E(qn.x0)&&E(qn.y0)&&(fa=$t(qn),(!Ie.hLinePoint||Ie.hLinePoint.spikeDistance>fa.spikeDistance)&&(Ie.hLinePoint=fa))}}}}}dr();function Dt(Vr,qr,lr){for(var dn=null,zn=1/0,gn,Fn=0;Fn0&&Math.abs(Vr.distance)Ht-1;tt--)Fr(lt[tt]);lt=ur,ir()}var et=re._hoverdata,Wt=[],Gt=X(re),or=K(re);for(qe=0;qe1||lt.length>1)||$e==="closest"&&Ae&<.length>1,En=n.combine(me.plot_bgcolor||n.background,me.paper_bgcolor),pa=F(lt,{gd:re,hovermode:$e,rotateLabels:Wn,bgColor:En,container:me._hoverlayer,outerContainer:me._paper.node(),commonLabelOpts:me.hoverlabel,hoverdistance:me.hoverdistance}),Qn=pa.hoverLabels;if(b.isUnifiedHover($e)||(_(Qn,Wn,me,pa.commonLabelBoundingBox),N(Qn,Wn,me._invScaleX,me._invScaleY)),ce&&ce.tagName){var _r=u.getComponentMethod("annotations","hasClickToShow")(re,Wt);t(p.select(ce),_r?"pointer":"")}!ce||ee||!Q(re,fe,et)||(et&&re.emit("plotly_unhover",{event:fe,points:et}),re.emit("plotly_hover",{event:fe,points:re._hoverdata,xaxes:De,yaxes:Te,xvals:Ne,yvals:gt}))}function w(re){return[re.trace.index,re.index,re.x0,re.y0,re.name,re.attr,re.xa?re.xa._id:"",re.ya?re.ya._id:""].join(",")}var U=/([\s\S]*)<\/extra>/;function F(re,fe){var te=fe.gd,ee=te._fullLayout,ce=fe.hovermode,le=fe.rotateLabels,me=fe.bgColor,we=fe.container,Se=fe.outerContainer,Ee=fe.commonLabelOpts||{};if(re.length===0)return[[]];var We=fe.fontFamily||h.HOVERFONT,Ye=fe.fontSize||h.HOVERFONTSIZE,De=re[0],Te=De.xa,Re=De.ya,Xe=ce.charAt(0),Je=Xe+"Label",He=De[Je];if(He===void 0&&Te.type==="multicategory")for(var $e=0;$eee.width-or?(et=ee.width-or,Qt.attr("d","M"+(or-T)+",0L"+or+","+Gt+T+"v"+Gt+(P*2+tt.height)+"H-"+or+"V"+Gt+T+"H"+(or-T*2)+"Z")):Qt.attr("d","M0,0L"+T+","+Gt+T+"H"+or+"v"+Gt+(P*2+tt.height)+"H-"+or+"V"+Gt+T+"H-"+T+"Z"),it.minX=et-or,it.maxX=et+or,Te.side==="top"?(it.minY=Wt-(P*2+tt.height),it.maxY=Wt-P):(it.minY=Wt+P,it.maxY=Wt+(P*2+tt.height))}else{var wr,Tr,br;Re.side==="right"?(wr="start",Tr=1,br="",et=Te._offset+Te._length):(wr="end",Tr=-1,br="-",et=Te._offset),Wt=Re._offset+(De.y0+De.y1)/2,qt.attr("text-anchor",wr),Qt.attr("d","M0,0L"+br+T+","+T+"V"+(P+tt.height/2)+"h"+br+(P*2+tt.width)+"V-"+(P+tt.height/2)+"H"+br+T+"V-"+T+"Z"),it.minY=Wt-(P+tt.height/2),it.maxY=Wt+(P+tt.height/2),Re.side==="right"?(it.minX=et+T,it.maxX=et+T+(P*2+tt.width)):(it.minX=et-T-(P*2+tt.width),it.maxX=et-T);var Kt=tt.height/2,Ir=ut-tt.top-Kt,Lr="clip"+ee._uid+"commonlabel"+Re._id,Br;if(et=0?Rt=Or:kr+dr=0?Rt=kr:Mt+dr=0?wt=ir:cr+Dt=0?wt=cr:yt+Dt=0,(Ht.idealAlign==="top"||!Wn)&&En?(Ir-=Br/2,Ht.anchor="end"):Wn?(Ir+=Br/2,Ht.anchor="start"):Ht.anchor="middle",Ht.crossPos=Ir;else{if(Ht.pos=Ir,Wn=Kt+Lr/2+an<=lt,En=Kt-Lr/2-an>=0,(Ht.idealAlign==="left"||!Wn)&&En)Kt-=Lr/2,Ht.anchor="end";else if(Wn)Kt+=Lr/2,Ht.anchor="start";else{Ht.anchor="middle";var pa=an/2,Qn=Kt+pa-lt,_r=Kt-pa;Qn>0&&(Kt-=Qn),_r<0&&(Kt+=-_r)}Ht.crossPos=Kt}Gt.attr("text-anchor",Ht.anchor),wr&&or.attr("text-anchor",Ht.anchor),Qt.attr("transform",x(Kt,Ir)+(le?d(l):""))}),{hoverLabels:Ut,commonLabelBoundingBox:it}}function G(re,fe,te,ee,ce,le){var me="",we="";re.nameOverride!==void 0&&(re.name=re.nameOverride),re.name&&(re.trace._meta&&(re.name=L.templateString(re.name,re.trace._meta)),me=ue(re.name,re.nameLength));var Se=te.charAt(0),Ee=Se==="x"?"y":"x";re.zLabel!==void 0?(re.xLabel!==void 0&&(we+="x: "+re.xLabel+"
"),re.yLabel!==void 0&&(we+="y: "+re.yLabel+"
"),re.trace.type!=="choropleth"&&re.trace.type!=="choroplethmapbox"&&(we+=(we?"z: ":"")+re.zLabel)):fe&&re[Se+"Label"]===ce?we=re[Ee+"Label"]||"":re.xLabel===void 0?re.yLabel!==void 0&&re.trace.type!=="scattercarpet"&&(we=re.yLabel):re.yLabel===void 0?we=re.xLabel:we="("+re.xLabel+", "+re.yLabel+")",(re.text||re.text===0)&&!Array.isArray(re.text)&&(we+=(we?"
":"")+re.text),re.extraText!==void 0&&(we+=(we?"
":"")+re.extraText),le&&we===""&&!re.hovertemplate&&(me===""&&le.remove(),we=me);var We=re.hovertemplate||!1;if(We){var Ye=re.hovertemplateLabels||re;re[Se+"Label"]!==ce&&(Ye[Se+"other"]=Ye[Se+"Val"],Ye[Se+"otherLabel"]=Ye[Se+"Label"]),we=L.hovertemplateString(We,Ye,ee._d3locale,re.eventData[0]||{},re.trace._meta),we=we.replace(U,function(De,Te){return me=ue(Te,re.nameLength),""})}return[we,me]}function _(re,fe,te,ee){var ce=fe?"xa":"ya",le=fe?"ya":"xa",me=0,we=1,Se=re.size(),Ee=new Array(Se),We=0,Ye=ee.minX,De=ee.maxX,Te=ee.minY,Re=ee.maxY,Xe=function(Ze){return Ze*te._invScaleX},Je=function(Ze){return Ze*te._invScaleY};re.each(function(Ze){var Fe=Ze[ce],Ce=Ze[le],ve=Fe._id.charAt(0)==="x",Ie=Fe.range;We===0&&Ie&&Ie[0]>Ie[1]!==ve&&(we=-1);var Ae=0,je=ve?te.width:te.height;if(te.hovermode==="x"||te.hovermode==="y"){var ot=H(Ze,fe),ct=Ze.anchor,Et=ct==="end"?-1:1,kt,nr;if(ct==="middle")kt=Ze.crossPos+(ve?Je(ot.y-Ze.by/2):Xe(Ze.bx/2+Ze.tx2width/2)),nr=kt+(ve?Je(Ze.by):Xe(Ze.bx));else if(ve)kt=Ze.crossPos+Je(T+ot.y)-Je(Ze.by/2-T),nr=kt+Je(Ze.by);else{var dr=Xe(Et*T+ot.x),Dt=dr+Xe(Et*Ze.bx);kt=Ze.crossPos+Math.min(dr,Dt),nr=Ze.crossPos+Math.max(dr,Dt)}ve?Te!==void 0&&Re!==void 0&&Math.min(nr,Re)-Math.max(kt,Te)>1&&(Ce.side==="left"?(Ae=Ce._mainLinePosition,je=te.width):je=Ce._mainLinePosition):Ye!==void 0&&De!==void 0&&Math.min(nr,De)-Math.max(kt,Ye)>1&&(Ce.side==="top"?(Ae=Ce._mainLinePosition,je=te.height):je=Ce._mainLinePosition)}Ee[We++]=[{datum:Ze,traceIndex:Ze.trace.index,dp:0,pos:Ze.pos,posref:Ze.posref,size:Ze.by*(ve?C:1)/2,pmin:Ae,pmax:je}]}),Ee.sort(function(Ze,Fe){return Ze[0].posref-Fe[0].posref||we*(Fe[0].traceIndex-Ze[0].traceIndex)});var He,$e,pt,ut,lt,ke,Ne;function gt(Ze){var Fe=Ze[0],Ce=Ze[Ze.length-1];if($e=Fe.pmin-Fe.pos-Fe.dp+Fe.size,pt=Ce.pos+Ce.dp+Ce.size-Fe.pmax,$e>.01){for(lt=Ze.length-1;lt>=0;lt--)Ze[lt].dp+=$e;He=!1}if(!(pt<.01)){if($e<-.01){for(lt=Ze.length-1;lt>=0;lt--)Ze[lt].dp-=pt;He=!1}if(He){var ve=0;for(ut=0;utFe.pmax&&ve++;for(ut=Ze.length-1;ut>=0&&!(ve<=0);ut--)ke=Ze[ut],ke.pos>Fe.pmax-1&&(ke.del=!0,ve--);for(ut=0;ut=0;lt--)Ze[lt].dp-=pt;for(ut=Ze.length-1;ut>=0&&!(ve<=0);ut--)ke=Ze[ut],ke.pos+ke.dp+ke.size>Fe.pmax&&(ke.del=!0,ve--)}}}for(;!He&&me<=Se;){for(me++,He=!0,ut=0;ut.01&&Bt.pmin===Yt.pmin&&Bt.pmax===Yt.pmax){for(lt=vt.length-1;lt>=0;lt--)vt[lt].dp+=$e;for(qe.push.apply(qe,vt),Ee.splice(ut+1,1),Ne=0,lt=qe.length-1;lt>=0;lt--)Ne+=qe[lt].dp;for(pt=Ne/qe.length,lt=qe.length-1;lt>=0;lt--)qe[lt].dp-=pt;He=!1}else ut++}Ee.forEach(gt)}for(ut=Ee.length-1;ut>=0;ut--){var it=Ee[ut];for(lt=it.length-1;lt>=0;lt--){var Ue=it[lt],_e=Ue.datum;_e.offset=Ue.dp,_e.del=Ue.del}}}function H(re,fe){var te=0,ee=re.offset;return fe&&(ee*=-D,te=re.offset*M),{x:te,y:ee}}function V(re){var fe={start:1,end:-1,middle:0}[re.anchor],te=fe*(T+P),ee=te+fe*(re.txwidth+P),ce=re.anchor==="middle";return ce&&(te-=re.tx2width/2,ee+=re.txwidth/2+P),{alignShift:fe,textShiftX:te,text2ShiftX:ee}}function N(re,fe,te,ee){var ce=function(me){return me*te},le=function(me){return me*ee};re.each(function(me){var we=p.select(this);if(me.del)return we.remove();var Se=we.select("text.nums"),Ee=me.anchor,We=Ee==="end"?-1:1,Ye=V(me),De=H(me,fe),Te=De.x,Re=De.y,Xe=Ee==="middle";we.select("path").attr("d",Xe?"M-"+ce(me.bx/2+me.tx2width/2)+","+le(Re-me.by/2)+"h"+ce(me.bx)+"v"+le(me.by)+"h-"+ce(me.bx)+"Z":"M0,0L"+ce(We*T+Te)+","+le(T+Re)+"v"+le(me.by/2-T)+"h"+ce(We*me.bx)+"v-"+le(me.by)+"H"+ce(We*T+Te)+"V"+le(Re-T)+"Z");var Je=Te+Ye.textShiftX,He=Re+me.ty0-me.by/2+P,$e=me.textAlign||"auto";$e!=="auto"&&($e==="left"&&Ee!=="start"?(Se.attr("text-anchor","start"),Je=Xe?-me.bx/2-me.tx2width/2+P:-me.bx-P):$e==="right"&&Ee!=="end"&&(Se.attr("text-anchor","end"),Je=Xe?me.bx/2-me.tx2width/2-P:me.bx+P)),Se.call(r.positionText,ce(Je),le(He)),me.tx2width&&(we.select("text.name").call(r.positionText,ce(Ye.text2ShiftX+Ye.alignShift*P+Te),le(Re+me.ty0-me.by/2+P)),we.select("rect").call(s.setRect,ce(Ye.text2ShiftX+(Ye.alignShift-1)*me.tx2width/2+Te),le(Re-me.by/2-1),ce(me.tx2width),le(me.by+2)))})}function W(re,fe){var te=re.index,ee=re.trace||{},ce=re.cd[0],le=re.cd[te]||{};function me(De){return De||E(De)&&De===0}var we=Array.isArray(te)?function(De,Te){var Re=L.castOption(ce,te,De);return me(Re)?Re:L.extractOption({},ee,"",Te)}:function(De,Te){return L.extractOption(le,ee,De,Te)};function Se(De,Te,Re){var Xe=we(Te,Re);me(Xe)&&(re[De]=Xe)}if(Se("hoverinfo","hi","hoverinfo"),Se("bgcolor","hbg","hoverlabel.bgcolor"),Se("borderColor","hbc","hoverlabel.bordercolor"),Se("fontFamily","htf","hoverlabel.font.family"),Se("fontSize","hts","hoverlabel.font.size"),Se("fontColor","htc","hoverlabel.font.color"),Se("nameLength","hnl","hoverlabel.namelength"),Se("textAlign","hta","hoverlabel.align"),re.posref=fe==="y"||fe==="closest"&&ee.orientation==="h"?re.xa._offset+(re.x0+re.x1)/2:re.ya._offset+(re.y0+re.y1)/2,re.x0=L.constrain(re.x0,0,re.xa._length),re.x1=L.constrain(re.x1,0,re.xa._length),re.y0=L.constrain(re.y0,0,re.ya._length),re.y1=L.constrain(re.y1,0,re.ya._length),re.xLabelVal!==void 0&&(re.xLabel="xLabel"in re?re.xLabel:c.hoverLabelText(re.xa,re.xLabelVal,ee.xhoverformat),re.xVal=re.xa.c2d(re.xLabelVal)),re.yLabelVal!==void 0&&(re.yLabel="yLabel"in re?re.yLabel:c.hoverLabelText(re.ya,re.yLabelVal,ee.yhoverformat),re.yVal=re.ya.c2d(re.yLabelVal)),re.zLabelVal!==void 0&&re.zLabel===void 0&&(re.zLabel=String(re.zLabelVal)),!isNaN(re.xerr)&&!(re.xa.type==="log"&&re.xerr<=0)){var Ee=c.tickText(re.xa,re.xa.c2l(re.xerr),"hover").text;re.xerrneg!==void 0?re.xLabel+=" +"+Ee+" / -"+c.tickText(re.xa,re.xa.c2l(re.xerrneg),"hover").text:re.xLabel+=" ± "+Ee,fe==="x"&&(re.distance+=1)}if(!isNaN(re.yerr)&&!(re.ya.type==="log"&&re.yerr<=0)){var We=c.tickText(re.ya,re.ya.c2l(re.yerr),"hover").text;re.yerrneg!==void 0?re.yLabel+=" +"+We+" / -"+c.tickText(re.ya,re.ya.c2l(re.yerrneg),"hover").text:re.yLabel+=" ± "+We,fe==="y"&&(re.distance+=1)}var Ye=re.hoverinfo||re.trace.hoverinfo;return Ye&&Ye!=="all"&&(Ye=Array.isArray(Ye)?Ye:Ye.split("+"),Ye.indexOf("x")===-1&&(re.xLabel=void 0),Ye.indexOf("y")===-1&&(re.yLabel=void 0),Ye.indexOf("z")===-1&&(re.zLabel=void 0),Ye.indexOf("text")===-1&&(re.text=void 0),Ye.indexOf("name")===-1&&(re.name=void 0)),re}function j(re,fe,te){var ee=te.container,ce=te.fullLayout,le=ce._size,me=te.event,we=!!fe.hLinePoint,Se=!!fe.vLinePoint,Ee,We;if(ee.selectAll(".spikeline").remove(),!!(Se||we)){var Ye=n.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(we){var De=fe.hLinePoint,Te,Re;Ee=De&&De.xa,We=De&&De.ya;var Xe=We.spikesnap;Xe==="cursor"?(Te=me.pointerX,Re=me.pointerY):(Te=Ee._offset+De.x,Re=We._offset+De.y);var Je=a.readability(De.color,Ye)<1.5?n.contrast(Ye):De.color,He=We.spikemode,$e=We.spikethickness,pt=We.spikecolor||Je,ut=c.getPxPosition(re,We),lt,ke;if(He.indexOf("toaxis")!==-1||He.indexOf("across")!==-1){if(He.indexOf("toaxis")!==-1&&(lt=ut,ke=Te),He.indexOf("across")!==-1){var Ne=We._counterDomainMin,gt=We._counterDomainMax;We.anchor==="free"&&(Ne=Math.min(Ne,We.position),gt=Math.max(gt,We.position)),lt=le.l+Ne*le.w,ke=le.l+gt*le.w}ee.insert("line",":first-child").attr({x1:lt,x2:ke,y1:Re,y2:Re,"stroke-width":$e,stroke:pt,"stroke-dasharray":s.dashStyle(We.spikedash,$e)}).classed("spikeline",!0).classed("crisp",!0),ee.insert("line",":first-child").attr({x1:lt,x2:ke,y1:Re,y2:Re,"stroke-width":$e+2,stroke:Ye}).classed("spikeline",!0).classed("crisp",!0)}He.indexOf("marker")!==-1&&ee.insert("circle",":first-child").attr({cx:ut+(We.side!=="right"?$e:-$e),cy:Re,r:$e,fill:pt}).classed("spikeline",!0)}if(Se){var qe=fe.vLinePoint,vt,Bt;Ee=qe&&qe.xa,We=qe&&qe.ya;var Yt=Ee.spikesnap;Yt==="cursor"?(vt=me.pointerX,Bt=me.pointerY):(vt=Ee._offset+qe.x,Bt=We._offset+qe.y);var it=a.readability(qe.color,Ye)<1.5?n.contrast(Ye):qe.color,Ue=Ee.spikemode,_e=Ee.spikethickness,Ze=Ee.spikecolor||it,Fe=c.getPxPosition(re,Ee),Ce,ve;if(Ue.indexOf("toaxis")!==-1||Ue.indexOf("across")!==-1){if(Ue.indexOf("toaxis")!==-1&&(Ce=Fe,ve=Bt),Ue.indexOf("across")!==-1){var Ie=Ee._counterDomainMin,Ae=Ee._counterDomainMax;Ee.anchor==="free"&&(Ie=Math.min(Ie,Ee.position),Ae=Math.max(Ae,Ee.position)),Ce=le.t+(1-Ae)*le.h,ve=le.t+(1-Ie)*le.h}ee.insert("line",":first-child").attr({x1:vt,x2:vt,y1:Ce,y2:ve,"stroke-width":_e,stroke:Ze,"stroke-dasharray":s.dashStyle(Ee.spikedash,_e)}).classed("spikeline",!0).classed("crisp",!0),ee.insert("line",":first-child").attr({x1:vt,x2:vt,y1:Ce,y2:ve,"stroke-width":_e+2,stroke:Ye}).classed("spikeline",!0).classed("crisp",!0)}Ue.indexOf("marker")!==-1&&ee.insert("circle",":first-child").attr({cx:vt,cy:Fe-(Ee.side!=="top"?_e:-_e),r:_e,fill:Ze}).classed("spikeline",!0)}}}function Q(re,fe,te){if(!te||te.length!==re._hoverdata.length)return!0;for(var ee=te.length-1;ee>=0;ee--){var ce=te[ee],le=re._hoverdata[ee];if(ce.curveNumber!==le.curveNumber||String(ce.pointNumber)!==String(le.pointNumber)||String(ce.pointNumbers)!==String(le.pointNumbers))return!0}return!1}function ie(re,fe){return!fe||fe.vLinePoint!==re._spikepoints.vLinePoint||fe.hLinePoint!==re._spikepoints.hLinePoint}function ue(re,fe){return r.plainText(re||"",{len:fe,allowedTags:["br","sub","sup","b","i","em"]})}function pe(re,fe){for(var te=fe.charAt(0),ee=[],ce=[],le=[],me=0;me1)){delete c.grid;return}if(!S&&!v&&!l){var o=T("pattern")==="independent";o&&(S=!0)}D._hasSubplotGrid=S;var k=T("roworder"),w=k==="top to bottom",U=S?.2:.1,F=S?.3:.1,G,_;g&&c._splomGridDflt&&(G=c._splomGridDflt.xside,_=c._splomGridDflt.yside),D._domains={x:t("x",T,U,G,A),y:t("y",T,F,_,P,w)}}function t(f,c,u,b,h,S){var v=c(f+"gap",u),l=c("domain."+f);c(f+"side",b);for(var g=new Array(h),C=l[0],M=(l[1]-C)/(h-v),D=M*(1-v),T=0;T(t==="legend"?1:0));if(w===!1&&(n[t]=void 0),!(w===!1&&!c.uirevision)&&(b("uirevision",n.uirevision),w!==!1)){b("borderwidth");var U=b("orientation"),F=b("yref"),G=b("xref"),_=U==="h",H=F==="paper",V=G==="paper",N,W,j,Q="left";_?(N=0,p.getComponentMethod("rangeslider","isVisible")(s.xaxis)?H?(W=1.1,j="bottom"):(W=1,j="top"):H?(W=-.1,j="top"):(W=0,j="bottom")):(W=1,j="auto",V?N=1.02:(N=1,Q="right")),E.coerce(c,u,{x:{valType:"number",editType:"legend",min:V?-2:0,max:V?3:1,dflt:N}},"x"),E.coerce(c,u,{y:{valType:"number",editType:"legend",min:H?-2:0,max:H?3:1,dflt:W}},"y"),b("traceorder",T),m.isGrouped(n[t])&&b("tracegroupgap"),b("entrywidth"),b("entrywidthmode"),b("itemsizing"),b("itemwidth"),b("itemclick"),b("itemdoubleclick"),b("groupclick"),b("xanchor",Q),b("yanchor",j),b("valign"),E.noneOrAll(c,u,["x","y"]);var ie=b("title.text");if(ie){b("title.side",_?"left":"top");var ue=E.extendFlat({},h,{size:E.bigFont(h.size)});E.coerceFont(b,"title.font",ue)}}}}B.exports=function(s,n,f){var c,u=f.slice(),b=n.shapes;if(b)for(c=0;c1)}var ee=Q.hiddenlabels||[];if(!q&&(!Q.showlegend||!X.length))return pe.selectAll("."+ie).remove(),Q._topdefs.select("#"+ue).remove(),a.autoMargin(N,ie);var ce=E.ensureSingle(pe,"g",ie,function(Te){q||Te.attr("pointer-events","all")}),le=E.ensureSingleById(Q._topdefs,"clipPath",ue,function(Te){Te.append("rect")}),me=E.ensureSingle(ce,"rect","bg",function(Te){Te.attr("shape-rendering","crispEdges")});me.call(r.stroke,j.bordercolor).call(r.fill,j.bgcolor).style("stroke-width",j.borderwidth+"px");var we=E.ensureSingle(ce,"g","scrollbox"),Se=j.title;j._titleWidth=0,j._titleHeight=0;var Ee;Se.text?(Ee=E.ensureSingle(we,"text",ie+"titletext"),Ee.attr("text-anchor","start").call(m.font,Se.font).text(Se.text),k(Ee,we,N,j,l)):we.selectAll("."+ie+"titletext").remove();var We=E.ensureSingle(ce,"rect","scrollbar",function(Te){Te.attr(n.scrollBarEnterAttrs).call(r.fill,n.scrollBarColor)}),Ye=we.selectAll("g.groups").data(X);Ye.enter().append("g").attr("class","groups"),Ye.exit().remove();var De=Ye.selectAll("g.traces").data(E.identity);De.enter().append("g").attr("class","traces"),De.exit().remove(),De.style("opacity",function(Te){var Re=Te[0].trace;return L.traceIs(Re,"pie-like")?ee.indexOf(Te[0].label)!==-1?.5:1:Re.visible==="legendonly"?.5:1}).each(function(){p.select(this).call(P,N,j)}).call(S,N,j).each(function(){q||p.select(this).call(o,N,ie)}),E.syncOrAsync([a.previousPromises,function(){return F(N,Ye,De,j)},function(){var Te=Q._size,Re=j.borderwidth,Xe=j.xref==="paper",Je=j.yref==="paper";if(Se.text&&C(Ee,j,Re),!q){var He,$e;Xe?He=Te.l+Te.w*j.x-u[_(j)]*j._width:He=Q.width*j.x-u[_(j)]*j._width,Je?$e=Te.t+Te.h*(1-j.y)-u[H(j)]*j._effHeight:$e=Q.height*(1-j.y)-u[H(j)]*j._effHeight;var pt=G(N,ie,He,$e);if(pt)return;if(Q.margin.autoexpand){var ut=He,lt=$e;He=Xe?E.constrain(He,0,Q.width-j._width):ut,$e=Je?E.constrain($e,0,Q.height-j._effHeight):lt,He!==ut&&E.log("Constrain "+ie+".x to make legend fit inside graph"),$e!==lt&&E.log("Constrain "+ie+".y to make legend fit inside graph")}m.setTranslate(ce,He,$e)}if(We.on(".drag",null),ce.on("wheel",null),q||j._height<=j._maxHeight||N._context.staticPlot){var ke=j._effHeight;q&&(ke=j._height),me.attr({width:j._width-Re,height:ke-Re,x:Re/2,y:Re/2}),m.setTranslate(we,0,0),le.select("rect").attr({width:j._width-2*Re,height:ke-2*Re,x:Re,y:Re}),m.setClipUrl(we,ue,N),m.setRect(We,0,0,0,0),delete j._scrollY}else{var Ne=Math.max(n.scrollBarMinHeight,j._effHeight*j._effHeight/j._height),gt=j._effHeight-Ne-2*n.scrollBarMargin,qe=j._height-j._effHeight,vt=gt/qe,Bt=Math.min(j._scrollY||0,qe);me.attr({width:j._width-2*Re+n.scrollBarWidth+n.scrollBarMargin,height:j._effHeight-Re,x:Re/2,y:Re/2}),le.select("rect").attr({width:j._width-2*Re+n.scrollBarWidth+n.scrollBarMargin,height:j._effHeight-2*Re,x:Re,y:Re+Bt}),m.setClipUrl(we,ue,N),ve(Bt,Ne,vt),ce.on("wheel",function(){Bt=E.constrain(j._scrollY+p.event.deltaY/gt*qe,0,qe),ve(Bt,Ne,vt),Bt!==0&&Bt!==qe&&p.event.preventDefault()});var Yt,it,Ue,_e=function(ct,Et,kt){var nr=(kt-Et)/vt+ct;return E.constrain(nr,0,qe)},Ze=function(ct,Et,kt){var nr=(Et-kt)/vt+ct;return E.constrain(nr,0,qe)},Fe=p.behavior.drag().on("dragstart",function(){var ct=p.event.sourceEvent;ct.type==="touchstart"?Yt=ct.changedTouches[0].clientY:Yt=ct.clientY,Ue=Bt}).on("drag",function(){var ct=p.event.sourceEvent;ct.buttons===2||ct.ctrlKey||(ct.type==="touchmove"?it=ct.changedTouches[0].clientY:it=ct.clientY,Bt=_e(Ue,Yt,it),ve(Bt,Ne,vt))});We.call(Fe);var Ce=p.behavior.drag().on("dragstart",function(){var ct=p.event.sourceEvent;ct.type==="touchstart"&&(Yt=ct.changedTouches[0].clientY,Ue=Bt)}).on("drag",function(){var ct=p.event.sourceEvent;ct.type==="touchmove"&&(it=ct.changedTouches[0].clientY,Bt=Ze(Ue,Yt,it),ve(Bt,Ne,vt))});we.call(Ce)}function ve(ct,Et,kt){j._scrollY=N._fullLayout[ie]._scrollY=ct,m.setTranslate(we,0,-ct),m.setRect(We,j._width,n.scrollBarMargin+ct*kt,n.scrollBarWidth,Et),le.select("rect").attr("y",Re+ct)}if(N._context.edits.legendPosition){var Ie,Ae,je,ot;ce.classed("cursor-move",!0),d.init({element:ce.node(),gd:N,prepFn:function(){var ct=m.getTranslate(ce);je=ct.x,ot=ct.y},moveFn:function(ct,Et){var kt=je+ct,nr=ot+Et;m.setTranslate(ce,kt,nr),Ie=d.align(kt,j._width,Te.l,Te.l+Te.w,j.xanchor),Ae=d.align(nr+j._height,-j._height,Te.t+Te.h,Te.t,j.yanchor)},doneFn:function(){if(Ie!==void 0&&Ae!==void 0){var ct={};ct[ie+".x"]=Ie,ct[ie+".y"]=Ae,L.call("_guiRelayout",N,ct)}},clickFn:function(ct,Et){var kt=pe.selectAll("g.traces").filter(function(){var nr=this.getBoundingClientRect();return Et.clientX>=nr.left&&Et.clientX<=nr.right&&Et.clientY>=nr.top&&Et.clientY<=nr.bottom});kt.size()>0&&T(N,ce,kt,ct,Et)}})}}],N)}}function D(N,W,j){var Q=N[0],ie=Q.width,ue=W.entrywidthmode,pe=Q.trace.legendwidth||W.entrywidth;return ue==="fraction"?W._maxWidth*pe:j+(pe||ie)}function T(N,W,j,Q,ie){var ue=j.data()[0][0].trace,pe={event:ie,node:j.node(),curveNumber:ue.index,expandedIndex:ue._expandedIndex,data:N.data,layout:N.layout,frames:N._transitionData._frames,config:N._context,fullData:N._fullData,fullLayout:N._fullLayout};ue._group&&(pe.group=ue._group),L.traceIs(ue,"pie-like")&&(pe.label=j.datum()[0].label);var q=x.triggerHandler(N,"plotly_legendclick",pe);if(Q===1){if(q===!1)return;W._clickTimeout=setTimeout(function(){N._fullLayout&&s(j,N,Q)},N._context.doubleClickDelay)}else if(Q===2){W._clickTimeout&&clearTimeout(W._clickTimeout),N._legendMouseDownTime=0;var X=x.triggerHandler(N,"plotly_legenddoubleclick",pe);X!==!1&&q!==!1&&s(j,N,Q)}}function P(N,W,j){var Q=V(j),ie=N.data()[0][0],ue=ie.trace,pe=L.traceIs(ue,"pie-like"),q=!j._inHover&&W._context.edits.legendText&&!pe,X=j._maxNameLength,K,J;ie.groupTitle?(K=ie.groupTitle.text,J=ie.groupTitle.font):(J=j.font,j.entries?K=ie.text:(K=pe?ie.label:ue.name,ue._meta&&(K=E.templateString(K,ue._meta))));var re=E.ensureSingle(N,"text",Q+"text");re.attr("text-anchor","start").call(m.font,J).text(q?A(K,X):K);var fe=j.itemwidth+n.itemGap*2;t.positionText(re,fe,0),q?re.call(t.makeEditable,{gd:W,text:K}).call(k,N,W,j).on("edit",function(te){this.text(A(te,X)).call(k,N,W,j);var ee=ie.trace._fullInput||{},ce={};if(L.hasTransform(ee,"groupby")){var le=L.getTransformIndices(ee,"groupby"),me=le[le.length-1],we=E.keyedContainer(ee,"transforms["+me+"].styles","target","value.name");we.set(ie.trace._group,te),ce=we.constructUpdate()}else ce.name=te;return ee._isShape?L.call("_guiRelayout",W,"shapes["+ue.index+"].name",ce.name):L.call("_guiRestyle",W,ce,ue.index)}):k(re,N,W,j)}function A(N,W){var j=Math.max(4,W);if(N&&N.trim().length>=j/2)return N;N=N||"";for(var Q=j-N.length;Q>0;Q--)N+=" ";return N}function o(N,W,j){var Q=W._context.doubleClickDelay,ie,ue=1,pe=E.ensureSingle(N,"rect",j+"toggle",function(q){W._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(r.fill,"rgba(0,0,0,0)")});W._context.staticPlot||(pe.on("mousedown",function(){ie=new Date().getTime(),ie-W._legendMouseDownTimeQ&&(ue=Math.max(ue-1,1)),T(W,q,N,ue,p.event)}}))}function k(N,W,j,Q,ie){Q._inHover&&N.attr("data-notex",!0),t.convertToTspans(N,j,function(){w(W,j,Q,ie)})}function w(N,W,j,Q){var ie=N.data()[0][0];if(!j._inHover&&ie&&!ie.trace.showlegend){N.remove();return}var ue=N.select("g[class*=math-group]"),pe=ue.node(),q=V(j);j||(j=W._fullLayout[q]);var X=j.borderwidth,K;Q===l?K=j.title.font:ie.groupTitle?K=ie.groupTitle.font:K=j.font;var J=K.size*c,re,fe;if(pe){var te=m.bBox(pe);re=te.height,fe=te.width,Q===l?m.setTranslate(ue,X,X+re*.75):m.setTranslate(ue,0,re*.25)}else{var ee="."+q+(Q===l?"title":"")+"text",ce=N.select(ee),le=t.lineCount(ce),me=ce.node();if(re=J*le,fe=me?m.bBox(me).width:0,Q===l)j.title.side==="left"&&(fe+=n.itemGap*2),t.positionText(ce,X+n.titlePad,X+J);else{var we=n.itemGap*2+j.itemwidth;ie.groupTitle&&(we=n.itemGap,fe-=j.itemwidth),t.positionText(ce,we,-J*((le-1)/2-.3))}}Q===l?(j._titleWidth=fe,j._titleHeight=re):(ie.lineHeight=J,ie.height=Math.max(re,16)+3,ie.width=fe)}function U(N){var W=0,j=0,Q=N.title.side;return Q&&(Q.indexOf("left")!==-1&&(W=N._titleWidth),Q.indexOf("top")!==-1&&(j=N._titleHeight)),[W,j]}function F(N,W,j,Q){var ie=N._fullLayout,ue=V(Q);Q||(Q=ie[ue]);var pe=ie._size,q=v.isVertical(Q),X=v.isGrouped(Q),K=Q.entrywidthmode==="fraction",J=Q.borderwidth,re=2*J,fe=n.itemGap,te=Q.itemwidth+fe*2,ee=2*(J+fe),ce=H(Q),le=Q.y<0||Q.y===0&&ce==="top",me=Q.y>1||Q.y===1&&ce==="bottom",we=Q.tracegroupgap,Se={};Q._maxHeight=Math.max(le||me?ie.height/2:pe.h,30);var Ee=0;Q._width=0,Q._height=0;var We=U(Q);if(q)j.each(function(Ue){var _e=Ue[0].height;m.setTranslate(this,J+We[0],J+We[1]+Q._height+_e/2+fe),Q._height+=_e,Q._width=Math.max(Q._width,Ue[0].width)}),Ee=te+Q._width,Q._width+=fe+te+re,Q._height+=ee,X&&(W.each(function(Ue,_e){m.setTranslate(this,0,_e*Q.tracegroupgap)}),Q._height+=(Q._lgroupsLength-1)*Q.tracegroupgap);else{var Ye=_(Q),De=Q.x<0||Q.x===0&&Ye==="right",Te=Q.x>1||Q.x===1&&Ye==="left",Re=me||le,Xe=ie.width/2;Q._maxWidth=Math.max(De?Re&&Ye==="left"?pe.l+pe.w:Xe:Te?Re&&Ye==="right"?pe.r+pe.w:Xe:pe.w,2*te);var Je=0,He=0;j.each(function(Ue){var _e=D(Ue,Q,te);Je=Math.max(Je,_e),He+=_e}),Ee=null;var $e=0;if(X){var pt=0,ut=0,lt=0;W.each(function(){var Ue=0,_e=0;p.select(this).selectAll("g.traces").each(function(Fe){var Ce=D(Fe,Q,te),ve=Fe[0].height;m.setTranslate(this,We[0],We[1]+J+fe+ve/2+_e),_e+=ve,Ue=Math.max(Ue,Ce),Se[Fe[0].trace.legendgroup]=Ue});var Ze=Ue+fe;ut>0&&Ze+J+ut>Q._maxWidth?($e=Math.max($e,ut),ut=0,lt+=pt+we,pt=_e):pt=Math.max(pt,_e),m.setTranslate(this,ut,lt),ut+=Ze}),Q._width=Math.max($e,ut)+J,Q._height=lt+pt+ee}else{var ke=j.size(),Ne=He+re+(ke-1)*fe=Q._maxWidth&&($e=Math.max($e,Bt),qe=0,vt+=gt,Q._height+=gt,gt=0),m.setTranslate(this,We[0]+J+qe,We[1]+J+vt+_e/2+fe),Bt=qe+Ze+fe,qe+=Fe,gt=Math.max(gt,_e)}),Ne?(Q._width=qe+re,Q._height=gt+ee):(Q._width=Math.max($e,Bt)+re,Q._height+=gt+ee)}}Q._width=Math.ceil(Math.max(Q._width+We[0],Q._titleWidth+2*(J+n.titlePad))),Q._height=Math.ceil(Math.max(Q._height+We[1],Q._titleHeight+2*(J+n.itemGap))),Q._effHeight=Math.min(Q._height,Q._maxHeight);var Yt=N._context.edits,it=Yt.legendText||Yt.legendPosition;j.each(function(Ue){var _e=p.select(this).select("."+ue+"toggle"),Ze=Ue[0].height,Fe=Ue[0].trace.legendgroup,Ce=D(Ue,Q,te);X&&Fe!==""&&(Ce=Se[Fe]);var ve=it?te:Ee||Ce;!q&&!K&&(ve+=fe/2),m.setRect(_e,0,-Ze/2,ve,Ze)})}function G(N,W,j,Q){var ie=N._fullLayout,ue=ie[W],pe=_(ue),q=H(ue),X=ue.xref==="paper",K=ue.yref==="paper";N._fullLayout._reservedMargin[W]={};var J=ue.y<.5?"b":"t",re=ue.x<.5?"l":"r",fe={r:ie.width-j,l:j+ue._width,b:ie.height-Q,t:Q+ue._effHeight};if(X&&K)return a.autoMargin(N,W,{x:ue.x,y:ue.y,l:ue._width*u[pe],r:ue._width*b[pe],b:ue._effHeight*b[q],t:ue._effHeight*u[q]});X?N._fullLayout._reservedMargin[W][J]=fe[J]:K||ue.orientation==="v"?N._fullLayout._reservedMargin[W][re]=fe[re]:N._fullLayout._reservedMargin[W][J]=fe[J]}function _(N){return E.isRightAnchor(N)?"right":E.isCenterAnchor(N)?"center":"left"}function H(N){return E.isBottomAnchor(N)?"bottom":E.isMiddleAnchor(N)?"middle":"top"}function V(N){return N._id||"legend"}},82424:function(B,O,e){var p=e(73972),E=e(10130);B.exports=function(L,x,d){var m=x._inHover,r=E.isGrouped(x),t=E.isReversed(x),s={},n=[],f=!1,c={},u=0,b=0,h,S;function v(N,W,j){if(x.visible!==!1&&!(d&&N!==x._id))if(W===""||!E.isGrouped(x)){var Q="~~i"+u;n.push(Q),s[Q]=[j],u++}else n.indexOf(W)===-1?(n.push(W),f=!0,s[W]=[j]):s[W].push(j)}for(h=0;hw&&(k=w)}A[h][0]._groupMinRank=k,A[h][0]._preGroupSort=h}var U=function(N,W){return N[0]._groupMinRank-W[0]._groupMinRank||N[0]._preGroupSort-W[0]._preGroupSort},F=function(N,W){return N.trace.legendrank-W.trace.legendrank||N._preSort-W._preSort};for(A.forEach(function(N,W){N[0]._preGroupSort=W}),A.sort(U),h=0;h0)re=X.width;else return 0;return P?J:Math.min(re,K)};C.each(function(q){var X=p.select(this),K=a.ensureSingle(X,"g","layers");K.style("opacity",q[0].trace.opacity);var J=D.valign,re=q[0].lineHeight,fe=q[0].height;if(J==="middle"||!re||!fe)K.attr("transform",null);else{var te={top:1,bottom:-1}[J],ee=te*(.5*(re-fe+3));K.attr("transform",L(0,ee))}var ce=K.selectAll("g.legendfill").data([q]);ce.enter().append("g").classed("legendfill",!0);var le=K.selectAll("g.legendlines").data([q]);le.enter().append("g").classed("legendlines",!0);var me=K.selectAll("g.legendsymbols").data([q]);me.enter().append("g").classed("legendsymbols",!0),me.selectAll("g.legendpoints").data([q]).enter().append("g").classed("legendpoints",!0)}).each(pe).each(G).each(H).each(_).each(N).each(ie).each(Q).each(U).each(F).each(W).each(j);function U(q){var X=v(q),K=X.showFill,J=X.showLine,re=X.showGradientLine,fe=X.showGradientFill,te=X.anyFill,ee=X.anyLine,ce=q[0],le=ce.trace,me,we,Se=m(le),Ee=Se.colorscale,We=Se.reversescale,Ye=function($e){if($e.size())if(K)x.fillGroupStyle($e,M);else{var pt="legendfill-"+le.uid;x.gradient($e,M,pt,S(We),Ee,"fill")}},De=function($e){if($e.size()){var pt="legendline-"+le.uid;x.lineGroupStyle($e),x.gradient($e,M,pt,S(We),Ee,"stroke")}},Te=r.hasMarkers(le)||!te?"M5,0":ee?"M5,-2":"M5,-3",Re=p.select(this),Xe=Re.select(".legendfill").selectAll("path").data(K||fe?[q]:[]);if(Xe.enter().append("path").classed("js-fill",!0),Xe.exit().remove(),Xe.attr("d",Te+"h"+A+"v6h-"+A+"z").call(Ye),J||re){var Je=w(void 0,le.line,b,c);we=a.minExtend(le,{line:{width:Je}}),me=[a.minExtend(ce,{trace:we})]}var He=Re.select(".legendlines").selectAll("path").data(J||re?[me]:[]);He.enter().append("path").classed("js-line",!0),He.exit().remove(),He.attr("d",Te+(re?"l"+A+",0.0001":"h"+A)).call(J?x.lineGroupStyle:De)}function F(q){var X=v(q),K=X.anyFill,J=X.anyLine,re=X.showLine,fe=X.showMarker,te=q[0],ee=te.trace,ce=!fe&&!J&&!K&&r.hasText(ee),le,me;function we(Xe,Je,He,$e){var pt=a.nestedProperty(ee,Xe).get(),ut=a.isArrayOrTypedArray(pt)&&Je?Je(pt):pt;if(P&&ut&&$e!==void 0&&(ut=$e),He){if(utHe[1])return He[1]}return ut}function Se(Xe){return te._distinct&&te.index&&Xe[te.index]?Xe[te.index]:Xe[0]}if(fe||ce||re){var Ee={},We={};if(fe){Ee.mc=we("marker.color",Se),Ee.mx=we("marker.symbol",Se),Ee.mo=we("marker.opacity",a.mean,[.2,1]),Ee.mlc=we("marker.line.color",Se),Ee.mlw=we("marker.line.width",a.mean,[0,5],u),We.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Ye=we("marker.size",a.mean,[2,16],f);Ee.ms=Ye,We.marker.size=Ye}re&&(We.line={width:we("line.width",Se,[0,10],c)}),ce&&(Ee.tx="Aa",Ee.tp=we("textposition",Se),Ee.ts=10,Ee.tc=we("textfont.color",Se),Ee.tf=we("textfont.family",Se)),le=[a.minExtend(te,Ee)],me=a.minExtend(ee,We),me.selectedpoints=null,me.texttemplate=null}var De=p.select(this).select("g.legendpoints"),Te=De.selectAll("path.scatterpts").data(fe?le:[]);Te.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",k),Te.exit().remove(),Te.call(x.pointStyle,me,M),fe&&(le[0].mrc=3);var Re=De.selectAll("g.pointtext").data(ce?le:[]);Re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",k),Re.exit().remove(),Re.selectAll("text").call(x.textPointStyle,me,M)}function G(q){var X=q[0].trace,K=X.type==="waterfall";if(q[0]._distinct&&K){var J=q[0].trace[q[0].dir].marker;return q[0].mc=J.color,q[0].mlw=J.line.width,q[0].mlc=J.line.color,V(q,this,"waterfall")}var re=[];X.visible&&K&&(re=q[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var fe=p.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(re);fe.enter().append("path").classed("legendwaterfall",!0).attr("transform",k).style("stroke-miterlimit",1),fe.exit().remove(),fe.each(function(te){var ee=p.select(this),ce=X[te[0]].marker,le=w(void 0,ce.line,h,u);ee.attr("d",te[1]).style("stroke-width",le+"px").call(d.fill,ce.color),le&&ee.call(d.stroke,ce.line.color)})}function _(q){V(q,this)}function H(q){V(q,this,"funnel")}function V(q,X,K){var J=q[0].trace,re=J.marker||{},fe=re.line||{},te=K?J.visible&&J.type===K:E.traceIs(J,"bar"),ee=p.select(X).select("g.legendpoints").selectAll("path.legend"+K).data(te?[q]:[]);ee.enter().append("path").classed("legend"+K,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",k),ee.exit().remove(),ee.each(function(ce){var le=p.select(this),me=ce[0],we=w(me.mlw,re.line,h,u);le.style("stroke-width",we+"px");var Se=me.mcc;if(!D._inHover&&"mc"in me){var Ee=m(re),We=Ee.mid;We===void 0&&(We=(Ee.max+Ee.min)/2),Se=x.tryColorscale(re,"")(We)}var Ye=Se||me.mc||re.color,De=re.pattern,Te=De&&x.getPatternAttr(De.shape,0,"");if(Te){var Re=x.getPatternAttr(De.bgcolor,0,null),Xe=x.getPatternAttr(De.fgcolor,0,null),Je=De.fgopacity,He=l(De.size,8,10),$e=l(De.solidity,.5,1),pt="legend-"+J.uid;le.call(x.pattern,"legend",M,pt,Te,He,$e,Se,De.fillmode,Re,Xe,Je)}else le.call(d.fill,Ye);we&&d.stroke(le,me.mlc||fe.color)})}function N(q){var X=q[0].trace,K=p.select(this).select("g.legendpoints").selectAll("path.legendbox").data(X.visible&&E.traceIs(X,"box-violin")?[q]:[]);K.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",k),K.exit().remove(),K.each(function(){var J=p.select(this);if((X.boxpoints==="all"||X.points==="all")&&d.opacity(X.fillcolor)===0&&d.opacity((X.line||{}).color)===0){var re=a.minExtend(X,{marker:{size:P?f:a.constrain(X.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});K.call(x.pointStyle,re,M)}else{var fe=w(void 0,X.line,h,u);J.style("stroke-width",fe+"px").call(d.fill,X.fillcolor),fe&&d.stroke(J,X.line.color)}})}function W(q){var X=q[0].trace,K=p.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(X.visible&&X.type==="candlestick"?[q,q]:[]);K.enter().append("path").classed("legendcandle",!0).attr("d",function(J,re){return re?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",k).style("stroke-miterlimit",1),K.exit().remove(),K.each(function(J,re){var fe=p.select(this),te=X[re?"increasing":"decreasing"],ee=w(void 0,te.line,h,u);fe.style("stroke-width",ee+"px").call(d.fill,te.fillcolor),ee&&d.stroke(fe,te.line.color)})}function j(q){var X=q[0].trace,K=p.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(X.visible&&X.type==="ohlc"?[q,q]:[]);K.enter().append("path").classed("legendohlc",!0).attr("d",function(J,re){return re?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",k).style("stroke-miterlimit",1),K.exit().remove(),K.each(function(J,re){var fe=p.select(this),te=X[re?"increasing":"decreasing"],ee=w(void 0,te.line,h,u);fe.style("fill","none").call(x.dashLine,te.line.dash,ee),ee&&d.stroke(fe,te.line.color)})}function Q(q){ue(q,this,"pie")}function ie(q){ue(q,this,"funnelarea")}function ue(q,X,K){var J=q[0],re=J.trace,fe=K?re.visible&&re.type===K:E.traceIs(re,K),te=p.select(X).select("g.legendpoints").selectAll("path.legend"+K).data(fe?[q]:[]);if(te.enter().append("path").classed("legend"+K,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",k),te.exit().remove(),te.size()){var ee=re.marker||{},ce=w(s(ee.line.width,J.pts),ee.line,h,u),le="pieLike",me=a.minExtend(re,{marker:{line:{width:ce}}},le),we=a.minExtend(J,{trace:me},le);t(te,we,me,M)}}function pe(q){var X=q[0].trace,K,J=[];if(X.visible)switch(X.type){case"histogram2d":case"heatmap":J=[["M-15,-2V4H15V-2Z"]],K=!0;break;case"choropleth":case"choroplethmapbox":J=[["M-6,-6V6H6V-6Z"]],K=!0;break;case"densitymapbox":J=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],K="radial";break;case"cone":J=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],K=!1;break;case"streamtube":J=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],K=!1;break;case"surface":J=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],K=!0;break;case"mesh3d":J=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],K=!1;break;case"volume":J=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],K=!0;break;case"isosurface":J=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],K=!1;break}var re=p.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(J);re.enter().append("path").classed("legend3dandfriends",!0).attr("transform",k).style("stroke-miterlimit",1),re.exit().remove(),re.each(function(fe,te){var ee=p.select(this),ce=m(X),le=ce.colorscale,me=ce.reversescale,we=function(Ye){if(Ye.size()){var De="legendfill-"+X.uid;x.gradient(Ye,M,De,S(me,K==="radial"),le,"fill")}},Se;if(le){if(!K){var We=le.length;Se=te===0?le[me?We-1:0][1]:te===1?le[me?0:We-1][1]:le[Math.floor((We-1)/2)][1]}}else{var Ee=X.vertexcolor||X.facecolor||X.color;Se=a.isArrayOrTypedArray(Ee)?Ee[te]||Ee[0]:Ee}ee.attr("d",fe[0]),Se?ee.call(d.fill,Se):ee.call(we)})}};function S(g,C){var M=C?"radial":"horizontal";return M+(g?"":"reversed")}function v(g){var C=g[0].trace,M=C.contours,D=r.hasLines(C),T=r.hasMarkers(C),P=C.visible&&C.fill&&C.fill!=="none",A=!1,o=!1;if(M){var k=M.coloring;k==="lines"?A=!0:D=k==="none"||k==="heatmap"||M.showlines,M.type==="constraint"?P=M._operation!=="=":(k==="fill"||k==="heatmap")&&(o=!0)}return{showMarker:T,showLine:D,showFill:P,showGradientLine:A,showGradientFill:o,anyLine:D||A,anyFill:P||o}}function l(g,C,M){return g&&a.isArrayOrTypedArray(g)?C:g>M?M:g}},42068:function(B,O,e){e(93348),B.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(B,O,e){var p=e(73972),E=e(74875),a=e(41675),L=e(24255),x=e(34031).eraseActiveShape,d=e(71828),m=d._,r=B.exports={};r.toImage={name:"toImage",title:function(g){var C=g._context.toImageButtonOptions||{},M=C.format||"png";return M==="png"?m(g,"Download plot as a png"):m(g,"Download plot")},icon:L.camera,click:function(g){var C=g._context.toImageButtonOptions,M={format:C.format||"png"};d.notifier(m(g,"Taking snapshot - this may take a few seconds"),"long"),M.format!=="svg"&&d.isIE()&&(d.notifier(m(g,"IE only supports svg. Changing format to svg."),"long"),M.format="svg"),["filename","width","height","scale"].forEach(function(D){D in C&&(M[D]=C[D])}),p.call("downloadImage",g,M).then(function(D){d.notifier(m(g,"Snapshot succeeded")+" - "+D,"long")}).catch(function(){d.notifier(m(g,"Sorry, there was a problem downloading your snapshot!"),"long")})}},r.sendDataToCloud={name:"sendDataToCloud",title:function(g){return m(g,"Edit in Chart Studio")},icon:L.disk,click:function(g){E.sendDataToCloud(g)}},r.editInChartStudio={name:"editInChartStudio",title:function(g){return m(g,"Edit in Chart Studio")},icon:L.pencil,click:function(g){E.sendDataToCloud(g)}},r.zoom2d={name:"zoom2d",_cat:"zoom",title:function(g){return m(g,"Zoom")},attr:"dragmode",val:"zoom",icon:L.zoombox,click:t},r.pan2d={name:"pan2d",_cat:"pan",title:function(g){return m(g,"Pan")},attr:"dragmode",val:"pan",icon:L.pan,click:t},r.select2d={name:"select2d",_cat:"select",title:function(g){return m(g,"Box Select")},attr:"dragmode",val:"select",icon:L.selectbox,click:t},r.lasso2d={name:"lasso2d",_cat:"lasso",title:function(g){return m(g,"Lasso Select")},attr:"dragmode",val:"lasso",icon:L.lasso,click:t},r.drawclosedpath={name:"drawclosedpath",title:function(g){return m(g,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:L.drawclosedpath,click:t},r.drawopenpath={name:"drawopenpath",title:function(g){return m(g,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:L.drawopenpath,click:t},r.drawline={name:"drawline",title:function(g){return m(g,"Draw line")},attr:"dragmode",val:"drawline",icon:L.drawline,click:t},r.drawrect={name:"drawrect",title:function(g){return m(g,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:L.drawrect,click:t},r.drawcircle={name:"drawcircle",title:function(g){return m(g,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:L.drawcircle,click:t},r.eraseshape={name:"eraseshape",title:function(g){return m(g,"Erase active shape")},icon:L.eraseshape,click:x},r.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(g){return m(g,"Zoom in")},attr:"zoom",val:"in",icon:L.zoom_plus,click:t},r.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(g){return m(g,"Zoom out")},attr:"zoom",val:"out",icon:L.zoom_minus,click:t},r.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(g){return m(g,"Autoscale")},attr:"zoom",val:"auto",icon:L.autoscale,click:t},r.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(g){return m(g,"Reset axes")},attr:"zoom",val:"reset",icon:L.home,click:t},r.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(g){return m(g,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:L.tooltip_basic,gravity:"ne",click:t},r.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(g){return m(g,"Compare data on hover")},attr:"hovermode",val:function(g){return g._fullLayout._isHoriz?"y":"x"},icon:L.tooltip_compare,gravity:"ne",click:t};function t(g,C){var M=C.currentTarget,D=M.getAttribute("data-attr"),T=M.getAttribute("data-val")||!0,P=g._fullLayout,A={},o=a.list(g,null,!0),k=P._cartesianSpikesEnabled,w,U;if(D==="zoom"){var F=T==="in"?.5:2,G=(1+F)/2,_=(1-F)/2,H;for(U=0;U1?(ue=["toggleHover"],pe=["resetViews"]):A?(ie=["zoomInGeo","zoomOutGeo"],ue=["hoverClosestGeo"],pe=["resetGeo"]):P?(ue=["hoverClosest3d"],pe=["resetCameraDefault3d","resetCameraLastSave3d"]):F?(ie=["zoomInMapbox","zoomOutMapbox"],ue=["toggleHover"],pe=["resetViewMapbox"]):w?ue=["hoverClosestGl2d"]:o?ue=["hoverClosestPie"]:H?(ue=["hoverClosestCartesian","hoverCompareCartesian"],pe=["resetViewSankey"]):ue=["toggleHover"],T&&(ue=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(f(S)||N)&&(ue=[]),(T||w)&&!V&&(ie=["zoomIn2d","zoomOut2d","autoScale2d"],pe[0]!=="resetViews"&&(pe=["resetScale2d"])),P?q=["zoom3d","pan3d","orbitRotation","tableRotation"]:(T||w)&&!V||U?q=["zoom2d","pan2d"]:F||A?q=["pan2d"]:G&&(q=["zoom2d"]),n(S)&&q.push("select2d","lasso2d");var X=[],K=function(te){X.indexOf(te)===-1&&ue.indexOf(te)!==-1&&X.push(te)};if(Array.isArray(M)){for(var J=[],re=0;re0);if(l){var g=r(n,f,c);S("x",g[0]),S("y",g[1]),p.noneOrAll(s,n,["x","y"]),S("xanchor"),S("yanchor"),p.coerceFont(S,"font",f.font);var C=S("bgcolor");S("activecolor",E.contrast(C,d.lightAmount,d.darkAmount)),S("bordercolor"),S("borderwidth")}};function m(t,s,n,f){var c=f.calendar;function u(S,v){return p.coerce(t,s,x.buttons,S,v)}var b=u("visible");if(b){var h=u("step");h!=="all"&&(c&&c!=="gregorian"&&(h==="month"||h==="year")?s.stepmode="backward":u("stepmode"),u("count")),u("label")}}function r(t,s,n){for(var f=n.filter(function(h){return s[h].anchor===t._id}),c=0,u=0;u=Ye.max)Ee=ce[We+1];else if(Se=Ye.pmax)Ee=ce[We+1];else if(SeA._length||W+q<0)return;X=N+q,K=W+q;break;case w:if(J="col-resize",N+q>A._length)return;X=N+q,K=W;break;case U:if(J="col-resize",W+q<0)return;X=N,K=W+q;break;default:J="ew-resize",X=V,K=V+q;break}if(K=0;G--){var _=M.append("path").attr(T).style("opacity",G?.1:P).call(L.stroke,o).call(L.fill,A).call(x.dashLine,G?"solid":w,G?4+k:k);if(f(_,h,l),U){var H=d(h.layout,"selections",l);_.style({cursor:"move"});var V={element:_.node(),plotinfo:g,gd:h,editHelpers:H,isActiveSelection:!0},N=p(D,h);E(N,_,V)}else _.style("pointer-events",G?"all":"none");F[G]=_}var W=F[0],j=F[1];j.node().addEventListener("click",function(){return c(h,W)})}}function f(h,S,v){var l=v.xref+v.yref;x.setClipUrl(h,"clip"+S._fullLayout._uid+l,S)}function c(h,S){if(s(h)){var v=S.node(),l=+v.getAttribute("data-index");if(l>=0){if(l===h._fullLayout._activeSelectionIndex){b(h);return}h._fullLayout._activeSelectionIndex=l,h._fullLayout._deactivateSelection=b,t(h)}}}function u(h){if(s(h)){var S=h._fullLayout.selections.length-1;h._fullLayout._activeSelectionIndex=S,h._fullLayout._deactivateSelection=b,t(h)}}function b(h){if(s(h)){var S=h._fullLayout._activeSelectionIndex;S>=0&&(a(h),delete h._fullLayout._activeSelectionIndex,t(h))}}},53777:function(B,O,e){var p=e(79952).P,E=e(1426).extendFlat;B.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:E({},p,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(B){B.exports=function(e,p,E){E("newselection.mode");var a=E("newselection.line.width");a&&(E("newselection.line.color"),E("newselection.line.dash")),E("activeselection.fillcolor"),E("activeselection.opacity")}},35855:function(B,O,e){var p=e(64505),E=p.selectMode,a=e(51873),L=a.clearOutline,x=e(60165),d=x.readPaths,m=x.writePaths,r=x.fixDatesForPaths;B.exports=function(s,n){if(s.length){var f=s[0][0];if(f){var c=f.getAttribute("d"),u=n.gd,b=u._fullLayout.newselection,h=n.plotinfo,S=h.xaxis,v=h.yaxis,l=n.isActiveSelection,g=n.dragmode,C=(u.layout||{}).selections||[];if(!E(g)&&l!==void 0){var M=u._fullLayout._activeSelectionIndex;if(M=0){$t._fullLayout._deactivateShape($t);return}if(!Et){var Qn=vr.clickmode;o.done(cn).then(function(){if(o.clear(cn),En===2){for(br.remove(),or=0;or-1&&ue(pa,$t,ve.xaxes,ve.yaxes,ve.subplot,ve,br),Qn==="event"&&Ue($t,void 0);d.click($t,pa,cr.id)}).catch(T.error)}},ve.doneFn=function(){Br.remove(),o.done(cn).then(function(){o.clear(cn),!Pr&&Gt&&ve.selectionDefs&&(Gt.subtract=Fr,ve.selectionDefs.push(Gt),ve.mergedPolygons.length=0,[].push.apply(ve.mergedPolygons,Wt)),(Pr||Et)&&te(ve,Pr),ve.doneFnCompleted&&ve.doneFnCompleted(tn),kt&&Ue($t,Tr)}).catch(T.error)}}function ue(Ze,Fe,Ce,ve,Ie,Ae,je){var ot=Fe._hoverdata,ct=Fe._fullLayout,Et=ct.clickmode,kt=Et.indexOf("event")>-1,nr=[],dr,Dt,$t,vr,Pr,Ct,ir,cr,Or,kr;if(me(ot)){J(Ze,Fe,Ae),dr=ce(Fe,Ce,ve,Ie);var Mt=we(ot,dr),yt=Mt.pointNumbers.length>0;if(yt?Ee(dr,Mt):We(dr)&&(ir=Se(Mt))){for(je&&je.remove(),kr=0;kr=0}function fe(Ze){return Ze._fullLayout._activeSelectionIndex>=0}function te(Ze,Fe){var Ce=Ze.dragmode,ve=Ze.plotinfo,Ie=Ze.gd;re(Ie)&&Ie._fullLayout._deactivateShape(Ie),fe(Ie)&&Ie._fullLayout._deactivateSelection(Ie);var Ae=Ie._fullLayout,je=Ae._zoomlayer,ot=n(Ce),ct=c(Ce);if(ot||ct){var Et=je.selectAll(".select-outline-"+ve.id);if(Et&&Ie._fullLayout._outlining){var kt;ot&&(kt=C(Et,Ze)),kt&&a.call("_guiRelayout",Ie,{shapes:kt});var nr;ct&&!Q(Ze)&&(nr=M(Et,Ze)),nr&&(Ie._fullLayout._noEmitSelectedAtStart=!0,a.call("_guiRelayout",Ie,{selections:nr}).then(function(){Fe&&D(Ie)})),Ie._fullLayout._outlining=!1}}ve.selection={},ve.selection.selectionDefs=Ze.selectionDefs=[],ve.selection.mergedPolygons=Ze.mergedPolygons=[]}function ee(Ze){return Ze._id}function ce(Ze,Fe,Ce,ve){if(!Ze.calcdata)return[];var Ie=[],Ae=Fe.map(ee),je=Ce.map(ee),ot,ct,Et;for(Et=0;Et0,Ae=Ie?ve[0]:Ce;return Fe.selectedpoints?Fe.selectedpoints.indexOf(Ae)>-1:!1}function Ee(Ze,Fe){var Ce=[],ve,Ie,Ae,je;for(je=0;je0&&Ce.push(ve);if(Ce.length===1&&(Ae=Ce[0]===Fe.searchInfo,Ae&&(Ie=Fe.searchInfo.cd[0].trace,Ie.selectedpoints.length===Fe.pointNumbers.length))){for(je=0;je1||(Fe+=ve.selectedpoints.length,Fe>1)))return!1;return Fe===1}function Ye(Ze,Fe,Ce){var ve;for(ve=0;ve-1&&Fe;if(!je&&Fe){var En=ke(Ze,!0);if(En.length){var pa=En[0].xref,Qn=En[0].yref;if(pa&&Qn){var _r=qe(En),Vr=Bt([k(Ze,pa,"x"),k(Ze,Qn,"y")]);Vr(tn,_r)}}Ze._fullLayout._noEmitSelectedAtStart?Ze._fullLayout._noEmitSelectedAtStart=!1:Wn&&Ue(Ze,tn),dr._reselect=!1}if(!je&&dr._deselect){var qr=dr._deselect;ot=qr.xref,ct=qr.yref,pt(ot,ct,kt)||ut(Ze,ot,ct,ve),Wn&&(tn.points.length?Ue(Ze,tn):_e(Ze)),dr._deselect=!1}return{eventData:tn,selectionTesters:Ce}}function $e(Ze){var Fe=Ze.calcdata;if(Fe)for(var Ce=0;Ce0?v+b:b;return{ppad:b,ppadplus:h?g:C,ppadminus:h?C:g}}else return{ppad:b}}function r(t,s,n,f,c){var u=t.type==="category"||t.type==="multicategory"?t.r2c:t.d2c;if(s!==void 0)return[u(s),u(n)];if(f){var b=1/0,h=-1/0,S=f.match(a.segmentRE),v,l,g,C,M;for(t.type==="date"&&(u=L.decodeDate(u)),v=0;vh&&(h=M)));if(h>=b)return[b,h]}}},21459:function(B){B.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},84726:function(B,O,e){var p=e(71828),E=e(89298),a=e(85501),L=e(89827),x=e(30477);B.exports=function(t,s){a(t,s,{name:"shapes",handleItemDefaults:m})};function d(r,t){return r?"bottom":t.indexOf("top")!==-1?"top":t.indexOf("bottom")!==-1?"bottom":"middle"}function m(r,t,s){function n(q,X){return p.coerce(r,t,L,q,X)}t._isShape=!0;var f=n("visible");if(f){var c=n("showlegend");c&&(n("legend"),n("legendwidth"),n("legendgroup"),n("legendgrouptitle.text"),p.coerceFont(n,"legendgrouptitle.font"),n("legendrank"));var u=n("path"),b=u?"path":"rect",h=n("type",b),S=h!=="path";S&&delete t.path,n("editable"),n("layer"),n("opacity"),n("fillcolor"),n("fillrule");var v=n("line.width");v&&(n("line.color"),n("line.dash"));for(var l=n("xsizemode"),g=n("ysizemode"),C=["x","y"],M=0;M<2;M++){var D=C[M],T=D+"anchor",P=D==="x"?l:g,A={_fullLayout:s},o,k,w,U=E.coerceRef(r,t,A,D,void 0,"paper"),F=E.getRefType(U);if(F==="range"?(o=E.getFromId(A,U),o._shapeIndices.push(t._index),w=x.rangeToShapePosition(o),k=x.shapePositionToRange(o)):k=w=p.identity,S){var G=.25,_=.75,H=D+"0",V=D+"1",N=r[H],W=r[V];r[H]=k(r[H],!0),r[V]=k(r[V],!0),P==="pixel"?(n(H,0),n(V,10)):(E.coercePosition(t,A,n,U,H,G),E.coercePosition(t,A,n,U,V,_)),t[H]=w(t[H]),t[V]=w(t[V]),r[H]=N,r[V]=W}if(P==="pixel"){var j=r[T];r[T]=k(r[T],!0),E.coercePosition(t,A,n,U,T,.25),t[T]=w(t[T]),r[T]=j}}S&&p.noneOrAll(r,t,["x0","x1","y0","y1"]);var Q=h==="line",ie,ue;if(S&&(ie=n("label.texttemplate")),ie||(ue=n("label.text")),ue||ie){n("label.textangle");var pe=n("label.textposition",Q?"middle":"middle center");n("label.xanchor"),n("label.yanchor",d(Q,pe)),n("label.padding"),p.coerceFont(n,"label.font",s.font)}}}},48100:function(B,O,e){var p=e(71828),E=e(89298),a=e(63893),L=e(91424),x=e(60165).readPaths,d=e(30477),m=d.getPathString,r=e(37281),t=e(18783).FROM_TL;B.exports=function(c,u,b,h){if(h.selectAll(".shape-label").remove(),!!(b.label.text||b.label.texttemplate)){var S;if(b.label.texttemplate){var v={};if(b.type!=="path"){var l=E.getFromId(c,b.xref),g=E.getFromId(c,b.yref);for(var C in r){var M=r[C](b,l,g);M!==void 0&&(v[C]=M)}}S=p.texttemplateStringForShapes(b.label.texttemplate,{},c._fullLayout._d3locale,v)}else S=b.label.text;var D={"data-index":u},T=b.label.font,P={"data-notex":1},A=h.append("g").attr(D).classed("shape-label",!0),o=A.append("text").attr(P).classed("shape-label-text",!0).text(S),k,w,U,F;if(b.path){var G=m(c,b),_=x(G,c);k=1/0,U=1/0,w=-1/0,F=-1/0;for(var H=0;H<_.length;H++)for(var V=0;V<_[H].length;V++)for(var N=_[H][V],W=1;W=f?h=c-b:h=b-c,-180/Math.PI*Math.atan2(h,S)}function n(f,c,u,b,h,S,v){var l=h.label.textposition,g=h.label.textangle,C=h.label.padding,M=h.type,D=Math.PI/180*S,T=Math.sin(D),P=Math.cos(D),A=h.label.xanchor,o=h.label.yanchor,k,w,U,F;if(M==="line"){l==="start"?(k=f,w=c):l==="end"?(k=u,w=b):(k=(f+u)/2,w=(c+b)/2),A==="auto"&&(l==="start"?g==="auto"?u>f?A="left":uf?A="right":uf?A="right":uf?A="left":u1&&!(Te.length===2&&Te[1][0]==="Z")&&(q===0&&(Te[0][0]="M"),k[pe]=Te,_(),H())}}function le(Te,Re){if(Te===2){pe=+Re.srcElement.getAttribute("data-i"),q=+Re.srcElement.getAttribute("data-j");var Xe=k[pe];!S(Xe)&&!v(Xe)&&ce()}}function me(Te){ie=[];for(var Re=0;Re_&&Ce>H&&!_e.shiftKey?f.getCursor(ve/Fe,1-Ie/Ce):"move";c(k,Ae),pt=Ae.split("-")[0]}}function Ne(_e){v(o)||(V&&(X=Te(w.xanchor)),N&&(K=Re(w.yanchor)),w.type==="path"?we=w.path:(ie=V?w.x0:Te(w.x0),ue=N?w.y0:Re(w.y0),pe=V?w.x1:Te(w.x1),q=N?w.y1:Re(w.y1)),ieq?(J=ue,ee="y0",re=q,ce="y1"):(J=q,ee="y1",re=ue,ce="y0"),ke(_e),Yt(F,w),Ue(k,w,o),$e.moveFn=pt==="move"?vt:Bt,$e.altKey=_e.altKey)}function gt(){v(o)||(c(k),it(F),C(k,o,w),E.call("_guiRelayout",o,G.getUpdateObj()))}function qe(){v(o)||it(F)}function vt(_e,Ze){if(w.type==="path"){var Fe=function(Ie){return Ie},Ce=Fe,ve=Fe;V?Q("xanchor",w.xanchor=Xe(X+_e)):(Ce=function(Ae){return Xe(Te(Ae)+_e)},Ee&&Ee.type==="date"&&(Ce=b.encodeDate(Ce))),N?Q("yanchor",w.yanchor=Je(K+Ze)):(ve=function(Ae){return Je(Re(Ae)+Ze)},Ye&&Ye.type==="date"&&(ve=b.encodeDate(ve))),Q("path",w.path=D(we,Ce,ve))}else V?Q("xanchor",w.xanchor=Xe(X+_e)):(Q("x0",w.x0=Xe(ie+_e)),Q("x1",w.x1=Xe(pe+_e))),N?Q("yanchor",w.yanchor=Je(K+Ze)):(Q("y0",w.y0=Je(ue+Ze)),Q("y1",w.y1=Je(q+Ze)));k.attr("d",h(o,w)),Yt(F,w),m(o,U,w,Se)}function Bt(_e,Ze){if(j){var Fe=function(Ct){return Ct},Ce=Fe,ve=Fe;V?Q("xanchor",w.xanchor=Xe(X+_e)):(Ce=function(ir){return Xe(Te(ir)+_e)},Ee&&Ee.type==="date"&&(Ce=b.encodeDate(Ce))),N?Q("yanchor",w.yanchor=Je(K+Ze)):(ve=function(ir){return Je(Re(ir)+Ze)},Ye&&Ye.type==="date"&&(ve=b.encodeDate(ve))),Q("path",w.path=D(we,Ce,ve))}else if(W){if(pt==="resize-over-start-point"){var Ie=ie+_e,Ae=N?ue-Ze:ue+Ze;Q("x0",w.x0=V?Ie:Xe(Ie)),Q("y0",w.y0=N?Ae:Je(Ae))}else if(pt==="resize-over-end-point"){var je=pe+_e,ot=N?q-Ze:q+Ze;Q("x1",w.x1=V?je:Xe(je)),Q("y1",w.y1=N?ot:Je(ot))}}else{var ct=function(Ct){return pt.indexOf(Ct)!==-1},Et=ct("n"),kt=ct("s"),nr=ct("w"),dr=ct("e"),Dt=Et?J+Ze:J,$t=kt?re+Ze:re,vr=nr?fe+_e:fe,Pr=dr?te+_e:te;N&&(Et&&(Dt=J-Ze),kt&&($t=re-Ze)),(!N&&$t-Dt>H||N&&Dt-$t>H)&&(Q(ee,w[ee]=N?Dt:Je(Dt)),Q(ce,w[ce]=N?$t:Je($t))),Pr-vr>_&&(Q(le,w[le]=V?vr:Xe(vr)),Q(me,w[me]=V?Pr:Xe(Pr)))}k.attr("d",h(o,w)),Yt(F,w),m(o,U,w,Se)}function Yt(_e,Ze){(V||N)&&Fe();function Fe(){var Ce=Ze.type!=="path",ve=_e.selectAll(".visual-cue").data([0]),Ie=1;ve.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":Ie}).classed("visual-cue",!0);var Ae=Te(V?Ze.xanchor:a.midRange(Ce?[Ze.x0,Ze.x1]:b.extractPathCoords(Ze.path,u.paramIsX))),je=Re(N?Ze.yanchor:a.midRange(Ce?[Ze.y0,Ze.y1]:b.extractPathCoords(Ze.path,u.paramIsY)));if(Ae=b.roundPositionForSharpStrokeRendering(Ae,Ie),je=b.roundPositionForSharpStrokeRendering(je,Ie),V&&N){var ot="M"+(Ae-1-Ie)+","+(je-1-Ie)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";ve.attr("d",ot)}else if(V){var ct="M"+(Ae-1-Ie)+","+(je-9-Ie)+"v18 h2 v-18 Z";ve.attr("d",ct)}else{var Et="M"+(Ae-9-Ie)+","+(je-1-Ie)+"h18 v2 h-18 Z";ve.attr("d",Et)}}}function it(_e){_e.selectAll(".visual-cue").remove()}function Ue(_e,Ze,Fe){var Ce=Ze.xref,ve=Ze.yref,Ie=L.getFromId(Fe,Ce),Ae=L.getFromId(Fe,ve),je="";Ce!=="paper"&&!Ie.autorange&&(je+=Ce),ve!=="paper"&&!Ae.autorange&&(je+=ve),s.setClipUrl(_e,je?"clip"+Fe._fullLayout._uid+je:null,Fe)}}function D(o,k,w){return o.replace(u.segmentRE,function(U){var F=0,G=U.charAt(0),_=u.paramIsX[G],H=u.paramIsY[G],V=u.numParams[G],N=U.substr(1).replace(u.paramRE,function(W){return F>=V||(_[F]?W=k(W):H[F]&&(W=w(W)),F++),W});return G+N})}function T(o,k){if(l(o)){var w=k.node(),U=+w.getAttribute("data-index");if(U>=0){if(U===o._fullLayout._activeShapeIndex){P(o);return}o._fullLayout._activeShapeIndex=U,o._fullLayout._deactivateShape=P,S(o)}}}function P(o){if(l(o)){var k=o._fullLayout._activeShapeIndex;k>=0&&(r(o),delete o._fullLayout._activeShapeIndex,S(o))}}function A(o){if(l(o)){r(o);var k=o._fullLayout._activeShapeIndex,w=(o.layout||{}).shapes||[];if(k0&&gv&&(g="X"),g});return u>v&&(l=l.replace(/[\s,]*X.*/,""),E.log("Ignoring extra params in segment "+c)),b+l})}},89853:function(B,O,e){var p=e(34031);B.exports={moduleType:"component",name:"shapes",layoutAttributes:e(89827),supplyLayoutDefaults:e(84726),supplyDrawNewShapeDefaults:e(45547),includeBasePlot:e(76325)("shapes"),calcAutorange:e(5627),draw:p.draw,drawOne:p.drawOne}},37281:function(B){function O(c,u){return u?u.d2l(c):c}function e(c,u){return u?u.l2d(c):c}function p(c){return c.x0}function E(c){return c.x1}function a(c){return c.y0}function L(c){return c.y1}function x(c,u){return O(c.x1,u)-O(c.x0,u)}function d(c,u,b){return O(c.y1,b)-O(c.y0,b)}function m(c,u){return Math.abs(x(c,u))}function r(c,u,b){return Math.abs(d(c,u,b))}function t(c,u,b){return c.type!=="line"?void 0:Math.sqrt(Math.pow(x(c,u),2)+Math.pow(d(c,u,b),2))}function s(c,u){return e((O(c.x1,u)+O(c.x0,u))/2,u)}function n(c,u,b){return e((O(c.y1,b)+O(c.y0,b))/2,b)}function f(c,u,b){return c.type!=="line"?void 0:d(c,u,b)/x(c,u)}B.exports={x0:p,x1:E,y0:a,y1:L,slope:f,dx:x,dy:d,width:m,height:r,length:t,xcenter:s,ycenter:n}},75067:function(B,O,e){var p=e(41940),E=e(35025),a=e(1426).extendDeepAll,L=e(30962).overrideAll,x=e(85594),d=e(44467).templatedArray,m=e(98292),r=d("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});B.exports=L(d("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:r,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:a(E({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:x.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:p({})},font:p({}),activebgcolor:{valType:"color",dflt:m.gripBgActiveColor},bgcolor:{valType:"color",dflt:m.railBgColor},bordercolor:{valType:"color",dflt:m.railBorderColor},borderwidth:{valType:"number",min:0,dflt:m.railBorderWidth},ticklen:{valType:"number",min:0,dflt:m.tickLength},tickcolor:{valType:"color",dflt:m.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:m.minorTickLength}}),"arraydraw","from-root")},98292:function(B){B.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(B,O,e){var p=e(71828),E=e(85501),a=e(75067),L=e(98292),x=L.name,d=a.steps;B.exports=function(s,n){E(s,n,{name:x,handleItemDefaults:m})};function m(t,s,n){function f(g,C){return p.coerce(t,s,a,g,C)}for(var c=E(t,s,{name:"steps",handleItemDefaults:r}),u=0,b=0;b0?[0]:[]);j.enter().append("g").classed(t.containerClassName,!0).style("cursor",V?null:"ew-resize");function Q(q){q._commandObserver&&(q._commandObserver.remove(),delete q._commandObserver),E.autoMargin(H,u(q))}if(j.exit().each(function(){p.select(this).selectAll("g."+t.groupClassName).each(Q)}).remove(),W.length!==0){var ie=j.selectAll("g."+t.groupClassName).data(W,h);ie.enter().append("g").classed(t.groupClassName,!0),ie.exit().each(Q).remove();for(var ue=0;ue0&&(ie=ie.transition().duration(H.transition.duration).ease(H.transition.easing)),ie.attr("transform",d(Q-t.gripWidth*.5,H._dims.currentValueTotalHeight))}}function w(_,H){var V=_._dims;return V.inputAreaStart+t.stepInset+(V.inputAreaLength-2*t.stepInset)*Math.min(1,Math.max(0,H))}function U(_,H){var V=_._dims;return Math.min(1,Math.max(0,(H-t.stepInset-V.inputAreaStart)/(V.inputAreaLength-2*t.stepInset-2*V.inputAreaStart)))}function F(_,H,V){var N=V._dims,W=x.ensureSingle(_,"rect",t.railTouchRectClass,function(j){j.call(P,H,_,V).style("pointer-events","all")});W.attr({width:N.inputAreaLength,height:Math.max(N.inputAreaWidth,t.tickOffset+V.ticklen+N.labelHeight)}).call(a.fill,V.bgcolor).attr("opacity",0),L.setTranslate(W,0,N.currentValueTotalHeight)}function G(_,H){var V=H._dims,N=V.inputAreaLength-t.railInset*2,W=x.ensureSingle(_,"rect",t.railRectClass);W.attr({width:N,height:t.railWidth,rx:t.railRadius,ry:t.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,H.bordercolor).call(a.fill,H.bgcolor).style("stroke-width",H.borderwidth+"px"),L.setTranslate(W,t.railInset,(V.inputAreaWidth-t.railWidth)*.5+V.currentValueTotalHeight)}},23243:function(B,O,e){var p=e(98292);B.exports={moduleType:"component",name:p.name,layoutAttributes:e(75067),supplyLayoutDefaults:e(12343),draw:e(44504)}},92998:function(B,O,e){var p=e(39898),E=e(92770),a=e(74875),L=e(73972),x=e(71828),d=x.strTranslate,m=e(91424),r=e(7901),t=e(63893),s=e(37822),n=e(18783).OPPOSITE_SIDE,f=/ [XY][0-9]* /;function c(u,b,h){var S=h.propContainer,v=h.propName,l=h.placeholder,g=h.traceIndex,C=h.avoid||{},M=h.attributes,D=h.transform,T=h.containerGroup,P=u._fullLayout,A=1,o=!1,k=S.title,w=(k&&k.text?k.text:"").trim(),U=k&&k.font?k.font:{},F=U.family,G=U.size,_=U.color,H;v==="title.text"?H="titleText":v.indexOf("axis")!==-1?H="axisTitleText":v.indexOf("colorbar"!==-1)&&(H="colorbarTitleText");var V=u._context.edits[H];w===""?A=0:w.replace(f," % ")===l.replace(f," % ")&&(A=.2,o=!0,V||(w="")),h._meta?w=x.templateString(w,h._meta):P._meta&&(w=x.templateString(w,P._meta));var N=w||V,W;T||(T=x.ensureSingle(P._infolayer,"g","g-"+b),W=P._hColorbarMoveTitle);var j=T.selectAll("text").data(N?[0]:[]);if(j.enter().append("text"),j.text(w).attr("class",b),j.exit().remove(),!N)return T;function Q(q){x.syncOrAsync([ie,ue],q)}function ie(q){var X;return!D&&W&&(D={}),D?(X="",D.rotate&&(X+="rotate("+[D.rotate,M.x,M.y]+")"),(D.offset||W)&&(X+=d(0,(D.offset||0)-(W||0)))):X=null,q.attr("transform",X),q.style({"font-family":F,"font-size":p.round(G,2)+"px",fill:r.rgb(_),opacity:A*r.opacity(_),"font-weight":a.fontWeight}).attr(M).call(t.convertToTspans,u),a.previousPromises(u)}function ue(q){var X=p.select(q.node().parentNode);if(C&&C.selection&&C.side&&w){X.attr("transform",null);var K=n[C.side],J=C.side==="left"||C.side==="top"?-1:1,re=E(C.pad)?C.pad:2,fe=m.bBox(X.node()),te={t:0,b:0,l:0,r:0},ee=u._fullLayout._reservedMargin;for(var ce in ee)for(var le in ee[ce]){var me=ee[ce][le];te[le]=Math.max(te[le],me)}var we={left:te.l,top:te.t,right:P.width-te.r,bottom:P.height-te.b},Se=C.maxShift||J*(we[C.side]-fe[C.side]),Ee=0;if(Se<0)Ee=Se;else{var We=C.offsetLeft||0,Ye=C.offsetTop||0;fe.left-=We,fe.right-=We,fe.top-=Ye,fe.bottom-=Ye,C.selection.each(function(){var Te=m.bBox(this);x.bBoxIntersect(fe,Te,re)&&(Ee=Math.max(Ee,J*(Te[C.side]-fe[K])+re))}),Ee=Math.min(Se,Ee),S._titleScoot=Math.abs(Ee)}if(Ee>0||Se<0){var De={left:[-Ee,0],right:[Ee,0],top:[0,-Ee],bottom:[0,Ee]}[C.side];X.attr("transform",d(De[0],De[1]))}}}j.call(Q);function pe(){A=0,o=!0,j.text(l).on("mouseover.opacity",function(){p.select(this).transition().duration(s.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){p.select(this).transition().duration(s.HIDE_PLACEHOLDER).style("opacity",0)})}return V&&(w?j.on(".opacity",null):pe(),j.call(t.makeEditable,{gd:u}).on("edit",function(q){g!==void 0?L.call("_guiRestyle",u,v,q,g):L.call("_guiRelayout",u,v,q)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(Q)}).on("input",function(q){this.text(q||" ").call(t.positionText,M.x,M.y)})),j.classed("js-placeholder",o),T}B.exports={draw:c}},7163:function(B,O,e){var p=e(41940),E=e(22399),a=e(1426).extendFlat,L=e(30962).overrideAll,x=e(35025),d=e(44467).templatedArray,m=d("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});B.exports=L(d("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:m,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:a(x({editType:"arraydraw"}),{}),font:p({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:E.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(B){B.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(B,O,e){var p=e(71828),E=e(85501),a=e(7163),L=e(75909),x=L.name,d=a.buttons;B.exports=function(s,n){var f={name:x,handleItemDefaults:m};E(s,n,f)};function m(t,s,n){function f(b,h){return p.coerce(t,s,a,b,h)}var c=E(t,s,{name:"buttons",handleItemDefaults:r}),u=f("visible",c.length>0);u&&(f("active"),f("direction"),f("type"),f("showactive"),f("x"),f("y"),p.noneOrAll(t,s,["x","y"]),f("xanchor"),f("yanchor"),f("pad.t"),f("pad.r"),f("pad.b"),f("pad.l"),p.coerceFont(f,"font",n.font),f("bgcolor",n.paper_bgcolor),f("bordercolor"),f("borderwidth"))}function r(t,s){function n(c,u){return p.coerce(t,s,d,c,u)}var f=n("visible",t.method==="skip"||Array.isArray(t.args));f&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}},13689:function(B,O,e){var p=e(39898),E=e(74875),a=e(7901),L=e(91424),x=e(71828),d=e(63893),m=e(44467).arrayEditor,r=e(18783).LINE_SPACING,t=e(75909),s=e(25849);B.exports=function(U){var F=U._fullLayout,G=x.filterVisible(F[t.name]);function _(ue){E.autoMargin(U,A(ue))}var H=F._menulayer.selectAll("g."+t.containerClassName).data(G.length>0?[0]:[]);if(H.enter().append("g").classed(t.containerClassName,!0).style("cursor","pointer"),H.exit().each(function(){p.select(this).selectAll("g."+t.headerGroupClassName).each(_)}).remove(),G.length!==0){var V=H.selectAll("g."+t.headerGroupClassName).data(G,n);V.enter().append("g").classed(t.headerGroupClassName,!0);for(var N=x.ensureSingle(H,"g",t.dropdownButtonGroupClassName,function(ue){ue.style("pointer-events","all")}),W=0;WM,U=x.barLength+2*x.barPad,F=x.barWidth+2*x.barPad,G=c,_=b+h;_+F>f&&(_=f-F);var H=this.container.selectAll("rect.scrollbar-horizontal").data(w?[0]:[]);H.exit().on(".drag",null).remove(),H.enter().append("rect").classed("scrollbar-horizontal",!0).call(E.fill,x.barColor),w?(this.hbar=H.attr({rx:x.barRadius,ry:x.barRadius,x:G,y:_,width:U,height:F}),this._hbarXMin=G+U/2,this._hbarTranslateMax=M-U):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var V=h>D,N=x.barWidth+2*x.barPad,W=x.barLength+2*x.barPad,j=c+u,Q=b;j+N>n&&(j=n-N);var ie=this.container.selectAll("rect.scrollbar-vertical").data(V?[0]:[]);ie.exit().on(".drag",null).remove(),ie.enter().append("rect").classed("scrollbar-vertical",!0).call(E.fill,x.barColor),V?(this.vbar=ie.attr({rx:x.barRadius,ry:x.barRadius,x:j,y:Q,width:N,height:W}),this._vbarYMin=Q+W/2,this._vbarTranslateMax=D-W):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var ue=this.id,pe=T-.5,q=V?P+N+.5:P+.5,X=A-.5,K=w?o+F+.5:o+.5,J=s._topdefs.selectAll("#"+ue).data(w||V?[0]:[]);if(J.exit().remove(),J.enter().append("clipPath").attr("id",ue).append("rect"),w||V?(this._clipRect=J.select("rect").attr({x:Math.floor(pe),y:Math.floor(X),width:Math.ceil(q)-Math.floor(pe),height:Math.ceil(K)-Math.floor(X)}),this.container.call(a.setClipUrl,ue,this.gd),this.bg.attr({x:c,y:b,width:u,height:h})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),w||V){var re=p.behavior.drag().on("dragstart",function(){p.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var fe=p.behavior.drag().on("dragstart",function(){p.event.sourceEvent.preventDefault(),p.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));w&&this.hbar.on(".drag",null).call(fe),V&&this.vbar.on(".drag",null).call(fe)}this.setTranslate(r,t)},x.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},x.prototype._onBoxDrag=function(){var m=this.translateX,r=this.translateY;this.hbar&&(m-=p.event.dx),this.vbar&&(r-=p.event.dy),this.setTranslate(m,r)},x.prototype._onBoxWheel=function(){var m=this.translateX,r=this.translateY;this.hbar&&(m+=p.event.deltaY),this.vbar&&(r+=p.event.deltaY),this.setTranslate(m,r)},x.prototype._onBarDrag=function(){var m=this.translateX,r=this.translateY;if(this.hbar){var t=m+this._hbarXMin,s=t+this._hbarTranslateMax,n=L.constrain(p.event.x,t,s),f=(n-t)/(s-t),c=this.position.w-this._box.w;m=f*c}if(this.vbar){var u=r+this._vbarYMin,b=u+this._vbarTranslateMax,h=L.constrain(p.event.y,u,b),S=(h-u)/(b-u),v=this.position.h-this._box.h;r=S*v}this.setTranslate(m,r)},x.prototype.setTranslate=function(m,r){var t=this.position.w-this._box.w,s=this.position.h-this._box.h;if(m=L.constrain(m||0,0,t),r=L.constrain(r||0,0,s),this.translateX=m,this.translateY=r,this.container.call(a.setTranslate,this._box.l-this.position.l-m,this._box.t-this.position.t-r),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+m-.5),y:Math.floor(this.position.t+r-.5)}),this.hbar){var n=m/t;this.hbar.call(a.setTranslate,m+n*this._hbarTranslateMax,r)}if(this.vbar){var f=r/s;this.vbar.call(a.setTranslate,m,r+f*this._vbarTranslateMax)}}},18783:function(B){B.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(B){B.exports={axisRefDescription:function(O,e,p){return["If set to a",O,"axis id (e.g. *"+O+"* or","*"+O+"2*), the `"+O+"` position refers to a",O,"coordinate. If set to *paper*, the `"+O+"`","position refers to the distance from the",e,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",e,"("+p+"). If set to a",O,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",e,"of the domain of that axis: e.g.,","*"+O+"2 domain* refers to the domain of the second",O," axis and a",O,"position of 0.5 refers to the","point between the",e,"and the",p,"of the domain of the","second",O,"axis."].join(" ")}}},22372:function(B){B.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(B){B.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(B){B.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(B){B.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(B){B.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(B){B.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(B){B.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},32396:function(B,O){O.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],O.STYLE=O.CSS_DECLARATIONS.map(function(e){return e.join(": ")+"; "}).join("")},77922:function(B,O){O.xmlns="http://www.w3.org/2000/xmlns/",O.svg="http://www.w3.org/2000/svg",O.xlink="http://www.w3.org/1999/xlink",O.svgAttrs={xmlns:O.svg,"xmlns:xlink":O.xlink}},8729:function(B,O,e){O.version=e(11506).version,e(7417),e(98847);for(var p=e(73972),E=O.register=p.register,a=e(10641),L=Object.keys(a),x=0;x","